]> sourceware.org Git - glibc.git/blame - ChangeLog
fix localedata/ChangeLog
[glibc.git] / ChangeLog
CommitLineData
7fda5682
JM
12013-12-20 Joseph Myers <joseph@codesourcery.com>
2
85bff96a
JM
3 * timezone/checktab.awk: Update from tzcode 2013i.
4 * timezone/private.h: Likewise.
5 * timezone/scheck.c: Likewise.
6 * timezone/tzfile.h: Likewise.
7 * timezone/tzselect.ksh: Likewise.
8 * timezone/zdump.c: Likewise.
9 * timezone/zic.c: Likewise.
10
b7867a3b
JM
11 * math/auto-libm-test-in: Add tests of cpow.
12 * math/auto-libm-test-out: Regenerated.
13 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
15 mpc_cc_c.
16 (func_calc_desc): Add mpc_cc_c union field.
17 (test_functions): Add cpow.
18 (special_fill_2pi): New function.
19 (special_real_inputs): Add 2pi.
20 (calc_generic_results): Handle mpc_cc_c.
21 * sysdeps/i386/fpu/libm-test-ulps: Update.
22 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23
7fda5682
JM
24 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25 csqrt, ctan and ctanh.
26 * math/auto-libm-test-out: Regenerated.
27 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28 (TEST_COND_x86): Likewise.
29 (ccos_test_data): Use AUTO_TESTS_c_c.
30 (ccosh_test_data): Likewise.
31 (cexp_test_data): Likewise.
32 (clog_test_data): Likewise.
33 (csqrt_test_data): Likewise.
34 (ctan_test_data): Likewise.
35 (ctan_tonearest_test_data): Likewise.
36 (ctan_towardzero_test_data): Likewise.
37 (ctan_downward_test_data): Likewise.
38 (ctan_upward_test_data): Likewise.
39 (ctanh_test_data): Likewise.
40 (ctanh_tonearest_test_data): Likewise.
41 (ctanh_towardzero_test_data): Likewise.
42 (ctanh_downward_test_data): Likewise.
43 (ctanh_upward_test_data): Likewise.
44 * math/gen-auto-libm-tests.c (func_calc_method): Add value
45 mpc_c_c.
46 (func_calc_desc): Add mpc_c_c union field.
47 (FUNC_mpc_c_c): New macro.
48 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
49 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50 ctanh.
51 (special_fill_min_subnorm_p120): New function.
52 (special_real_inputs): Add min_subnorm_p120.
53 (calc_generic_results): Handle mpc_c_c.
54 * sysdeps/i386/fpu/libm-test-ulps: Update.
55 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56
5ff8d60e
SP
572013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58
392dd2de
SP
59 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
60 do_sin_slow): New functions.
61 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
62 cslow2, csloww1, csloww2): Use the new functions.
63
84ba214c
SP
64 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
65 Use M to change sign of result instead of X. Assume X is
66 positive.
67 (csloww1): Likewise.
68 (__sin): Adjust.
69 (__cos): Adjust.
70
975195e4
SP
71 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
72 arguments A and DA.
73 (__sin): Adjust.
74 (__cos): Likewise.
75
5ff8d60e
SP
76 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
77 (__cos): Likewise.
78 (sloww1): Don't adjust sign of DX.
79 (csloww1): Likewise.
80 (sloww2): Use X directly and don't adjust sign of DX.
81 (csloww2): Likewise.
82
eb983568
JM
832013-12-19 Joseph Myers <joseph@codesourcery.com>
84
64a17f1a
JM
85 * math/auto-libm-test-in: Add tests of cabs and carg.
86 * math/auto-libm-test-out: Regenerated.
87 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
88 (carg_test_data): Likewise.
89 * math/gen-auto-libm-tests.c (func_calc_method): Add value
90 mpc_c_f.
91 (func_calc_desc): Add mpc_c_f union field.
92 (test_functions): Add cabs and carg.
93 (calc_generic_results): Handle mpc_c_f.
94
eb983568
JM
95 * sysdeps/powerpc/powerpc32/libgcc-compat.S
96 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
97 as a macro and a compat symbol.
98 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
99 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
100 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
101 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
102 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
103 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
104 not use .hidden.
105 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
106 Likewise.
107 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
108 Likewise.
109 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
110 Likewise.
111 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
112 Likewise.
113 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
114 Likewise.
115 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
116 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
117 from GLIBC_2.3.2.
118
6eeb678a
AZ
1192013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
120
121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
122
063b2acb
PP
1232013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
124
125 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
126 (__signal_safe_memalign, __signal_safe_free): Use it.
127 (__signal_safe_realloc): Likewise.
128
6f6fc482
JM
1292013-12-19 Joseph Myers <joseph@codesourcery.com>
130
21fea2e2
JM
131 * manual/texinfo.tex: Update to version 2013-11-26.10 with
132 trailing whitespace removed.
133 * scripts/config.guess: Update to version 2013-11-29.
134 * scripts/config.sub: Update to version 2013-10-01.
135
6f6fc482
JM
136 * math/auto-libm-test-in: Add tests of sincos.
137 * math/auto-libm-test-out: Regenerated.
138 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
139 * math/gen-auto-libm-tests.c (func_calc_method): Add value
140 mpfr_f_11.
141 (func_calc_desc): Add mpfr_f_11 union field.
142 (test_functions): Add sincos.
143 (calc_generic_results): Handle mpfr_f_11.
144 * sysdeps/i386/fpu/libm-test-ulps: Update.
145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
146
83f5c32d
AS
1472013-12-19 Andreas Schwab <schwab@suse.de>
148
149 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
150 CALL_MCOUNT.
151 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
152 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
153 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
154
c688b419
JM
1552013-12-19 Joseph Myers <joseph@codesourcery.com>
156
335ee092
JM
157 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
158 * sysdeps/i386/fpu/libm-test-ulps: Update.
159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
160
f88acd39
JM
161 [BZ #16293]
162 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
163 round-to-nearest mode when using frndint.
164 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
165 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
166 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
167 Likewise.
168 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
169 sinh test to fail.
170 * math/auto-libm-test-out: Regenerated.
171 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
172 (TEST_COND_x86): Likewise.
173 (expm1_tonearest_test_data): New array.
174 (expm1_test_tonearest): New function.
175 (expm1_towardzero_test_data): New array.
176 (expm1_test_towardzero): New function.
177 (expm1_downward_test_data): New array.
178 (expm1_test_downward): New function.
179 (expm1_upward_test_data): New array.
180 (expm1_test_upward): New function.
181 (main): Run the new test functions.
182 * sysdeps/i386/fpu/libm-test-ulps: Update.
183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
184
c688b419
JM
185 * include/features.h: Update comment documenting feature test
186 macros. Mention _DEFAULT_SOURCE in comment.
187 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
188 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
189 _BSD_SOURCE and _SVID_SOURCE.
190 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
191 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
192 !_SVID_SOURCE]: Likewise.
193 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
194 (__USE_POSIX_IMPLICITLY): Define.
195 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
196 (_POSIX_SOURCE): Undefine and redefine.
197 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
198 (_POSIX_C_SOURCE): Likewise.
199 * manual/creature.texi (_DEFAULT_SOURCE): Document.
200 (Feature Test Macros): Update documentation of default features.
201
9f6e964c
RS
2022013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
203
204 * benchtests/Makefile: Add bench-strtok.
205 * benchtests/bench-strtok.c: New file: strtok benchtest.
206
ee0a148a
AM
2072013-12-19 Allan McRae <allan@archlinux.org>
208
209 * manual/install.texi: Suppress menu for plain text output.
210 * INSTALL: Regenerated.
211
1f33d36a
PP
2122013-12-18 Andrew Hunter <ahh@google.com>
213
214 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
215 (__signal_safe_malloc, __signal_safe_free): Likewise.
216 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
217 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
218 (__signal_safe_memalign, __signal_safe_malloc): New function.
219 (__signal_safe_free, __signal_safe_realloc): Likewise.
220 (__signal_safe_calloc): Likewise.
221 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
222 functions.
223 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
224
35e8f7ab
PP
2252013-12-18 Andrew Hunter <ahh@google.com>
226
227 * elf/Versions (ld): Add _dl_clear_dtv.
228 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
229 * elf/dl-tls.c (_dl_clear_dtv): New function.
230 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
231
69a17d9d
PP
2322013-12-18 Andrew Hunter <ahh@google.com>
233
234 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
235 (_dl_unmask_signals): Likewise.
236 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
237 (_dl_unmask_all_signals): Likewise.
238 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
239 (_dl_unmask_all_signals): Likewise.
240 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
241 (_dl_unmask_signals): Likewise.
242
b9ab448f
BM
2432013-12-18 Brooks Moses <bmoses@google.com>
244
245 [BZ #15846]
246 * misc/getauxval.c: Include errno.h.
247 (__getauxval): Set errno to ENOENT if the requested type is not
248 found.
249 * misc/sys/auxv.h (getauxval): Document that it may set errno;
250 don't declare with __attribute_const__.
251 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
252 * manual/startup.texi: Document that getauxval sets errno.
253
23776487
JM
2542013-12-18 Joseph Myers <joseph@codesourcery.com>
255
f889953b
JM
256 * math/auto-libm-test-in: Add tests of jn and yn.
257 * math/auto-libm-test-out: Regenerated.
258 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
259 (yn_test_data): Likewise.
260 * math/gen-auto-libm-tests.c (func_calc_method): Add value
261 mpfr_if_f.
262 (func_calc_desc): Add mpfr_if_f union field.
263 (FUNC_mpfr_if_f): New macro.
264 (test_functions): Add jn and yn.
265 (calc_generic_results): Assert type of second input for
266 mpfr_ff_f. Handle mpfr_if_f.
267 (output_for_one_input_case): Disable all checking for arguments
268 fitting floating-point types in case of an integer argument.
269 * sysdeps/i386/fpu/libm-test-ulps: Update.
270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
271
23776487
JM
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
273 Don't expect fegetround reference in libm.so.
274
cb756c6d
MS
2752013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
276
277 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
278 $(config-cflags-nofma).
279
2dec468f
JM
2802013-12-18 Joseph Myers <joseph@codesourcery.com>
281
5953eb3a
JM
282 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
283 * math/auto-libm-test-out: Regenerated.
284
2dec468f
JM
285 [BZ #16338]
286 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
287 to determine exponent and adjust argument to have exponent of -1.
288 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
289 log2.
290 * math/auto-libm-test-out: Regenerated.
291 * sysdeps/i386/fpu/libm-test-ulps: Update.
292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
293
4d84e6ad
OB
2942013-12-18 Ondřej Bílka <neleai@seznam.cz>
295
296 * manual/probes.texi: Remove cases when per-thread arenas are
297 disabled.
298
1818483b
AS
2992013-12-18 Andreas Schwab <schwab@suse.de>
300
301 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
302 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
303 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
304 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
305 * sysdeps/i386/i686/multiarch/Makefile: Update.
306 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
307
25de95bf
JM
3082013-12-17 Joseph Myers <joseph@codesourcery.com>
309
310 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
311 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
312
674762d9
PE
3132013-12-17 Paul Eggert <eggert@cs.ucla.edu>
314
0748546f
PE
315 Support TZ transition times < 00:00:00.
316 This is needed for version-3 tz-format files; it supports time
317 stamps past 2037 for America/Godthab (the only entry in the tz
318 database for which this change is relevant).
319 * manual/time.texi (TZ Variable): Document transition times
320 from -167:59:59 through -00:00:01.
321 * time/tzset.c (tz_rule): Time of day is now signed.
322 (__tzset_parse_tz): Parse negative time of day.
323
4480e934
PE
324 Document TZ transition times >= 25:00:00.
325 * manual/time.texi (TZ Variable): Document transition times from
326 25:00:00 through 167:59:59. These are already supported, and this
327 support will help with version-3 tz-format files.
328
69947401
PE
329 * manual/time.texi (TZ Variable): Modernize North America example
330 to reflect current (i.e., 2007-and-later) daylight saving rules.
331
674762d9
PE
332 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
333
7011c262
JM
3342013-12-17 Joseph Myers <joseph@codesourcery.com>
335
2fc6557e
JM
336 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
337 * sysdeps/unix/bsd/bits/stat.h: Likewise.
338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
340 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
341 * sysdeps/unix/bsd/bsdstat.h: Likewise.
342 * sysdeps/unix/bsd/clock.c: Likewise.
343 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
344 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
345 * sysdeps/unix/bsd/init-posix.c: Likewise.
346 * sysdeps/unix/bsd/poll.c: Likewise.
347 * sysdeps/unix/bsd/ptsname.c: Likewise.
348 * sysdeps/unix/bsd/seekdir.c: Likewise.
349 * sysdeps/unix/bsd/setegid.c: Likewise.
350 * sysdeps/unix/bsd/seteuid.c: Likewise.
351 * sysdeps/unix/bsd/setgid.c: Likewise.
352 * sysdeps/unix/bsd/setrgid.c: Likewise.
353 * sysdeps/unix/bsd/setruid.c: Likewise.
354 * sysdeps/unix/bsd/setsid.c: Likewise.
355 * sysdeps/unix/bsd/setuid.c: Likewise.
356 * sysdeps/unix/bsd/sigaction.c: Likewise.
357 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
358 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
359 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
360 * sysdeps/unix/bsd/telldir.c: Likewise.
361 * sysdeps/unix/bsd/times.c: Likewise.
362 * sysdeps/unix/bsd/usleep.c: Likewise.
363
029c7b25
JM
364 * misc/Makefile (install-lib): Remove libbsd-compat.a.
365 ($(objpfx)libbsd-compat.a): Remove rule.
366
7011c262
JM
367 * include/features.h (__FAVOR_BSD): Do not define.
368 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
369 features conflicting with POSIX.
370 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
371 (_BSD_SOURCE): Remove description of not being a subset of other
372 feature test macros.
373 * manual/job.texi (getpgrp): Do not document BSD version.
374 (getpgid): Do not document by reference to BSD getpgrp.
375 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
376 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
377 * signal/signal.h [__FAVOR_BSD]: Likewise.
378 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
379 instead of making contents conditional on [__FAVOR_BSD].
380 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
381
affb6f78
AZ
3822013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
383
384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
385
c88769dd
JM
3862013-12-17 Joseph Myers <joseph@codesourcery.com>
387
6432a540
JM
388 [BZ #16314]
389 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
390 values below 2**-450, not 2**-500.
391 * math/auto-libm-test-in: Don't allow spurious underflow from
392 hypot.
393 * math/auto-libm-test-out: Regenerated.
394
c88769dd
JM
395 [BZ #16316]
396 [BZ #16330]
397 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
398 values of ha and hb and sort them after adjusting subnormal
399 arguments.
400 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
401 Likewise.
402 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
403 values of ea and eb and sort them after adjusting subnormal
404 arguments.
405 * math/auto-libm-test-in: Do not expect some hypot tests of
406 subnormals to fail. Add more hypot tests.
407 * math/auto-libm-test-out: Regenerated.
408
29618f6b
KK
4092013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
410
411 [BZ #13304]
412 * sysdeps/sh/s_fma.c: New file.
413 * sysdeps/sh/s_fmaf.c: New file.
414 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
415 version.
416 * sysdeps/sh/Implies: Add sh/soft-fp.
417
eacfdfbf
RM
4182013-12-16 Roland McGrath <roland@hack.frob.com>
419
420 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
421 level of indirection to members `objname', `errstring', `malloced'.
422 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
423 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
424 it as the __longjmp argument (just pass 1 instead).
425 (_dl_catch_error): Initialize C with argument pointers and address of
426 volatile local ERRCODE rather than copying values out of C at return.
427
ff362e5b
JM
4282013-12-16 Joseph Myers <joseph@codesourcery.com>
429
430 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
431 * math/auto-libm-test-out: Regenerated.
432 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
433 (hypot_test_data): Likewise.
434 (pow_test_data): Likewise.
435 (pow_tonearest_test_data): Likewise.
436 * math/gen-auto-libm-tests.c (func_calc_method): Add value
437 mpfr_ff_f.
438 (func_calc_desc): Add mpfr_ff_f union field.
439 (FUNC_mpfr_ff_f): New macro.
440 (test_functions): Add atan2, hypot and pow.
441 (special_fill_min): New function.
442 (special_fill_minus_min): Likewise.
443 (special_fill_min_subnorm): Likewise.
444 (special_fill_minus_min_subnorm): Likewise.
445 (special_real_inputs): Add min, -min, min_subnorm and
446 -min_subnorm.
447 (calc_generic_results): Handle mpfr_ff_f.
448 * sysdeps/i386/fpu/libm-test-ulps: Update.
449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
450
5764c27f
WN
4512013-12-16 Will Newton <will.newton@linaro.org>
452
453 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
454 (Aligned Memory Blocks): Add documentation for aligned_alloc
455 and suggest it as an alternative to posix_memalign.
456 (Hooks for Malloc): Document __memalign_hook is also called
457 for aligned_alloc. (Summary of Malloc): Add summary for
458 aligned alloc. Document __memalign_hook is also called
459 for aligned_alloc.
460
0a096e44
WN
4612013-12-16 Will Newton <will.newton@linaro.org>
462
463 * manual/memory.texi (Malloc Examples): Clarify default
464 alignment documentation. Suggest posix_memalign rather
465 than memalign or valloc.
466 (Aligned Memory Blocks): Remove suggestion to use memalign
467 or valloc. Remove obsolete comment about BSD.
468 Document memalign errno values and mark the function obsolete.
469 Document posix_memalign returned error codes. Mark valloc
470 as obsolete. (Hooks for Malloc): __memalign_hook is also
471 called for posix_memalign and valloc.
472 (Summary of Malloc): Add posix_memalign to function summary.
473 __memalign_hook is also called for posix_memalign and valloc.
474
8d561986
SP
4752013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
476
477 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
478 TAYLOR_SIN.
479 (__sin): Adjust.
480 (__cos): Likewise.
481 (sloww): Use mynumber union. Expand ternary operator into
482 if-else statements.
483 (cslow): use mynumber union.
484
73616a74
AM
4852013-12-16 Allan McRae <allan@archlinux.org>
486
9e8ac24b
AM
487 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
488 * configure: Regenerated.
489
6f8e37eb
AM
490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
491
8894bad3
AM
492 [BZ #14120]
493 * configure.ac: Added --enable-maintainer-mode. Check for
494 autoconf when enabled.
495 * configure: Regenerated.
496
73616a74
AM
497 * nscd/nscd.service: New file.
498 * nscd/nscd.tmpfiles: New file.
499
584b18eb
OB
5002013-12-14 Ondřej Bílka <neleai@seznam.cz>
501
502 [BZ #12100]
503 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
504 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
505 * sysdeps/x86_64/multiarch/strstr.c: ... here.
506 (strstr): Add __strstr_sse2_unaligned ifunc.
507 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
508 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
509 (strcasestr): Remove __strcasestr_sse42 ifunc.
510 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
513
8a5c7897
KK
5142013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
515
516 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
517 * sysdeps/sh/bits/fenv.h: ... here.
518 * sysdeps/sh/sh4/fpu/bits: Remove directory.
519
fd712ef3
AZ
5202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
521
522 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
523
42fcb46c
AZ
5242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
525
526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
527 hypotf multiarch implementations.
528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
530 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
531 multiarch hypot for PPC64.
532 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
533 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
534 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
535 multiarch hypotf for PPC64.
536
83efded4
AZ
5372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
538
539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
540 modff multiarch implementations.
541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
544 multiarch modf for PPC64.
545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
548 multiarch modff for PPC64.
549
43e246d2
AZ
5502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551
552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
553 and logl multiarch implementations.
554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
557 multiarch logb for PPC64.
558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
561 multiarch logb for PPC64.
562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
565 multiarch logb for PPC64.
566
8fdad123
AZ
5672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568
569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
570 isinff multiarch implementation.
571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
572 file.
573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
575 multiarch isinf for PPC64.
576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
577 file.
578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
579 multiarch isinff for PPC64.
580
1481d706
AZ
5812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
582
583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
584 finitef multiarch implementation.
585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
586 file.
587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
589 multiarch finite for PPC64.
590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
591 file.
592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
593 multiarch finitef for PPC64.
594
5ccd5fc8
AZ
5952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
596
597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
598 lrint multiarch implementation.
599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
600 file.
601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
603 multiarch llrint for PPC64.
604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
605 multiarch lrint for PPC64.
606
2568f3fa
AZ
6072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
608
609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
610 copysignf multiarch implementation.
611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
612 file.
613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
614 file.
615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
616 multiarch copysign for PPC64.
617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
618 multiarch copysignf for PPC64.
619
1cb341fd
AZ
6202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
621
622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
623 multiarch implementation.
624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
625 file.
626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
627 file.
628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
629 file.
630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
631 file.
632 multiarch llround for PPC64.
633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
634 multiarch trunc for PPC64.
635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
636 multiarch truncf for PPC64.
637
59a3e194
AZ
6382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
639
640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
641 multiarch implementation.
642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
643 file.
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
645 file.
646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
647 file.
648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
649 file.
650 multiarch llround for PPC64.
651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
652 multiarch round for PPC64.
653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
654 multiarch roundf for PPC64.
655
357fd3b4
AZ
6562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
657
658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
659 multiarch implementation.
660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
661 file.
662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
663 file.
664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
665 file.
666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
667 file.
668 multiarch llround for PPC64.
669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
670 multiarch floor for PPC64.
671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
672 multiarch floorf for PPC64.
673
96770f12
AZ
6742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675
676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
677 multiarch implementation.
678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
679 file.
680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
681 file.
682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
683 file.
684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
685 file.
686 multiarch llround for PPC64.
687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
688 multiarch ceil for PPC64.
689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
690 multiarch ceilf for PPC64.
691
c3627f6e
AZ
6922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693
694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
695 multiarch implementation.
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
697 file.
698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
699 file.
700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
701 file.
702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
703 multiarch llround for PPC64.
704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
705 multiarch lround for PPC64.
706
b2284ad7
AZ
7072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708
709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
710 multiarch implementation.
711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
714 file.
715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
718 multiarch isnan for PPC64.
719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
720 multiarch isnanf for PPC64.
721
69bbc63d
AZ
7222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723
724 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
725 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
726 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
727 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
728 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
730
c24517c9
AZ
7312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
732
733 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
734 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
737
a52374e8
AZ
7382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739
740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
741 multiarch implementations.
742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
743 (__libc_ifunc_impl_list): Likewise.
744 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
745 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
746 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
747 multiarch stpcpy for PPC64.
748
7f5ec113
AZ
7492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
750
751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
752 multiarch implementations.
753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
754 (__libc_ifunc_impl_list): Likewise.
755 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
756 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
757 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
758 multiarch strcpy for PPC64.
759
e28bcd42
AZ
7602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
761
762 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
763 redefine function name.
764 (_wordcopy_fwd_dest_aligned): Likewise.
765 (_wordcopy_bwd_aligned): Likewise.
766 (_wordcopy_bwd_dest_aligned): Likewise.
767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
768 multiarch implementations.
769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
770 (__libc_ifunc_impl_list): Likewise.
771 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
772 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
773 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
774 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
775 multiarch wcscpy for PPC64.
776
92cacfce
AZ
7772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
778
779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
780 multiarch implementations.
781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
782 (__libc_ifunc_impl_list): Likewise.
783 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
784 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
785 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
786 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
787 multiarch wcscpy for PPC64.
788
7b714620
AZ
7892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790
791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
792 multiarch implementations.
793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
794 (__libc_ifunc_impl_list): Likewise.
795 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
796 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
797 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
798 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
799 multiarch wcsrchr for PPC64.
800
16fd2ae3
AZ
8012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802
803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
804 multiarch implementations.
805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
806 (__libc_ifunc_impl_list): Likewise.
807 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
808 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
809 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
810 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
811 multiarch wcschr for PPC64.
812
9ee2969b
AZ
8132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
814
815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
816 multiarch implementations.
817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
818 (__libc_ifunc_impl_list): Likewise.
819 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
820 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
821 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
822 multiarch strchrnul for PPC64.
823
372dc060
AZ
8242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
825
826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
827 implementations.
828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
829 (__libc_ifunc_impl_list): Likewise.
830 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
831 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
832 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
833 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
834 strchr for PPC64.
835
24c2c3b9
AZ
8362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837
838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
839 implementations.
840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
841 (__libc_ifunc_impl_list): Likewise.
842 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
843 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
844 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
845 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
846 strncmp for PPC64.
847
1c92d9a0
AZ
8482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849
850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
851 multiarch implementations.
852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
853 (__libc_ifunc_impl_list): Likewise.
854 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
855 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
856 strncasecmp for PPC64.
857 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
858 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
859 multiarch strncasecmp_l for PPC64.
860
17de3ee3
AZ
8612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
862
863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
864 multiarch implementations.
865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
866 (__libc_ifunc_impl_list): Likewise.
867 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
868 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
869 multiarch strcasecmp for PPC64.
870 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
871 file.
872 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
873 multiarch strcasecmp_l for PPC64.
874
62982bf9
AZ
8752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
876
877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
878 implementations.
879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
880 (__libc_ifunc_impl_list): Likewise.
881 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
882 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
883 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
884 strnlen for PPC64.
885
a65f4904
AZ
8862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887
888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
889 implementations.
890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
891 (__libc_ifunc_impl_list): Likewise.
892 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
893 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
894 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
895 strlen for PPC64.
896
1fd005ad
AZ
8972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
898
899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
900 implementations.
901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
902 (__libc_ifunc_impl_list): Likewise.
903 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
904 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
905 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
906 rawmemrchr for PPC64.
907
cd05ba91
AZ
9082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
909
910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
911 implementation.
912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
913 (__libc_ifunc_impl_list): Likewise.
914 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
915 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
916 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
917 memrchr for PPC64.
918
870f8676
AZ
9192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920
921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
922 implementation.
923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
924 (__libc_ifunc_impl_list): Likewise.
925 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
926 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
927 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
928 memchr for PPC64.
929
f00be62b
AZ
9302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
931
932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
933 implementation.
934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
935 (__libc_ifunc_impl_list): Likewise.
936 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
937 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
938 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
939 mempcpy for PPC64.
940
8a29a3d0
AZ
9412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
942
943 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
944 avoid cretion of __bzero symbol.
945 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
946 Likewise.
947 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
948 Likewise.
949 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
950 Likewise.
951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
952 multiarch implementations.
953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
954 (__libc_ifunc_impl_list): Likewise.
955 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
956 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
957 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
958 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
959 bzero for PPC32.
960 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
961 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
962 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
963 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
964 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
965 memset for PPC64.
966 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
967
07253fcf
AZ
9682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
969
970 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
972 implementations.
973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
974 (__libc_ifunc_impl_list): Likewise.
975 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
976 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
977 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
978 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
979 memcmp for PPC64.
980
b5beafbc
AZ
9812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
982
983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
984 multiarch for POWER/PPC64.
985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
986 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
987 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
988 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
989 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
990 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
991 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
992 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
993 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
994 memcpy for PPC64.
995
5e6a4d4b
AZ
9962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
997
998 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
999 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1000 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1002 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1003 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1004 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1005 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1006 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1007 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1008 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1009 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1010 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1011 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1012 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1020
ddfab6dc
KK
10212013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1022
1023 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1024
19b5525e
SP
10252013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1026
1027 * benchtests/Makefile (bench): Add exp2 and log2.
1028 (LDLIBS-bench-exp2): Add -lm.
1029 (LDLIBS-bench-log2): Likewise.
1030 * benchtests/exp2-inputs: New inputs file.
1031 * benchtests/log2-inputs: New inputs file.
1032 * benchtests/log-inputs: Add new inputs.
1033 * benchtests/tan-inputs: Likewise.
1034
196f7f5d
SP
10352013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1036
7a74607f
SP
1037 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1038 definition...
1039 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1040 csloww1, csloww2): ... from here.
1041
196f7f5d
SP
1042 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1043 instead of structures.
1044 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1045 (POLYNOMIAL): Likewise.
1046 (TAYLOR_SLOW): Likewise.
1047 (__sin): Likewise.
1048 (__cos): Likewise.
1049 (slow1): Likewise.
1050 (slow2): Likewise.
1051 (sloww): Likewise.
1052 (sloww1); Likewise.
1053 (sloww2): Likewise.
1054 (bsloww1): Likewise.
1055 (bsloww2): Likewise.
1056 (cslow2): Likewise.
1057 (csloww): Likewise.
1058 (csloww1): Likewise.
1059 (csloww2): Likewise.
1060
0dfa665c
OB
10612013-12-10 Ondřej Bílka <neleai@seznam.cz>
1062
1063 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1064 (__malloc_assert, __libc_realloc, __libc_calloc,
1065 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1066 memcpy and memset.
1067 * malloc/hooks.c (realloc_check): Likewise.
1068
5782a80f
OB
10692013-12-10 Ondřej Bílka <neleai@seznam.cz>
1070
1071 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1072 * malloc/arena.c: Remove PER_THREAD conditional.
1073 [!PER_THREAD]: Remove code.
1074 (ptmalloc_unlock_all2): Likewise.
1075 (ptmalloc_init): Likewise.
1076 (_int_new_arena): Likewise.
1077 (arena_get2): Likewise.
1078 * malloc/hooks.c (__malloc_get_state): Likewise.
1079 (__malloc_set_state): Likewise.
1080 * malloc/malloc.c: Likewise.
1081 (struct malloc_state): Likewise.
1082 (struct malloc_par): Likewise.
1083 (__libc_realloc): Likewise.
1084 (__libc_mallopt): Likewise.
1085
aeb95445
AZ
10862013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1087
1088 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1089
e8349efd
OB
10902013-12-09 Ondřej Bílka <neleai@seznam.cz>
1091
1092 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1093 macro to a function. Check for zero perturb_byte.
1094 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1095
f3eeb3fc
OB
10962013-12-09 Ondřej Bílka <neleai@seznam.cz>
1097
1098 * malloc/malloc.c: (force_reg): Remove.
1099 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1100 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1101 force_reg by atomic_forced_read.
1102 * malloc/arena.c (ptmalloc_init): Likewise.
1103 * malloc/hooks.c (top_check): Likewise.
1104
be2f9009
AZ
11052013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1106
1107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1108
e7b914bd
MT
11092013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1110
1111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1112
9f0be4f8
JM
11132013-12-08 Joseph Myers <joseph@codesourcery.com>
1114
1115 * math/auto-libm-test-in: Add tests of lgamma.
1116 * math/auto-libm-test-out: Regenerated.
1117 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1118 (M_LOG_2_SQRT_PIl): Likewise.
1119 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1120 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1121 mpfr_f_f1.
1122 (func_calc_desc): Add mpfr_f_f1 union field.
1123 (ARGS1): New macro.
1124 (ARGS2): Likewise.
1125 (ARGS3): Likewise.
1126 (ARGS4): Likewise.
1127 (RET1): Likewise.
1128 (RET2): Likewise.
1129 (CALC): Likewise.
1130 (FUNC): Likewise.
1131 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1132 (test_functions): Add lgamma.
1133 (calc_generic_results): Handle mpfr_f_f1.
1134 * sysdeps/i386/fpu/libm-test-ulps: Update.
1135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1136
24eeafdb
AZ
11372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1140 __mpn_add_n for PowerPC64/POWER7.
1141 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1142 __mpn_sub_n for PowerPC64/POWER7.
1143
4a2c0fd4
AZ
11442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145
1146 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1147 __mpn_addmul_1 for PowerPC64.
1148 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1149 __mpn_submul_1 for PowerPC64.
1150 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1151 for PowerPC64.
1152 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1153 for PowerPC64.
1154
4b5b548c
FS
11552013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1156
1157 [BZ #15089]
1158 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1159
0a3ac0aa
AZ
11602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1161
1162 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1163
ccdc8438
AZ
11642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1165
1166 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1167 add multiarch folders.
1168 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1169 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1170 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1171 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1172 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1173 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1174 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1175 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1176 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1177 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1178 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1185
2e973d99
AZ
11862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1187
1188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1189 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1191 New file.
1192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1193 New file.
1194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1195 multiarch __ieee754_hypot for PowerPC32.
1196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1197 New file.
1198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1199 New file.
1200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1201 multiarch __ieee754_hypotf for PowerPC32.
1202
2d9470b2
AZ
12032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1204
1205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1206 long_double_symbol only if __logbl is defined.
1207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1208 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1210 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1212 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1213 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1214 path for implementation.
1215 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1216 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1218 logb, and logbl multiarch implementations for PowerPC32.
1219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1220 file.
1221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1222 file.
1223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1224 multiarch logb for PowerPC32.
1225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1226 file.
1227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1228 file.
1229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1230 multiarch logbf for PowerPC32.
1231 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1233 file.
1234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1235 multiarch logbl implementation for PowerPC32.
1236
5212ffce
AZ
12372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1238
1239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1240 and modff multiarch implementations.
1241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1242 New file.
1243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1244 New file.
1245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1246 multiarch modf for PowerPC32.
1247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1248 New file.
1249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1250 New file.
1251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1252 multiarch modff for PowerPC32.
1253
79dccf31
AZ
12542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1255
1256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1257 and lrintf multiarch implementations.
1258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1259 New file.
1260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1261 New file.
1262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1263 multiarch lrint for PowerPC32.
1264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1265 file: multiarch lrintf for PowerPC32.
1266
deb66480
AZ
12672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268
1269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1270 and lroundf multiarch implementations.
1271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1272 New file.
1273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1274 New file.
1275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1276 New file.
1277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1278 multiarch lround for PowerPC32.
1279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1280 file: multiarch lroundf for PowerPC32.
1281
264b036b
AZ
12822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1283
1284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1285 copysign and copysignf multiarch implementations.
1286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1287 New file.
1288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1289 New file.
1290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1291 file: multiarch copysign for PowerPC32.
1292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1293 file: multiarch copysignf for PowerPC32.
1294
d47db6c9
AZ
12952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1296
1297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1298 and truncf multiarch implementations.
1299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1300 New file.
1301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1302 file.
1303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1304 multiarch trunc for PowerPC32.
1305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1306 New file.
1307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1308 New file.
1309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1310 multiarch truncf for PowerPC32.
1311
ddb60b5a
AZ
13122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1313
1314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1315 and roundf multiarch implementations.
1316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1317 New file.
1318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1319 file.
1320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1321 multiarch round for PowerPC32.
1322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1323 New file.
1324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1325 New file.
1326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1327 multiarch roundf for PowerPC32.
1328
bedcf49b
AZ
13292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1330
1331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1332 and floorf multiarch implementations.
1333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1334 New file.
1335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1336 file.
1337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1338 multiarch floor for PowerPC32.
1339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1340 New file.
1341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1342 New file.
1343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1344 multiarch floorf for PowerPC32.
1345
35ae5b40
AZ
13462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1349 and ceilf multiarch implementations.
1350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1351 New file.
1352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1353 file.
1354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1355 multiarch ceil for PowerPC32.
1356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1357 New file.
1358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1359 file.
1360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1361 multiarch ceilf for PowerPC32.
1362
ae1a4cd9
AZ
13632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1364
1365 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1366 is defined.
1367 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1368 FINITEF is defined.
1369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1370 and finitef multiarch implementations.
1371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1372 New file.
1373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1374 file.
1375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1376 multiarch finite for PowerPC32.
1377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1378 New file.
1379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1380 file: multiarch finitef for PowerPC32.
1381
64fffd65
AZ
13822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383
1384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1385 and isinff multiarch implementations.
1386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1387 file.
1388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1389 file.
1390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1391 multiarch isinf for PowerPC32.
1392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1393 New file.
1394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1395 multiarch isinff for PowerPC32.
1396
8e4e7ba2
AZ
13972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1398
1399 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1400 alias when __isnan is defined.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1402 and isnanf multiarch implementations.
1403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1404 file.
1405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1406 file.
1407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1408 file.
1409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1410 file.
1411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1412 multiarch isnan for PowerPC32.
1413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1414 New file.
1415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1416 New file.
1417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1418 multiarch isnanf for PowerPC32.
1419
ddba588e
AZ
14202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421
1422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1423 and sqrtf multiarch implementations.
1424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1425 file.
1426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1427 file.
1428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1429 multiarch sqrt for PowerPC32.
1430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1431 file.
1432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1433 file.
1434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1435 multiarch sqrtf for PowerPC32.
1436
0f96a2f0
AZ
14372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1438
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1440 and llroundf multiarch implementations.
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1442 New file.
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1444 New file.
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1446 New file.
1447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1448 file: multiarch llround for PowerPC32.
1449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1450 file: multiarch llroundf for PowerPC32.
1451
c9b5d79e
AZ
14522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1455 multiarch PowerPC32 fpu implementations.
1456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1457 New file.
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1459 New file.
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1461 multiarch llrint for PowerPC32.
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1463 New file.
1464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1465 New file.
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1467 file.
1468
9cbb3aab
AZ
14692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1472
ea5a72f8
AZ
14732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474
1475 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1476 file.
1477 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1478 file.
1479 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1480 file.
1481 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1482 multiarch wordcopy for PPC32.
1483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1484 wordcopy objects.
1485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1486 (__libc_ifunc_impl_list): Likewise.
1487 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1488 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1489 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1490 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1491 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1492 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1493
93be09e7
AZ
14942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495
1496 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1497 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1498 file.
1499 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1500 file.
1501 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1502 file.
1503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1504 multiarch wcscpy for PPC32.
1505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1506 multiarch objects.
1507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1508 (__libc_ifunc_impl_list): Likewise.
1509 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1510 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1511 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1512 sysdeps/powerpc/power6/wcscpy.c.
1513
bb04e529
AZ
15142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1515
1516 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1518 file.
1519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1520 file.
1521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1522 file.
1523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1524 multiarch wcsrchr for PPC32.
1525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1526 multiarch objects.
1527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1528 (__libc_ifunc_impl_list): Likewise.
1529 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1530 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1531 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1532 sysdeps/powerpc/power6/wcsrchr.c.
1533
05b5cd1c
AZ
15342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1535
1536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1537 file.
1538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1539 file.
1540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1542 multiarch wcschr for PPc32.
1543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1544 multiarch objects.
1545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1546 (__libc_ifunc_impl_list): Likewise.
1547 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1548 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1549 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1550 sysdeps/powerpc/power6/wcschr.c.
1551
ba964147
AZ
15522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1555 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1556 file.
1557 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1558 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1559 file: multiarch strchr for PPC32.
1560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1561 multiarch objects.
1562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1563 (__libc_ifunc_impl_list): Likewise.
1564
31c81aaa
AZ
15652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
1567 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1568 name.
1569 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1570 file.
1571 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1572 file.
1573 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1574 multiarch strchrnul for PPC32.
1575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1576 multiarch objects.
1577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1578 (__libc_ifunc_impl_list): Likewise.
1579
0d0607d9
AZ
15802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1583 file.
1584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1585 multiarch strncasecmp for PPC32.
1586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1587 file.
1588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1589 multiarch strncasecmp_l for PPC32.
1590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1591 strncasecmp multiarch objects.
1592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1593 (__libc_ifunc_impl_list): Likewise.
1594
4dfd5c86
AZ
15952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1596
1597 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1598 file.
1599 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1600 multiarch strncasecmp for PPC32.
1601 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1602 New file.
1603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1604 multiarch strcasecmp_l for PPC32.
1605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1606 multiarch objects.
1607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1608 (__libc_ifunc_impl_list): Likewise.
1609
a19e01a3
AZ
16102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1611
1612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1613 file.
1614 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1615 file.
1616 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1617 multiarch strncmp for PPC32.
1618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1619 multiarch objects.
1620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1621 (__libc_ifunc_impl_list): Likewise.
1622
ae9cf7a2
AZ
16232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624
1625 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1626 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1627 file.
1628 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1629 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1630 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1631 multiarch objects.
1632 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1633 (__libc_ifunc_impl_list): Likewise.
1634
3148bb7d
AZ
16352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1636
1637 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1638 file.
1639 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1640 file.
1641 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1643 multiarch objects.
1644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1645 (__libc_ifunc_impl_list): Likewise.
1646
7af8b946
AZ
16472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1648
1649 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1650 file.
1651 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1652 file.
1653 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1654 multiarch rawmemchr for PPC32.
1655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1656 multiarch objects.
1657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1658 (__libc_ifunc_impl_list): Likewise.
1659
03a6aa6a
AZ
16602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661
1662 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1663 file.
1664 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1665 file.
1666 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1667 file: memrchr multiarch for PPC32.
1668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1669 multiarch objects.
1670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1671 (__libc_ifunc_impl_list): Likewise.
1672
1c62e6d9
AZ
16732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1674
1675 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1676 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1677 file.
1678 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1680 multiarch memchr for PPC32.
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1682 multiarch objects.
1683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1684 (__libc_ifunc_impl_list): Likewise.
1685
87da8bdb
AZ
16862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687
1688 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1690 file.
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1692 file.
1693 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1694 file: multiarch mempcpy for PPC32.
1695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1696 multiarch objects.
1697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1698 (__libc_ifunc_impl_list): Likewise.
1699
20ed4714
AZ
17002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1701
1702 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1704 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1706 multiarch bzero for PPC32.
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1708 file.
1709 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1710 file.
1711 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1712 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1713 file: multiarch memset for PPC32.
1714 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1716 memset multiarch objects.
1717 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1718 (__libc_ifunc_impl_list): Likewise.
1719
ab3e3a46
AZ
17202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1721
1722 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1723 file.
1724 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1726 memcmp for PPC32.
1727 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1729 multiarch objects.
1730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1731 (__libc_ifunc_impl_list): Likewise.
1732
930de6f0
AZ
17332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734
1735 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1736 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1737 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1738 file.
1739 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1740 file.
1741 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1742 file.
1743 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1744 multiarch memcpy for PPC32.
1745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1746 multiarch objects.
1747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1748 (__libc_ifunc_impl_list): Likewise.
1749
4c628e00
AZ
17502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1751
1752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1753 support multiarch for POWER/PPC32.
1754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1755 Likewise.
1756 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1758 Implies file to make multiarch folder appers before the fpu and
1759 default folder for power4 configuration.
1760
f4479220
SP
17612013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1762
1763 * scripts/bench.pl: Append volatile keyword to type.
1764
8517800f
KK
17652013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1766
1767 * sysdeps/sh/sotruss-lib.c: New file.
1768 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1769
180138f1
AZ
17702013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771
1772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1773
bbf37bdc
JM
17742013-12-05 Joseph Myers <joseph@codesourcery.com>
1775
e47cc4e0
JM
1776 [BZ #6810]
1777 * math/w_tgamma.c: Include <errno.h>.
1778 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1779 * math/w_tgammaf.c: Include <errno.h>.
1780 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1781 * math/w_tgammal.c: Include <errno.h>.
1782 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1783 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1784 underflow. Add more tgamma tests.
1785 * math/auto-libm-test-out: Regenerated.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1788
bbf37bdc
JM
1789 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1790 sin, sinh, tan, tanh, tgamma, y0 and y1.
1791 * math/auto-libm-test-out: Regenerated.
1792 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1793 (TEST_COND_x86): Likewise.
1794 (M_E2l): Remove macro.
1795 (M_E3l): Likewise.
1796 (M_2_SQRT_PIl): Likewise.
1797 (M_SQRT_PIl): Likewise.
1798 (M_1_DIV_El): Likewise.
1799 (log_test_data): Use AUTO_TESTS_f_f.
1800 (log10_test_data): Likewise.
1801 (log1p_test_data): Likewise.
1802 (log2_test_data): Likewise.
1803 (sin_test_data): Likewise.
1804 (sin_tonearest_test_data): Likewise.
1805 (sin_towardzero_test_data): Likewise.
1806 (sin_downward_test_data): Likewise.
1807 (sin_upward_test_data): Likewise.
1808 (sinh_test_data): Likewise.
1809 (sinh_tonearest_test_data): Likewise.
1810 (sinh_towardzero_test_data): Likewise.
1811 (sinh_downward_test_data): Likewise.
1812 (sinh_upward_test_data): Likewise.
1813 (tan_test_data): Likewise.
1814 (tan_tonearest_test_data): Likewise.
1815 (tan_towardzero_test_data): Likewise.
1816 (tan_downward_test_data): Likewise.
1817 (tan_upward_test_data): Likewise.
1818 (tanh_test_data): Likewise.
1819 (tgamma_test_data): Likewise.
1820 (y0_test_data): Likewise.
1821 (y1_test_data): Likewise.
1822 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1823 (special_real_inputs): Add pi/4.
1824 * sysdeps/i386/fpu/libm-test-ulps: Update.
1825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1826
eb5ad6b9
AZ
18272013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828
1829 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1830 "longjmp_target" static probes.
1831 (__longjmp): Rename to __longjmp_symbol.
1832 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1833 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1834 on which longjmp to generate.
1835 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1836 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1837 probe.
1838 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1839 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1840 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1841 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1842 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1843 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1845 __longjmp_symbol based on which __longjmp to generate.
1846 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1847 probe.
1848 (setjmp): Rename to setjmp_symbol.
1849 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1850 (_setjmp): Rename to _setjmp_symbol.
1851 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1852 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1853 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1854 which setjmp to generate.
1855 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1856 "longjmp_target" static probes.
1857
d136c6dc
SP
18582013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1859
9298ecba
SP
1860 * benchtests/README: Add note about output arguments.
1861 * benchtests/bench-sincos.c: Remove file.
1862 * benchtests/sincos-inputs: New file.
1863 * scripts/bench.pl: Identify output arguments and define
1864 static variables for them.
1865
232983e9
SP
1866 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1867
d136c6dc
SP
1868 [BZ #15941]
1869 * Makefile (INSTALL): Add install-plain.texi as the primary
1870 dependency.
1871 * manual/install-plain.texi: New file.
1872 * manual/install.texi: Include node directive only for
1873 non-plaintext output.
1874
699ff837
JM
18752013-12-04 Joseph Myers <joseph@codesourcery.com>
1876
ab07cea8
JM
1877 * stdlib/longlong.h: Update from GCC.
1878
699ff837
JM
1879 [BZ #6807]
1880 [BZ #15901]
1881 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1882 * math/w_j0f.c (y0f): Likewise.
1883 * math/w_j0l.c (__y0l): Likewise.
1884 * math/w_j1.c (y1): Likewise.
1885 * math/w_j1f.c (y1f): Likewise.
1886 * math/w_j1l.c (__y1l): Likewise
1887 * math/w_jn.c (yn): Likewise.
1888 * math/w_jnf.c (ynf): Likewise.
1889 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1890 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1891 value for Bessel function domain errors outside _SVID_ mode.
1892 Adjust sign of return value for yn (negative integer, 0).
1893 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1894 by zero in return for negative x and set sign appropriately for
1895 negative n.
1896 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1897 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1898 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1899 expectations in error cases.
1900 (y1_test_data): Likewise.
1901 (yn_test_data): Likewise.
1902 * sysdeps/i386/fpu/libm-test-ulps: Update.
1903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1904
5b118558
UW
19052013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1906
1907 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1908 "64" to "64-v1". Add "64-v2".
1909 (abi-64-options): Rename to ...
1910 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1911 (abi-64-condition): Rename to ...
1912 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1913 (abi-64-ld-soname): Rename to ...
1914 (abi-64-v1-ld-soname): ... this.
1915 (abi-64-v2-options): Define.
1916 (abi-64-v2-condition): Likewise.
1917 (abi-64-v2-ld-soname): Likewise.
1918 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1919 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1923
61cd8fe4
UW
19242013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1925 Alan Modra <amodra@gmail.com>
1926
1927 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1928 New versions for use with the ELFv2 ABI.
1929 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1930 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1931 declaration.
1932 (struct La_ppc64v2_retval): Likewise.
1933 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1934 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1935 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1936 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1937 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1938 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1939 Do not save or restore CR.
1940 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1941 (_dl_profile_resolve): Do no save or restore CR. Support extended
1942 return values for ELFv2 ABI. Fix location of FPR return registers.
1943 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1944 updated values for _CALL_ELF == 2.
1945 (La_regs, La_retval, int_retval): Likewise.
1946
8b8a692c
UW
19472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1948
1949 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1950 (FRAME_MIN_SIZE_PARM): Likewise.
1951 (FRAME_BACKCHAIN): Likewise.
1952 (FRAME_CR_SAVE): Likewise.
1953 (FRAME_LR_SAVE): Likewise.
1954 (FRAME_TOC_SAVE): Likewise.
1955 (FRAME_PARM_SAVE): Likewise.
1956 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1957 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1958 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1959 (call_mcount_parm_offset): New macro.
1960 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1961 (PROF): Use symbolic stack frame offsets.
1962 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1963 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1964 Redefine in terms of FRAME_MIN_SIZE.
1965 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1966 (_dl_profile_resolve): Likewise. Update comment.
1967 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1968 symbols stack frame offsets.
1969 (__sigsetjmp): Likewise.
1970 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1971 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1972 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1973 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1974
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1976 (FRAME_BACKCHAIN): Remove.
1977 (FRAME_CR_SAVE): Likewise.
1978 (FRAME_LR_SAVE): Likewise.
1979 (FRAME_COMPILER_DW): Likewise.
1980 (FRAME_LINKER_DW): Likewise.
1981 (FRAME_TOC_SAVE): Likewise.
1982 (FRAME_PARM_SAVE): Likewise.
1983 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1984 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1985 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1987 (CHECK_SP): Use symbolic stack frame offsets.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1989 zone" instead of caller's parameter save area for temp storage.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1991 Likewise. Also, use symbolic stack frame offsets.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1993 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1994 our own stack frame instead of the caller's.
1995 (__socket): Use symbolic stack frame offsets.
1996
122b66de
UW
19972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1998 Alan Modra <amodra@gmail.com>
1999
2000 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2001 Define.
2002 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2003 PPC64_LOCAL_ENTRY_OFFSET): Define.
2004 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2005 New function.
2006 (elf_machine_fixup_plt): Call it.
2007 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2008 reloc arguments.
2009 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2010 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2011 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2012 r2 before calling target.
2013
696caf1d
UW
20142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2015 Alan Modra <amodra@gmail.com>
2016
2017 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2018 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2019 versions of macros to support ELFv2 ABI.
2020 (LOCALENTRY): New macro.
2021 (ENTRY, EALIGN): Use it.
2022 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2023 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2024 fall through into ENTRY entry point.
2025 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2026 Only define if _CALL_ELF != 2.
2027
2028 (elf_machine_matches_host): Verify ABI version matches.
2029 (RTLD_START): Use LOCALENTRY.
2030 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2031 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2032 (PLT_ENTRY_WORDS): New macro.
2033 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2034 (elf_machine_runtime_setup): Support ELFv2 ABI.
2035 (elf_machine_fixup_plt): Likewise.
2036 (elf_machine_plt_conflict): Likewise.
2037 (resolve_ifunc): Likewise.
2038 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2039 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2040 Likewise.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2042 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2044 (makecontext): Support ELFv2 ABI.
2045 * elf/elf.h (EF_PPC64_ABI): Define.
2046
d31beafa
UW
20472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2048
2049 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2050 New assembler macro.
2051 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2052 [ASSEMBLER] (ENTRY): ... but instead here ...
2053 [ASSEMBLER] (EALIGN): ... and here.
2054 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2055 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2056 [!ASSEMBLER] (ENTRY_2): Use it.
2057 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2058 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2059 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2060 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2061 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2063 Use PPC64_LOAD_FUNCPTR.
2064
b525166b
UW
20652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2066
2067 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2068
7ec07d9a
AM
20692013-12-04 Alan Modra <amodra@gmail.com>
2070
2071 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2072 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2073 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2074 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2075
2076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2077 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2078 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2079 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2080 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2081 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2082
5162e7dd
UW
20832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2084
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2086 (__makecontext): Fix incorrect CFI when backtracing out of
2087 context created via makecontext.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2089 (__setcontext): Fix incorrect CFI during switch to new context.
2090 (__novec_setcontext): Likewise.
2091
19e3372b
OB
20922013-12-04 Ondřej Bílka <neleai@seznam.cz>
2093
2094 [BZ #4772]
2095 * time/strptime_l.c (__strptime_internal): Allow modifiers
2096 in strptime.
2097 * time/tst-strptime.c (day_tests): Add testcase.
2098
2099
ecaf142d
SP
21002013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2101
2102 * scripts/bench.pl: Skip over blank lines.
2103
fbf964ae
PE
21042013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2105
2106 [BZ #926]
2107 * manual/time.texi (Calendar Time): Clarify what timezone functions
2108 use.
2109
fa60a674
AZ
21102013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2111
2112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2113
d674f0ef
OB
21142013-12-04 Ondřej Bílka <neleai@seznam.cz>
2115
2116 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2117 implementation.
2118 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2119 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2120 * debug/memset_chk.c (__memset_chk): Likewise.
2121 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2122 * debug/strncpy_chk.c: Likewise.
2123
17dea188
JM
21242013-12-03 Joseph Myers <joseph@codesourcery.com>
2125
749008ff
JM
2126 [BZ #15268]
2127 [BZ #15425]
2128 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2129 (__ieee754_exp): For possibly underflowing results, check size of
2130 result and force underflow exception if required.
2131 * math/auto-libm-test-in: Add more tests of exp.
2132 * math/auto-libm-test-out: Regenerated.
2133 * sysdeps/i386/fpu/libm-test-ulps: Update.
2134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135
17dea188
JM
2136 [BZ #16283]
2137 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2138 * math/w_exp2f.c (__exp2f): Likewise.
2139 * math/w_exp2l.c (__exp2l): Likewise.
2140 * math/auto-libm-test-in: Do not allow missing errno on exp2
2141 underflow.
2142 * math/auto-libm-test-out: Regenerated.
2143
b20de2c3
OB
21442013-12-03 Ondřej Bílka <neleai@seznam.cz>
2145
2146 [BZ #16274]
2147 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2148 handle filename validation.
2149 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2150 (do_open): Delete.
2151
d8e2dbe3
JM
21522013-12-03 Joseph Myers <joseph@codesourcery.com>
2153
34e16df5
JM
2154 [BZ #6786]
2155 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2156 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2157 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2158 <float.h>.
2159 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2161 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2163 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2164 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2165 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2166 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2167 Add more erfc tests.
2168 * math/auto-libm-test-out: Regenerated.
2169 * sysdeps/i386/fpu/libm-test-ulps: Update.
2170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2171
d8e2dbe3
JM
2172 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2173 exp2, expm1, j0 and j1.
2174 * math/auto-libm-test-out: Regenerated.
2175 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2176 (erfc_test_data): Likewise.
2177 (exp_test_data): Likewise.
2178 (exp_tonearest_test_data): Likewise.
2179 (exp_towardzero_test_data): Likewise.
2180 (exp_downward_test_data): Likewise.
2181 (exp_upward_test_data): Likewise.
2182 (exp10_test_data): Likewise.
2183 (exp2_test_data): Likewise.
2184 (expm1_test_data): Likewise.
2185 (j0_test_data): Likewise.
2186 (j1_test_data): Likewise.
2187 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2188 (input_flag_type): Add flag_xfail_rounding.
2189 (input_flags): Add xfail-rounding.
2190 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2191 (output_for_one_input_case): Handle flag_xfail_rounding.
2192 * sysdeps/i386/fpu/libm-test-ulps: Update.
2193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2194
18d14251
AJ
21952013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2196
3d2e6075 2197 [BZ #16289]
18d14251
AJ
2198 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2199 division by 0.
2200
520d437b
SP
22012013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2202
2203 [BZ #16195]
2204 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2205 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2206 (STAP_PROBE0): New macro.
2207 (STAP_PROBE1): Likewise.
2208 (STAP_PROBE2): Likewise.
2209 (STAP_PROBE3): Likewise.
2210 (STAP_PROBE4): Likewise.
2211
416e0145
OB
22122013-12-02 Ondřej Bílka <neleai@seznam.cz>
2213
2214 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2215
9d17796a
SE
22162013-12-02 Steve Ellcey <sellcey@mips.com>
2217
2218 * benchtests/Makefile (bench): Add sqrt.
2219 (LDLIBS-bench-sqrt): New.
2220 * benchtests/sqrt-input: New.
2221
f524d6a8
PS
22222013-12-02 Pavel Simerda <psimerda@redhat.com>
2223
639a0ef8
PS
2224 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2225 (GAIH_EAI): Likewise.
2226 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2227 (gaih_inet): Likewise.
2228 (getaddrinfo): Don't use GAIH_EAI.
2229
f524d6a8
PS
2230 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2231 (struct gaih): Remove definition.
2232
df3aedaf
SP
22332013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2234
2235 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2236 Use HERRNOP directly.
2237
1ab19dec
AZ
22382013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239
b42ad38d 2240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2241
176b0c79
JM
22422013-11-30 Joseph Myers <joseph@codesourcery.com>
2243
2244 * math/gen-auto-libm-tests.c (test_functions): Add more
2245 single-argument functions.
2246 (special_fill_pi_2): New function.
2247 (special_fill_minus_pi_2): Likewise.
2248 (special_fill_pi_6): Likewise.
2249 (special_fill_minus_pi_6): Likewise.
2250 (special_fill_pi_3): Likewise.
2251 (special_fill_2pi_3): Likewise.
2252 (special_fill_e): Likewise.
2253 (special_fill_1_e): Likewise.
2254 (special_fill_e_minus_1): Likewise.
2255 (special_real_inputs): Add more special inputs.
2256 (output_for_one_input_case): Do not require ERANGE on underflow to
2257 zero if round-to-nearest result does not underflow to zero, unless
2258 exact results required.
2259 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2260 atan, atanh, cbrt, cos and cosh.
2261 * math/auto-libm-test-out: Regenerated.
2262 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2263 (acos_tonearest_test_data): Likewise.
2264 (acos_towardzero_test_data): Likewise.
2265 (acos_downward_test_data): Likewise.
2266 (acos_upward_test_data): Likewise.
2267 (acosh_test_data): Likewise.
2268 (asin_test_data): Likewise.
2269 (asin_tonearest_test_data): Likewise.
2270 (asin_towardzero_test_data): Likewise.
2271 (asin_upward_test_data): Likewise.
2272 (asinh_test_data): Likewise.
2273 (atan_test_data): Likewise.
2274 (atanh_test_data): Likewise.
2275 (cbrt_test_data): Likewise.
2276 (cos_test_data): Likewise.
2277 (cos_tonearest_test_data): Likewise.
2278 (cos_towardzero_test_data): Likewise.
2279 (cos_downward_test_data): Likewise.
2280 (cos_upward_test_data): Likewise.
2281 (cosh_test_data): Likewise.
2282 (cosh_tonearest_test_data): Likewise.
2283 (cosh_towardzero_test_data): Likewise.
2284 (cosh_downward_test_data): Likewise.
2285 (cosh_upward_test_data): Likewise.
2286 * sysdeps/i386/fpu/libm-test-ulps: Update.
2287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2288
ffb536d0
JM
22892013-11-29 Joseph Myers <joseph@codesourcery.com>
2290
2a77a467
JM
2291 [BZ #6787]
2292 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2293 * math/w_exp10f.c (__exp10f): Likewise.
2294 * math/w_exp10l.c (__exp10l): Likewise.
2295 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2296 errno settings in existing tests.
2297
ea3bc4e8
JM
2298 [BZ #14032]
2299 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2300 precision control set to double precision.
2301 * sysdeps/i386/fpu/w_sqrt.c: New file.
2302 * math/auto-libm-test-in: Add more tests.
2303 * math/auto-libm-test-out: Update.
2304
0712c9d8
JM
2305 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2306 (sqrt_test_tonearest): New function.
2307 (sqrt_towardzero_test_data): New variable.
2308 (sqrt_test_towardzero): New function.
2309 (sqrt_downward_test_data): New variable.
2310 (sqrt_test_downward): New function.
2311 (sqrt_upward_test_data): New variable.
2312 (sqrt_test_upward): New function.
2313 (main): Call the new functions.
2314
ffb536d0
JM
2315 * math/gen-auto-libm-tests.c: New file.
2316 * math/auto-libm-test-in: Likewise.
2317 * math/auto-libm-test-out: New generated file.
2318 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2319 variables.
2320 (%beautify): Add generated representations of zero.
2321 (top level): Set $auto_input and call parse_auto_input.
2322 (beautify): Remove trailing "f" from hex float constants.
2323 (parse_args): Handle XFAIL_TEST.
2324 (convert_condition): New function.
2325 (or_value): Likewise.
2326 (or_cond_value): Likewise.
2327 (generate_testfile): Handle AUTO_TESTS_* lines.
2328 (parse_auto_input): New function.
2329 * math/libm-test.inc (XFAIL_TEST): New macro.
2330 (ERRNO_UNCHANGED): Update value.
2331 (ERRNO_EDOM): Likewise.
2332 (ERRNO_ERANGE): Likewise.
2333 (IGNORE_RESULT): Likewise.
2334 (TEST_COND_flt_32): New macro.
2335 (TEST_COND_dbl_64): Likewise.
2336 (TEST_COND_ldbl_96_intel): Likewise.
2337 (TEST_COND_ldbl_96_m68k): Likewise.
2338 (TEST_COND_ldbl_128): Likewise.
2339 (TEST_COND_ldbl_128ibm): Likewise.
2340 (TEST_COND_long32): Likewise.
2341 (TEST_COND_long64): Likewise.
2342 (TEST_COND_before_rounding): Likewise.
2343 (TEST_COND_after_rounding): Likewise.
2344 (enable_test): Handle XFAIL_TEST flag.
2345 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2346 with finite results.
2347 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2348 auto-libm-test-out.
2349
acd98a8e
AK
23502013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2351 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2352
2353 [BZ #16214]
2354 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2355 __tls_get_addr_internal instead of __tls_get_offset in order to
2356 avoid GOT pointer dependency. Make rtld export
2357 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2358 __tls_get_addr since we are a __tls_get_offset platform.
2359 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2360 GOT pointer being set up before.
2361 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2362
3c1c46a6
JM
23632013-11-28 Joseph Myers <joseph@codesourcery.com>
2364
7475aef5
JM
2365 * manual/math.texi (Errors in Math Functions): Document accuracy
2366 goals.
2367
8bca7cd8
JM
2368 [BZ #15004]
2369 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2370 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2372 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2373 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2375 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2381 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2382 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2385
91a1f3fe
JM
2386 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2387 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2388 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2389 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2390 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2391 Likewise.
2392 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2393 Likewise.
2394 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2395 Likewise.
2396 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2397 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2398 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2399 atomic-feupdateenv and flt-rounds.
2400 * sysdeps/powerpc/nofpu/Versions (libc): Add
2401 __atomic_feholdexcept, __atomic_feclearexcept,
2402 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2403 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2404 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2405 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2406 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2407 here.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2409 Update.
2410
c5df7609
JM
2411 * manual/arith.texi (FP Exceptions): Document that exceptions may
2412 not be raised when matherr is used.
2413 (Math Error Reporting): Document overflow in directed rounding
2414 modes. Document that errno may not be set when finite values are
2415 returned on overflow. Document intent to set errno on underflow
2416 only for underflow to zero.
2417
3c1c46a6
JM
2418 [BZ #16271]
2419 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2420 round-to-nearest then adjust result for other rounding modes.
2421 * include/fenv.h (fegetround): Use libm_hidden_proto.
2422 * math/fegetround.c (fegetround): Use libm_hidden_def.
2423 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2424 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2425 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2426 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2427 Likewise.
2428 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2429 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2430 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2431 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2432
5a4c6d53
SP
24332013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2434
2435 [BZ #16077]
2436 * nss/Versions (libnss_files): Add
2437 _nss_files_gethostbyname3_r.
2438 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2439 New function.
2440 (HOST_DB_LOOKUP): Remove macro.
2441 (_nss_files_gethostbyname_r): Implement function without the
2442 HOST_DB_LOOKUP macro.
2443 (_nss_files_gethostbyname2_r): Likewise.
2444
897b98ba
OB
24452013-11-28 Ondřej Bílka <neleai@seznam.cz>
2446
2447 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2448
6f476861
UB
24492013-11-26 Uros Bizjak <ubizjak@gmail.com>
2450
2451 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2452 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2453 warning.
2454
bd12ab55
AZ
24552013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2456
2457 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2458 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2459 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2460 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2461 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2462 __fe_nomask_env_priv and attribute_hidden.
2463 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2464 (libc_feupdateenv_test_ppc): Likewise.
2465 (libc_feresetround_ppc): Likewise.
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2467 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2468 compat_symbol macro.
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2470 (__fe_nomask_env): Likewise.
2471 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2472
52bb6543
OB
24732013-11-26 Ondřej Bílka <neleai@seznam.cz>
2474
2475 * string/Makefile: Remove ifunc tests.
2476 * string/test-string.h: Define TEST_IFUNC.
2477 * string/test-bcopy-ifunc.c: Remove.
2478 * string/test-bzero-ifunc.c: Likewise.
2479 * string/test-memccpy-ifunc.c: Likewise.
2480 * string/test-memchr-ifunc.c: Likewise.
2481 * string/test-memcmp-ifunc.c: Likewise.
2482 * string/test-memcpy-ifunc.c: Likewise.
2483 * string/test-memmem-ifunc.c: Likewise.
2484 * string/test-memmove-ifunc.c: Likewise.
2485 * string/test-mempcpy-ifunc.c: Likewise.
2486 * string/test-memrchr-ifunc.c: Likewise.
2487 * string/test-memset-ifunc.c: Likewise.
2488 * string/test-rawmemchr-ifunc.c: Likewise.
2489 * string/test-stpcpy-ifunc.c: Likewise.
2490 * string/test-stpncpy-ifunc.c: Likewise.
2491 * string/test-strcasecmp-ifunc.c: Likewise.
2492 * string/test-strcasestr-ifunc.c: Likewise.
2493 * string/test-strcat-ifunc.c: Likewise.
2494 * string/test-strchr-ifunc.c: Likewise.
2495 * string/test-strchrnul-ifunc.c: Likewise.
2496 * string/test-strcmp-ifunc.c: Likewise.
2497 * string/test-strcpy-ifunc.c: Likewise.
2498 * string/test-strcspn-ifunc.c: Likewise.
2499 * string/test-strlen-ifunc.c: Likewise.
2500 * string/test-strncasecmp-ifunc.c: Likewise.
2501 * string/test-strncat-ifunc.c: Likewise.
2502 * string/test-strncmp-ifunc.c: Likewise.
2503 * string/test-strncpy-ifunc.c: Likewise.
2504 * string/test-strnlen-ifunc.c: Likewise.
2505 * string/test-strpbrk-ifunc.c: Likewise.
2506 * string/test-strrchr-ifunc.c: Likewise.
2507 * string/test-strspn-ifunc.c: Likewise.
2508 * string/test-strstr-ifunc.c: Likewise.
2509
ab260039 25102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2511
2512 * benchtests/Makefile: Remove ifunc tests.
2513 * benchtests/bench-string.h: Define TEST_IFUNC.
2514 * benchtests/bench-bcopy-ifunc.c: Remove.
2515 * benchtests/bench-bzero-ifunc.c: Likewise.
2516 * benchtests/bench-memccpy-ifunc.c: Likewise.
2517 * benchtests/bench-memchr-ifunc.c: Likewise.
2518 * benchtests/bench-memcmp-ifunc.c: Likewise.
2519 * benchtests/bench-memcpy-ifunc.c: Likewise.
2520 * benchtests/bench-memmem-ifunc.c: Likewise.
2521 * benchtests/bench-memmove-ifunc.c: Likewise.
2522 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2523 * benchtests/bench-memrchr-ifunc.c: Likewise.
2524 * benchtests/bench-memset-ifunc.c: Likewise.
2525 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2526 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2527 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2528 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2529 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2530 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2531 * benchtests/bench-strcat-ifunc.c: Likewise.
2532 * benchtests/bench-strchr-ifunc.c: Likewise.
2533 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2534 * benchtests/bench-strcmp-ifunc.c: Likewise.
2535 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2536 * benchtests/bench-strcpy-ifunc.c: Likewise.
2537 * benchtests/bench-strcspn-ifunc.c: Likewise.
2538 * benchtests/bench-strlen-ifunc.c: Likewise.
2539 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2540 * benchtests/bench-strncat-ifunc.c: Likewise.
2541 * benchtests/bench-strncmp-ifunc.c: Likewise.
2542 * benchtests/bench-strncpy-ifunc.c: Likewise.
2543 * benchtests/bench-strnlen-ifunc.c: Likewise.
2544 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2545 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2546 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2547 * benchtests/bench-strspn-ifunc.c: Likewise.
2548 * benchtests/bench-strstr-ifunc.c: Likewise.
2549
25502013-11-26 Ondřej Bílka <neleai@seznam.cz>
2551
ab260039
OB
2552 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2553
d1d9eaf4 25542013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2555
d1d9eaf4
OB
2556 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2557 * rt/aio.h: Likewise.
2558 * sysdeps/gnu/bits/utmp.h: Likewise.
2559 * sysdeps/gnu/bits/utmpx.h: Likewise.
2560 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2561 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2562 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2563 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2564 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2565 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2566 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2567 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2568 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2569 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2571 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2572 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2574 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2575 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2576 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2577 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2578 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2579 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2580 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2581 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2582 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2583 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2584 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2586 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2588 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2589 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2590 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2591 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2592 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2593 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2594 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2595 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2596 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2597 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2598 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2599 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2600 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2601 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2602
a7624ed9
CD
26032013-11-25 Carlos O'Donell <carlos@redhat.com>
2604
2605 [BZ #16245]
2606 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2607 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2608
63cfe52b
JM
26092013-11-25 Joseph Myers <joseph@codesourcery.com>
2610
2611 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2612 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2613 Likewise.
2614
41e8926a
AZ
26152013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2616
2617 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2618 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2619 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2620 (__fesetround): Remove define.
2621 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2622 rounding and exceptions handling.
2623 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2624 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2625 (__fe_nomask_env): Likewise.
2626 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2627 __fegetround instead of fegetround.
2628 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2629 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2630
6851bd4d
RM
26312013-11-21 Roland McGrath <roland@hack.frob.com>
2632
070906ff
RM
2633 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2634 it's there.
2635
6851bd4d
RM
2636 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2637
84ae135d
MI
26382013-11-21 Meador Inge <meadori@codesourcery.com>
2639
2640 [BZ #11157]
2641 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2642 (encrypt_r): Likewise.
2643 * malloc/obstack.h (obstack_free): Likewise.
2644 * posix/unistd.h (encrypt): Likewise.
2645
daf75146
GM
26462013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2647
2648 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2649 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2650 DL_CALL_DT_FINI() that call the functions directly.
2651 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2652 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2653 * elf/dl-fini.c: Likewise.
2654
10ad46bc
OB
26552013-11-20 Ondřej Bílka <neleai@seznam.cz>
2656
2657 * malloc/hooks.c (memalign_check): Add alignment rounding.
2658 * malloc/malloc.c (_mid_memalign): New function.
2659 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2660 Implement by calling _mid_memalign.
2661 * manual/probes.texi (Memory Allocation Probes): Remove
2662 memory_valloc_retry and memory_pvalloc_retry.
2663
f3fd2628
SP
26642013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2665
4712799f
SP
2666 * locale/programs/locarchive.c (open_archive): Add const
2667 qualifier to ARCHIVEFNAME and copy default fname to
2668 DEFAULT_FNAME.
2669
0417b20f
SP
2670 [BZ #15601]
2671 * libio/tst-widetext.input: Rename Oriya to Odia.
2672 * locale/iso-639.def: Likewise.
2673
f3fd2628
SP
2674 * manual/probes.texi (Mathematical Function Probes): Add
2675 documentation for sin, cos, asin and acos probes.
2676 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2677 (__sin32): Add slowasin probe.
2678 (__cos32): Add slowacos probe.
2679 (__mpsin): Add slowsin probe.
2680 (__mpcos): Add slowcos probe.
2681
73c1ce4f
JM
26822013-11-19 Joseph Myers <joseph@codesourcery.com>
2683
2684 [BZ #15483]
2685 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2686 thread-local __sim_exceptions_thread and global
2687 __sim_exceptions_global.
2688 (__sim_disabled_exceptions): Change to thread-local
2689 __sim_disabled_exceptions_thread and global
2690 __sim_disabled_exceptions_global.
2691 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2692 and global __sim_round_mode_global.
2693 (__simulate_exceptions): Use thread-local floating-point state and
2694 set global state from it as needed.
2695 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2696 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2697 __sim_round_mode_thread.
2698 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2699 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2700 and global __sim_exceptions_global.
2701 (__sim_disabled_exceptions): Change to thread-local
2702 __sim_disabled_exceptions_thread and global
2703 __sim_disabled_exceptions_global.
2704 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2705 and global __sim_round_mode_global.
2706 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2707 (SIM_SET_GLOBAL): Likewise.
2708 * sysdeps/powerpc/soft-fp/sfp-machine.h
2709 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2710 __sim_round_mode_thread.
2711 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2712 __sim_disabled_exceptions_thread.
2713 (__sim_exceptions): Change to __sim_exceptions_thread.
2714 (__sim_disabled_exceptions): Change to
2715 __sim_disabled_exceptions_thread.
2716 (__sim_round_mode): Change to __sim_round_mode_thread.
2717 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2718 thread-local floating-point state and set global state from it as
2719 needed.
2720 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2721 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2722 (__sim_disabled_exceptions): Remove extern declaration.
2723 (feenableexcept): Use thread-local floating-point state and set
2724 global state from it as needed.
2725 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2726 extern declaration.
2727 (__sim_disabled_exceptions): Likewise.
2728 (__sim_round_mode): Likewise.
2729 (__fegetenv): Use thread-local floating-point state.
2730 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2731 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2732 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2733 floating-point state and set global state from it as needed.
2734 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2735 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2736 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2737 Likewise.
2738 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2739 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2740 Likewise.
2741 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2742 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2743 Use __sim_round_mode_thread.
2744 * math/test-fenv-tls.c: New file.
2745 * math/Makefile (tests): Add test-fenv-tls.
2746 ($(objpfx)test-fenv-tls): Depend on
2747 $(common-objpfx)nptl/libpthread.so.
2748
b5449b12
AS
27492013-11-19 Andreas Schwab <schwab@suse.de>
2750
2751 * locale/programs/locale.c (show_info): Decode wordarray elements.
2752 * locale/categories.def (LC_MONETARY): Add element for
2753 _NL_MONETARY_CRNCYSTR.
2754 * locale/C-monetary.c (conversion_rate): New variable.
2755 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2756 element.
2757
e186536b
CM
27582013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2759
2760 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2761 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2762
5c349950
PP
27632013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2764
2765 * elf/Makefile (tst-auxv): New test.
2766 * elf/tst-auxv.c: New
2767 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2768
699df45b
JM
27692013-11-18 Joseph Myers <joseph@codesourcery.com>
2770
2771 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2772 (hidden_proto): Caller changed.
2773 (hidden_tls_proto): New macro.
2774 (libc_hidden_tls_proto): Likewise.
2775 (rtld_hidden_tls_proto): Likewise.
2776 (libm_hidden_tls_proto): Likewise.
2777 (libresolv_hidden_tls_proto): Likewise.
2778 (librt_hidden_tls_proto): Likewise.
2779 (libdl_hidden_tls_proto): Likewise.
2780 (libnss_files_hidden_tls_proto): Likewise.
2781 (libnsl_hidden_tls_proto): Likewise.
2782 (libnss_nisplus_hidden_tls_proto): Likewise.
2783 (libutil_hidden_tls_proto): Likewise.
2784
b7589107
OB
27852013-11-18 Ondřej Bílka <neleai@seznam.cz>
2786
2787 [BZ #10253]
2788 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2789 (decompose_rpath): Defer expansion to fillin_rpath.
2790 (_dl_init_paths): Pass linkmap to fillin_rpath.
2791
250c23bd
RS
27922013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2793
2794 * benchtests/Makefile: Add strsep.
2795 * benchtests/bench-strsep.c: New file: strsep benchtest.
2796 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2797
a7931fcf
AS
27982013-11-18 Andreas Schwab <schwab@suse.de>
2799
2800 * locale/programs/locale.c (show_info) [case byte]: Check for
2801 '\377' instead of '\177'.
2802 * locale/C-monetary.c (not_available): Always use "\377".
2803 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2804 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2805 detect unavailable sign_posn locale elements.
2806 * locale/localeconv.c (__localeconv): For grouping and
2807 mon_grouping handle "\177" and "\377" like no grouping.
2808 (INT_ELEM): New macro. Use it to set all numeric members.
2809 * locale/programs/ld-monetary.c (monetary_read)
2810 <tok_mon_grouping>: Normalize single -1 to the empty string.
2811 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2812 Likewise.
2813
728dab0e
OB
28142013-11-07 Ondřej Bílka <neleai@seznam.cz>
2815
2816 [BZ #16055]
2817 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2818 when we match (nil).
2819 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2820
66294491
JM
28212013-11-16 Joseph Myers <joseph@codesourcery.com>
2822
ce665817
JM
2823 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2824 (NO_TEST_INLINE): Update value.
2825 (ERRNO_UNCHANGED): Likewise.
2826 (ERRNO_EDOM): Likewise.
2827 (ERRNO_ERANGE): Likewise.
2828 (IGNORE_RESULT): Likewise.
2829 (check_float_internal): Check signs of NaN results if
2830 TEST_NAN_SIGN used.
2831 (check_complex): Pass TEST_NAN_SIGN flag through to second
2832 check_float_internal call.
2833 (copysign_test_data): Add tests with quiet NaNs as second
2834 argument. Use TEST_NAN_SIGN.
2835 (fabs_test_data): Add test of negative quiet NaN argument. Use
2836 TEST_NAN_SIGN.
2837 (signbit_test_data): Add tests of quiet NaN argument.
2838 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2839
ee1466a9
JM
2840 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2841 $ignore_result.
2842 (parse_args): Handle function results specified as IGNORE.
2843 * math/libm-test.inc (IGNORE_RESULT): New macro.
2844 (check_float_internal): Do not check numerical result if flag
2845 IGNORE_RESULT set.
2846 (check_complex): Pass through IGNORE_RESULT to second
2847 check_float_internal call.
2848 (check_int): Do not check numerical result if flag IGNORE_RESULT
2849 set.
2850 (check_long): Likewise.
2851 (check_bool): Likewise.
2852 (check_longlong): Likewise.
2853 (lrint_test_data): Add tests of infinite and NaN arguments.
2854 (lrint_tonearest_test_data): Likewise.
2855 (lrint_towardzero_test_data): Likewise.
2856 (lrint_downward_test_data): Likewise.
2857 (lrint_upward_test_data): Likewise.
2858 (llrint_test_data): Likewise.
2859 (llrint_tonearest_test_data): Likewise.
2860 (llrint_towardzero_test_data): Likewise.
2861 (llrint_downward_test_data): Likewise.
2862 (llrint_upward_test_data): Likewise.
2863 (lround_test_data): Likewise.
2864 (llround_test_data): Likewise.
2865
14407b7e
JM
2866 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2867 (ERRNO_UNCHANGED): Update value.
2868 (ERRNO_EDOM): Likewise.
2869 (ERRNO_ERANGE): Likewise.
2870 (NO_TEST_INLINE_FLOAT): New macro.
2871 (NO_TEST_INLINE_DOUBLE): Likewise.
2872 (enable_test): New function.
2873 (RUN_TEST_f_f): Check enable_test before running test.
2874 (RUN_TEST_2_f): Likewise.
2875 (RUN_TEST_fff_f): Likewise.
2876 (RUN_TEST_c_f): Likewise.
2877 (RUN_TEST_f_f1): Likewise.
2878 (RUN_TEST_fF_f1): Likewise.
2879 (RUN_TEST_fI_f1): Likewise.
2880 (RUN_TEST_ffI_f1): Likewise.
2881 (RUN_TEST_c_c): Likewise.
2882 (RUN_TEST_cc_c): Likewise.
2883 (RUN_TEST_f_i): Likewise.
2884 (RUN_TEST_f_i_tg): Likewise.
2885 (RUN_TEST_ff_i_tg): Likewise.
2886 (RUN_TEST_f_b): Likewise.
2887 (RUN_TEST_f_b_tg): Likewise.
2888 (RUN_TEST_f_l): Likewise.
2889 (RUN_TEST_f_L): Likewise.
2890 (RUN_TEST_fFF_11): Likewise.
2891 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2892 conditionals.
2893 (cosh_test_data): Likewise.
2894 (exp_test_data): Likewise.
2895 (expm1_test_data): Likewise.
2896 (hypot_test_data): Likewise.
2897 (pow_test_data): Likewise.
2898 (sinh_test_data): Likewise.
2899 (tanh_test_data): Likewise.
2900 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2901 flags argument.
2902
ca07f197
JM
2903 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2904 tests with quiet NaN input and output.
2905 (acosh_test_data): Likewise.
2906 (asin_test_data): Likewise.
2907 (asinh_test_data): Likewise.
2908 (atan_test_data): Likewise.
2909 (atanh_test_data): Likewise.
2910 (atan2_test_data): Likewise.
2911 (cbrt_test_data): Likewise.
2912 (cos_test_data): Likewise.
2913 (cosh_test_data): Likewise.
2914 (erf_test_data): Likewise.
2915 (erfc_test_data): Likewise.
2916 (exp_test_data): Likewise.
2917 (exp10_test_data): Likewise.
2918 (exp2_test_data): Likewise.
2919 (expm1_test_data): Likewise.
2920 (hypot_test_data): Likewise.
2921 (j0_test_data): Likewise.
2922 (j1_test_data): Likewise.
2923 (jn_test_data): Likewise.
2924 (lgamma_test_data): Likewise.
2925 (log_test_data): Likewise.
2926 (log10_test_data): Likewise.
2927 (log1p_test_data): Likewise.
2928 (log2_test_data): Likewise.
2929 (pow_test_data): Likewise.
2930 (scalb_test_data): Likewise.
2931 (sin_test_data): Likewise.
2932 (sincos_test_data): Likewise.
2933 (sinh_test_data): Likewise.
2934 (tan_test_data): Likewise.
2935 (tanh_test_data): Likewise.
2936 (tgamma_test_data): Likewise.
2937 (y0_test_data): Likewise.
2938 (y1_test_data): Likewise.
2939 (yn_test_data): Likewise.
2940
66294491
JM
2941 [BZ #16167]
2942 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2943 argument being NaN and avoid computations with second argument in
2944 that case.
2945 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2946 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2947 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2948
1820b143
CL
29492013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2950
2951 * locale/iso-639.def: Add Chitwani Tharu (the).
2952
714bd261
AS
29532013-11-14 Andreas Schwab <schwab@suse.de>
2954
2955 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2956 word instead of empty string.
2957
7ab44563
AZ
29582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2961 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2963 (__fe_nomask_env): Likewise.
2964
e8470ea2
SE
29652013-11-13 Steve Ellcey <sellcey@mips.com>
2966
2967 * benchtests/bench-timing.h: Include time.h.
2968
17c1d9f0
L
29692013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 [BZ #15997]
2972 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2973 to 3.4.0 for x32.
2974 * sysdeps/unix/sysv/linux/configure: Regenerated.
2975
9310c284
JM
29762013-11-13 Joseph Myers <joseph@codesourcery.com>
2977
2978 [BZ #16151]
2979 * stdlib/strtod_l.c (round_and_return): Do not consider
2980 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2981 exponent one less than half the least subnormal exponent.
2982 * stdlib/test-strtod-round-data: Add more tests.
2983 * stdlib/tst-strtod-round.c (tests): Regenerated.
2984
7a2ad8cf
AZ
29852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2986
2987 [BZ #14143]
2988 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2989 (__fe_mask_env): Likewise.
2990 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2991 libm_hidden_proto and add function prototype.
2992 (__fe_mask_env): Add function prototype.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2994 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2996 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2998 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2999
50727aa7
MS
30002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3001
b2f386c1 3002 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3003 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3004
a615be46
MS
30052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3006
3007 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3008 of htab_find_slot().
3009
7ddace62
DM
30102013-11-11 David S. Miller <davem@davemloft.net>
3011
3012 [BZ #16150]
3013 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3014 symbol in the non-vis3 case in static builds.
3015 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3016 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3017 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3018 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3019
9182aa67
JK
30202013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3021
3022 [BZ #387]
3023 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3024 it is empty.
3025
450a2e2d
AZ
30262013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3027
b2f386c1
SP
3028 * benchtests/Makefile: Add bench-strtod.
3029 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3030
8ec3f656
AS
30312013-11-11 Andreas Schwab <schwab@suse.de>
3032
3033 [BZ #16153]
3034 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3035 terminating NUL in key length.
3036
76a9b998
AZ
30372013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3038
3039 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3040 Add artificial ODP entry for vDSO symbol for PPC64.
3041 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3042 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3043
e4368156
OB
30442013-11-07 Ondřej Bílka <neleai@seznam.cz>
3045
3046 [BZ #15374]
3047 * nss/getent.c (services_keys): Recognize services starting with digit.
3048
8d6bb57c
DM
30492013-11-06 David S. Miller <davem@davemloft.net>
3050
3051 [BZ #15985]
3052 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3053 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3054
e256c421
WN
30552013-11-06 Will Newton <will.newton@linaro.org>
3056
3057 * manual/memory.texi (Malloc Examples): Remove register
3058 keyword from examples.
3059
f6e12daa 30602013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3061
f6e12daa 3062 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3063
9d880655
AS
30642013-11-04 Joseph Myers <joseph@codesourcery.com>
3065
3066 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3067 depending on [__GCC_IEC_559 > 0].
3068 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3069 depending on [__GCC_IEC_559_COMPLEX > 0].
3070
ae129d3c
CL
30712013-11-03 Chris Leonard <cjl@sugarlabs.org>
3072
3073 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3074 to iso-639.def.
3075
4a15c2a4 30762013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3077
3078 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3079
8b35e35d
OB
30802013-11-01 Ondřej Bílka <neleai@seznam.cz>
3081
3082 [BZ #16112]
3083 * malloc/malloc (malloc_info): Do not handle first bin as
3084 special case.
3085
1d70fd6c
CL
30862013-11-01 Chris Leonard <cjl@sugarlabs.org>
3087
3088 * locale/iso-639.def: Add Central Nahuatl (nhn).
3089
8c5c2600
BH
30902013-11-01 Bruno Haible <bruno@clisp.org>
3091
3092 [BZ #7003]
3093 * manual/math.texi (BSD Random): Specify range upper bound as
3094 in POSIX.
3095
da5579c2
CL
30962013-10-31 Chris Leonard <cjl@sugarlabs.org>
3097
3098 * locale/iso-639.def: Add Meadow Mari (mhr).
3099
5d30d853
OB
31002013-10-31 Ondřej Bílka <neleai@seznam.cz>
3101
3102 [BZ #14752], [BZ #15763]
3103 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3104 Validate name.
3105 * rt/tst_shm.c: Add test for escaping directory.
3106
a4966c61
AS
31072013-10-31 Andreas Schwab <schwab@suse.de>
3108
8a43e768 3109 [BZ #15917]
a4966c61
AS
3110 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3111 followed by 'x' as part of digit sequence.
3112 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3113
28d708c4
MAP
31142013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3115
3116 [BZ #16037]
3117 * configure.ac: allow GNU Make 4.0 and greater.
3118 * configure: Regenerated.
3119
a56ee40b
WN
31202013-10-30 Will Newton <will.newton@linaro.org>
3121
3122 [BZ #16038]
3123 * malloc/hooks.c (memalign_check): Limit alignment to the
3124 maximum representable power of two.
3125 * malloc/malloc.c (__libc_memalign): Likewise.
3126 * malloc/tst-memalign.c (do_test): Add test for very
3127 large alignment values.
3128 * malloc/tst-posix_memalign.c (do_test): Likewise.
3129
c6e4925d
OB
31302013-10-30 Ondřej Bílka <neleai@seznam.cz>
3131
3132 [BZ #11087]
3133 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3134 (munmap_chunk): Likewise.
3135 (mremap_chunk): Likewise.
3136
31372013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3138
8a43e768 3139 [BZ #15799]
bbea82f7
OB
3140 * stdlib/div.c (div): Remove obsolete code.
3141 * stdlib/ldiv.c (ldiv): Likewise.
3142 * stdlib/lldiv.c (lldiv): Likewise.
3143
977f4b31
SP
31442013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3145
3146 [BZ #16071]
3147 * nss/nss_files/files-XXX.c (get_contents_ret): New
3148 enumerator.
3149 (get_contents): New function.
3150 (internal_getent): Use it. Expand size of LINEBUFLEN.
3151
cb8a6dbd
MF
31522013-10-30 Mike Frysinger <vapier@gentoo.org>
3153
3154 * configure.in: Moved to ...
3155 * configure.ac: ... here. Change reference to configure.in
3156 to configure.ac.
3157 * sysdeps/arm/preconfigure.ac: ... here.
3158 configure.in to configure.ac.
3159 * sysdeps/gnu/configure.in: Moved to ...
3160 * sysdeps/gnu/configure.ac: ... here.
3161 * sysdeps/i386/configure.in: Moved to ...
3162 * sysdeps/i386/configure.ac: ... here.
3163 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3164 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3165 * sysdeps/mach/configure.in: Moved to ...
3166 * sysdeps/mach/configure.ac: ... here.
3167 * sysdeps/mach/hurd/configure.in: Moved to ...
3168 * sysdeps/mach/hurd/configure.ac: ... here.
3169 * sysdeps/powerpc/configure.in: Moved to ...
3170 * sysdeps/powerpc/configure.ac: ... here.
3171 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3172 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3173 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3174 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3175 * sysdeps/s390/s390-32/configure.in: Moved to ...
3176 * sysdeps/s390/s390-32/configure.ac: ... here.
3177 * sysdeps/s390/s390-64/configure.in: Moved to ...
3178 * sysdeps/s390/s390-64/configure.ac: ... here.
3179 * sysdeps/sh/configure.in: Moved to ...
3180 * sysdeps/sh/configure.ac: ... here.
3181 * sysdeps/sparc/configure.in: Moved to ...
3182 * sysdeps/sparc/configure.ac: ... here.
3183 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3184 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3185 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3186 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3187 * sysdeps/x86_64/configure.in: Moved to ...
3188 * sysdeps/x86_64/configure.ac: ... here.
3189 * sysdeps/x86_64/preconfigure.in: Moved to ...
3190 * sysdeps/x86_64/preconfigure.ac: ... here.
3191 * aclocal.m4: Change reference to configure.in to configure.ac.
3192 * config.h.in: Likewise.
3193 * manual/install.texi: Likewise.
3194 * manual/maint.texi: Likewise.
3195 * Makefile: Likewise.
3196 * malloc/Makefile: Likewise.
3197 * nscd/Makefile: Likewise.
3198 * Makeconfig: Change reference to configure.in and
3199 preconfigure.in to configure.ac and preconfigure.ac
3200 respectively.
3201 * INSTALL: Regenerated.
3202 * configure: Likewise.
3203 * sysdeps/gnu/configure: Likewise.
3204 * sysdeps/i386/configure: Likewise.
3205 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3206 * sysdeps/mach/configure: Likewise.
3207 * sysdeps/mach/hurd/configure: Likewise.
3208 * sysdeps/powerpc/configure: Likewise.
3209 * sysdeps/powerpc/powerpc32/configure: Likewise.
3210 * sysdeps/powerpc/powerpc64/configure: Likewise.
3211 * sysdeps/s390/s390-32/configure: Likewise.
3212 * sysdeps/s390/s390-64/configure: Likewise.
3213 * sysdeps/sh/configure: Likewise.
3214 * sysdeps/sparc/configure: Likewise.
3215 * sysdeps/unix/sysv/linux/configure: Likewise.
3216 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3217 * sysdeps/x86_64/configure: Likewise.
3218 * sysdeps/x86_64/preconfigure: Likewise.
3219
36a4953a
AS
32202013-10-29 Andreas Schwab <schwab@suse.de>
3221
3222 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3223
c79a1204
SP
32242013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3225
dfa1b402
SP
3226 * benchtests/pow-inputs: Add new inputs.
3227
54f73d9c
SP
3228 * benchtests/exp-inputs: Add new inputs.
3229
c79a1204
SP
3230 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3231 conditional check for return value.
3232 (__cos32): Likewise.
3233
67beb545 32342013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3235
3236 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3237 to provide a boost for large inputs with word alignment.
3238 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3239 implementation based on optimized PPC64 strcpy.
3240 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3241 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3242 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3243 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3244
151659f6
OB
32452013-10-25 Ondřej Bílka <neleai@seznam.cz>
3246
482a077e 3247 [BZ #2801]
151659f6
OB
3248 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3249
10b0f26b
OB
32502013-10-25 Ondřej Bílka <neleai@seznam.cz>
3251
3252 [BZ #14876]
3253 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3254 * time/tst-strptime.c (day_tests): Add testcase.
3255
ca42d35e
OB
32562013-10-25 Ondřej Bílka <neleai@seznam.cz>
3257
482a077e 3258 [BZ #14029]
ca42d35e
OB
3259 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3260
52e6d801
FB
32612013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3262
3263 [BZ #16074]
3264 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3265 MAP_FAILED on error.
3266
7cbcdb36
SP
32672013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3268
3269 [BZ #16072]
3270 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3271 heap for large requests.
3272
894f3f10
AM
32732013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3274
3275 [BZ #9954]
3276 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3277 result if the result has no associated interface.
3278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3279 interface for all 127.X.Y.Z addresses.
3280
b85545a6
CL
32812013-10-24 Chris Leonard <cjl@sugarlabs.org>
3282
3283 * locale/iso-639.def: Add Ligurian (lij)
3284
d1f23d46
OB
32852013-10-21 Ondřej Bílka <neleai@seznam.cz>
3286
3287 [BZ #15825]
3288 * sunrpc/rpc_main.c: Document rpcgen -5.
3289
4db5b08f
MS
32902013-10-19 Michael Stahl <mstahl@redhat.com>
3291
3292 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3293
a471e96a
OB
32942013-10-19 Ondřej Bílka <neleai@seznam.cz>
3295
d1f23d46 3296 [BZ #10278]
a471e96a
OB
3297 * posix/glob.c: Match only directories when trailing slash is present.
3298 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3299 (main): Add testcase.
3300
45c30c61
OB
33012013-10-19 Ondřej Bílka <neleai@seznam.cz>
3302
3303 [BZ #15670]
3304 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3305
484c12fb
CD
33062013-10-18 Carlos O'Donell <carlos@redhat.com>
3307
3d7dc513
CD
3308 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3309 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3310 AUTH_DES and cindex for FIPS 140-2.
3311 (DES Encryption): Add cindex FIPS 46-3.
3312
484c12fb
CD
3313 * locale/locarchive.h (struct locarhandle): Add fname.
3314 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3315 if an optional argument was specified to --list-archive,
3316 otherwise NULL.
3317 * locale/programs/locarchive.c (show_archive_content): Take new
3318 argument fname and pass it via ah.fname to open_archive.
3319 * locale/programs/localedef.h: Update decl.
3320 (open_archive): If AH->fname is non-null, open that file
3321 rather than the default file name, and don't ignore ENOENT.
3322 (create_archive): Set AH.fname to NULL.
3323 (delete_locales_from_archive): Likewise.
3324 (add_locales_to_archive): Likewise.
3325 * locale/programs/locfile.c (write_all_categories): Likewise.
3326
3c8325fb
JM
33272013-10-18 Joseph Myers <joseph@codesourcery.com>
3328 Aldy Hernandez <aldyh@redhat.com>
3329
3330 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3331 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3332 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3333 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3334 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3335 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3336 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3337 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3338 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3339 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3340 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3341 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3342 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3343 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3344 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3345 Likewise.
3346 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3347 Likewise.
3348 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3349 Likewise.
3350 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3351 Likewise.
3352 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3353 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3354 Likewise.
3355 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3356 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3357 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3358 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3359 Likewise.
3360 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3361 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3362 * sysdeps/powerpc/preconfigure: Likewise.
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3364 Likewise.
3365 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3366 Replace contents of file by #include of <fenv_libc.h>.
3367 * sysdeps/powerpc/soft-fp/sfp-machine.h
3368 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3369 and <sys/prctl.h>.
3370 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3371 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3372 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3373 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3374 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3375 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3377 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3378 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3379 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3380 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3381 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3383 Allow copysignl PLT reference to be missing.
3384
5abe0682
RS
33852013-10-18 Richard Sandiford <richard@codesourcery.com>
3386 Joseph Myers <joseph@codesourcery.com
3387
3388 [BZ #15948]
3389 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3390 single character.
3391 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3392
c7738d08
SP
33932013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3394
3395 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3396 * elf/tst-tls1.c: Likewise.
3397 * elf/tst-tls10.h: Likewise.
3398 * elf/tst-tls14.c: Likewise.
3399 * elf/tst-tls2.c: Likewise.
3400 * elf/tst-tls3.c: Likewise.
3401 * elf/tst-tls4.c: Likewise.
3402 * elf/tst-tls5.c: Likewise.
3403 * elf/tst-tls6.c: Likewise.
3404 * elf/tst-tls7.c: Likewise.
3405 * elf/tst-tls8.c: Likewise.
3406 * elf/tst-tls9.c: Likewise.
3407 * elf/tst-tlsmod1.c: Likewise.
3408 * elf/tst-tlsmod13.c: Likewise.
3409 * elf/tst-tlsmod13a.c: Likewise.
3410 * elf/tst-tlsmod14a.c: Likewise.
3411 * elf/tst-tlsmod16a.c: Likewise.
3412 * elf/tst-tlsmod16b.c: Likewise.
3413 * elf/tst-tlsmod2.c: Likewise.
3414 * elf/tst-tlsmod3.c: Likewise.
3415 * elf/tst-tlsmod4.c: Likewise.
3416 * elf/tst-tlsmod5.c: Likewise.
3417 * elf/tst-tlsmod6.c: Likewise.
3418
0bfcf2c7
OB
34192013-10-18 Ondřej Bílka <neleai@seznam.cz>
3420
3421 [BZ #12486]
3422 * malloc/malloc.c: remove checks for statistics.
3423
264aad1e
OB
34242013-10-17 Ondřej Bílka <neleai@seznam.cz>
3425
3426 [BZ #15277]
3427 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3428 * inet/tst-network.c: Add testcase.
3429
b957ced8
AS
34302013-10-17 Andreas Schwab <schwab@suse.de>
3431
3432 [BZ #15218]
3433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3434 to determine canonical name.
3435
c5d5d574
OB
34362013-10-17 Ondřej Bílka <neleai@seznam.cz>
3437
3438 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3439 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3441 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3443 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3444 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3445 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3446 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3447 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3448 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3449 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3450 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3451 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3453 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3455 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3457 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3458 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3461 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3462 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3463 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3464 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3465 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3466 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3467 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3470 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3471 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3472 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3473 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3475 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3476 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3481 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3482 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3483 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3484 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3485 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3486 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3487 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3488 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3489 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3490 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3491 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3492 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3493 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3495 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3496
e5c2c2d0
JM
34972013-10-17 Joseph Myers <joseph@codesourcery.com>
3498
3499 [BZ #16041]
3500 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3501 make result into a quiet NaN.
3502
51ca9e29
JM
35032013-10-16 Joseph Myers <joseph@codesourcery.com>
3504
3505 * soft-fp/adddf3.c: Fix horizontal whitespace.
3506 * soft-fp/addsf3.c: Likewise.
3507 * soft-fp/addtf3.c: Likewise.
3508 * soft-fp/divdf3.c: Likewise.
3509 * soft-fp/divsf3.c: Likewise.
3510 * soft-fp/divtf3.c: Likewise.
3511 * soft-fp/double.h: Likewise.
3512 * soft-fp/eqdf2.c: Likewise.
3513 * soft-fp/eqsf2.c: Likewise.
3514 * soft-fp/eqtf2.c: Likewise.
3515 * soft-fp/extenddftf2.c: Likewise.
3516 * soft-fp/extended.h: Likewise.
3517 * soft-fp/extendsfdf2.c: Likewise.
3518 * soft-fp/extendsftf2.c: Likewise.
3519 * soft-fp/extendxftf2.c: Likewise.
3520 * soft-fp/fixdfdi.c: Likewise.
3521 * soft-fp/fixdfsi.c: Likewise.
3522 * soft-fp/fixdfti.c: Likewise.
3523 * soft-fp/fixsfdi.c: Likewise.
3524 * soft-fp/fixsfsi.c: Likewise.
3525 * soft-fp/fixsfti.c: Likewise.
3526 * soft-fp/fixtfdi.c: Likewise.
3527 * soft-fp/fixtfsi.c: Likewise.
3528 * soft-fp/fixtfti.c: Likewise.
3529 * soft-fp/fixunsdfdi.c: Likewise.
3530 * soft-fp/fixunsdfsi.c: Likewise.
3531 * soft-fp/fixunsdfti.c: Likewise.
3532 * soft-fp/fixunssfdi.c: Likewise.
3533 * soft-fp/fixunssfsi.c: Likewise.
3534 * soft-fp/fixunssfti.c: Likewise.
3535 * soft-fp/fixunstfdi.c: Likewise.
3536 * soft-fp/fixunstfsi.c: Likewise.
3537 * soft-fp/fixunstfti.c: Likewise.
3538 * soft-fp/floatdidf.c: Likewise.
3539 * soft-fp/floatdisf.c: Likewise.
3540 * soft-fp/floatditf.c: Likewise.
3541 * soft-fp/floatsidf.c: Likewise.
3542 * soft-fp/floatsisf.c: Likewise.
3543 * soft-fp/floatsitf.c: Likewise.
3544 * soft-fp/floattidf.c: Likewise.
3545 * soft-fp/floattisf.c: Likewise.
3546 * soft-fp/floattitf.c: Likewise.
3547 * soft-fp/floatundidf.c: Likewise.
3548 * soft-fp/floatundisf.c: Likewise.
3549 * soft-fp/floatunditf.c: Likewise.
3550 * soft-fp/floatunsidf.c: Likewise.
3551 * soft-fp/floatunsisf.c: Likewise.
3552 * soft-fp/floatunsitf.c: Likewise.
3553 * soft-fp/floatuntidf.c: Likewise.
3554 * soft-fp/floatuntisf.c: Likewise.
3555 * soft-fp/floatuntitf.c: Likewise.
3556 * soft-fp/fmadf4.c: Likewise.
3557 * soft-fp/fmasf4.c: Likewise.
3558 * soft-fp/fmatf4.c: Likewise.
3559 * soft-fp/gedf2.c: Likewise.
3560 * soft-fp/gesf2.c: Likewise.
3561 * soft-fp/getf2.c: Likewise.
3562 * soft-fp/ledf2.c: Likewise.
3563 * soft-fp/lesf2.c: Likewise.
3564 * soft-fp/letf2.c: Likewise.
3565 * soft-fp/muldf3.c: Likewise.
3566 * soft-fp/mulsf3.c: Likewise.
3567 * soft-fp/multf3.c: Likewise.
3568 * soft-fp/negdf2.c: Likewise.
3569 * soft-fp/negsf2.c: Likewise.
3570 * soft-fp/negtf2.c: Likewise.
3571 * soft-fp/op-1.h: Likewise.
3572 * soft-fp/op-2.h: Likewise.
3573 * soft-fp/op-4.h: Likewise.
3574 * soft-fp/op-8.h: Likewise.
3575 * soft-fp/op-common.h: Likewise.
3576 * soft-fp/quad.h: Likewise.
3577 * soft-fp/single.h: Likewise.
3578 * soft-fp/soft-fp.h: Likewise.
3579 * soft-fp/sqrtdf2.c: Likewise.
3580 * soft-fp/sqrtsf2.c: Likewise.
3581 * soft-fp/sqrttf2.c: Likewise.
3582 * soft-fp/subdf3.c: Likewise.
3583 * soft-fp/subsf3.c: Likewise.
3584 * soft-fp/subtf3.c: Likewise.
3585 * soft-fp/truncdfsf2.c: Likewise.
3586 * soft-fp/trunctfdf2.c: Likewise.
3587 * soft-fp/trunctfsf2.c: Likewise.
3588 * soft-fp/trunctfxf2.c: Likewise.
3589 * soft-fp/unorddf2.c: Likewise.
3590 * soft-fp/unordsf2.c: Likewise.
3591 * soft-fp/unordtf2.c: Likewise.
3592
9ebb0332
JM
35932013-10-15 Joseph Myers <joseph@codesourcery.com>
3594
3595 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3596 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3597
4b1a6d8b
OB
35982013-10-15 Ondřej Bílka <neleai@seznam.cz>
3599
3600 * elf/dl-libc.c: Clear initfini list after freeing.
3601
1e145589
JM
36022013-10-14 Joseph Myers <joseph@codesourcery.com>
3603
3604 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3605 * soft-fp/addsf3.c: Likewise.
3606 * soft-fp/addtf3.c: Likewise.
3607 * soft-fp/divdf3.c: Likewise.
3608 * soft-fp/divsf3.c: Likewise.
3609 * soft-fp/divtf3.c: Likewise.
3610 * soft-fp/double.h: Likewise.
3611 * soft-fp/eqdf2.c: Likewise.
3612 * soft-fp/eqsf2.c: Likewise.
3613 * soft-fp/eqtf2.c: Likewise.
3614 * soft-fp/extenddftf2.c: Likewise.
3615 * soft-fp/extended.h: Likewise.
3616 * soft-fp/extendsfdf2.c: Likewise.
3617 * soft-fp/extendsftf2.c: Likewise.
3618 * soft-fp/extendxftf2.c: Likewise.
3619 * soft-fp/fixdfdi.c: Likewise.
3620 * soft-fp/fixdfsi.c: Likewise.
3621 * soft-fp/fixdfti.c: Likewise.
3622 * soft-fp/fixsfdi.c: Likewise.
3623 * soft-fp/fixsfsi.c: Likewise.
3624 * soft-fp/fixsfti.c: Likewise.
3625 * soft-fp/fixtfdi.c: Likewise.
3626 * soft-fp/fixtfsi.c: Likewise.
3627 * soft-fp/fixtfti.c: Likewise.
3628 * soft-fp/fixunsdfdi.c: Likewise.
3629 * soft-fp/fixunsdfsi.c: Likewise.
3630 * soft-fp/fixunsdfti.c: Likewise.
3631 * soft-fp/fixunssfdi.c: Likewise.
3632 * soft-fp/fixunssfsi.c: Likewise.
3633 * soft-fp/fixunssfti.c: Likewise.
3634 * soft-fp/fixunstfdi.c: Likewise.
3635 * soft-fp/fixunstfsi.c: Likewise.
3636 * soft-fp/fixunstfti.c: Likewise.
3637 * soft-fp/floatdidf.c: Likewise.
3638 * soft-fp/floatdisf.c: Likewise.
3639 * soft-fp/floatditf.c: Likewise.
3640 * soft-fp/floatsidf.c: Likewise.
3641 * soft-fp/floatsisf.c: Likewise.
3642 * soft-fp/floatsitf.c: Likewise.
3643 * soft-fp/floattidf.c: Likewise.
3644 * soft-fp/floattisf.c: Likewise.
3645 * soft-fp/floattitf.c: Likewise.
3646 * soft-fp/floatundidf.c: Likewise.
3647 * soft-fp/floatundisf.c: Likewise.
3648 * soft-fp/floatunsidf.c: Likewise.
3649 * soft-fp/floatunsisf.c: Likewise.
3650 * soft-fp/floatuntidf.c: Likewise.
3651 * soft-fp/floatuntisf.c: Likewise.
3652 * soft-fp/floatuntitf.c: Likewise.
3653 * soft-fp/fmadf4.c: Likewise.
3654 * soft-fp/fmasf4.c: Likewise.
3655 * soft-fp/fmatf4.c: Likewise.
3656 * soft-fp/gedf2.c: Likewise.
3657 * soft-fp/gesf2.c: Likewise.
3658 * soft-fp/getf2.c: Likewise.
3659 * soft-fp/ledf2.c: Likewise.
3660 * soft-fp/lesf2.c: Likewise.
3661 * soft-fp/letf2.c: Likewise.
3662 * soft-fp/muldf3.c: Likewise.
3663 * soft-fp/mulsf3.c: Likewise.
3664 * soft-fp/multf3.c: Likewise.
3665 * soft-fp/negdf2.c: Likewise.
3666 * soft-fp/negsf2.c: Likewise.
3667 * soft-fp/negtf2.c: Likewise.
3668 * soft-fp/op-1.h: Likewise.
3669 * soft-fp/op-2.h: Likewise.
3670 * soft-fp/op-4.h: Likewise.
3671 * soft-fp/op-8.h: Likewise.
3672 * soft-fp/op-common.h: Likewise.
3673 * soft-fp/quad.h: Likewise.
3674 * soft-fp/single.h: Likewise.
3675 * soft-fp/soft-fp.h: Likewise.
3676 * soft-fp/sqrtdf2.c: Likewise.
3677 * soft-fp/sqrtsf2.c: Likewise.
3678 * soft-fp/sqrttf2.c: Likewise.
3679 * soft-fp/subdf3.c: Likewise.
3680 * soft-fp/subsf3.c: Likewise.
3681 * soft-fp/subtf3.c: Likewise.
3682 * soft-fp/truncdfsf2.c: Likewise.
3683 * soft-fp/trunctfdf2.c: Likewise.
3684 * soft-fp/trunctfsf2.c: Likewise.
3685 * soft-fp/trunctfxf2.c: Likewise.
3686 * soft-fp/unorddf2.c: Likewise.
3687 * soft-fp/unordsf2.c: Likewise.
3688 * soft-fp/unordtf2.c: Likewise.
3689
17c48a60
OB
36902013-10-14 Ondřej Bílka <neleai@seznam.cz>
3691
3692 [BZ #15672]
3693 * misc/error.c (error_tail): Fix possible buffer overflow.
3694
cabba934
OB
36952013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3696
3697 [BZ #13028]
3698 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3699 address.
3700
94bf958a
PM
37012013-10-14 P. J. McDermott <pj@pehjota.net>
3702
3703 [BZ #832]
3704 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3705 testing pipefail option.
3706
71b4dea7
JM
37072013-10-12 Joseph Myers <joseph@codesourcery.com>
3708
3709 * soft-fp/double.h: Indent preprocessor directives inside #if.
3710 * soft-fp/extended.h: Likewise.
3711 * soft-fp/op-2.h: Likewise.
3712 * soft-fp/op-4.h: Likewise.
3713 * soft-fp/op-common.h: Likewise.
3714 * soft-fp/quad.h: Likewise.
3715 * soft-fp/single.h: Likewise.
3716 * soft-fp/soft-fp.h: Likewise.
3717
55602758
YC
37182013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3719
3720 * iconv/iconv_prog.c: Fix typos.
3721 * stdio-common/psiginfo-data.h: Likewise.
3722
9cd83302
RT
37232013-10-12 Reuben Thomas <rrt@sc3d.org>
3724
3725 [BZ #15764]
3726 * locale/setlocale.c: Fix typo.
3727
99fd9f47
JM
37282013-10-12 Joseph Myers <joseph@codesourcery.com>
3729
b7ea74f0
JM
3730 [BZ #16036]
3731 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3732 signaling NaN arguments.
3733 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3734 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3735
8a509447
JM
3736 [BZ #14910]
3737 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3738 unordered operands.
3739 * soft-fp/gesf2.c (__gesf2): Likewise.
3740 * soft-fp/getf2.c (__getf2): Likewise.
3741 * soft-fp/ledf2.c (__ledf2): Likewise.
3742 * soft-fp/lesf2.c (__lesf2): Likewise.
3743 * soft-fp/letf2.c (__letf2): Likewise.
3744
98998e9f
JM
3745 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3746 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3747 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3748 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3749 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3750 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3751 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3752 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3753 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3754 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3755 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3756 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3757 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3758 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3759 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3760 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3761 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3762 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3763 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3764 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3765 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3766 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3767 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3768 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3769 * soft-fp/floattidf.c (__floattidf): Likewise.
3770 * soft-fp/floattisf.c (__floattisf): Likewise.
3771 * soft-fp/floattitf.c (__floattitf): Likewise.
3772 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3773 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3774 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3775 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3776 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3777 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3778 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3779 * soft-fp/gesf2.c (__gesf2): Likewise.
3780 * soft-fp/getf2.c (__getf2): Likewise.
3781 * soft-fp/ledf2.c (__ledf2): Likewise.
3782 * soft-fp/lesf2.c (__lesf2): Likewise.
3783 * soft-fp/letf2.c (__letf2): Likewise.
3784
8edc4a11
JM
3785 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3786 Undefine and redefine.
3787 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3788 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3789 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3790 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3791 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3792 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3793 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3794 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3795 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3796 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3797 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3798 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3799 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3800 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3801 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3802
8399acaf
JM
3803 [BZ #16032]
3804 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3805 without decrementing exponent if mantissa >= that for the
3806 denominator, not >.
3807 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3808 denominator, not >. Decrement exponent in < case instead of
3809 incrementing in >= case.
3810 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3811 without decrementing exponent if mantissa >= that for the
3812 denominator, not >.
3813
99fd9f47
JM
3814 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3815 computing saturated result for unsigned overflow.
3816
10e1cf6b
SP
38172013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3818 Jeff Law <law@redhat.com>
3819
3820 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3821 (atan2Mp): Add systemtap probe marker.
3822 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3823 (__ieee754_log): Add systemtap probe marker.
3824 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3825 (atanMp): Add systemtap probe marker.
3826 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3827 (tanMp): Add systemtap probe marker.
3828 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3829 (__slowexp): Add systemtap probe marker.
3830 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3831 (__slowpow): Add systemtap probe marker.
3832 * manual/probes.texi: Document probes.
3833
3d110c7c
EB
38342013-10-11 Eric Biggers <ebiggers3@gmail.com>
3835
3836 [BZ #15362]
3837 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3838 written.
3839 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3840 written.
3841 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3842 written to buffer but not flushed.
3843 * libio/iofwrite_u.c: Likewise.
3844 * libio/iopadn.c: Return bytes returned even if EOF was
3845 encountered.
3846 * libio/iowpadn.c: Likewise.
3847 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3848 if _IO_padn does not write the whole buffer.
3849 [!COMPILE_WPRINTF] (PAD): Likewise.
3850
75b4202a
DM
38512013-10-10 David S. Miller <davem@davemloft.net>
3852
3853 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3854 directory block.
3855
6c6352e6
JM
38562013-10-10 Joseph Myers <joseph@codesourcery.com>
3857
33b853c3
JM
3858 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3859 instead of FSF address.
3860 * soft-fp/fixdfti.c: Likewise.
3861 * soft-fp/fixsfti.c: Likewise.
3862 * soft-fp/fixtfti.c: Likewise.
3863 * soft-fp/fixunsdfti.c: Likewise.
3864 * soft-fp/fixunssfti.c: Likewise.
3865 * soft-fp/fixunstfti.c: Likewise.
3866 * soft-fp/floattidf.c: Likewise.
3867 * soft-fp/floattisf.c: Likewise.
3868 * soft-fp/floattitf.c: Likewise.
3869 * soft-fp/floatuntidf.c: Likewise.
3870 * soft-fp/floatuntisf.c: Likewise.
3871 * soft-fp/floatuntitf.c: Likewise.
3872 * soft-fp/trunctfxf2.c: Likewise.
3873
6c6352e6
JM
3874 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3875 * soft-fp/fixdfti.c: Likewise.
3876 * soft-fp/fixsfti.c: Likewise.
3877 * soft-fp/fixtfti.c: Likewise.
3878 * soft-fp/fixunsdfti.c: Likewise.
3879 * soft-fp/fixunssfti.c: Likewise.
3880 * soft-fp/fixunstfti.c: Likewise.
3881 * soft-fp/floattidf.c: Likewise.
3882 * soft-fp/floattisf.c: Likewise.
3883 * soft-fp/floattitf.c: Likewise.
3884 * soft-fp/floatuntidf.c: Likewise.
3885 * soft-fp/floatuntisf.c: Likewise.
3886 * soft-fp/floatuntitf.c: Likewise.
3887 * soft-fp/trunctfxf2.c: Likewise.
3888
3bf78b71
DM
38892013-10-10 David S. Miller <davem@davemloft.net>
3890
3891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3892
6f10289e
JM
38932013-10-10 Joseph Myers <joseph@codsourcery.com>
3894
bd878fc0
JM
3895 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3896 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3897 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3898 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3899 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3900 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3901 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3902
6f10289e
JM
3903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3904 for NaNs before doing comparisons on argument.
3905 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3906 Likewise.
3907
321e2684
WN
39082013-10-10 Will Newton <will.newton@linaro.org>
3909
3910 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3911 passed to _int_memalign does not overflow.
3912
40fefba1
TR
39132013-10-10 Torvald Riegel <triegel@redhat.com>
3914
3915 * scripts/bench.pl: Add include-sources directive.
3916 * benchtests/README: Update documentation.
3917
2ae21ed2
JM
39182013-10-10 Joseph Myers <joseph@codesourcery.com>
3919
dcc2dd3f
JM
3920 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3921 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3922 instead of FP_INIT_ROUNDMODE.
3923 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3924 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3925
2ae21ed2
JM
3926 [BZ #16034]
3927 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3928 copy class of input value.
3929 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3930 not handle exceptions.
3931 * soft-fp/negsf2.c (__negsf2): Likewise.
3932 * soft-fp/negtf2.c (__negtf2): Likewise.
3933 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3934
cb8f9562
JM
39352013-10-09 Joseph Myers <joseph@codesourcery.com>
3936
3937 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3938 semicolon. From Linux kernel.
3939
5b60c59d
AB
39402013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3941
3942 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3943
b86835ca
YC
39442013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3945
3946 [BZ #156]
3947 * manual/socket.texi: Added statement about buffer
3948 for gethostbyname2_r.
3949
e7044ea7
OB
39502013-10-08 Ondřej Bílka <neleai@seznam.cz>
3951
3952 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3953 Use .p2align directive instead, throughout.
3954 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3955 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3956 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3959 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3960 * sysdeps/x86_64/strchr.S: Likewise.
3961 * sysdeps/x86_64/strrchr.S: Likewise.
3962
09544cbc
SP
39632013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3964
88576635
SP
3965 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3966
e7b2d1dd
SP
3967 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3968
09544cbc
SP
3969 * sysdeps/generic/math_private.h (__mpsin1): Remove
3970 declaration.
3971 (__mpcos1): Likewise.
3972 (__mpsin): New argument __range_reduce.
3973 (__mpcos): Likewise.
3974 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3975 (slow): Use __mpsin and __mpcos.
3976 (slow1): Likewise.
3977 (slow2): Likewise.
3978 (sloww): Likewise.
3979 (sloww1): Likewise.
3980 (sloww2): Likewise.
3981 (bsloww): Likewise.
3982 (bsloww1): Likewise.
3983 (bsloww2): Likewise.
3984 (cslow2): Likewise.
3985 (csloww): Likewise.
3986 (csloww1): Likewise.
3987 (csloww2): Likewise.
3988 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3989 range_reduce. Merge in __mpsin1.
3990 (__mpcos): Likewise.
3991 (__mpsin1): Remove.
3992 (__mpcos1): Likewise.
3993
7602d070
JM
39942013-10-07 Joseph Myers <joseph@codesourcery.com>
3995
3996 * locale/loadlocale.c (_nl_intern_locale_data): Use
3997 LOCFILE_ALIGNED_P.
3998 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3999 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4000 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4001 obstack data is appropriately aligned.
4002 (obstack_int32_grow_fast): Likewise.
4003 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4004 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4005 (add_locale_uint32_array): Likewise.
4006
a357259b
SP
40072013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4008
4009 * benchtests/Makefile: Remove ARGLIST and RET variables.
4010 ($(objpfx)bench-%.c): Pass only function name to the script.
4011 * benchtests/README: Update documentation.
4012 * benchtests/acos-inputs: Add new directives.
4013 * benchtests/acosh-inputs: Likewise.
4014 * benchtests/asin-inputs: Likewise.
4015 * benchtests/asinh-inputs: Likewise.
4016 * benchtests/atan-inputs: Likewise.
4017 * benchtests/atanh-inputs: Likewise.
4018 * benchtests/cos-inputs: Likewise.
4019 * benchtests/cosh-inputs: Likewise.
4020 * benchtests/exp-inputs: Likewise.
4021 * benchtests/log-inputs: Likewise.
4022 * benchtests/pow-inputs: Likewise.
4023 * benchtests/rint-inputs: Likewise.
4024 * benchtests/sin-inputs: Likewise.
4025 * benchtests/sinh-inputs: Likewise.
4026 * benchtests/tan-inputs: Likewise.
4027 * benchtests/tanh-inputs: Likewise.
4028 * scripts/bench.pl: Add support for new directives.
4029
9ec1b13d
AM
40302013-10-07 Alan Modra <amodra@gmail.com>
4031
4032 * README: Fix careless merge.
4033
8b7d57cd
AM
40342013-10-05 Alan Modra <amodra@gmail.com>
4035
4036 * NEWS: Mention powerpc64le support and bugs fixed.
4037 * README: Both big-endian and little-endian powerpc64 supported.
4038
7b7bab13
ST
40392013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4040
4041 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4042 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4043 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4044 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4045
d39baad1
RA
40462013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4047
4048 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4049 match prototype.
4050
cd78f7e7
JM
40512013-10-04 Joseph Myers <joseph@codesourcery.com>
4052
29d73d86
JM
4053 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4054 Move -mhard-float appending from
4055 ports/sysdeps/powerpc/powerpc32/Makefile.
4056 [$(with-fp) = yes] (ASFLAGS): Likewise.
4057 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4058 * sysdeps/powerpc/nofpu: Move directory from
4059 ports/sysdeps/powerpc/nofpu.
4060 * sysdeps/powerpc/soft-fp: Move directory from
4061 ports/sysdeps/powerpc/soft-fp.
4062 * sysdeps/powerpc/powerpc32/405: Move directory from
4063 ports/sysdeps/powerpc/powerpc32/405.
4064 * sysdeps/powerpc/powerpc32/440: Move directory from
4065 ports/sysdeps/powerpc/powerpc32/440.
4066 * sysdeps/powerpc/powerpc32/464: Move directory from
4067 ports/sysdeps/powerpc/powerpc32/464.
4068 * sysdeps/powerpc/powerpc32/476: Move directory from
4069 ports/sysdeps/powerpc/powerpc32/476.
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4071 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4073 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4075 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4077 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4079 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4080 * README: Update for powerpc-*-linux-gnu software floating point
4081 support in libc.
4082
e246b347
JM
4083 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4084 case to powerpc/powerpc32*.
4085 * sysdeps/unix/sysv/linux/configure: Regenerated.
4086
89c2003e
JM
4087 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4088 (_FPU_MASK_OM): Define as 0x04.
4089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4091 0x00c10080.
4092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4093 0x0000003c.
4094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4095
cd78f7e7
JM
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4097 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4098 getcontext_e500.
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4100 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4101 setcontext_e500.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4103 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4104 and setcontext_e500.
4105
c755294d
CL
41062013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4107
4108 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4109
e16d221c
SP
41102013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4111
4112 * manual/threads.texi (Default Thread Attributes): Fix typo.
4113
215c7d43
WN
41142013-10-04 Will Newton <will.newton@linaro.org>
4115
4116 * malloc/Makefile: Add tst-memalign.
4117 * malloc/tst-memalign.c: New file.
4118
27d0461b
WN
4119 * malloc/tst-posix_memalign.c: Add comments.
4120 (do_test): Add comments and call free on all potentially
4121 allocated pointers. Add space after cast.
4122
1bc92709
WN
4123 * malloc/tst-pvalloc.c: Add comments.
4124 (do_test): Add comments and call free on all potentially
4125 allocated pointers. Remove duplicate check for NULL pointer.
4126 Add space after cast.
4127
66a9be9d
WN
4128 * malloc/tst-valloc.c: Add comments.
4129 (do_test): Add comments and call free on all potentially
4130 allocated pointers. Remove duplicate check for NULL pointer.
4131 Add space after cast.
4132
4cb81307
AM
41332013-10-04 Alan Modra <amodra@gmail.com>
4134
4135 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4136 Use stdint types in rather than __attribute__((mode())).
4137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4138
f8e3e9f3
AM
41392013-10-04 Alan Modra <amodra@gmail.com>
4140
4141 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4142 Correct handling of unaligned relocs for little-endian.
4143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4144
8f9ebb08
AM
41452013-10-04 Alan Modra <amodra@gmail.com>
4146
4147 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4148 * configure: Regenerate.
4149 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4150 * shlib-versions: Likewise.
4151
0edf96c2
AM
41522013-10-04 Alan Modra <amodra@gmail.com>
4153
4154 * string/tester.c (test_memrchr): Increment reported test cycle.
4155
e0f7a380
AM
41562013-10-04 Alan Modra <amodra@gmail.com>
4157
4158 * string/test-memcpy.c (do_one_test): When reporting errors, print
4159 string address and don't overrun end of string.
4160
466b0393
AM
41612013-10-04 Alan Modra <amodra@gmail.com>
4162
4163 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4164 insrdi. Make better use of reg selection to speed exit slightly.
4165 Schedule entry path a little better. Remove useless "are we done"
4166 checks on entry to main loop. Handle wrapping around zero address.
4167 Correct main loop count. Handle single left-over word from main
4168 loop inline rather than by using loop_small. Remove extra word
4169 case in loop_small caused by wrong loop count. Add little-endian
4170 support.
4171 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4172 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4173 cache hint.
4174 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4176 support. Avoid rlwimi.
4177 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4178
3be87c77
AM
41792013-10-04 Alan Modra <amodra@gmail.com>
4180
4181 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4182 insrdi. Formatting.
3be87c77
AM
4183 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4184 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4185 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4186 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4187 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4188 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4189
759cfef3
AM
41902013-10-04 Alan Modra <amodra@gmail.com>
4191
4192 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4193 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4195 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4196 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4197 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4198 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4199 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4200 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4201 use of regs. Use power7 mtocrf. Tidy function tails.
4202
fe6e95d7
AM
42032013-10-04 Alan Modra <amodra@gmail.com>
4204
4205 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4206 Formatting. Consistently use rXXX register defines or rN defines.
4207 Use early exit labels that avoid restoring unused non-volatile regs.
4208 Make cr field use more consistent with rWORDn compares. Rename
4209 regs used as shift registers for unaligned loop, using rN defines
4210 for short lifetime/multiple use regs.
4211 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4212 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4213 addi 1,1,64 to pop stack frame. Simplify return value code.
4214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4215
664318c3
AM
42162013-10-04 Alan Modra <amodra@gmail.com>
4217
4218 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4219 support. Correct typos, formatting. Optimize tail. Use insrdi
4220 rather than rlwimi.
4221 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4222 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4223 little-endian support. Correct typos.
4224 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4225 rather than rlwimi.
4226 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4227 in loop and entry code to keep "and." results.
4228 (strchr): Add little-endian support. Comment. Move cntlzd
4229 earlier in tail.
4230 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4231
43b84013
AM
42322013-10-04 Alan Modra <amodra@gmail.com>
4233
4234 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4235 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4236 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4237 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4238
8a7413f9
AM
42392013-10-04 Alan Modra <amodra@gmail.com>
4240
4241 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4242 (rTMP): Define as r11.
4243 (strcmp): Add little-endian support. Optimise tail.
4244 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4245 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4246 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4247 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4248 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4249 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4250 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4251
33ee81de
AM
42522013-10-04 Alan Modra <amodra@gmail.com>
4253
4254 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4255 little-endian support. Remove unnecessary "are we done" tests.
4256 Handle "s" wrapping around zero and extremely large "size".
4257 Correct main loop count. Handle single left-over word from main
4258 loop inline rather than by using small_loop. Correct comments.
4259 Delete "zero" tail, use "end_max" instead.
4260 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4261
db9b4570
AM
42622013-10-04 Alan Modra <amodra@gmail.com>
4263
4264 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4265 support. Don't branch over align.
4266 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4267 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4268 support. Rearrange tmp reg use to suit. Comment.
4269 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4270
f7c399cf
AM
42712013-10-04 Alan Modra <amodra@gmail.com>
4272
4273 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4274
0b2c2ace
AM
42752013-10-04 Alan Modra <amodra@gmail.com>
4276
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4278 conditional form of branch and link when obtaining pc.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4280
02f04a6c
AM
42812013-10-04 Alan Modra <amodra@gmail.com>
4282
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4284 HIWORD/LOWORD.
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4287
9b874b2f
AM
42882013-10-04 Alan Modra <amodra@gmail.com>
4289
4290 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4291 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4292 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4293 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4294 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4295 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4296 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4297 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4298 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4299 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4300
be1e5d31
AB
43012013-10-04 Anton Blanchard <anton@au1.ibm.com>
4302 Alistair Popple <alistair@ozlabs.au.ibm.com>
4303 Alan Modra <amodra@gmail.com>
4304
4305 [BZ #15723]
4306 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4307 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4308 _dl_hwcap access for little-endian.
4309 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4310 destroy vmx regs when saving unaligned.
4311 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4312 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4313 destroy vmx regs when saving unaligned.
4314
fef13a78
AM
43152013-10-04 Alan Modra <amodra@gmail.com>
4316
4317 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4318 Don't use a union to pack hi/low value.
4319
76a66d51
AB
43202013-10-04 Anton Blanchard <anton@au1.ibm.com>
4321
4322 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4323 for little-endian.
4324 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4326 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4327 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4328 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4329
6a31fe7f
AM
43302013-10-04 Alan Modra <amodra@gmail.com>
4331
4332 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4333 constants to usual value for .cst8 section, and remove redundant
4334 high address load.
4335 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4336 constant for 0x1p52. Load little-endian words of double from
4337 correct stack offsets.
4338
7b88401f
AM
43392013-10-04 Alan Modra <amodra@gmail.com>
4340
4341 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4342 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4343 words of double from correct stack offsets.
4344 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4345 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4346 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4349 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4350 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4351 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4352 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4353 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4354 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4355 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4356 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4357 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4358 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4359 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4360 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4361
9c008155
AM
43622013-10-04 Alan Modra <amodra@gmail.com>
4363
4364 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4365 64-bit int/double union.
4366 (_FPU_SETCW): Likewise.
4367 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4368 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4369
da13146d
AM
43702013-10-04 Alan Modra <amodra@gmail.com>
4371
4372 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4373 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4374
603e8410
AM
43752013-10-04 Alan Modra <amodra@gmail.com>
4376
4377 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4378 use vector int constants.
4379 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4380
4a28b3ca
AB
43812013-10-04 Anton Blanchard <anton@au1.ibm.com>
4382
4383 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4384 array with long long.
4385 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4386 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4387 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4388 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4389 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4390 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4391 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4392 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4393 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4394 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4395 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4396 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4397 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4398
2ca85d2b
AB
43992013-10-04 Anton Blanchard <anton@au1.ibm.com>
4400
4401 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4402 (__signbit): Likewise. Correct for little-endian.
4403 (__signbitl): Call __signbit.
4404 (lrint): Correct for little-endian.
4405 (lrintf): Call lrint.
4406
62a728ae
AM
44072013-10-04 Alan Modra <amodra@gmail.com>
4408
4409 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4410 union 32-bit int array member with 64-bit int array.
4411 (t515, tm256): Double rather than long double.
4412 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4413
32c301df
AM
44142013-10-04 Alan Modra <amodra@gmail.com>
4415
4416 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4417 Delete.
4418 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4420 version of math_ldbl.h.
4421
650ef4bd
AM
44222013-10-04 Alan Modra <amodra@gmail.com>
4423
4424 [BZ #15734], [BZ #15735]
4425 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4426 all uses of ieee875 long double macros and unions. Simplify test
4427 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4428 ldbl_extract_mantissa value for ix,iy exponents. Properly
4429 normalize after ldbl_extract_mantissa, and don't add hidden bit
4430 already handled. Don't treat low word of ieee854 mantissa like
4431 low word of IBM long double and mask off bit when testing for
4432 zero.
4433 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4434 all uses of ieee875 long double macros and unions. Simplify tests
4435 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4436 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4437 two1022, instead use their values. Recognise that tests for large
4438 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4439 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4440 Rewrite all uses of ieee875 long double macros and unions. Simplify
4441 test for 0.0L and nan. Correct negation.
4442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4443 ieee875 long double macros and unions. Correct output for large
4444 magnitude x. Correct absolute value calculation.
4445 (__erfcl): Likewise.
4446 * math/libm-test.inc: Add tests for errors discovered in IBM long
4447 double versions of fmodl, remainderl, erfl and erfcl.
4448
765714ca
AM
44492013-10-04 Alan Modra <amodra@gmail.com>
4450
4451 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4452 all uses of ieee854 long double macros and unions. Simplify tests
4453 for long doubles that are fully specified by the high double.
4454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4455 Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4457 Remove dead code too.
4458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4459 (__ieee754_ynl): Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4463 Remove dead code too.
4464 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4465 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4467 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4468 Simplify.
4469 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4470 Simplify.
4471 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4472 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4474 Comment on variable precision.
4475 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4476 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4477 Likewise.
4478 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4479 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4480 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4481 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4482 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4483
4ebd120c
AM
44842013-10-04 Alan Modra <amodra@gmail.com>
4485
4486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4487 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4488 all uses of ieee854 long double macros and unions.
4489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4492 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4493 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4494 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4495 Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4498 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4499 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4501 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4502 Simplify sign and nan test too.
4503 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4504 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4505 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4506 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4507 Likewise.
4508 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4510 Likewise.
4511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4512 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4513 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4514 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4515 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4517
1b6adf88
AM
45182013-10-04 Alan Modra <amodra@gmail.com>
4519
4520 * stdio-common/printf_size.c (__printf_size): Don't use
4521 union ieee854_long_double in fpnum union.
4522 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4523 signbit macro to retrieve sign from long double.
4524 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4525 retrieve sign from long double.
4526 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4527 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4528 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4529 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4530 * math/test-misc.c (main): Don't use union ieee854_long_double.
4531
4cf69995
AM
45322013-10-04 Alan Modra <amodra@gmail.com>
4533
4534 [BZ #15680]
4535 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4536 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4537 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4538 calculation. Remove unnecessary test for denormal exponent.
4539 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4540 Correct handling of denormals. Avoid undefined shift behaviour.
4541 Correct normalisation of low mantissa when low double is denormal.
4542 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4543 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4544 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4545 Correct normalisation of low mantissa. Test for overflow of high
4546 mantissa and normalise.
4547 (ldbl_nearbyint): Use more readable constant for two52.
4548 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4549 (__mpn_construct_long_double): Fix test for overflow of high
4550 mantissa and correct normalisation. Avoid undefined shift.
4551
9605ca6c
AM
45522013-10-04 Alan Modra <amodra@gmail.com>
4553
4554 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4555 (union ibm_extended_long_double): Define as an array of ieee754_double.
4556 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4557 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4558 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4559 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4561 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4563 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4564 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4565 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4566 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4567
975569d0
JM
45682013-10-03 Joseph Myers <joseph@codesourcery.com>
4569
d3d23756
JM
4570 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4571 page size instead of calling getpagesize.
4572
975569d0
JM
4573 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4574 (LOCFILE_ALIGN_MASK): Likewise.
4575 (LOCFILE_ALIGN_UP): Likewise.
4576 (LOCFILE_ALIGNED_P): Likewise.
4577 * locale/programs/ld-collate.c (collate_output): Use the new
4578 macros instead of __alignof__ (int32_t).
4579 * locale/weight.h (findidx): Likewise.
4580
b1fe1f2b
OB
45812013-10-03 Ondřej Bílka <neleai@seznam.cz>
4582
4583 [BZ #431]
4584 * manual/string.texi: Fix strncat and wcsncat.
4585
5f855e35
BM
45862013-10-03 Brooks Moses <bmoses@google.com>
4587
4588 [BZ #15915]
4589 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4590 * Makerules: ...here, and adjust associated comments.
4591
3cef6009
WN
45922013-10-02 Will Newton <will.newton@linaro.org>
4593
4594 * malloc/Makefile: Add tst-pvalloc.
4595 * malloc/tst-pvalloc.c: New file.
4596
7815420b
WN
45972013-10-02 Will Newton <will.newton@linaro.org>
4598
4599 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4600 improve test coverage.
4601
4868b204
WN
46022013-10-02 Will Newton <will.newton@linaro.org>
4603
4604 * malloc/Makefile: Add tst-posix_memalign.
4605 * malloc/tst-posix_memalign.c: New file.
4606
29c793b3
EB
46072013-10-01 Eric Blake <eblake@redhat.com>
4608
4609 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4610 Use __THROWNL rather than __THROW on static functions.
4611
fd967522
PM
46122013-09-30 Petr Machata <pmachata@redhat.com>
4613
4614 * elf/elf.h (R_AARCH64_ABS16): New macro.
4615 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4616 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4617 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4618 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4619 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4620 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4621 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4622 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4623 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4624 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4625 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4626 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4627 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4628 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4629 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4630 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4631 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4632 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4633 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4634 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4635 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4636 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4637 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4638 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4639 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4640 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4641 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4642 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4643 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4644 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4645 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4646 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4647 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4648 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4649 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4650 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4651 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4652 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4653 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4654 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4655 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4656 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4657 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4658 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4659 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4660 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4661 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4662 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4663 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4664 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4665 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4666 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4667 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4668 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4669 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4670 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4671 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4672 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4673 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4674 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4675 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4676 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4677 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4678 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4679 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4680 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4681 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4682 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4683 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4684 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4685 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4686 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4687 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4688 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4689 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4690 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4691 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4692 (R_AARCH64_TLSDESC_LDR): Likewise.
4693 (R_AARCH64_TLSDESC_ADD): Likewise.
4694 (R_AARCH64_TLSDESC_CALL): Likewise.
4695
b2179107
AS
46962013-09-30 Andreas Schwab <schwab@suse.de>
4697
4698 [BZ #15048]
4699 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4700 the nss database lookup.
4701 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4703
47f28d0a
MF
47042013-09-28 Mike Frysinger <vapier@gentoo.org>
4705
4706 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4707
47082013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4709
4710 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4711 ${Bash-specific parameter/pattern/string} parameter expansion.
4712 * sysdeps/unix/make-syscalls.sh: Likewise.
4713
f4518a17
KK
47142013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4715
4716 * sysdeps/sh/stackguard-macros.h: New file.
4717
dc1a95c7
OB
47182013-09-26 Ondřej Bílka <neleai@seznam.cz>
4719
4720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4722 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4724 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4725 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4726
5ebbff8f
AZ
47272013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4728
4729 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4730 Fix thread ID register.
4731
4fd2cf9f
JM
47322013-09-25 Joseph Myers <joseph@codesourcery.com>
4733
4734 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4735 [POSIX || UNIX98]: Require rather than permitting all symbols from
4736 <time.h>.
4737 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4738 element of struct sched_param.
4739 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4740 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4741 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4742 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4743 constant.
4744
12c22bc4
OL
47452013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4746
4747 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4748 argument calculation.
4749
a03d8ea7
JM
47502013-09-24 Joseph Myers <joseph@codesourcery.com>
4751
4752 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4753 Expect macro.
4754 [POSIX] (pthread_attr_t): Do not require type.
4755 [POSIX] (pthread_cond_t): Likewise.
4756 [POSIX] (pthread_condattr_t): Likewise.
4757 [POSIX] (pthread_key_t): Likewise.
4758 [POSIX] (pthread_mutex_t): Likewise.
4759 [POSIX] (pthread_mutexattr_t): Likewise.
4760 [POSIX] (pthread_once_t): Likewise.
4761 [POSIX] (pthread_t): Likewise.
4762 [POSIX-based standards] (pthread_atfork): Expect function.
4763
6055173a
JM
47642013-09-24 Joseph Myers <joseph@codesourcery.com>
4765 Richard Sandiford <richard@codesourcery.com>
4766
4767 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4768 (swap_endianness_p): New extern variable.
4769 (set_big_endian): New inline function.
4770 (maybe_swap_uint32): Likewise.
4771 (maybe_swap_uint32_array): Likewise.
4772 (maybe_swap_uint32_obstack): Likewise.
4773 * locale/programs/locfile.c: Include <stdbool.h>.
4774 (swap_endianness_p): New variable.
4775 (add_locale_uint32): Call maybe_swap_uint32.
4776 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4777 (write_locale_data): Call maybe_swap_uint32_array.
4778 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4779 maybe_swap_uint32.
4780 (obstack_int32_grow_fast): Likewise.
4781 (output_weightwc): Call maybe_swap_uint32_obstack.
4782 (collate_output): Likewise.
4783 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4784 (OPT_LITTLE_ENDIAN): Likewise.
4785 (options): Add --little-endian and --big-endian options.
4786 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4787 * locale/programs/locarchive.c: Include "locfile.h".
4788 (GET): New macro.
4789 (SET): Likewise.
4790 (INC): Likewise.
4791 (create_archive): Use the new macros to access fields of
4792 structures directly mapped from or written to locale archives.
4793 (oldlocrecentcmp): Likewise.
4794 (enlarge_archive): Likewise.
4795 (insert_name): Likewise.
4796 (add_alias): Likewise.
4797 (add_locale): Likewise.
4798 (delete_locales_from_archive): Likewise.
4799 (show_archive_content): Likewise.
4800 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4801 locale data.
4802
39bf0bb4
RM
48032013-09-24 Roland McGrath <roland@hack.frob.com>
4804
4805 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4806 http://www.gnu.org/doc/freemanuals.texi.
4807 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4808
f02eed10
WN
48092013-09-24 Will Newton <will.newton@linaro.org>
4810
4811 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4812 macro.
4813
a3a6c312
JM
48142013-09-23 Joseph Myers <joseph@codesourcery.com>
4815
4816 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4817 unsigned char.
4818
107375ac
MR
48192013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4820
4821 * manual/threads.texi (POSIX Threads): Fix a typo.
4822
141f3a77
SP
48232013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4824
303e567a
SP
4825 [BZ #14547]
4826 * string/tst-strcoll-overflow.c: New test case.
4827 * string/Makefile (xtests): Add tst-strcoll-overflow.
4828 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4829 cache if string sizes may cause integer overflow.
4830
141f3a77
SP
4831 [BZ #14547]
4832 * string/strcoll_l.c (coll_seq): New members rule, idx,
4833 save_idx and back_us.
4834 (get_next_seq_nocache): New function.
4835 (do_compare_nocache): New function.
4836 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4837 when malloc fails.
4838
c61b4d41
CD
48392013-09-23 Carlos O'Donell <carlos@redhat.com>
4840
0b1f8e35
CD
4841 [BZ #15754]
4842 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4843 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4844 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4845
c61b4d41
CD
4846 [BZ #15754]
4847 * elf/Makefile (tests): Add tst-ptrguard1.
4848 (tests-static): Add tst-ptrguard1-static.
4849 (tst-ptrguard1-ARGS): Define.
4850 (tst-ptrguard1-static-ARGS): Define.
4851 * elf/tst-ptrguard1.c: New file.
4852 * elf/tst-ptrguard1-static.c: New file.
4853 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4854 * sysdeps/i386/stackguard-macros.h: Likewise.
4855 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4856 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4857 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4858 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4859 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4860 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4861
48622013-09-23 Hector Marco <hecmargi@upv.es>
4863 Ismael Ripoll <iripoll@disca.upv.es>
4864 Carlos O'Donell <carlos@redhat.com>
4865
4866 [BZ #15754]
4867 * sysdeps/generic/stackguard-macros.h: Define
4868 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4869 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4870 Define __pointer_chk_guard_local.
4871 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4872 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4873
f5f4e7b4
VV
48742013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4875
4876 [BZ #15859]
4877 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4878
5bb43a43
AS
48792013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4880
4881 * include/string.h (__ffs): Declare as hidden.
4882 * string/ffs.c (__ffs): Define as hidden.
4883 * sysdeps/i386/ffs.c (__ffs): Likewise.
4884 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4885 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4886 * sysdeps/s390/ffs.c (__ffs): Likewise.
4887 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4888
3ea5be54
AO
48892013-09-20 Alexandre Oliva <aoliva@redhat.com>
4890
ffb89e53
AO
4891 * NEWS: Mention malloc probes.
4892
322dea08
AO
4893 * malloc/arena.c (new_heap): New memory_heap_new probe.
4894 (grow_heap): New memory_heap_more probe.
4895 (shrink_heap): New memory_heap_less probe.
4896 (heap_trim): New memory_heap_free probe.
4897 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4898 (systrim): New memory_sbrk_less probe.
4899 * manual/probes.texi: Document them.
4900
655673f3
AO
4901 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4902 * manual/probes.texi: Document it.
4903
35fed6f1
AO
4904 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4905 (__libc_realloc): Add memory_realloc_retry probe.
4906 (__libc_memalign): Add memory_memalign_retry probe.
4907 (__libc_valloc): Add memory_valloc_retry probe.
4908 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4909 (__libc_calloc): Add memory_calloc_retry probe.
4910 * manual/probes.texi: Document them.
4911
6999d38c
AO
4912 * malloc/arena.c (get_free_list): Add probe
4913 memory_arena_reuse_free_list.
4914 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4915 and memory_arena_reuse.
4916 (arena_get2) [!PER_THREAD]: Likewise.
4917 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4918 memory_arena_reuse_realloc.
4919 * manual/probes.texi: Document them.
4920
0653427f
AO
4921 * malloc/malloc.c (__libc_free): Add
4922 memory_mallopt_free_dyn_thresholds probe.
4923 (__libc_mallopt): Add multiple memory_mallopt probes.
4924 * manual/probes.texi: Document them.
4925
3ea5be54
AO
4926 * malloc/malloc.c: Include stap-probe.h.
4927 (__libc_mallopt): Add memory_mallopt probe.
4928 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4929 * manual/probes.texi: New.
4930 * manual/Makefile (chapters): Add probes.
4931 * manual/threads.texi: Set next node.
4932
e35696c3 49332013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4934
e35696c3
CL
4935 [BZ #15963, #13985]
4936 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4937 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4938 Add `Chinese' to `nan' entry name.
4939
4aafb73c
SP
49402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4941
4942 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4943 (POLYNOMIAL): Likewise.
4944 (TAYLOR_SINCOS): Likewise.
4945 (TAYLOR_SLOW): Likewise.
4946 (__sin): Use TAYLOR_SINCOS.
4947 (__cos): Likewise.
4948 (slow): Use TAYLOR_SLOW.
4949 (sloww): Likewise.
4950 (bsloww): Likewise.
4951 (csloww): Likewise.
4952
d84f25c7
LD
49532013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4954
4955 * stdlib/strtod_l.c: Fix buffer overrun.
4956
5eea0404
SP
49572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4958
7849ff93
SP
4959 * benchtests/Makefile (bench): Add sincos.
4960 * benchtests/bench-sincos.c: New file.
4961
cfa3c886
SP
4962 * math/libm-test.inc (cos_test_data): New test inputs.
4963 (sin_test_data): Likewise.
4964
b348e1e3
SP
4965 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4966 macro.
4967 (__sin): Use it.
4968 (__cos): Likewise.
4969 (slow1): Likewise.
4970 (slow2): Likewise.
4971 (sloww1): Likewise.
4972 (sloww2): Likewise.
4973 (bsloww1): Likewise.
4974 (bsloww2): Likewise.
4975 (cslow2): Likewise.
4976 (csloww1): Likewise.
4977 (csloww2): Likewise.
4978
6cce25f8
SP
4979 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4980 function.
4981 (__sin): Use it.
4982 (__cos): Likewise.
4983
5eea0404
SP
4984 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4985 gotos.
4986 (__cos): Likewise.
4987
9c21573c
MR
49882013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4989
4990 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4991 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4992 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4993 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4994 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4995 * elf/cache.c (print_entry): Handle the new cache flags.
4996
24d22e65
JM
49972013-09-18 Joseph Myers <joseph@codesourcery.com>
4998 Aldy Hernandez <aldyh@redhat.com>
4999
5000 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5001 Change condition to [_SOFT_FLOAT].
5002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5003 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5004 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5008 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5013 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5014 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5015 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5016 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5017 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5018 declaration.
5019
d13ef066
JM
50202013-09-18 Joseph Myers <joseph@codesourcery.com>
5021
2e071de0
JM
5022 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5023 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5024 (__longjmp): Use LOAD_GP to load saved GPRs.
5025 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5026 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5027 (__sigsetjmp): Use SAVE_GP to save GPRs.
5028
d13ef066
JM
5029 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5030 Do not append -msoft-float.
5031 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5032
97a0650b
SP
50332013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5034
5035 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5036
11ca09e9
JM
50372013-09-17 Joseph Myers <joseph@codesourcery.com>
5038
5039 [BZ #15966]
5040 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5041 (_FPU_GETCW): Use initial "__" on variable and field names but not
5042 on macro parameter name.
5043 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5044 parentheses around reference to macro parameter.
5045
08ffcf34
RS
50462013-09-13 Richard Sandiford <richard@codesourcery.com>
5047
5048 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5049 prototype.
5050 (ctype_startup): Use uint32_t in cast and sizeof for
5051 ctype->charnames.
5052
ae7080d3
JL
50532013-09-11 Jia Liu <proljc@gmail.com>
5054
5055 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5056 __daddr_t_defined.
5057 [__FreeBSD__]: Likewise.
5058
5905e7b3
OB
50592013-09-11 Ondřej Bílka <neleai@seznam.cz>
5060
5061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5062 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5063 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5064 (strchr): Remove __strchr_sse42 ifunc selection.
5065 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5066 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5067
b987c776
WN
50682013-09-11 Will Newton <will.newton@linaro.org>
5069
5070 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5071 parameter to RES. Remove hardcoded 1000 value.
5072 * benchtests/bench-skeleton.c (main): Pass RES parameter
5073 to TIMING_INIT and multiply result by 1000.
5074
ddf985af
AZ
50752013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5076
5077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5078
ffdd3181
AS
50792013-09-11 Andreas Schwab <schwab@suse.de>
5080
5081 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5082 if not defined.
5083 (O_TMPFILE) [__USE_GNU]: Define.
5084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5085 Define.
5086
b73ed247
WN
50872013-09-11 Will Newton <will.newton@linaro.org>
5088
5089 [BZ #15857]
5090 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5091 does not overflow.
5092
55e17aad
WN
50932013-09-11 Will Newton <will.newton@linaro.org>
5094
5095 [BZ #15856]
5096 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5097 does not overflow.
5098
1159a193
WN
50992013-09-11 Will Newton <will.newton@linaro.org>
5100
5101 [BZ #15855]
5102 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5103 does not overflow.
5104
5905e7b3 51052013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5106
5107 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5108 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5109 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5110 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5112
cdfc721b
AM
51132013-09-10 Allan McRae <allan@archlinux.org>
5114
aa04af00
AM
5115 [BZ #15748]
5116 * manual/arith.texi (Parsing of Floats): Clarify
5117 cross-reference.
5118
cdfc721b
AM
5119 [BZ #15849]
5120 * manual/install.texi (Running make install): Mention
5121 --enable-pt-chown.
5122 * INSTALL: Regenerated.
5123
95e7cf29
MR
51242013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5125
5126 * csu/init-first.c (_init): Remove the !SHARED condition around
5127 FPU control word initialization.
5128 * elf/dl-support.c (_dl_fpu_control): New variable.
5129 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5130 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5131 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5132 * math/test-fpucw-static.c: New file.
5133 * math/test-fpucw-ieee.c: New file.
5134 * math/test-fpucw-ieee-static.c: New file.
5135 * math/Makefile (tests): Add `test-fpucw-ieee' and
5136 `$(tests-static)'.
5137 (tests-static): New variable.
5138 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5139 dependency to...
5140 [($(build-shared),yes)]
5141 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5142 ... this.
5143 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5144 New dependency.
5145
83e43bf0
AM
51462013-09-09 Allan McRae <allan@archlinux.org>
5147
a9f5ce09
AM
5148 [BZ #15939]
5149 * manual/string.texi (Collation Functions): Fix typo in
5150 strcoll example.
5151 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5152
34829bc2
AM
5153 [BZ #15893]
5154 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5155
3932737d
AM
5156 [BZ #15892]
5157 * libio/memstream.c (open_memstream): Fix memory leak.
5158 * libio/wmemstream.c (open_wmemstream): Likewise.
5159
83e43bf0
AM
5160 [BZ #15895]
5161 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5162
0c66b8e9
WN
51632013-09-09 Will Newton <will.newton@linaro.org>
5164
5165 * malloc/Makefile: Add tst-realloc to tests.
5166 * malloc/tst-realloc.c: New file.
5167
f6b00fd1
AM
51682013-09-09 Allan McRae <allan@archlinux.org>
5169
5170 [BZ #15844]
5171 * COPYING: Update from GNU website to fix FSF address.
5172 * COPYING.LIB: Likewise.
5173
eec55e16
DM
51742013-09-06 David S. Miller <davem@davemloft.net>
5175
5176 * po/zh_TW.po: Update Chinese (traditional) translation from
5177 translation project.
5178
1ecbb381
RS
51792013-09-06 Richard Sandiford <richard@codesourcery.com>
5180 Joseph Myers <joseph@codesourcery.com>
5181
5182 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5183 "localeinfo.h".
5184 (obstack_chunk_alloc): New macro.
5185 (obstack_chunk_free): Likewise.
5186 (record_offset): New function.
5187 (init_locale_data): Likewise.
5188 (align_locale_data): Likewise.
5189 (add_locale_empty): Likewise.
5190 (add_locale_raw_data): Likewise.
5191 (add_locale_raw_obstack): Likewise.
5192 (add_locale_string): Likewise.
5193 (add_locale_wstring): Likewise.
5194 (add_locale_uint32): Likewise.
5195 (add_locale_uint32_array): Likewise.
5196 (add_locale_char): Likewise.
5197 (start_locale_structure): Likewise.
5198 (end_locale_structure): Likewise.
5199 (start_locale_prelude): Likewise.
5200 (end_locale_prelude): Likewise.
5201 (write_locale_data): Take locale_file structure rather than an
5202 iovec.
5203 * locale/programs/locfile.h: Include "obstack.h".
5204 (struct locale_file): Change to store locale file contents instead
5205 of header.
5206 (init_locale_data): New prototype.
5207 (align_locale_data): Likewise.
5208 (add_locale_empty): Likewise.
5209 (add_locale_raw_data): Likewise.
5210 (add_locale_raw_obstack): Likewise.
5211 (add_locale_string): Likewise.
5212 (add_locale_wstring): Likewise.
5213 (add_locale_uint32): Likewise.
5214 (add_locale_uint32_array): Likewise.
5215 (add_locale_char): Likewise.
5216 (start_locale_structure): Likewise.
5217 (end_locale_structure): Likewise.
5218 (start_locale_prelude): Likewise.
5219 (end_locale_prelude): Likewise.
5220 (write_locale_data): Update prototype.
5221 * locale/programs/3level.h (struct TABLE): Remove result field.
5222 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5223 Use new locale_file interface.
5224 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5225 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5226 * locale/programs/ld-address.c (address_output): Use new
5227 locale_file interface.
5228 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5229 NO_ADD_LOCALE.
5230 (collate_finish): Don't call collseq_table_finalize.
5231 (collate_output): Use new locale_file interface.
5232 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5233 in file.
5234 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5235 (TABLE): Move defines earlier in file.
5236 (ELEMENT): Likewise.
5237 (DEFAULT): Likewise.
5238 (wctrans_table_add): Move macro and inline function earlier in
5239 file.
5240 (struct wctype_table): Move type earlier in file.
5241 (add_locale_wctype_table): New static prototype.
5242 (struct locale_ctype_t): Use logical types instead of struct iovec
5243 pointers for members.
5244 (ctype_output): Use new locale_file interface.
5245 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5246 new locale_file interface.
5247 (allocate_arrays): Update for use of new locale_file interface.
5248 * locale/programs/ld-identification.c (identification_output): Use
5249 new locale_file interface.
5250 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5251 * locale/programs/ld-messages.c (messages_output): Likewise.
5252 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5253 * locale/programs/ld-name.c (name_output): Likewise.
5254 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5255 * locale/programs/ld-paper.c (paper_output): Likewise.
5256 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5257 * locale/programs/ld-time.c (time_output): Likewise.
5258
e029e2e5
AZ
52592013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5260
5261 * benchtests/Makefile: Add memrchr benchmark.
5262 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5263 benchmark as memrchr.
5264 * benchtests/bench-memrchr-ifunc.c: New file.
5265 * benchtests/bench-memrchr.c: New file.
5266
bbf6e8e4
WN
52672013-09-06 Will Newton <will.newton@linaro.org>
5268
5269 * benchtests/Makefile (string-bench): Add memcpy.
5270
6c82a2f8
CD
52712013-09-05 Carlos O'Donell <carlos@redhat.com>
5272 Cong Wang <amwang@redhat.com>
5273
5274 * sysdeps/unix/sysv/linux/bits/in.h
5275 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5276 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5277 before __USE_KERNEL_IPV6_DEFS uses.
5278 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5279 IPPROTO_BEETPH.
5280 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5281 sockaddr_in6, or ipv6_mreq.
5282
5430fc65
AZ
52832013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5284
5285 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5286 memory access for final bytes in some large inputs.
5287 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5288
4660856c
AZ
52892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5290
5291 * string/test-memrchr.c: New file.
5292 * string/test-memrchr-ifunc.c: New file.
5293 * string/Makefile: Add new memrchr testcase.
5294
bb8ea713
MF
52952013-09-05 Mike Frysinger <vapier@gentoo.org>
5296
5297 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5298 fanotify_init returns EPERM.
5299
b92a20b5
JM
53002013-09-04 Joseph Myers <joseph@codesourcery.com>
5301
5302 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5303 errors.
5304 (top level): Treat second token from macro or constant entries for
5305 allowed headers as allowed.
5306 * include/complex.h: Condition internal declarations on
5307 [!_ISOMAC].
5308 * include/fenv.h: Condition include of <stdbool.h> and internal
5309 declarations on [!_ISOMAC].
7447ccd9
CL
5310
53112013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5312
3e181dda 5313 [BZ #15923]
7447ccd9
CL
5314 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5315
3f2e46a4
JM
53162013-09-04 Joseph Myers <joseph@codesourcery.com>
5317
5318 * configure.in (--enable-versioning): Remove configure option.
5319 (libc_cv_asm_symver_directive): Remove configure test.
5320 (libc_cv_ld_version_script_option): Likewise.
5321 (VERSIONING): Remove variable and AC_SUBST.
5322 (DO_VERSIONING): Remove AC_DEFINE.
5323 * configure: Regenerated.
5324 * config.h.in (DO_VERSIONING): Remove macro.
5325 * Makerules [$(versioning) = yes]: Change conditionals to
5326 [$(build-shared) = yes].
5327 * config.make.in (versioning): Remove variable.
5328 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5329 [$(build-shared) = yes].
5330 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5331 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5332 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5333 [$(build-shared) = yes].
5334 * extra-lib.mk [$(versioning) = yes]: Likewise.
5335 * hurd/Makefile [$(versioning) = yes]: Likewise.
5336 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5337 [SHARED].
5338 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5339 [SHARED].
5340 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5341 [SHARED && !NO_HIDDEN].
5342 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5343 [SHARED].
5344 [SHARED && DO_VERSIONING]: Likewise..
5345 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5346 [$(build-shared) = yes].
5347 * manual/install.texi (--disable-versioning): Remove
5348 documentation.
5349 * INSTALL: Regenerated.
5350 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5351 to [SHARED].
5352 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5353 [$(build-shared) = yes].
5354 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5355 * sysdeps/i386/i686/multiarch/strstr-c.c
5356 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5357 [SHARED && !NO_HIDDEN].
5358 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5359 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5360 * sysdeps/powerpc/powerpc32/dl-machine.c
5361 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5362 * sysdeps/powerpc/powerpc32/sysdep.h
5363 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5364 to [SHARED && PIC && !NO_HIDDEN].
5365 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5366 conditional to [SHARED].
5367
44558701
WN
53682013-09-04 Will Newton <will.newton@linaro.org>
5369
5370 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5371 * benchtests/bench-string.h: Include bench-timing.h instead
5372 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5373 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5374 call to HP_TIMING_DIFF_INIT.
5375 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5376 instead of hp-timing.h macros.
5377 * benchtests/bench-memchr.c: Likewise.
5378 * benchtests/bench-memcmp.c: Likewise.
5379 * benchtests/bench-memcpy.c: Likewise.
5380 * benchtests/bench-memmem.c: Likewise.
5381 * benchtests/bench-memmove.c: Likewise.
5382 * benchtests/bench-memset.c: Likewise.
5383 * benchtests/bench-rawmemchr.c: Likewise.
5384 * benchtests/bench-strcasecmp.c: Likewise.
5385 * benchtests/bench-strcasestr.c: Likewise.
5386 * benchtests/bench-strcat.c: Likewise.
5387 * benchtests/bench-strchr.c: Likewise.
5388 * benchtests/bench-strcmp.c: Likewise.
5389 * benchtests/bench-strcpy.c: Likewise.
5390 * benchtests/bench-strcpy_chk.c: Likewise.
5391 * benchtests/bench-strlen.c: Likewise.
5392 * benchtests/bench-strncasecmp.c: Likewise.
5393 * benchtests/bench-strncat.c: Likewise.
5394 * benchtests/bench-strncmp.c: Likewise.
5395 * benchtests/bench-strncpy.c: Likewise.
5396 * benchtests/bench-strnlen.c: Likewise.
5397 * benchtests/bench-strpbrk.c: Likewise.
5398 * benchtests/bench-strrchr.c: Likewise.
5399 * benchtests/bench-strspn.c: Likewise.
5400 * benchtests/bench-strstr.c: Likewise.
5401
cae16d66
WN
54022013-09-04 Will Newton <will.newton@linaro.org>
5403
5404 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5405
ffa3cd7f
JM
54062013-09-03 Joseph Myers <joseph@codesourcery.com>
5407
5408 [BZ #15427]
5409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5410 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5411 * math/libm-test.inc (lgamma_test_data): Add more tests.
5412 * sysdeps/i386/fpu/libm-test-ulps: Update.
5413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5414
8f02859f
OB
54152013-09-03 Ondřej Bílka <neleai@seznam.cz>
5416
5417 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5418 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5419 Add ifunc.
5420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5421 Add strcmp-sse2-unaligned
5422 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5423
18d43716
MF
54242013-09-02 Mike Frysinger <vapier@gentoo.org>
5425
5426 * Versions.def (libc): Add GLIBC_2.19.
5427
ac444012
MF
54282013-09-02 Mike Frysinger <vapier@gentoo.org>
5429
5430 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5431 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5432
b7835e32
JM
54332013-09-02 Joseph Myers <joseph@codesourcery.com>
5434
5435 [BZ #14155]
5436 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5437 intermediate calculations in recurrence.
5438 (__ieee754_ynf): Likewise.
5439 * math/libm-test.inc (jn_test_data): Do not allow spurious
5440 underflow exception. Add more tests.
5441 (yn_test_data): Add more tests.
5442 * sysdeps/i386/fpu/libm-test-ulps: Update.
5443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5444
8220f4f0
OB
54452013-09-02 Ondřej Bílka <neleai@seznam.cz>
5446
5447 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5448
f24a6d08
OB
54492013-08-30 Ondřej Bílka <neleai@seznam.cz>
5450
5451 * csu/init-first.c: Fix then/than typos.
5452 * locale/programs/ld-collate.c: Likewise.
5453 * locale/programs/linereader.h: Likewise.
5454 * manual/charset.texi: Likewise.
5455 * manual/filesys.texi: Likewise.
5456 * manual/stdio.texi: Likewise.
5457 * manual/string.texi: Likewise.
5458 * stdlib/fmtmsg.c: Likewise.
5459 * sysdeps/i386/stpncpy.S: Likewise.
5460 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5461 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5462 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5463 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5464
382466e0
OB
54652013-08-30 Ondřej Bílka <neleai@seznam.cz>
5466
5467 * elf/dl-open.c: Fix typos.
5468 * iconvdata/gbbig5.c: Likewise.
5469 * iconvdata/iso-2022-jp.c: Likewise.
5470 * iconv/gconv_int.h: Likewise.
5471 * iconv/loop.c: Likewise.
5472 * nis/rpcsvc/nis.h: Likewise.
5473 * resolv/ns_name.c: Likewise.
5474 * stdio-common/vfscanf.c: Likewise.
5475 * streams/stropts.h: Likewise.
5476 * sunrpc/rpc_thread.c: Likewise.
5477 * sysdeps/i386/strpbrk.S: Likewise.
5478 * sysdeps/ieee754/k_standard.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5481 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5482 * sysdeps/mach/hurd/profil.c: Likewise.
5483 * sysdeps/s390/dl-procinfo.h: Likewise.
5484 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5485 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5486 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5487 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5489
0186c6e9
OB
54902013-08-30 Ondřej Bílka <neleai@seznam.cz>
5491
5492 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5494
d4e16af1
OB
54952013-08-29 Ondřej Bílka <neleai@seznam.cz>
5496
5497 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5498 aix specific files.
5499 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5500 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5501 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5502 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5503 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5504 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5505 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5506 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5507
88335980
TS
55082013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5509 Roland McGrath <roland@hack.frob.com>
5510
5511 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5512 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5513
ed479b02
ST
55142013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5515
5516 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5517 __executable_start symbol instead of _start.
5518
f1cc4c86
TS
55192013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5520
d821f07c
TS
5521 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5522 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5523 Move macros to...
5524 * sysdeps/gnu/ldsodefs.h: ... this new file.
5525
c54290cf
TS
5526 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5527 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5528 instead of ELFOSABI_LINUX.
5529
0007fc9b 5530 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5531 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5532 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5533 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5534 Likewise.
5535 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5536 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5537 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5538 Likewise.
5539 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5540 (ibm_extended_long_double): Add ieee_nan member.
5541 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5542 (do_test): New function.
5543
f1cc4c86
TS
5544 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5545 TEST_TRUNC.
5546 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5547 functions, renamed from truncdfsf_test, trunctfsf_test,
5548 trunctfdf_test.
5549 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5550 functions.
5551 (do_test): Run all these.
5552
6f65e668
OB
55532013-08-29 Ondřej Bílka <neleai@seznam.cz>
5554
5555 * argp/argp-help.c: Fix typos.
5556 * argp/argp-parse.c: Likewise.
5557 * debug/backtracesyms.c: Likewise.
5558 * elf/elf.h: Likewise.
5559 * malloc/malloc.c: Likewise.
5560 * nis/nis_print.c: Likewise.
5561 * resolv/res_comp.c: Likewise.
5562 * stdlib/stdlib.h: Likewise.
5563 * sunrpc/clnt_tcp.c: Likewise.
5564 * sunrpc/clnt_udp.c: Likewise.
5565 * sunrpc/clnt_unix.c: Likewise.
5566 * sysdeps/unix/bsd/ptsname.c: Likewise.
5567 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5568 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5570 Likewise.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5572 Likewise.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5574 Likewise.
6f65e668
OB
5575 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5576
3a309239
SP
55772013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5578
5579 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5581
3b813b29
MF
55822013-08-27 Mike Frysinger <vapier@gentoo.org>
5583
5584 [BZ #15897]
5585 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5586 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5587 ($(objpfx)bug-dl-leaf): New rule.
5588 ($(objpfx)bug-dl-leaf.so): Likewise.
5589 ($(objpfx)bug-dl-leaf.out): Likewise.
5590 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5591 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5592 * dlfcn/bug-dl-leaf.c: New test.
5593 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5594 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5595 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5596 (dlclose): Likewise.
5597 (dlmopen): Likewise.
5598
8cc3269f
RM
55992013-08-27 Roland McGrath <roland@hack.frob.com>
5600
7f9d0034
RM
5601 * include/netdb.h [!_ISOMAC]:
5602 Don't include <tls.h>.
5603 (h_errno, __libc_h_errno): Move declaration and macros out of
5604 [_LIBC_REENTRANT].
5605
fb431262
RM
5606 * include/resolv.h [_RESOLV_H_]:
5607 Don't include <tls.h>.
5608 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5609 * resolv/res_libc.c: Don't include <tls.h>.
5610 (_res): Use __attribute__ ((nocommon)) in place of
5611 __attribute__ ((section (".bss"))).
5612
bd81123a
RM
5613 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5614 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5615
c4e42566
RM
5616 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5617
f890a59b
RM
5618 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5619 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5620
5621 * resolv/res_mkquery.c: Include <sys/time.h>.
5622
5d1f0a09
RM
5623 * inet/ifreq.c: Moved to ...
5624 * sysdeps/unix/ifreq.c: ... here.
5625 * inet/ifreq.c: New file, true stub version.
5626
6fcf28b3
RM
5627 * socket/sa_len.c: New file.
5628 * socket/Makefile (aux): Add it.
5629 * sysdeps/unix/sysv/linux/Makefile
5630 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5631 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5632 and #include <socket/sa_len.c>.
5633 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5634 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5635
e041fb8b
RM
5636 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5637 * bits/socket.h: ... here.
5638
8cc3269f
RM
5639 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5640 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5641 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5642
5d228a43
AS
56432013-08-27 Andreas Schwab <schwab@suse.de>
5644
45b8accc
AS
5645 [BZ #15736]
5646 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5647 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5648 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5649 * string/test-strcasecmp.c (test_main): Run tests in several
5650 locales.
5651 * string/test-strncasecmp.c (test_main): Likewise.
5652
5d228a43
AS
5653 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5654 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5655 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5657 (__strncasecmp_ssse3) [PIC]: Likewise.
5658
59d112a4
RM
56592013-08-26 Roland McGrath <roland@hack.frob.com>
5660
53234cc3
RM
5661 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5662
59d112a4
RM
5663 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5664 instead of explicitly declaring xdecrypt.
5665 * nis/nss_nis/nis-publickey.c: Likewise.
5666
595aba70
SP
56672013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5668
5669 [BZ #15890]
5670 * nscd/aicache.c: Include res_hconf.h.
5671 (addhstaiX): Initialize res_hconf.
5672
ffabd393
AS
56732013-08-26 Andreas Schwab <schwab@suse.de>
5674
5675 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5676 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5677
e0a69f5c
SP
56782013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5679
5680 * nscd/aicache.c (addhstaiX): Fix indentation.
5681
8c12f01d
MF
56822013-08-25 Mike Frysinger <vapier@gentoo.org>
5683
5684 * configure.ac: Quote $build_pt_chown test.
5685 * configure: Regenerated.
5686
8fe89494
JM
56872013-08-23 Joseph Myers <joseph@codesourcery.com>
5688
5689 [BZ #15532]
5690 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5691 * math/s_cexpf.c (__cexpf): Likewise.
5692 * math/s_cexpl.c (__cexpl): Likewise.
5693 * math/libm-test.inc (cexp_test_data): Correct expected return
5694 value for NaN + i0. Add another test.
5695
75b181d6
DM
56962013-08-22 David S. Miller <davem@davemloft.net>
5697
5698 * po/ca.po: Update Catalan translation from translation project.
936241e4 5699 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5700
acd06bb1
JM
57012013-08-21 Joseph Myers <joseph@codesourcery.com>
5702
5703 [BZ #15797]
5704 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5705 is infinite, not alongside NaN test.
5706 * math/s_fdimf.c (__fdimf): Likewise.
5707 * math/s_fdiml.c (__fdiml): Likewise.
5708 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5709 errno is unchanged.
5710
c0c3f78a
OB
57112013-08-21 Ondřej Bílka <neleai@seznam.cz>
5712
5713 * argp/argp-help.c: Fix typos.
5714 * crypt/speeds.c: Likewise.
5715 * csu/check_fds.c: Likewise.
5716 * elf/dl-load.c: Likewise.
5717 * elf/dl-open.c: Likewise.
5718 * elf/reldep3.c: Likewise.
5719 * elf/reldep.c: Likewise.
5720 * elf/sprof.c: Likewise.
5721 * iconv/iconv_charmap.c: Likewise.
5722 * iconv/skeleton.c: Likewise.
5723 * iconv/strtab.c: Likewise.
5724 * io/lockf64.c: Likewise.
5725 * libio/libioP.h: Likewise.
5726 * resolv/gai_notify.c: Likewise.
5727 * resolv/ns_name.c: Likewise.
5728 * resolv/ns_samedomain.c: Likewise.
5729 * resolv/res_send.c: Likewise.
5730 * stdlib/random.c: Likewise.
5731 * sunrpc/rpc/xdr.h: Likewise.
5732 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5733 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5734 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5735 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5736 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5737 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5739 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5740 * sysdeps/mach/hurd/check_fds.c: Likewise.
5741 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5742 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5743 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5744 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5745 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5746 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5747 * sysdeps/pthread/aio_notify.c: Likewise.
5748 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5749 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5750 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5751 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5752 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5753
46ed1038
LD
57542013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5755
5756 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5757 version if bit_Slow_SSE4_2 is set.
5758 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5759 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5760
d400dcac
AZ
57612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5762
5763 [BZ #15867]
5764 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5765 trampoline stack frame information.
5766 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5767 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5768 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5769 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5770 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5771 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5772 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5773 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5774 sa_flags value.
5775 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5776 interrupting a syscall and set with option SA_SIGINFO.
5777
42c8fdd8
JM
57782013-08-20 Joseph Myers <joseph@codesourcery.com>
5779
c980f2f4
JM
5780 [BZ #15531]
5781 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5782 argument is infinite.
5783 * math/s_cprojf.c (__cprojf): Likewise.
5784 * math/s_cprojl.c (__cprojl): Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5786 * math/libm-test.inc (cproj_test_data): Add more tests.
5787
0716c4fc
JM
5788 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5789
42c8fdd8
JM
5790 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5791 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5792 size. Use __ffs to determine corresponding shift.
5793
b31469d0
JM
57942013-08-20 Joseph Myers <joseph@codesourcery.com>
5795 Roland McGrath <roland@hack.frob.com>
5796
5797 * Makefile (INSTALL): Remove trailing blank lines from output of
5798 makeinfo.
5799
4e39af6e
AK
58002013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5801
5802 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5803 Align 32 bit compat elf_greg to 8 bytes.
5804
f315524e
AA
58052013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5806
5807 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5808
1326ba1a
SP
58092013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5810
5811 * string/strcoll_l.c (coll_seq): New structure.
5812 (get_next_seq_cached): New function.
5813 (get_next_seq): New function.
5814 (do_compare): New function.
5815 (STRCOLL): Use GNU style definition. Simplify implementation
5816 by using get_next_seq, get_next_seq_cached and do_compare.
5817
91ce4085
FW
58182013-08-16 Florian Weimer <fweimer@redhat.com>
5819
5820 [BZ #14699]
5821 CVE-2013-4237
5822 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5823 member.
5824 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5825 member.
5826 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5827 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5828 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5829 conditional.
5830 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5831 GETDENTS_64BIT_ALIGNED.
5832 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5833 * manual/filesys.texi (Reading/Closing Directory): Document
5834 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5835 strongly.
5836 * manual/conf.texi (Limits for Files): Add portability note to
5837 NAME_MAX, PATH_MAX.
5838 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5839
ca0a6bc4
AS
58402013-08-13 Andreas Schwab <schwab@suse.de>
5841
5842 [BZ #15749]
5843 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5844 of fabs.
5845 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5846 LDBL_MAX_EXP >= 16384]: Add tests for it.
5847
6c1fd795
DM
58482013-08-12 David S. Miller <davem@davemloft.net>
5849
5850 * version.h (RELEASE): Set to "development".
5851 (VERSION): Set to "2.18.90".
5852 * NEWS: Add 2.19 section.
5853
31ad488d
DM
58542013-08-03 David S. Miller <davem@davemloft.net>
5855
5856 * po/ko.po: Update Korean translation from translation project.
5857
db24e684
DM
58582013-08-01 David S. Miller <davem@davemloft.net>
5859
5860 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5861 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5862 Bilka.
5863
f723285b
DM
58642013-07-30 David S. Miller <davem@davemloft.net>
5865
5866 * po/fr.po: Update French translation from translation project.
5867
3cbc52db
DM
58682013-07-28 David S. Miller <davem@davemloft.net>
5869
30bbc0cc
DM
5870 * po/cs.po: Update Czech translation from translation project.
5871
3cbc52db
DM
5872 * po/sv.po: Update Swedish translation from translation project.
5873
d492e6d0
DM
58742013-07-27 David S. Miller <davem@davemloft.net>
5875
f1a7f492
DM
5876 * po/eo.po: Update Esperanto translation from translation project.
5877
90e62a4a
DM
5878 * po/vi.po: Update Vietnamese translation from translation project.
5879
d492e6d0
DM
5880 * po/de.po: Update German translation from translation project.
5881
d4baa62d
DM
58822013-07-26 David S. Miller <davem@davemloft.net>
5883
641aa7b4
DM
5884 * po/bg.po: Update Bulgarian translation from translation project.
5885
d4baa62d
DM
5886 * po/nl.po: Update Dutch translation from translation project.
5887 * po/pl.po: Update Polish translation from translation project.
5888 * po/ru.po: Update Russian translation from translation project.
5889
61a9dcb9
DM
58902013-07-24 David S. Miller <davem@davemloft.net>
5891
5892 * po/libc.pot: Update.
5893
7b1f8b58
AZ
58942013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5895
5896 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5897 variable page size.
5898 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5900 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5901
a8fc7a03
AK
59022013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5903
5904 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5905
e4608715
CD
59062013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5907 Andreas Schwab <schwab@suse.de>
5908 Roland McGrath <roland@hack.frob.com>
5909 Joseph Myers <joseph@codesourcery.com>
5910 Carlos O'Donell <carlos@redhat.com>
5911
5912 [BZ #15755]
5913 * config.h.in: Define HAVE_PT_CHOWN.
5914 * config.make.in (build-pt-chown): New variable.
5915 * configure.in (--enable-pt_chown): New configure option.
5916 * configure: Regenerate.
5917 * login/Makefile: Include Makeconfig. Build pt_chown only if
5918 build-pt-chown is enabled.
5919 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5920 pt_chown to fix pty ownership.
5921 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5922 CLOSE_ALL_FDS.
5923 * manual/install.texi (Configuring and compiling): Mention
5924 --enable-pt_chown. Add @findex for grantpt.
5925 * INSTALL: Regenerate.
5926
da2d62df
DM
59272013-07-20 David S. Miller <davem@davemloft.net>
5928
5929 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5930 difference between 32-bit and 64-bit.
5931
d7e06450
CD
59322013-07-15 Carlos O'Donell <carlos@redhat.com>
5933
5934 [BZ #15711]
5935 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5936 Avoid system header dependency with -ffreestanding.
5937 ($(objpfx)bits/syscall%d): Likewise.
5938
f959cfd7
DM
59392013-07-13 David S. Miller <davem@davemloft.net>
5940
5941 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5942 underflows from atanl/atan2l due to bug 15319.
5943 (casinh_test_data): Likewise.
5944
c61f8513
DM
59452013-07-07 David S. Miller <davem@davemloft.net>
5946
5947 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5948
72c90ed0
JA
59492013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5950
5951 * sysdeps/i386/fpu/libm-test-ulps: Update.
5952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5953
52dfbe13
SP
59542013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5955
5956 * configure.in (--enable-lock-elision): Fix message text.
5957 * INSTALL: Regenerate.
5958 * configure: Regenerate.
5959
3f169543
AZ
59602013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5961
5962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5963
521c6785
AJ
59642013-07-03 Andreas Jaeger <aj@suse.de>
5965
5966 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5967 define.
5968 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5969 (ptrace_peeksiginfo_args): Add.
5970 (__ptrace_peeksiginfo_flags): Add.
5971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5972 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5973 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5974
d2cc15cb
AM
59752013-07-03 Allan McRae <allan@archlinux.org>
5976
5977 * sysdeps/i386/fpu/libm-test-ulps: Update.
5978
3aaeeca7
DM
59792013-07-02 David S. Miller <davem@davemloft.net>
5980
5981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5982
5314ed1a
MT
59832013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5984
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5986
67338156
JM
59872013-07-02 Joseph Myers <joseph@codesourcery.com>
5988
5989 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5991
1717da59
AK
59922013-07-02 Andi Kleen <ak@linux.intel.com>
5993
5994 * config.h.in (ENABLE_LOCK_ELISION): Add.
5995 * configure.in (--enable-lock-elision): Add option.
5996 * manual/install.texi: Document --enable lock elision.
5997 * configure: Regenerate
5998 * INSTALL: Regenerate.
5999
1c81621c
L
60002013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6001
6002 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6003 SSE4.2 strcasecmp for libc.a.
6004 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6005
77f01ab5
JM
60062013-07-02 Joseph Myers <joseph@codesourcery.com>
6007
6008 [BZ #13304]
6009 * soft-fp/op-common.h (_FP_FMA): New macro.
6010 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6011 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6012 (_FP_MUL_MEAT_1_imm): ... here.
6013 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6014 (_FP_MUL_MEAT_1_wide): ... here.
6015 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6016 (_FP_MUL_MEAT_1_hard): ... here.
6017 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6018 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6019 (_FP_MUL_MEAT_2_wide): ... here.
6020 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6021 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6022 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6023 (_FP_MUL_MEAT_2_gmp): ... here.
6024 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6025 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6026 (_FP_MUL_MEAT_4_wide): ... here.
6027 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6028 (_FP_MUL_MEAT_4_gmp): ... here.
6029 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6030 (_FP_WFRACBITS_DW_S): Likewise.
6031 (_FP_WFRACXBITS_DW_S): Likewise.
6032 (_FP_HIGHBIT_DW_S): Likewise.
6033 (FP_FMA_S): Likewise.
6034 (_FP_FRAC_HIGH_DW_S): Likewise.
6035 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6036 (_FP_WFRACBITS_DW_D): Likewise.
6037 (_FP_WFRACXBITS_DW_D): Likewise.
6038 (_FP_HIGHBIT_DW_D): Likewise.
6039 (FP_FMA_D): Likewise.
6040 (_FP_FRAC_HIGH_DW_D): Likewise.
6041 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6042 (_FP_WFRACBITS_DW_E): Likewise.
6043 (_FP_WFRACXBITS_DW_E): Likewise.
6044 (_FP_HIGHBIT_DW_E): Likewise.
6045 (FP_FMA_E): Likewise.
6046 (_FP_FRAC_HIGH_DW_E): Likewise.
6047 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6048 (_FP_WFRACBITS_DW_Q): Likewise.
6049 (_FP_WFRACXBITS_DW_Q): Likewise.
6050 (_FP_HIGHBIT_DW_Q): Likewise.
6051 (FP_FMA_Q): Likewise.
6052 (_FP_FRAC_HIGH_DW_Q): Likewise.
6053 * soft-fp/fmasf4.c: New file.
6054 * soft-fp/fmadf4.c: Likewise.
6055 * soft-fp/fmatf4.c: Likewise.
6056
6308fd9a
LD
60572013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6058
6059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6060 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6061 Silvermont.
6062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6063 macro.
6064 (index_Slow_SSE4_2): Likewise.
6065 (index_Prefer_PMINUB_for_stringop): Likewise.
6066 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6067 bit_Slow_SSE4_2 is set.
6068 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6069 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6070
89cd9569
RA
60712013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6072
6073 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6074 rtld_global._dl_hwcap2.
6075 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6076 POWER8.
6077 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6078 POWER8 feature descriptions defined in _dl_hwcap2.
6079 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6080 string handling for POWER8 feature bits.
6081 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6082 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6083 _dl_powerpc_cap_flags.
6084 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6085 * sysdeps/powerpc/rtld-global-offsets.sym
6086 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6087 _dl_hwcap2 in the rtld_global_ro structure.
6088
1ae8bfe0
RA
60892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6090
6091 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6092 hardware capabilities in support of AT_HWCAP2.
6093 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6094 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6095 GLRO(dl_hwcap2).
6096 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6097 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6098 explicitly the unknown a_type display mechanism is used.
6099 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6100 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6101 struct member.
6102 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6103 to macro prototype for AT_HWCAP2 support.
6104 * sysdeps/i386/dl-procinfo.h: Likewise.
6105 * sysdeps/s390/dl-procinfo.h: Likewise.
6106 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6107 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6108 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6109 return -1 for unknown a_type display fallback.
6110 * sysdeps/sparc/dl-procinfo.h: Likewise.
6111 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6112 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6113
8fbec010
JM
61142013-06-28 Joseph Myers <joseph@codesourcery.com>
6115
6116 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6117 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6118
0432680e
PY
61192013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6120
6121 [BZ #12492]
6122 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6123 mprotect making __stack_prot writable.
6124
ce61a2ad
NF
61252013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6126 Joseph Myers <joseph@codesourcery.com>
6127
6128 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6129 as being properly aligned.
6130
f91f1c0f
MR
61312013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6132
3d0f5d0c
MR
6133 * dlfcn/modstatic5.c: New file.
6134 * dlfcn/tststatic5.c: New file.
6135 * dlfcn/Makefile (tests): Add tststatic5.
6136 (tests-static): Likewise.
6137 (modules-names): Add modstatic5.
6138 (tststatic5-ENV): New variable.
6139 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6140
f91f1c0f
MR
6141 [BZ #15022]
6142 * elf/dl-support.c (_dl_main_map): New variable.
6143 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6144 (_dl_nns, _dl_load_adds): Set to 1.
6145 (_dl_initial_searchlist): Refer to _dl_main_map.
6146 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6147 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6148 call to _dl_get_origin.
6149 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6150 around call_map.
6151 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6152 * dlfcn/modstatic3.c: New file.
6153 * dlfcn/tststatic3.c: New file.
6154 * dlfcn/tststatic4.c: New file.
6155 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6156 (tests-static): Likewise.
6157 (modules-names): Add modstatic3.
6158 (tststatic3-ENV, tststatic4-ENV): New variables.
6159 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6160 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6161
cbe7d24b
JM
61622013-06-26 Joseph Myers <joseph@codesourcery.com>
6163
6164 * configure.in (CC): Require GCC version 4.4 or later.
6165 * configure: Regenerated.
6166 * manual/install.texi (Tools for Compilation): Update GCC version
6167 requirement.
6168 * INSTALL: Regenerated.
6169
11b8a0e1
LD
61702013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6171
6172 [BZ #15674]
bb5bb87c
L
6173 * string/test-memcmp.c (check2): New.
6174 (main): Call check2.
6175
11b8a0e1
LD
6176 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6177
b0037103
MR
61782013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6179
6180 [BZ #15022]
6181 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6182 over to...
6183 (dl_open_worker) [!SHARED]: ... here.
6184
c18c701d
RA
61852013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6186
6187 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6188
1d17fa5f
RH
61892013-06-25 Richard Henderson <rth@redhat.com>
6190
6191 * locale/programs/locarchive.c: Include <libc-internal.h>
6192
8fcb833a
JM
61932013-06-25 Joseph Myers <joseph@codesourcery.com>
6194
6195 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6196 trailing whitespace removed.
6197
17db6e8d
MF
61982013-06-24 Mike Frysinger <vapier@gentoo.org>
6199
6200 [BZ #10283]
17db6e8d
MF
6201 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6202 * locale/programs/locarchive.c: Include libc-mmap.h.
6203 (prepare_address_space): Take two new outputs (the mmap base and len).
6204 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6205 values.
6206 (create_archive): Declare new mmap base and len values for
6207 prepare_address_space, and store the result in ah.
6208 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6209 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6210 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6211 Declare new mmap base and len values for
6212 prepare_address_space, and store the result in new_ah.
6213 (open_archive): Declare new mmap base and len values for
6214 prepare_address_space, and store the result in ah.
6215 (close_archive): If ah->mmap_base is not NULL, use that and
6216 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6217 * sysdeps/generic/libc-mmap.h: New file.
6218
d605071e
MF
62192013-06-24 Mike Frysinger <vapier@gentoo.org>
6220
6221 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6222 (ALIGN_UP): Likewise.
6223 (PTR_ALIGN_DOWN): Likewise.
6224 (PTR_ALIGN_UP): Likewise.
6225
2f063a6e
RA
62262013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6227
6228 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6229 entry mapped to PPC_PLATFORM_POWER8.
6230 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6231 POWER8.
6232 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6233 (_dl_string_platform): Add case for exporting platform position for
6234 POWER8.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6236 search path to sysdeps/powerpc/powerpc32/power8 directory.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6238 search path to sysdeps/powerpc/powerpc64/power8 directory.
6239 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6240 power7 directories.
6241 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6242 power7 directories.
6243
a31ee4b3
SP
62442013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6245
a74ca98f
SP
6246 * INSTALL: Regenerate.
6247
a31ee4b3
SP
6248 * nscd/connections.c (nscd_init): Fix comment.
6249
695c378f
JM
62502013-06-22 Joseph Myers <joseph@codesourcery.com>
6251
d8412221
JM
6252 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6253
695c378f
JM
6254 [BZ #15667]
6255 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6256 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6257
d1d54715
MR
62582013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6259
6260 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6261 DL_DST_REQ_STATIC.
6262 (DL_DST_REQ_STATIC): Remove macro.
6263
8fdda7af
JM
62642013-06-21 Joseph Myers <joseph@codesourcery.com>
6265
6266 [BZ #7006]
6267 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6268 with a shift of 0 bits.
6269
f3bc5e5a
MR
62702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6271
6272 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6273 $(tststatic-ENV).
6274
be09e8c9
KK
62752013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6276
6277 [BZ #15655]
6278 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6279
85c2e611
AZ
62802013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281
6282 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6283 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6284 accepts -fno-tree-loop-distribute-patterns.
6285 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6286 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6287 recursive call.
6288 * string/memset.c (memset): Likewise.
6289 * string/test-memmove.c (simple_memmove): Disable loop transformation
6290 to library calls.
6291 * string/test-memset.c (simple_memset): Likewise.
6292 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6293 * benchtests/bench-memset.c (simple_memset): Likewise.
6294 * configure: Regenerated.
6295
c91e0825
JM
62962013-06-20 Joseph Myers <joseph@codesourcery.com>
6297
b8c792af
JM
6298 * math/test-misc.c (main): Ignore fesetround failure when failures
6299 of subsequent rounding tests would be ignored.
6300
c91e0825
JM
6301 [BZ #15654]
6302 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6303 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6304 * math/fegetenv.c (__fegetenv): Return 0.
6305 * math/fegetexcept.c (fegetexcept): Return 0.
6306 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6307 FE_TONEAREST.
6308 * math/feholdexcpt.c (feholdexcept): Return 0.
6309 * math/fesetenv.c (__fesetenv): Return 0.
6310 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6311 argument FE_TONEAREST.
6312 * math/feupdateenv.c (__feupdateenv): Return 0.
6313 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6314
bfcacbde
RM
63152013-06-18 Roland McGrath <roland@hack.frob.com>
6316
6317 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6318 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6319 ($(objpfx)rtld-%.os rules): Use them.
6320
e55a9b25
AZ
63212013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6322
6323 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6324 fields.
6325
346d65b3
RM
63262013-06-17 Roland McGrath <roland@hack.frob.com>
6327
12086fb4
RM
6328 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6329 length of target pattern, then descending length of dependency pattern.
6330 * configure.in (AWK): Require gawk 3.1.2 or newer.
6331 * manual/install.texi (Tools for Compilation): Say that we do.
6332 * configure: Regenerated.
6333
346d65b3
RM
6334 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6335 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6336 * scripts/sysd-rules.awk: ... this new script.
6337 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6338 than a glob-style pattern.
6339
1a846317
JM
63402013-06-17 Joseph Myers <joseph@codesourcery.com>
6341
6342 * math/test-misc.c (main): Do not treat incorrectly rounded
6343 conversions as failure unless ROUNDING_TESTS passes.
6344
8fc75e6f
JM
63452013-06-15 Joseph Myers <joseph@codesourcery.com>
6346
3711a167
JM
6347 [BZ #15631]
6348 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6349 restore exception state around main square root computation, then
6350 check for inexactness explicitly.
6351
8fc75e6f
JM
6352 * math/libm-test.inc (fma_test_data): Add another test.
6353
61dd6208
SP
63542013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6355
adf23d2c
SP
6356 * manual/threads.texi (Non-POSIX Extensions): New document
6357 node. Document pthread_getattr_default_np and
6358 pthread_setattr_default_np.
6359
61dd6208
SP
6360 * Versions.def (libpthread): Add GLIBC_2.18.
6361 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6363 Likewise.
6364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6365 Likewise.
6366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6367 Likewise.
6368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6369 Likewise.
6370 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6371 Likewise.
6372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6373 Likewise.
6374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6375 Likewise.
6376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6377 Likewise.
6378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6379 Likewise.
6380
d086fc7b
LD
63812013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6382
6383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6384 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6385
747ef469
SP
63862013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6387 H.J. Lu <hjl.tools@gmail.com>
6388
6389 [BZ #15627]
6390 * sysdeps/x86_64/rtld-memset.c: Remove file.
6391 * sysdeps/x86_64/rtld-memset.S: New file.
6392
1b2feed2
JM
63932013-06-14 Joseph Myers <joseph@codesourcery.com>
6394
6395 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6396 (test_in_one_mode): Take arguments for whether the rounding mode
6397 is supported for each floating-point type.
6398 (do_test): Pass new arguments to test_in_one_mode using
6399 ROUNDING_TESTS.
6400
a58ad3f8
RM
64012013-06-13 Roland McGrath <roland@hack.frob.com>
6402
6403 * posix/tst-waitid.c (do_test): Distinguish different instances of
6404 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6405 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6406 before entering the kernel for waitpid.
6407
c204ab28
SP
64082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6409
6410 * NEWS: Fix note on clock function precision. Text by Roland
6411 McGrath.
6412
f4a29fba
RM
64132013-06-13 Roland McGrath <roland@hack.frob.com>
6414
6415 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6416 it into place only when and if the sanity check passes.
6417
1f24b9ad
JM
64182013-06-13 Joseph Myers <joseph@codesourcery.com>
6419
6420 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6421 output for whether conversion result is exact. Take argument
6422 indicating whether type is IBM long double.
6423 (round_for_all): Change need_exact field to ibm_ld.
6424 * stdlib/tst-strtod-round.c (struct exactness): New type.
6425 (struct test): Change bool ld_ok field to struct exactness exact.
6426 (TEST): Update all definitions for change to field.
6427 (tests): Regenerate array contents.
6428 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6429 field value. Check for IBM long double here.
6430 (do_test): Update calls to test_in_one_mode.
6431
58206c68
SP
64322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6433
6434 [BZ #12515]
6435 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6436 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6437
2d6f4c5b 64382013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6439
6440 [BZ #15605]
6441 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6442 generated by the compiler on loop optimizations.
6443 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6444 general definitions.
6445
94f2c076
JM
64462013-06-12 Joseph Myers <joseph@codesourcery.com>
6447
6448 * math/bug-nextafter.c: Include <math-tests.h>.
6449 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6450 the relevant type.
6451 * math/bug-nexttoward.c: Include <math-tests.h>.
6452 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6453 the relevant type.
6454 * math/test-misc.c: Include <math-tests.h>.
6455 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6456 the relevant type.
6457
e0e50a0a
AJ
64582013-06-12 Andreas Jaeger <aj@suse.de>
6459
6460 * po/ia.po: Update Interlingua translation from translation
6461 project.
6462
25061094
SP
64632013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6464
6465 * include/fenv.h: Include stdbool.h.
6466 (struct rm_ctx): New structure.
6467 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6468 Define macro.
6469 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6470 (SET_RESTORE_ROUNDF): Likewise.
6471 (SET_RESTORE_ROUNDL): Likewise.
6472 (SET_RESTORE_ROUND_NOEX): Likewise.
6473 (SET_RESTORE_ROUND_NOEXF): Likewise.
6474 (SET_RESTORE_ROUND_NOEXL): Likewise.
6475 (SET_RESTORE_ROUND_53BIT): Likewise.
6476 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6477 (libc_feresetround_noexf_ctx): Likewise.
6478 (libc_feresetround_noexl_ctx): Likewise.
6479 (libc_feholdsetround_53bit_ctx): Likewise.
6480 (libc_feresetround_53bit_ctx): Likewise.
6481 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6482 (libc_feholdexcept_setround_sse_ctx): New function.
6483 (libc_fesetenv_sse_ctx): Likewise.
6484 (libc_feupdateenv_sse_ctx): Likewise.
6485 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6486 (libc_feholdexcept_setround_387_ctx): Likewise.
6487 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6488 (libc_feholdsetround_387_prec_ctx): Likewise.
6489 (libc_feholdsetround_387_ctx): Likewise.
6490 (libc_feholdsetround_387_53bit_ctx): Likewise.
6491 (libc_feholdsetround_sse_ctx): Likewise.
6492 (libc_feresetround_sse_ctx): Likewise.
6493 (libc_feresetround_387_ctx): Likewise.
6494 (libc_feupdateenv_387_ctx): Likewise.
6495 (libc_feholdexcept_setroundf_ctx): Define macro.
6496 (libc_fesetenvf_ctx): Likewise.
6497 (libc_feupdateenvf_ctx): Likewise.
6498 (libc_feholdsetroundf_ctx): Likewise.
6499 (libc_feresetroundf_ctx): Likewise.
6500 (libc_feholdexcept_setround_ctx): Likewise.
6501 (libc_fesetenv_ctx): Likewise.
6502 (libc_feupdateenv_ctx): Likewise.
6503 (libc_feholdsetround_ctx): Likewise.
6504 (libc_feresetround_ctx): Likewise.
6505 (libc_feholdexcept_setroundl_ctx): Likewise.
6506 (libc_feupdateenvl_ctx): Likewise.
6507 (libc_feholdsetroundl_ctx): Likewise.
6508 (libc_feresetroundl_ctx): Likewise.
6509 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6510 (libc_feresetround_53bit_ctx): Likewise.
6511
59b30555
SP
65122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6513
6514 * locale/iso-639.def: Convert to UTF-8.
6515
f1d73d30
JM
65162013-06-11 Joseph Myers <joseph@codesourcery.com>
6517
6518 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6519 (EXCEPTION_TESTS_double): Likewise.
6520 (EXCEPTION_TESTS_long_double): Likewise.
6521 (EXCEPTION_TESTS): Likewise.
6522 * math/libm-test.inc (test_exceptions): Only test exceptions if
6523 EXCEPTION_TESTS (FLOAT).
6524
94aca5e7
SP
65252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6526
6527 * benchtests/Makefile (string-bench): Add strcpy_chk and
6528 stpcpy_chk.
6529 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6530 * benchtests/bench-stpcpy_chk.c: New file.
6531 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6532 * benchtests/bench-strcpy_chk.c: New file.
6533 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6534 code.
6535 (do_test): Likewise.
6536
fac0c5f2
RA
65372013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6538
6539 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6540 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6541 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6542 with tabs where appropriate.
6543 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6544 dl-procinfo.h.
6545 [PPC_PLATFORM_PPC440]: Likewise.
6546 [PPC_PLATFORM_PPC464]: Likewise.
6547 [PPC_PLATFORM_PPC476]: Likewise.
6548 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6549 ppc464, and ppc476 platform strings merging from ports/
6550 dl-procinfo.h.
6551
f22bc486
AS
65522013-06-11 Andreas Schwab <schwab@suse.de>
6553
6554 [BZ #14991]
6555 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6556 (from_ucs4_idx): Regenerate.
6557 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6558 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6559 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6560 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6561 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6562 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6563 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6564 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6565 from FROM_LOOP and TO_LOOP specific macros.
6566 (BODY): Handle combining characters.
6567 * iconvdata/BIG5HKSCS.irreversible: Update.
6568 * iconvdata/BIG5HKSCS.precomposed: New file.
6569 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6570 characters.
6571 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6572
c1f75dc3
SP
65732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
4eacded2
SP
6575 * include/sys/time.h: Fix indentation and add copyright header.
6576
fec799f8
SP
6577 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6578 (do_test): Likewise.
6579 * string/test-memchr.c (do_one_test): Likewise.
6580 (do_test): Likewise.
6581 * string/test-memcmp.c (do_one_test): Likewise.
6582 (do_test): Likewise.
6583 * string/test-memcpy.c (do_one_test): Likewise.
6584 (do_test): Likewise.
6585 * string/test-memmem.c (do_one_test): Likewise.
6586 (do_test): Likewise.
6587 (do_random_tests): Likewise.
6588 * string/test-memmove.c (do_one_test): Likewise.
6589 (do_test): Likewise.
6590 * string/test-memset.c (do_one_test): Likewise.
6591 (do_test): Likewise.
6592 * string/test-rawmemchr.c (do_one_test): Likewise.
6593 (do_test): Likewise.
6594 * string/test-strcasecmp.c (do_one_test): Likewise.
6595 (do_test): Likewise.
6596 * string/test-strcasestr.c (do_one_test): Likewise.
6597 (do_test): Likewise.
6598 * string/test-strcat.c (do_one_test): Likewise.
6599 (do_test): Likewise.
6600 * string/test-strchr.c (do_one_test): Likewise.
6601 (do_test): Likewise.
6602 * string/test-strcmp.c (do_one_test): Likewise.
6603 (do_test): Likewise.
6604 * string/test-strcpy.c (do_one_test): Likewise.
6605 (do_test): Likewise.
6606 * string/test-string.h: Likewise.
6607 (test_init): Likewise.
6608 * string/test-strlen.c (do_one_test): Likewise.
6609 (do_test): Likewise.
6610 * string/test-strncasecmp.c (do_one_test): Likewise.
6611 (do_test): Likewise.
6612 * string/test-strncat.c (do_one_test): Likewise.
6613 (do_test): Likewise.
6614 * string/test-strncmp.c (do_one_test): Likewise.
6615 (do_test_limit): Likewise.
6616 (do_test): Likewise.
6617 * string/test-strncpy.c (do_one_test): Likewise.
6618 (do_test): Likewise.
6619 * string/test-strnlen.c (do_one_test): Likewise.
6620 (do_test): Likewise.
6621 * string/test-strpbrk.c (do_one_test): Likewise.
6622 (do_test): Likewise.
6623 * string/test-strrchr.c (do_one_test): Likewise.
6624 (do_test): Likewise.
6625 * string/test-strspn.c (do_one_test): Likewise.
6626 (do_test): Likewise.
6627 * string/test-strstr.c (do_one_test): Likewise.
6628 (do_test): Likewise.
6629
97020474
SP
6630 * benchtests/Makefile (string-bench): Add string benchmarks.
6631 * benchtests/bench-bcopy-ifunc.c: New file.
6632 * benchtests/bench-bcopy.c: New file.
6633 * benchtests/bench-bzero-ifunc.c: New file.
6634 * benchtests/bench-bzero.c: New file.
6635 * benchtests/bench-memccpy-ifunc.c: New file.
6636 * benchtests/bench-memccpy.c: New file.
6637 * benchtests/bench-memchr-ifunc.c: New file.
6638 * benchtests/bench-memchr.c: New file.
6639 * benchtests/bench-memcmp-ifunc.c: New file.
6640 * benchtests/bench-memcmp.c: New file.
6641 * benchtests/bench-memmem-ifunc.c: New file.
6642 * benchtests/bench-memmem.c: New file.
6643 * benchtests/bench-memmove-ifunc.c: New file.
6644 * benchtests/bench-memmove.c: New file.
6645 * benchtests/bench-mempcpy-ifunc.c: New file.
6646 * benchtests/bench-mempcpy.c: New file.
6647 * benchtests/bench-memset-ifunc.c: New file.
6648 * benchtests/bench-memset.c: New file.
6649 * benchtests/bench-rawmemchr-ifunc.c: New file.
6650 * benchtests/bench-rawmemchr.c: New file.
6651 * benchtests/bench-stpcpy-ifunc.c: New file.
6652 * benchtests/bench-stpcpy.c: New file.
6653 * benchtests/bench-stpncpy-ifunc.c: New file.
6654 * benchtests/bench-stpncpy.c: New file.
6655 * benchtests/bench-strcasecmp-ifunc.c: New file.
6656 * benchtests/bench-strcasecmp.c: New file.
6657 * benchtests/bench-strcasestr-ifunc.c: New file.
6658 * benchtests/bench-strcasestr.c: New file.
6659 * benchtests/bench-strcat-ifunc.c: New file.
6660 * benchtests/bench-strcat.c: New file.
6661 * benchtests/bench-strchr-ifunc.c: New file.
6662 * benchtests/bench-strchr.c: New file.
6663 * benchtests/bench-strchrnul-ifunc.c: New file.
6664 * benchtests/bench-strchrnul.c: New file.
6665 * benchtests/bench-strcmp-ifunc.c: New file.
6666 * benchtests/bench-strcmp.c: New file.
6667 * benchtests/bench-strcpy-ifunc.c: New file.
6668 * benchtests/bench-strcpy.c: New file.
6669 * benchtests/bench-strcspn-ifunc.c: New file.
6670 * benchtests/bench-strcspn.c: New file.
6671 * benchtests/bench-strlen-ifunc.c: New file.
6672 * benchtests/bench-strlen.c: New file.
6673 * benchtests/bench-strncasecmp-ifunc.c: New file.
6674 * benchtests/bench-strncasecmp.c: New file.
6675 * benchtests/bench-strncat-ifunc.c: New file.
6676 * benchtests/bench-strncat.c: New file.
6677 * benchtests/bench-strncmp-ifunc.c: New file.
6678 * benchtests/bench-strncmp.c: New file.
6679 * benchtests/bench-strncpy-ifunc.c: New file.
6680 * benchtests/bench-strncpy.c: New file.
6681 * benchtests/bench-strnlen-ifunc.c: New file.
6682 * benchtests/bench-strnlen.c: New file.
6683 * benchtests/bench-strpbrk-ifunc.c: New file.
6684 * benchtests/bench-strpbrk.c: New file.
6685 * benchtests/bench-strrchr-ifunc.c: New file.
6686 * benchtests/bench-strrchr.c: New file.
6687 * benchtests/bench-strspn-ifunc.c: New file.
6688 * benchtests/bench-strspn.c: New file.
6689 * benchtests/bench-strstr-ifunc.c: New file.
6690 * benchtests/bench-strstr.c: New file.
6691
c1f75dc3
SP
6692 * benchtests/Makefile: Disable parallel execution of targets.
6693 (string-bench): Add memcpy.
6694 (benchset): New variable to store a list of benchmark sets.
6695 (bench-func): Renamed from bench.
6696 (bench-set): New target.
6697 (bench): Depend on bench-func and bench-set.
6698 * benchtests/README: Add section on benchmark sets.
6699 * benchtests/bench-memcpy-ifunc.c: New file.
6700 * benchtests/bench-memcpy.c: New file.
6701 * benchtests/bench-string.h: New file.
6702
50fd745b
AS
67032013-06-11 Andreas Schwab <schwab@suse.de>
6704
6705 [BZ #15577]
6706 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6707 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6708 values in the triple.
6709 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6710 terminator in the group key.
6711
3ee7e9fe
AJ
67122013-06-11 Andreas Jaeger <aj@suse.de>
6713
6714 * po/zh_TW.po: Update Chinese (traditional) translation from
6715 translation project.
6716
89fb6835
SP
67172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6718
6719 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6720 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6721 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6722 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6723 (clock_getcpuclockid): Likewise.
6724 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6725 Add weak_alias and libc_hidden_def.
6726 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6727 * rt/clock_gettime.c (clock_gettime): Rename to
6728 __clock_gettime. Add weak_alias and libc_hidden_def.
6729 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6730 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6731 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6732 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6733 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6734 Likewise.
6735 * rt/clock_settime.c (clock_settime): Rename to
6736 __clock_settime. Add weak_alias and libc_hidden_def.
6737 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6738
0efa6f8b
JM
67392013-06-10 Joseph Myers <joseph@codesourcery.com>
6740
b8c61b4b
JM
6741 * mach/err_boot.sub: Remove trailing whitespace.
6742 * mach/err_ipc.sub: Likewise.
6743 * mach/err_mach.sub: Likewise.
6744
0efa6f8b
JM
6745 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6746 (ROUNDING_TESTS_double): Likewise.
6747 (ROUNDING_TESTS_long_double): Likewise.
6748 (ROUNDING_TESTS): Likewise.
6749 * math/libm-test.inc: Include <math-tests.h>.
6750 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6751 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6752 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6753 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6754
50b818bf
SP
67552013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6756
6757 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6758 of assigning.
6759
60d2f8f3
JM
67602013-06-08 Joseph Myers <joseph@codesourcery.com>
6761
4902d2c3
JM
6762 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6763 otherwise empty TRANS lines.
6764 * sysdeps/gnu/errlist.c: Regenerated.
6765
60d2f8f3
JM
6766 * catgets/gencat.c (error_print): Use (void) in function
6767 definition.
6768 * crypt/crypt_util.c (__init_des): Likewise.
6769 * crypt/speeds.c (Stop): Likewise.
6770 (main): Likewise.
6771 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6772 * inet/ruserpass.c (token): Likewise.
6773 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6774 * intl/localealias.c (extend_alias_table): Likewise.
6775 * intl/plural-exp.c (init_germanic_plural): Likewise.
6776 * libio/fcloseall.c (__fcloseall): Likewise.
6777 * libio/genops.c (_IO_flush_all): Likewise.
6778 (_IO_flush_all_linebuffered): Likewise.
6779 (_IO_cleanup): Likewise.
6780 (_IO_iter_begin): Likewise.
6781 (_IO_iter_end): Likewise.
6782 (_IO_list_lock): Likewise.
6783 (_IO_list_unlock): Likewise.
6784 (_IO_list_resetlock): Likewise.
6785 * libio/getchar.c (getchar): Likewise.
6786 * libio/getchar_u.c (getchar_unlocked): Likewise.
6787 * libio/getwchar.c (getwchar): Likewise.
6788 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6789 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6790 * login/getpt.c (__getpt): Likewise.
6791 * login/tst-utmp.c (main): Likewise.
6792 * malloc/hooks.c (__malloc_check_init): Likewise.
6793 * malloc/malloc.c (__malloc_stats): Likewise.
6794 * malloc/mtrace.c (tr_break): Likewise.
6795 (mtrace): Likewise.
6796 (muntrace): Likewise.
6797 * misc/fstab.c (endfsent): Likewise.
6798 * misc/getclktck.c (__getclktck): Likewise.
6799 * misc/getdtsz.c (__getdtablesize): Likewise.
6800 * misc/gethostid.c (gethostid): Likewise.
6801 * misc/getpagesize.c (__getpagesize): Likewise.
6802 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6803 (__get_nprocs): Likewise.
6804 (__get_phys_pages): Likewise.
6805 (__get_avphys_pages): Likewise.
6806 * misc/getttyent.c (getttyent): Likewise.
6807 (setttyent): Likewise.
6808 (endttyent): Likewise.
6809 * misc/getusershell.c (getusershell): Likewise.
6810 (endusershell): Likewise.
6811 (setusershell): Likewise.
6812 (initshells): Likewise.
6813 * misc/hsearch.c (__hdestroy): Likewise.
6814 * misc/sync.c (sync): Likewise.
6815 * misc/syslog.c (closelog_internal): Likewise.
6816 (closelog): Likewise.
6817 * misc/ttyslot.c (ttyslot): Likewise.
6818 * misc/vhangup.c (vhangup): Likewise.
6819 * posix/fork.c (__fork): Likewise.
6820 * posix/getegid.c (__getegid): Likewise.
6821 * posix/geteuid.c (__geteuid): Likewise.
6822 * posix/getgid.c (__getgid): Likewise.
6823 * posix/getpid.c (__getpid): Likewise.
6824 * posix/getppid.c (__getppid): Likewise.
6825 * posix/getuid.c (__getuid): Likewise.
6826 * posix/pause.c (pause): Likewise.
6827 * posix/setpgrp.c (setpgrp): Likewise.
6828 * posix/setsid.c (__setsid): Likewise.
6829 * posix/test-vfork.c (noop): Likewise.
6830 * resolv/gethnamaddr.c (_endhtent): Likewise.
6831 (_gethtent): Likewise.
6832 (ht_endhostent): Likewise.
6833 (gethostent): Likewise.
6834 (dns_service): Likewise.
6835 * stdlib/drand48.c (drand48): Likewise.
6836 * stdlib/lrand48.c (lrand48): Likewise.
6837 * stdlib/mrand48.c (mrand48): Likewise.
6838 * stdlib/rand.c (rand): Likewise.
6839 * stdlib/random.c (__random): Likewise.
6840 * stdlib/setenv.c (clearenv): Likewise.
6841 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6842 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6843 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6844 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6845 (__get_nprocs): Likewise.
6846 (__get_phys_pages): Likewise.
6847 (__get_avphys_pages): Likewise.
6848 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6849 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6850 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6851 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6852 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6853 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6854 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6855 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6856 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6857 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6858 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6859 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6860 * sysdeps/posix/clock.c (clock): Likewise.
6861 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6862 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6863 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6864 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6865 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6866 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6867 (__get_nprocs_conf): Likewise.
6868 (__get_phys_pages): Likewise.
6869 (__get_avphys_pages): Likewise.
6870 * time/clock.c (clock): Likewise.
6871 * time/tzset.c (__tzname_max): Likewise.
6872
2e09a79a
JM
68732013-06-07 Joseph Myers <joseph@codesourcery.com>
6874
6875 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6876 (__bswap_32): Do not use "register".
6877 * crypt/crypt.c (_ufc_doit_r): Likewise.
6878 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6879 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6880 * gmon/gmon.c (__monstartup): Likewise.
6881 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6882 * hurd/hurdmalloc.c (more_memory): Likewise.
6883 (malloc): Likewise.
6884 (free): Likewise.
6885 (realloc): Likewise.
6886 (malloc_fork_prepare): Likewise.
6887 (malloc_fork_parent): Likewise.
6888 (malloc_fork_child): Likewise.
6889 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6890 (_svcauth_des): Likewise.
6891 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6892 * inet/inet_net.c (inet_network): Likewise.
6893 * inet/inet_netof.c (inet_netof): Likewise.
6894 * inet/rcmd.c (__validuser2_sa): Likewise.
6895 * io/fts.c (fts_open): Likewise.
6896 (fts_load): Likewise.
6897 (fts_close): Likewise.
6898 (fts_read): Likewise.
6899 (fts_children): Likewise.
6900 (fts_build): Likewise.
6901 (fts_stat): Likewise.
6902 (fts_sort): Likewise.
6903 (fts_alloc): Likewise.
6904 (fts_lfree): Likewise.
6905 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6906 (_IO_file_xsgetn): Likewise.
6907 (_IO_file_xsgetn_mmap): Likewise.
6908 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6909 (_IO_cookie_write): Likewise.
6910 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6911 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6912 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6913 * malloc/obstack.c (_obstack_begin): Likewise.
6914 (_obstack_begin_1): Likewise.
6915 (_obstack_newchunk): Likewise.
6916 (_obstack_allocated_p): Likewise.
6917 (obstack_free): Likewise.
6918 (_obstack_memory_used): Likewise.
6919 * misc/getttyent.c (getttynam): Likewise.
6920 (getttyent): Likewise.
6921 (skip): Likewise.
6922 (value): Likewise.
6923 * misc/getusershell.c (initshells): Likewise.
6924 * misc/syslog.c (__vsyslog_chk): Likewise.
6925 * misc/ttyslot.c (ttyslot): Likewise.
6926 * nis/nis_hash.c (__nis_hash): Likewise.
6927 * posix/fnmatch_loop.c (FCT): Likewise.
6928 * posix/getconf.c (print_all): Likewise.
6929 (main): Likewise.
6930 * posix/getopt.c (exchange): Likewise.
6931 * posix/glob.c (globfree): Likewise.
6932 (prefix_array): Likewise.
6933 (__glob_pattern_type): Likewise.
6934 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6935 (NS_GET32): Likewise.
6936 (NS_PUT16): Likewise.
6937 (NS_PUT32): Likewise.
6938 * resolv/gethnamaddr.c (getanswer): Likewise.
6939 (gethostbyname2): Likewise.
6940 (gethostbyaddr): Likewise.
6941 (_gethtent): Likewise.
6942 (_gethtbyname2): Likewise.
6943 (_gethtbyaddr): Likewise.
6944 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6945 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6946 * resolv/res_init.c (__res_vinit): Likewise.
6947 (net_mask): Likewise.
6948 * resolv/res_mkquery.c (outchar): Likewise.
6949 (PRINT): Likewise.
6950 * stdio-common/printf_fp.c (outchar): Likewise.
6951 (PRINT): Likewise.
6952 * stdio-common/printf_fphex.c (outchar): Likewise.
6953 (PRINT): Likewise.
6954 * stdio-common/printf_size.c (outchar): Likewise.
6955 (PRINT): Likewise.
6956 * stdio-common/test_rdwr.c (main): Likewise.
6957 * stdio-common/tfformat.c (matches): Likewise.
6958 * stdio-common/vfprintf.c (outchar): Likewise.
6959 (printf_unknown): Likewise.
6960 (buffered_vfprintf): Likewise.
6961 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6962 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6963 (ReadFile): Likewise.
6964 * stdlib/qsort.c (SWAP): Likewise.
6965 (_quicksort): Likewise.
6966 * stdlib/setenv.c (__add_to_environ): Likewise.
6967 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6968 * stdlib/strtol_l.c (__strtol_l): Likewise.
6969 * stdlib/tst-strtod.c (main): Likewise.
6970 * stdlib/tst-strtol.c (main): Likewise.
6971 * stdlib/tst-strtoll.c (main): Likewise.
6972 * string/bits/string2.h (__strcmp_cc): Likewise.
6973 (__strcmp_cg): Likewise.
6974 (__strcspn_c1): Likewise.
6975 (__strcspn_c2): Likewise.
6976 (__strcspn_c3): Likewise.
6977 (__strspn_c1): Likewise.
6978 (__strspn_c2): Likewise.
6979 (__strspn_c3): Likewise.
6980 (__strsep_1c): Likewise.
6981 (__strsep_2c): Likewise.
6982 (__strsep_3c): Likewise.
6983 * string/memccpy.c (__memccpy): Likewise.
6984 * string/stpcpy.c (__stpcpy): Likewise.
6985 * string/strcmp.c (strcmp): Likewise.
6986 * string/strrchr.c (strrchr): Likewise.
6987 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6988 Likewise.
6989 * sysdeps/mach/hurd/getcwd.c
6990 (_hurd_canonicalize_directory_name_internal): Likewise.
6991 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6992 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6993 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6994 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6995 Likewise, in both definitions.
6996 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6997 definitions.
6998 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6999 64] (__bswap_64): Likewise.
7000 * time/test_time.c (main): Likewise.
7001 * time/tzfile.c (__tzfile_read): Likewise.
7002 (__tzfile_compute): Likewise.
7003 * time/tzset.c (__tzset_parse_tz): Likewise.
7004 (tzset_internal): Likewise.
7005 (compute_change): Likewise.
7006 * wcsmbs/wcscat.c (__wcscat): Likewise.
7007 * wcsmbs/wcschr.c (wcschr): Likewise.
7008 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7009 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7010 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7011 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7012 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7013 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7014 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7015 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7016 * wcsmbs/wmemset.c (wmemset): Likewise.
7017
9e54314b
JM
70182013-06-06 Joseph Myers <joseph@codesourcery.com>
7019
7020 * scripts/config.guess: Update to version 2013-05-16.
7021 * scripts/config.sub: Update to version 2013-04-24.
7022 * scripts/install-sh: Update to version 2011-11-20.07.
7023 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7024 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7025
350635a5
OB
70262013-06-06 Ondřej Bílka <neleai@seznam.cz>
7027
7028 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7029 * elf/sln.c: Likewise.
7030 * hurd/hurd/ioctl.h: Likewise.
7031 * hurd/hurdmalloc.c: Likewise.
7032 * hurd/xattr.c: Likewise.
7033 * include/shlib-compat.h: Likewise.
7034 * inet/ruserpass.c: Likewise.
7035 * libio/iofgets_u.c: Likewise.
7036 * libio/iofgetws_u.c: Likewise.
7037 * locale/programs/ld-identification.c: Likewise.
7038 * locale/programs/ld-time.c: Likewise.
7039 * mach/msg-destroy.c: Likewise.
7040 * nss/nss_files/files-netgrp.c: Likewise.
7041 * resolv/res_data.c: Likewise.
7042 * soft-fp/op-1.h: Likewise.
7043 * soft-fp/op-2.h: Likewise.
7044 * soft-fp/op-4.h: Likewise.
7045 * soft-fp/op-common.h: Likewise.
7046 * stdio-common/printf_fphex.c: Likewise.
7047 * stdlib/strtod_l.c: Likewise.
7048 * sunrpc/rpc/clnt.h: Likewise.
7049 * sysdeps/generic/framestate.c: Likewise.
7050 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7051 * sysdeps/i386/bsd-setjmp.S: Likewise.
7052 * sysdeps/i386/__longjmp.S: Likewise.
7053 * sysdeps/i386/setjmp.S: Likewise.
7054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7055 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7071 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7072 * sysdeps/ieee754/support.c: Likewise.
7073 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7074 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7075 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7076 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7077 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7078 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7079 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7080 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7081 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7082 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7083 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7084 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7085 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7086 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7087 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7088 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7089 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7091
44a988af
OB
70922013-06-05 Ondřej Bílka <neleai@seznam.cz>
7093
25506f09 7094 * posix/transbug.c: Remove executable mode.
44a988af 7095
9c84384c
JM
70962013-06-05 Joseph Myers <joseph@codesourcery.com>
7097
7098 * crypt/speeds.c: Remove trailing whitespace.
7099 * dlfcn/default.c: Likewise.
7100 * elf/ifuncdep2.c: Likewise.
7101 * elf/ifuncmain1.c: Likewise.
7102 * elf/ifuncmain1vis.c: Likewise.
7103 * elf/testobj.h: Likewise.
7104 * elf/tst-stackguard1.c: Likewise.
7105 * gmon/sys/gmon.h: Likewise.
7106 * hurd/hurdmsg.c: Likewise.
7107 * hurd/new-fd.c: Likewise.
7108 * hurd/ports-get.c: Likewise.
7109 * iconvdata/ibm1008_420.c: Likewise.
7110 * inet/tst-getni1.c: Likewise.
7111 * inet/tst-getni2.c: Likewise.
7112 * libio/ioungetc.c: Likewise.
7113 * libio/wfiledoalloc.c: Likewise.
7114 * manual/libm-err-tab.pl: Likewise.
7115 * math/w_dremf.c: Likewise.
7116 * misc/ftruncate.c: Likewise.
7117 * posix/bug-glob2.c: Likewise.
7118 * posix/tst-pcre.c: Likewise.
7119 * posix/wait4.c: Likewise.
7120 * resolv/README: Likewise.
7121 * resolv/res_debug.h: Likewise.
7122 * resolv/tst-inet_ntop.c: Likewise.
7123 * setjmp/bug269-setjmp.c: Likewise.
7124 * soft-fp/extended.h: Likewise.
7125 * soft-fp/op-1.h: Likewise.
7126 * soft-fp/op-2.h: Likewise.
7127 * soft-fp/op-4.h: Likewise.
7128 * soft-fp/op-8.h: Likewise.
7129 * soft-fp/testit.c: Likewise.
7130 * stdio-common/bug16.c: Likewise.
7131 * stdlib/random.c: Likewise.
7132 * sunrpc/rpcsvc/rquota.x: Likewise.
7133 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7134 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7135 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7136 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7137 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7138 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7139 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7140 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7141 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7142 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7143 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7160 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7162 * sysdeps/ieee754/s_lib_version.c: Likewise.
7163 * sysdeps/mach/hurd/check_fds.c: Likewise.
7164 * sysdeps/mach/hurd/getsockname.c: Likewise.
7165 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7166 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7167 * sysdeps/powerpc/bits/link.h: Likewise.
7168 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7169 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7170 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7171 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7172 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7173 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7174 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7175 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7176 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7177 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7178 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7179 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7180 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7181 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7182 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7183 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7186 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7187 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7188 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7189 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7190 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7191 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7192 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7193 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7194 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7195 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7196 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7197 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7198 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7200 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7201 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7202 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7203 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7204 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7205 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7206 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7207 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7208 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7209 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7210 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7211 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7212 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7213 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7214 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7215 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7216 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7217 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7218 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7220 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7221 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7222 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7223 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7224 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7225 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7226 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7227 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7228 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7229 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7230 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7231 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7232 * sysdeps/powerpc/sysdep.h: Likewise.
7233 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7234 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7235 * sysdeps/sh/dl-trampoline.S: Likewise.
7236 * sysdeps/sh/memset.S: Likewise.
7237 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7238 * sysdeps/sh/strlen.S: Likewise.
7239 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7240 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7241 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7242 * sysdeps/sparc/sparc32/rem.S: Likewise.
7243 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7244 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7245 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7246 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7247 * sysdeps/sparc/sparc32/urem.S: Likewise.
7248 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7249 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7250 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7251 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7252 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7253 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7254 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7255 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7256 * sysdeps/unix/bsd/times.c: Likewise.
7257 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7258 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7262 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7263 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7264 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7265 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7266 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7267 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7268 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7269 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7270 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7271 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7272 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7273 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7274 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7275 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7276 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7277 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7278 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7279 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7281 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7282 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7283 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7285 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7286 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7287 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7288 * sysdeps/x86_64/strcspn.S: Likewise.
7289
869378a5
RA
72902013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7291
7292 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7293 generated file. Regenerate properly from gen-translit.pl.
7294 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7295 locale/C-translit.h.
7296
840e2943
AS
72972013-06-05 Andreas Schwab <schwab@suse.de>
7298
7299 [BZ #15100]
7300 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7301 week as 6 instead of -1.
7302 * time/tst-strptime.c (day_tests): Add test case.
7303
4c60cb0c
SP
73042013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7305
7306 * sysdeps/generic/math_private.h
7307 (libc_feholdexcept_setround_53bit): Replace with
7308 libc_feholdsetround_53bit.
7309 (libc_feupdateenv_53bit): Replace with
7310 libc_feresetround_53bit.
7311 (SET_RESTORE_ROUND_53BIT): Adjust.
7312
d180203e
SP
73132013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7314
96df079a
SP
7315 * string/test-strchrnul.c: Add copyright header.
7316
d180203e
SP
7317 * posix/tst-getaddrinfo4.c: Increase test timeout.
7318
8b0ccb2d
CD
73192013-06-03 Carlos O'Donell <carlos@redhat.com>
7320
7321 [BZ #15536]
7322 * math/libm-test.inc (MAX_EXP): Remove
7323 (MIN_EXP): Define.
7324 (ulp): Use MIN_EXP - MANT_DIG.
7325 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7326
3b3c4d40
CD
73272013-05-31 Carlos O'Donell <carlos@redhat.com>
7328
7329 * po/be.po: Revert last change.
7330 * po/zh_CN.po: Likewise.
7331 * po/header.pot: Likewise.
7332
fab7ce3f
JM
73332013-05-31 Joseph Myers <joseph@codesourcery.com>
7334
7335 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7336 link-libc-deps to empty as target-specific variable.
7337 * Makerules (link-libc-args): New variable.
7338 (libc-for-link): Likewise.
7339 (link-libc-deps): Likewise.
7340 (lib%.so): Depend on $(link-libc-deps). Link with
7341 $(link-libc-args).
7342 (build-module): Link with $(link-libc-args).
7343 (build-module-asneeded): Likewise.
7344 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7345 list of objects.
7346 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7347 target-specific variable.
7348 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7349 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7350 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7351 libc.
7352 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7353 libc and ld.so.
7354 ($(objpfx)libpcprofile.so): Likewise.
7355 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7356 libc_nonshared.a.
7357 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7358 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7359 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7360 $(link-libc-deps).
7361 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7362 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7363 * login/Makefile ($(objpfx)libutil.so): Likewise.
7364 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7365 * math/Makefile ($(objpfx)libm.so): Likewise.
7366 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7367 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7368 variable instead of depending directly on libc.
7369 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7370 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7371 $(link-libc-deps).
7372 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7373 libc.
7374 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7375 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7376 ($(objpfx)libanl.so): Likewise.
7377 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7378 ld.so.
7379 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7380 $(link-libc-deps).
7381 * sysdeps/i386/fpu/Makefile: Remove file.
7382 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7383 ($(objpfx)libm.so): Remove dependency on ld.so.
7384
eca5920c
PF
73852013-05-30 Patsy Franklin <pfrankli@redhat.com>
7386
7387 [BZ # 15553]
7388 * nis/yp_xdr.c (XDRMAXNAME): Define.
7389 (XDRMAXRECORD): Define.
7390 (xdr_domainname): Use XDRMAXNAME.
7391 (xdr_mapname): Likewise.
7392 (xdr_peername): Likewise.
7393 (xdr_keydat): Use XDRMAXRECORD.
7394 (xdr_valdat): Likewise.
7395
73962013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7397
7398 [BZ #14256]
7399 * manual/errno.texi (ESTALE): Update to account for more than
7400 just NFS file systems.
7401 * sysdeps/gnu/errlist.c: Regenerated.
7402
b9375348
SP
74032013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7404
7405 [BZ #15465]
7406 * elf/Makefile (tests): Add tst-null-argv.
7407 (modules-names): Add tst-null-argv-lib.
7408 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7409 (tst-null-argv-ENV): Set environment for tst-null-argv.
7410 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7411 (RTLD_PROGNAME): New macro.
7412 * elf/tst-null-argv.c: New test case.
7413 * elf/tst-null-argv-lib.c: Library for test case.
7414 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7415 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7416 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7417 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7418 * elf/dl-init.c (call_init): Likewise.
7419 (_dl_init): Likewise.
7420 * elf/dl-load.c (print_search_path): Likewise.
7421 (_dl_map_object): Likewise.
7422 * elf/dl-lookup.c (do_lookup_x): Likewise.
7423 (add_dependency): Likewise.
7424 (_dl_lookup_symbol_x): Likewise.
7425 (_dl_debug_bindings): Likewise.
7426 * elf/dl-open.c (_dl_show_scope): Likewise.
7427 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7428 * elf/dl-version.c (match_symbol): Likewise.
7429 (_dl_check_map_versions): Likewise.
7430 * elf/rtld.c (dl_main): Likewise.
7431 (print_unresolved): Use RTLD_PROGNAME.
7432 (print_missing_version): Likewise.
7433 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7434 (elf_machine_rela): Likewise.
7435 * sysdeps/powerpc/powerpc32/dl-machine.c
7436 (__process_machine_rela): Likewise.
7437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7438 Likewise.
7439 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7440 Likewise.
7441 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7442 Likewise.
7443 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7445 Likewise.
7446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7447 Likewise.
7448 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7449
8a9f20c8
CD
74502013-05-28 Carlos O'Donell <carlos@redhat.com>
7451
7452 * po/be.po: Add descriptive title.
7453 * po/zh_CN.po: Likewise.
7454 * po/header.pot: Likewise.
7455
0e60d68e
MF
74562013-05-28 Mike Frysinger <vapier@gentoo.org>
7457
7458 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7459 error message.
7460 (enlarge_archive): Likewise.
7461
56b672e9
BN
74622013-05-28 Ben North <ben@redfrontdoor.org>
7463
7464 * manual/arith.texi (frexp): It is the magnitude of the return
7465 value which lies in [0.5, 1), not the return value itself.
7466
5e056687
AZ
74672013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7468
7469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7470
2b66ef5d
TS
74712013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7472
528c2405
TS
7473 * stdio-common/bug26.c (main): Correct fscanf template.
7474
07b4c13d
TS
7475 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7476 declare _dl_skip_args.
7477
ec9dd97c
TS
7478 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7479 Don't declare.
7480
2b66ef5d
TS
7481 * manual/platform.texi: Add missing @end deftypefun.
7482
4f8dfe27
JM
74832013-05-24 Joseph Myers <joseph@codesourcery.com>
7484
0323d086
JM
7485 [BZ #15529]
7486 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7487 bit of mantissa of 2^16382.
7488 * math/libm-test.inc (hypot_test_data): Add more tests.
7489
dd4259b9
JM
7490 * math/libm-test.inc: Add drem and pow10 to list of tested
7491 functions.
7492 (pow10_test): New function.
7493 (drem_test): Likewise.
7494 (drem_test_tonearest): Likewise.
7495 (drem_test_towardzero): Likewise.
7496 (drem_test_downward): Likewise.
7497 (drem_test_upward): Likewise.
7498 (main): Call the new functions.
7499
4f8dfe27
JM
7500 * math/libm-test.inc (finite_test_data): Remove.
7501 (finite_test): Run tests from isfinite_test_data.
7502 (gamma_test_data): Remove.
7503 (gamma_test): Run tests from lgamma_test_data.
7504 * sysdeps/i386/fpu/libm-test-ulps: Update.
7505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7506
d116b7c4
AZ
75072013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7508
7509 * manual/platform.texi: Add PowerPC PPR function set documentation.
7510 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7511 implementation.
7512
e96e3767
CD
75132013-05-24 Carlos O'Donell <carlos@redhat.com>
7514
7515 * math/libm-test.inc (MAX_EXP): Define.
7516 (ULPDIFF): Define.
7517 (ulp): New function.
7518 (check_float_internal): Use ULPDIFF.
7519 (cpow_test): Disable failing test.
7520 (check_ulp): Test ulp() implemetnation.
7521 (main): Call check_ulp before starting tests.
7522
b679a606
JM
75232013-05-24 Joseph Myers <joseph@codesourcery.com>
7524
e8bdba36
JM
7525 * math/gen-libm-test.pl (generate_testfile): Do not handle
7526 START_DATA and END_DATA.
7527 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7528 END_DATA.
7529 (acos_tonearest_test_data): Likewise.
7530 (acos_towardzero_test_data): Likewise.
7531 (acos_downward_test_data): Likewise.
7532 (acos_upward_test_data): Likewise.
7533 (acosh_test_data): Likewise.
7534 (asin_test_data): Likewise.
7535 (asin_tonearest_test_data): Likewise.
7536 (asin_towardzero_test_data): Likewise.
7537 (asin_downward_test_data): Likewise.
7538 (asin_upward_test_data): Likewise.
7539 (asinh_test_data): Likewise.
7540 (atan_test_data): Likewise.
7541 (atanh_test_data): Likewise.
7542 (atan2_test_data): Likewise.
7543 (cabs_test_data): Likewise.
7544 (cacos_test_data): Likewise.
7545 (cacosh_test_data): Likewise.
7546 (carg_test_data): Likewise.
7547 (casin_test_data): Likewise.
7548 (casinh_test_data): Likewise.
7549 (catan_test_data): Likewise.
7550 (catanh_test_data): Likewise.
7551 (cbrt_test_data): Likewise.
7552 (ccos_test_data): Likewise.
7553 (ccosh_test_data): Likewise.
7554 (ceil_test_data): Likewise.
7555 (cexp_test_data): Likewise.
7556 (cimag_test_data): Likewise.
7557 (clog_test_data): Likewise.
7558 (clog10_test_data): Likewise.
7559 (conj_test_data): Likewise.
7560 (copysign_test_data): Likewise.
7561 (cos_test_data): Likewise.
7562 (cos_tonearest_test_data): Likewise.
7563 (cos_towardzero_test_data): Likewise.
7564 (cos_downward_test_data): Likewise.
7565 (cos_upward_test_data): Likewise.
7566 (cosh_test_data): Likewise.
7567 (cosh_tonearest_test_data): Likewise.
7568 (cosh_towardzero_test_data): Likewise.
7569 (cosh_downward_test_data): Likewise.
7570 (cosh_upward_test_data): Likewise.
7571 (cpow_test_data): Likewise.
7572 (cproj_test_data): Likewise.
7573 (creal_test_data): Likewise.
7574 (csin_test_data): Likewise.
7575 (csinh_test_data): Likewise.
7576 (csqrt_test_data): Likewise.
7577 (ctan_test_data): Likewise.
7578 (ctan_tonearest_test_data): Likewise.
7579 (ctan_towardzero_test_data): Likewise.
7580 (ctan_downward_test_data): Likewise.
7581 (ctan_upward_test_data): Likewise.
7582 (ctanh_test_data): Likewise.
7583 (ctanh_tonearest_test_data): Likewise.
7584 (ctanh_towardzero_test_data): Likewise.
7585 (ctanh_downward_test_data): Likewise.
7586 (ctanh_upward_test_data): Likewise.
7587 (erf_test_data): Likewise.
7588 (erfc_test_data): Likewise.
7589 (exp_test_data): Likewise.
7590 (exp_tonearest_test_data): Likewise.
7591 (exp_towardzero_test_data): Likewise.
7592 (exp_downward_test_data): Likewise.
7593 (exp_upward_test_data): Likewise.
7594 (exp10_test_data): Likewise.
7595 (exp2_test_data): Likewise.
7596 (expm1_test_data): Likewise.
7597 (fabs_test_data): Likewise.
7598 (fdim_test_data): Likewise.
7599 (finite_test_data): Likewise.
7600 (floor_test_data): Likewise.
7601 (fma_test_data): Likewise.
7602 (fma_towardzero_test_data): Likewise.
7603 (fma_downward_test_data): Likewise.
7604 (fma_upward_test_data): Likewise.
7605 (fmax_test_data): Likewise.
7606 (fmin_test_data): Likewise.
7607 (fmod_test_data): Likewise.
7608 (fpclassify_test_data): Likewise.
7609 (frexp_test_data): Likewise.
7610 (gamma_test_data): Likewise.
7611 (hypot_test_data): Likewise.
7612 (ilogb_test_data): Likewise.
7613 (isfinite_test_data): Likewise.
7614 (isgreater_test_data): Likewise.
7615 (isgreaterequal_test_data): Likewise.
7616 (isinf_test_data): Likewise.
7617 (isless_test_data): Likewise.
7618 (islessequal_test_data): Likewise.
7619 (islessgreater_test_data): Likewise.
7620 (isnan_test_data): Likewise.
7621 (isnormal_test_data): Likewise.
7622 (issignaling_test_data): Likewise.
7623 (isunordered_test_data): Likewise.
7624 (j0_test_data): Likewise.
7625 (j1_test_data): Likewise.
7626 (jn_test_data): Likewise.
7627 (ldexp_test_data): Likewise.
7628 (lgamma_test_data): Likewise.
7629 (lrint_test_data): Likewise.
7630 (lrint_tonearest_test_data): Likewise.
7631 (lrint_towardzero_test_data): Likewise.
7632 (lrint_downward_test_data): Likewise.
7633 (lrint_upward_test_data): Likewise.
7634 (llrint_test_data): Likewise.
7635 (llrint_tonearest_test_data): Likewise.
7636 (llrint_towardzero_test_data): Likewise.
7637 (llrint_downward_test_data): Likewise.
7638 (llrint_upward_test_data): Likewise.
7639 (log_test_data): Likewise.
7640 (log10_test_data): Likewise.
7641 (log1p_test_data): Likewise.
7642 (log2_test_data): Likewise.
7643 (logb_test_data): Likewise.
7644 (logb_downward_test_data): Likewise.
7645 (lround_test_data): Likewise.
7646 (llround_test_data): Likewise.
7647 (modf_test_data): Likewise.
7648 (nearbyint_test_data): Likewise.
7649 (nextafter_test_data): Likewise.
7650 (nexttoward_test_data): Likewise.
7651 (pow_test_data): Likewise.
7652 (pow_tonearest_test_data): Likewise.
7653 (pow_towardzero_test_data): Likewise.
7654 (pow_downward_test_data): Likewise.
7655 (pow_upward_test_data): Likewise.
7656 (remainder_test_data): Likewise.
7657 (remainder_tonearest_test_data): Likewise.
7658 (remainder_towardzero_test_data): Likewise.
7659 (remainder_downward_test_data): Likewise.
7660 (remainder_upward_test_data): Likewise.
7661 (remquo_test_data): Likewise.
7662 (rint_test_data): Likewise.
7663 (rint_tonearest_test_data): Likewise.
7664 (rint_towardzero_test_data): Likewise.
7665 (rint_downward_test_data): Likewise.
7666 (rint_upward_test_data): Likewise.
7667 (round_test_data): Likewise.
7668 (scalb_test_data): Likewise.
7669 (scalbn_test_data): Likewise.
7670 (scalbln_test_data): Likewise.
7671 (signbit_test_data): Likewise.
7672 (sin_test_data): Likewise.
7673 (sin_tonearest_test_data): Likewise.
7674 (sin_towardzero_test_data): Likewise.
7675 (sin_downward_test_data): Likewise.
7676 (sin_upward_test_data): Likewise.
7677 (sincos_test_data): Likewise.
7678 (sinh_test_data): Likewise.
7679 (sinh_tonearest_test_data): Likewise.
7680 (sinh_towardzero_test_data): Likewise.
7681 (sinh_downward_test_data): Likewise.
7682 (sinh_upward_test_data): Likewise.
7683 (sqrt_test_data): Likewise.
7684 (tan_test_data): Likewise.
7685 (tan_tonearest_test_data): Likewise.
7686 (tan_towardzero_test_data): Likewise.
7687 (tan_downward_test_data): Likewise.
7688 (tan_upward_test_data): Likewise.
7689 (tanh_test_data): Likewise.
7690 (tgamma_test_data): Likewise.
7691 (trunc_test_data): Likewise.
7692 (y0_test_data): Likewise.
7693 (y1_test_data): Likewise.
7694 (yn_test_data): Likewise.
7695 (significand_test_data): Likewise.
7696
b679a606
JM
7697 * math/gen-libm-test.pl (@functions): Remove variable.
7698 (generate_testfile): Don't handle START and END lines.
7699 * math/libm-test.inc (START): New macro.
7700 (END): Likewise.
7701 (END_COMPLEX): Likewise.
7702 (acos_test): Use END macro without arguments.
7703 (acos_test_tonearest): Likewise.
7704 (acos_test_towardzero): Likewise.
7705 (acos_test_downward): Likewise.
7706 (acos_test_upward): Likewise.
7707 (acosh_test): Likewise.
7708 (asin_test): Likewise.
7709 (asin_test_tonearest): Likewise.
7710 (asin_test_towardzero): Likewise.
7711 (asin_test_downward): Likewise.
7712 (asin_test_upward): Likewise.
7713 (asinh_test): Likewise.
7714 (atan_test): Likewise.
7715 (atanh_test): Likewise.
7716 (atan2_test): Likewise.
7717 (cabs_test): Likewise.
7718 (cacos_test): Use END_COMPLEX macro without arguments.
7719 (cacosh_test): Likewise.
7720 (carg_test): Use END macro without arguments.
7721 (casin_test): Use END_COMPLEX macro without arguments.
7722 (casinh_test): Likewise.
7723 (catan_test): Likewise.
7724 (catanh_test): Likewise.
7725 (cbrt_test): Use END macro without arguments.
7726 (ccos_test): Use END_COMPLEX macro without arguments.
7727 (ccosh_test): Likewise.
7728 (ceil_test): Use END macro without arguments.
7729 (cexp_test): Use END_COMPLEX macro without arguments.
7730 (cimag_test): Use END macro without arguments.
7731 (clog_test): Use END_COMPLEX macro without arguments.
7732 (clog10_test): Likewise.
7733 (conj_test): Likewise.
7734 (copysign_test): Use END macro without arguments.
7735 (cos_test): Likewise.
7736 (cos_test_tonearest): Likewise.
7737 (cos_test_towardzero): Likewise.
7738 (cos_test_downward): Likewise.
7739 (cos_test_upward): Likewise.
7740 (cosh_test): Likewise.
7741 (cosh_test_tonearest): Likewise.
7742 (cosh_test_towardzero): Likewise.
7743 (cosh_test_downward): Likewise.
7744 (cosh_test_upward): Likewise.
7745 (cpow_test): Use END_COMPLEX macro without arguments.
7746 (cproj_test): Likewise.
7747 (creal_test): Use END macro without arguments.
7748 (csin_test): Use END_COMPLEX macro without arguments.
7749 (csinh_test): Likewise.
7750 (csqrt_test): Likewise.
7751 (ctan_test): Likewise.
7752 (ctan_test_tonearest): Likewise.
7753 (ctan_test_towardzero): Likewise.
7754 (ctan_test_downward): Likewise.
7755 (ctan_test_upward): Likewise.
7756 (ctanh_test): Likewise.
7757 (ctanh_test_tonearest): Likewise.
7758 (ctanh_test_towardzero): Likewise.
7759 (ctanh_test_downward): Likewise.
7760 (ctanh_test_upward): Likewise.
7761 (erf_test): Use END macro without arguments.
7762 (erfc_test): Likewise.
7763 (exp_test): Likewise.
7764 (exp_test_tonearest): Likewise.
7765 (exp_test_towardzero): Likewise.
7766 (exp_test_downward): Likewise.
7767 (exp_test_upward): Likewise.
7768 (exp10_test): Likewise.
7769 (exp2_test): Likewise.
7770 (expm1_test): Likewise.
7771 (fabs_test): Likewise.
7772 (fdim_test): Likewise.
7773 (finite_test): Likewise.
7774 (floor_test): Likewise.
7775 (fma_test): Likewise.
7776 (fma_test_towardzero): Likewise.
7777 (fma_test_downward): Likewise.
7778 (fma_test_upward): Likewise.
7779 (fmax_test): Likewise.
7780 (fmin_test): Likewise.
7781 (fmod_test): Likewise.
7782 (fpclassify_test): Likewise.
7783 (frexp_test): Likewise.
7784 (gamma_test): Likewise.
7785 (hypot_test): Likewise.
7786 (ilogb_test): Likewise.
7787 (isfinite_test): Likewise.
7788 (isgreater_test): Likewise.
7789 (isgreaterequal_test): Likewise.
7790 (isinf_test): Likewise.
7791 (isless_test): Likewise.
7792 (islessequal_test): Likewise.
7793 (islessgreater_test): Likewise.
7794 (isnan_test): Likewise.
7795 (isnormal_test): Likewise.
7796 (issignaling_test): Likewise.
7797 (isunordered_test): Likewise.
7798 (j0_test): Likewise.
7799 (j1_test): Likewise.
7800 (jn_test): Likewise.
7801 (ldexp_test): Likewise.
7802 (lgamma_test): Likewise.
7803 (lrint_test): Likewise.
7804 (lrint_test_tonearest): Likewise.
7805 (lrint_test_towardzero): Likewise.
7806 (lrint_test_downward): Likewise.
7807 (lrint_test_upward): Likewise.
7808 (llrint_test): Likewise.
7809 (llrint_test_tonearest): Likewise.
7810 (llrint_test_towardzero): Likewise.
7811 (llrint_test_downward): Likewise.
7812 (llrint_test_upward): Likewise.
7813 (log_test): Likewise.
7814 (log10_test): Likewise.
7815 (log1p_test): Likewise.
7816 (log2_test): Likewise.
7817 (logb_test): Likewise.
7818 (logb_test_downward): Likewise.
7819 (lround_test): Likewise.
7820 (llround_test): Likewise.
7821 (modf_test): Likewise.
7822 (nearbyint_test): Likewise.
7823 (nextafter_test): Likewise.
7824 (nexttoward_test): Likewise.
7825 (pow_test): Likewise.
7826 (pow_test_tonearest): Likewise.
7827 (pow_test_towardzero): Likewise.
7828 (pow_test_downward): Likewise.
7829 (pow_test_upward): Likewise.
7830 (remainder_test): Likewise.
7831 (remainder_test_tonearest): Likewise.
7832 (remainder_test_towardzero): Likewise.
7833 (remainder_test_downward): Likewise.
7834 (remainder_test_upward): Likewise.
7835 (remquo_test): Likewise.
7836 (rint_test): Likewise.
7837 (rint_test_tonearest): Likewise.
7838 (rint_test_towardzero): Likewise.
7839 (rint_test_downward): Likewise.
7840 (rint_test_upward): Likewise.
7841 (round_test): Likewise.
7842 (scalb_test): Likewise.
7843 (scalbn_test): Likewise.
7844 (scalbln_test): Likewise.
7845 (signbit_test): Likewise.
7846 (sin_test): Likewise.
7847 (sin_test_tonearest): Likewise.
7848 (sin_test_towardzero): Likewise.
7849 (sin_test_downward): Likewise.
7850 (sin_test_upward): Likewise.
7851 (sincos_test): Likewise.
7852 (sinh_test): Likewise.
7853 (sinh_test_tonearest): Likewise.
7854 (sinh_test_towardzero): Likewise.
7855 (sinh_test_downward): Likewise.
7856 (sinh_test_upward): Likewise.
7857 (sqrt_test): Likewise.
7858 (tan_test): Likewise.
7859 (tan_test_tonearest): Likewise.
7860 (tan_test_towardzero): Likewise.
7861 (tan_test_downward): Likewise.
7862 (tan_test_upward): Likewise.
7863 (tanh_test): Likewise.
7864 (tgamma_test): Likewise.
7865 (trunc_test): Likewise.
7866 (y0_test): Likewise.
7867 (y1_test): Likewise.
7868 (yn_test): Likewise.
7869 (significand_test): Likewise.
7870
bae143d2
OB
78712013-05-24 Ondřej Bílka <neleai@seznam.cz>
7872
7873 [BZ #15381]
7874 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7875
9323d39b
EM
78762013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7877
d4ea44a0 7878 [BZ #14894]
9323d39b
EM
7879 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7880 __ppc_mdoio and __ppc_mdoom.
7881 * manual/platform.texi: Document new functions __ppc_yield,
7882 __ppc_mdoio and __ppc_mdoom.
7883
13e23af7
CD
78842013-05-22 Carlos O'Donell <carlos@redhat.com>
7885
7886 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7887 (main): Mention "tls" pseudo-hwcap is legacy.
7888 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7889
351fe550
JM
78902013-05-22 Joseph Myers <joseph@codesourcery.com>
7891
7892 * math/gen-libm-test.pl (parse_args): Output only string of
7893 arguments as text for test name, not full call or descriptions of
7894 tests for extra outputs.
7895 (generate_testfile): Do not pass function name to parse_args.
7896 Generate this_func variable from START.
7897 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7898 field to arg_str.
7899 (struct test_ff_f_data): Likewise.
7900 (test_ff_f_data_nexttoward): Likewise.
7901 (struct test_fi_f_data): Likewise.
7902 (struct test_fl_f_data): Likewise.
7903 (struct test_if_f_data): Likewise.
7904 (struct test_fff_f_data): Likewise.
7905 (struct test_c_f_data): Likewise.
7906 (struct test_f_f1_data): Likewise. Remove field extra_name.
7907 (struct test_fF_f1_data): Likewise.
7908 (struct test_ffI_f1_data): Likewise.
7909 (struct test_c_c_data): Rename test_name field to arg_str.
7910 (struct test_cc_c_data): Likewise.
7911 (struct test_f_i_data): Likewise.
7912 (struct test_ff_i_data): Likewise.
7913 (struct test_f_l_data): Likewise.
7914 (struct test_f_L_data): Likewise.
7915 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7916 and extra2_name.
7917 (COMMON_TEST_SETUP): New macro.
7918 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7919 (COMMON_TEST_CLEANUP): Likewise.
7920 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7921 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7922 macros.
7923 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7924 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7925 macros.
7926 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7927 (RUN_TEST_fff_f): Take argument string. Call new setup and
7928 cleanup macros.
7929 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7930 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7931 macros.
7932 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7933 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7934 macros.
7935 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7936 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7937 cleanup macros.
7938 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7939 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7940 cleanup macros.
7941 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7942 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7943 cleanup macros.
7944 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7945 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7946 macros.
7947 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7948 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7949 macros.
7950 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7951 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7952 macros.
7953 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7954 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7955 cleanup macros.
7956 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7957 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7958 cleanup macros.
7959 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7960 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7961 macros.
7962 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7963 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7964 cleanup macros.
7965 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7966 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7967 macros.
7968 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7969 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7970 macros.
7971 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7972 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7973 cleanup macros.
7974 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7975
85118d4d
EBM
79762013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7977
7978 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7979 to _sifields.sigfault.
7980 (si_addr_lsb): Define new macro.
7981 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7983 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7984
7a44c18f
CD
79852013-05-03 Carlos O'Donell <carlos at redhat.com>
7986
7987 [BZ #15441]
7988 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7989 returns -1.
7990 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7991 null return -1.
7992 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7993 loading the domain.
7994
b50a7181
JM
79952013-05-22 Joseph Myers <joseph@codesourcery.com>
7996
7997 * math/gen-libm-test.pl (parse_args): Do not include expected
7998 result in test name.
7999 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8001 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8002 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8003 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8005
051063c8
SP
80062013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8007
3ce9e010
SP
8008 * benchtests/Makefile: Sort function entries.
8009
051063c8
SP
8010 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8011 tanh, asinh, acosh, atanh.
8012 * benchtests/acos-inputs: New file.
8013 * benchtests/acosh-inputs: New file.
8014 * benchtests/asin-inputs: New file.
8015 * benchtests/asinh-inputs: New file.
8016 * benchtests/atanh-inputs: New file.
8017 * benchtests/cosh-inputs: New file.
8018 * benchtests/log-inputs: New file.
8019 * benchtests/sinh-inputs: New file.
8020 * benchtests/tanh-inputs: New file.
8021
47c22455
DL
80222013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8023
8024 [BZ #15339]
8025 * posix/tst-getaddrinfo4.c: New test.
8026 * posix/Makefile (tests): Add it.
8027
3d04f5db
SP
80282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8029
8030 [BZ #15339]
8031 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8032 when no services were used.
8033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8034 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8035
d5dd6189
AS
80362013-05-21 Andreas Schwab <schwab@suse.de>
8037
8038 [BZ #15014]
8039 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8040 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8041 successful.
8042 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8043 redundant variable declarations and reallocation of buffer when
8044 parsing as IPv6 address. Always set NSS status when called from
8045 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8046 buffer too small. Correct computation of needed size.
8047 * nss/Makefile (tests): Add test-digits-dots.
8048 * nss/test-digits-dots.c: New test.
8049
fef94eab
SP
80502013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8051
8052 * benchtests/Makefile: Remove instructions for adding
8053 benchmark tests.
8054 * benchtests/README: New file to explain how to execute and
8055 enhance the benchmark tests.
8056
e39adf43
AS
80572013-05-21 Andreas Schwab <schwab@suse.de>
8058
8059 [BZ #15493]
8060 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8061 * setjmp/tst-sigsetjmp.c: New test.
8062
b2b671b6
OB
80632013-05-20 Ondřej Bílka <neleai@seznam.cz>
8064
8065 * sysdeps/x86_64/memset.S (memset): New implementation.
8066 (__bzero): Likewise.
8067 (__memset_tail): New function.
8068
2d48b41c
OB
80692013-05-20 Ondřej Bílka <neleai@seznam.cz>
8070
8071 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8072 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8073 __memcpy_sse2_unaligned ifunc selection.
8074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8075 Add memcpy-sse2-unaligned.S.
8076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8077 Add: __memcpy_sse2_unaligned.
8078
f16cc3eb
JM
80792013-05-19 Joseph Myers <joseph@codesourcery.com>
8080
3e694268
JM
8081 [BZ #15490]
8082 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8083 math_force_eval before restoring floating-point envrionment.
8084 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8085 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8086 Likewise.
8087 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8088 <math_private.h>.
8089 (__nearbyintl): Use math_force_eval before restoring
8090 floating-point environment.
8091 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8092
db62a907
JM
8093 * math/gen-libm-test.pl (special_functions): Remove.
8094 (parse_args): Don't handle TEST_extra. Handle functions with no
8095 return value.
8096 * math/libm-test.inc (struct test_sincos_data): Replace with
8097 struct test_fFF_11_data.
8098 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8099 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8100 (sincos_test_data): Change element type to struct
8101 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8102 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8103 RUN_TEST_LOOP_sincos.
8104 * math/README.libm-test: Don't mention special handling of
8105 individual functions.
8106 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8108 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8109 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8110 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8112
f16cc3eb
JM
8113 * math/gen-libm-test.pl (get_variable): Remove function.
8114 (parse_args): Don't show pointer parameters to call in test
8115 names. Use "extra output N" in test names for extra outputs
8116 rather than naming variables.
8117
3779b5b6
JM
81182013-05-18 Joseph Myers <joseph@codesourcery.com>
8119
2ee094ff
JM
8120 [BZ #15488]
8121 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8122 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8123 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8124 double tests.
8125 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8126 disable.
8127 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8128 check_long_double.
8129
3779b5b6
JM
8130 * math/gen-libm-test.pl (@tests): Remove variable.
8131 ($count): Likewise.
8132 (new_test): Remove function.
8133 (show_exceptions): New function.
8134 (special_functions): Use show_exceptions instead of new_test.
8135 (parse_args): Likewise.
8136 (generate_testfile): Pass only function name in generated call to
8137 print_max_error or print_complex_max_error.
8138 (get_ulps): Do not handle complex tests specially.
8139 (output_test): Rename to ...
8140 (get_all_ulps_for_test): ... this. Return a string rather than
8141 printing to a file. Require ulps to be present.
8142 (output_ulps): Generate arrays rather than #defines.
8143 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8144 (struct ulp_data): New type.
8145 (BUILD_COMPLEX_ULP): Remove macro.
8146 (compare_ulp_data): New function.
8147 (find_ulps): Likewise.
8148 (find_test_ulps): Likewise.
8149 (find_function_ulps): Likewise.
8150 (find_complex_function_ulps): Likewise.
8151 (print_max_error): Determine allowed ulps using
8152 find_function_ulps.
8153 (print_complex_max_error): Determine allowed ulps using
8154 find_complex_function_ulps.
8155 (check_float_internal): Determine max ulps using find_test_ulps.
8156 (check_float): Do not take max_ulp parameter. Update call to
8157 check_float_internal.
8158 (check_complex): Likewise.
8159 (check_int): Do not take max_ulp parameter.
8160 (check_long): Likewise.
8161 (check_bool): Likewise.
8162 (check_longlong): Likewise.
8163 (struct test_f_f_data): Remove max_ulp field.
8164 (struct test_ff_f_data): Likewise.
8165 (struct test_ff_f_data_nexttoward): Likewise.
8166 (struct test_fi_f_data): Likewise.
8167 (struct test_fl_f_data): Likewise.
8168 (struct test_if_f_data): Likewise.
8169 (struct test_fff_f_data): Likewise.
8170 (struct test_c_f_data): Likewise.
8171 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8172 (struct test_fF_f1_data): Likewise.
8173 (struct test_ffI_f1_data): Likewise.
8174 (struct test_c_c_data): Remove max_ulp field.
8175 (struct test_cc_c_data): Likewise.
8176 (struct test_f_i_data): Likewise.
8177 (struct test_ff_i_data): Likewise.
8178 (struct test_f_l_data): Likewise.
8179 (struct test_f_L_data): Likewise.
8180 (struct test_sincos_data): Likewise.
8181 (RUN_TEST_f_f): Do not handle ulps.
8182 (RUN_TEST_LOOP_f_f): Likewise.
8183 (RUN_TEST_2_f): Likewise.
8184 (RUN_TEST_LOOP_2_f): Likewise.
8185 (RUN_TEST_fff_f): Likewise.
8186 (RUN_TEST_LOOP_fff_f): Likewise.
8187 (RUN_TEST_c_f): Likewise.
8188 (RUN_TEST_LOOP_c_f): Likewise.
8189 (RUN_TEST_f_f1): Likewise.
8190 (RUN_TEST_LOOP_f_f1): Likewise.
8191 (RUN_TEST_fF_f1): Likewise.
8192 (RUN_TEST_LOOP_fF_f1): Likewise.
8193 (RUN_TEST_fI_f1): Likewise.
8194 (RUN_TEST_LOOP_fI_f1): Likewise.
8195 (RUN_TEST_ffI_f1): Likewise.
8196 (RUN_TEST_LOOP_ffI_f1): Likewise.
8197 (RUN_TEST_c_c): Likewise.
8198 (RUN_TEST_LOOP_c_c): Likewise.
8199 (RUN_TEST_cc_c): Likewise.
8200 (RUN_TEST_LOOP_cc_c): Likewise.
8201 (RUN_TEST_f_i): Likewise.
8202 (RUN_TEST_LOOP_f_i): Likewise.
8203 (RUN_TEST_f_i_tg): Likewise.
8204 (RUN_TEST_LOOP_f_i_tg): Likewise.
8205 (RUN_TEST_ff_i_tg): Likewise.
8206 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8207 (RUN_TEST_f_b): Likewise.
8208 (RUN_TEST_LOOP_f_b): Likewise.
8209 (RUN_TEST_f_b_tg): Likewise.
8210 (RUN_TEST_LOOP_f_b_tg): Likewise.
8211 (RUN_TEST_f_l): Likewise.
8212 (RUN_TEST_LOOP_f_l): Likewise.
8213 (RUN_TEST_f_L): Likewise.
8214 (RUN_TEST_LOOP_f_L): Likewise.
8215 (RUN_TEST_sincos): Likewise.
8216 (RUN_TEST_LOOP_sincos): Likewise.
8217
8269107f
JM
82182013-05-17 Joseph Myers <joseph@codesourcery.com>
8219
bb38759d
JM
8220 [BZ #15480]
8221 [BZ #15485]
8222 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8223 main case of finite arguments, set rounding mode to FE_TONEAREST
8224 and discard exceptions.
8225 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8226 exceptions.
8227 (remainder_tonearest_test_data): New variable.
8228 (remainder_test_tonearest): New function.
8229 (remainder_towardzero_test_data): New variable.
8230 (remainder_test_towardzero): New function.
8231 (remainder_downward_test_data): New variable.
8232 (remainder_test_downward): New function.
8233 (remainder_upward_test_data): New variable.
8234 (remainder_test_upward): New function.
8235 (main): Call the new test functions.
8236
a00bdcf0
JM
8237 * math/libm-test.inc (struct test_f_f1_data): Remove field
8238 extra_init.
8239 (struct test_fF_f1_data): Likewise.
8240 (struct test_ffI_f1_data): Likewise.
8241 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8242 based on value of EXTRA_EXPECTED.
8243 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8244 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8245 EXTRA_VAR based on value of EXTRA_EXPECTED.
8246 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8247 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8248 EXTRA_VAR based on value of EXTRA_EXPECTED.
8249 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8250 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8251 EXTRA_VAR based on value of EXTRA_EXPECTED.
8252 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8253 * math/gen-libm-test.pl (parse_args): Don't output initializers
8254 for extra output values.
8255
de407f79
JM
8256 * math/libm-test.inc (check_int): Expect result to be exactly
8257 equal to expected value and do not handle ulps.
8258 (check_long): Likewise.
8259 (check_longlong): Likewise.
8260
8269107f
JM
8261 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8262 exceptions.
8263 (cimag_test_data): Likewise.
8264 (conj_test_data): Likewise.
8265 (copysign_test_data): Likewise.
8266 (cproj_test_data): Likewise.
8267 (creal_test_data): Likewise.
8268 (fabs_test_data): Likewise.
8269 (fdim_test_data): Likewise.
8270 (finite_test_data): Likewise.
8271 (floor_test_data): Likewise.
8272 (fmax_test_data): Likewise.
8273 (fmin_test_data): Likewise.
8274 (fmod_test_data): Likewise.
8275 (fpclassify_test_data): Likewise.
8276 (frexp_test_data): Likewise.
8277 (ilogb_test_data): Likewise.
8278 (isfinite_test_data): Likewise.
8279 (isgreater_test_data): Likewise.
8280 (isgreaterequal_test_data): Likewise.
8281 (isinf_test_data): Likewise.
8282 (isless_test_data): Likewise.
8283 (islessequal_test_data): Likewise.
8284 (islessgreater_test_data): Likewise.
8285 (isnan_test_data): Likewise.
8286 (isnormal_test_data): Likewise.
8287 (issignaling_test_data): Likewise.
8288 (isunordered_test_data): Likewise.
8289 (ldexp_test_data): Likewise.
8290 (lrint_test_data): Likewise.
8291 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8292 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8293 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8294 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8295 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8296 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8297 test input.
8298 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8299 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8300 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8301 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8302 that test input.
8303 (lrint_downward_test_data): Test for "inexact" exceptions.
8304 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8305 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8306 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8307 test input.
8308 (lrint_upward_test_data): Test for "inexact" exceptions.
8309 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8310 test input.
8311 (llrint_test_data): Test for "inexact" exceptions.
8312 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8313 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8314 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8315 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8316 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8317 (llrint_downward_test_data): Test for "inexact" exceptions.
8318 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8319 (llrint_upward_test_data): Test for "inexact" exceptions.
8320 (logb_test_data): Likewise.
8321 (logb_downward_test_data): Likewise.
8322 (nextafter_test_data): Likewise.
8323 (nexttoward_test_data): Likewise.
8324 (remainder_test_data): Likewise.
8325 (remquo_test_data): Likewise.
8326 (scalbn_test_data): Likewise.
8327 (scalbln_test_data): Likewise.
8328 (signbit_test_data): Likewise.
8329 (sqrt_test_data): Likewise.
8330 (significand_test_data): Likewise.
8331
48a18de1
SP
83322013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8333
8334 [BZ #15424]
8335 * benchtests/bench-modf.c (struct args): Mark arg0 as
8336 volatile.
8337 * scripts/bench.pl: Mark members of struct args as volatile.
8338
13d3b41a
AZ
83392013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8340
68191c1d 8341 [BZ # 15497]
13d3b41a
AZ
8342 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8343 negative infinity on POWER6 or lower.
8344 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8345
2848b105
MR
83462013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8347
8348 [BZ #15442]
8349 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8350 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8351 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8352 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8353 (_FP_SETQNAN): New macro.
8354 (_FP_SETQNAN_SEMIRAW): Likewise.
8355 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8356 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8357 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8358 (FP_EXTEND): Use _FP_FRAC_SNANP.
8359 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8360 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8361 into account.
8362 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8363 New macro.
8364 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8365 Likewise.
8366
323e5cb7
JM
83672013-05-16 Joseph Myers <joseph@codesourcery.com>
8368
c58b274f
JM
8369 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8370 with DIVIDE_BY_ZERO_EXCEPTION.
8371 (gamma_test_data): Likewise.
8372 (lgamma_test_data): Likewise.
8373 (log_test_data): Likewise.
8374 (log10_test_data): Likewise.
8375 (log2_test_data): Likewise.
8376 (tgamma_test_data): Likewise.
8377
0ab34904
JM
8378 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8379 (acos_test_tonearest): Likewise.
8380 (acos_test_towardzero): Likewise.
8381 (acos_test_downward): Likewise.
8382 (acos_test_upward): Likewise.
8383 (acosh_test): Likewise.
8384 (asin_test): Likewise.
8385 (asin_test_tonearest): Likewise.
8386 (asin_test_towardzero): Likewise.
8387 (asin_test_downward): Likewise.
8388 (asin_test_upward): Likewise.
8389 (asinh_test): Likewise.
8390 (atan_test): Likewise.
8391 (atanh_test): Likewise.
8392 (atan2_test): Likewise.
8393 (cabs_test): Likewise.
8394 (cacos_test): Likewise.
8395 (cacosh_test): Likewise.
8396 (casin_test): Likewise.
8397 (casinh_test): Likewise.
8398 (catan_test): Likewise.
8399 (catanh_test): Likewise.
8400 (cbrt_test): Likewise.
8401 (ccos_test): Likewise.
8402 (ccosh_test): Likewise.
8403 (cexp_test): Likewise.
8404 (clog_test): Likewise.
8405 (clog10_test): Likewise.
8406 (cos_test): Likewise.
8407 (cos_test_tonearest): Likewise.
8408 (cos_test_towardzero): Likewise.
8409 (cos_test_downward): Likewise.
8410 (cos_test_upward): Likewise.
8411 (cosh_test): Likewise.
8412 (cosh_test_tonearest): Likewise.
8413 (cosh_test_towardzero): Likewise.
8414 (cosh_test_downward): Likewise.
8415 (cosh_test_upward): Likewise.
8416 (cpow_test): Likewise.
8417 (csin_test): Likewise.
8418 (csinh_test): Likewise.
8419 (csqrt_test): Likewise.
8420 (ctan_test): Likewise.
8421 (ctan_test_tonearest): Likewise.
8422 (ctan_test_towardzero): Likewise.
8423 (ctan_test_downward): Likewise.
8424 (ctan_test_upward): Likewise.
8425 (ctanh_test): Likewise.
8426 (ctanh_test_tonearest): Likewise.
8427 (ctanh_test_towardzero): Likewise.
8428 (ctanh_test_downward): Likewise.
8429 (ctanh_test_upward): Likewise.
8430 (erf_test): Likewise.
8431 (erfc_test): Likewise.
8432 (exp_test): Likewise.
8433 (exp_test_tonearest): Likewise.
8434 (exp_test_towardzero): Likewise.
8435 (exp_test_downward): Likewise.
8436 (exp_test_upward): Likewise.
8437 (exp10_test): Likewise.
8438 (exp2_test): Likewise.
8439 (expm1_test): Likewise.
8440 (fmod_test): Likewise.
8441 (gamma_test): Likewise.
8442 (hypot_test): Likewise.
8443 (j0_test): Likewise.
8444 (j1_test): Likewise.
8445 (jn_test): Likewise.
8446 (lgamma_test): Likewise.
8447 (log_test): Likewise.
8448 (log10_test): Likewise.
8449 (log1p_test): Likewise.
8450 (log2_test): Likewise.
8451 (logb_test_downward): Likewise.
8452 (pow_test): Likewise.
8453 (pow_test_tonearest): Likewise.
8454 (pow_test_towardzero): Likewise.
8455 (pow_test_downward): Likewise.
8456 (pow_test_upward): Likewise.
8457 (remainder_test): Likewise.
8458 (remquo_test): Likewise.
8459 (sin_test): Likewise.
8460 (sin_test_tonearest): Likewise.
8461 (sin_test_towardzero): Likewise.
8462 (sin_test_downward): Likewise.
8463 (sin_test_upward): Likewise.
8464 (sincos_test): Likewise.
8465 (sinh_test): Likewise.
8466 (sinh_test_tonearest): Likewise.
8467 (sinh_test_towardzero): Likewise.
8468 (sinh_test_downward): Likewise.
8469 (sinh_test_upward): Likewise.
8470 (sqrt_test): Likewise.
8471 (tan_test): Likewise.
8472 (tan_test_tonearest): Likewise.
8473 (tan_test_towardzero): Likewise.
8474 (tan_test_downward): Likewise.
8475 (tan_test_upward): Likewise.
8476 (tanh_test): Likewise.
8477 (tgamma_test): Likewise.
8478 (y0_test): Likewise.
8479 (y1_test): Likewise.
8480 (yn_test): Likewise.
8481
323e5cb7
JM
8482 * math/gen-libm-test.pl (adjust_arg): Remove function.
8483 (special_function): Remove argument $in_func. Only handle
8484 generating output for tables of tests, not inside functions.
8485 (parse_args): Likewise.
8486 (generate_testfile): Remove variable $in_func. Update call to
8487 parse_args.
8488 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8489 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8490 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8491 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8492 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8493 (MAX_VALUE_INIT): Rename macro to max_value.
8494 (MIN_VALUE_INIT): Rename macro to min_value.
8495 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8496 (plus_zero): Remove variable.
8497 (minus_zero): Likewise.
8498 (plus_infty): Likewise.
8499 (minus_infty): Likewise.
8500 (qnan_value): Likewise.
8501 (max_value): Likewise.
8502 (min_value): Likewise.
8503 (min_subnorm_value): Likewise.
8504
e054f494
RA
85052013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8506
8507 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8508 uint64_t or uint32_t usage.
8509 * crypt/sha256-block.c: Likewise.
8510 * crypt/sha256-crypt.c: Likewise.
8511 * crypt/sha256.c: Likewise.
8512 * crypt/sha512-block.c: Likewise.
8513 * crypt/sha512-crypt.c: Likewise.
8514 * crypt/sha512.c: Likewise.
8515 * debug/backtrace-tst.c: Likewise.
8516 * debug/pcprofiledump.c: Likewise.
8517 * elf/cache.c: Likewise.
8518 * elf/dl-cache.c: Likewise.
8519 * elf/dl-misc.c: Likewise.
8520 * elf/dl-profile.c: Likewise.
8521 * elf/dl-support.c: Likewise.
8522 * elf/ldconfig.c: Likewise.
8523 * elf/sprof.c: Likewise.
8524 * iconv/dummy-repertoire.c: Likewise.
8525 * iconv/iconv_charmap.c: Likewise.
8526 * iconv/skeleton.c: Likewise.
8527 * iconvdata/8bit-generic.c: Likewise.
8528 * iconvdata/cp737.h: Likewise.
8529 * iconvdata/cp775.h: Likewise.
8530 * iconvdata/ibm1008.h: Likewise.
8531 * iconvdata/ibm1025.h: Likewise.
8532 * iconvdata/ibm1046.h: Likewise.
8533 * iconvdata/ibm1097.h: Likewise.
8534 * iconvdata/ibm1112.h: Likewise.
8535 * iconvdata/ibm1122.h: Likewise.
8536 * iconvdata/ibm1123.h: Likewise.
8537 * iconvdata/ibm1124.h: Likewise.
8538 * iconvdata/ibm1129.h: Likewise.
8539 * iconvdata/ibm1130.h: Likewise.
8540 * iconvdata/ibm1132.h: Likewise.
8541 * iconvdata/ibm1133.h: Likewise.
8542 * iconvdata/ibm1137.h: Likewise.
8543 * iconvdata/ibm1140.h: Likewise.
8544 * iconvdata/ibm1141.h: Likewise.
8545 * iconvdata/ibm1142.h: Likewise.
8546 * iconvdata/ibm1143.h: Likewise.
8547 * iconvdata/ibm1144.h: Likewise.
8548 * iconvdata/ibm1145.h: Likewise.
8549 * iconvdata/ibm1146.h: Likewise.
8550 * iconvdata/ibm1147.h: Likewise.
8551 * iconvdata/ibm1148.h: Likewise.
8552 * iconvdata/ibm1149.h: Likewise.
8553 * iconvdata/ibm1153.h: Likewise.
8554 * iconvdata/ibm1154.h: Likewise.
8555 * iconvdata/ibm1155.h: Likewise.
8556 * iconvdata/ibm1156.h: Likewise.
8557 * iconvdata/ibm1157.h: Likewise.
8558 * iconvdata/ibm1158.h: Likewise.
8559 * iconvdata/ibm1160.h: Likewise.
8560 * iconvdata/ibm1161.h: Likewise.
8561 * iconvdata/ibm1162.h: Likewise.
8562 * iconvdata/ibm1163.h: Likewise.
8563 * iconvdata/ibm1164.h: Likewise.
8564 * iconvdata/ibm1166.h: Likewise.
8565 * iconvdata/ibm1167.h: Likewise.
8566 * iconvdata/ibm12712.h: Likewise.
8567 * iconvdata/ibm1390.h: Likewise.
8568 * iconvdata/ibm1399.h: Likewise.
8569 * iconvdata/ibm16804.h: Likewise.
8570 * iconvdata/ibm4517.h: Likewise.
8571 * iconvdata/ibm4899.h: Likewise.
8572 * iconvdata/ibm4909.h: Likewise.
8573 * iconvdata/ibm4971.h: Likewise.
8574 * iconvdata/ibm5347.h: Likewise.
8575 * iconvdata/ibm803.h: Likewise.
8576 * iconvdata/ibm856.h: Likewise.
8577 * iconvdata/ibm901.h: Likewise.
8578 * iconvdata/ibm902.h: Likewise.
8579 * iconvdata/ibm9030.h: Likewise.
8580 * iconvdata/ibm9066.h: Likewise.
8581 * iconvdata/ibm921.h: Likewise.
8582 * iconvdata/ibm922.h: Likewise.
8583 * iconvdata/ibm9448.h: Likewise.
8584 * iconvdata/isiri-3342.h: Likewise.
8585 * iconvdata/jis0201.h: Likewise.
8586 * include/link.h: Likewise.
8587 * include/netdb.h: Likewise.
8588 * inet/check_native.c: Likewise.
8589 * inet/check_pf.c: Likewise.
8590 * inet/getipv4sourcefilter.c: Likewise.
8591 * inet/getnameinfo.c: Likewise.
8592 * inet/getsourcefilter.c: Likewise.
8593 * inet/htonl.c: Likewise.
8594 * inet/setipv4sourcefilter.c: Likewise.
8595 * inet/setsourcefilter.c: Likewise.
8596 * inet/test-inet6_opt.c: Likewise.
8597 * inet/tst-network.c: Likewise.
8598 * locale/C-collate.c: Likewise.
8599 * locale/C-ctype.c: Likewise.
8600 * locale/C-time.c: Likewise.
8601 * locale/C-translit.h: Likewise.
8602 * locale/loadarchive.c: Likewise.
8603 * locale/programs/3level.h: Likewise.
8604 * locale/programs/charmap.c: Likewise.
8605 * locale/programs/charmap.h: Likewise.
8606 * locale/programs/ld-address.c: Likewise.
8607 * locale/programs/ld-collate.c: Likewise.
8608 * locale/programs/ld-ctype.c: Likewise.
8609 * locale/programs/ld-identification.c: Likewise.
8610 * locale/programs/ld-measurement.c: Likewise.
8611 * locale/programs/ld-messages.c: Likewise.
8612 * locale/programs/ld-monetary.c: Likewise.
8613 * locale/programs/ld-name.c: Likewise.
8614 * locale/programs/ld-numeric.c: Likewise.
8615 * locale/programs/ld-paper.c: Likewise.
8616 * locale/programs/ld-telephone.c: Likewise.
8617 * locale/programs/ld-time.c: Likewise.
8618 * locale/programs/linereader.c: Likewise.
8619 * locale/programs/locale.c: Likewise.
8620 * locale/programs/locarchive.c: Likewise.
8621 * locale/programs/locfile.h: Likewise.
8622 * locale/programs/repertoire.c: Likewise.
8623 * locale/programs/simple-hash.c: Likewise.
8624 * locale/programs/simple-hash.h: Likewise.
8625 * malloc/memusage.c: Likewise.
8626 * malloc/memusagestat.c: Likewise.
8627 * nis/nis_defaults.c: Likewise.
8628 * nis/nis_hash.c: Likewise.
8629 * nis/nis_print.c: Likewise.
8630 * nis/nis_xdr.c: Likewise.
8631 * nscd/connections.c: Likewise.
8632 * nscd/hstcache.c: Likewise.
8633 * nscd/nscd_gethst_r.c: Likewise.
8634 * nscd/nscd_getserv_r.c: Likewise.
8635 * nscd/nscd_helper.c: Likewise.
8636 * nscd/servicescache.c: Likewise.
8637 * nss/makedb.c: Likewise.
8638 * nss/nss_db/db-XXX.c: Likewise.
8639 * nss/nss_db/db-initgroups.c: Likewise.
8640 * nss/nss_db/db-netgrp.c: Likewise.
8641 * nss/nss_files/files-network.c: Likewise.
8642 * nss/nss_files/files-parse.c: Likewise.
8643 * posix/bug-regex5.c: Likewise.
8644 * posix/fnmatch_loop.c: Likewise.
8645 * posix/regcomp.c: Likewise.
8646 * posix/regexec.c: Likewise.
8647 * posix/tst-rfc3484-2.c: Likewise.
8648 * posix/tst-rfc3484-3.c: Likewise.
8649 * posix/tst-rfc3484.c: Likewise.
8650 * resolv/nss_dns/dns-canon.c: Likewise.
8651 * resolv/nss_dns/dns-network.c: Likewise.
8652 * resolv/res_init.c: Likewise.
8653 * resolv/res_mkquery.c: Likewise.
8654 * resolv/tst-aton.c: Likewise.
8655 * stdlib/cxa_atexit.c: Likewise.
8656 * stdlib/cxa_finalize.c: Likewise.
8657 * stdlib/gen-fpioconst.c: Likewise.
8658 * stdlib/strtol_l.c: Likewise.
8659 * string/tst-endian.c: Likewise.
8660 * sunrpc/auth_des.c: Likewise.
8661 * sunrpc/clnt_udp.c: Likewise.
8662 * sunrpc/rtime.c: Likewise.
8663 * sunrpc/svcauth_des.c: Likewise.
8664 * sunrpc/xdr.c: Likewise.
8665 * sunrpc/xdr_intXX_t.c: Likewise.
8666 * sunrpc/xdr_rec.c: Likewise.
8667 * sysdeps/generic/ldconfig.h: Likewise.
8668 * sysdeps/generic/ldsodefs.h: Likewise.
8669 * sysdeps/generic/memusage.h: Likewise.
8670 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8673 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8680 * sysdeps/posix/getaddrinfo.c: Likewise.
8681 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8683 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8684 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8685 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8686 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8687 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8688 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8689 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8690 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8691 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8692 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8693 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8694 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8695 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8696 * sysdeps/x86_64/dl-tls.h: Likewise.
8697 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8698 * time/alt_digit.c: Likewise.
8699 * time/era.c: Likewise.
8700 * wcsmbs/tst-c16c32-1.c: Likewise.
8701
8c75f674
JM
87022013-05-16 Joseph Myers <joseph@codesourcery.com>
8703
8704 * math/libm-test.inc (struct test_sincos_data): New type.
8705 (RUN_TEST_LOOP_sincos): New macro.
8706 (sincos_test_data): New variable.
8707 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8708
e6e49e59
RH
87092013-05-16 Richard Henderson <rth@redhat.com>
8710
8711 * math/atest-exp2.c (LIMB64): New macro.
8712 (CONSTSZ): New macro.
8713 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8714 (hexdig): Move ...
8715 (print_mpn_fp): ... to function scope.
8716 (read_mpn_hex): Remove.
8717 (get_log2): Remove.
8718 (exp2_mpn): Use mp_log2.
8719 (main): Use mp_exp1.
8720
15c7c18d
JM
87212013-05-16 Joseph Myers <joseph@codesourcery.com>
8722
105a07df
JM
8723 * math/libm-test.inc: Remove comment about not testing "inexact"
8724 exceptions.
8725 (INEXACT_EXCEPTION): New macro.
8726 (NO_INEXACT_EXCEPTION): Likewise.
8727 (INVALID_EXCEPTION_OK): Update value.
8728 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8729 (OVERFLOW_EXCEPTION_OK): Likewise.
8730 (UNDERFLOW_EXCEPTION_OK): Likewise.
8731 (IGNORE_ZERO_INF_SIGN): Likewise.
8732 (ERRNO_UNCHANGED): Likewise.
8733 (ERRNO_EDOM): Likewise.
8734 (ERRNO_ERANGE): Likewise.
8735 (test_exceptions): Handle testing "inexact" exceptions.
8736 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8737 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8738 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8739 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8740 INEXACT_EXCEPTION.
8741 (rint_towardzero_test_data): Likewise.
8742 (rint_downward_test_data): Likewise.
8743 (rint_upward_test_data): Likewise.
8744
e9eee333
JM
8745 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8746 with OVERFLOW_EXCEPTION.
8747 (exp10_test_data): Likewise.
8748 (exp2_test_data): Likewise.
8749 (expm1_test_data): Likewise.
8750 (lgamma_test_data): Likewise.
8751 (pow_test_data): Likewise.
8752 (tgamma_test_data): Likewise.
8753 (yn_test_data): Remove duplicate test of overflow.
8754
1c38ff73
JM
8755 * math/libm-test.inc (struct test_cc_c_data): New type.
8756 (RUN_TEST_LOOP_cc_c): New macro.
8757 (cpow_test_data): New variable.
8758 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8759
15c7c18d
JM
8760 * math/libm-test.inc (struct test_f_L_data): New type.
8761 (RUN_TEST_LOOP_f_L): New macro.
8762 (llrint_test_data): New variable.
8763 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8764 (llrint_tonearest_test_data): New variable.
8765 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8766 (llrint_towardzero_test_data): New variable.
8767 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8768 (llrint_downward_test_data): New variable.
8769 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8770 (llrint_upward_test_data): New variable.
8771 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8772 (llround_test_data): New variable.
8773 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8774
f137ff13
PC
87752013-05-13 Peter Collingbourne <pcc@google.com>
8776
8777 * math/atest-exp2.c (get_log2): Remove const attribute.
8778
3608cb24
JM
87792013-05-15 Joseph Myers <joseph@codesourcery.com>
8780
8781 * math/libm-test.inc (struct test_f_l_data): New type.
8782 (RUN_TEST_LOOP_f_l): New macro.
8783 (lrint_test_data): New variable.
8784 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8785 (lrint_tonearest_test_data): New variable.
8786 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8787 (lrint_towardzero_test_data): New variable.
8788 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8789 (lrint_downward_test_data): New variable.
8790 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8791 (lrint_upward_test_data): New variable.
8792 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8793 (lround_test_data): New variable.
8794 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8795
39b1f617
PC
87962013-05-15 Peter Collingbourne <pcc@google.com>
8797
1deff3dc
PC
8798 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8799 (EXTRACT_WORDS64) Use where appropriate.
8800 (INSERT_WORDS64) Likewise.
8801
791f3ba0
PC
8802 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8803 constraints with x constraints.
8804 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8805
39b1f617
PC
8806 * malloc/obstack.c (_obstack_compat): Add initializer.
8807
12fba011
EM
88082013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8809
8810 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8811 si_trapno and add si_addr_lsb to _sifields.sigfault.
8812 (si_trapno): Remove macro.
8813 (si_addr_lsb): Define new macro.
8814 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8815
d369f531
JM
88162013-05-15 Joseph Myers <joseph@codesourcery.com>
8817
b861c6c4
JM
8818 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8819 instead of TEST_f_l.
8820 (llrint_test_tonearest): Likewise.
8821 (llrint_test_towardzero): Likewise.
8822 (llrint_test_downward): Likewise.
8823 (llrint_test_upward): Likewise.
8824 (llround_test): Likewise.
8825
7abeee12
JM
8826 * math/libm-test.inc (struct test_f_i_data): Add comment.
8827 (RUN_TEST_LOOP_f_b): New macro.
8828 (RUN_TEST_LOOP_f_b_tg): Likewise.
8829 (finite_test_data): New variable.
8830 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8831 (isfinite_test_data): New variable.
8832 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8833 (isinf_test_data): New variable.
8834 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8835 (isnan_test_data): New variable.
8836 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8837 (isnormal_test_data): New variable.
8838 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8839 (issignaling_test_data): New variable.
8840 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8841 (signbit_test_data): New variable.
8842 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8843
cbe8c4d3
JM
8844 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8845 with INVALID_EXCEPTION.
8846 (acosh_test_data): Likewise.
8847 (asin_test_data): Likewise.
8848 (atanh_test_data): Likewise.
8849 (fmod_test_data): Likewise.
8850 (log_test_data): Likewise.
8851 (log10_test_data): Likewise.
8852 (log2_test_data): Likewise.
8853 (pow_test_data): Likewise.
8854 (sqrt_test_data): Likewise.
8855 (y0_test_data): Likewise.
8856 (y1_test_data): Likewise.
8857 (yn_test_data): Likewise.
8858
5575c0e5
JM
8859 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8860 function contents.
8861
d369f531
JM
8862 * math/libm-test.inc (struct test_ff_i_data): New type.
8863 (RUN_TEST_LOOP_ff_i_tg): New macro.
8864 (isgreater_test_data): New variable.
8865 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8866 (isgreaterequal_test_data): New variable.
8867 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8868 (isless_test_data): New variable.
8869 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8870 (islessequal_test_data): New variable.
8871 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8872 (islessgreater_test_data): New variable.
8873 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8874 (isunordered_test_data): New variable.
8875 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8876
781fd748
DM
88772013-05-14 David S. Miller <davem@davemloft.net>
8878
8879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8880
87aa21df
JM
88812013-05-14 Joseph Myers <joseph@codesourcery.com>
8882
5e908270
JM
8883 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8884
f71172e5
JM
8885 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8886 extra_test to int.
8887 (struct test_f_i_data): Change type of max_ulp to int.
8888
8cfa635a
JM
8889 * math/libm-test.inc (test_ffI_f1_data): New type.
8890 (RUN_TEST_LOOP_ffI_f1): New macro.
8891 (remquo_test_data): New variable.
8892 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8893
2bcb36b2
JM
8894 * setjmp/tst-setjmp-fp.c: New file.
8895 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8896 (link-libm): New variable.
8897 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8898
acbd839a
JM
8899 * math/libm-test.inc (struct test_f_i_data): New type.
8900 (RUN_TEST_LOOP_f_i): New macro.
8901 (RUN_TEST_LOOP_f_i_tg): Likewise.
8902 (fpclassify_test_data): New variable.
8903 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8904 (ilogb_test_data): New variable.
8905 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8906
e414d745
JM
8907 * math/libm-test.inc (scalbln_test): Correct function name in END
8908 call.
8909
d9c2a0fd
JM
8910 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8911 (RUN_TEST_LOOP_fI_f1): New macro.
8912 (frexp_test_data): New variable.
8913 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8914
9dc9095d
JM
8915 * math/libm-test.inc (struct test_fF_f1_data): New type.
8916 (RUN_TEST_LOOP_fF_f1): New macro.
8917 (modf_test_data): New variable.
8918 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8919
87aa21df
JM
8920 * math/libm-test.inc (struct test_f_f1_data): New type.
8921 (RUN_TEST_LOOP_f_f1): New macro.
8922 (gamma_test_data): New variable.
8923 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8924 (lgamma_test_data): New variable.
8925 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8926
141af660
CD
89272013-05-13 Carlos O'Donell <carlos@redhat.com>
8928
8929 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8930 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8931 (main): Comment "tls" pseudo-hwcap.
8932
6d33265c
JM
89332013-05-13 Joseph Myers <joseph@codesourcery.com>
8934
68fc074c
JM
8935 * math/libm-test.inc (struct test_fl_f_data): New type.
8936 (RUN_TEST_LOOP_fl_f): New variable.
8937 (scalbln_test_data): New variable.
8938 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8939
243216e1
JM
8940 * math/libm-test.inc (struct test_fi_f_data): New type.
8941 (RUN_TEST_LOOP_fi_f): New macro.
8942 (ldexp_test_data): New variable.
8943 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8944 (scalbn_test_data): New variable.
8945 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8946
6a1992e2
JM
8947 * math/libm-test.inc (struct test_c_f_data): New type.
8948 (RUN_TEST_LOOP_c_f): New macro.
8949 (cabs_test_data): New variable.
8950 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8951 (carg_test_data): New variable.
8952 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8953 (cimag_test_data): New variable.
8954 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8955 (creal_test_data): New variable.
8956 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8957
0e400df5
JM
8958 * math/libm-test.inc (struct test_if_f_data): New type.
8959 (RUN_TEST_LOOP_if_f): New macro.
8960 (jn_test_data): New variable.
8961 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8962 (yn_test_data): New variable.
8963 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8964
6d33265c
JM
8965 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8966
f98ece5f
AZ
89672013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8968
8969 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8970 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8971
0f7d347b
SP
89722013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8973
43fe811b
SP
8974 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8975 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8976 (bench-deps): Add bench-timing.h.
8977 * benchtests-bench-skeleton.c: Include bench-timing.h.
8978 (main): Use TIMING_* macros instead of clock_gettime.
8979 * benchtests/bench-timing.h: New file.
8980
0f7d347b
SP
8981 [BZ #14582]
8982 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8983 Renamed from _LIB_VERSION.
8984 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8985
601a3a5f
JM
89862013-05-12 Joseph Myers <joseph@codesourcery.com>
8987
4f184d30
JM
8988 * math/libm-test.inc (struct test_fff_f_data): New type.
8989 (RUN_TEST_LOOP_fff_f): New macro.
8990 (fma_test_data): New variable.
8991 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8992 (fma_towardzero_test_data): New variable.
8993 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8994 (fma_downward_test_data): New variable.
8995 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8996 (fma_upward_test_data): New variable.
8997 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8998
08198877
JM
8999 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9000 (struct test_c_c_data): New type.
9001 (RUN_TEST_LOOP_c_c): New macro.
9002 (cacos_test_data): New variable.
9003 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9004 (cacosh_test_data): New variable.
9005 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9006 (casin_test_data): New variable.
9007 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9008 (casinh_test_data): New variable.
9009 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9010 (catan_test_data): New variable.
9011 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9012 (catanh_test_data): New variable.
9013 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9014 (ccos_test_data): New variable.
9015 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9016 (ccosh_test_data): New variable.
9017 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9018 (cexp_test_data): New variable.
9019 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9020 (clog_test_data): New variable.
9021 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9022 (clog10_test_data): New variable.
9023 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9024 (conj_test_data): New variable.
9025 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9026 (cproj_test_data): New variable.
9027 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9028 (csin_test_data): New variable.
9029 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9030 (csinh_test_data): New variable.
9031 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9032 (csqrt_test_data): New variable.
9033 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9034 (ctan_test_data): New variable.
9035 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9036 (ctan_tonearest_test_data): New variable.
9037 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9038 (ctan_towardzero_test_data): New variable.
9039 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9040 (ctan_downward_test_data): New variable.
9041 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9042 (ctan_upward_test_data): New variable.
9043 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9044 (ctanh_test_data): New variable.
9045 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9046 (ctanh_tonearest_test_data): New variable.
9047 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9048 (ctanh_towardzero_test_data): New variable.
9049 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9050 (ctanh_downward_test_data): New variable.
9051 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9052 (ctanh_upward_test_data): New variable.
9053 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9054 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9055 of BUILD_COMPLEX.
9056
601a3a5f
JM
9057 * math/libm-test.inc (struct test_ff_f_data): New type.
9058 (struct test_ff_f_data_nexttoward): Likewise.
9059 (RUN_TEST_LOOP_2_f): New macro.
9060 (RUN_TEST_LOOP_ff_f): Likewise.
9061 (atan2_test_data): New variable.
9062 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9063 (copysign_test_data): New variable.
9064 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9065 (fdim_test_data): New variable.
9066 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9067 (fmax_test_data): New variable.
9068 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9069 (fmin_test_data): New variable.
9070 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9071 (fmod_test_data): New variable.
9072 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9073 (hypot_test_data): New variable.
9074 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9075 (nextafter_test_data): New variable.
9076 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9077 (nexttoward_test_data): New variable.
9078 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9079 (pow_test_data): New variable.
9080 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9081 (pow_tonearest_test_data): New variable.
9082 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9083 (pow_towardzero_test_data): New variable.
9084 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9085 (pow_downward_test_data): New variable.
9086 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9087 (pow_upward_test_data): New variable.
9088 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9089 (remainder_test_data): New variable.
9090 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9091 (scalb_test_data): New variable.
9092 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9093 * sysdeps/i386/fpu/libm-test-ulps: Update.
9094
74c57478
JM
90952013-05-11 Joseph Myers <joseph@codesourcery.com>
9096
8329e4da
JM
9097 * math/libm-test.inc (fma_test): Use max_value instead of local
9098 variable fltmax.
9099 (nextafter_test): Likewise.
9100
74c57478
JM
9101 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9102 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9103 (acos_downward_test_data): New variable.
9104 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9105 (acos_upward_test_data): New variable.
9106 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9107 (acosh_test_data): New variable.
9108 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9109 (asin_test_data): New variable.
9110 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9111 (asin_tonearest_test_data): New variable.
9112 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9113 (asin_towardzero_test_data): New variable.
9114 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9115 (asin_downward_test_data): New variable.
9116 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9117 (asin_upward_test_data): New variable.
9118 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9119 (asinh_test_data): New variable.
9120 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9121 (atan_test_data): New variable.
9122 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9123 (atanh_test_data): New variable.
9124 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9125 (cbrt_test_data): New variable.
9126 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9127 (ceil_test_data): New variable.
9128 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9129 (cos_test_data): New variable.
9130 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9131 (cos_tonearest_test_data): New variable.
9132 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9133 (cos_towardzero_test_data): New variable.
9134 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9135 (cos_downward_test_data): New variable.
9136 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9137 (cos_upward_test_data): New variable.
9138 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9139 (cosh_test_data): New variable.
9140 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9141 (cosh_tonearest_test_data): New variable.
9142 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9143 (cosh_towardzero_test_data): New variable.
9144 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9145 (cosh_downward_test_data): New variable.
9146 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9147 (cosh_upward_test_data): New variable.
9148 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9149 (erf_test_data): New variable.
9150 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9151 (erfc_test_data): New variable.
9152 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9153 (exp_test_data): New variable.
9154 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9155 (exp_tonearest_test_data): New variable.
9156 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9157 (exp_towardzero_test_data): New variable.
9158 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9159 (exp_downward_test_data): New variable.
9160 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9161 (exp_upward_test_data): New variable.
9162 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9163 (exp10_test_data): New variable.
9164 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9165 (exp2_test_data): New variable.
9166 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9167 (expm1_test_data): New variable.
9168 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9169 (fabs_test_data): New variable.
9170 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9171 (floor_test_data): New variable.
9172 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9173 (j0_test_data): New variable.
9174 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9175 (j1_test_data): New variable.
9176 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9177 (log_test_data): New variable.
9178 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9179 (log10_test_data): New variable.
9180 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9181 (log1p_test_data): New variable.
9182 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9183 (log2_test_data): New variable.
9184 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9185 (logb_test_data): New variable.
9186 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9187 (logb_downward_test_data): New variable.
9188 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9189 (nearbyint_test_data): New variable.
9190 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9191 (rint_test_data): New variable.
9192 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9193 (rint_tonearest_test_data): New variable.
9194 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9195 (rint_towardzero_test_data): New variable.
9196 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9197 (rint_downward_test_data): New variable.
9198 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9199 (rint_upward_test_data): New variable.
9200 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9201 (round_test_data): New variable.
9202 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9203 (sin_test_data): New variable.
9204 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9205 (sin_tonearest_test_data): New variable.
9206 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9207 (sin_towardzero_test_data): New variable.
9208 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9209 (sin_downward_test_data): New variable.
9210 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9211 (sin_upward_test_data): New variable.
9212 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9213 (sinh_test_data): New variable.
9214 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9215 (sinh_tonearest_test_data): New variable.
9216 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9217 (sinh_towardzero_test_data): New variable.
9218 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9219 (sinh_downward_test_data): New variable.
9220 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9221 (sinh_upward_test_data): New variable.
9222 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9223 (sqrt_test_data): New variable.
9224 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9225 (tan_test_data): New variable.
9226 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9227 (tan_tonearest_test_data): New variable.
9228 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9229 (tan_towardzero_test_data): New variable.
9230 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9231 (tan_downward_test_data): New variable.
9232 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9233 (tan_upward_test_data): New variable.
9234 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9235 (tanh_test_data): New variable.
9236 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9237 (tgamma_test_data): New variable.
9238 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9239 (trunc_test_data): New variable.
9240 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9241 (y0_test_data): New variable.
9242 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9243 (y1_test_data): New variable.
9244 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9245 (significand_test_data): New variable.
9246 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9247
7187d844
CG
92482013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9249
9250 [BZ #12387]
9251 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9252
f63fae73
PT
92532013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9254
9255 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9256
8a67a4b3
AJ
92572013-05-10 Andreas Jaeger <aj@suse.de>
9258
9259 [BZ #15448]
9260 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9261 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9262
51df539d
JM
92632013-05-10 Joseph Myers <joseph@codesourcery.com>
9264
9265 * math/gen-libm-test.pl (adjust_arg): New function.
9266 (special_functions): Handle generating output in both functions
9267 and arrays.
9268 (parse_args): Likewise.
9269 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9270 $in_func argument to parse_args.
9271 * math/libm-test.inc (struct test_f_f_data): New type.
9272 (IF_ROUND_INIT_): New macro.
9273 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9274 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9275 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9276 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9277 (ROUND_RESTORE_): Likewise.
9278 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9279 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9280 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9281 (ROUND_RESTORE_FE_UPWARD): Likewise.
9282 (RUN_TEST_LOOP_f_f): New macro.
9283 (acos_test_data): New variable.
9284 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9285 (acos_tonearest_test_data): New variable.
9286 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9287
5c637fe5
SP
92882013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9289
9290 * benchtests/bench-skeleton.c (startup): Fix coding style.
9291
ab2b9461
JM
92922013-05-10 Joseph Myers <joseph@codesourcery.com>
9293
9294 [BZ #6809]
9295 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9296 negative infinity argument.
9297 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9298 negative infinity argument.
9299 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9300 negative infinity argument.
9301 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9302 domain errors.
9303
4c0fe6fe
FW
93042013-05-10 Florian Weimer <fweimer@redhat.com>
9305
9306 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9307 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9308 * iconv/iconv_prog.c (main): Likewise.
9309 * locale/programs/charmap-dir.c (charmap_readdir)
9310 (fopen_uncompressed): Likewise.
9311 * locale/programs/locfile.c (siblings_uncached)
9312 (write_locale_data): Use lstat64 instead of lstat.
9313 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9314 stat.
9315
a3375d29
AJ
93162013-05-10 Andreas Jaeger <aj@suse.de>
9317
9318 [BZ #15395]
9319 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9320 localization.
9321 Include <locale.h>.
9322
36129722
CD
93232013-05-09 Carlos O'Donell <carlos@redhat.com>
9324
9325 * elf/dl-close.c (_dl_close_worker): Add comments.
9326
faa7f811
JM
93272013-05-09 Joseph Myers <joseph@codesourcery.com>
9328
ed41ffef
JM
9329 [BZ #15359]
9330 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9331 high part of pi/2.
9332 (__ieee754_rem_pio2l): Update comments.
9333
d0213cd0
JM
9334 [BZ #15429]
9335 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9336 high part of pi/2.
9337 (__ieee754_rem_pio2l): Update comments.
9338
0d3e777a
JM
9339 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9340 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9341
24f56066
JM
9342 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9343 M_PI_4l.
9344
faa7f811
JM
9345 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9346 (M_PI_34_LOG10El): Likewise.
9347 (M_PI2_LOG10El): Likewise.
9348 (M_PI4_LOG10El): Likewise.
9349 (M_PI_LOG10El): Likewise.
9350
e9a5e0fd
AZ
93512013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9352
9353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9354
d8cd06db
JM
93552013-05-08 Joseph Myers <joseph@codesourcery.com>
9356
a0d9f9d7
JM
9357 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9358 (MINUS_ZERO_INIT): Likewise.
9359 (PLUS_INFTY_INIT): Likewise.
9360 (MINUS_INFTY_INIT): Likewise.
9361 (QNAN_VALUE_INIT): Likewise.
9362 (MAX_VALUE_INIT): Likewise.
9363 (MIN_VALUE_INIT): Likewise.
9364 (MIN_SUBNORM_VALUE_INIT): Likewise.
9365 (plus_zero): Initialize with PLUS_ZERO_INIT.
9366 (minus_zero): Initialize with MINUS_ZERO_INIT.
9367 (plus_infty): Initialize with PLUS_INFTY_INIT.
9368 (minus_infty): Initialize with MINUS_INFTY_INIT.
9369 (qnan_value): Initialize with QNAN_VALUE_INIT.
9370 (max_value): Initialize with MAX_VALUE_INIT.
9371 (min_value): Initialize with MIN_VALUE_INIT.
9372 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9373
ae08db3b
JM
9374 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9375 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9376 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9377 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9378
f44bf14a
JM
9379 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9380 (RUN_TEST_2_f): Likewise.
9381 (RUN_TEST_ff_f): Likewise.
9382 (RUN_TEST_fi_f): Likewise.
9383 (RUN_TEST_fl_f): Likewise.
9384 (RUN_TEST_fff_f): Likewise.
9385 (RUN_TEST_c_f): Likewise.
9386 (RUN_TEST_f_f1): Likewise.
9387 (RUN_TEST_fF_f1): Likewise.
9388 (RUN_TEST_fI_f1): Likewise.
9389 (RUN_TEST_ffI_f1): Likewise.
9390 (RUN_TEST_c_c): Likewise.
9391 (RUN_TEST_cc_c): Likewise.
9392 (RUN_TEST_f_i): Likewise.
9393 (RUN_TEST_f_i_tg): Likewise.
9394 (RUN_TEST_ff_i_tg): Likewise.
9395 (RUN_TEST_f_b): Likewise.
9396 (RUN_TEST_f_b_tg): Likewise.
9397 (RUN_TEST_f_l): Likewise.
9398 (RUN_TEST_f_L): Likewise.
9399 (RUN_TEST_sincos): Likewise.
9400 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9401 whether to show exceptions. Do not include ");\n" in return
9402 value.
9403 (special_functions): Output call to RUN_TEST_sincos instead of
9404 check_float calls. Update calls to new_test.
9405 (parse_args): Output call to single RUN_TEST_* macro instead of
9406 check_* calls and other assignments. Update calls to new_test.
9407
d8cd06db
JM
9408 [BZ #2546]
9409 [BZ #2560]
9410 [BZ #5159]
9411 [BZ #15426]
9412 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9413 input to result for tgamma overflow.
9414 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9415 (gamma_coeff): New variable.
9416 (NCOEFF): New macro.
9417 (gamma_positive): New function.
9418 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9419 underflow here. Use gamma_positive instead of exp (lgamma) for
9420 other arguments.
9421 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9422 (gamma_coeff): New variable.
9423 (NCOEFF): New macro.
9424 (gammaf_positive): New function.
9425 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9426 underflow here. Use gamma_positive instead of exp (lgamma) for
9427 other arguments.
9428 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9429 (gamma_coeff): New variable.
9430 (NCOEFF): New macro.
9431 (gammal_positive): New function.
9432 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9433 underflow here. Use gamma_positive instead of exp (lgamma) for
9434 other arguments.
9435 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9436 (gamma_coeff): New variable.
9437 (NCOEFF): New macro.
9438 (gammal_positive): New function.
9439 (__ieee754_gammal_r): Handle positive infinity, overflow and
9440 underflow here. Handle NaN the same as positive infinity. Remove
9441 check x < 0xffffffff for negative integers. Use gamma_positive
9442 instead of exp (lgamma) for other arguments.
9443 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9444 (gamma_coeff): New variable.
9445 (NCOEFF): New macro.
9446 (gammal_positive): New function.
9447 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9448 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9452 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9453 * sysdeps/generic/math_private.h (__gamma_productf): New
9454 prototype.
9455 (__gamma_product): Likewise.
9456 (__gamma_productl): Likewise.
9457 * math/Makefile (libm-calls): Add gamma_product.
9458 * math/libm-test.inc (tgamma_test): Add more tests.
9459 * sysdeps/i386/fpu/libm-test-ulps: Update.
9460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9461
bb7cf681
OB
94622013-05-08 Ondřej Bílka <neleai@seznam.cz>
9463
9464 * benchtests/bench-skeleton.c (main): Preheat CPU.
9465
ba853947
AJ
94662013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9467
9468 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9469
8347c74c
RM
94702013-05-07 Roland McGrath <roland@hack.frob.com>
9471
9472 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9473 and _dl_skip_args_internal.
9474
e8dd4791
CD
94752013-05-07 Carlos O'Donell <carlos@redhat.com>
9476
9477 * manual/message.texi (Message Translation): Talk about users.
9478 Message to key mapping impacts design.
9479
c7405830
RM
94802013-05-06 Roland McGrath <roland@hack.frob.com>
9481
a9173057
RM
9482 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9483
976e2f03
RM
9484 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9485
9723ffc5
RM
9486 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9487 * sysdeps/wordsize-64/glob64.c: ... here.
9488
962e6658
RM
9489 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9490 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9491 New macros.
9492
ee586a6d
RM
9493 * debug/getlogin_r_chk.c: Moved to ...
9494 * login/getlogin_r_chk.c: ... here.
9495 * debug/Makefile (routines): Move getlogin_r_chk to ...
9496 * login/Makefile (routines): ... here.
9497 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9498 * login/Versions (libc: GLIBC_2.4): ... here.
9499
355f9165
RM
9500 * io/poll.c (__poll): Renamed from poll.
9501 Add libc_hidden_def.
9502 (poll): Define as weak alias.
9503
bd9ffde6
RM
9504 * debug/ptsname_r_chk.c: Moved to ...
9505 * login/ptsname_r_chk.c: ... here.
9506 * debug/Makefile (routines): Move ptsname_r_chk to ...
9507 * login/Makefile (routines): ... here.
9508 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9509 * login/Versions (libc: GLIBC_2.4): ... here.
9510
8fb16a04
RM
9511 * posix/getlogin.c: Moved to ...
9512 * login/getlogin.c: ... here.
9513 * posix/getlogin_r.c: Moved to ...
9514 * login/getlogin_r.c: ... here.
9515 * posix/getlogin_r.c: Moved to ...
9516 * login/getlogin_r.c: ... here.
9517 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9518 * login/Makefile (routines): ... here.
9519 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9520 * login/Versions (libc: GLIBC_2.0): ... here.
9521
b99b892f
RM
9522 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9523 (setrlimit): Define as weak alias.
9524
c7405830
RM
9525 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9526 Call __ names for open, ftruncate, and close.
9527 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9528 (truncate): Define as weak alias.
9529
5bf96de5
JM
95302013-05-06 Joseph Myers <joseph@codesourcery.com>
9531
9ea3513c
JM
9532 * math/gen-libm-test.pl (parse_args): Initialize x before each
9533 test of frexp, modf and remquo.
9534
5bf96de5
JM
9535 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9536 test signgam value.
9537
16e616a7
AZ
95382013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9539
9540 [BZ #15418]
9541 [BZ #15419]
9542 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9543 internal tests.
9544 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9545
d5e82754
RM
95462013-05-06 Roland McGrath <roland@hack.frob.com>
9547
9548 * elf/dl-writev.h: New file.
9549 * elf/dl-misc.c: Include it.
9550 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9551 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9552
a7548d41
JM
95532013-05-04 Joseph Myers <joseph@codesourcery.com>
9554
b7dab1e4
JM
9555 * math/libm-test.inc (noXFails): Remove variable.
9556 (noXPasses): Likewise.
9557 (BUILD_COMPLEX_INT): Remove macro.
9558 (print_screen): Remove xfail argument.
9559 (print_screen_max_error): Likewise.
9560 (update_stats): Likewise.
9561 (print_max_error): Likewise. Update calls to other affected
9562 functions.
9563 (print_complex_max_error): Likewise.
9564 (test_single_exception): Update calls to print_screen.
9565 (test_single_errno): Likewise.
9566 (check_float_internal): Remove xfail argument. Update calls to
9567 other affected functions.
9568 (check_float): Likewise.
9569 (check_complex): Likewise.
9570 (check_int): Likewise.
9571 (check_long): Likewise.
9572 (check_bool): Likewise.
9573 (check_longlong): Likewise.
9574 (main): Don't print noXFails and noXPasses.
9575 * math/gen-libm-test.pl (top level): Don't mention expected
9576 failure handling in comment.
9577 (new_test): Don't handle expected failures.
9578 (parse_args): Don't mention expected failure handling in comment.
9579 (generate_testfile): Don't handle expected failures.
9580 (parse_ulps): Likewise.
9581 (print_ulps_file): Likewise.
9582 (get_failure): Remove function.
9583 (output_test): Don't handle expected failures.
9584 * make/README.libm-test: Don't mention expected failure handling.
9585
a7548d41
JM
9586 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9587 (minus_zero): Likewise.
9588 (plus_infty): Likewise.
9589 (minus_infty): Likewise.
9590 (qnan_value): Likewise.
9591 (max_value): Likewise.
9592 (min_value): Likewise.
9593 (min_subnorm_value): Likewise.
9594 (initialize): Do not initialize those variables dynamically.
9595
60bfd54c
RM
95962013-05-03 Roland McGrath <roland@hack.frob.com>
9597
cc0e6ed8
RM
9598 * io/open.c (__open_2): Moved to ...
9599 * io/open_2.c: ... this new file.
9600 * io/open64.c (__open64_2): Moved to ...
9601 * io/open64_2.c: ... this new file.
9602 * io/openat.c (__openat_2): Moved to ...
9603 * io/openat_2.c: ... this new file.
9604 * io/openat64.c (__openat64_2): Moved to ...
9605 * io/openat64_2.c: ... this new file.
9606 * io/Makefile (routines): Add them.
9607 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9608 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9609 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9610 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9611 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9612 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9613 (__openat64): Add hidden_ver.
9614 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9615 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9616
60bfd54c
RM
9617 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9618 Separately conditionalize setting of GLRO(dl_sysinfo) so
9619 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9620 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9621
83e7640f
AZ
96222013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9623
9624 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9625 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9626 definition.
9627 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9628 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9629 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9630 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9631 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9632
d5dc2af3
JM
96332013-05-03 Joseph Myers <joseph@codesourcery.com>
9634
c31a5b1e
JM
9635 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9636 test signgam value.
9637
d5dc2af3
JM
9638 * math/libm-test.inc (hypot_test): Do not use
9639 IGNORE_ZERO_INF_SIGN.
9640
164fd39d
AJ
96412013-05-03 Andreas Jaeger <aj@suse.de>
9642
9643 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9644 Linux 3.9.
9645 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9646 (PF_MAX): Adjust for VSOCK change.
9647
8237f48c
AZ
96482013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9649
9650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9651
9df02941
CD
96522013-05-02 Carlos O'Donell <carlos@redhat.com>
9653
9654 [BZ #15264]
9655 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9656 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9657 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9658
d422395e
DM
96592013-05-02 David S. Miller <davem@davemloft.net>
9660
9661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9662
a07c5731
OB
96632013-05-01 Ondřej Bílka <neleai@seznam.cz>
9664
9665 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9666
1324e37f
RM
96672013-05-01 Roland McGrath <roland@hack.frob.com>
9668
9669 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9670
0695940b
RS
96712013-05-01 Richard Smith <richard@metafoo.co.uk>
9672
bb5f27ad 9673 [BZ #14952]
0695940b
RS
9674 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9675 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9676 Use __attribute__ ((__gnu_inline__)).
9677 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9678 Don't use __attribute__ ((__gnu_inline__)).
9679
10de07f5
JM
96802013-05-01 Joseph Myers <joseph@codesourcery.com>
9681
9682 [BZ #15423]
9683 * math/s_catan.c (__catan): Handle small real or imaginary part of
9684 input specially to avoid spurious underflow.
9685 * math/s_catanf.c (__catanf): Likewise.
9686 * math/s_catanh.c (__catanh): Likewise.
9687 * math/s_catanhf.c (__catanhf): Likewise.
9688 * math/s_catanhl.c (__catanhl): Likewise.
9689 * math/s_catanl.c (__catanl): Likewise.
9690 * math/libm-test.inc (catan_test): Add more tests.
9691 (catanh_test): Likewise.
9692 * sysdeps/i386/fpu/libm-test-ulps: Update.
9693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9694
cb4d5414
AZ
96952013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9696
9697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9698
caf84319
JM
96992013-04-30 Joseph Myers <joseph@codesourcery.com>
9700
9701 [BZ #15416]
9702 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9703 accurately for denominator in atan2.
9704 * math/s_catanf.c (__catanf): Likewise.
9705 * math/s_catanh.c (__catanh): Likewise.
9706 * math/s_catanhf.c (__catanhf): Likewise.
9707 * math/s_catanhl.c (__catanhl): Likewise.
9708 * math/s_catanl.c (__catanl): Likewise.
9709 * math/libm-test.inc (catan_test): Add more tests.
9710 (catanh_test): Likewise.
9711 * sysdeps/i386/fpu/libm-test-ulps: Update.
9712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9713
d569c6ee
SP
97142013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9715
6dbe713d
SP
9716 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9717
f0ee064b
SP
9718 * benchtests/Makefile (bench): Remove slow benchmarks.
9719 * benchtests/atan-inputs: Add slow benchmark inputs.
9720 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9721 (BENCH_FUNC): Accept variant offset.
9722 (VARIANT): Define.
9723 * benchtests/bench-skeleton.c (main): Run benchmark for each
9724 variant.
9725 * benchtests/cos-inputs: Add slow benchmark inputs.
9726 * benchtests/exp-inputs: Likewise.
9727 * benchtests/pow-inputs: Likewise.
9728 * benchtests/sin-inputs: Likewise.
9729 * benchtests/slowatan-inputs: Remove.
9730 * benchtests/slowatan.c: Remove.
9731 * benchtests/slowcos-inputs: Remove.
9732 * benchtests/slowcos.c: Remove.
9733 * benchtests/slowexp-inputs: Remove.
9734 * benchtests/slowexp.c: Remove.
9735 * benchtests/slowpow-inputs: Remove.
9736 * benchtests/slowpow.c: Remove.
9737 * benchtests/slowsin-inputs: Remove.
9738 * benchtests/slowsin.c: Remove.
9739 * benchtests/slowtan-inputs: Remove.
9740 * benchtests/slowtan.c: Remove.
9741 * benchtests/tan-inputs: Add slow benchmark inputs.
9742 * scripts/bench.pl: Parse comments and directives.
9743
d569c6ee
SP
9744 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9745 in CPPFLAGS.
9746 ($(objpfx)bench-%.c): Remove *-ITER.
9747 * benchtests/bench-modf.c: Remove definition of ITER.
9748 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9749 (main): Loop for DURATION seconds instead of fixed number of
9750 iterations.
9751 * scripts/bench.pl: Don't expect iterations in parameters.
9752
a6a242fe
RM
97532013-04-29 Roland McGrath <roland@hack.frob.com>
9754
9755 * io/fchdir.c (__fchdir): Renamed from fchdir.
9756 (fchdir): Define as weak alias.
9757
f2da7793
JM
97582013-04-29 Joseph Myers <joseph@codesourcery.com>
9759
9760 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9761 (ERRNO_EDOM): Likewise.
9762 (ERRNO_ERANGE): Likewise.
9763 (noErrnoTests): New variable.
9764 (init_max_error): Set errno to 0.
9765 (test_single_errno): New function.
9766 (test_errno): Likewise.
9767 (check_float_internal): Call test_errno. Set errno to 0.
9768 (check_complex): Refer to errno tests in comment.
9769 (check_int): Call test_errno. Set errno to 0.
9770 (check_long): Likewise.
9771 (check_bool): Likewise.
9772 (check_longlong): Likewise.
9773 (cos_test): Use ERRNO_* flags for errno tests instead of
9774 check_int.
9775 (expm1_test): Likewise.
9776 (fmod_test): Likewise.
9777 (ilogb_test): Likewise.
9778 (lgamma_test): Likewise.
9779 (pow_test): Likewise.
9780 (remainder_test): Likewise.
9781 (sin_test): Likewise.
9782 (tan_test): Likewise.
9783 (yn_test): Likewise.
9784 (initialize): Set errno to 0.
9785 (main): Print number of errno tests.
9786 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9787
b1a36ceb
AJ
97882013-04-29 Andreas Jaeger <aj@suse.de>
9789
c3ed8088
AJ
9790 [BZ #15084]
9791 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9792 and RES_USEVC.
9793
f1a24198
AJ
9794 [BZ #15085]
9795 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9796 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9797 unimplemented.
9798
9ce3b2cb
AJ
9799 [BZ #15380]
9800 * stdlib/random.c (__initstate): Return NULL if
9801 __initstate fails.
9802
f1a24198 9803 [BZ #15086]
b1a36ceb
AJ
9804 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9805 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9806 RES_SNGLKUPREOP.
9807
7e7b6f36
AZ
98082013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9809
9810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9811
4d14f449
JM
98122013-04-29 Joseph Myers <joseph@codesourcery.com>
9813
9814 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9815 of individual tests.
9816 (casin_test): Likewise.
9817 (casinh_test): Likewise.
9818
5b4217d7
JM
98192013-04-27 Joseph Myers <joseph@codesourcery.com>
9820
9821 [BZ #15409]
9822 * math/s_catan.c (__catan): Handle arguments with large real or
9823 imaginary part separately without squaring.
9824 * math/s_catanf.c (__catanf): Likewise.
9825 * math/s_catanh.c (__catanh): Likewise.
9826 * math/s_catanhf.c (__catanhf): Likewise.
9827 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9828 and redefine.
9829 (__catanhl): Handle arguments with large real or imaginary part
9830 separately without squaring.
9831 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9832 and redefine.
9833 (__catanl): Handle arguments with large real or imaginary part
9834 separately without squaring.
9835 * math/libm-test.inc (catan_test): Add more tests.
9836 (catanh_test): Likewise.
9837 * sysdeps/i386/fpu/libm-test-ulps: Update.
9838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9839
4220c3ef
AJ
98402013-04-27 Andreas Jaeger <aj@suse.de>
9841
9842 [BZ #15007]
9843 * stdlib/stdlib.h: Update guards for qecvt.
9844 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9845 <stdlib.h>.
9846
4721b2d1
AM
98472013-04-27 Allan McRae <allan@archlinux.org>
9848
9849 * sysdeps/i386/fpu/libm-test-ulps: Update.
9850
f0302940
JM
98512013-04-26 Joseph Myers <joseph@codesourcery.com>
9852
9457fd95
JM
9853 [BZ #15406]
9854 * math/s_catan.c: Include <float.h>.
9855 (__catan): Ensure underflow exception occurs for underflowed
9856 result.
9857 * math/s_catanf.c: Include <float.h>.
9858 (__catanf): Ensure underflow exception occurs for underflowed
9859 result.
9860 * math/s_catanh.c: Include <float.h>.
9861 (__catanh): Ensure underflow exception occurs for underflowed
9862 result.
9863 * math/s_catanhf.c: Include <float.h>.
9864 (__catanhf): Ensure underflow exception occurs for underflowed
9865 result.
9866 * math/s_catanhl.c: Include <float.h>.
9867 (__catanhl): Ensure underflow exception occurs for underflowed
9868 result.
9869 * math/s_catanl.c: Include <float.h>.
9870 (__catanl): Ensure underflow exception occurs for underflowed
9871 result.
9872 * math/libm-test.inc (catan_test): Add more tests.
9873 (catanh_test): Likewise.
9874
f0302940
JM
9875 [BZ #15405]
9876 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9877 underflowed result.
9878 * math/s_ccoshf.c (__ccoshf): Likewise.
9879 * math/s_ccoshl.c (__ccoshl): Likewise.
9880 * math/s_csin.c (__csin): Likewise.
9881 * math/s_csinf.c (__csinf): Likewise.
9882 * math/s_csinh.c (__csinh): Likewise.
9883 * math/s_csinhf.c (__csinhf): Likewise.
9884 * math/s_csinhl.c (__csinhl): Likewise.
9885 * math/s_csinl.c (__csinl): Likewise.
9886 * math/libm-test.inc (ccos_test): Add more tests.
9887 (ccosh_test): Likewise.
9888 (csin_test): Likewise.
9889 (csinh_test): Likewise.
9890
aa630f59
AZ
98912013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9892
9893 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9894 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9895 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9896 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9897 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9898 powerpc/power5+/fpu folders.
9899 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9900
9901
1b835983
MT
99022013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9903
9904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9905
73709b26
JM
99062013-04-25 Joseph Myers <joseph@codesourcery.com>
9907
9908 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9909 additions to variable.
9910 [$(config-machine) = x86_64] (modules-names): Likewise.
9911 ($(objpfx)tst-audit3): Remove dependency.
9912 ($(objpfx)tst-audit3.out): Likewise.
9913 ($(objpfx)tst-audit4): Likewise.
9914 ($(objpfx)tst-audit4.out): Likewise.
9915 ($(objpfx)tst-audit5): Likewise.
9916 ($(objpfx)tst-audit5.out): Likewise.
9917 ($(objpfx)tst-audit6): Likewise.
9918 ($(objpfx)tst-audit6.out): Likewise.
9919 ($(objpfx)tst-audit7): Likewise.
9920 ($(objpfx)tst-audit7.out): Likewise.
9921 (tst-audit3-ENV): Remove variable.
9922 (tst-audit4-ENV): Likewise.
9923 (tst-audit5-ENV): Likewise.
9924 (tst-audit6-ENV): Likewise.
9925 (tst-audit7-ENV): Likewise.
9926 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9927 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9928 addition to variable.
9929 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9930 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9931 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9932 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9933 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9934 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9935 tst-audit3, tst-audit4 and tst-audit5.
9936 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9937 tst-audit6 and tst-audit7.
9938 [$(subdir) = elf] (modules-names): Add audit modules for those
9939 tests.
9940 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9941 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9942 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9943 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9944 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9945 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9946 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9947 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9948 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9949 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9950 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9951 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9952 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9953 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9954 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9955 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9956 Likewise.
9957 [$(subdir) = elf && $(config-cflags-avx) = yes]
9958 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9959 [$(subdir) = elf && $(config-cflags-avx) = yes]
9960 (CFLAGS-tst-auditmod4a.c): Likewise.
9961 [$(subdir) = elf && $(config-cflags-avx) = yes]
9962 (CFLAGS-tst-auditmod4b.c): Likewise.
9963 [$(subdir) = elf && $(config-cflags-avx) = yes]
9964 (CFLAGS-tst-auditmod6b.c): Likewise.
9965 [$(subdir) = elf && $(config-cflags-avx) = yes]
9966 (CFLAGS-tst-auditmod6c.c): Likewise.
9967 [$(subdir) = elf && $(config-cflags-avx) = yes]
9968 (CFLAGS-tst-auditmod7b.c): Likewise.
9969 * elf/tst-audit3.c: Move to ...
9970 * sysdeps/x86_64/tst-audit3.c: ... here.
9971 * elf/tst-audit4.c: Move to ...
9972 * sysdeps/x86_64/tst-audit4.c: ... here.
9973 * elf/tst-audit5.c: Move to ...
9974 * sysdeps/x86_64/tst-audit5.c: ... here.
9975 * elf/tst-audit6.c: Move to ...
9976 * sysdeps/x86_64/tst-audit6.c: ... here.
9977 * elf/tst-audit7.c: Move to ...
9978 * sysdeps/x86_64/tst-audit7.c: ... here.
9979 * elf/tst-auditmod3a.c: Move to ...
9980 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9981 * elf/tst-auditmod3b.c: Move to ...
9982 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9983 * elf/tst-auditmod4a.c: Move to ...
9984 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9985 * elf/tst-auditmod4b.c: Move to ...
9986 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9987 * elf/tst-auditmod5a.c: Move to ...
9988 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9989 * elf/tst-auditmod5b.c: Move to ...
9990 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9991 * elf/tst-auditmod6a.c: Move to ...
9992 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9993 * elf/tst-auditmod6b.c: Move to ...
9994 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9995 * elf/tst-auditmod6c.c: Move to ...
9996 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9997 * elf/tst-auditmod7a.c: Move to ...
9998 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9999 * elf/tst-auditmod7b.c: Move to ...
10000 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10001
1ef74943
PP
100022013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10003
10004 [BZ #15366]
10005 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10006 define unconditionally.
10007 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10008 define unconditionally.
10009 (INT8_C, INT16_C, etc.): Likewise.
10010
93fd48c5
MR
100112013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10012
ae9552cf
MR
10013 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10014 __ehdr_start with hidden visibility.
10015
93fd48c5
MR
10016 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10017
418601aa
CD
100182013-04-24 Carlos O'Donell <carlos@redhat.com>
10019
10020 * math/libm-test.inc (cos_test): Use accurate hex constants.
10021 (sincost_test): Likewise.
10022
2f38fbfe
JM
100232013-04-24 Joseph Myers <joseph@codesourcery.com>
10024
5e221800
JM
10025 * math/libm-test.inc (catan_test): Add more tests.
10026 (catanh_test): Likewise.
10027
77f143fd
JM
10028 * math/s_catanf.c (__catanf): Use suffixed floating-point
10029 constants.
10030 * math/s_catanhf.c (__catanhf): Likewise.
10031 * math/s_catanhl.c (__catanhl): Likewise.
10032 * math/s_catanl.c (__catanl): Likewise.
10033
2f38fbfe
JM
10034 [BZ #15394]
10035 * math/s_catan.c (__catan): Calculate imaginary part of result
10036 with log1p not log unless computing log of number close to 0.
10037 * math/s_catanf.c (__catanf): Likewise.
10038 * math/s_catanl.c (__catanl): Likewise.
10039 * math/s_catanh.c (__catanh): Calculate real part of result with
10040 log1p not log unless computing log of number close to 0.
10041 * math/s_catanhf.c (__catanhf): Likewise.
10042 * math/s_catanhl.c (__catanhl): Likewise.
10043 * math/libm-test.inc (catan_test): Add more tests.
10044 (catanh_test): Likewise.
10045 * sysdeps/i386/fpu/libm-test-ulps: Update.
10046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10047
45d69176
SP
100482013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10049
10050 * benchtests/Makefile: Mention files in which fast and slow
10051 paths of math functions are implemented.
10052
87f51853
RM
100532013-04-23 Roland McGrath <roland@hack.frob.com>
10054
10055 * sysdeps/posix/timespec_get.c: New file.
10056
3c026539
AZ
100572013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10058
10059 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10060 POWER.
10061 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10062 for POWER.
10063 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10064 powerpc/power5/fpu folders.
10065 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10066 * benchtests/Makefile: Add modf testcase.
10067 * benchtests/bench-modf.c: New file: Benchmark test for mo
10068
ff491d14
SP
100692013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10070
10071 [BZ #14888]
10072 * time/Makefile (tests): Add tst-strptime-whitespace.
10073 * time/strptime_l.c (get_number): Use ISSPACE.
10074 (__strptime_internal): Likewise.
10075 * time/tst-strptime-whitespace.c: New test case.
10076
7ed3f4e8
AS
100772013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10078
10079 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10080 member.
10081 (_nss_files_init): Set it here.
10082
5c95f7b6
HC
100832013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10084
10085 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10086 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10087 unsigned.
10088
d34c9158
JBG
100892013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10090
10091 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10092
2169712d
SP
100932013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10094
10095 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10096 size just once.
10097
29c5de99
DM
100982013-04-21 David S. Miller <davem@davemloft.net>
10099
10100 * po/ru.po: Update Russion translation from translation project.
10101
ccdad15d
AC
101022013-04-17 Adam Conrad <adconrad@0c3.net>
10103
10104 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10105 and setfsgid.
10106
0f122b8d
CD
101072013-04-17 Carlos O'Donell <carlos@redhat.com>
10108
5c5b07da 10109 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10110 * configure: Regenerate.
5c5b07da 10111 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10112 Add example to error message.
10113 * sysdeps/i386/configure: Regenerate.
10114
037714dd
SP
101152013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10116
10117 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10118 slowtan.
10119 * benchtests/cos-inputs: New file.
10120 * benchtests/slowcos-inputs: New file.
10121 * benchtests/slowcos.c: New file.
10122 * benchtests/slowtan-inputs: New file.
10123 * benchtests/slowtan.c: New file.
10124 * benchtests/tan-inputs: New file.
10125
e913141d
RM
101262013-04-16 Roland McGrath <roland@hack.frob.com>
10127
10128 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10129 considered kosher.
10130
a2964074
SP
101312013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10132
4856bcd2
SP
10133 * benchtests/Makefile: Include cppflags-iterator.mk to add
10134 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10135
a2964074
SP
10136 * Makefile.in (bench-clean): New target.
10137 * benchtests/Makefile (bench-clean): Likewise.
10138
9fbf9aca
DH
101392013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10140
10141 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10142
207d1e2a
TS
101432013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10144
10145 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10146
306dfba9
AS
101472013-04-15 Andreas Schwab <schwab@suse.de>
10148
10149 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10151 * nscd/pwdcache.c (cache_addpw): Likewise.
10152 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10153 more than recsize.
10154
206a6699
SP
101552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10156
10157 * benchtests/Makefile (bench): Write all output to
10158 bench-out.tmp together.
10159
0582f6b3
AS
101602013-04-15 Andreas Schwab <schwab@suse.de>
10161
10162 * nscd/nscd.c (main): Don't fork again after closing files.
10163
acb4325f
SP
101642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10165
5cb26d0a
SP
10166 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10167
acb4325f
SP
10168 * benchtests/Rules (bench-deps): Collect dependencies into a
10169 single variable. Add Makefile to dependencies.
10170 ($(objpfx)bench-%.c): Depend on bench-deps.
10171
47792506
RM
101722013-04-12 Roland McGrath <roland@hack.frob.com>
10173 Xavier Roche <roche+kml2@exalead.com>
10174
10175 [BZ #15361]
10176 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10177 just that it's a file descriptor.
10178 * manual/llio.texi (Synchronizing AIO Operations): Update description
10179 for EBADF error from aio_fsync.
10180
8fc1bee5
SP
101812013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10182
10183 * Rules (bench): Move target definition...
10184 * benchtests/Makefile: ... here.
10185
aba5e333
CD
101862013-04-11 Carlos O'Donell <carlos@redhat.com>
10187
10188 * math/libm-test.inc (cos_test): Fix PI/2 test.
10189 (sincos_test): Likewise.
10190 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10191 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10192
273cdee8
AS
101932013-04-11 Andreas Schwab <schwab@suse.de>
10194
6ecec3b6
AS
10195 [BZ #13988]
10196 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10197 accept exponent character only when digits were seen.
10198 * stdio-common/Makefile (tests): Add bug26.
10199 * stdio-common/bug26.c: New file.
10200
273cdee8
AS
10201 [BZ #14293]
10202 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10203 non-freeable.
10204
8da491f5
SP
102052013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10206
01dc6df9
SP
10207 * Makeconfig (rtld-prefix): Define built linker prefix.
10208 * Rules (run-bench): Use it.
10209 * math/Makefile (run-regen-ulps): Likewise.
10210
8da491f5
SP
10211 * Rules (bench): Remove eval.
10212
abe7f530
SP
102132013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10214 Roland McGrath <roland@hack.frob.com>
10215 Ondrej Bilka <neleai@seznam.cz>
10216
10217 [BZ #15346]
10218 * time/getdate.c: Include ctype.h and alloca.h.
10219 (__getdate_r): Trim leading and trailing spaces of input.
10220 * time/tst-getdate.c (tests): Add tests with leading and
10221 trailing spaces.
10222
61c23e62
RM
102232013-04-08 Roland McGrath <roland@hack.frob.com>
10224
10225 [BZ #14280]
10226 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10227 when computing value.
10228
7208a313
CD
102292013-04-06 Carlos O'Donell <carlos@redhat.com>
10230
085b2d41
CD
10231 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10232 Use testrun.sh to run libm tests.
10233
7208a313
CD
10234 [BZ #15309]
10235 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10236
872c0acd
MM
102372013-04-06 Marko Myllynen <myllynen@redhat.com>
10238
10239 [BZ #15264]
10240 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10241
26510bdd
CD
102422013-04-06 Carlos O'Donell <carlos@redhat.com>
10243
10244 * Makefile.in (regen-ulps): New target.
10245 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10246 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10247 [ifneq (no,$(PERL)] (regen-ulps): New target.
10248 [ifeq (no,$(PERL)] (regen-ulps): New target.
10249 * math/libm-test.inc (ulps_file_name): Define.
10250 (output_dir): New variable.
10251 (options): Add "output-dir" option.
10252 (parse_opt): Handle 'o' case.
10253 (main): If output_dir is non-NULL use it as a prefix
10254 otherwise use "".
10255 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10256
a01f19c8
CD
102572013-04-06 Carlos O'Donell <carlos@redhat.com>
10258
10259 [BZ #10060, #10062]
10260 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10261 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10262 fail configure if __sync_val_compare_and_swap is not inlined.
10263 * sysdeps/i386/configure: Regenerate.
10264 * configure.in: Build for i686 when configured for i386.
10265 * configure: Regenerate.
10266 * README: Remove i386 reference.
10267
b7a329a5
CD
102682013-04-06 Carlos O'Donell <carlos@redhat.com>
10269
10270 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10272
bf0f50df
TS
102732013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10274
ee091edf
TS
10275 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10276 (lmsnanval): New variables.
10277 (F): Add conversion tests.
10278 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10279 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10280
a8b792d6
TS
10281 * stdio-common/tstdiomisc.c (F): Properly collect individual
10282 tests' results.
10283
a1cbf437
TS
10284 [BZ #14686, #15336]
10285 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10286 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10287 Instead, use input NaN values or generate a qNaN by arithmetic
10288 operation. Also fix bugs to comply with the standard.
10289 * math/libm-test.inc (remainder_test): Add more tests.
10290
8b43a0c9
TS
10291 [BZ #15335, #15342]
10292 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10294 input NaN values or generate a qNaN by arithmetic operation.
10295
d91da4ce
TS
10296 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10297 unreachable code.
10298
bf0f50df
TS
10299 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10300 definitions.
10301
05e166c8
JM
103022013-04-03 Joseph Myers <joseph@codesourcery.com>
10303
10304 [BZ #14478]
10305 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10306 underflowed result.
10307 * math/s_cexpf.c (__cexpf): Likewise.
10308 * math/s_cexpl.c (__cexpl): Likewise.
10309 * math/libm-test.inc (cexp_test): Add more tests.
10310
1cef1b19
AS
103112013-04-03 Andreas Schwab <schwab@suse.de>
10312
10313 [BZ #15330]
10314 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10315 order arrays from heap if bigger than alloca cutoff.
10316
74d87055
TS
103172013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10318
10319 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10320 (SNAN_TESTS_double): Refer to GCC PR56831.
10321 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10322 GCC PR56828.
10323
d755bba4
SP
103242013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10325
90d5d5bb
SP
10326 * Rules (bench): Move bench.out after the run is complete.
10327
73e0cd5d
SP
10328 * Rules (bench): Echo currently running benchmark.
10329
64aabd4b
SP
10330 * benchtests/Makefile (bench): Add atan and slowatan.
10331 * benchtests/atan-inputs: New file.
10332 * benchtests/slowatan-inputs: New file.
10333 * benchtests/slowatan.c: New file.
10334
c871eccd
SP
10335 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10337 its value.
10338
d755bba4
SP
10339 [BZ #15305]
10340 * sysdeps/unix/sysv/linux/kernel-features.h
10341 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10342 __ASSUME_XFS_RESTRICTED_CHOWN.
10343 * sysdeps/unix/sysv/linux/pathconf.c
10344 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10345 Save and restore errno.
10346
52ce4860
JM
103472013-04-02 Joseph Myers <joseph@codesourcery.com>
10348
10349 [BZ #15327]
10350 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10351 arguments using __kernel_casinh.
10352 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10353 arguments using __kernel_casinhf.
10354 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10355 arguments using __kernel_casinhl.
10356 * math/libm-test.inc (cacosh_test): Add more tests.
10357 * sysdeps/i386/fpu/libm-test-ulps: Update.
10358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10359
81f311c2
SP
103602013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10361
e7906a47
SP
10362 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10364
92e3664b
SP
10365 * bench/Makefile (bench): Add sin and slowsin.
10366 * benchtests/sin-inputs: New file.
10367 * benchtests/slowsin-inputs: New file.
10368 * benchtests/slowsin.c: New file.
10369
81f311c2
SP
10370 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10371 (bench): Add slowexp and slowpow.
10372 (exp-ITER): Increase iterations.
10373 (pow-ITER): Likewise.
10374 * benchtests/exp-inputs: Change input.
10375 * benchtests/pow-inputs: Likewise.
10376 * benchtests/slowexp-inputs: New file.
10377 * benchtests/slowexp.c: New file.
10378 * benchtests/slowpow-inputs: New file.
10379 * benchtests/slowpow.c: New file.
10380
ab0f1aa9
AZ
103812013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10382
10383 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10384 instructions.
10385 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10386 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10387 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10388 * benchtests/Makefile: Add rint benchtest.
10389 * benchtests/rint-inputs: Input for rint benchtest.
10390
57267616
TS
103912013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10392
10393 * Versions.def (libm): Add GLIBC_2.18.
10394 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10395 hidden libm prototypes.
10396 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10397 * math/Makefile (libm-calls): Add s_issignaling.
10398 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10399 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10400 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10401 declaration.
10402 * math/math.h [__USE_GNU] (issignaling): New macro.
10403 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10404 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10406 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10409 * manual/arith.texi (issignaling): New section.
10410 * manual/libm-err-tab.pl (@all_functions): Update comment.
10411 * math/gen-libm-test.pl (parse_args): Apply special handling for
10412 issignaling.
10413 * math/libm-test.inc (print_float, issignaling_test): New
10414 functions.
10415 (check_float_internal): Add issignaling checks.
10416 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10417 default definition.
10418 * sysdeps/powerpc/math-tests.h: New file.
10419 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10420 tests.
10421 * math/test-snan.c (TEST_FUNC): Likewise.
10422
6142896d
DM
104232013-03-30 David S. Miller <davem@davemloft.net>
10424
10425 * po/de.po: Update from translation team.
10426
ccc8cadf
JM
104272013-03-30 Joseph Myers <joseph@codesourcery.com>
10428
10429 [BZ #10357]
10430 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10431 imaginary part less than 1.0 and real part less than 0.5
10432 specially.
10433 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10434 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10435 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10436 (cacos_test): Add more tests.
10437 (casin_test): Likewise.
10438 (casinh_test): Likewise.
10439 * sysdeps/i386/fpu/libm-test-ulps: Update.
10440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441
0f6a8d4b
SP
104422013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10443
0d1029de
SP
10444 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10445 ONE with its value.
10446
c2d94018
SP
10447 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10448 (__pow_mp): Replace ONE and MONE with their values.
10449 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10450 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10451 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10452 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10453 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10454 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10455
27ec37f1
SP
10456 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10457
a64d7e0e
SP
10458 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10459 (__pow_mp): Replace ZERO and MZERO with their values.
10460 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10461 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10462 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10463 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10464 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10465 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10466 (__sqr): Likewise.
10467
d26dd3eb
SP
10468 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10469
0f6a8d4b
SP
10470 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10471
e57b0c61
RM
104722013-03-28 Roland McGrath <roland@hack.frob.com>
10473
10474 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10475 Declare with __attribute__ ((weak)).
10476 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10477 Call __call_tls_dtors only if it's not NULL.
10478
356b3480
RM
104792013-03-28 Roland McGrath <roland@hack.frob.com>
10480
288f7d79
RM
10481 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10482 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10483 magic __ehdr_start linker symbol if it's defined.
10484 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10485 them up here if it was already done.
10486
dc0a0263
RM
10487 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10488 (_dl_aux_init): Use const in cast when setting it.
10489 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10490 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10491 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10492
3d3436ae
RM
10493 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10494 Declare them here.
10495 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10496 * csu/libc-tls.c: Nor here.
10497 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10498
356b3480
RM
10499 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10500 (__libc_message): Never call vsyslog.
10501
b0f1246a
AM
105022013-03-28 Alan Modra <amodra@gmail.com>
10503
10504 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10505 Define as empty.
10506 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10507 Likewise.
10508
fbbe2b9a
AZ
105092013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510
10511 [BZ #15214]
10512 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10513 underflow.
10514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10515
1728ab37
SP
105162013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10517
7a86be6e
SP
10518 [BZ #15304]
10519 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10520 Don't add gid passed as argument.
10521
1728ab37
SP
10522 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10523
3a7182a1
JM
105242013-03-27 Joseph Myers <joseph@codesourcery.com>
10525
10526 [BZ #15307]
10527 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10528 imaginary part between 1.0 and 1.5 and real part less than 0.5
10529 specially.
10530 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10531 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10532 * math/libm-test.inc (cacos_test): Add more tests.
10533 (casin_test): Likewise.
10534 (casinh_test): Likewise.
10535 * sysdeps/i386/fpu/libm-test-ulps: Update.
10536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10537
6f2e90e7
SP
105382013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10539
5739f705
SP
10540 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10541 constants.
10542 (norm): Likewise.
10543 (denorm): Likewise.
10544 (__dbl_mp): Likewise.
10545 (add_magnitudes): Likewise.
10546 (sub_magnitudes): Likewise.
10547 (__add): Likewise.
10548 (__sub): Likewise.
10549 (__mul): Likewise.
10550 (__sqr): Likewise.
10551 (__inv): Likewise.
10552 (__dvd): Likewise.
10553
e375e83d
SP
10554 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10555 commented code.
10556 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10557 (__dubcos): Likewise.
10558 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10559 (__ieee754_acos): Likewise.
10560 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10561 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10562 (__exp1): Likewise.
10563 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10565 (log1): Likewise.
10566 (my_log2): Likewise.
10567 (checkint): Likewise.
10568 * sysdeps/ieee754/dbl-64/e_remainder.c
10569 (__ieee754_remainder): Likewise.
10570 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10571 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10572 (bsloww): Likewise.
10573 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10574
6f2e90e7
SP
10575 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10576 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10577 MANTISSA_STORE_T to store computations on mantissa. Use
10578 macros for rounding and division.
10579 (denorm): Likewise.
10580 (__dbl_mp): Likewise.
10581 (add_magnitudes): Likewise.
10582 (sub_magnitudes): Likewise.
10583 (__mul): Likewise.
10584 (__sqr): Likewise.
10585 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10586 powers of two in terms of TWOPOW macro.
10587 (mp_no): Make type of mantissa as MANTISSA_T.
10588 [!RADIXI]: Define RADIXI.
10589 [!TWO52]: Define TWO52.
10590 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10591
fce14d4e
AZ
105922013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10593
10594 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10595 llroundl symbol when building for PPC32.
10596
9ad027fb
MW
105972013-03-24 Mark H Weaver <mhw@netris.org>
10598
10599 * manual/arith.texi (Normalization Functions): Fix prototypes for
10600 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10601
e42a38dd
AZ
106022013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10603
10604 [BZ #13889]
10605 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10606 high value to check if expl overflow.
10607 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10608 to check for underflow and overflow.
10609 * math/libm-test.inc: Add exp test.
10610
2e0fb521
DL
106112013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10612
10613 [BZ #11120]
10614 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10615 with NOT_IN_libc.
10616
b5784d95
AZ
106172013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10618
10619 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10620 symbol.
10621
5aa4a1a1
TS
106222013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10623
bdef0be7
TS
10624 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10625 wrap blocks consisting of several statements.
10626
5aa4a1a1
TS
10627 * sysdeps/generic/math-tests.h: New file.
10628 * sysdeps/i386/fpu/math-tests.h: Likewise.
10629 * math/test-snan.c: Include it.
10630 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10631
98c48fe5
JM
106322013-03-21 Joseph Myers <joseph@codesourcery.com>
10633
10634 [BZ #15285]
10635 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10636 (__ieee754_j0l): Do not improve calculations using cos of twice
10637 input for inputs above LDBL_MAX / 2.0L.
10638 (__ieee754_y0l): Likewise.
10639 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10640 (__ieee754_j1l): Do not improve calculations using cos of twice
10641 input for inputs above LDBL_MAX / 2.0L.
10642 (__ieee754_y1l): Likewise.
10643 * math/libm-test.inc (j0_test): Add another test.
10644 (j1_test): Likewise.
10645 (y0_test): Likewise.
10646 (y1_test): Likewise.
10647 * sysdeps/i386/fpu/libm-test-ulps: Update.
10648
3775a8bc
SP
106492013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10650
10651 * Rules ($(objpfx)bench-%.c): Include code from a C source
10652 file.
10653
0a1b2ae6
JM
106542013-03-21 Joseph Myers <joseph@codesourcery.com>
10655
10656 [BZ #15287]
10657 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10658 imaginary part 1.0 and real part less than 0.5 specially.
10659 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10660 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10661 * math/libm-test.inc (cacos_test): Add more tests.
10662 (casin_test): Likewise.
10663 (casinh_test): Likewise.
10664 * sysdeps/i386/fpu/libm-test-ulps: Update.
10665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10666
b33d4ce4
SP
106672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10668
10669 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10670 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10671
bef0b507
JM
106722013-03-20 Joseph Myers <joseph@codesourcery.com>
10673
10674 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10675 * config.make.in (config-cflags-sse4): Remove variable.
10676 (config-cflags-avx): Likewise.
10677 (config-cflags-sse2avx): Likewise.
10678 (config-cflags-novzeroupper): Likewise.
10679 (config-asflags-i686): Likewise.
10680 (have-mfma4): Likewise.
10681 (have-as-vis3): Likewise.
10682 (MIG): Likewise.
10683 * configure.in (MIG): Do not AC_SUBST.
10684 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10685 (libc_cv_cc_sse4): Do not AC_SUBST.
10686 (libc_cv_cc_avx): Likewise.
10687 (libc_cv_cc_sse2avx): Likewise.
10688 (libc_cv_cc_novzeroupper): Likewise.
10689 (libc_cv_cc_fma4): Likewise.
10690 (libc_cv_as_i686): Likewise.
10691 (libc_cv_sparc_as_vis3): Likewise.
10692 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10693 LIBC_CONFIG_VAR.
10694 (config-asflags-i686): Likewise.
10695 (config-cflags-avx): Likewise.
10696 (config-cflags-sse2avx): Likewise.
10697 (have-mfma4): Likewise.
10698 (config-cflags-novzeroupper): Likewise.
10699 * sysdeps/mach/configure.in (MIG): Likewise.
10700 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10701 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10702 LIBC_CONFIG_VAR.
10703 (config-cflags-avx): Likewise.
10704 (config-cflags-sse2avx): Likewise.
10705 (have-mfma4): Likewise.
10706 (config-cflags-novzeroupper): Likewise.
10707 * configure: Regenerated.
10708 * sysdeps/i386/configure: Likewise.
10709 * sysdeps/mach/configure: Likewise.
10710 * sysdeps/sparc/configure: Likewise.
10711 * sysdeps/x86_64/configure: Likewise.
10712
912cc4b3
RM
107132013-03-20 Roland McGrath <roland@hack.frob.com>
10714
10715 [BZ #14812]
10716 * locale/programs/localedef.c (options): Put N_ translation marker
10717 on argument names, not just descriptions.
10718
04eed2b0
MS
107192013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10720
10721 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10722
a065ceff
OB
107232013-03-20 Ondřej Bílka <neleai@seznam.cz>
10724
9bb2a810 10725 [BZ #14176]
a065ceff
OB
10726 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10727
a600e5ce
RM
107282013-03-19 Roland McGrath <roland@hack.frob.com>
10729
10730 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10731 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10732 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10733 [!BEFORE_ABORT] (before_abort): New function.
10734 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10735 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10736 (writev_for_fatal): New function.
10737 (WRITEV_FOR_FATAL): New macro; call that.
10738 (backtrace_and_maps): New function.
10739 (BEFORE_ABORT): New macro; call that.
10740 (struct str_list): Type removed.
10741 (__libc_message, __libc_fatal): Functions removed.
10742 Include <sysdeps/posix/libc_fatal.c> instead.
10743
6b18bea6
JM
107442013-03-19 Joseph Myers <joseph@codesourcery.com>
10745
10746 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10747 constants.
10748 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10749 double constants.
10750
aaa8cb4b
AS
107512013-03-19 Andreas Schwab <schwab@suse.de>
10752
44673770
AS
10753 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10754 * sysdeps/gnu/configure: Regenerate.
10755
aaa8cb4b
AS
10756 * configure.in: Substitute libc_cv_rtlddir.
10757 * configure: Regenerate.
10758 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10759 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10760 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10761 * elf/Makefile (install-others, CFLAGS-interp.c)
10762 (ldso_install, common-ldd-rewrite): Likewise.
10763 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10764 $(inst_slibdir)/$(rtld-installed-name).
10765 * scripts/rellns-sh: Add -p option.
10766 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10767 for source.
10768
d3cfc668
SP
107692013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10770
10771 * manual/nptl.texi: Renamed to ...
10772 * manual/threads.texi: ... this.
10773 * manual/Makefile (chapters): Update.
10774
0e2b9cdd
RM
107752013-03-18 Roland McGrath <roland@hack.frob.com>
10776
10777 [BZ #14812]
10778 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10779 on argument names, not just descriptions.
0e2b9cdd
RM
10780 * malloc/memusagestat.c (options): Likewise.
10781 * nss/getent.c (options): Likewise.
63270c24
RM
10782
107832013-03-18 Benno Schulenberg <bensberg@justemail.net>
10784
10785 [BZ #14812]
10786 * iconv/iconv_prog.c (options): Put N_ translation marker
10787 on argument names, not just descriptions.
10788 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10789
b2e1393c
OB
107902013-03-18 Ondrej Bilka <neleai@seznam.cz>
10791
10792 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10793 implementation which is faster on all x86_64 architectures.
10794 Tested on AMD, Intel Nehalem, SNB, IVB.
10795 * sysdeps/x86_64/strnlen.S: Likewise.
10796
10797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10798 Remove all multiarch strlen and strnlen versions.
10799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10800 Remove strlen and strnlen related parts.
10801
10802 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10803 Inline strlen part.
10804 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10805
10806 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10807 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10808 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10809 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10810 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10811 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10812
ec4ff04d
CD
108132013-03-17 Carlos O'Donell <carlos@redhat.com>
10814
10815 * manual/memory.texi (Malloc Tunable Parameters):
10816 Sort parameters alphabetically. Add comments for missing entries.
10817
cd18e90a
DM
108182013-03-17 David S. Miller <davem@davemloft.net>
10819
10820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10821
2a185d32
JM
108222013-03-16 Joseph Myers <joseph@codesourcery.com>
10823
d2f9799e
JM
10824 [BZ #15283]
10825 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10826 for arguments at most half maximum finite value.
10827 * math/libm-test.inc (j0_test): Add more tests.
10828 (j1_test): Likewise.
10829 (y0_test): Likewise.
10830 (y1_test): Likewise.
10831 * sysdeps/i386/fpu/libm-test-ulps: Update.
10832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10833
2a185d32
JM
10834 [BZ #14155]
10835 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10836 1 / x and functions P and Q for arguments above 0x1p256L.
10837 (__ieee754_y0l): Likewise.
10838 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10839 (__ieee754_y1l): Likewise.
10840 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10841 (j1_test): Likewise.
10842 (y0_test): Likewise.
10843 (y1_test): Likewise.
10844
6cbec759
TS
108452013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10846
10847 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10848 variable.
10849
bc16e260
RM
108502013-03-15 Roland McGrath <roland@hack.frob.com>
10851
aefc9b8c
RM
10852 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10853 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10854 zero since it's initialized to EXEC_PAGESIZE.
10855
bc16e260
RM
10856 * sysdeps/unix/sysv/linux/ldsodefs.h
10857 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10858 * sysdeps/generic/ldsodefs.h: ... here.
10859
a57da955
TS
108602013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10861
af00a34d
TS
10862 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10863
495ded2c
TS
10864 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10865 math/test-snan.c.
10866 * math/test-snan.c: Renamed from
10867 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10868 * math/Makefile (tests): Add test-snan.
10869 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10870 test-powerpc-snan.
10871
777b0332
TS
10872 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10873 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10874 functions.
10875 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10876 __builtin_nan family of functions.
10877 * math/libm-test.inc (initialize): Initialize qnan_value with
10878 __builtin_nan family of functions.
10879 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10880 Remove variables.
10881 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10882 Remove functions.
10883 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10884 storage class. Initialize qNaN_var and sNaN_var with
10885 __builtin_nan and __builtin_nans families of functions,
10886 respectively.
10887
64d063b8
TS
10888 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10889 (sqrt_test): Remove duplicate test with qNaN input.
10890 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10891 (round_test, signbit_test, significand_test): Note missing +/-Inf
10892 as well as qNaN tests.
10893
67e971f1
TS
10894 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10895 qNaN_var. Fix a few strings, too.
10896 * math/libm-test.inc (nan_value): Rename to qnan_value.
10897 * math/gen-libm-test.pl (%beautify): Adjust to that.
10898 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10899 * math/test-misc.c (main): Likewise.
10900 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10901 to __qnan_bytes, and __qnan_union, respectively.
10902 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10903 Likewise.
10904 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10905 and lqnanval, respectively.
10906 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10907 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10908 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10909 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10910
64487e12
TS
10911 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10912 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10913 doubles.
10914
e015e27b
TS
10915 * math/test-misc.c (main): Fix copy'n'pastos.
10916 * misc/tst-efgcvt.c (special): Likewise.
10917
a57da955
TS
10918 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10919 Remove declarations.
10920
1e380345
SP
109212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10922
10923 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10924 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10925 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10926 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10927
ef26eece
AZ
109282013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10929
10930 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10931 macro to return vdso values correctly in IFUNC implementations.
10932 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10933 Optimization by using IFUNC.
10934
8cfdb7e0
SP
109352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10936 Richard Henderson <rth@redhat.com>
10937 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10938
10939 * Makefile.in (bench): New target.
10940 * NEWS: Mention the benchmark framework.
10941 * Rules (bench): Likewise.
10942 (binaries-bench): Generate binaries for functions to
10943 benchmark.
10944 * benchtests/Makefile: New makefile for benchmark tests.
10945 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10946 programs.
10947 * benchtests/exp-inputs: New input file for EXP function.
10948 * benchtests/pow-inputs: New input file for POW function.
10949 * scripts/bench.pl: New script to generate source files for
10950 benchmark programs.
10951
bcda9880
SP
109522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10953
d22ca8cd
SP
10954 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10955 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10956 computations on mantissa. Use macros for rounding and
10957 division.
10958 (denorm): Likewise.
10959 (__dbl_mp): Likewise.
10960 (add_magnitudes): Likewise.
10961 (sub_magnitudes): Likewise.
10962 (__mul): Likewise.
10963 (__sqr): Likewise.
10964 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10965 powers of two in terms of TWOPOW macro.
10966 (mp_no): Make type of mantissa as MANTISSA_T.
10967 [!RADIXI]: Define RADIXI.
10968 [!TWO52]: Define TWO52.
10969 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10970
bcda9880
SP
10971 * manual/nptl.texi (cindex): Modify threads to pthreads.
10972
06d5adfb
JM
109732013-03-15 Joseph Myers <joseph@codesourcery.com>
10974
10975 * sysdeps/x86_64/preconfigure: Regenerated.
10976
41c7328e
JM
109772013-03-14 Joseph Myers <joseph@codesourcery.com>
10978
10979 [BZ #14155]
10980 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10981 0x1p28 and above.
10982 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10983 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10984 0x1p28 and above.
10985 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10986 * math/libm-test.inc (j0_test): Do not allow one spurious
10987 underflow exception.
10988 (y1_test): Likewise.
10989
e25cfa60
SP
109902013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10991
0409959c
SP
10992 * manual/Makefile (chapters): Add nptl.
10993 * manual/debug.texi (Debugging Support): Add link to Threads
10994 chapter.
10995 * manual/nptl.texi: New file.
10996
e25cfa60
SP
10997 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10998
58a1335e
PB
109992013-03-14 Petr Baudis <pasky@ucw.cz>
11000
11001 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11002 for non-NULL pointer before the memory validity test. Pointed
11003 out by Holger Brunck <holger.brunck@keymile.com>.
11004
9dc7c64f
AS
110052013-03-13 Andreas Schwab <schwab@suse.de>
11006
11007 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11008 instead of .os.
11009
54206aa6
JM
110102013-03-13 Joseph Myers <joseph@codesourcery.com>
11011
11012 * timezone/zic.c: Update from tzcode 2013b.
11013
e98cdb38
CD
110142013-03-12 Carlos O'Donell <carlos@redhat.com>
11015
11016 * manual/install.texi (Configuring and compiling):
11017 Mention i686 and i586.
11018 * INSTALL: Regenerate.
11019
9967e003
RM
110202013-03-12 Roland McGrath <roland@hack.frob.com>
11021
11022 * sysdeps/init_array/elf-init.c: New file.
11023 * csu/elf-init.c
11024 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11025 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11026
11027 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11028 __gmon_start__ as global, but as static with a .preinit_array pointer.
11029 * sysdeps/init_array/gmon-start.c: New file. Use that.
11030 * sysdeps/init_array/crti.S: New file, empty except for comments.
11031 * sysdeps/init_array/crtn.S: Likewise.
11032
e6b5a293 110332013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11034
11035 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11036 definining bcopy.
80f844c9
OB
11037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11038 Remove Prefer_SSE_for_memop.
11039 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11040 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11041 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11043 memset-x86-64.
80f844c9 11044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11045 Remove bzero, memset ifunc support.
80f844c9
OB
11046 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11047 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11048 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11049 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11050
fb6b0fcb
AS
110512013-03-11 Andreas Schwab <schwab@suse.de>
11052
11053 [BZ #15234]
11054 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11055 by SHLIB_COMPAT.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11057 (GLIBC_2.16): Remove pthread_atfork.
11058
3e6bd4b1
PP
110592013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11060
11061 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11062 (ptestcases.h): Likewise.
11063
222d7f00
RM
110642013-03-08 Roland McGrath <roland@hack.frob.com>
11065
11066 * Makeconfig ($(common-objpfx)config.status): Depend on
11067 sysdeps/*/preconfigure{,.in} too.
11068
1ba4f030
JM
110692013-03-08 Joseph Myers <joseph@codesourcery.com>
11070
a222d91a
JM
11071 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11072 (__free_hook): Use void * instead of __malloc_ptr_t.
11073 (__malloc_hook): Likewise.
11074 (__realloc_hook): Likewise.
11075 (__memalign_hook): Likewise.
11076 (__after_morecore_hook): Likewise.
11077 * malloc/arena.c (save_malloc_hook): Likewise.
11078 (save_free_hook): Likewise.
11079 * malloc/hooks.c (malloc_hook_ini): Likewise.
11080 (realloc_hook_ini): Likewise.
11081 (memalign_hook_ini): Likewise.
11082 * malloc/malloc.c (malloc_hook_ini): Likewise.
11083 (realloc_hook_ini): Likewise.
11084 (memalign_hook_ini): Likewise.
11085 (__free_hook): Likewise.
11086 (__malloc_hook): Likewise.
11087 (__realloc_hook): Likewise.
11088 (__memalign_hook): Likewise.
11089 (__libc_malloc): Likewise.
11090 (__libc_free): Likewise.
11091 (__libc_realloc): Likewise.
11092 (__libc_memalign): Likewise.
11093 (__libc_valloc): Likewise.
11094 (__libc_pvalloc): Likewise.
11095 (__libc_calloc): Likewise.
11096 (__posix_memalign): Likewise.
11097 * malloc/morecore.c (__sbrk): Likewise.
11098 (__default_morecore): Likewise.
11099
5cc45e10
JM
11100 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11101
dd54b864
JM
11102 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11103 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11104 __malloc_ptrdiff_t.
11105
1ba4f030
JM
11106 * malloc/malloc.h (__malloc_size_t): Remove macro.
11107 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11108 __malloc_size_t.
11109 (old_memalign_hook): Likewise.
11110 (old_realloc_hook): Likewise.
11111 (struct hdr): Likewise.
11112 (flood): Likewise.
11113 (mallochook): Likewise.
11114 (memalignhook): Likewise.
11115 (reallochook): Likewise.
11116 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11117 (tr_old_realloc_hook): Likewise.
11118 (tr_old_memalign_hook): Likewise.
11119 (tr_mallochook): Likewise.
11120 (tr_reallochook): Likewise.
11121 (tr_memalignhook): Likewise.
11122
edf66e57
AZ
111232013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11124
11125 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11126 default_ldbl_pack and using as default implementation.
11127 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11128 implementation.
11129 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11130 redundant definition.
11131 (ldbl_insert_mantissa): Likewise.
11132 (ldbl_canonicalize): Likewise.
11133 (ldbl_nearbyint): Likewise.
11134 (ldbl_pack): Rename to ldbl_pack_ppc.
11135 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11136 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11137 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11138
6d9145d8
SP
111392013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11140
11141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11142 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11143 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11144 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11146 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11147 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11148 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11149
4dd4e157
AJ
111502013-03-07 Andreas Jaeger <aj@suse.de>
11151
11152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11153 bits/mman-linux.h.
11154
adbb8027
SP
111552013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11156
ce544b5b
SP
11157 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11158 Include mpa.h and declare __MPEXP.
11159 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11160 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11161 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11162 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11163 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11164 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11165 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11166
4cc149fd
SP
11167 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11168 (__slowpow): Use long double EXPL and LOGL functions to
11169 compute POW.
11170 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11171 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11172 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11173 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11174 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11175 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11176
e6ebd4a7
SP
11177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11178 intermediate variable to calculate exponent.
11179 (__sqr): Likewise.
11180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11181 Likewise.
11182 (__sqr): Likewise.
11183
82a9811d
SP
11184 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11185 [!NO__SQR]: Define __sqr.
11186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11187 and NO__SQR. Remove all code except __mul and __sqr. Include
11188 sysdeps/ieee754/dbl-64/mpa.c.
11189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11190
adbb8027
SP
11191 [BZ #12723]
11192 * posix/Makefile (tests): Add tst-pathconf.
11193 * posix/tst-pathconf.c: New test case.
11194 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11195 _PC_PIPE_BUF.
11196 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11197
39120df9
PF
111982013-03-06 Patsy Franklin <pfrankli@redhat.com>
11199
11200 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11201
67525cb8
AJ
112022013-03-06 Andreas Jaeger <aj@suse.de>
11203
664a9ce4
AJ
11204 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11205 definition via __MAP_ANONYMOUS.
11206
8e39047d
AJ
11207 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11208 it's not part of Linux headers.
11209
67525cb8
AJ
11210 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11211 (MAP_HUGE_MASK): Define.
11212
11213 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11214 Define.
11215 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11216 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11217 Define.
11218 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11219 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11220 Define.
11221 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11222 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11223 Define.
11224 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11225
11226 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11227 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11228 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11229 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11230 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11231 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11232
11233 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11234 Handle f2fs.
11235
11236 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11237 Handle f2fs and efivarfs.
11238
11239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11240 f2fs.
11241
11242 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11243 (EFIVARFS_MAGIC): Add.
11244 (F2FS_LINK_MAX): Add.
11245
e1b42695
PP
112462013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11247
11248 * stdio-common/vfprintf.c: Replace __builtin_expect with
11249 __glibc_unlikely.
11250
2d67d91a
JM
112512013-03-06 Joseph Myers <joseph@codesourcery.com>
11252
11253 [BZ #13550]
11254 * sysdeps/generic/bp-sym.h: Remove file.
11255 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11256 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11257 <bp-sym.h> and <bp-asm.h>.
11258 (__longjmp): Don't use BP_SYM.
11259 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11260 and <bp-asm.h>.
11261 (memcpy): Don't use BP_SYM.
11262 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11263 <bp-sym.h> and <bp-asm.h>.
11264 (memcpy): Don't use BP_SYM.
11265 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11266 <bp-asm.h>.
11267 (memcpy): Don't use BP_SYM.
11268 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11269 <bp-asm.h>.
11270 (memset): Don't use BP_SYM.
11271 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11272 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11273 (__bzero): Don't use BP_SYM.
11274 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11275 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11276 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11277 <bp-sym.h> and <bp-asm.h>.
11278 (memcmp): Don't use BP_SYM. Remove comment about bounded
11279 pointers.
11280 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11281 <bp-sym.h> and <bp-asm.h>.
11282 (memcpy): Don't use BP_SYM.
11283 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11284 <bp-sym.h> and <bp-asm.h>.
11285 (memset): Don't use BP_SYM.
11286 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11287 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11288 (__bzero): Don't use BP_SYM.
11289 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11290 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11291 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11292 <bp-sym.h> and <bp-asm.h>.
11293 (strncmp): Don't use BP_SYM. Remove comment about bounded
11294 pointers.
11295 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11296 <bp-sym.h> and <bp-asm.h>.
11297 (memcpy): Don't use BP_SYM.
11298 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11299 <bp-sym.h> and <bp-asm.h>.
11300 (memset): Don't use BP_SYM.
11301 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11302 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11303 (__bzero): Don't use BP_SYM.
11304 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11305 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11306 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11307 <bp-sym.h> and <bp-asm.h>.
11308 (__memchr): Don't use BP_SYM.
11309 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11310 <bp-sym.h> and <bp-asm.h>.
11311 (memcmp): Don't use BP_SYM. Remove comment about bounded
11312 pointers.
11313 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11314 <bp-sym.h> and <bp-asm.h>.
11315 (memcpy): Don't use BP_SYM.
11316 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11317 <bp-sym.h> and <bp-asm.h>.
11318 (__mempcpy): Don't use BP_SYM.
11319 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11320 <bp-sym.h> and <bp-asm.h>.
11321 (__memrchr): Don't use BP_SYM.
11322 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11323 <bp-sym.h> and <bp-asm.h>.
11324 (memset): Don't use BP_SYM.
11325 (__bzero): Likewise.
11326 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11327 <bp-sym.h> and <bp-asm.h>.
11328 (__rawmemchr): Don't use BP_SYM.
11329 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11330 <bp-sym.h> and <bp-asm.h>.
11331 (__STRCMP): Don't use BP_SYM.
11332 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11333 <bp-sym.h> and <bp-asm.h>.
11334 (strchr): Don't use BP_SYM.
11335 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11336 <bp-sym.h> and <bp-asm.h>.
11337 (__strchrnul): Don't use BP_SYM.
11338 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11339 <bp-sym.h> and <bp-asm.h>.
11340 (strlen): Don't use BP_SYM.
11341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11342 <bp-sym.h> and <bp-asm.h>.
11343 (strncmp): Don't use BP_SYM. Remove comment about bounded
11344 pointers.
11345 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11346 <bp-sym.h> and <bp-asm.h>.
11347 (__strnlen): Don't use BP_SYM.
11348 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11349 <bp-sym.h> and <bp-asm.h>.
11350 (__GI__setjmp): Don't use BP_SYM.
11351 (_setjmp): Likewise.
11352 (__sigsetjmp): Likewise.
11353 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11354 (L(start_addresses)): Don't use BP_SYM.
11355 (_start): Likewise.
11356 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11357 <bp-asm.h>.
11358 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11359 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11360 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11361 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11362 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11363 <bp-asm.h>.
11364 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11365 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11366 about bounded pointers.
11367 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11368 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11369 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11370 <bp-asm.h>.
11371 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11372 about bounded pointers. Remove GKM FIXME comments.
11373 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11374 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11375 <bp-asm.h>.
11376 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11377 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11378 Remove GKM FIXME comments.
11379 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11380 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11381 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11382 <bp-asm.h>.
11383 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11384 about bounded pointers. Remove GKM FIXME comment.
11385 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11386 and <bp-asm.h>.
11387 (strncmp): Don't use BP_SYM. Remove comment about bounded
11388 pointers.
11389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11390 <bp-sym.h> and <bp-asm.h>.
11391 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11393 <bp-sym.h> and <bp-asm.h>.
11394 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11395 comment.
11396
cdcf361f
PP
113972013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11398
11399 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11400 call free(NULL).
11401
3c4a2b15
DM
114022013-03-05 David S. Miller <davem@davemloft.net>
11403
11404 * po/es.po: Update from translation team.
11405
cdcf361f 114062013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11407
11408 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11409 <bits/mman-linux.h>.
11410 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11411 is fine.
11412 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11413 <bits/mman-linux.h> to end of file.
11414 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11415 is fine.
11416 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11417 <bits/mman-linux.h> to end of file.
11418 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11419 is fine.
11420 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11421 <bits/mman-linux.h> to end of file.
11422
11423 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11424 (MCL_CURRENT, MCL_FUTURE): Define here.
11425
5f67c04f
AK
114262013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11427
8a4473cc 11428 [BZ #15232]
5f67c04f
AK
11429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11430 attribute_hidden.
11431 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11432
c3e94a95
AK
114332013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11434
11435 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11436 fourth parameter needed for rt_sigprocmask syscall.
11437 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11438 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11439 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11440 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11441 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11442 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11443
cfb6382a
JM
114442013-03-04 Joseph Myers <joseph@codesourcery.com>
11445
11446 [BZ #13550]
11447 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11448 comment about bounded pointers.
11449 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11450 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11451
539d8e01
AJ
114522013-03-04 Andreas Jaeger <aj@suse.de>
11453
11454 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11455 common definitions.
11456
11457 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11458 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11459 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11460 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11462 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11463
2e167a70 114642013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11465
11466 [BZ #15055]
11467 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11468 __ieee754_sqrl instead of __sqrl.
11469
68508633
JM
114702013-03-01 Joseph Myers <joseph@codesourcery.com>
11471
11472 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11473 * sysdeps/powerpc/fpu_control.h: ... here.
11474 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11475 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11476 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11477 * sysdeps/powerpc/bits/mathinline.h: ... here.
11478
7775448e
RM
114792013-03-01 Roland McGrath <roland@hack.frob.com>
11480
11481 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11482 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11483 to just [NEED_DL_SYSINFO_DSO].
11484 * elf/dl-support.c: Likewise.
11485 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11486 * elf/rtld.c (dl_main): Likewise.
11487 * elf/setup-vdso.h (setup_vdso): Likewise.
11488 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11489 * sysdeps/unix/sysv/linux/dl-sysdep.c
11490 (_dl_discover_osversion): Likewise.
11491
4e9b5995
CD
114922013-03-01 Carlos O'Donell <carlos@redhat.com>
11493
11494 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11495 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11496
e23872c8
SP
114972013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11498
e5c74c63
SP
11499 * NEWS: Mention libm performance improvements and non-x86 PI
11500 futex support.
11501
e23872c8
SP
11502 * csu/libc-start.c (__pthread_initialize_minimal): Change
11503 function arguments.
11504 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11505
b5510883
JM
115062013-02-28 Joseph Myers <joseph@codesourcery.com>
11507
11508 [BZ #13550]
11509 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11510 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11511 <bp-sym.h> and <bp-asm.h>.
11512 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11513 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11514 and <bp-asm.h>.
11515 (memcpy): Don't use BP_SYM.
11516 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11517 <bp-asm.h>.
11518 (__mpn_add_n): Don't use BP_SYM.
11519 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11520 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11521 and <bp-asm.h>.
11522 (__mpn_addmul_1): Don't use BP_SYM.
11523 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11524 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11525 <bp-sym.h>.
11526 (_setjmp): Don't use BP_SYM.
11527 (__novmx_setjmp): Likewise.
11528 (__GI__setjmp): Likewise.
11529 (__vmx_setjmp): Likewise.
11530 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11531 <bp-sym.h>.
11532 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11533 (__bzero): Don't use BP_SYM.
11534 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11535 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11536 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11537 <bp-sym.h> and <bp-asm.h>.
11538 (memcpy): Don't use BP_SYM.
11539 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11540 <bp-sym.h> and <bp-asm.h>.
11541 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11542 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11543 <bp-sym.h> and <bp-asm.h>.
11544 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11545 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11546 <bp-asm.h>.
11547 (__mpn_lshift): Don't use BP_SYM.
11548 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11549 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11550 <bp-asm.h>.
11551 (memset): Don't use BP_SYM.
11552 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11553 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11554 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11555 <bp-asm.h>.
11556 (__mpn_mul_1): Don't use BP_SYM.
11557 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11558 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11559 <bp-sym.h> and <bp-asm.h>.
11560 (memcmp): Don't use BP_SYM.
11561 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11562 <bp-sym.h> and <bp-asm.h>.
11563 (memcpy): Don't use BP_SYM.
11564 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11565 <bp-sym.h> and <bp-asm.h>.
11566 (memset): Don't use BP_SYM.
11567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11568 <bp-sym.h> and <bp-asm.h>.
11569 (strncmp): Don't use BP_SYM.
11570 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11571 <bp-sym.h> and <bp-asm.h>.
11572 (memcpy): Don't use BP_SYM.
11573 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11574 <bp-sym.h> and <bp-asm.h>.
11575 (memset): Don't use BP_SYM.
11576 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11577 <bp-sym.h> and <bp-asm.h>.
11578 (__memchr): Don't use BP_SYM.
11579 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11580 <bp-sym.h> and <bp-asm.h>.
11581 (memcmp): Don't use BP_SYM.
11582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11583 <bp-sym.h> and <bp-asm.h>.
11584 (memcpy): Don't use BP_SYM.
11585 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11586 <bp-sym.h> and <bp-asm.h>.
11587 (__mempcpy): Don't use BP_SYM.
11588 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11589 <bp-sym.h> and <bp-asm.h>.
11590 (__memrchr): Don't use BP_SYM.
11591 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11592 <bp-sym.h> and <bp-asm.h>.
11593 (memset): Don't use BP_SYM.
11594 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11595 <bp-sym.h> and <bp-asm.h>.
11596 (__rawmemchr): Don't use BP_SYM.
11597 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11598 <bp-sym.h> and <bp-asm.h>.
11599 (__STRCMP): Don't use BP_SYM.
11600 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11601 <bp-sym.h> and <bp-asm.h>.
11602 (strchr): Don't use BP_SYM.
11603 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11604 <bp-sym.h> and <bp-asm.h>.
11605 (__strchrnul): Don't use BP_SYM.
11606 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11607 <bp-sym.h> and <bp-asm.h>.
11608 (strlen): Don't use BP_SYM.
11609 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11610 <bp-sym.h> and <bp-asm.h>.
11611 (strncmp): Don't use BP_SYM.
11612 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11613 <bp-sym.h> and <bp-asm.h>.
11614 (__strnlen): Don't use BP_SYM.
11615 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11616 <bp-asm.h>.
11617 (__mpn_rshift): Don't use BP_SYM.
11618 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11619 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11620 <bp-sym.h> and <bp-asm.h>.
11621 (__sigsetjmp): Don't use BP_SYM.
11622 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11623 (L(start_addresses)): Don't use BP_SYM.
11624 (_start): Likewise.
11625 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11626 <bp-asm.h>.
11627 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11628 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11629 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11630 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11631 <bp-asm.h>.
11632 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11633 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11634 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11635 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11636 <bp-asm.h>.
11637 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11638 comments.
11639 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11640 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11641 <bp-asm.h>.
11642 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11643 FIXME comments.
11644 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11645 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11646 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11647 <bp-asm.h>.
11648 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11649 comment.
11650 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11651 and <bp-asm.h>.
11652 (strncmp): Don't use BP_SYM,
11653 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11654 <bp-asm.h>.
11655 (__mpn_sub_n): Don't use BP_SYM.
11656 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11657 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11658 and <bp-asm.h>.
11659 (__mpn_submul_1): Don't use BP_SYM.
11660 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11662 <bp-sym.h> and <bp-asm.h>.
11663 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11665 <bp-sym.h> and <bp-asm.h>.
11666 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11667 comment.
11668
8d19fe64
SP
116692013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11670
11671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11672 Use ZK to minimize writes to Z.
11673 (sub_magnitudes): Simplify code a bit.
11674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11675 Use ZK to minimize writes to Z.
11676 (sub_magnitudes): Simplify code a bit.
11677
85bd816a
RM
116782013-02-27 Roland McGrath <roland@hack.frob.com>
11679
11680 * csu/gmon-start.c: Add special exception to license text.
11681
b5977bf2
RH
116822013-02-27 Richard Henderson <rth@redhat.com>
11683
11684 * scripts/config.guess: Update from config.git.
11685 * scripts/config.sub: Likewise.
11686
11d6e2f2
SP
116872013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11688
09c14ed2
SP
11689 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11690
a688864e
SP
11691 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11692
6295157a
SP
11693 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11694
b8de2202
SP
11695 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11696
11d6e2f2
SP
11697 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11698
7e80ddb8
RM
116992013-02-26 Roland McGrath <roland@hack.frob.com>
11700
11701 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11702 [$(build-shared = yes].
7e80ddb8 11703
7da6d9ed
SP
117042013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11705
45f05884
SP
11706 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11707 (__mul): Reduce iterations for calculating mantissa.
11708
2236d359
SP
11709 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11710 MPTWO.
11711 (__mpranred): Likewise.
11712
7da6d9ed
SP
11713 [BZ #15160]
11714 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11715 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11716
b7688c42
PE
117172013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11718
11719 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11720 Define __attribute__.
11721
53a5c423
SP
117222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11723
11724 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11725 unused.
11726 * posix/regex_internal.h (__attribute): Remove.
11727 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11728 (re_string_context_at): Likewise.
11729 (bitset_not): Use __attribute__ and mark function as possibly
11730 unused.
11731 (bitset_merge): Likewise.
11732 (bitset_mask): Likewise.
11733 (re_string_char_size_at): Likewise.
11734 (re_string_wchar_at): Likewise.
11735 (re_string_elem_size_at): Likewise.
11736
60f5a8b5
SP
117372013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11738
2a983a2e
SP
11739 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11740 code.
11741 (cc32): Likewise.
11742
e69804d1
SP
11743 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11744 (__acr): Likewise.
11745 (__cpy): Likewise.
11746 (norm): Likewise.
11747 (denorm): Likewise.
11748 (__dbl_mp): Likewise.
11749 (add_magnitudes): Likewise.
11750 (sub_magnitudes): Likewise.
11751 (__mul): Likewise.
11752 (__inv): Likewise.
11753
2f22a1e8
SP
11754 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11755 style.
11756
8930ddc7
SP
11757 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11758 style.
11759
dc60cb11
SP
11760 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11761 code.
11762
60f5a8b5
SP
11763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11764 up changes with default code.
11765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11766 Likewise.
11767
b4d1fd33
AM
117682013-02-24 Allan McRae <allan@archlinux.org>
11769
faf6f8bc
AM
11770 * manual/socket.texi (The Internet Namespace): Order menu items
11771 to match that in the file.
11772
b4d1fd33
AM
11773 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11774 node listing of the info page menu.
11775
2366713d
JM
117762013-02-21 Joseph Myers <joseph@codesourcery.com>
11777
11778 [BZ #13550]
11779 * sysdeps/i386/bp-asm.h: Remove file.
11780 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11781 (PARMS): Do not use macros from bp-asm.h.
11782 (S1): Likewise.
11783 (S2): Likewise.
11784 (SIZE): Likewise.
11785 (__mpn_add_n): Do not use BP_SYM
11786 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11787 "bp-asm.h".
11788 (PARMS): Do not use macros from bp-asm.h.
11789 (S1): Likewise.
11790 (SIZE): Likewise.
11791 (__mpn_addmul_1): Do not use BP_SYM
11792 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11793 "bp-asm.h".
11794 (PARMS): Do not use macros from bp-asm.h.
11795 (SIGMSK): Likewise.
11796 (_setjmp): Likewise. Do not use BP_SYM.
11797 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11798 "bp-asm.h".
11799 (PARMS): Do not use macros from bp-asm.h.
11800 (SIGMSK): Likewise.
11801 (setjmp): Likewise. Do not use BP_SYM.
11802 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11803 "bp-asm.h".
11804 (PARMS): Do not use macros from bp-asm.h.
11805 (__frexp): Do not use BP_SYM.
11806 (frexp): Likewise.
11807 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11808 "bp-asm.h".
11809 (PARMS): Do not use macros from bp-asm.h.
11810 (__frexpf): Do not use BP_SYM.
11811 (frexpf): Likewise.
11812 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11813 "bp-asm.h".
11814 (PARMS): Do not use macros from bp-asm.h.
11815 (__frexpl): Do not use BP_SYM.
11816 (frexpl): Likewise.
11817 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11818 "bp-asm.h".
11819 (PARMS): Do not use macros from bp-asm.h.
11820 (__remquo): Do not use BP_SYM.
11821 (remquo): Likewise.
11822 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11823 "bp-asm.h".
11824 (PARMS): Do not use macros from bp-asm.h.
11825 (__remquof): Do not use BP_SYM.
11826 (remquof): Likewise.
11827 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11828 "bp-asm.h".
11829 (PARMS): Do not use macros from bp-asm.h.
11830 (__remquol): Do not use BP_SYM.
11831 (remquol): Likewise.
11832 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11833 "bp-asm.h".
11834 (PARMS): Do not use macros from bp-asm.h.
11835 (DEST): Likewise.
11836 (SRC): Likewise.
11837 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11838 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11839 "bp-asm.h".
11840 (PARMS): Do not use macros from bp-asm.h.
11841 (strlen): Do not use BP_SYM.
11842 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11843 "bp-asm.h".
11844 (PARMS): Do not use macros from bp-asm.h.
11845 (S1): Likewise.
11846 (S2): Likewise.
11847 (SIZE): Likewise.
11848 (__mpn_add_n): Do not use BP_SYM.
11849 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11850 "bp-asm.h".
11851 (PARMS): Do not use macros from bp-asm.h.
11852 (S1): Likewise.
11853 (SIZE): Likewise.
11854 (__mpn_addmul_1): Do not use BP_SYM.
11855 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11856 weak_alias.
11857 (bzero): Likewise.
11858 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11859 "bp-asm.h".
11860 (PARMS): Do not use macros from bp-asm.h.
11861 (S): Likewise.
11862 (SIZE): Likewise.
11863 (__mpn_lshift): Do not use BP_SYM.
11864 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11865 "bp-asm.h".
11866 (PARMS): Do not use macros from bp-asm.h.
11867 (DEST): Likewise.
11868 (SRC): Likewise.
11869 (LEN): Likewise.
11870 (memcpy): Likewise. Do not use BP_SYM.
11871 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11872 libc_hidden_def and weak_alias.
11873 (mempcpy): Do not use BP_SYM in weak_alias.
11874 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11875 "bp-asm.h".
11876 (PARMS): Do not use macros from bp-asm.h.
11877 (DEST): Likewise.
11878 (LEN): Likewise.
11879 [!BZERO_P] (CHR): Likewise.
11880 (memset): Likewise. Do not use BP_SYM.
11881 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11882 "bp-asm.h".
11883 (PARMS): Do not use macros from bp-asm.h.
11884 (S1): Likewise.
11885 (SIZE): Likewise.
11886 (__mpn_mul_1): Do not use BP_SYM.
11887 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11888 "bp-asm.h".
11889 (PARMS): Do not use macros from bp-asm.h.
11890 (S): Likewise.
11891 (SIZE): Likewise.
11892 (__mpn_rshift): Do not use BP_SYM.
11893 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11894 "bp-asm.h".
11895 (PARMS): Do not use macros from bp-asm.h.
11896 (STR): Likewise.
11897 (CHR): Likewise.
11898 (strchr): Likewise. Do not use BP_SYM.
11899 (index): Do not use BP_SYM in weak_alias.
11900 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11901 "bp-asm.h".
11902 (PARMS): Do not use macros from bp-asm.h.
11903 (DEST): Likewise.
11904 (SRC): Likewise.
11905 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11906 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11907 "bp-asm.h".
11908 (PARMS): Do not use macros from bp-asm.h.
11909 (strlen): Do not use BP_SYM.
11910 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11911 "bp-asm.h".
11912 (PARMS): Do not use macros from bp-asm.h.
11913 (S1): Likewise.
11914 (S2): Likewise.
11915 (SIZE): Likewise.
11916 (__mpn_sub_n): Do not use BP_SYM.
11917 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11918 "bp-asm.h".
11919 (PARMS): Do not use macros from bp-asm.h.
11920 (S1): Likewise.
11921 (SIZE): Likewise.
11922 (__mpn_submul_1): Do not use BP_SYM.
11923 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11924 "bp-asm.h".
11925 (PARMS): Do not use macros from bp-asm.h.
11926 (S1): Likewise.
11927 (S2): Likewise.
11928 (SIZE): Likewise.
11929 (__mpn_add_n): Do not use BP_SYM.
11930 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11931 weak_alias.
11932 (bzero): Likewise.
11933 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11934 "bp-asm.h".
11935 (PARMS): Do not use macros from bp-asm.h.
11936 (BLK2): Likewise.
11937 (LEN): Likewise.
11938 (memcmp): Do not use BP_SYM.
11939 (bcmp): Do not use BP_SYM in weak_alias.
11940 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11941 "bp-asm.h".
11942 (PARMS): Do not use macros from bp-asm.h.
11943 (DEST): Likewise.
11944 (SRC): Likewise.
11945 (LEN): Likewise.
11946 (memcpy): Likewise. Do not use BP_SYM.
11947 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11948 "bp-asm.h".
11949 (PARMS): Do not use macros from bp-asm.h.
11950 (DEST): Likewise.
11951 (SRC): Likewise.
11952 (LEN): Likewise.
11953 (memmove): Likewise. Do not use BP_SYM.
11954 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11955 "bp-asm.h".
11956 (PARMS): Do not use macros from bp-asm.h.
11957 (DEST): Likewise.
11958 (SRC): Likewise.
11959 (LEN): Likewise.
11960 (__mempcpy): Likewise. Do not use BP_SYM.
11961 (mempcpy): Do not use BP_SYM in weak_alias.
11962 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11963 "bp-asm.h".
11964 (PARMS): Do not use macros from bp-asm.h.
11965 (DEST): Likewise.
11966 (LEN): Likewise.
11967 [!BZERO_P] (CHR): Likewise.
11968 (memset): Likewise. Do not use BP_SYM.
11969 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11970 "bp-asm.h".
11971 (PARMS): Do not use macros from bp-asm.h.
11972 (STR2): Likewise.
11973 (strcmp): Do not use BP_SYM.
11974 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11975 "bp-asm.h".
11976 (PARMS): Do not use macros from bp-asm.h.
11977 (STR): Likewise.
11978 (DELIM): Likewise.
11979 [USE_AS_STRTOK_R] (SAVE): Likewise.
11980 (FUNCTION): Likewise. Do not use BP_SYM.
11981 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11982 aliases.
11983 (strtok_r): Likewise.
11984 (__GI___strtok_r): Likewise.
11985 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11986 (PARMS): Do not use macros from bp-asm.h.
11987 (S): Likewise.
11988 (SIZE): Likewise.
11989 (__mpn_lshift): Do not use BP_SYM.
11990 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11991 (PARMS): Do not use macros from bp-asm.h.
11992 (STR): Likewise.
11993 (CHR): Likewise.
11994 (__memchr): Do not use BP_SYM.
11995 (memchr): Do not use BP_SYM in weak_alias.
11996 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11997 (PARMS): Do not use macros from bp-asm.h.
11998 (BLK2): Likewise.
11999 (LEN): Likewise.
12000 (memcmp): Do not use BP_SYM.
12001 (bcmp): Do not use BP_SYM in weak_alias.
12002 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12003 (PARMS): Do not use macros from bp-asm.h.
12004 (S1): Likewise.
12005 (SIZE): Likewise.
12006 (__mpn_mul_1): Do not use BP_SYM.
12007 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12008 "bp-asm.h".
12009 (PARMS): Do not use macros from bp-asm.h.
12010 (STR): Likewise.
12011 (CHR): Likewise.
12012 (__rawmemchr): Do not use BP_SYM.
12013 (rawmemchr): Do not use BP_SYM in weak_alias.
12014 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12015 (PARMS): Do not use macros from bp-asm.h.
12016 (S): Likewise.
12017 (SIZE): Likewise.
12018 (__mpn_rshift): Do not use BP_SYM.
12019 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12020 (PARMS): Do not use macros from bp-asm.h.
12021 (SIGMSK): Likewise.
12022 (__sigsetjmp): Likewise. Do not use BP_SYM.
12023 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12024 (_start): Do not use BP_SYM.
12025 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12026 (PARMS): Do not use macros from bp-asm.h.
12027 (DEST): Likewise.
12028 (SRC): Likewise.
12029 (__stpcpy): Likewise. Do not use BP_SYM.
12030 (stpcpy): Do not use BP_SYM in weak_alias.
12031 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12032 "bp-asm.h".
12033 (PARMS): Do not use macros from bp-asm.h.
12034 (DEST): Likewise.
12035 (SRC): Likewise.
12036 (LEN): Likewise.
12037 (__stpncpy): Likewise. Do not use BP_SYM.
12038 (stpncpy): Do not use BP_SYM in weak_alias.
12039 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12040 (PARMS): Do not use macros from bp-asm.h.
12041 (STR): Likewise.
12042 (CHR): Likewise.
12043 (strchr): Likewise. Do not use BP_SYM.
12044 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12045 "bp-asm.h".
12046 (PARMS): Do not use macros from bp-asm.h.
12047 (STR): Likewise.
12048 (CHR): Likewise.
12049 (__strchrnul): Likewise. Do not use BP_SYM.
12050 (strchrnul): Do not use BP_SYM in weak_alias.
12051 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12052 "bp-asm.h".
12053 (PARMS): Do not use macros from bp-asm.h.
12054 (STOP): Likewise.
12055 (strcspn): Do not use BP_SYM.
12056 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12057 "bp-asm.h".
12058 (PARMS): Do not use macros from bp-asm.h.
12059 (STR): Likewise.
12060 (STOP): Likewise.
12061 (strpbrk): Likewise. Do not use BP_SYM.
12062 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12063 "bp-asm.h".
12064 (PARMS): Do not use macros from bp-asm.h.
12065 (STR): Likewise.
12066 (CHR): Likewise.
12067 (strrchr): Likewise. Do not use BP_SYM.
12068 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12069 (PARMS): Do not use macros from bp-asm.h.
12070 (SKIP): Likewise.
12071 (strspn): Do not use BP_SYM.
12072 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12073 (PARMS): Do not use macros from bp-asm.h.
12074 (STR): Likewise.
12075 (DELIM): Likewise.
12076 (SAVE): Likewise.
12077 (FUNCTION): Likewise. Do not use BP_SYM.
12078 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12079 aliases.
12080 (strtok_r): Likewise.
12081 (__GI___strtok_r): Likewise.
12082 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12083 (PARMS): Do not use macros from bp-asm.h.
12084 (S1): Likewise.
12085 (S2): Likewise.
12086 (SIZE): Likewise.
12087 (__mpn_sub_n): Do not use BP_SYM.
12088 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12089 "bp-asm.h".
12090 (PARMS): Do not use macros from bp-asm.h.
12091 (S1): Likewise.
12092 (SIZE): Likewise.
12093 (__mpn_submul_1): Do not use BP_SYM.
12094 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12095 <bp-sym.h>.
12096 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12097 and <bp-asm.h>.
12098 (PARMS): Do not use macros from bp-asm.h.
12099 (FLAGS): Likewise.
12100 (PTID): Likewise.
12101 (TLS): Likewise.
12102 (CTID): Likewise.
12103 (__clone): Do not use BP_SYM.
12104 (clone): Do not use BP_SYM in weak_alias.
12105 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12106 and <bp-asm.h>.
12107 (PARMS): Do not use macros from bp-asm.h.
12108 (LEN): Likewise.
12109 (__mmap64): Do not use BP_SYM.
12110 (mmap64): Do not use BP_SYM in weak_alias.
12111 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12112 <bp-sym.h> and <bp-asm.h>.
12113 (PARMS): Do not use macros from bp-asm.h.
12114 (__posix_fadvise64_l64): Do not use BP_SYM.
12115 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12116 (PARMS): Do not use macros from bp-asm.h.
12117 (NSOPS): Likewise.
12118 (semtimedop): Do not use BP_SYM.
12119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12120 and <bp-asm.h>.
12121
582a3cff
AM
121222013-02-21 Allan McRae <allan@archlinux.org>
12123
12124 * manual/message.texi (Charset conversion in gettext):
12125 Move @end statement to beginning of line.
12126
bab8a695
SP
121272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12128
80945231
SP
12129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12130 static.
12131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12132 Likewise.
12133
bab8a695
SP
12134 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12135 (denorm): Likewise.
12136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12138
e21d7aa7
AK
121392013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12140
12141 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12142 tail-call to the resolved function if pltexit isn't needed.
12143
4c7a4263
SP
121442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12145
12146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12147 or Y being zero as being unlikely.
12148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12149 Likewise.
12150
41f49342
CD
121512013-02-20 Carlos O'Donell <carlos@redhat.com>
12152
12153 * manual/nss.texi (System Databases and Name Service Switch):
12154 Remove frobnicate @pxref.
12155
50022a93
TS
121562013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12157
12158 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12159 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12160
08cbd996
PM
121612013-02-20 Petr Machata <pmachata@redhat.com>
12162
12163 * elf/elf.h (R_ARM_TARGET1): New macro.
12164 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12165 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12166 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12167 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12168 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12169 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12170 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12171 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12172 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12173 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12174 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12175 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12176 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12177 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12178 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12179 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12180 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12181 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12182 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12183 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12184 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12185 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12186 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12187 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12188 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12189 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12190 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12191 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12192 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12193 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12194 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12195 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12196 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12197 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12198 (R_ARM_THM_GOT_BREL12): Likewise.
12199 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12200 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12201 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12202 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12203 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12204 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12205 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12206 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12207 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12208
c7b275d6
TS
122092013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12210
12211 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12212 __attribute_used__ to __attribute__ ((unused)).
12213
20cd7fb3
SP
122142013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12215
12216 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12217 powerpc mpa.c.
12218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12219 comment formatting.
12220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12221
92945b52
JM
122222013-02-19 Joseph Myers <joseph@codesourcery.com>
12223
12224 [BZ #13550]
12225 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12226 Remove macro.
12227 (ENTER): Remove both macro definitions.
12228 (LEAVE): Likewise.
12229 (CHECK_BOUNDS_LOW): Likewise.
12230 (CHECK_BOUNDS_HIGH): Likewise.
12231 (CHECK_BOUNDS_BOTH): Likewise.
12232 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12233 (RETURN_BOUNDED_POINTER): Likewise.
12234 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12235 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12236 (POP_ERRNO_LOCATION_RETURN): Likewise.
12237 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12238 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12239 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12240 macros.
12241 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12242 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12243 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12244 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12245 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12246 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12247 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12248 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12249 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12250 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12251 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12252 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12253 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12254 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12255 removed macros.
12256 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12257 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12258 macros.
12259 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12260 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12261 * sysdeps/i386/i586/memset.S (memset): Likewise.
12262 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12263 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12264 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12265 macros.
12266 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12267 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12268 Change uses of L(2) to L(out).
12269 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12270 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12271 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12272 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12273 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12274 removed macros.
12275 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12276 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12277 macros.
12278 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12279 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12280 (RETURN): Do not use macro LEAVE.
12281 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12282 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12283 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12284 * sysdeps/i386/i686/memset.S (memset): Likewise.
12285 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12286 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12287 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12288 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12289 Likewise.
12290 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12291 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12292 L(1_2) and L(1_3) into L(1).
12293 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12294 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12295 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12296 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12297 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12298 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12299 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12300 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12301 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12302 macros.
12303 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12304 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12305 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12306 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12307 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12308 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12309 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12310 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12311 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12312 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12313 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12314 * sysdeps/i386/strspn.S (strspn): Likewise.
12315 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12316 conditional code.
12317 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12318 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12319 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12320 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12321 L(1_3) into L(1_1).
12322 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12323 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12324 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12325 macros.
12326 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12327
2389741a
JJ
123282013-02-19 Jakub Jelinek <jakub@redhat.com>
12329
12330 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12331 macro.
12332
2016b3cd
SP
123332013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12334
e4f22324
SP
12335 * math/atest-exp.c (exp_mpn): Remove ROUND.
12336 * math/atest-exp2.c (exp_mpn): Likewise.
12337 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12338
2016b3cd
SP
12339 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12340 * stdlib/tst-tls-atexit-lib.c: Likewise.
12341 * stdlib/tst-tls-atexit.c: Likewise.
12342
4be9b544
MF
123432013-02-18 Mike Frysinger <vapier@gentoo.org>
12344
12345 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12346 and __attribute_alloc_size__.
12347
2f62b9ee
MF
123482013-02-18 Mike Frysinger <vapier@gentoo.org>
12349
12350 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12351 __attribute_alloc_size__.
12352 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12353 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12354
6ff444c4
MF
123552013-02-18 Mike Frysinger <vapier@gentoo.org>
12356
12357 * include/programs/xmalloc.h: New file.
12358 * catgets/gencat.c: Include it.
12359 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12360 * elf/pldd.c: Likewise.
12361 * iconv/iconv_charmap.c: Likewise.
12362 * iconv/iconvconfig.c: Likewise.
12363 * iconv/strtab.c: Likewise.
12364 * locale/programs/locale.c: Likewise.
12365 * locale/programs/localedef.h: Likewise.
12366 * locale/programs/simple-hash.c: Likewise.
12367 * nscd/nscd.h: Likewise.
12368 * nss/makedb.c: Likewise.
12369 * sysdeps/generic/ldconfig.h: Likewise.
12370
be179c8a
SP
123712013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12372
ba384f6e
SP
12373 * Versions.def: Add GLIBC_2.18.
12374 * include/link.h (struct link_map): New member l_tls_dtor_count.
12375 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12376 (__call_tls_dtors): Likewise.
12377 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12378 __cxa_thread_atexit_impl.
12379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12380 Likewise.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12382 Likewise.
12383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12384 Likewise.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12389 Likewise.
12390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12391 Likewise.
12392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12394 Likewise.
12395 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12396 (tests): Add test case tst-tls-atexit.
12397 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12398 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12399 (GLIBC_PRIVATE): Add __call_tls_dtors.
12400 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12401 for libstdc++.
12402 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12403 * stdlib/tst-tls-atexit.c: New test case.
12404 * stdlib/tst-tls-atexit-lib.c: New test case.
12405
ffaa74cf 12406 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12407
be179c8a
SP
12408 * elf/Versions (ld): Add _dl_find_dso_for_object.
12409 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12410 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12411 (dl_open_worker): Use _dl_find_dso_for_object.
12412 * elf/dl-sym.c (do_sym): Likewise.
12413 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12414
f78b5caa
AK
124152013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12416
12417 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12418 Syntactic changes only.
12419 (_dl_runtime_profile): Do a tail-call to the resolved function.
12420
29691210
JM
124212013-02-17 Joseph Myers <joseph@codesourcery.com>
12422
12423 [BZ #13550]
12424 * sysdeps/x86_64/bp-asm.h: Remove file.
12425 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12426 <bp-sym.h> and <bp-asm.h>.
12427 (__clone): Do not use BP_SYM.
12428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12429 <bp-sym.h> and <bp-asm.h>.
12430 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12431 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12432 "bp-asm.h".
12433 (_setjmp): Do not use BP_SYM.
12434 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12435 "bp-asm.h".
12436 (setjmp): Do not use BP_SYM.
12437 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12438 libc_hidden_def.
12439 (mempcpy): Do not use BP_SYM in weak_alias.
12440 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12441 "bp-asm.h".
12442 (strchr): Do not use BP_SYM.
12443 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12444 "bp-asm.h".
12445 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12446 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12447 (_start): Do not use BP_SYM.
12448 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12449 "bp-asm.h".
12450 (strcat): Do not use BP_SYM.
12451 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12452 "bp-asm.h".
12453 (STRCMP): Do not use BP_SYM.
12454 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12455 "bp-asm.h".
12456 (STRCPY): Do not use BP_SYM.
12457 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12458 "bp-asm.h".
12459 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12460 "bp-asm.h".
12461 (FUNCTION): Do not use BP_SYM.
12462 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12463 weak_alias.
12464 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12465
f238fd19
AJ
124662013-02-17 Andreas Jaeger <aj@suse.de>
12467
12468 * time/Versions: Sort entries.
12469 * string/Versions: Likewise.
12470 * resolv/Versions: Likewise.
12471 * posix/Versions: Likewise.
12472 * iconv/Versions: Likewise.
12473 * elf/Versions: Likewise.
12474 * wcsmbs/Versions: Likewise.
12475
bd07f23c 124762013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12477
22af19f9
SP
12478 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12479 loop termination condition.
12480
4709fe76
SP
12481 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12482 variable to calculate EZ.
12483 (__sqr): Likewise.
2d0e0f29
SP
12484
12485 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12486 the lower precision input.
12487
daaa7713
JM
124882013-02-15 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #13550]
12491 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12492 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12493 (run-via-rtld-prefix): Do not handle %-bp tests.
12494 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12495 (all-object-suffixes): Remove .ob.
12496 (bppfx): Remove variable.
12497 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12498 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12499 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12500 [$(build-bounded) = yes] (libtype.ob): Likewise.
12501 * Makerules (elide-routines.ob): Remove variable.
12502 (do-tests-clean): Do not handle *-bp.out.
12503 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12504 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12505 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12506 (tests): Do not include $(tests-bp.out).
12507 (xtests): Do not include $(xtests-bp.out).
12508 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12509 [$(build-bounded) = yes] ($(addprefix
12510 $(objpfx),$(binaries-bounded))): Remove rule.
12511 ($(objpfx)%-bp.out): Remove rule.
12512 * config.make.in (build-bounded): Remove variable.
12513 * crypt/Makefile [$(build-bounded) = yes]
12514 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12515 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12516 append to variable.
12517 [$(build-bounded) = yes] (install-lib): Likewise.
12518 [$(build-bounded) = yes] (generated): Likewise.
12519 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12520 Remove rule.
12521 * intl/Makefile [$(build-bounded) = yes]
12522 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12523 * math/Makefile [$(build-bounded) = yes]
12524 ($(tests:%=$(objpfx)%-bp): Likewise.
12525 * misc/Makefile [$(build-bounded) = yes]
12526 ($(objpfx)tst-tsearch-bp): Likewise.
12527 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12528 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12529 Remove dependency.
12530 * string/Makefile (o-objects.ob): Remove variable.
12531 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12532 (CFLAGS-.ob): Remove variable.
12533 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12534 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12535 both definitions of variable.
12536 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12537 (ASFLAGS-.ob): Remove variable.
12538
e97ed6dd
JM
125392013-02-14 Joseph Myers <joseph@codesourcery.com>
12540
2bdd4ca6
JM
12541 [BZ #13550]
12542 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12543 Remove __BOUNDED_POINTERS__ from condition.
12544 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12545 * string/bits/string2.h [!__NO_STRING_INLINES &&
12546 !__BOUNDED_POINTERS__]: Likewise.
12547 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12548 Likewise.
12549 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12550 Remove conditional code.
12551 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12552 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12553 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12554 condition.
12555
e97ed6dd
JM
12556 [BZ #13550]
12557 * csu/libc-start.c: Do not include <bp-sym.h>.
12558 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12559 * elf/dl-open.c: Do not include <bp-sym.h>.
12560 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12561 * math/fegetenv.c: Do not include <bp-sym.h>.
12562 (fegetenv): Do not use BP_SYM in versioned symbols.
12563 * nptl/sysdeps/pthread/bits/libc-lockP.h
12564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12565 <bp-sym.h>.
12566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12567 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12569 (__pthread_mutex_destroy): Likewise.
12570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12571 (__pthread_mutex_lock): Likewise.
12572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12573 (__pthread_mutex_trylock): Likewise.
12574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12575 (__pthread_mutex_unlock): Likewise.
12576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12577 (__pthread_mutexattr_init): Likewise.
12578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12579 (__pthread_mutexattr_destroy): Likewise.
12580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12581 (__pthread_mutexattr_settype): Likewise.
12582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12583 (__pthread_rwlock_init): Likewise.
12584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12585 (__pthread_rwlock_destroy): Likewise.
12586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12587 (__pthread_rwlock_rdlock): Likewise.
12588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12589 (__pthread_rwlock_tryrdlock): Likewise.
12590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12591 (__pthread_rwlock_wrlock): Likewise.
12592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12593 (__pthread_rwlock_trywrlock): Likewise.
12594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12595 (__pthread_rwlock_unlock): Likewise.
12596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12597 (__pthread_key_create): Likewise.
12598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12599 (__pthread_setspecific): Likewise.
12600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12601 (__pthread_getspecific): Likewise.
12602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12603 Likewise.
12604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12605 (_pthread_cleanup_push_defer): Likewise.
12606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12607 (_pthread_cleanup_pop_restore): Likewise.
12608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12609 (pthread_setcancelstate): Likewise.
12610 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12611 <bp-sym.h>.
12612 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12613 (memchr): Do not use BP_SYM in weak_alias.
12614 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12615 (fegetenv): Do not use BP_SYM in versioned symbols.
12616 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12617 (fesetenv): Do not use BP_SYM in versioned symbols.
12618 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12619 (feupdateenv): Do not use BP_SYM in versioned symbols.
12620 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12621 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12622 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12623 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12624 (open64): Do not use BP_SYM in weak_alias.
12625 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12626 (fegetenv): Do not use BP_SYM in versioned symbols.
12627 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12628 (fesetenv): Do not use BP_SYM in versioned symbols.
12629 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12630 (feupdateenv): Do not use BP_SYM in versioned symbols.
12631 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12632 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12633 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12634 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12635 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12636 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12637 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12638 <bp-sym.h>.
12639 (__libc_start_main): Do not use BP_SYM.
12640
d6752ccd
SP
126412013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12642
cb57ce60
SP
12643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12644 redundant return line.
12645 (norm): Likewise.
12646 (denorm): Likewise.
12647 (dbl_mp): Likewise.
12648 (sub_magnitudes): Likewise.
12649 (__add): Likewise.
12650 (__sub): Likewise.
12651 (__mul): Likewise.
12652 (__inv): Likewise.
12653 (__dvd): Likewise.
12654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12655 (norm): Likewise.
12656 (denorm): Likewise.
12657 (dbl_mp): Likewise.
12658 (sub_magnitudes): Likewise.
12659 (__add): Likewise.
12660 (__sub): Likewise.
12661 (__mul): Likewise.
12662 (__inv): Likewise.
12663 (__dvd): Likewise.
12664
f414520d
SP
12665 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12666 instead of __mul.
12667 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12668 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12669 (cc32): Likewise.
12670
d6752ccd
SP
12671 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12672 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12674 of __mul for squares.
12675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12676 function
12677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12678 Likewise.
12679 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12680 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12681
70d9946a
JM
126822013-02-13 Joseph Myers <joseph@codesourcery.com>
12683
12684 [BZ #13550]
12685 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12686 code.
12687 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12688 prototype or function definition. Rename ubp_* variables and
12689 parameters. Remove argv definitions conditional on
12690 [__BOUNDED_POINTERS__].
12691 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12692 * elf/dl-runtime.c (_dl_fixup): Likewise.
12693 * include/set-hooks.h (RUN_HOOK): Likewise.
12694 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12695 definition.
12696 * string/strcpy.c (strcpy): Do not use __unbounded.
12697 * sysdeps/generic/frame.h (struct layout): Likewise.
12698 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12699 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12700 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12701 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12702 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12703 (__backtrace): Likewise.
12704 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12705 use __ptrvalue.
12706 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12707 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12708 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12709 Likewise.
12710 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12711 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12712 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12713 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12714 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12715 Do not use __unbounded.
12716 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12717 Rename __unboundedrlimits parameter to rlimits in prototype.
12718 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12719 Do not use __unbounded.
12720 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12721 not use __ptrvalue.
12722 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12723 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12724 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12725 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12726 __ptrvalue or __unbounded.
12727 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12728 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12729 use __unbounded.
12730 (__new_msgctl): Do not use __ptrvalue.
12731 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12732 __unbounded.
12733 (__libc_msgrcv): Do not use __ptrvalue.
12734 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12735 startup_info): Do not use __unbounded.
12736 (__libc_start_main): Likewise. Rename ubp_* variables and
12737 parameters. Remove argv definitions conditional on
12738 [__BOUNDED_POINTERS__].
12739 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12740 __ptrvalue.
12741 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12742 use __unbounded.
12743 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12744 or __ptrvalue.
12745 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12746 use __unbounded.
12747 (__new_shmctl): Do not use __ptrvalue.
12748 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12749 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12750 Likewise.
12751 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12752 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12753 (__libc_sigaction): Likewise.
12754 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12755 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12756 Likewise.
12757 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12758
cc7834d6
OB
127592013-02-13 Ondřej Bílka <neleai@seznam.cz>
12760
ffb1ec7b 12761 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12762
12763 * string/mempcpy.c: Implement by calling memcpy.
12764
bdf02814
SP
127652013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12766
c2af38aa
SP
12767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12768
4e92d59e
SP
12769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12770 evaluation.
12771
909279a5
SP
12772 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12773 values in the mantissa.
12774
bdf02814
SP
12775 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12776 minimize writes to Z.
12777 (sub_magnitudes): Simplify code a bit.
12778
cd525923
RM
127792013-02-12 Roland McGrath <roland@hack.frob.com>
12780
12781 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12782 from the message. The linker prefixes all warnings with that already.
12783
7e2f0d2d
AS
127842013-02-12 Andreas Schwab <schwab@suse.de>
12785
a445af0b
AS
12786 [BZ #15078]
12787 * posix/regexec.c (extend_buffers): Add parameter min_len.
12788 (check_matching): Pass minimum needed length.
12789 (clean_state_log_if_needed): Likewise.
12790 (get_subexp): Likewise.
12791 * posix/Makefile (tests): Add bug-regex34.
12792 (bug-regex34-ENV): Define.
12793 * posix/bug-regex34.c: New file.
12794
7e2f0d2d
AS
12795 [BZ #11561]
12796 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12797 elements compare against the byte sequence of it, not its name.
12798 * posix/Makefile (tests): Add bug-regex35.
12799 (bug-regex35-ENV): Define.
12800 * posix/bug-regex35.c: New file.
12801
a175b684
TV
128022013-02-11 Tom de Vries <tom@codesourcery.com>
12803
12804 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12805 comment.
12806 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12807 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12808 (CHECK_EOL): Add undef.
12809
310998fe 128102013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12811
12812 * bits/stdlib-bsearch.h: New file.
12813 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12814 * stdlib/stdlib.h: Likewise.
41eda41d 12815
8ded91fb
RM
128162013-02-11 Roland McGrath <roland@hack.frob.com>
12817
12818 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12819 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12820 declaration.
12821 * manual/search.texi (Array Search Function): Add missing const in
12822 lfind prototype.
12823 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12824 declaration to use rlim_t.
12825 (Basic Scheduling Functions): Remove erroneous const from
12826 sched_getparam prototype. Remove erroneous * from
12827 sched_get_priority_max and sched_get_priority_min prototypes.
12828 (Resource Usage): Fix summary @comment on vtimes to refer to
12829 sys/vtimes.h rather than vtimes.h.
12830 Add missing *s in vtimes prototype.
12831 (Limits on Resources): Fix ulimit prototype to return long int.
12832 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12833 prototypes to use long int rather than double.
12834 (BSD Random): Fix initstate and setstate to use char *, not void *.
12835 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12836 prototype to make second argument 'struct aiocb64 *const[]'.
12837 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12838 (Status of AIO Operations): Remove erroneous const in aio_return and
12839 aio_return64 prototypes.
12840 (Synchronizing I/O): Fix sync prototype to return void.
12841 * manual/startup.texi (Suboptions): Remove an erroneous const in
12842 getsubopt prototype.
12843 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12844 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12845 use size_t rather than int.
12846 (Scanning All Users): Likewise for getpwent_r.
12847 (Setting Groups): Add missing const to setgroups prototype.
12848 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12849 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12850 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12851 'const void *' rather than 'const char *'.
12852 (Host Address Functions): Likewise for inet_ntop.
12853 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12854 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12855 ssize_t for return value.
12856 (Sending Data): Likewise for send, sendto, sendmsg.
12857 (Socket Option Functions): Add a missing const in setsockopt prototype.
12858 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12859 use wchar_t for the argument.
12860 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12861 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12862 take no arguments.
12863 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12864 double/float/long double for second argument.
12865 Fix return types of significand, significandf, significandl.
12866 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12867 argument in fchmod prototype.
12868 (File Owner): Use uid_t and gid_t in fchown prototype.
12869 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12870 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12871 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12872 use 'const struct dirent **' as argument types to CMP function pointer
12873 argument.
12874 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12875 (File Times): Fix summary magic @comment for struct utimbuf and utime
12876 to refer to utime.h, not time.h.
12877 * manual/string.texi (Argz Functions): Add missing const in
12878 argz_extract and argz_next prototypes.
12879 (Finding Tokens in a String): Likewise for basename.
12880 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12881 (Copying and Concatenation): Fix typo in wmemmove prototype.
12882 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12883 (Signal Stack): Remove erroneous const in sigstack prototype.
12884 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12885 prototype.
12886 (Simple Calendar Time): Likewise for stime.
12887 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12888 prototype.
12889 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12890 say sys/sysctl.h instead.
12891 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12892 and vsyslog prototypes.
12893
fe77fe6d
TV
128942013-02-11 Tom de Vries <tom@codesourcery.com>
12895
12896 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12897 Remove.
12898
3a09b620
RM
128992013-02-11 Roland McGrath <roland@hack.frob.com>
12900
12901 * misc/sys/mman.h: Fix typo in mremap comment.
12902
550a0b89
RM
129032013-02-08 Roland McGrath <roland@hack.frob.com>
12904
12905 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12906 the '\0' terminator.
12907
a2da1673
JM
129082013-02-08 Joseph Myers <joseph@codesourcery.com>
12909
12910 [BZ #13550]
12911 * debug/segfault.c: Don't include <bp-checks.h>.
12912 * sysdeps/generic/bp-checks.h: Remove file.
12913 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12914 (__GETDENTS): Don't use CHECK_N.
12915 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12916 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12917 (__getgroups): Don't use CHECK_N.
12918 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12919 (setgroups): Don't use CHECK_N.
12920 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12921 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12922 (__libc_msgrcv): Don't use CHECK_N.
12923 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12924 (__libc_msgsnd): Don't use CHECK_N.
12925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12926 <bp-checks.h>.
12927 (__libc_pread): Don't use CHECK_N.
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12929 include <bp-checks.h>.
12930 (__libc_pread64): Don't use CHECK_N.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12932 include <bp-checks.h>.
12933 (__libc_pwrite): Don't use CHECK_N.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12935 include <bp-checks.h>.
12936 (__libc_pwrite64): Don't use CHECK_N.
12937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12938 <bp-checks.h>.
12939 (__libc_pread): Don't use CHECK_N.
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12941 include <bp-checks.h>.
12942 (__libc_pread64): Don't use CHECK_N.
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12944 include <bp-checks.h>.
12945 (__libc_pwrite): Don't use CHECK_N.
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12947 include <bp-checks.h>.
12948 (__libc_pwrite64): Don't use CHECK_N.
12949 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12950 (do_pread): Don't use CHECK_N.
12951 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12952 (do_pread64): Don't use CHECK_N.
12953 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12954 (do_pwrite): Don't use CHECK_N.
12955 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12956 (do_pwrite64): Don't use CHECK_N.
12957 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12958 (__libc_readv): Don't use CHECK_N.
12959 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12960 (semop): Don't use CHECK_N.
12961 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12962 <bp-checks.h>.
12963 (semtimedop): Don't use CHECK_N.
12964 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12965 (__libc_pread): Don't use CHECK_N.
12966 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12967 <bp-checks.h>.
12968 (__libc_pread64): Don't use CHECK_N.
12969 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12970 <bp-checks.h>.
12971 (__libc_pwrite): Don't use CHECK_N.
12972 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12973 <bp-checks.h>.
12974 (__libc_pwrite64): Don't use CHECK_N.
12975 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12976 <bp-checks.h>.
12977 (__libc_msgrcv): Don't use CHECK_N.
12978 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12979 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12980 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12981 (__libc_writev): Don't use CHECK_N.
12982
b84660a8
RM
129832013-02-08 Roland McGrath <roland@hack.frob.com>
12984
7f3e75f8
RM
12985 * string/strcpy.c: Removed unused variable.
12986
b84660a8
RM
12987 * Makeconfig (+sysdep-includes): Define with := rather than =.
12988 Use an existing include/ subdir of each sysdeps dir before it.
12989
471514d3
CD
129902013-02-08 Carlos O'Donell <carlos@redhat.com>
12991
12992 * nscd/connection.c (register_traced_file): Comment function.
12993 [HAVE_INOTIFY] (union __inev): Define.
12994 [HAVE_INOTIFY] (inotify_check_files): New function.
12995 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12996 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12997 clear_db_cache.
12998 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12999
b2d3c3be
CD
130002013-02-08 Carlos O'Donell <carlos@redhat.com>
13001
13002 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13003 loaded if not already and that a failure is permanent.
13004
b39949d2
CD
130052013-02-08 Carlos O'Donell <carlos@redhat.com>
13006
ddacd1db 13007 [BZ #15006]
b39949d2
CD
13008 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13009 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13010
b2c9eff4
JM
130112013-02-08 Joseph Myers <joseph@codesourcery.com>
13012
f3aae3f3
JM
13013 [BZ #13550]
13014 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13015 (CHECK_1_NULL_OK): Likewise.
13016 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13017 (__fxstat): Do not use CHECK_1.
13018 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13019 <bp-checks.h>.
13020 (___fxstat64): Do not use CHECK_1.
13021 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13022 <bp-checks.h>.
13023 (__fxstatat): Do not use CHECK_1.
13024 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13025 <bp-checks.h>.
13026 (__fxstatat64): Do not use CHECK_1.
13027 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13028 <bp-checks.h>.
13029 (__fxstat): Do not use CHECK_1.
13030 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13031 <bp-checks.h>.
13032 (__fxstatat): Do not use CHECK_1.
13033 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13034 <bp-checks.h>.
13035 (__getresgid): Do not use CHECK_1.
13036 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13037 <bp-checks.h>.
13038 (__getresuid): Do not use CHECK_1.
13039 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13040 <bp-checks.h>.
13041 (__lxstat): Do not use CHECK_1.
13042 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13043 <bp-checks.h>.
13044 (__old_msgctl): Do not use CHECK_1.
13045 (__new_msgctl): Likewise.
13046 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13047 <bp-checks.h>.
13048 (__new_setrlimit): Do not use CHECK_1.
13049 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13050 <bp-checks.h>.
13051 (__old_shmctl): Do not use CHECK_1.
13052 (__new_shmctl): Likewise.
13053 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13054 <bp-checks.h>.
13055 (__xstat): Do not use CHECK_1.
13056 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13057 (__lxstat): Do not use CHECK_1.
13058 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13059 <bp-checks.h>.
13060 (___lxstat64): Do not use CHECK_1.
13061 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13062 (__old_msgctl): Do not use CHECK_1.
13063 (__new_msgctl): Likewise.
13064 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13065 <bp-checks.h>.
13066 (__gettimeofday): Do not use CHECK_1.
13067 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13068 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13069 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13070 <bp-checks.h>.
13071 (__gettimeofday): Do not use CHECK_1.
13072 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13073 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13074 (__new_shmctl): Do not use CHECK_1.
13075 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13076 <bp-checks.h>.
13077 (do_sigtimedwait): Do not use CHECK_1.
13078 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13079 <bp-checks.h>.
13080 (do_sigwaitinfo): Do not use CHECK_1.
13081 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13082 <bp-checks.h>.
13083 (msgctl): Do not use CHECK_1.
13084 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13085 <bp-checks.h>.
13086 (shmctl): Do not use CHECK_1.
13087 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13088 (ustat): Do not use CHECK_1.
13089 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13090 <bp-checks.h>.
13091 (__fxstat): Do not use CHECK_1.
13092 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13093 <bp-checks.h>.
13094 (__fxstatat): Do not use CHECK_1.
13095 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13096 <bp-checks.h>.
13097 (__lxstat): Do not use CHECK_1.
13098 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13099 <bp-checks.h>.
13100 (__xstat): Do not use CHECK_1.
13101 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13102 (__xstat): Do not use CHECK_1.
13103 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13104 (___xstat64): Do not use CHECK_1.
13105
b2c9eff4
JM
13106 [BZ #13550]
13107 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13108 definitions.
13109 (CHECK_BOUNDS_HIGH): Likewise.
13110 * string/strcpy.c: Do not include <bp-checks.h>.
13111 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13112
f1d70dad
RM
131132013-02-07 Roland McGrath <roland@hack.frob.com>
13114
13115 * nscd/nscd-client.h (__nscd_drop_map_ref):
13116 Add __attribute__ ((unused)).
13117 * nis/nss-nisplus.h (niserr2nss): Likewise.
13118
13119 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13120 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13121
13122 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13123 Remove inline keyword.
13124 * include/rounding-mode.h (round_away): Likewise.
13125 * libio/wfileops.c (adjust_wide_data): Likewise.
13126 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13127 (__m128i_strloadu_tolower): Likewise.
13128 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13129 (__m128i_strloadu_tolower): Likewise.
13130 * time/mktime.c (ydhms_diff): Likewise.
13131 * locale/elem-hash.h (elem_hash): Likewise.
13132 * locale/setlocale.c (setdata): Likewise.
13133 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13134 (re_string_wchar_at): Likewise.
13135 (bitset_not, bitset_merge, bitset_mask): Likewise.
13136 [!(__GNUC__ > 3)] (inline): Remove macro.
13137 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13138 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13139 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13140 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13141 * string/memcmp.c (memcmp_bytes): Likewise.
13142 * locale/programs/locarchive.c (compute_hashval): Likewise.
13143 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13144 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13145 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13146 * nss/getent.c (print_rpc, print_protocols): Likewise.
13147 (print_passwd, print_group, print_aliases): Likewise.
13148 * nis/nss-nisplus.h (niserr2nss): Likewise.
13149 * nscd/connections.c (restart_p): Likewise.
13150 Change return type to bool.
13151
eab55bfb
RM
131522013-02-05 Roland McGrath <roland@hack.frob.com>
13153
7bd642f5
RM
13154 * Makeconfig (all-Depend-files): Add existing
13155 $(sorted-subdirs:=/Depend) files.
13156 (all-subdirs): Remove nss.
13157 * sysdeps/unix/inet/Subdirs: Add it here instead.
13158 * hesiod/Depend: New file.
13159
573c29b2
RM
13160 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13161 instead of calling alloca.
13162
b2e25af0
RM
13163 * io/lseek.c (__lseek): Rename to __libc_lseek.
13164 Define __lseek as an alias.
13165
eab55bfb
RM
13166 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13167
9a0d1941
CD
131682013-02-04 Carlos O'Donell <carlos@redhat.com>
13169
13170 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13171 else clause and remove check for non-standard endianness.
13172
b83bbec4
DM
131732013-02-04 David S. Miller <davem@davemloft.net>
13174
13175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13176
6277fdab
JM
131772013-02-04 Joseph Myers <joseph@codesourcery.com>
13178
13179 [BZ #13550]
13180 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13181 (__ubp_memchr): Remove prototype.
13182 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13183 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13184 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13185 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13186 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13187 Remove alias.
13188 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13189 (__ubp_memchr): Likewise.
13190 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13191 (__ubp_memchr): Likewise.
13192 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13193 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13194 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13195 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13196 CHECK_STRING.
13197 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13198 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13199 (__getcwd): Do not use CHECK_STRING.
13200 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13201 <bp-checks.h>.
13202 (__real_chown): Do not use CHECK_STRING.
13203 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13204 <bp-checks.h>.
13205 (fchownat): Do not use CHECK_STRING.
13206 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13207 CHECK_STRING.
13208 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13209 <bp-checks.h>.
13210 (__lchown): Do not use CHECK_STRING.
13211 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13212 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13213 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13214 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13216 include <bp-checks.h>.
13217 (truncate64): Do not use CHECK_STRING.
13218 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13219 <bp-checks.h>.
13220 (__real_chown): Do not use CHECK_STRING.
13221 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13222 <bp-checks.h>.
13223 (__lchown): Do not use CHECK_STRING.
13224 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13225 <bp-checks.h>.
13226 (__chown): Do not use CHECK_STRING.
13227 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13228 <bp-checks.h>.
13229 (truncate64): Do not use CHECK_STRING.
13230 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13231 Likewise.
13232 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13233 (__xmknod): Do not use CHECK_STRING.
13234 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13235 <bp-checks.h>.
13236 (__xmknodat): Do not use CHECK_STRING.
13237 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13238 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13239
903ae060
AS
132402013-02-04 Andreas Schwab <schwab@suse.de>
13241
13242 [BZ #14142]
13243 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13244 * include/netdb.h: Likewise for h_errno.
13245 * elf/tst-stackguard1.c: Include <tls.h>.
13246
542f9466
JK
132472013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13248
13249 * elf/link.h (struct link_map): Extend the l_addr comment.
13250 * include/link.h (struct link_map): Likewise.
13251
e782a927
JM
132522013-02-01 Joseph Myers <joseph@codesourcery.com>
13253
13254 [BZ #13550]
13255 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13256 (BOUNDED_1): Remove macro.
13257 * debug/backtrace.c: Don't include <bp-checks.h>.
13258 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13259 (__backtrace): Likewise.
13260 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13261 <bp-checks.h>.
13262 (__backtrace): Don't use BOUNDED_1.
13263 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13264 <bp-checks.h>.
13265 (__backtrace): Don't use BOUNDED_1.
13266 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13267 (__backtrace): Don't use BOUNDED_1.
13268 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13269 (shmat): Don't use BOUNDED_N.
13270
8cf28c5e
JM
132712013-01-31 Joseph Myers <joseph@codesourcery.com>
13272
3a7ac8a0
JM
13273 [BZ #13550]
13274 * sysdeps/generic/bp-start.h: Remove file.
13275 * csu/libc-start.c: Don't include <bp-start.h>.
13276 (LIBC_START_MAIN): Set up __environ directly instead of using
13277 INIT_ARGV_and_ENVIRON.
13278 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13279 <bp-start.h>.
13280
f3499f95
JM
13281 [BZ #13550]
13282 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13283 definitions.
13284 (CHECK_FCNTL): Likewise.
13285 (CHECK_N_PAGES): Likewise.
13286
32a45bea
JM
13287 [BZ #13550]
13288 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13289 definitions.
13290 (CHECK_SIGSET_NULL_OK): Likewise.
13291 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13292 <bp-checks.h>.
13293 (sigpending): Don't use CHECK_SIGSET.
13294 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13295 <bp-checks.h>.
13296 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13297 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13298 <bp-checks.h>.
13299 (do_sigsuspend): Don't use CHECK_SIGSET.
13300 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13301 use CHECK_SIGSET.
13302 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13303 (do_sigwait): Don't use CHECK_SIGSET.
13304 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13305 use CHECK_SIGSET.
13306 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13307 include <bp-checks.h>.
13308 (sigpending): Don't use CHECK_SIGSET.
13309 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13310 include <bp-checks.h>.
13311 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13312 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13313 <bp-checks.h>.
13314 (sigpending): Don't use CHECK_SIGSET.
13315 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13316 <bp-checks.h>.
13317 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13318
2e8a5c8c
JM
13319 [BZ #13550]
13320 * sysdeps/generic/bp-semctl.h: Remove file.
13321 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13322 <bp-checks.h> and <bp-semctl.h>.
13323 (__old_semctl): Don't use CHECK_SEMCTL.
13324 (__new_semctl): Likewise.
13325 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13326 and <bp-semctl.h>.
13327 (__old_semctl): Don't use CHECK_SEMCTL.
13328 (__new_semctl): Likewise.
13329 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13330 <bp-checks.h> and <bp-semctl.h>.
13331 (__old_semctl): Don't use CHECK_SEMCTL.
13332 (__new_semctl): Likewise.
13333 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13334 <bp-checks.h> and <bp-semctl.h>.
13335 (semctl): Don't use CHECK_SEMCTL.
13336
c2d54929
JM
13337 [BZ #13550]
13338 * Makerules (elide-bp-thunks): Remove variable.
13339 (elide-routines.oS): Don't use $(elide-bp-thunks).
13340 (elide-routines.os): Likewise.
13341 (elide-routines.o): Likewise.
13342 (elide-routines.op): Likewise.
13343 (elide-routines.og): Likewise.
13344 (objects): Don't use $(bp-thunks).
13345 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13346 include.
13347 (common-generated): Do not add s-proto-bp.d.
13348 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13349 (int): Likewise.
13350 (typ): Likewise.
13351 Do not generate makefile rules for bounded-pointer thunks.
13352 * sysdeps/generic/bp-thunks.h: Remove file.
13353 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13354 * sysdeps/unix/s-proto-bp.S: Likewise.
13355
8cf28c5e
JM
13356 [BZ #15062]
13357 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13358 parts of result separately when argument is not close to line from
13359 -i to i and one part of argument is small.
13360 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13361 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13362 * math/libm-test.inc (cacos_test): Add more tests.
13363 (casin_test): Likewise.
13364 (casinh_test): Likewise.
13365 * sysdeps/i386/fpu/libm-test-ulps: Update.
13366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13367
c4e33b8d
DM
133682013-01-31 David S. Miller <davem@davemloft.net>
13369
13370 * po/de.po: Update from translation team.
13371
3b60b421
MK
133722013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13373
13374 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13375
bb931195
TS
133762013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13377
b5a5da23
TS
13378 * configure.in (_AC_PROG_CC_C89): New definition.
13379 * configure: Regenerate.
13380
bb931195
TS
13381 * configure.in (AC_PROG_CPP): New definition.
13382 * configure: Regenerate.
13383
8c53a12c
JM
133842013-01-23 Joseph Myers <joseph@codesourcery.com>
13385
13386 * debug/tst-backtrace.h: New file.
13387 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13388 (ret): Remove variable.
13389 (x): Likewise.
13390 (FAIL): Remove macro.
13391 (NO_INLINE): Likewise.
13392 (fn1): Use match function instead of strstr.
13393 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13394 (ret): Remove variable.
13395 (x): Likewise.
13396 (FAIL): Remove macro.
13397 (NO_INLINE): Likewise.
13398 (fn): Use match function instead of strstr.
13399 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13400 (ret): Remove variable.
13401 (x): Likewise.
13402 (FAIL): Remove macro.
13403 (NO_INLINE): Likewise.
13404 (handle_signal): Use match function instead of strstr.
13405 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13406 (ret): Remove variable.
13407 (x): Likewise.
13408 (FAIL): Remove macro.
13409 (NO_INLINE): Likewise.
13410 (handle_signal): Use match function instead of strstr.
13411
4858fa2a
RM
134122013-01-23 Roland McGrath <roland@hack.frob.com>
13413
13414 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13415
bae8e7f5
DM
134162013-01-23 David S. Miller <davem@davemloft.net>
13417
13418 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13419 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13420 argument of CAS if possible.
13421 * sysdeps/sparc/sparc64/bits/atomic.h
13422 (__arch_compare_and_exchange_val_32_acq): Likewise.
13423 (__arch_compare_and_exchange_val_64_acq): Likewise.
13424
9cbbc4ae
PT
134252013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13426
13427 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13428 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13429 Include <limits.h>.
67b3f58c 13430 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13431
5655a0b5
AC
134322013-01-23 Adam Conrad <adconrad@0c3.net>
13433
13434 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13435 (LDFLAGS-tst-array5): Likewise.
13436
052aff95
JM
134372013-01-23 Joseph Myers <joseph@codesourcery.com>
13438
13439 [BZ #15036]
13440 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13441 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13442 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13443 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13444
7c1e01aa
DM
134452013-01-21 David S. Miller <davem@davemloft.net>
13446
13447 * sysdeps/sparc/backtrace.c: New file.
13448 * sysdeps/sparc/sparc32/backtrace.h: New file.
13449 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13450 * sysdeps/sparc/sparc64/backtrace.h: New file.
13451 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13452 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13453 -funwind-tables.
13454
ab087e0a
AS
134552013-01-21 Andreas Schwab <schwab@suse.de>
13456
13457 [BZ #15020]
13458 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13459 closed its stdout.
13460
ed689c2f
AS
134612013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13462
13463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13464 "mpa2.h".
13465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13466
31d470ac
JM
134672013-01-18 Joseph Myers <joseph@codesourcery.com>
13468 Mark Mitchell <mark@codesourcery.com>
13469 Tom de Vries <tom@codesourcery.com>
13470 Paul Pluzhnikov <ppluzhnikov@google.com>
13471
13472 * debug/tst-backtrace2.c: New file.
13473 * debug/tst-backtrace3.c: Likewise.
13474 * debug/tst-backtrace4.c: Likewise.
13475 * debug/tst-backtrace5.c: Likewise.
13476 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13477 (CFLAGS-tst-backtrace3.c): Likewise.
13478 (CFLAGS-tst-backtrace4.c): Likewise.
13479 (CFLAGS-tst-backtrace5.c): Likewise.
13480 (LDFLAGS-tst-backtrace2): Likewise.
13481 (LDFLAGS-tst-backtrace3): Likewise.
13482 (LDFLAGS-tst-backtrace4): Likewise.
13483 (LDFLAGS-tst-backtrace5): Likewise.
13484 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13485 tst-backtrace4 and tst-backtrace5.
13486
90567f30 134872013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13488 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13489
13490 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13491 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13492 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13493 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13495 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13496 "+r" and remove output regs list as redundant. Add explicit inline
13497 asm to specify register of return val to work around compiler codegen
13498 bug. Remove (int) cast on return value. Add return type parameter to
13499 use in macro so that this macro does not truncate return value for
13500 64-bit values.
13501 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13502 pass to INTERNAL_VSYSCALL_NCS.
13503 (INLINE_VSYSCALL): Add 'long int' as return type to
13504 INTERNAL_VSYSCALL_NCS macro invocation.
13505 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13506 INTERNAL_VSYSCALL_NCS macro invocation.
13507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13508
d3b9ea61
SP
135092013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13510
0b57daeb
SP
13511 [BZ #14496]
13512 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13513 Fix application of SIMD FP exception mask.
13514
caa99d06
SP
13515 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13516 mp_no from a power of two.
13517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13518 __mpexp_twomm1. Use __pow_mp.
13519
d3b9ea61
SP
13520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13521 multiplication.
13522
1dbaee3c
DM
135232013-01-17 David S. Miller <davem@davemloft.net>
13524
13525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13526
728d7b43
JM
135272013-01-17 Joseph Myers <joseph@codesourcery.com>
13528
13529 [BZ #15023]
13530 * include/complex.h: Condition contents on [!_COMPLEX_H].
13531 (__kernel_casinhf): New prototype.
13532 (__kernel_casinh): Likewise.
13533 (__kernel_casinhl): Likewise.
13534 * math/Makefile (libm_calls): Add k_casinh.
13535 * math/k_casinh.c: New file.
13536 * math/k_casinhf.c: Likewise.
13537 * math/k_casinhl.c: Likewise.
13538 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13539 finite nonzero arguments.
13540 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13541 finite nonzero arguments.
13542 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13543 finite nonzero arguments.
13544 * math/s_casinh.c: Do not include <float.h>.
13545 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13546 * math/s_casinhf.c: Do not include <float.h>.
13547 (__casinhf): Move code for finite nonzero arguments to
13548 k_casinhf.c.
13549 * math/s_casinhl.c: Do not include <float.h>.
13550 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13551 redefine.
13552 (__casinhl): Move code for finite nonzero arguments to
13553 k_casinhl.c.
13554 * math/libm-test.inc (cacos_test): Add more tests.
13555 * sysdeps/i386/fpu/libm-test-ulps: Update.
13556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13557
2a26ef3a
PT
135582013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13559
13560 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13561 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13562 [!HAVE_MREMAP]: Remove [defined linux] case.
13563 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13564
a897655d
SP
135652013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13566
13567 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13568
881ebe89 135692013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13570
13571 * elf/elf.h (R_386_SIZE32): New relocation.
13572 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13573 R_386_SIZE32.
13574 (elf_machine_rela): Likewise.
13575 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13576 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13577
59981e9b
JM
135782013-01-17 Joseph Myers <joseph@codesourcery.com>
13579
13580 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13581 (FP_FAST_FMA): Do not define.
13582 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13583 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13584 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13585 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13586 !_SOFT_FLOAT]: Likewise.
13587 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13588 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13589 value.
13590 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13591 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13592 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13593 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13594 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13595 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13596 file.
13597
cfa8054f
AS
135982013-01-16 Andreas Schwab <schwab@suse.de>
13599
13600 [BZ #14327]
13601 * include/stdlib.h (__mktemp): Add declaration.
13602 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13603 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13604
dd930cc5
SP
136052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13606
881ebe89
SP
13607 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13608 definitions.
13609 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13610 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13611 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13612 definitions here.
13613 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13614 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13615 definitions.
13616 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13617 and ONE.
13618 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13619 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13620 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13621 definitions.
13622 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13623 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13624 definitions.
13625 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13626
dd930cc5
SP
13627 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13628
c19a9f89
DM
136292013-01-15 David S. Miller <davem@davemloft.net>
13630
1aa61767
DM
13631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13632 trunc{,f} to libm-sysdep_routes.
13633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13635 file.
13636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13638 file.
13639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13640 file.
13641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13643 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13644 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13645 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13646 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13647 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13648 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13649
c42d5e98
DM
13650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13651 nearbyint{,f} to libm-sysdep_routes.
13652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13654 New file.
13655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13656 file.
13657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13658 New file.
13659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13660 file.
13661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13663 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13664 file.
13665 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13666 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13667 file.
13668 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13669 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13670 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13671
c19a9f89
DM
13672 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13673 libc_feholdexcept and libc_fesetenv.
13674
357679d2
MF
136752013-01-15 Mike Frysinger <vapier@gentoo.org>
13676
13677 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13678
65a82e3d
DM
136792013-01-14 David S. Miller <davem@davemloft.net>
13680
8b954ab9
DM
13681 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13682 (SPARC_ASM_VIS2_IFUNC): Likewise.
13683 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13685 use of 'siam' instruction.
13686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13687 Likewise.
13688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13689 Likewise.
13690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13691 Likewise.
13692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13697 file.
13698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13699 file.
13700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13701 file.
13702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13703 file.
13704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13709 new VIS2 routines.
13710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13713 Likewise.
13714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13719 routines to libm-sysdep_routines.
13720 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13721
65a82e3d
DM
13722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13723 fdim/fdimf to libm-sysdep_routines.
13724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13725 file.
13726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13728 file.
13729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13732 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13733 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13734 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13735 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13736
e34ab705
SP
137372013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13738
2a91b573
SP
13739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13740 to optimize copies.
13741
1066a534
SP
13742 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13745
e34ab705
SP
13746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13747 local variable MPTWO.
13748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13749 Likewise.
13750
aba5e596
MF
137512013-01-13 Mike Frysinger <vapier@gentoo.org>
13752
13753 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13754 GLOB_NOESCAPE.
13755
e557e9e5
MF
137562013-01-13 Mike Frysinger <vapier@gentoo.org>
13757
13758 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13759
0428cec9
MF
137602013-01-13 Mike Frysinger <vapier@gentoo.org>
13761
13762 * manual/pattern.texi (glob_t): Document gl_flags.
13763 (glob64_t): Likewise.
13764
8794a964
DM
137652013-01-11 David S. Miller <davem@davemloft.net>
13766
66438c3f
RM
13767 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13768 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13769 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13770 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13771 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13772 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13773 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13774 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13775 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13776 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13777 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13778 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13779 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13780
4ae4244d
DM
13781 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13782 sparc V9 rather than using V8 code.
13783 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13784 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13785
8794a964
DM
13786 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13787 Move to...
13788 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13789 Here.
13790
6270516e
RM
137912013-01-11 Roland McGrath <roland@hack.frob.com>
13792
13793 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13794 not in the main loop.
13795 * configure: Regenerated.
13796
6a57d931
JM
137972013-01-11 Joseph Myers <joseph@codesourcery.com>
13798
13799 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13800 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13801 to just #else.
13802 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13803 [!__GLIBC_HAVE_LONG_LONG] case.
13804 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13805 condition to just #else.
13806 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13807 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13808 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13809 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13810 unconditional.
13811 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13812 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13813 #elif condition to just #else.
13814 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13815 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13816 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13817 #elif condition to just #else.
13818
0e8529e9
SE
138192013-01-11 Steve Ellcey <sellcey@mips.com>
13820
13821 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13822 (EF_MIPS_ARCH_64): Fix value.
13823 (EF_MIPS_ARCH_32R2): New.
13824 (EF_MIPS_ARCH_64R2): New.
13825
740b3dbe
L
138262013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13827
13828 * Makeconfig (+link-pie-before-libc): New.
13829 (+link-pie-after-libc): Likewise.
13830 (+link-pie-tests): Likewise.
13831 (+link-pie): Rewritten.
13832 (link-before-libc): Remove $(config-LDFLAGS).
13833 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13834 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13835 (config-LDFLAGS): Renamed to ...
13836 (rtld-LDFLAGS): This.
13837 (rtld-tests-LDFLAGS): New macro.
13838 (link-libc-rpath-link): Likewise.
13839 (link-libc-tests-rpath-link): Likewise.
13840 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13841 (link-libc): Prepand $(link-libc-rpath-link).
13842 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13843 (test-program-prefix): New macro.
13844 (test-via-rtld-prefix): Likewise.
13845 (test-program-cmd): Likewise.
13846 (host-test-program-cmd): Likewise.
13847 * Makefile ($(common-objpfx)testrun.sh): Replace
13848 $(run-program-prefix) with $(test-program-prefix).
13849 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13850 $(rtld-LDFLAGS).
13851 ($(common-objpfx)shlib.lds): Likewise.
13852 (build-module-helper): Likewise.
13853 ($(common-objpfx)format.lds): Likewise.
13854 * Rules (binaries-pie-tests): New.
13855 (binaries-pie-notests): Likewise.
13856 (binaries-pie): Rewritten.
13857 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13858 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13859 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13860 (make-test-out): Replace $(host-built-program-cmd) with
13861 $(host-test-program-cmd).
13862 * config.make.in (build-hardcoded-path-in-tests): New variable.
13863 * configure.in (--enable-hardcoded-path-in-tests): New configure
13864 option.
13865 (hardcoded_path_in_tests): New AC_SUBST.
13866 * configure: Regenerated.
13867 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13868 $(built-program-cmd) with $(test-program-cmd).
13869 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13870 (test_program_cmd): This.
13871 * elf/Makefile ($(objpfx)order.out): Run test with
13872 $(test-program-prefix).
13873 ($(objpfx)order2.out): Likewise.
13874 ($(objpfx)tst-initorder.out): Likewise.
13875 ($(objpfx)tst-initorder2.out): Likewise.
13876 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13877 $(test-program-cmd).
13878 ($(objpfx)tst-array1-static.out): Likewise.
13879 ($(objpfx)tst-array2.out): Likewise.
13880 ($(objpfx)tst-array3.out): Likewise.
13881 ($(objpfx)tst-array4.out): Likewise.
13882 ($(objpfx)tst-array5.out): Likewise.
13883 ($(objpfx)tst-array5-static.out): Likewise.
13884 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13885 $(test-program-cmd).
13886 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13887 $(run-program-prefix) with $(test-program-prefix).
13888 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13889 (test_program_prefix): This.
13890 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13891 $(run-program-prefix) with $(test-program-prefix).
13892 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13893 (test_program_prefix): This.
13894 * iconvdata/tst-tables.sh: Likewise.
13895 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13896 $(run-program-prefix) with $(test-program-prefix).
13897 ($(objpfx)tst-translit.out): Likewise.
13898 ($(objpfx)tst-gettext2.out): Likewise.
13899 ($(objpfx)tst-gettext4.out): Likewise.
13900 ($(objpfx)tst-gettext6.out): Likewise.
13901 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13902 (test_program_prefix): This.
13903 * intl/tst-gettext2.sh: Likewise.
13904 * intl/tst-gettext4.sh Likewise.
13905 * intl/tst-gettext6.sh: Likewise.
13906 * intl/tst-translit.sh: Likewise.
13907 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13908 with $(test-program-cmd).
13909 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13910 $(run-program-prefix) with $(test-program-prefix).
13911 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13912 (test_program_prefix): This.
13913 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13914 $(run-program-prefix) with $(test-program-prefix).
13915 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13916 (test_program_prefix): This.
13917 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13918 * posix/Makefile ($(objpfx)globtest.out): Replace
13919 $(run-via-rtld-prefix) and $(test-wrapper) with
13920 $(test-program-prefix) and $(test-via-rtld-prefix).
13921 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13922 $(test-program-prefix).
13923 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13924 $(host-test-program-cmd).
13925 (tst-spawn-ARGS): Likewise.
13926 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13927 $(test-program-prefix).
13928 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13929 (test_via_rtld_prefix): This.
13930 (test_wrapper): Renamed to ...
13931 (test_program_prefix): This.
13932 (run_program_prefix): Replaced by test_program_prefix.
13933 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13934 (test_program_prefix): This.
13935 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13936 with $(host-test-program-cmd).
13937 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13938 $(run-program-prefix) with $(test-program-prefix).
13939 ($(objpfx)tst-printf.out): Likewise.
13940 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13941 $(test-program-cmd).
13942 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13943 (test_program_prefix): This.
13944 * stdio-common/tst-unbputc.sh: Likewise.
13945 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13946 $(run-program-prefix) with $(test-program-prefix).
13947 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13948 (test_program_prefix): This.
13949 * string/Makefile ($(objpfx)tst-svc.out): Replace
13950 $(built-program-cmd) with $(test-program-cmd).
13951
c6fe55cf
AJ
139522013-01-11 Andreas Jaeger <aj@suse.de>
13953
13954 [BZ #15003]
13955 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13956 value. Sync with Linux 3.7.
13957
9e6919c8
DM
139582013-01-10 David S. Miller <davem@davemloft.net>
13959
13960 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13961 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13962 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13963
1c9f1a02
RM
139642013-01-10 Roland McGrath <roland@hack.frob.com>
13965
13966 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13967 never set.
13968 * configure: Regenerated.
13969
b9de2dde
DM
139702013-01-10 David S. Miller <davem@davemloft.net>
13971
13972 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13973 sparc V9 rather than using V8 code.
13974 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13975 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13976
e7f68ef4
RM
139772013-01-10 Roland McGrath <roland@hack.frob.com>
13978
13979 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13980 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13981 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13982 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13983 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13984 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13985 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13986 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13987 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13988 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13989 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13990 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13991 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13992 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13993 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13994 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13995 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13996 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13997 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13998 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13999 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14000 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14001 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14002 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14003 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14004 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14005 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14006
5a47cc9c
DM
140072013-01-10 David S. Miller <davem@davemloft.net>
14008
14009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14010
4cf8f209
L
140112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14012
14013 * posix/Makefile (tests-static): New variable.
14014 (tests): Add $(tests-static).
14015 (tst-exec-static-ARGS): New variable.
14016 (tst-spawn-static-ARGS): Likewise.
14017 * posix/tst-exec-static.c: New file.
14018 * posix/tst-spawn-static.c: Likewise.
14019 * posix/tst-exec.c: Support run directly.
14020 * posix/tst-spawn.c: Likewise.
14021
fed0faa1
JM
140222013-01-10 Joseph Myers <joseph@codesourcery.com>
14023
828beb13
JM
14024 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14025 long.
14026 * math/bits/mathcalls.h (llrint): Likewise.
14027 (llround): Likewise.
14028 * stdlib/stdlib.h (struct drand48_data): Likewise.
14029 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14030 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14031 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14032 Likewise.
14033 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14034 Likewise.
14035 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14036 (elf_greg_t): Likewise.
14037 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14038 (__jmp_buf): Likewise.
14039 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14040 definitions.
14041 (llrint): Likewise, for all definitions.
14042 (llrintl): Likewise.
14043
fed0faa1
JM
14044 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14045 Remove [__GNUC__] condition.
14046 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14047 condition to just [__USE_ISOC99].
14048 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14049
1a20cb20
L
140502013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14051
14052 [BZ #14200]
14053 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14054 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14055 defined.
14056 (_POSIX_V6_ILP32_OFF32): Likewise.
14057 (_XBS5_ILP32_OFF32): Likewise.
14058 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14059 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14060
751b85f7
SP
140612013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14062
7490eb81
SP
14063 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14064
751b85f7
SP
14065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14066 doubles __mpexp_twomm1. Adjust usage.
14067 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14068 Remove.
14069
988197f0
AS
140702013-01-10 Andreas Schwab <schwab@suse.de>
14071
14072 [BZ #14964]
14073 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14074 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14075
e83d7298
DM
140762013-01-09 David S. Miller <davem@davemloft.net>
14077
034ed64b 14078 [BZ #15003]
e83d7298
DM
14079 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14080 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14081 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14082 TCP_FASTOPEN): Define.
14083 (tcp_repair_opt): New structure.
14084 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14085 enum values.
14086 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14087 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14088 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14089 (tcp_cookie_transactions): New structure.
14090
d5e0b9bd
AB
140912013-01-09 Anton Blanchard <anton@samba.org>
14092
14093 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14094 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14095 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14096 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14097
0c07e3ea
JM
140982013-01-09 Joseph Myers <joseph@codesourcery.com>
14099
14100 * include/features.h (__USE_ANSI): Remove.
14101
232f7002
RM
141022013-01-09 Roland McGrath <roland@hack.frob.com>
14103
ad98e30c
RM
14104 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14105
232f7002
RM
14106 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14107
950c99ca
SP
141082013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14109
b5792741
SP
14110 * sysdeps/s390/fpu/libm-test-ulps: Update.
14111
47cf2278
SP
14112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14113
950c99ca
SP
14114 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14115 (__acr): Likewise.
14116 (__cpy): Likewise.
14117 (norm): Likewise.
14118 (denorm): Likewise.
14119 (__mp_dbl): Likewise.
14120 (__dbl_mp): Likewise.
14121 (add_magnitudes): Likewise.
14122 (sub_magnitudes): Likewise.
14123 (__add): Likewise.
14124 (__sub): Likewise.
14125 (__mul): Likewise.
14126 (__inv): Likewise.
14127 (__dvd): Likewise.
14128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14129 (__acr): Likewise.
14130 (__cpy): Likewise.
14131 (norm): Likewise.
14132 (denorm): Likewise.
14133 (__mp_dbl): Likewise.
14134 (__dbl_mp): Likewise.
14135 (add_magnitudes): Likewise.
14136 (sub_magnitudes): Likewise.
14137 (__add): Likewise.
14138 (__sub): Likewise.
14139 (__mul): Likewise.
14140 (__inv): Likewise.
14141 (__dvd): Likewise.
14142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14143 (__acr): Likewise.
14144 (__cpy): Likewise.
14145 (norm): Likewise.
14146 (denorm): Likewise.
14147 (__mp_dbl): Likewise.
14148 (__dbl_mp): Likewise.
14149 (add_magnitudes): Likewise.
14150 (sub_magnitudes): Likewise.
14151 (__add): Likewise.
14152 (__sub): Likewise.
14153 (__mul): Likewise.
14154 (__inv): Likewise.
14155 (__dvd): Likewise.
14156
eede9df9
JM
141572013-01-08 Joseph Myers <joseph@codesourcery.com>
14158
14159 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14160 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14161 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14162 2 && __USE_EXTERN_INLINES]: Likewise.
14163
c40ea3d9
AJ
141642013-01-08 Andreas Jaeger <aj@suse.de>
14165
14166 [BZ# 14985]
14167 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14168 Remove.
14169 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14170 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14171
2ccdea26
AB
141722013-01-07 Anton Blanchard <anton@samba.org>
14173
14174 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14175 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14176 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14177 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14178 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14179 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14180 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14181 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14183 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14184 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14185 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14186 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14187 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14188 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14189 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14190 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14191 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14192 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14193 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14194 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14195 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14197 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14198 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14199 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14200 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14201 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14203 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14204 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14206 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14207 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14208 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14209 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14210 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14211 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14212 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14213 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14214 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14216 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14217
a9708fed
JM
142182013-01-07 Joseph Myers <joseph@codesourcery.com>
14219
375607b9
JM
14220 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14221 (__MALLOC_PMT): Likewise.
14222 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14223 [__GNUC__], only on [_LIBC].
14224 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14225 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14226 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14227 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14228 forward declaration.
14229 (realloc_hook_ini): Likewise.
14230 (memalign_hook_ini): Likewise.
14231 (__libc_memalign): Do not use __MALLOC_PMT in variable
14232 declaration.
14233 (__libc_valloc): Likewise.
14234 (__libc_pvalloc): Likewise.
14235 (__libc_calloc): Likewise.
14236 (__posix_memalign): Likewise.
14237
a9708fed
JM
14238 [BZ #14996]
14239 * math/s_casinh.c: Include <float.h>.
14240 (__casinh): Do not do computation with squaring and square root
14241 for large arguments.
14242 * math/s_casinhf.c: Include <float.h>.
14243 (__casinhf): Do not do computation with squaring and square root
14244 for large arguments.
14245 * math/s_casinhl.c: Include <float.h>.
14246 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14247 (__casinhl): Do not do computation with squaring and square root
14248 for large arguments.
14249 * math/libm-test.inc (casin_test): Add more tests.
14250 (casinh_test): Likewise.
14251 * sysdeps/i386/fpu/libm-test-ulps: Update.
14252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14253
afec409a
L
142542013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14255
14256 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14257 (__x86_64_raw_data_cache_size): Likewise.
14258 (__x86_64_data_cache_size_half): Likewise.
14259 (__x86_64_raw_data_cache_size_half): Likewise.
14260 (__x86_64_shared_cache_size): Likewise.
14261 (__x86_64_raw_shared_cache_size): Likewise.
14262 (__x86_64_shared_cache_size_half): Likewise.
14263 (__x86_64_raw_shared_cache_size_half): Likewise.
14264 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14265 to ...
14266 (__x86_data_cache_size): This.
14267 (__x86_64_raw_data_cache_size): Renamed to ...
14268 (__x86_raw_data_cache_size): This.
14269 (__x86_64_data_cache_size_half): Renamed to ...
14270 (__x86_data_cache_size_half): This.
14271 (__x86_64_raw_data_cache_size_half): Renamed to ...
14272 (__x86_raw_data_cache_size_half): This.
14273 (__x86_64_shared_cache_size): Renamed to ...
14274 (__x86_shared_cache_size): This.
14275 (__x86_64_raw_shared_cache_size): Renamed to ...
14276 (__x86_raw_shared_cache_size): This.
14277 (__x86_64_shared_cache_size_half): Renamed to ...
14278 (__x86_shared_cache_size_half): This.
14279 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14280 (__x86_raw_shared_cache_size_half): This.
14281 * sysdeps/x86_64/memcpy.S: Updated.
14282 * sysdeps/x86_64/memset.S: Likewise.
14283 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14284 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14285 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14286
0b3986d0
DM
142872013-01-04 David S. Miller <davem@davemloft.net>
14288
14289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14290
e47686e9
AS
142912013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14292
d643bac1
AS
14293 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14294 1 to avoid redefinition warning.
14295 (__USE_GNU): Don't define.
14296 (init_signaling_nan): Protoize.
14297
e47686e9
AS
14298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14299
b18decba
SP
143002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14301
fffb407f
SP
14302 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14304 (__cpymn): Likewise.
14305 (norm): Remove commented code.
14306 (denorm): Likewise.
14307 (__mp_dbl): Likewise.
14308 (__inv): Likewise.
14309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14310 (__cpymn): Likewise.
14311 (norm): Remove commented code.
14312 (denorm): Likewise.
14313 (__mp_dbl): Likewise.
14314 (__inv): Likewise.
14315
b18decba
SP
14316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14317 mp_no value for 1.0 and 2.0.
14318 (norm): Use RADIXI instead of radixi.d.
14319 (denorm): Likewise.
14320 (__mul): Use 0.0 instead of zero.d.
14321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14322 mp_no value for 1.0 and 2.0.
14323 (norm): Use RADIXI instead of radixi.d.
14324 (denorm): Likewise.
14325 (__mul): Use 0.0 instead of zero.d.
14326
cdc1c96f
JM
143272013-01-04 Joseph Myers <joseph@codesourcery.com>
14328
14329 [BZ #14994]
14330 * math/s_casinh.c (__casinh): Reduce finite argument to first
14331 quadrant then set signs of results at the end.
14332 * math/s_casinhf.c (__casinhf): Likewise.
14333 * math/s_casinhl.c (__casinhl): Likewise.
14334 * math/libm-test.inc (casin_test): Add more tests.
14335 (casinh_test): Likewise.
14336 * sysdeps/i386/fpu/libm-test-ulps: Update.
14337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14338
302913e1
SP
143392013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14340
6420d207
SP
14341 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14342
a9e48ab4
SP
14343 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14344
b7837264
SP
14345 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14346 declarations.
14347 (denorm): Likewise.
14348 (__mp_dbl): Likewise.
14349 (__inv): Likewise.
14350
f8af25d2
SP
14351 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14352 and adjust the header comment.
14353
302913e1
SP
14354 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14355 variable name from declaration.
14356
5d7dd1ca
L
143572013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14358
14359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14360 Initialize COMMON_CPUID_INDEX_7 element.
14361 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14362 (CPUID_RTM): Likewise.
14363 (HAS_RTM): Likewise.
14364 (COMMON_CPUID_INDEX_7): New enum.
14365
2f5f40f4
AS
143662013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14367
14368 [BZ #14981]
14369 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14370 size is zero, record memory as freed.
14371
4056f4a0
AJ
143722013-01-03 Andreas Jaeger <aj@suse.de>
14373
14374 * po/ia.po: Add new Interlingua translation.
14375
ab15736f 143762012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14377
14378 * locale/programs/localedef.c: Fix description of '--posix' flag.
14379
568035b7
JM
143802013-01-02 Joseph Myers <joseph@codesourcery.com>
14381
e6898b8d
JM
14382 * NEWS: Update dates in second copyright notice.
14383 * README: Update copyright dates in example.
14384 * manual/libc.texinfo: Update copyright dates.
14385 * scripts/test-installation.pl: Update copyright date in --version
14386 output.
14387
0e2f9562
JM
14388 * hurd/ctty-input.c: Fix copyright notice formatting.
14389 * hurd/ctty-output.c: Likewise.
14390 * hurd/dtable.c: Likewise.
14391 * hurd/hurd-raise.c: Likewise.
14392 * hurd/hurdprio.c: Likewise.
14393 * hurd/msgportdemux.c: Likewise.
14394 * misc/sys/file.h: Likewise.
14395 * misc/sys/ioctl.h: Likewise.
14396 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14397 * sysdeps/mach/hurd/chdir.c: Likewise.
14398 * sysdeps/mach/hurd/fchdir.c: Likewise.
14399 * sysdeps/mach/hurd/rename.c: Likewise.
14400 * sysdeps/mach/hurd/rmdir.c: Likewise.
14401 * sysdeps/mach/hurd/seekdir.c: Likewise.
14402 * sysdeps/mach/hurd/setsid.c: Likewise.
14403 * sysdeps/posix/wait3.c: Likewise.
14404
568035b7
JM
14405 * All files with FSF copyright notices: Update copyright dates
14406 using scripts/update-copyrights.
14407 * intl/plural.c: Regenerated.
14408 * locale/programs/charmap-kw.h: Likewise.
14409 * locale/programs/locfile-kw.h: Likewise.
14410
da08f647
SP
144112013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14412
0f5477af
SP
14413 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14414 four values.
14415
44e0d4c2
SP
14416 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14417 calculation loop and add branch prediction.
14418
4d55b4e5
SP
14419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14420 check access beyond bounds of m1np.
14421
da08f647
SP
14422 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14423 MPTWO.
14424 (__inv): Remove local variable MPTWO to use the global
14425 constant.
14426 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14427 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14428 variable MPTWO.
14429 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14430 MP3HALFS static const.
14431
8e051029
DM
144322013-01-01 David S. Miller <davem@davemloft.net>
14433
14434 * po/ca.po: Update from translation team.
14435
f4cf5f2d
JM
144362013-01-01 Joseph Myers <joseph@codesourcery.com>
14437
14438 * scripts/update-copyrights: New file.
14439 * Makeconfig: Reformat copyright notice.
14440 * ctype/ctype.h: Likewise.
14441 * debug/swprintf_chk.c: Likewise.
14442 * elf/dl-cache.c: Likewise.
14443 * elf/dl-debug.c: Likewise.
14444 * elf/dl-object.c: Likewise.
14445 * grp/initgroups.c: Likewise.
14446 * hurd/Makefile: Likewise.
14447 * hurd/hurd/signal.h: Likewise.
14448 * hurd/hurdfault.c: Likewise.
14449 * hurd/hurdioctl.c: Likewise.
14450 * hurd/hurdlookup.c: Likewise.
14451 * hurd/intr-msg.c: Likewise.
14452 * iconv/gconv_open.c: Likewise.
14453 * libio/swprintf.c: Likewise.
14454 * locale/lc-ctype.c: Likewise.
14455 * locale/nl_langinfo.c: Likewise.
14456 * mach/Machrules: Likewise.
14457 * mach/Makefile: Likewise.
14458 * malloc/obstack.h: Likewise.
14459 * manual/Makefile: Likewise.
14460 * manual/tsort.awk: Likewise.
14461 * misc/bits/stab.def: Likewise.
14462 * nis/nis_print_group_entry.c: Likewise.
14463 * nis/nis_table.c: Likewise.
14464 * nis/nss_compat/compat-pwd.c: Likewise.
14465 * nis/nss_compat/compat-spwd.c: Likewise.
14466 * po/Makefile: Likewise.
14467 * posix/fnmatch.c: Likewise.
14468 * posix/regex.h: Likewise.
14469 * resolv/Makefile: Likewise.
14470 * resolv/nss_dns/dns-network.c: Likewise.
14471 * resolv/res_hconf.c: Likewise.
14472 * scripts/gen-sorted.awk: Likewise.
14473 * soft-fp/soft-fp.h: Likewise.
14474 * stdio-common/printf.h: Likewise.
14475 * stdlib/monetary.h: Likewise.
14476 * stdlib/random.c: Likewise.
14477 * stdlib/random_r.c: Likewise.
14478 * sysdeps/generic/Makefile: Likewise.
14479 * sysdeps/gnu/Makefile: Likewise.
14480 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14496 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14497 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14498 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14500 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14501 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14502 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14503 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14504 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14505 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14506 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14507 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14508 * sysdeps/mach/hurd/errnos.awk: Likewise.
14509 * sysdeps/mach/hurd/fork.c: Likewise.
14510 * sysdeps/mach/hurd/getcwd.c: Likewise.
14511 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14512 * sysdeps/mach/hurd/mmap.c: Likewise.
14513 * sysdeps/mach/hurd/utimes.c: Likewise.
14514 * sysdeps/mach/hurd/xmknod.c: Likewise.
14515 * sysdeps/posix/profil.c: Likewise.
14516 * sysdeps/posix/readdir_r.c: Likewise.
14517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14518 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14519 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14520 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14522 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14523 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14524 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14526 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14527 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14528 * sysdeps/pthread/lio_listio.c: Likewise.
14529 * sysdeps/sparc/dl-procinfo.h: Likewise.
14530 * sysdeps/unix/i386/sysdep.S: Likewise.
14531 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14532 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14533 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14534 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14536 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14537 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14538 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14539 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14540 * sysdeps/wordsize-32/divdi3.c: Likewise.
14541 * time/sys/time.h: Likewise.
14542 * wcsmbs/Makefile: Likewise.
14543
0549fbba
DM
145442013-01-01 David S. Miller <davem@davemloft.net>
14545
a141f1a7
DM
14546 * po/fr.po: Update from translation team.
14547
0549fbba
DM
14548 * catgets/gencat.c: Update copyright year.
14549 * csu/version.c: Likewise.
14550 * debug/catchsegv.sh: Likewise.
14551 * debug/pcprofiledump.c: Likewise.
14552 * debug/xtrace.sh: Likewise.
14553 * elf/ldconfig.c: Likewise.
14554 * elf/ldd.bash.in: Likewise.
14555 * elf/pldd.c: Likewise.
14556 * elf/sotruss.ksh: Likewise.
14557 * elf/sprof.c: Likewise.
14558 * iconv/iconv_prog.c: Likewise.
14559 * iconv/iconvconfig.c: Likewise.
14560 * locale/programs/locale.c: Likewise.
14561 * locale/programs/localedef.c: Likewise.
14562 * login/programs/pt_chown.c: Likewise.
14563 * malloc/memusage.sh: Likewise.
14564 * malloc/memusagestat.c: Likewise.
14565 * malloc/mtrace.pl: Likewise.
14566 * nscd/nscd.c: Likewise.
14567 * nss/getent.c: Likewise.
14568 * nss/makedb.c: Likewise.
14569 * posix/getconf.c: Likewise.
14570
18ea052c
SP
145712012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14572
14573 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14574 numbers.
14575
9c89fca6
MF
145762012-12-30 Mike Frysinger <vapier@gentoo.org>
14577
14578 * math/bits/mathcalls.h (modf): Use __nonnull.
14579
085ec079
SP
145802012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14581
14582 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14583 (split): Use macro CN instead of the bare value.
14584 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14585 could be used.
14586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14587 instead of the bare value.
14588 (power1): Likewise.
14589
6d9f97e1
SP
145902012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14591
d63f73be
SP
14592 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14593 __ATAN_TWOM.
14594 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14595
6d9f97e1
SP
14596 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14597 their values.
14598 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14599 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14600 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14601 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14602
4c4febf5
AJ
146032012-12-28 Andreas Jaeger <aj@suse.de>
14604
af5843ef
AJ
14605 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14606 values are from Linux 3.7.
14607
4c4febf5
AJ
14608 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14609 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14610
99136f82
SP
146112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14612
2f216c3c 14613 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14614 TRUE case.
14615
99136f82
SP
14616 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14617 (norm): Likewise.
14618 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14619 variables with preprocessor constants.
14620 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14621 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14622 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14623
7fffbdff
BH
146242012-12-27 Bruno Haible <bruno@clisp.org>
14625
14626 [BZ #14317]
14627 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14628 only if needed.
14629
b76eb5f0
SP
146302012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14631
31a7fe5c
SP
14632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14633 and use variable directly.
14634 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14635
b76eb5f0
SP
14636 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14637 MPONE.
14638 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14639 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14640 variable MPONE.
14641 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14642 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14643 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14644 include directive. Remove local variable MPONE.
14645 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14646 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14647 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14648
2c8bfe7d
DM
146492012-12-25 David S. Miller <davem@davemloft.net>
14650
14651 * version.h (RELEASE): Set to "development".
14652 (VERSION): Set to "2.17.90".
14653 * NEWS: Add 2.18 section.
14654
147d03b0
DM
146552012-12-21 David S. Miller <davem@davemloft.net>
14656
14657 * po/hr.po: Update from translation team.
14658
a8ebb2b9
AK
146592012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14660
14661 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14662
95b4f1b6
SE
146632012-12-19 Steve Ellcey <sellcey@mips.com>
14664
b2d94007 14665 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14666
cedb2a90
MS
146672012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14668
14669 * manual/contrib.texi (Contributors): Spelling correction.
14670
bbf527d6
DM
146712012-12-15 David S. Miller <davem@davemloft.net>
14672
14673 * po/ru.po: Update from translation team.
14674
bc38c906
DM
146752012-12-13 David S. Miller <davem@davemloft.net>
14676
85429b1a
DM
14677 * NEWS: Mention IFUNC testsuite enhancements.
14678
d283e353
DM
14679 * po/pl.po: Update from translation team.
14680 * po/bg.po: Likewise.
14681
bc38c906
DM
14682 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14683 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14684
a181b0d7
DM
146852012-12-11 David S. Miller <davem@davemloft.net>
14686
4641d57e
DM
14687 * po/sv.po: Update from translation team.
14688
f7bc6495
DM
14689 * po/vi.po: Update from translation team.
14690
6fc9048f
DM
14691 * po/cs.po: Update from translation team.
14692
a181b0d7
DM
14693 * po/de.po: Update from translation team.
14694 * po/eo.po: Likewise.
14695 * po/nl.po: Likewise.
14696
f70bfe80
SP
146972012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14698
3c8b4190
SP
14699 [BZ #14246]
14700 * manual/argp.texi (Argp Helper Functions): Move node to follow
14701 Argp Parsing State.
14702
f70bfe80
SP
14703 [BZ #14872]
14704 * manual/conf.texi (Limits on File System Capacity): Mention if
14705 terminating null is included in the max size.
14706
188f0adf
AJ
147072012-12-10 Andreas Jaeger <aj@suse.de>
14708
14709 * po/cs.po: Update from translation team.
14710
56e7d3ad
SP
147112012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14712
14713 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14714 void pointer and cast to uintptr_t.
14715 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14716 path.
14717 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14718 * sysdeps/s390/s390-64/memset.S: Likewise.
14719
76f2d2ea 147202012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14721
14722 [BZ #14833]
14723 * menual/message.texi (Message Translation): Fix typos.
14724 (Helper programs for gettext): Likewise.
14725
67cbf9a2
AS
147262012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14727
14728 [BZ #14898]
14729 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14730 Change to -1.
14731
682d0e9a
DM
147322012-12-07 David S. Miller <davem@davemloft.net>
14733
14734 * po/libc.pot: Update.
14735
573cd484
RH
147362012-12-07 Richard Henderson <rth@redhat.com>
14737
7e9da188 14738 [BZ #10114]
573cd484
RH
14739 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14740 normal/normal case to before the switch.
14741 (_FP_DIV): Likewise.
14742
e933a943
MF
147432012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14744 Mike Frysinger <vapier@gentoo.org>
14745
14746 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14747 check for __NR_fadvise64_64.
14748
82123268
CM
147492012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14750
14751 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14752 0, not just to plain "0" as a statement.
14753 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14754 with cw.
14755
d9814526
JM
147562012-12-06 Joseph Myers <joseph@codesourcery.com>
14757
14758 * NEWS: Use sourceware.org in Bugzilla URL.
14759
7728c574
SP
147602012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14761
f16946dd
SP
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14763 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14764
5704bbcb
SP
14765 * stdio-common/tst-put-error.c (do_test): Add newline to the
14766 padded test to ensure flush.
14767
17aa0516
JL
147682012-12-05 Jeff Law <law@redhat.com>
14769
14770 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14771
363313b5
JM
147722012-12-05 Joseph Myers <joseph@codesourcery.com>
14773
effbd42a
JM
14774 * README: Don't refer to ports add-on as distributed separately.
14775 Mention AArch64 in list of systems supported in the ports add-on.
14776
87600365
JM
14777 * LICENSES: Add more non-FSF copyright and license notices.
14778
a0d7066a
JM
14779 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14780 ((unused)).
14781
66ca5a5b
JM
14782 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14783
363313b5
JM
14784 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14785 10000 as width of padded output.
14786
b37984ad
JM
147872012-12-04 Joseph Myers <joseph@codesourcery.com>
14788
9003570a
JM
14789 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14790
b37984ad
JM
14791 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14792 variable LX with __attribute__ ((unused)).
14793 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14794 Likewise.
14795 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14797 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14798 with __attribute__ ((unused)).
14799
c8df52ec
DM
148002012-12-04 David S. Miller <davem@abraco.davemloft.net>
14801
14802 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14803
b3b099af
JM
148042012-12-04 Joseph Myers <joseph@codesourcery.com>
14805
c33aa6e3
JM
14806 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14807 (CFLAGS-nldbl-acos.c): New variable.
14808 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14809 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14810 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14811 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14812 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14813 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14814 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14815 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14816 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14817 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14818 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14819 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14820 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14821 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14822 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14823 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14824 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14825 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14826 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14827 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14828 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14829 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14830 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14831 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14832 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14833 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14834 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14835 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14836 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14837 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14838 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14839 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14840 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14841 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14842 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14843 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14844 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14845 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14846 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14847 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14848 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14849 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14850 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14851 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14852 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14853 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14854 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14855 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14856 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14857 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14858 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14859 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14860 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14861 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14862 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14863 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14864 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14865 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14866 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14867 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14868 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14869 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14870 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14871 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14872 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14873 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14874 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14875 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14876 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14877 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14878 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14879 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14880 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14881 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14882 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14883 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14884 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14885 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14886 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14887 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14888 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14889 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14890 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14891 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14892 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14893 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14894 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14895 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14896 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14897 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14898 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14899 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14900 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14901 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14902 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14903 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14904 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14905
20f0018d
JM
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14907 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14908
b3b099af
JM
14909 [BZ #14914]
14910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14911 whole low double instead of just low 47 bits when splitting values
14912 into two parts.
14913
029264d1
AM
149142012-12-03 Allan McRae <allan@archlinux.org>
14915
14916 * manual/stdio.texi (Predefined Printf Handlers): Remove
14917 @hsep and @vsep usage.
14918
c9d6789e
MF
149192012-12-03 Mike Frysinger <vapier@gentoo.org>
14920
14921 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14922 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14923
4b7634a5
JL
149242012-12-03 Jeff Law <law@redhat.com>
14925
14926 * time/sys/time.h (settimeofday): Do not mark TV argument
14927 as __nonnull.
14928
eb6cbd24
MF
149292012-12-01 Mike Frysinger <vapier@gentoo.org>
14930
14931 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14932 when currently writing and seek to current position when not.
14933 * libio/Makefile (tests): Remove bug-fclose1.
14934 * libio/bug-fclose1.c: Delete.
14935
f638872a
JM
149362012-12-01 Joseph Myers <joseph@codesourcery.com>
14937
14938 * manual/arith.texi (feenableexcept): Fix typo.
14939 (fedisableexcept): Likewise.
14940
48085d14
RM
149412012-11-30 Roland McGrath <roland@hack.frob.com>
14942
14943 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14944 second, differently-typed declaration, rather than a cast.
14945
1a538b9f
SP
149462012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14947
14948 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14949 * include/rpc/svc.h: ... here.
14950
d07f2ff1 149512012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14952
14953 [BZ #13013]
14954 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14955 depending n and resplen2 to catch cases where answer
14956 equals answerp2.
14957
c93ec1f0
CD
149582012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14959
14960 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14961 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14962
37db69de
MF
149632012-11-29 Mike Frysinger <vapier@gentoo.org>
14964
14965 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14966
e10c4e4f
RM
149672012-11-29 Roland McGrath <roland@hack.frob.com>
14968
14969 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14970
2af1b328
JL
149712012-11-28 Jeff Law <law@redhat.com>
14972
14973 [BZ #13761]
14974 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14975 dataset_temporary. Track alloca usage into alloca_used.
14976 If dataset is large allocate and release it via malloc/free.
14977
111db5b1
FW
149782012-06-04 Florian Weimer <fweimer@redhat.com>
14979
f06cc227 14980 [BZ #14197]
111db5b1
FW
14981 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14982
dd694abd
DM
149832012-11-28 David S. Miller <davem@davemloft.net>
14984
14985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14986
9984dd01
JM
149872012-11-28 Joseph Myers <joseph@codesourcery.com>
14988
14989 [BZ #14803]
14990 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14991 of pi/2 rounded to nearest to 64 bits.
14992 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14993 nearest to 64 bits.
14994 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14995 bits.
14996
14bc93a9
JL
149972012-11-28 Jeff Law <law@redhat.com>
14998 Martin Osvald <mosvald@redhat.com>
14999
15000 [BZ #14889]
15001 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15002 * sunrpc/svc.c: Include time.h.
15003 (__svc_accept_failed): New function.
15004 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15005 any reason other than EINTR, call __svc_accept_failed.
15006 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15007 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15008
e3c6aa3a
AS
150092012-11-28 Andreas Schwab <schwab@suse.de>
15010
15011 * scripts/abilist.awk: Also handle indirect functions in .opd
15012 section.
15013
1bead169
JM
150142012-11-28 Joseph Myers <joseph@codesourcery.com>
15015
15016 [BZ #13881]
15017 * sysdeps/x86/fpu/powl_helper.c: New file.
15018 * sysdeps/x86/fpu/Makefile: Likewise.
15019 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15020 (p3): New object.
15021 (__ieee754_powl): Use __powl_helper for finite arguments except
15022 integer exponents below 8.
15023 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15024 (p3): New object.
15025 (__ieee754_powl): Use __powl_helper for finite arguments except
15026 integer exponents below 8.
15027 * math/libm-test.inc (pow_test): Add more tests and enable some
15028 previously disabled tests.
15029 * sysdeps/i386/fpu/libm-test-ulps: Update.
15030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15031
0817d63d
SP
150322012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15033 Carlos O'Donell <carlos_odonell@mentor.com>
15034
15035 * nss/makedb.c (is_prime): Assert that input is odd and greater
15036 than 4. Note that fact in a comment too.
15037 (next_prime): Add 4 to input.
15038
de2fd463
SP
150392012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15040
15041 [BZ #11741]
15042 * libio/Makefile (tests): Add test case tst-fwrite-error.
15043 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15044 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15045 * libio/tst-fwrite-error.c: New test case.
15046
c515fb51
L
150472012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15048
15049 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15050 before casting to void *.
15051 * include/libc-internal.h (__pointer_type): New macro.
15052 (__integer_if_pointer_type_sub): Likewise.
15053 (__integer_if_pointer_type): Likewise.
15054 (cast_to_integer): Likewise.
15055 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15056 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15057 before casting to atomic64_t.
15058 (atomic_exchange_acq): Likewise.
15059 (__arch_exchange_and_add_body): Likewise.
15060 (__arch_add_body): Likewise.
15061 (atomic_add_negative): Likewise.
15062 (atomic_add_zero): Likewise.
15063
4cf77aa9
JM
150642012-11-26 Joseph Myers <joseph@codesourcery.com>
15065
15066 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15067 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15068 (add_fdes): Likewise.
15069 (linear_search_fdes): Likewise.
15070 (binary_search_unencoded_fdes): Likewise.
15071
d260b3b4
AS
150722012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15073
15074 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15075
67060746
AC
150762012-11-24 Adam Conrad <adconrad@0c3.net>
15077
15078 * configure.in: Autodetect C++ header directories.
15079 * configure: Regenerated.
15080
800938a1
MF
150812012-11-23 Mike Frysinger <vapier@gentoo.org>
15082
15083 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15084
4e6e34e6
AS
150852012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15086
15087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15088
7c7feb47
JM
150892012-11-22 Joseph Myers <joseph@codesourcery.com>
15090
7184dcdf
JM
15091 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15092 LDBL_MANT_DIG == 106]: Disable some tests.
15093 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15094 Likewise.
15095 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15096 Likewise.
15097
0a42601f
JM
15098 [BZ #14871]
15099 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15100 input for small inputs. Return +/- pi/2 for large inputs.
15101 * math/libm-test.inc (atan_test): Add more tests.
15102
79c9b9fe
JM
15103 * sysdeps/generic/unwind-dw2-fde-glibc.c
15104 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15105 __attribute__ ((unused)).
15106
c60d3bf2
JM
15107 [BZ #14645]
15108 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15109 x * y if x and y are nonzero and z is zero.
15110
ef1e0867
JM
15111 [BZ #14811]
15112 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15113 nonzero exponents with absolute value below 0x1p-117 to +/-
15114 0x1p-117.
15115
1468ded3
JM
15116 [BZ #14869]
15117 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15118 up arguments below 2**-450, not just those below 2**-500.
15119 * math/libm-test.inc (hypot_test): Add another test.
15120
8e27e3cc
JM
15121 [BZ #14868]
15122 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15123 Return a+b for ratio over 2**120, not 2**60.
15124 * math/libm-test.inc (hypot_test): Add another test.
15125
c9c0279b
JM
15126 * math/libm-test.inc (clog_test): Use
15127 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15128 (clog10_test): Likewise.
15129
7c7feb47
JM
15130 [BZ #6778]
15131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15132
fff1530e
AS
151332012-11-22 Andreas Schwab <schwab@suse.de>
15134
15135 * sysdeps/i386/fpu/libm-test-ulps: Update.
15136
94558d30
PT
151372012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15138
15139 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15140 printf output with newline.
15141
7e1be741
L
151422012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15143
6bfea974
L
15144 [BZ #14865]
15145 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15146 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15147 -z nodlopen, -z initfirst and -z execstack support.
15148 * configure: Regenerated.
15149
7e1be741
L
15150 * elf/elf.h (DF_1_NODIRECT): New macro.
15151 (DF_1_IGNMULDEF): Likewise.
15152 (DF_1_NOKSYMS): Likewise.
15153 (DF_1_NOHDR): Likewise.
15154 (DF_1_EDITED): Likewise.
15155 (DF_1_NORELOC): Likewise.
15156 (DF_1_SYMINTPOSE): Likewise.
15157 (DF_1_GLOBAUDIT): Likewise.
15158 (DF_1_SINGLETON): Likewise.
15159 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15160 DT_1_SUPPORTED_MASK bits.
15161 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15162
105ce2ce
CD
151632012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15164
15165 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15166
123be9de
TS
151672012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15168
d072f3f7
TS
15169 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15170 macro.
15171
123be9de
TS
15172 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15173 (sendmmsg): Move declarations...
15174 * socket/sys/socket.h: ... here.
15175 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15176 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15177 include it from...
15178 * socket/recvmmsg.c: ... this new file.
15179 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15180 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15181 definition of __sendmmsg hidden.
15182 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15183 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15184 Move ENOSYS stub into and include it from...
15185 * socket/sendmmsg.c: ... this new file.
15186 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15187 (sysdep_routines): Move recvmmsg and sendmmsg...
15188 * socket/Makefile (routines): ... here.
15189 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15190 (GLIBC_PRIVATE): Add __sendmmsg.
15191 * include/sys/socket.h (__sendmmsg): Add declarations.
15192 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15193 sendmmsg.
15194
cf9a5d18
JM
151952012-11-20 Joseph Myers <joseph@codesourcery.com>
15196
15197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15198 variable I1 with __attribute__ ((unused)).
15199 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15200
ecd4caf9
JM
152012012-11-19 Joseph Myers <joseph@codesourcery.com>
15202
be14d48f
JM
15203 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15204 DUMMY variables with __attribute__ ((unused)).
15205
ecd4caf9
JM
15206 * bits/byteswap.h: Include <bits/types.h>.
15207 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15208
986cab95
PT
152092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15210
15211 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15212 string_t. Do not manually set errno.
15213 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15214 length with __strnlen. Make sure to both set errno and return it on
15215 failure.
15216
6d33cc9d
DM
152172012-11-19 David S. Miller <davem@davemloft.net>
15218
15219 With help from Joseph Myers.
15220 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15221 very large arguments properly.
15222 * math/libm-test.inc (atan_test): New tests.
15223 (atan2_test): New tests.
15224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15226
ee663277
JM
152272012-11-19 Joseph Myers <joseph@codesourcery.com>
15228
877f2d8e
JM
15229 [BZ #14856]
15230 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15231 Define to 3.
15232
116fc08a
JM
15233 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15234 [POSIX] (EADDRNOTAVAIL): Likewise.
15235 [POSIX] (EAFNOSUPPORT): Likewise.
15236 [POSIX] (EALREADY): Likewise.
15237 [POSIX] (ECONNABORTED): Likewise.
15238 [POSIX] (ECONNREFUSED): Likewise.
15239 [POSIX] (ECONNRESET): Likewise.
15240 [POSIX] (EDESTADDRREQ): Likewise.
15241 [POSIX] (EDQUOT): Likewise.
15242 [POSIX] (EHOSTUNREACH): Likewise.
15243 [POSIX] (EIDRM): Likewise.
15244 [POSIX] (EISCONN): Likewise.
15245 [POSIX] (ELOOP): Likewise.
15246 [POSIX] (EMULTIHOP): Likewise.
15247 [POSIX] (ENETDOWN): Likewise.
15248 [POSIX] (ENETUNREACH): Likewise.
15249 [POSIX] (ENOBUFS): Likewise.
15250 [POSIX] (ENODATA): Likewise.
15251 [POSIX] (ENOLINK): Likewise.
15252 [POSIX] (ENOMSG): Likewise.
15253 [POSIX] (ENOPROTOOPT): Likewise.
15254 [POSIX] (ENOSR): Likewise.
15255 [POSIX] (ENOSTR): Likewise.
15256 [POSIX] (ENOTCONN): Likewise.
15257 [POSIX] (ENOTSOCK): Likewise.
15258 [POSIX] (EOPNOTSUPP): Likewise.
15259 [POSIX] (EOVERFLOW): Likewise.
15260 [POSIX] (EPROTO): Likewise.
15261 [POSIX] (EPROTONOSUPPORT): Likewise.
15262 [POSIX] (EPROTOTYPE): Likewise.
15263 [POSIX] (ESTALE): Likewise.
15264 [POSIX] (ETIME): Likewise.
15265 [POSIX] (ETXTBSY): Likewise.
15266 [POSIX] (EWOULDBLOCK): Likewise.
15267 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15268 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15269 [POSIX] (SEEK_CUR): Likewise.
15270 [POSIX] (SEEK_END): Likewise.
15271 [POSIX || UNIX98] (mode_t): Do not require.
15272 [POSIX] (off_t): Likewise.
15273 [POSIX] (pid_t): Likewise.
15274 [POSIX] (sys/stat.h): Do not allow header.
15275 [POSIX] (unistd.h): Likewise.
15276 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15277 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15278 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15279 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15280 require.
15281 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15282 sigevent): Specify elements.
15283 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15284 entry.
15285 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15286 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15287
a483863f
JM
15288 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15289 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15290 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15291 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15292 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15293 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15294 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15295 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15296 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15297 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15298 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15299 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15300 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15301 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15302 Likewise.
15303 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15304 Likewise.
15305 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15306 Likewise.
15307 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15308 Likewise.
15309 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15310 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15311 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15312 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15313 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15314 Specify lower bound on value.
15315 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15316 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15317 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15318 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15319 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15320 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15321 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15322 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15323 value.
15324 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15325 as optional.
15326 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15327 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15328 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15329 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15330 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15331 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15332 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15333 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15334 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15335 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15336 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15337 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15338 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15339 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15340 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15341 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15342 entry.
15343 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15344 optional.
15345 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15346 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15347 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15348 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15349 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15350 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15351 Likewise.
15352 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15353 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15354 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15355 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15356 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15357 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15358 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15359 as optional.
15360 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15361 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15362 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15363 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15364 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15365 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15366 specify as optional.
15367 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15368 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15369 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15370 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15371 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15372 [XPG3] (NL_LANGMAX): Likewise.
15373 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15374 [POSIX || XPG3] (NL_NMAX): Likewise.
15375 [POSIX || XPG3] (NL_SETMAX): Likewise.
15376 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15377 [XPG3] (NZERO): Likewise.
15378 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15379 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15380 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15381 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15382 (REG_ERANGE): Expect.
15383 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15384 optional-constant.
15385 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15386 Use (void) in prototype.
15387 [POSIX] (*_t): Allow.
15388 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15389 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15390 (WRDE_BADVAL): Expect.
15391
5ba924e3
JM
15392 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15393 expect.
15394 [XPG3 || XPG4] (O_RSYNC): Likewise.
15395 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15396 Likewise.
15397 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15398 [XPG3 || XPG4] (sigqueue): Likewise.
15399 [XPG3 || XPG4] (sigtimedwait): Likewise.
15400 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15401 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15402 [XPG3 || XPG4] (vsnprintf): Likewise.
15403 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15404 Likewise.
15405 [XPG3 || XPG4] (blksize_t): Likewise.
15406 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15407 Likewise.
15408 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15409 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15410 [XPG3 || XPG4] (struct itimerspec): Likewise.
15411 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15412 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15413 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15414 [XPG3 || XPG4] (clockid_t): Likewise.
15415 [XPG3 || XPG4] (timer_t): Likewise.
15416 [XPG3 || XPG4] (clock_getres): Likewise.
15417 [XPG3 || XPG4] (clock_gettime): Likewise.
15418 [XPG3 || XPG4] (clock_settime): Likewise.
15419 [XPG3 || XPG4] (nanosleep): Likewise.
15420 [XPG3 || XPG4] (timer_create): Likewise.
15421 [XPG3 || XPG4] (timer_delete): Likewise.
15422 [XPG3 || XPG4] (timer_gettime): Likewise.
15423 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15424 [XPG3 || XPG4] (timer_settime): Likewise.
15425 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15426 [XPG3 || XPG4] (getlogin_r): Likewise.
15427 [XPG3 || XPG4] (pread): Likewise.
15428 [XPG3 || XPG4] (pthread_atfork): Likewise.
15429 [XPG3 || XPG4] (pwrite): Likewise.
15430
ee663277
JM
15431 [BZ #14835]
15432 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15433 <bits/siginfo.h>.
15434
942caa16
PT
154352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15436
e19af380
PT
15437 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15438 finalizing MALLSTREAM.
15439
942caa16
PT
15440 * sysdeps/mach/hurd/syncfs.c: New file.
15441
cfde9b46
SP
154422012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15443
15444 [BZ #14719]
15445 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15446 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15447 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15448 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15449 (_nss_dns_gethostbyname4_r): Likewise.
15450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15451 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15452
f6da27e5
PH
154532012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15454
15455 [BZ #13763]
15456 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15457
6665d4a2
SM
154582012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15459
1f51ee92
SM
15460 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15461 * elf/cache.c (print_entry): Print ",AArch64" for
15462 FLAG_AARCH64_LIB64
15463
6665d4a2
SM
15464 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15465 * elf/cache.c (print_entry): Print ",hard-float" for
15466 FLAG_ARM_LIBHF.
15467
05b227bd
DM
154682012-11-18 David S. Miller <davem@davemloft.net>
15469
15470 With help from Joseph Myers.
15471 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15472 cutoff to 2**-13.
15473 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15474 cutoff to 2**-25.
15475 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15476 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15477 small.
15478 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15479 * math/libm-test.inc (y0_test): New tests.
15480 (y1_test): New tests.
15481 * sysdeps/i386/fpu/libm-test-ulps: Update.
15482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15484
786b0b67
AS
154852012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15486
15487 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15488 64-bit targets.
15489 * configure: Regenerated.
15490
8e18b86d
DM
154912012-11-17 David S. Miller <davem@davemloft.net>
15492
15493 [BZ #14811]
15494 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15495 nonzero exponents with absolute value below 0x1p-128 to +/-
15496 0x1p-128.
15497
531f1ae0
JM
154982012-11-17 Joseph Myers <joseph@codesourcery.com>
15499
12df29e2
JM
15500 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15501
150dc1a0
JM
15502 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15503
531f1ae0
JM
15504 * posix/getconf-speclist.c: New file.
15505 * posix/posix-envs.def: Likewise.
15506 * posix/confstr.c (START_ENV_GROUP): New macro.
15507 (END_ENV_GROUP): Likewise.
15508 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15509 (KNOWN_PRESENT_ENV_STRING): Likewise.
15510 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15511 (UNKNOWN_ENVIRONMENT): Likewise.
15512 (confstr): Include posix-envs.def instead of handling
15513 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15514 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15515 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15516 (END_ENV_GROUP): Likewise.
15517 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15518 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15519 (UNKNOWN_ENVIRONMENT): Likewise.
15520 (__sysconf): Include posix-envs.def instead of handling associated
15521 cases directly here.
15522 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15523 preprocessing getconf-speclist.c rather than running getconf or
15524 generating empty file.
15525
a93f9cbc
PT
155262012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15527
15528 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15529
d64d9f87
AL
155302012-11-16 Andrej Lajovic <natrij@gmail.com>
15531
15532 [BZ #14672]
15533 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15534
447885eb
DM
155352012-11-16 David S. Miller <davem@davemloft.net>
15536
15537 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15538 smaller than LDBL_EPSILON/2.0L, just return xm1.
15539
bcbf9830
L
155402012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15541
15542 * elf/tst-array1.c (init): Set constructor priority to 1000.
15543 (fini): Set destructor priority to 1000.
15544 * elf/tst-array2dep.c: Likewise.
15545
2b766585
SP
155462012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15547
15548 [BZ #11741]
15549 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15550 (_IO_new_file_xsputn): Also return EOF if none of the input
15551 data was written when overflow failed.
15552 * libio/iopadn.c (_IO_padn): Likewise.
15553 * libio/iowpadn.c (_IO_wpadn): Likewise.
15554 * stdio-common/tst-put-error.c: Add copyright notice.
15555 (do_test): Add case for printing padded string.
15556 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15557 _IO_padn returned error.
15558 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15559 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15560 return EOF.
15561
b1848fde
SP
155622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15563
15564 * libio/libioP.h: Add comment note that the references to C++
15565 bits are now obsolete.
15566
2fd89785
MS
155672012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15568
15569 * math/libm-test.inc (check_complex): Use asprintf.
15570
e3ea5409
JM
155712012-11-14 Joseph Myers <joseph@codesourcery.com>
15572
15573 * debug/pcprofiledump.c (print_version): Update copyright year.
15574 * malloc/memusagestat.c (print_version): Likewise.
15575
2e64d265
L
155762012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15577
15578 [BZ #14831]
15579 * elf/Makefile (tests): Add tst-audit8.
15580 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15581 ($(objpfx)tst-audit8.out): New target.
15582 (tst-audit8-ENV): New variable.
15583 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15584 audit if l_reloc_result is NULL.
15585 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15586 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15587 * elf/tst-audit8.c: New file.
15588
c485e4d2
MS
155892012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15590
15591 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15592 * misc/Makefile (CFLAGS-select.c): Define.
15593 * posix/Makefile (CFLAGS-pause.c): Define.
15594
3a0d900a
DM
155952012-11-13 David S. Miller <davem@davemloft.net>
15596
15597 * crypt/Makefile: Move test targets after toplevel Rules
15598 inclusion. Grab any necessary sysdep routines when linking.
15599 * crypt/md5.c (md5_process_block): Remove define, we will always
15600 name it __md5_process_block.
15601 (md5_finish_ctx): Update md5_process_block call.
15602 (md5_stream): Likewise.
15603 (md5_process_bytes): Likewise.
15604 (md5_process_block): Rename to __md5_process_block and move to ...
15605 * crypt/md5-block.c: ... here.
15606 * crypt/sha256.c (sha256_process_block): Move to ...
15607 * crypt/sha256-block.c: ... here.
15608 * crypt/sha512.c (sha512_process_block): Move to ...
15609 * crypt/sha512-block.c: ... here.
15610 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15611 path.
15612 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15613 * sysdeps/sparc/sparc64/multiarch/Makefile
15614 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15615 crypt subdir.
15616 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15617 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15618 multiarch changes.
15619 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15620 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15621 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15622 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15623 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15624 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15625 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15626 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15627 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15628 file.
15629 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15630 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15631 file.
15632 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15633
8ca89318
JM
156342012-11-13 Joseph Myers <joseph@codesourcery.com>
15635
e27d476a
JM
15636 * timezone/tzselect.ksh: Update from tzcode git revision
15637 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15638 * timezone/zdump.c: Likewise.
15639 * timezone/zic.c: Likewise.
15640 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15641 in TZVERSION setting, not $(PKGVERSION).
15642 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15643 REPORT_BUGS_TO settings.
15644
8ca89318
JM
15645 [BZ #14838]
15646 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15647 macro.
15648
47594329
MS
156492012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15650
15651 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15652 detection to immediately after _FP_ROUND().
15653 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15654 bits are 0.
15655
640ac3f1
DM
156562012-11-11 David S. Miller <davem@davemloft.net>
15657
15658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15659 inttypes.h
15660 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15661 __close rather than their public counterparts.
15662
3d2577bb
JM
156632012-11-10 Joseph Myers <joseph@codesourcery.com>
15664
15665 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15666 file.
15667 [UNIX98] (sem_timedwait): Do not expect.
15668 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15669 [XPG4 || UNIX98] (sockatmark): Do not expect.
15670 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15671 (clock_getcpuclockid): Do not expect.
15672 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15673 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15674 Do not expect.
15675 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15676 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15677 [UNIX98] (vwscanf): Likewise.
15678 [UNIX98] (vswscanf): Likewise.
15679
fb1ae1ee
JM
156802012-11-09 Joseph Myers <joseph@codesourcery.com>
15681
9ec6f8bd
JM
15682 * timezone/version.h: Remove file.
15683 * timezone/README: Do not refer to version.h.
15684 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15685 $(objpfx)version.h.
15686 ($(objpfx)zdump.o): Likewise.
c3f81911 15687 ($(objpfx)version.h): New target.
9ec6f8bd 15688
0aa8f8a1
JM
15689 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15690 2012i.
15691 * timezone/README: Don't mention modification to tzselect.ksh.
15692 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15693 work on unmodified tzselect.ksh. Substitute version numbers in
15694 tzselect.ksh.
15695
4e87147f
JM
15696 * Makefile (format-me): Remove.
15697 (INSTALL): Adjust indentation. Use commands directly instead of
15698 using $(format-me).
15699
8b748aed
JM
15700 * aclocal.m4 (ACX_PKGVERSION): New macro.
15701 (ACX_BUGURL): Likewise.
15702 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15703 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15704 (REPORT_BUGS_TO): Likewise.
15705 * configure: Regenerated.
15706 * config.h.in (PKGVERSION): New macro.
15707 (REPORT_BUGS_TO): Likewise.
15708 * config.make.in (PKGVERSION): New variable.
15709 (PKGVERSION_TEXI): Likewise.
15710 (REPORT_BUGS_TO): Likewise.
15711 (REPORT_BUGS_TEXI): Likewise.
15712 * Makefile (format-me): Use -I$(common-objpfx)manual.
15713 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15714 ($(common-objpfx)manual/%): New target.
15715 (manual/%): Remove target.
15716 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15717 (print_version): Use PKGVERSION.
15718 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15719 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15720 and REPORT_BUGS_TO.
15721 ($(objpfx)xtrace): Likewise.
15722 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15723 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15724 (print_version): Use PKGVERSION.
15725 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15726 (do_version): Use PKGVERSION.
15727 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15728 REPORT_BUGS_TO.
15729 (common-ldd-rewrite): Likewise.
15730 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15731 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15732 (print_version): Use PKGVERSION.
15733 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15734 * elf/pldd.c (argp_program_bug_address): Remove variable.
15735 (more_help): New function.
15736 (argp): Use more_help.
15737 (print_version): Use PKGVERSION.
15738 * elf/sln.c (main): Use PKGVERSION.
15739 (usage): Use REPORT_BUGS_TO.
15740 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15741 (top level): Use PKGVERSION.
15742 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15743 (print_version): Use PKGVERSION.
15744 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15745 (print_version): Use PKGVERSION.
15746 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15747 (print_version): Use PKGVERSION.
15748 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15749 (print_version): Use PKGVERSION.
15750 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15751 (print_version): Use PKGVERSION.
15752 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15753 (print_version): Use PKGVERSION.
15754 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15755 and BUGURL.
15756 ($(objpfx)memusage): Likewise.
15757 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15758 (do_version): Use PKGVERSION.
15759 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15760 (print_version): Use PKGVERSION.
15761 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15762 ($PKGVERSION): New variable.
15763 ($REPORT_BUGS_TO): Likewise.
15764 (usage): Use $REPORT_BUGS_TO.
15765 (top level): Use $PKGVERSION.
15766 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15767 ($(objpfx)pkgvers.texi): New rule.
15768 ($(objpfx)stamp-pkgvers): Likewise.
15769 * manual/install.texi: Include pkgvers.texi.
15770 (--with-pkgversion): Document new configure option.
15771 (--with-bugurl): Likewise.
15772 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15773 than necessarily for this particular distribution. Use
15774 REPORT_BUGS_TO for where to report bugs.
15775 * INSTALL: Regenerated.
15776 * manual/libc.texinfo: Include pkgvers.texi.
15777 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15778 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15779 (print_version): Use PKGVERSION.
15780 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15781 (print_version): Use PKGVERSION.
15782 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15783 (print_version): Use PKGVERSION.
15784 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15785 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15786 macro.
15787 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15788 (print_version): Use PKGVERSION.
15789 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15790 (print_version): Use PKGVERSION.
15791 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15792 and PKGVERSION.
15793
92e4b6a9
JM
15794 * timezone/checktab.awk: Update from tzcode 2012i.
15795 * timezone/ialloc.c: Likewise.
15796 * timezone/private.h: Likewise.
15797 * timezone/scheck.c: Likewise.
15798 * timezone/tzfile.h: Likewise.
15799 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15800 (TZVERSION): Hardcode tzcode version number.
15801 * timezone/zdump.c: Update from tzcode 2012i.
15802 * timezone/zic.c: Likewise.
15803 * timezone/version.h: New file.
15804 * timezone/README: Describe version.h. Update upstream location.
15805
9bde902c
JM
15806 [BZ #14824]
15807 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15808 (mktemp): Enable declaration.
15809 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15813 Likewise.
15814 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15815 Likewise.
15816 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15817 Likewise.
15818 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15819 Likewise.
15820 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15821 Likewise.
15822 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15823 Likewise.
15824
fb1ae1ee
JM
15825 [BZ #14821]
15826 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15827 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15828 for copies of such integer values.
15829 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15830 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15831
2c1adbcb
AJ
158322012-11-09 Andreas Jaeger <aj@suse.de>
15833
15834 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15835 definitions and declarations that are provided by
15836 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15837
d0f8457e
AK
158382012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15839
3a235abb 15840 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15841 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15842 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15843 definition.
15844
57241e26
MS
158452012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15846
15847 * elf/elf.h: Update comment before AArch64 relocations.
15848
60e8270d
DM
158492012-11-07 David S. Miller <davem@davemloft.net>
15850
15851 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15852 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15853 (__start_context): Declare.
15854 (__makecontext_ret): Delete.
15855 (__makecontext): Hook up __start_context instead of
15856 __makecontext_ret.
15857 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15858 (sysdep_routines): Add __start_context when in stdlib.
15859
0fbb0fbc
JM
158602012-11-07 Joseph Myers <joseph@codesourcery.com>
15861
15862 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15863 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15864 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15865 hardcoded "nm".
15866 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15867 (READELF): New variable. Use it instead of hardcoded "readelf".
15868
eb48db7e
L
158692012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15870
15871 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15872 * sysdeps/x86/Makefile: Here.
15873 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15874 * sysdeps/x86/tst-xmmymm.sh: This.
15875
05bcf62a
JM
158762012-11-07 Joseph Myers <joseph@codesourcery.com>
15877
c4b6cf53
JM
15878 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15879 expectations.
15880 [UNIX98] (pthread_barrier_t): Do not expect.
15881 [UNIX98] (pthread_barrierattr_t): Likewise.
15882 [UNIX98] (pthread_spinlock_t): Likewise.
15883 [UNIX98] (pthread_barrier_destroy): Likewise.
15884 [UNIX98] (pthread_barrier_init): Likewise.
15885 [UNIX98] (pthread_barrier_wait): Likewise.
15886 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15887 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15888 [UNIX98] (pthread_barrierattr_init): Likewise.
15889 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15890 [UNIX98] (pthread_getcpuclockid): Likewise.
15891 [UNIX98] (pthread_mutex_timedlock): Likewise.
15892 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15893 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15894 [UNIX98] (pthread_sigmask): Likewise.
15895 [UNIX98] (pthread_spin_destroy): Likewise.
15896 [UNIX98] (pthread_spin_init): Likewise.
15897 [UNIX98] (pthread_spin_lock): Likewise.
15898 [UNIX98] (pthread_spin_trylock): Likewise.
15899 [UNIX98] (pthread_spin_unlock): Likewise.
15900 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15901 Do not expect.
15902 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15904 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15905 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15906 [XPG3 || XPG4] (pthread_key_t): Likewise.
15907 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15908 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15909 [XPG3 || XPG4] (pthread_once_t): Likewise.
15910 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15911 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15913 [XPG3 || XPG4] (pthread_t): Likewise.
15914
cbe6e120
JM
15915 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15916 not expect.
15917 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15918
1b126443
JM
15919 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15920 Change function return type to int.
15921
b961a573
JM
15922 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15923 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15924 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15925 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15926 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15927 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15928 [!POSIX] (posix_madvise): Likewise.
15929 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15930 && !UNIX98].
15931 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15932 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15933 (mode_t): Likewise.
15934 (posix_mem_offset): Likewise.
15935 (posix_typed_mem_get_info): Likewise.
15936 (posix_typed_mem_open): Likewise.
15937
9e188909
JM
15938 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15939 Change condition to [XOPEN2K8].
15940
05bcf62a
JM
15941 * conform/conformtest.pl: Preprocess allow-header data with -x c
15942 instead of from stdin.
15943 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15944 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15945 [C99-based standards] (cerfc): Likewise.
15946 [C99-based standards] (cexp2): Likewise.
15947 [C99-based standards] (cexpm1): Likewise.
15948 [C99-based standards] (clog10): Likewise.
15949 [C99-based standards] (clog1p): Likewise.
15950 [C99-based standards] (clog2): Likewise.
15951 [C99-based standards] (clgamma): Likewise.
15952 [C99-based standards] (ctgamma): Likewise.
15953 [C99-based standards] (cerff): Likewise.
15954 [C99-based standards] (cerfcf): Likewise.
15955 [C99-based standards] (cexp2f): Likewise.
15956 [C99-based standards] (cexpm1f): Likewise.
15957 [C99-based standards] (clog10f): Likewise.
15958 [C99-based standards] (clog1pf): Likewise.
15959 [C99-based standards] (clog2f): Likewise.
15960 [C99-based standards] (clgammaf): Likewise.
15961 [C99-based standards] (ctgammaf): Likewise.
15962 [C99-based standards] (cerfl): Likewise.
15963 [C99-based standards] (cerfcl): Likewise.
15964 [C99-based standards] (cexp2l): Likewise.
15965 [C99-based standards] (cexpm1l): Likewise.
15966 [C99-based standards] (clog10l): Likewise.
15967 [C99-based standards] (clog1pl): Likewise.
15968 [C99-based standards] (clog2l): Likewise.
15969 [C99-based standards] (clgammal): Likewise.
15970 [C99-based standards] (ctgammal): Likewise.
15971 * conform/data/inttypes.h-data [C99-based standards]: Include
15972 stdint.h-data. Remove all expectations for stdint.h contents.
15973 [C99-based standards] (PRI*): Do not allow.
15974 [C99-based standards] (SCN*): Likewise.
15975 [C99-based standards] (*_t): Likewise.
15976 [C99-based-standards] (PRId8): Expect macro.
15977 [C99-based-standards] (PRIi8): Likewise.
15978 [C99-based-standards] (PRIo8): Likewise.
15979 [C99-based-standards] (PRIu8): Likewise.
15980 [C99-based-standards] (PRIx8): Likewise.
15981 [C99-based-standards] (PRIX8): Likewise.
15982 [C99-based-standards] (SCNd8): Likewise.
15983 [C99-based-standards] (SCNi8): Likewise.
15984 [C99-based-standards] (SCNo8): Likewise.
15985 [C99-based-standards] (SCNu8): Likewise.
15986 [C99-based-standards] (SCNx8): Likewise.
15987 [C99-based-standards] (PRIdLEAST8): Likewise.
15988 [C99-based-standards] (PRIiLEAST8): Likewise.
15989 [C99-based-standards] (PRIoLEAST8): Likewise.
15990 [C99-based-standards] (PRIuLEAST8): Likewise.
15991 [C99-based-standards] (PRIxLEAST8): Likewise.
15992 [C99-based-standards] (PRIXLEAST8): Likewise.
15993 [C99-based-standards] (SCNdLEAST8): Likewise.
15994 [C99-based-standards] (SCNiLEAST8): Likewise.
15995 [C99-based-standards] (SCNoLEAST8): Likewise.
15996 [C99-based-standards] (SCNuLEAST8): Likewise.
15997 [C99-based-standards] (SCNxLEAST8): Likewise.
15998 [C99-based-standards] (PRIdFAST8): Likewise.
15999 [C99-based-standards] (PRIiFAST8): Likewise.
16000 [C99-based-standards] (PRIoFAST8): Likewise.
16001 [C99-based-standards] (PRIuFAST8): Likewise.
16002 [C99-based-standards] (PRIxFAST8): Likewise.
16003 [C99-based-standards] (PRIXFAST8): Likewise.
16004 [C99-based-standards] (SCNdFAST8): Likewise.
16005 [C99-based-standards] (SCNiFAST8): Likewise.
16006 [C99-based-standards] (SCNoFAST8): Likewise.
16007 [C99-based-standards] (SCNuFAST8): Likewise.
16008 [C99-based-standards] (SCNxFAST8): Likewise.
16009 [C99-based-standards] (PRId16): Likewise.
16010 [C99-based-standards] (PRIi16): Likewise.
16011 [C99-based-standards] (PRIo16): Likewise.
16012 [C99-based-standards] (PRIu16): Likewise.
16013 [C99-based-standards] (PRIx16): Likewise.
16014 [C99-based-standards] (PRIX16): Likewise.
16015 [C99-based-standards] (SCNd16): Likewise.
16016 [C99-based-standards] (SCNi16): Likewise.
16017 [C99-based-standards] (SCNo16): Likewise.
16018 [C99-based-standards] (SCNu16): Likewise.
16019 [C99-based-standards] (SCNx16): Likewise.
16020 [C99-based-standards] (PRIdLEAST16): Likewise.
16021 [C99-based-standards] (PRIiLEAST16): Likewise.
16022 [C99-based-standards] (PRIoLEAST16): Likewise.
16023 [C99-based-standards] (PRIuLEAST16): Likewise.
16024 [C99-based-standards] (PRIxLEAST16): Likewise.
16025 [C99-based-standards] (PRIXLEAST16): Likewise.
16026 [C99-based-standards] (SCNdLEAST16): Likewise.
16027 [C99-based-standards] (SCNiLEAST16): Likewise.
16028 [C99-based-standards] (SCNoLEAST16): Likewise.
16029 [C99-based-standards] (SCNuLEAST16): Likewise.
16030 [C99-based-standards] (SCNxLEAST16): Likewise.
16031 [C99-based-standards] (PRIdFAST16): Likewise.
16032 [C99-based-standards] (PRIiFAST16): Likewise.
16033 [C99-based-standards] (PRIoFAST16): Likewise.
16034 [C99-based-standards] (PRIuFAST16): Likewise.
16035 [C99-based-standards] (PRIxFAST16): Likewise.
16036 [C99-based-standards] (PRIXFAST16): Likewise.
16037 [C99-based-standards] (SCNdFAST16): Likewise.
16038 [C99-based-standards] (SCNiFAST16): Likewise.
16039 [C99-based-standards] (SCNoFAST16): Likewise.
16040 [C99-based-standards] (SCNuFAST16): Likewise.
16041 [C99-based-standards] (SCNxFAST16): Likewise.
16042 [C99-based-standards] (PRId32): Likewise.
16043 [C99-based-standards] (PRIi32): Likewise.
16044 [C99-based-standards] (PRIo32): Likewise.
16045 [C99-based-standards] (PRIu32): Likewise.
16046 [C99-based-standards] (PRIx32): Likewise.
16047 [C99-based-standards] (PRIX32): Likewise.
16048 [C99-based-standards] (SCNd32): Likewise.
16049 [C99-based-standards] (SCNi32): Likewise.
16050 [C99-based-standards] (SCNo32): Likewise.
16051 [C99-based-standards] (SCNu32): Likewise.
16052 [C99-based-standards] (SCNx32): Likewise.
16053 [C99-based-standards] (PRIdLEAST32): Likewise.
16054 [C99-based-standards] (PRIiLEAST32): Likewise.
16055 [C99-based-standards] (PRIoLEAST32): Likewise.
16056 [C99-based-standards] (PRIuLEAST32): Likewise.
16057 [C99-based-standards] (PRIxLEAST32): Likewise.
16058 [C99-based-standards] (PRIXLEAST32): Likewise.
16059 [C99-based-standards] (SCNdLEAST32): Likewise.
16060 [C99-based-standards] (SCNiLEAST32): Likewise.
16061 [C99-based-standards] (SCNoLEAST32): Likewise.
16062 [C99-based-standards] (SCNuLEAST32): Likewise.
16063 [C99-based-standards] (SCNxLEAST32): Likewise.
16064 [C99-based-standards] (PRIdFAST32): Likewise.
16065 [C99-based-standards] (PRIiFAST32): Likewise.
16066 [C99-based-standards] (PRIoFAST32): Likewise.
16067 [C99-based-standards] (PRIuFAST32): Likewise.
16068 [C99-based-standards] (PRIxFAST32): Likewise.
16069 [C99-based-standards] (PRIXFAST32): Likewise.
16070 [C99-based-standards] (SCNdFAST32): Likewise.
16071 [C99-based-standards] (SCNiFAST32): Likewise.
16072 [C99-based-standards] (SCNoFAST32): Likewise.
16073 [C99-based-standards] (SCNuFAST32): Likewise.
16074 [C99-based-standards] (SCNxFAST32): Likewise.
16075 [C99-based-standards] (PRId64): Likewise.
16076 [C99-based-standards] (PRIi64): Likewise.
16077 [C99-based-standards] (PRIo64): Likewise.
16078 [C99-based-standards] (PRIu64): Likewise.
16079 [C99-based-standards] (PRIx64): Likewise.
16080 [C99-based-standards] (PRIX64): Likewise.
16081 [C99-based-standards] (SCNd64): Likewise.
16082 [C99-based-standards] (SCNi64): Likewise.
16083 [C99-based-standards] (SCNo64): Likewise.
16084 [C99-based-standards] (SCNu64): Likewise.
16085 [C99-based-standards] (SCNx64): Likewise.
16086 [C99-based-standards] (PRIdLEAST64): Likewise.
16087 [C99-based-standards] (PRIiLEAST64): Likewise.
16088 [C99-based-standards] (PRIoLEAST64): Likewise.
16089 [C99-based-standards] (PRIuLEAST64): Likewise.
16090 [C99-based-standards] (PRIxLEAST64): Likewise.
16091 [C99-based-standards] (PRIXLEAST64): Likewise.
16092 [C99-based-standards] (SCNdLEAST64): Likewise.
16093 [C99-based-standards] (SCNiLEAST64): Likewise.
16094 [C99-based-standards] (SCNoLEAST64): Likewise.
16095 [C99-based-standards] (SCNuLEAST64): Likewise.
16096 [C99-based-standards] (SCNxLEAST64): Likewise.
16097 [C99-based-standards] (PRIdFAST64): Likewise.
16098 [C99-based-standards] (PRIiFAST64): Likewise.
16099 [C99-based-standards] (PRIoFAST64): Likewise.
16100 [C99-based-standards] (PRIuFAST64): Likewise.
16101 [C99-based-standards] (PRIxFAST64): Likewise.
16102 [C99-based-standards] (PRIXFAST64): Likewise.
16103 [C99-based-standards] (SCNdFAST64): Likewise.
16104 [C99-based-standards] (SCNiFAST64): Likewise.
16105 [C99-based-standards] (SCNoFAST64): Likewise.
16106 [C99-based-standards] (SCNuFAST64): Likewise.
16107 [C99-based-standards] (SCNxFAST64): Likewise.
16108 [C99-based-standards] (PRIdMAX): Likewise.
16109 [C99-based-standards] (PRIiMAX): Likewise.
16110 [C99-based-standards] (PRIoMAX): Likewise.
16111 [C99-based-standards] (PRIuMAX): Likewise.
16112 [C99-based-standards] (PRIxMAX): Likewise.
16113 [C99-based-standards] (PRIXMAX): Likewise.
16114 [C99-based-standards] (SCNdMAX): Likewise.
16115 [C99-based-standards] (SCNiMAX): Likewise.
16116 [C99-based-standards] (SCNoMAX): Likewise.
16117 [C99-based-standards] (SCNuMAX): Likewise.
16118 [C99-based-standards] (SCNxMAX): Likewise.
16119 [C99-based-standards] (PRIdPTR): Likewise.
16120 [C99-based-standards] (PRIiPTR): Likewise.
16121 [C99-based-standards] (PRIoPTR): Likewise.
16122 [C99-based-standards] (PRIuPTR): Likewise.
16123 [C99-based-standards] (PRIxPTR): Likewise.
16124 [C99-based-standards] (PRIXPTR): Likewise.
16125 [C99-based-standards] (SCNdPTR): Likewise.
16126 [C99-based-standards] (SCNiPTR): Likewise.
16127 [C99-based-standards] (SCNoPTR): Likewise.
16128 [C99-based-standards] (SCNuPTR): Likewise.
16129 [C99-based-standards] (SCNxPTR): Likewise.
16130 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16131 allow.
16132 * conform/data/stdint.h-data: Update comments to clarify
16133 requirements.
16134 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16135 type.
16136 [C99-based standards] (INT8_MAX): Likewise.
16137 [C99-based standards] (INT16_MIN): Likewise.
16138 [C99-based standards] (INT16_MAX): Likewise.
16139 [C99-based standards] (INT32_MIN): Likewise.
16140 [C99-based standards] (INT32_MAX): Likewise.
16141 [C99-based standards] (INT64_MIN): Likewise.
16142 [C99-based standards] (INT64_MAX): Likewise.
16143 [C99-based standards] (UINT8_MAX): Likewise.
16144 [C99-based standards] (UINT16_MAX): Likewise.
16145 [C99-based standards] (UINT32_MAX): Likewise.
16146 [C99-based standards] (UINT64_MAX): Likewise.
16147 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16148 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16149 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16150 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16151 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16152 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16153 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16154 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16155 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16156 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16157 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16158 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16159 [C99-based standards] (INT_FAST8_MIN): Likewise.
16160 [C99-based standards] (INT_FAST8_MAX): Likewise.
16161 [C99-based standards] (INT_FAST16_MIN): Likewise.
16162 [C99-based standards] (INT_FAST16_MAX): Likewise.
16163 [C99-based standards] (INT_FAST32_MIN): Likewise.
16164 [C99-based standards] (INT_FAST32_MAX): Likewise.
16165 [C99-based standards] (INT_FAST64_MIN): Likewise.
16166 [C99-based standards] (INT_FAST64_MAX): Likewise.
16167 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16168 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16169 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16170 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16171 [C99-based standards] (INTPTR_MIN): Likewise.
16172 [C99-based standards] (INTPTR_MAX): Likewise.
16173 [C99-based standards] (UINTPTR_MAX): Likewise.
16174 [C99-based standards] (INTMAX_MIN): Likewise.
16175 [C99-based standards] (INTMAX_MAX): Likewise.
16176 [C99-based standards] (UINTMAX_MAX): Likewise.
16177 [C99-based standards] (PTRDIFF_MIN): Likewise.
16178 [C99-based standards] (PTRDIFF_MAX): Likewise.
16179 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16180 [C99-based standards] (SIZE_MAX): Likewise.
16181 [C99-based standards] (WCHAR_MAX): Likewise.
16182 [C99-based standards] (WINT_MAX): Likewise.
16183 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16184 constraint on value.
16185 [C99-based standards] (WCHAR_MIN): Likewise.
16186 [C99-based standards] (WINT_MIN): Likewise.
16187 [C99-based standards] (*_t): Allow.
16188 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16189 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16190 Include math.h-data and complex.h-data. Remove all expectations
16191 of math.h and complex.h contents.
16192 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16193 at end of line.
16194 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16195 (struct tm): Expect tag.
16196 [C99-based-standards] (wcstof): Expect function.
16197 [C99-based-standards] (wcstold): Likewise.
16198 [C99-based-standards] (wcstoll): Likewise.
16199 [C99-based-standards] (wcstoull): Likewise.
16200 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16201 macro-int-constant. Specify type.
16202 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16203 constraint on value.
16204 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16205 Specify type.
16206 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16207 Specify value.
16208 [ISO C standards]: Do not allow headers.
16209 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16210 wcs[abcdefghijklmnopqrstuvwxyz]*.
16211 [ISO C standards] (*_t): Do not allow.
16212 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16213 Expect function.
16214 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16215 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16216 Specify type.
16217 [ISO C standards]: Do not allow headers.
16218 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16219 is[abcdefghijklmnopqrstuvwxyz]*.
16220 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16221 to[abcdefghijklmnopqrstuvwxyz]*.
16222 [ISO C standards] (*_t): Do not allow.
16223 * conform/data/stdalign.h-data: New file.
16224 * conform/data/stdbool.h-data: Likewise.
16225 * conform/data/stdnoreturn.h-data: Likewise.
16226
7514feb8
RM
162272012-11-07 Roland McGrath <roland@hack.frob.com>
16228
16229 [BZ #14815]
16230 * manual/filesys.texi (Directory Entries): Typo fix.
16231 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16232
19b2ecfc
MS
162332012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16234
16235 * elf/elf.h (EM_AARCH64): New macro.
16236 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16237 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16238 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16239 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16240 (R_AARCH64_TLSDESC): Likewise.
16241 (NT_ARM_TLS): Likewise.
16242 (NT_ARM_HW_BREAK): Likewise.
16243 (NT_ARM_HW_WATCH): Likewise.
16244
60e235ee
JM
162452012-11-07 Joseph Myers <joseph@codesourcery.com>
16246
16247 [BZ #14811]
16248 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16249 (__ieee754_powl): Saturate nonzero exponents with absolute value
16250 below 0x1p-79 to +/- 0x1p-79.
16251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16252 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16253 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16254 nonzero exponents with absolute value below 0x1p-32 to +/-
16255 0x1p-32.
16256 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16257 (__ieee754_powl): Saturate nonzero exponents with absolute value
16258 below 0x1p-79 to +/- 0x1p-79.
16259 * math/libm-test.inc (pow_test): Add more tests.
16260
0ab234b7
AK
162612012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16262
16263 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16264 _dl_s390_cap_flags with kernel. Increase string length.
16265 (_dl_s390_platforms): Add z196 and zEC12.
16266
45832f74
JM
162672012-11-07 Joseph Myers <joseph@codesourcery.com>
16268
16269 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16270 Change XOPEN21K to XOPEN2K.
16271
19218757
MK
162722012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16273
16274 * string/memmove.c: Use memcpy when possible.
16275
c5f45721
AJ
162762012-11-06 Andreas Jaeger <aj@suse.de>
16277
16278 * po/eo.po: Update from translation team.
16279
82477c28
JM
162802012-11-06 Joseph Myers <joseph@codesourcery.com>
16281
16282 [BZ #14793]
16283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16284 exponent and small x and y exponents, scale x or y up. Increase
16285 by 2 the exponent used in scaling up.
16286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16287 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16288 * math/libm-test.inc (fma_test): Add more tests.
16289 (fma_test_towardzero): Likewise.
16290 (fma_test_downward): Likewise.
16291 (fma_test_upward): Likewise.
16292
99252c8c
JM
162932012-11-05 Joseph Myers <joseph@codesourcery.com>
16294
acfa885f
JM
16295 [BZ #14805]
16296 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16297 fenv_t *.
16298
99252c8c
JM
16299 [BZ #14801]
16300 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16301 namespace for names of struct fields.
16302 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16303 fenv_t fields.
16304 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16305 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16306
d6d98dea
ST
163072012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16308
16309 [BZ #3665]
16310 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16311
e10bb107
TS
163122012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16313
16314 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16315 PTR_DEMANGLE.
16316
16317 [BZ #5246]
16318 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16319 PTR_DEMANGLE.
16320
a0c2940d
JM
163212012-11-04 Joseph Myers <joseph@codesourcery.com>
16322
16323 [BZ #14797]
16324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16325 definitely overflow as x * y not x * y + z.
16326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16328 * math/libm-test.inc (fma_test): Add more tests.
16329 (fma_test_towardzero): Likewise.
16330 (fma_test_downward): Likewise.
16331 (fma_test_upward): Likewise.
16332
b830319d
TS
163332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16334
16335 [BZ #157]
16336
16337 * include/stub-tag.h: Remove file.
16338 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16339 '#include' of it.
16340 * manual/maint.texi (Porting): Don't reference it.
16341 * Makerules ($(objpfx)stubs): Likewise.
16342 * dirent/closedir.c: Don't include <stub-tag.h>.
16343 * dirent/dirfd.c: Likewise.
16344 * dirent/fdopendir.c: Likewise.
16345 * dirent/getdents.c: Likewise.
16346 * dirent/getdents64.c: Likewise.
16347 * dirent/opendir.c: Likewise.
16348 * dirent/readdir.c: Likewise.
16349 * dirent/readdir64.c: Likewise.
16350 * dirent/readdir64_r.c: Likewise.
16351 * dirent/readdir_r.c: Likewise.
16352 * dirent/rewinddir.c: Likewise.
16353 * dirent/seekdir.c: Likewise.
16354 * dirent/telldir.c: Likewise.
16355 * gmon/profil.c: Likewise.
16356 * grp/setgroups.c: Likewise.
16357 * inet/if_index.c: Likewise.
16358 * io/access.c: Likewise.
16359 * io/chdir.c: Likewise.
16360 * io/chmod.c: Likewise.
16361 * io/chown.c: Likewise.
16362 * io/close.c: Likewise.
16363 * io/dup.c: Likewise.
16364 * io/dup2.c: Likewise.
16365 * io/dup3.c: Likewise.
16366 * io/euidaccess.c: Likewise.
16367 * io/faccessat.c: Likewise.
16368 * io/fchdir.c: Likewise.
16369 * io/fchmod.c: Likewise.
16370 * io/fchmodat.c: Likewise.
16371 * io/fchown.c: Likewise.
16372 * io/fchownat.c: Likewise.
16373 * io/fcntl.c: Likewise.
16374 * io/flock.c: Likewise.
16375 * io/fstatfs.c: Likewise.
16376 * io/fstatfs64.c: Likewise.
16377 * io/fstatvfs.c: Likewise.
16378 * io/fstatvfs64.c: Likewise.
16379 * io/futimens.c: Likewise.
16380 * io/fxstat.c: Likewise.
16381 * io/fxstat64.c: Likewise.
16382 * io/fxstatat.c: Likewise.
16383 * io/fxstatat64.c: Likewise.
16384 * io/getcwd.c: Likewise.
16385 * io/isatty.c: Likewise.
16386 * io/lchmod.c: Likewise.
16387 * io/lchown.c: Likewise.
16388 * io/link.c: Likewise.
16389 * io/linkat.c: Likewise.
16390 * io/lseek.c: Likewise.
16391 * io/lseek64.c: Likewise.
16392 * io/lxstat64.c: Likewise.
16393 * io/mkdir.c: Likewise.
16394 * io/mkdirat.c: Likewise.
16395 * io/mkfifo.c: Likewise.
16396 * io/mkfifoat.c: Likewise.
16397 * io/open.c: Likewise.
16398 * io/open64.c: Likewise.
16399 * io/openat.c: Likewise.
16400 * io/openat64.c: Likewise.
16401 * io/pipe.c: Likewise.
16402 * io/pipe2.c: Likewise.
16403 * io/poll.c: Likewise.
16404 * io/posix_fadvise.c: Likewise.
16405 * io/posix_fadvise64.c: Likewise.
16406 * io/posix_fallocate.c: Likewise.
16407 * io/posix_fallocate64.c: Likewise.
16408 * io/read.c: Likewise.
16409 * io/readlink.c: Likewise.
16410 * io/readlinkat.c: Likewise.
16411 * io/rmdir.c: Likewise.
16412 * io/sendfile.c: Likewise.
16413 * io/sendfile64.c: Likewise.
16414 * io/statfs.c: Likewise.
16415 * io/statfs64.c: Likewise.
16416 * io/statvfs.c: Likewise.
16417 * io/statvfs64.c: Likewise.
16418 * io/symlink.c: Likewise.
16419 * io/symlinkat.c: Likewise.
16420 * io/ttyname.c: Likewise.
16421 * io/ttyname_r.c: Likewise.
16422 * io/umask.c: Likewise.
16423 * io/unlink.c: Likewise.
16424 * io/unlinkat.c: Likewise.
16425 * io/utime.c: Likewise.
16426 * io/utimensat.c: Likewise.
16427 * io/write.c: Likewise.
16428 * io/xmknod.c: Likewise.
16429 * io/xmknodat.c: Likewise.
16430 * io/xstat.c: Likewise.
16431 * io/xstat64.c: Likewise.
16432 * login/getpt.c: Likewise.
16433 * login/grantpt.c: Likewise.
16434 * login/unlockpt.c: Likewise.
16435 * math/e_acoshl.c: Likewise.
16436 * math/e_acosl.c: Likewise.
16437 * math/e_asinl.c: Likewise.
16438 * math/e_atan2l.c: Likewise.
16439 * math/e_atanhl.c: Likewise.
16440 * math/e_coshl.c: Likewise.
16441 * math/e_expl.c: Likewise.
16442 * math/e_fmodl.c: Likewise.
16443 * math/e_gammal_r.c: Likewise.
16444 * math/e_hypotl.c: Likewise.
16445 * math/e_j0l.c: Likewise.
16446 * math/e_j1l.c: Likewise.
16447 * math/e_jnl.c: Likewise.
16448 * math/e_lgammal_r.c: Likewise.
16449 * math/e_log10l.c: Likewise.
16450 * math/e_log2l.c: Likewise.
16451 * math/e_logl.c: Likewise.
16452 * math/e_powl.c: Likewise.
16453 * math/e_rem_pio2l.c: Likewise.
16454 * math/e_sinhl.c: Likewise.
16455 * math/e_sqrtl.c: Likewise.
16456 * math/fclrexcpt.c: Likewise.
16457 * math/fedisblxcpt.c: Likewise.
16458 * math/feenablxcpt.c: Likewise.
16459 * math/fegetenv.c: Likewise.
16460 * math/fegetexcept.c: Likewise.
16461 * math/fegetround.c: Likewise.
16462 * math/feholdexcpt.c: Likewise.
16463 * math/fesetenv.c: Likewise.
16464 * math/fesetround.c: Likewise.
16465 * math/feupdateenv.c: Likewise.
16466 * math/fgetexcptflg.c: Likewise.
16467 * math/fraiseexcpt.c: Likewise.
16468 * math/fsetexcptflg.c: Likewise.
16469 * math/ftestexcept.c: Likewise.
16470 * math/k_cosl.c: Likewise.
16471 * math/k_rem_pio2l.c: Likewise.
16472 * math/k_sinl.c: Likewise.
16473 * math/k_tanl.c: Likewise.
16474 * math/s_asinhl.c: Likewise.
16475 * math/s_atanl.c: Likewise.
16476 * math/s_cbrtl.c: Likewise.
16477 * math/s_erfl.c: Likewise.
16478 * math/s_expm1l.c: Likewise.
16479 * math/s_log1pl.c: Likewise.
16480 * math/s_tanhl.c: Likewise.
16481 * misc/acct.c: Likewise.
16482 * misc/brk.c: Likewise.
16483 * misc/chflags.c: Likewise.
16484 * misc/chroot.c: Likewise.
16485 * misc/fchflags.c: Likewise.
16486 * misc/fgetxattr.c: Likewise.
16487 * misc/flistxattr.c: Likewise.
16488 * misc/fremovexattr.c: Likewise.
16489 * misc/fsetxattr.c: Likewise.
16490 * misc/fsync.c: Likewise.
16491 * misc/ftruncate.c: Likewise.
16492 * misc/futimes.c: Likewise.
16493 * misc/futimesat.c: Likewise.
16494 * misc/getdomain.c: Likewise.
16495 * misc/getdtsz.c: Likewise.
16496 * misc/gethostid.c: Likewise.
16497 * misc/gethostname.c: Likewise.
16498 * misc/getloadavg.c: Likewise.
16499 * misc/getpagesize.c: Likewise.
16500 * misc/getsysstats.c: Likewise.
16501 * misc/getxattr.c: Likewise.
16502 * misc/gtty.c: Likewise.
16503 * misc/ioctl.c: Likewise.
16504 * misc/lgetxattr.c: Likewise.
16505 * misc/listxattr.c: Likewise.
16506 * misc/llistxattr.c: Likewise.
16507 * misc/lremovexattr.c: Likewise.
16508 * misc/lsetxattr.c: Likewise.
16509 * misc/lutimes.c: Likewise.
16510 * misc/madvise.c: Likewise.
16511 * misc/mincore.c: Likewise.
16512 * misc/mlock.c: Likewise.
16513 * misc/mlockall.c: Likewise.
16514 * misc/mmap.c: Likewise.
16515 * misc/mprotect.c: Likewise.
16516 * misc/msync.c: Likewise.
16517 * misc/munlock.c: Likewise.
16518 * misc/munlockall.c: Likewise.
16519 * misc/munmap.c: Likewise.
16520 * misc/preadv.c: Likewise.
16521 * misc/preadv64.c: Likewise.
16522 * misc/ptrace.c: Likewise.
16523 * misc/pwritev.c: Likewise.
16524 * misc/pwritev64.c: Likewise.
16525 * misc/readv.c: Likewise.
16526 * misc/reboot.c: Likewise.
16527 * misc/remap_file_pages.c: Likewise.
16528 * misc/removexattr.c: Likewise.
16529 * misc/revoke.c: Likewise.
16530 * misc/select.c: Likewise.
16531 * misc/setdomain.c: Likewise.
16532 * misc/setegid.c: Likewise.
16533 * misc/seteuid.c: Likewise.
16534 * misc/sethostid.c: Likewise.
16535 * misc/sethostname.c: Likewise.
16536 * misc/setregid.c: Likewise.
16537 * misc/setreuid.c: Likewise.
16538 * misc/setxattr.c: Likewise.
16539 * misc/sstk.c: Likewise.
16540 * misc/stty.c: Likewise.
16541 * misc/swapoff.c: Likewise.
16542 * misc/swapon.c: Likewise.
16543 * misc/sync.c: Likewise.
16544 * misc/syncfs.c: Likewise.
16545 * misc/syscall.c: Likewise.
16546 * misc/truncate.c: Likewise.
16547 * misc/ualarm.c: Likewise.
16548 * misc/usleep.c: Likewise.
16549 * misc/ustat.c: Likewise.
16550 * misc/utimes.c: Likewise.
16551 * misc/vhangup.c: Likewise.
16552 * misc/writev.c: Likewise.
16553 * posix/_exit.c: Likewise.
16554 * posix/alarm.c: Likewise.
16555 * posix/execve.c: Likewise.
16556 * posix/fexecve.c: Likewise.
16557 * posix/fork.c: Likewise.
16558 * posix/fpathconf.c: Likewise.
16559 * posix/getaddrinfo.c: Likewise.
16560 * posix/getegid.c: Likewise.
16561 * posix/geteuid.c: Likewise.
16562 * posix/getgid.c: Likewise.
16563 * posix/getgroups.c: Likewise.
16564 * posix/getlogin.c: Likewise.
16565 * posix/getlogin_r.c: Likewise.
16566 * posix/getpgid.c: Likewise.
16567 * posix/getpid.c: Likewise.
16568 * posix/getppid.c: Likewise.
16569 * posix/getresgid.c: Likewise.
16570 * posix/getresuid.c: Likewise.
16571 * posix/getsid.c: Likewise.
16572 * posix/getuid.c: Likewise.
16573 * posix/glob64.c: Likewise.
16574 * posix/nanosleep.c: Likewise.
16575 * posix/pathconf.c: Likewise.
16576 * posix/pause.c: Likewise.
16577 * posix/posix_madvise.c: Likewise.
16578 * posix/pread.c: Likewise.
16579 * posix/pread64.c: Likewise.
16580 * posix/pwrite.c: Likewise.
16581 * posix/pwrite64.c: Likewise.
16582 * posix/sched_getaffinity.c: Likewise.
16583 * posix/sched_getp.c: Likewise.
16584 * posix/sched_gets.c: Likewise.
16585 * posix/sched_primax.c: Likewise.
16586 * posix/sched_primin.c: Likewise.
16587 * posix/sched_rr_gi.c: Likewise.
16588 * posix/sched_setaffinity.c: Likewise.
16589 * posix/sched_setp.c: Likewise.
16590 * posix/sched_sets.c: Likewise.
16591 * posix/sched_yield.c: Likewise.
16592 * posix/setgid.c: Likewise.
16593 * posix/setlogin.c: Likewise.
16594 * posix/setpgid.c: Likewise.
16595 * posix/setresgid.c: Likewise.
16596 * posix/setresuid.c: Likewise.
16597 * posix/setsid.c: Likewise.
16598 * posix/setuid.c: Likewise.
16599 * posix/sleep.c: Likewise.
16600 * posix/spawni.c: Likewise.
16601 * posix/sysconf.c: Likewise.
16602 * posix/times.c: Likewise.
16603 * posix/wait.c: Likewise.
16604 * posix/wait3.c: Likewise.
16605 * posix/wait4.c: Likewise.
16606 * posix/waitpid.c: Likewise.
16607 * resolv/gai_sigqueue.c: Likewise.
16608 * resource/getpriority.c: Likewise.
16609 * resource/getrlimit.c: Likewise.
16610 * resource/getrusage.c: Likewise.
16611 * resource/nice.c: Likewise.
16612 * resource/setpriority.c: Likewise.
16613 * resource/setrlimit.c: Likewise.
16614 * resource/ulimit.c: Likewise.
16615 * rt/aio_cancel.c: Likewise.
16616 * rt/aio_fsync.c: Likewise.
16617 * rt/aio_read.c: Likewise.
16618 * rt/aio_sigqueue.c: Likewise.
16619 * rt/aio_suspend.c: Likewise.
16620 * rt/aio_write.c: Likewise.
16621 * rt/clock_getres.c: Likewise.
16622 * rt/clock_gettime.c: Likewise.
16623 * rt/clock_nanosleep.c: Likewise.
16624 * rt/clock_settime.c: Likewise.
16625 * rt/lio_listio.c: Likewise.
16626 * rt/mq_close.c: Likewise.
16627 * rt/mq_getattr.c: Likewise.
16628 * rt/mq_notify.c: Likewise.
16629 * rt/mq_open.c: Likewise.
16630 * rt/mq_receive.c: Likewise.
16631 * rt/mq_send.c: Likewise.
16632 * rt/mq_setattr.c: Likewise.
16633 * rt/mq_timedreceive.c: Likewise.
16634 * rt/mq_timedsend.c: Likewise.
16635 * rt/mq_unlink.c: Likewise.
16636 * rt/shm_open.c: Likewise.
16637 * rt/shm_unlink.c: Likewise.
16638 * rt/timer_create.c: Likewise.
16639 * rt/timer_delete.c: Likewise.
16640 * rt/timer_getoverr.c: Likewise.
16641 * rt/timer_gettime.c: Likewise.
16642 * rt/timer_settime.c: Likewise.
16643 * setjmp/__longjmp.c: Likewise.
16644 * setjmp/setjmp.c: Likewise.
16645 * signal/kill.c: Likewise.
16646 * signal/killpg.c: Likewise.
16647 * signal/raise.c: Likewise.
16648 * signal/sigaction.c: Likewise.
16649 * signal/sigaltstack.c: Likewise.
16650 * signal/sigblock.c: Likewise.
16651 * signal/sigignore.c: Likewise.
16652 * signal/sigintr.c: Likewise.
16653 * signal/signal.c: Likewise.
16654 * signal/sigpause.c: Likewise.
16655 * signal/sigpending.c: Likewise.
16656 * signal/sigqueue.c: Likewise.
16657 * signal/sigreturn.c: Likewise.
16658 * signal/sigset.c: Likewise.
16659 * signal/sigsetmask.c: Likewise.
16660 * signal/sigstack.c: Likewise.
16661 * signal/sigsuspend.c: Likewise.
16662 * signal/sigtimedwait.c: Likewise.
16663 * signal/sigvec.c: Likewise.
16664 * signal/sigwait.c: Likewise.
16665 * signal/sigwaitinfo.c: Likewise.
16666 * signal/sysv_signal.c: Likewise.
16667 * socket/accept.c: Likewise.
16668 * socket/accept4.c: Likewise.
16669 * socket/bind.c: Likewise.
16670 * socket/connect.c: Likewise.
16671 * socket/getpeername.c: Likewise.
16672 * socket/getsockname.c: Likewise.
16673 * socket/getsockopt.c: Likewise.
16674 * socket/isfdtype.c: Likewise.
16675 * socket/listen.c: Likewise.
16676 * socket/recv.c: Likewise.
16677 * socket/recvfrom.c: Likewise.
16678 * socket/recvmsg.c: Likewise.
16679 * socket/send.c: Likewise.
16680 * socket/sendmsg.c: Likewise.
16681 * socket/sendto.c: Likewise.
16682 * socket/setsockopt.c: Likewise.
16683 * socket/shutdown.c: Likewise.
16684 * socket/sockatmark.c: Likewise.
16685 * socket/socket.c: Likewise.
16686 * socket/socketpair.c: Likewise.
16687 * stdio-common/ctermid.c: Likewise.
16688 * stdio-common/cuserid.c: Likewise.
16689 * stdio-common/remove.c: Likewise.
16690 * stdio-common/rename.c: Likewise.
16691 * stdio-common/renameat.c: Likewise.
16692 * stdio-common/tempname.c: Likewise.
16693 * stdlib/getcontext.c: Likewise.
16694 * stdlib/makecontext.c: Likewise.
16695 * stdlib/setcontext.c: Likewise.
16696 * stdlib/swapcontext.c: Likewise.
16697 * stdlib/system.c: Likewise.
16698 * streams/fattach.c: Likewise.
16699 * streams/fdetach.c: Likewise.
16700 * streams/getmsg.c: Likewise.
16701 * streams/getpmsg.c: Likewise.
16702 * streams/putmsg.c: Likewise.
16703 * streams/putpmsg.c: Likewise.
16704 * sysdeps/unix/bsd/getpt.c: Likewise.
16705 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16706 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16707 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16709 Likewise.
16710 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16711 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16712 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16713 * sysvipc/msgctl.c: Likewise.
16714 * sysvipc/msgget.c: Likewise.
16715 * sysvipc/msgrcv.c: Likewise.
16716 * sysvipc/msgsnd.c: Likewise.
16717 * sysvipc/semctl.c: Likewise.
16718 * sysvipc/semget.c: Likewise.
16719 * sysvipc/semop.c: Likewise.
16720 * sysvipc/semtimedop.c: Likewise.
16721 * sysvipc/shmat.c: Likewise.
16722 * sysvipc/shmctl.c: Likewise.
16723 * sysvipc/shmdt.c: Likewise.
16724 * sysvipc/shmget.c: Likewise.
16725 * termios/tcdrain.c: Likewise.
16726 * termios/tcflow.c: Likewise.
16727 * termios/tcflush.c: Likewise.
16728 * termios/tcgetattr.c: Likewise.
16729 * termios/tcgetpgrp.c: Likewise.
16730 * termios/tcsendbrk.c: Likewise.
16731 * termios/tcsetattr.c: Likewise.
16732 * termios/tcsetpgrp.c: Likewise.
16733 * time/adjtime.c: Likewise.
16734 * time/clock.c: Likewise.
16735 * time/getitimer.c: Likewise.
16736 * time/gettimeofday.c: Likewise.
16737 * time/setitimer.c: Likewise.
16738 * time/settimeofday.c: Likewise.
16739 * time/stime.c: Likewise.
16740 * time/time.c: Likewise.
16741
167422012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16743
a20492cf
PT
16744 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16745 /usr/old/bin.
16746
72e182e3
PT
16747 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16748 instead of spaces.
16749 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16750
fbeafede
JM
167512012-11-03 Joseph Myers <joseph@codesourcery.com>
16752
5b5b04d6
JM
16753 [BZ #14796]
16754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16755 FE_TONEAREST before applying Dekker multiplication and Knuth
16756 addition. Clear inexact exceptions and check for exact zero
16757 results afterwards.
16758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16759 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16760 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16761 * math/libm-test.inc (fma_test): Add more tests.
16762 (fma_test_towardzero): Likewise.
16763 (fma_test_downward): Likewise.
16764 (fma_test_upward): Likewise.
16765 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16766 function.
16767 (libc_fesetround): New macro.
16768 (libc_fesetroundf): Likewise.
16769 (libc_fesetroundl): Likewise.
16770 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16771 function.
16772 (libc_fesetround_387): Likewise.
16773 (libc_fesetroundf): New macro.
16774 (libc_fesetround): Likewise.
16775 (libc_fesetroundl): Likewise.
16776 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16777 function.
16778 (libc_fesetroundf): New macro.
16779 (libc_fesetround): Likewise.
16780 (libc_fesetroundl): Likewise.
16781 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16782 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16783 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16784 libm_hidden_ver.
16785 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16786 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16787 libm_hidden_def.
16788 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16789 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16790 libm_hidden_ver.
16791 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16792 libm_hidden_def.
16793
fbeafede
JM
16794 [BZ #3439]
16795 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16796 integer constant usable in #if and use that to give value to enum
16797 constant.
16798 (FE_DIVBYZERO): Likewise.
16799 (FE_UNDERFLOW): Likewise.
16800 (FE_OVERFLOW): Likewise.
16801 (FE_INVALID): Likewise.
16802 (FE_INVALID_SNAN): Likewise.
16803 (FE_INVALID_ISI): Likewise.
16804 (FE_INVALID_IDI): Likewise.
16805 (FE_INVALID_ZDZ): Likewise.
16806 (FE_INVALID_IMZ): Likewise.
16807 (FE_INVALID_COMPARE): Likewise.
16808 (FE_INVALID_SOFTWARE): Likewise.
16809 (FE_INVALID_SQRT): Likewise.
16810 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16811 (FE_TONEAREST): Likewise.
16812 (FE_TOWARDZERO): Likewise.
16813 (FE_UPWARD): Likewise.
16814 (FE_DOWNWARD): Likewise.
16815 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16816 (FE_DIVBYZERO): Likewise.
16817 (FE_OVERFLOW): Likewise.
16818 (FE_UNDERFLOW): Likewise.
16819 (FE_INEXACT): Likewise.
16820 (FE_TONEAREST): Likewise.
16821 (FE_DOWNWARD): Likewise.
16822 (FE_UPWARD): Likewise.
16823 (FE_TOWARDZERO): Likewise.
16824 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16825 (FE_UNDERFLOW): Likewise.
16826 (FE_OVERFLOW): Likewise.
16827 (FE_DIVBYZERO): Likewise.
16828 (FE_INVALID): Likewise.
16829 (FE_TONEAREST): Likewise.
16830 (FE_TOWARDZERO): Likewise.
16831 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16832 (FE_OVERFLOW): Likewise.
16833 (FE_UNDERFLOW): Likewise.
16834 (FE_DIVBYZERO): Likewise.
16835 (FE_INEXACT): Likewise.
16836 (FE_TONEAREST): Likewise.
16837 (FE_TOWARDZERO): Likewise.
16838 (FE_UPWARD): Likewise.
16839 (FE_DOWNWARD): Likewise.
16840 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16841 (FE_DIVBYZERO): Likewise.
16842 (FE_OVERFLOW): Likewise.
16843 (FE_UNDERFLOW): Likewise.
16844 (FE_INEXACT): Likewise.
16845 (FE_TONEAREST): Likewise.
16846 (FE_DOWNWARD): Likewise.
16847 (FE_UPWARD): Likewise.
16848 (FE_TOWARDZERO): Likewise.
16849
105ca950
CM
168502012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16851
16852 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16853
a542b389
AS
168542012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16855
16856 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16857 commands. Quote $PWD.
16858 (blacklist_exports): Don't use remove_newlines. Replace "declare
16859 -x" by "export".
16860 (remove_newlines): Remove.
16861
f62c8abc
L
168622012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16863
16864 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16865 * stdlib/stdlib.h (atof): Moved to ...
16866 * include/bits/stdlib-float.h: Here. New file.
16867 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16868 * stdlib/bits/stdlib-float.h: New file.
16869 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16870 -mno-sse -mno-mmx.
16871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16872 <xmmintrin.h>.
16873
0155d5b2
JM
168742012-11-02 Joseph Myers <joseph@codesourcery.com>
16875
a68d0680
JM
16876 * conform/conformtest.pl (@headers): Add fenv.h.
16877 * conform/data/fenv.h-data: New file.
16878 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16879 include of <math/fenv.h>.
16880
caf7f573
JM
16881 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16882 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16883 && !UNIX98]. Enables tests for XOPEN2K8.
16884 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16885 POSIX2008]: Likewise.
16886
6c073ad6
JM
16887 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16888 (struct rusage): Do not expect type or its members.
16889
0155d5b2
JM
16890 [BZ #3439]
16891 * math/math.h (FP_NAN): Define macro to integer constant usable in
16892 #if and use that to give value to enum constant.
16893 (FP_INFINITE): Likewise.
16894 (FP_ZERO): Likewise.
16895 (FP_SUBNORMAL): Likewise.
16896 (FP_NORMAL): Likewise.
16897
b5dcacb4
AS
168982012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16899
16900 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16901 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16902 arguments.
16903
f7934be8
RM
169042012-11-02 Roland McGrath <roland@hack.frob.com>
16905
16906 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16907 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16908 autoconf-time if not.
16909 * configure.in: Remove AC_PREREQ.
16910
d7d08bde
TMQMF
169112012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16912
16913 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16914 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16915 of the internal implementation.
16916
dcdae19a
JM
169172012-11-02 Joseph Myers <joseph@codesourcery.com>
16918
16919 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16920 except include of <misc/sys/syslog.h>.
16921
d6cffd3e
AS
169222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16923
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16925 function returns with a NULL context exit with zero.
16926
b3563932
TMQMF
169272012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16928
16929 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16930
b288a93d
L
169312012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16932
16933 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16934 (run_program_cmd): This.
16935 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16936 (tst_langinfo): New variable. Use it.
16937
a2421a68
SAS
169382012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16939
16940 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16941 floating point opcodes.
16942
6f796e1b
TS
169432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16944
7402596b
TS
16945 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16946 variable.
16947
d0d4f868
TS
16948 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16949
6f796e1b
TS
16950 * sysdeps/mach/hurd/powerpc: Remove directory.
16951 * sysdeps/mach/powerpc: Likewise.
16952
4da224a2
AS
169532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16954
16955 * scripts/check-local-headers.sh: Ignore c++ headers.
16956
341dd673
TS
169572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16958
16959 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16960 __libc_cleanup_region_start argument.
16961
473611b2
JM
169622012-11-01 Joseph Myers <joseph@codesourcery.com>
16963
16964 [BZ #14784]
16965 [BZ #14785]
16966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16967 x * y using scaling, not as x * y + z.
16968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16970 * math/libm-test.inc (fma_test): Add more tests.
16971 (fma_test_towardzero): Likewise.
16972 (fma_test_downward): Likewise.
16973 (fma_test_upward): Likewise.
16974
4078da3d
TS
169752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16976
16977 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16978
903252aa
JM
169792012-10-31 Joseph Myers <joseph@codesourcery.com>
16980
16981 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16982 New variable.
16983
cbc818d0
TS
169842012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16985
16986 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16987
5a03cb1e
AS
169882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16989
16990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16991 Fix sort order.
16992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16993 Likewise.
16994
90aff2ff
TMQMF
169952012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16996
16997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16998 Fix the order of the list for glibc 2.17.
16999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17000 Likewise.
17001
1818fcb7
AS
170022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17003
17004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17005
ef82f4da
JM
170062012-10-31 Joseph Myers <joseph@codesourcery.com>
17007
16a0e2ec
JM
17008 [BZ #14610]
17009 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17010 for low part of x being zero before using __atanl (y).
17011 * math/libm-test.inc (atan2_test): Add another test.
17012
0eb69512
JM
17013 * manual/install.texi (Configuring and compiling): Document
17014 general use of test-wrapper and test-wrapper-env.
17015 * INSTALL: Regenerated.
17016
ef82f4da
JM
17017 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17018 (__fma): Do not extract and scale down low bits on after-rounding
17019 systems when result rounded to normal precision would have normal
17020 exponent.
17021 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17022 (__fmal): Do not extract and scale down low bits on after-rounding
17023 systems when result rounded to normal precision would have normal
17024 exponent.
17025 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17026 (__fmal): Do not extract and scale down low bits on after-rounding
17027 systems when result rounded to normal precision would have normal
17028 exponent.
17029 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17030 macro.
17031 (fma_test): Add more tests.
17032 (fma_test_towardzero): Likewise.
17033 (fma_test_downward): Likewise.
17034 (fma_test_upward): Likewise.
17035
954ef0d9
L
170362012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17037
17038 * sysdeps/i386/tininess.h: Renamed to ...
17039 * sysdeps/x86/tininess.h: This.
17040 * sysdeps/x86_64/tininess.h: Removed.
17041
df61ffb2
JM
170422012-10-30 Joseph Myers <joseph@codesourcery.com>
17043
17044 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17045 input. Use $(build-program-cmd).
17046 ($(objpfx)tst-array1-static.out): Likewise.
17047 ($(objpfx)tst-array2.out): Likewise.
17048 ($(objpfx)tst-array3.out): Likewise.
17049 ($(objpfx)tst-array4.out): Likewise.
17050 ($(objpfx)tst-array5.out): Likewise.
17051 ($(objpfx)tst-array5-static.out): Likewise.
17052
01767843
CM
170532012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17054
47cc1490
CM
17055 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17056 if defined.
17057
01767843
CM
17058 * nss/nsswitch.h (nss_interface_function): Provide new
17059 macro for use with NSS functions.
17060 * grp/initgroups.c: Use new macro.
17061 * nss/getXXbyYY.c: Likewise.
17062 * nss/getXXbyYY_r.c: Likewise.
17063 * nss/getXXent.c: Likewise.
17064 * nss/getXXent_r.c: Likewise.
17065 * sysdeps/posix/getaddrinfo.c: Likewise.
17066
8321aa97
AJ
170672012-10-30 Andreas Jaeger <aj@suse.de>
17068
17069 * po/ru.po: Update Russion translation from translation project.
17070
2a27fd6d
JM
170712012-10-30 Joseph Myers <joseph@codesourcery.com>
17072
8627a232
JM
17073 [BZ #14152]
17074 [BZ #14783]
17075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17076 result and shift together with sticky bit instead of replicating
17077 round-to-nearest rounding.
17078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17080 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17081 missing underflow exceptions.
17082 (fma_test_towardzero): Add more tests.
17083 (fma_test_downward): Likewise.
17084 (fma_test_upward): Likewise.
17085
2a27fd6d
JM
17086 [BZ #14047]
17087 * sysdeps/generic/tininess.h: New file.
17088 * sysdeps/i386/tininess.h: Likewise.
17089 * sysdeps/sh/tininess.h: Likewise.
17090 * sysdeps/x86_64/tininess.h: Likewise.
17091 * stdlib/tst-strtod-underflow.c: Likewise.
17092 * stdlib/tst-tininess.c: Likewise.
17093 * stdlib/strtod_l.c: Include <tininess.h>.
17094 (round_and_return): Do not set errno for exact underflow cases.
17095 Force an underflow exception when setting errno for underflow.
17096 Determine underflow based on rounding to normal precision if
17097 TININESS_AFTER_ROUNDING.
17098 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17099 ERANGE for exact underflow cases.
17100 * stdlib/Makefile (tests): Add tst-tininess and
17101 tst-strtod-underflow.
17102 ($(objpfx)tst-tininess): Use $(link-libm).
17103 ($(objpfx)tst-strtod-underflow): Likewise.
17104
e7170363
AJ
171052012-10-30 Andreas Jaeger <aj@suse.de>
17106
e5088dc6
AJ
17107 [BZ#14767]
17108 * elf/Makefile (tests): Remove conditional for have-initfini-array
17109 since this is now always required and the variable does not exist
17110 anymore.
17111 (tests-static): Likewise.
17112 (modules-names): Likewise.
17113
e7170363 17114 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17115
17116 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17117 merged with constructor/destructor.
17118 (init_array): Likewise.
17119 * elf/tst-array2dep.c (fini_array): Likewise.
17120 (init_array): Likewise.
17121
60457d8a
MF
171222012-10-29 Mike Frysinger <vapier@gentoo.org>
17123
17124 * manual/message.texi: Delete @cartouche tags.
17125
8bece752
PT
171262012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17127
94ce799f
PT
17128 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17129 EOPNOTSUPP.
17130 * sysdeps/mach/hurd/fsync.c: Likewise.
17131
8bece752
PT
17132 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17133 [_POSIX_REALTIME_SIGNALS]: Change condition to
17134 [_POSIX_REALTIME_SIGNALS > 0].
17135
86ebe6b1
AJ
171362012-10-27 Andreas Jaeger <aj@suse.de>
17137
17138 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17139 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17141 [__WORDSIZE != 64]: Likewise.
17142
54399c08
L
171432012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17144
17145 * iconvdata/tst-table.sh: Remove ${SHELL}.
17146 * iconvdata/tst-tables.sh: Likewise.
17147
e2211bed
DM
171482012-10-25 David S. Miller <davem@davemloft.net>
17149
17150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17151 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17152 of strtoull.
17153
f303f97c
DM
17154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17155 ifunc-impl-list.c
17156 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17157 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17158 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17159 file.
17160
1e9d84cd
RM
171612012-10-25 Roland McGrath <roland@hack.frob.com>
17162
17163 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17164 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17165 __getdirentries.
17166
df381762
JM
171672012-10-25 Joseph Myers <joseph@codesourcery.com>
17168 Jim Blandy <jimb@codesourcery.com>
17169
17170 * scripts/cross-test-ssh.sh: New file.
17171 * manual/install.texi (Configuring and compiling): Document use of
17172 cross-test-ssh.sh.
17173 * INSTALL: Regenerated.
17174
bff64913
PT
171752012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17176
17177 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17178 EOPNOTSUPP.
17179
25fe8932
JM
171802012-10-25 Joseph Myers <joseph@codesourcery.com>
17181
17182 * Makeconfig (run-program-prefix): Fix comment.
17183
cc1290d0
JM
171842012-10-24 Joseph Myers <joseph@codesourcery.com>
17185 Jim Blandy <jimb@codesourcery.com>
17186
17187 * Makeconfig (test-wrapper): New variable,
17188 (test-wrapper-env): Likewise.
17189 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17190 (run-built-tests): Define to yes.
17191 (run-program-prefix): Use $(test-wrapper).
17192 (built-program-cmd): Likewise.
17193 * Rules (make-test-out): Use $(test-wrapper-env) and
17194 $(host-built-program-cmd).
17195 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17196 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17197 tst-pathopt.sh.
17198 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17199 $(test-wrapper-env) to tst-rtld-load-self.sh.
17200 ($(objpfx)order2.out): Use $(test-wrapper).
17201 ($(objpfx)tst-initorder.out): Likewise.
17202 ($(objpfx)tst-initorder2.out): Likewise.
17203 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17204 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17205 (test_wrapper_env): New variable. Use it to run ld.so.
17206 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17207 Use it to run ld.so.
17208 (test_wrapper_env): Likewise.
17209 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17210 $(test-wrapper) to run-iconv-test.sh.
17211 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17212 (ICONV): Use $test_wrapper.
17213 * posix/Makefile ($(objpfx)globtest.out): Pass
17214 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17215 globtest.sh, not $(run-program-prefix).
17216 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17217 (test_wrapper): Likewise.
17218 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17219 set together with run_via_rtld_prefix.
17220 (run_program_prefix): Define in terms of test_wrapper and
17221 run_via_rtld_prefix.
17222
6e6249d0
RM
172232012-10-24 Roland McGrath <roland@hack.frob.com>
17224
17225 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17226 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17227 Targets removed.
17228
17229 [BZ #14743]
17230 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17231 Declare __clock_getres, __clock_gettime, __clock_settime,
17232 __clock_nanosleep, and __clock_getcpuclockid.
17233 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17234 Remove librt_hidden_def (clock_gettime).
17235 * sysdeps/unix/clock_gettime.c: Likewise.
17236 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17237 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17238 * rt/clock_getres.c: Define __clock_getres as an alias.
17239 * sysdeps/posix/clock_getres.c: Likewise.
17240 * rt/clock_settime.c: Define __clock_settime as an alias.
17241 * sysdeps/unix/clock_settime.c: Likewise.
17242 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17243 * sysdeps/unix/clock_nanosleep.c: Likewise.
17244 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17245 * rt/clock-compat.c: New file.
17246 * rt/Makefile (librt-routines): Add clock-compat and move
17247 $(clock-routines) to ...
17248 (routines): ... here, new variable.
17249 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17250 Don't add get_clockfreq here.
17251 * rt/Versions (libc: GLIBC_2.17): New version set.
17252 Add clock_* symbols here.
17253 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17254 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17255 (GLIBC_2.17): Add clock_* symbols.
17256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17260 Likewise.
17261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17262 Likewise.
17263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17267 * NEWS: Mention the move.
17268
17269 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17270 Use __open, __read, __close rather than their public counterparts.
17271 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17272 (__get_clockfreq_via_cpuinfo): Likewise.
17273 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17274 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17275
17276 * config.h.in (HAVE_IFUNC): New #undef.
17277 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17278 was successful.
17279 * configure: Regenerated.
17280
0cae3f4b
MF
172812012-10-24 Mike Frysinger <vapier@gentoo.org>
17282
17283 * configure.in: Move READELF check to start of file.
17284 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17285 libc_cv_asm_gnu_indirect_function in the process.
17286 * configure: Regenerated.
17287
8175a253
MF
172882012-10-24 Mike Frysinger <vapier@gentoo.org>
17289
17290 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17291 send the output to /dev/null.
17292 (libc_cv_cc_with_libunwind): Likewise.
17293 (libc_cv_as_noexecstack): Likewise.
17294 * configure: Regenerate.
17295
0708a7d1
JM
172962012-10-24 Joseph Myers <joseph@codesourcery.com>
17297
10b40d85
JM
17298 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17299
0708a7d1
JM
17300 * posix/globtest.sh (TMPDIR): Do not set.
17301 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17302 (testout): Likewise.
17303
9fddec1a
AJ
173042012-10-24 Andreas Jaeger <aj@suse.de>
17305
3a8db22f
AJ
17306 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17307 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17308 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17309 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17310 posix_fadvise64, posix_fallocate64.
17311
9fddec1a
AJ
17312 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17313 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17314 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17315 Likewise.
17316 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17317 Likewise.
17318 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17319
17320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17321 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17322 <bits/fcntl-linux.h>.
17323 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17324
17325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17326 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17327 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17328 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17329 [__WORDSIZE != 64]: Likewise.
17330
ebfd1bbd
JM
173312012-10-23 Joseph Myers <joseph@codesourcery.com>
17332
03ac099f
JM
17333 * Makeconfig (run-built-tests): New variable.
17334 * Rules [$(cross-compiling) = yes]: Change condition to
17335 [$(run-built-tests) = no].
17336 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17337 to [$(run-built-tests) = yes].
17338 * elf/Makefile [$(cross-compiling) = no]: Likewise
17339 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17340 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17341 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17342 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17343 * io/Makefile [$(cross-compiling) = no]: Likewise.
17344 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17345 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17346 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17347 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17348 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17349 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17350 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17351 * string/Makefile [$(cross-compiling) = no]: Likewise.
17352
ebfd1bbd
JM
17353 * posix/Makefile ($(objpfx)globtest.out): Pass
17354 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17355 $(rtld-installed-name).
17356 * posix/globtest.sh (elf_objpfx): Remove variable.
17357 (rtld_installed_name): Likewise.
17358 (library_path): Likewise.
17359 (run_program_prefix): New variable. Use for running globtest
17360 binary.
17361
166bca24
JB
173622012-10-23 Jim Blandy <jimb@codesourcery.com>
17363 Joseph Myers <joseph@codesourcery.com>
17364
17365 * Makeconfig (host-built-program-cmd): New variable.
17366 * elf/Makefile (tst-stackguard1-ARGS): Use
17367 $(host-built-program-cmd).
17368 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17369 (tst-spawn-ARGS): Likewise.
17370 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17371
88866099
JM
173722012-10-23 Joseph Myers <joseph@codesourcery.com>
17373 Jim Blandy <jimb@codesourcery.com>
17374
17375 * Makeconfig (run-via-rtld-prefix): New variable.
17376 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17377 (built-program-cmd): Likewise.
17378
b4b4c296
AJ
173792012-10-22 Andreas Jaeger <aj@suse.de>
17380
17381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17382 __O_RSYNC if it exists, otherwise to O_SYNC.
17383
6fb54a22
JB
173842012-10-22 Jim Blandy <jimb@codesourcery.com>
17385 Joseph Myers <joseph@codesourcery.com>
17386
17387 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17388 /dev/null.
17389 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17390 from /dev/null
17391 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17392 /dev/null.
17393
481b90b9
AJ
173942012-10-22 Andreas Jaeger <aj@suse.de>
17395
2a0e2669
AJ
17396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17397 Define always.
17398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17399
76e38f9a
AJ
17400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17401 bits/fcntl-linux.h.
17402
7cd37b43
AJ
17403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17404 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17405
481b90b9
AJ
17406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17407 to __O_LARGEFILE.
17408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17409 to __O_LARGEFILE.
17410
aba75984
JB
174112012-10-21 Jim Blandy <jimb@codesourcery.com>
17412 Joseph Myers <joseph@codesourcery.com>
17413
17414 * config.make.in (NM): New variable.
17415
88d4247f
AJ
174162012-10-21 Andreas Jaeger <aj@suse.de>
17417
17418 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17419 definitions and declarations that are provided by
17420 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17421
f2eed205
L
174222012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17423
17424 [BZ #14683]
17425 * elf/Makefile (tests-static): Add tst-leaks1-static.
17426 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17427 ($(objpfx)tst-leaks1-static): New rule.
17428 ($(objpfx)tst-leaks1-static-mem): Likewise.
17429 (tst-leaks1-static-ENV): New macro.
17430 * elf/dl-open.c (dl_open_worker): Check the main application
17431 only if SHARED is defined.
17432 * elf/tst-leaks1-static.c: New file.
17433
335e6931
AJ
174342012-10-20 Andreas Jaeger <aj@suse.de>
17435
17436 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17437 generic values for Linux.
17438 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17439 and declarations that are provided by <bits/fcntl-linux.h> and
17440 include <bits/fcntl-linux.h>.
17441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17443
ac5c94d3
RM
174442012-10-20 Roland McGrath <roland@hack.frob.com>
17445
17446 * io/fcntl.h: Move include of <bits/types.h> to the top and
17447 include it unconditionally.
17448
de54b33a
L
174492012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17450
228cfb01
L
17451 * wcsmbs/Makefile (tests-ifunc): New variable.
17452 (tests): Add $(tests-ifunc).
17453 * wcsmbs/test-wcschr-ifunc.c: New file.
17454 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17455 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17456 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17457 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17458 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17459
69f07e5f
L
17460 * string/Makefile (tests-ifunc): New variable.
17461 (tests): Add $(tests-ifunc).
17462 * string/test-memccpy.c (TEST_NAME): New macro.
17463 * string/test-memchr.c (TEST_NAME): Likewise.
17464 * string/test-memcmp.c (TEST_NAME): Likewise.
17465 * string/test-memcpy.c (TEST_NAME): Likewise.
17466 * string/test-memmem.c (TEST_NAME): Likewise.
17467 * string/test-memmove.c (TEST_NAME): Likewise.
17468 * string/test-memset.c (TEST_NAME): Likewise.
17469 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17470 * string/test-stpcpy.c (TEST_NAME): Likewise.
17471 * string/test-stpncpy.c (TEST_NAME): Likewise.
17472 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17473 * string/test-strcasestr.c (TEST_NAME): Likewise.
17474 * string/test-strcat.c (TEST_NAME): Likewise.
17475 * string/test-strchr.c (TEST_NAME): Likewise.
17476 * string/test-strcmp.c(TEST_NAME): Likewise.
17477 * string/test-strcpy.c (TEST_NAME): Likewise.
17478 * string/test-strcspn.c (TEST_NAME): Likewise.
17479 * string/test-strlen.c (TEST_NAME): Likewise.
17480 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17481 * string/test-strncmp.c (TEST_NAME): Likewise.
17482 * string/test-strncpy.c (TEST_NAME): Likewise.
17483 * string/test-strnlen.c (TEST_NAME): Likewise.
17484 * string/test-strpbrk.c (TEST_NAME): Likewise.
17485 * string/test-strrchr.c (TEST_NAME): Likewise.
17486 * string/test-strspn.c (TEST_NAME): Likewise.
17487 * string/test-strstr.c (TEST_NAME): Likewise.
17488 * string/test-bcopy-ifunc.c: New file.
17489 * string/test-bzero-ifunc.c: Likewise.
17490 * string/test-memccpy-ifunc.c: Likewise.
17491 * string/test-memchr-ifunc.c: Likewise.
17492 * string/test-memcmp-ifunc.c: Likewise.
17493 * string/test-memcpy-ifunc.c: Likewise.
17494 * string/test-memmem-ifunc.c: Likewise.
17495 * string/test-memmove-ifunc.c: Likewise.
17496 * string/test-mempcpy-ifunc.c: Likewise.
17497 * string/test-memset-ifunc.c: Likewise.
17498 * string/test-rawmemchr-ifunc.c: Likewise.
17499 * string/test-stpcpy-ifunc.c: Likewise.
17500 * string/test-stpncpy-ifunc.c: Likewise.
17501 * string/test-strcasecmp-ifunc.c: Likewise.
17502 * string/test-strcasestr-ifunc.c: Likewise.
17503 * string/test-strcat-ifunc.c: Likewise.
17504 * string/test-strchr-ifunc.c: Likewise.
17505 * string/test-strchrnul-ifunc.c: Likewise.
17506 * string/test-strcmp-ifunc.c: Likewise.
17507 * string/test-strcpy-ifunc.c: Likewise.
17508 * string/test-strcspn-ifunc.c: Likewise.
17509 * string/test-strlen-ifunc.c: Likewise.
17510 * string/test-strncasecmp-ifunc.c: Likewise.
17511 * string/test-strncat-ifunc.c: Likewise.
17512 * string/test-strncmp-ifunc.c: Likewise.
17513 * string/test-strncpy-ifunc.c: Likewise.
17514 * string/test-strnlen-ifunc.c: Likewise.
17515 * string/test-strpbrk-ifunc.c: Likewise.
17516 * string/test-strrchr-ifunc.c: Likewise.
17517 * string/test-strspn-ifunc.c: Likewise.
17518 * string/test-strstr-ifunc.c: Likewise.
17519
de54b33a
L
17520 * debug/Makefile (tests-ifunc): New variable.
17521 (tests): Add $(tests-ifunc).
17522 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17523 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17524 * debug/test-stpcpy_chk-ifunc.c: New file.
17525 * debug/test-strcpy_chk-ifunc.c: Likewise.
17526
88481c16
SP
175272012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17528
17529 [BZ #13601]
17530 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17531 header is not read in.
17532
135948bd
JM
175332012-10-19 Joseph Myers <joseph@codesourcery.com>
17534
89f1c388
JM
17535 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17536 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17537 directly. Pass built executable to script as
17538 $(built-program-cmd).
17539 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17540 $testprogram without using LD_LIBRARY_PATH and $ldso.
17541
e40a0d21
JM
17542 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17543 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17544 $(rtld-installed-name).
17545 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17546 (rtld_installed_name): Likewise.
17547 (library_path): Likewise.
17548 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17549 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17550 $(run-program-prefix) to tst-tables.sh.
17551 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17552 it to run tst-table-from and tst-table-to.
17553 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17554 Pass it to tst-table.sh.
17555 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17556 $(run-program-prefix) to tst-gettext.sh.
17557 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17558 tst-translit.sh.
17559 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17560 tst-gettext2.sh.
17561 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17562 to run tst-gettext.
17563 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17564 to run tst-gettext2.
17565 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17566 to run tst-translit.
17567 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17568 $(run-program-prefix) to tst-mtrace.sh.
17569 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17570 to run tst-mtrace.
17571 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17572 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17573 $(rtld-installed-name).
17574 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17575 (rtld_installed_name): Likewise.
17576 (run_program_prefix): New variable. Use it to run wordexp-test.
17577
728e272a
JM
17578 * Makeconfig (ARCH): Remove all definitions.
17579 (machine): Likewise.
17580 [ARCH]: Remove conditional code.
17581 [!objdir]: Give error.
17582 [!objdir] (objpfx): Remove.
17583 [!objdir] (common-objpfx): Likewise.
17584 [!objdir] (common-objdir): Likewise.
17585 * configure.in (config_makefile): Remove. Hardcode Makefile in
17586 AC_CONFIG_FILES call.
17587 * configure: Regenerated.
17588
d528cdcf
JM
17589 [BZ #13888]
17590 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17591 or TMPDIR.
17592 (testout): Likewise.
17593
135948bd
JM
17594 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17595 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17596 $(rtld-installed-name).
17597 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17598 (rtld_installed_name): Likwise.
17599 (runit): Remove function.
17600 (run_getconf): New variable, Use it for running getconf binary.
17601
38c78296
L
176022012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17603
17604 [BZ #14716]
17605 * string/test-memmem.c (check_result): New function.
17606 (do_one_test): Use it.
17607 (check1): New function.
17608 (test_main): Use it.
17609
d077f65f
MT
176102012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17611
17612 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17613
ced52c71
JM
176142012-10-18 Joseph Myers <joseph@codesourcery.com>
17615
17616 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17617 (_G_LSEEK64): Likewise.
17618 (_G_MMAP64): Likewise.
17619 (_G_FSTAT64): Likewise.
17620 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17621 (_G_LSEEK64): Likewise.
17622 (_G_MMAP64): Likewise.
17623 (_G_FSTAT64): Likewise.
17624 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17625 unconditional. Call __mmap64 directly.
17626 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17627 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17628 __lseek64 directly.
17629 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17630 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17631 __mmap64 directly.
17632 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17633 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17634 __lseek64 directly.
17635 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17636 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17637 __lseek64 directly.
17638 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17639 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17640 __lseek64 directly.
17641 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17642 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17643 __fxstat64 directly.
17644 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17645 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17646 unconditional.
17647 (freopen64) [!_G_OPEN64]: Remove conditional code.
17648 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17649 unconditional.
17650 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17651 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17652 unconditional.
17653 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17654 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17655 unconditional.
17656 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17657 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17658 unconditional.
17659 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17660 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17661 unconditional.
17662 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17663 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17664 unconditional.
17665 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17666 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17667 unconditional.
17668 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17669
b741de23
SP
176702012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17671
17672 [BZ #12140]
17673 * manual/memory.texi (Malloc Tunable Parameters): Add note
17674 about free list pointers overwriting some perturb bytes.
17675 Wording suggested by Roland McGrath.
17676
f9b9d9c9
JM
176772012-10-17 Joseph Myers <joseph@codesourcery.com>
17678
17679 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17680 (lgamma_test): Likewise.
17681 (tgamma_test): Likewise.
17682
172a631a
FW
176832012-10-16 Florian Weimer <fweimer@redhat.com>
17684
17685 [BZ #14700]
17686 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17687 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17688
e9f37252
MK
176892012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17690
17691 * NEWS: Mention BZ #14716.
17692 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17693 when removing AVAILABLE1_USES_J macro.
17694
d394eb74
L
176952012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17696
17697 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17698 (__bswap_64): __uint64_t for unsigned 64-bit int.
17699
ca38dc17
AS
177002012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17701
17702 * include/string.h (memmem): Declare libc hidden alias.
17703 * string/memmem.c (memmem): Define libc hidden alias.
17704 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17705 __read, __close instead of open, read, close.
17706
9a387d1f
L
177072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17708
ac49ecaf
L
17709 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17710 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17711 global and hidden.
17712 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17713 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17714 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17715 Likewise.
17716 (__rawmemchr_sse2): Likewise.
17717 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17718 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17719 (__strchr_sse2): Likewise.
17720 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17721 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17722 (__strcasecmp_sse2): Likewise.
17723 (__strncasecmp_sse2): Likewise.
17724 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17725 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17726 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17727 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17728 (__strrchr_sse2): Likewise.
17729 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17730 ifunc-impl-list.c.
17731 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17732 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17733 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17734 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17735 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17736 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17737 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17738 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17739 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17740 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17741 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17742 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17743 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17744 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17745 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17746 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17747 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17748 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17749 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17750 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17751 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17752 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17753 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17754 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17755 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17756 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17757 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17758 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17759 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17760 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17761
b090e8ea
L
17762 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17763 global and hidden.
17764 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17765 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17766 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17767 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17768 Likewise.
17769 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17770 Likewise.
17771 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17772 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17773 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17774 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17775 ifunc-impl-list.c.
17776 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17777 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17778 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17779 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17780 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17781 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17782 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17783 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17784 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17785 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17786 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17787 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17788 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17789 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17790 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17791 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17792 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17793 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17794 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17795 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17796 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17797 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17798 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17799 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17801 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17802 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17803 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17804 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17805 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17806 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17807 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17808 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17809 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17810 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17811 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17812 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17813 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17814 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17815 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17816 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17817
11dd4af6
L
17818 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17819 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17820 * include/ifunc-impl-list.h: New file.
17821 * misc/ifunc-impl-list.c: Likewise.
17822 * misc/Makefile (routines): Add ifunc-impl-list.
17823 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17824 * string/test-string.h: Include <ifunc-impl-list.h>.
17825 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17826 impl_array): New variables.
17827 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17828 are defined.
17829 (test_init): Call __libc_ifunc_impl_list to initialize
17830 func_list if TEST_IFUNC and TEST_NAME are defined.
17831
9a387d1f
L
17832 * string/Makefile (strop-tests): Add bcopy and bzero.
17833 * string/test-bcopy.c: New file.
17834 * string/test-bzero.c: Likewise.
17835 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17836 defined.
17837 * string/test-memset.c: Support bzero test if TEST_BZERO is
17838 defined.
17839 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17840 __libc_memmove.
17841 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17842 __libc_memset.
17843 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17844 of memset.
17845
472371b9
JM
178462012-10-10 Joseph Myers <joseph@codesourcery.com>
17847
1e4a9536
JM
17848 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17849 * configure: Regenerated.
17850
d173d12e
JM
17851 * Makeconfig (+link-static-before-libc): Don't include
17852 $(link-static-libc).
17853
472371b9
JM
17854 * libio/libio.h (_IO_pos_t): Remove.
17855
89a3ad0b
AO
178562012-10-10 Alexandre Oliva <aoliva@redhat.com>
17857
17858 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17859 McGrath.
17860
e7451425
AO
178612012-10-10 Alexandre Oliva <aoliva@redhat.com>
17862
17863 * crypt/crypt-entry.c: Include fips-private.h.
17864 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17865 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17866 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17867 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17868
4ba74a35
AO
178692012-10-10 Alexandre Oliva <aoliva@redhat.com>
17870
17871 * crypt/crypt-private.h: Include stdbool.h.
17872 (_ufc_setup_salt_r): Return bool.
17873 * crypt/crypt-entry.c: Include errno.h.
17874 (__crypt_r): Return NULL with EINVAL for bad salt.
17875 * crypt/crypt_util.c (bad_for_salt): New.
17876 (_ufc_setup_salt_r): Check that salt is long enough and within
17877 the specified alphabet.
17878 * crypt/badsalttest.c: New file.
17879 * crypt/Makefile (tests): Add it.
17880 ($(objpfx)badsalttest): New.
17881
f96f1242
MK
178822012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17883
17884 * NEWS: Add entry for BZ #14602.
17885
0e8e0c1c
JM
178862012-10-09 Joseph Myers <joseph@codesourcery.com>
17887
17888 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17889 type-generic.
17890 * math/libm-test.inc: Update comment listing what functions and
17891 macros are tested.
17892 (isgreater_test): New function.
17893 (isgreaterequal_test): Likewise.
17894 (isless_test): Likewise.
17895 (islessequal_test): Likewise.
17896 (islessgreater_test): Likewise.
17897 (isunordered_test): Likewise.
17898 (main): Call the new functions.
17899
273edc5e
RM
179002012-10-09 Roland McGrath <roland@hack.frob.com>
17901
b8493de0
RM
17902 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17903 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17904 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17905 * sysdeps/i386/configure: Regenerated.
17906 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17907 * sysdeps/mach/configure: Regenerated.
17908 * sysdeps/mach/hurd/configure: Regenerated.
17909 * sysdeps/powerpc/configure: Regenerated.
17910 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17911 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17912 * sysdeps/s390/s390-32/configure: Regenerated.
17913 * sysdeps/s390/s390-64/configure: Regenerated.
17914 * sysdeps/sh/configure: Regenerated.
17915 * sysdeps/sparc/configure: Regenerated.
17916 * sysdeps/unix/sysv/linux/configure: Regenerated.
17917 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17918 * sysdeps/x86_64/configure: Regenerated.
17919
273edc5e
RM
17920 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17921 defined. Don't check if MAP is NULL.
17922
c8450f70
JM
179232012-10-09 Joseph Myers <joseph@codesourcery.com>
17924
17925 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17926 (_G_stat64): Likewise.
17927 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17928 (_G_stat64): Likewise.
17929 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17930 instead of struct _G_stat64.
17931 * libio/fileops.c (mmap_remap_check): Likewise.
17932 (decide_maybe_mmap): Likewise.
17933 (_IO_new_file_seekoff): Likewise.
17934 (_IO_file_stat): Likewise.
17935 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17936 _G_off64_t.
17937 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17938 instead of struct _G_stat64.
17939 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17940
57e605ba
MK
179412012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17942
17943 [BZ #14602]
17944 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17945 Replace with ...
17946 (CHECK_EOL): New macro.
17947 (two_way_short_needle): Check beginning of haystack for EOL. Use
17948 CHECK_EOL.
17949 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17950 Replace with CHECK_EOL.
17951 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17952 Replace with CHECK_EOL.
17953
ef1bb361
JM
179542012-10-08 Joseph Myers <joseph@codesourcery.com>
17955
17956 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17957 type-generic.
17958 * math/libm-test.inc: Update comment listing what functions and
17959 macros are tested.
17960 (finite_test): New function.
17961 (isinf_test): Likewise.
17962 (isnan_test): Likewise.
17963 (fpclassify_test): Test subnormal input.
17964 (isfinite_test): Likewise.
17965 (isnormal_test): Likewise.
17966 (main): Call the new functions.
17967
55f11534
JN
179682012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17969
17970 [BZ #14660]
17971 * Makerules (%.dynsym): Force C locale when running
17972 $(OBJDUMP) --dynamic-syms.
17973
1ab29350
AS
179742012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17975
17976 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17977 <stdint.h>.
17978
f1ecb7ef
DM
179792012-10-06 David S. Miller <davem@davemloft.net>
17980
17981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17982 upper 32-bits of the length value in %o2 since we use branch-on-register
17983 tests which consider the entire 64-bit register.
17984
5d41d91a
L
179852012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17986
17987 * string/test-strstr.c (check2): Add a test for page boundary.
17988
3baddb72
DM
179892012-10-05 David S. Miller <davem@davemloft.net>
17990
17991 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17992 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17993 file.
17994 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17995 sysdep_routines.
17996 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17997 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17998 and bzero when HWCAP_SPARC_CRYPTO is present.
17999
9cee5585
L
180002012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18001
d7e0dab9
L
18002 [BZ #14602]
18003 * string/test-strstr.c (check2): New function.
18004 (test_main): Call check2.
18005
03759f47
L
18006 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18007 and bug-strchr1.
18008 * string/bug-strcasestr1.c (do_test): Moved to ...
18009 * string/test-strcasestr.c (check1): Here. New function.
18010 (do_one_test): Break out result checking code into ...
18011 (check_result): This. New function.
18012 (do_one_test): Call check_result.
18013 (test_main): Call check1.
18014 * string/bug-strchr1.c (do_test): Moved to ...
18015 * string/test-strchr.c (check1): Here. New function.
18016 (do_one_test): Break out result checking code into ...
18017 (check_result): This. New function.
18018 (do_one_test): Call check_result.
18019 (test_main): Call check1.
18020 * string/bug-strstr1.c (main): Moved to ...
046f153e 18021 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18022 (do_one_test): Break out result checking code into ...
18023 (check_result): This. New function.
18024 (do_one_test): Call check_result.
18025 (test_main): Call check1.
18026 * string/bug-strcasestr1.c: Removed.
18027 * string/bug-strchr1.c: Likewise.
18028 * string/bug-strstr1.c: Likewise.
18029
53cea63e
L
18030 * elf/Makefile (dl-routines): Add hwcaps.
18031 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18032 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18033 (_dl_important_hwcaps): Moved to ...
18034 * elf/dl-hwcaps.c: Here. New file.
18035 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18036
9cee5585 18037 [BZ #14557]
bb859b06
L
18038 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18039 if IS_IN_rtld isn't defined.
18040
9cee5585
L
18041 * elf/dl-support.c (_dl_sysinfo_map): New.
18042 Include "get-dynamic-info.h" and "setup-vdso.h".
18043 (_dl_non_dynamic_init): Call setup_vdso.
18044 * elf/dynamic-link.h: Don't include <assert.h>.
18045 (elf_get_dynamic_info): Moved to ...
18046 * elf/get-dynamic-info.h: Here. New file.
18047 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18048 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18049 * elf/setup-vdso.h: Here. New file.
18050 * elf/rtld.c: Include "setup-vdso.h".
18051 (dl_main): Call setup_vdso.
18052
23c31b76
JM
180532012-10-05 Joseph Myers <joseph@codesourcery.com>
18054
28234b07
JM
18055 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18056 creal in comment listing functions tested. List finite, isinf,
18057 isnan, isless, islessequal, isgreater, isgreaterequal,
18058 islessgreater, isunordered, lgamma_r and pow10 as functions and
18059 macros not tested. Mention which functions not tested are aliases
18060 for other functions. Fix typo. Note that signs of NaNs are not
18061 tested.
18062
23c31b76
JM
18063 * scripts/config.guess: Update from config.git.
18064 * scripts/config.sub: Likewise.
18065
9043e228
RM
180662012-10-04 Roland McGrath <roland@hack.frob.com>
18067
18068 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18069 * misc/madvise.c (madvise): Renamed to __madvise.
18070 Make madvise a weak alias.
18071 * include/sys/mman.h: Declare __madvise.
18072 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18073 * sysdeps/unix/syscalls.list
18074 (madvise): Make __madvise the strong name, and madvise a weak alias.
18075 * sysdeps/unix/sysv/linux/syscalls.list
18076 (madvise, mmap): Remove redundant entries.
18077 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18078 * malloc/malloc.c (mtrim): Likewise.
18079 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18080
f57f8055
RM
180812012-10-03 Roland McGrath <roland@hack.frob.com>
18082
18083 * sysdeps/mach/hurd/dl-cache.c: File removed.
18084 * config.h.in (USE_LDCONFIG): New #undef.
18085 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18086 * configure: Regenerated.
18087 * elf/Makefile (dl-routines): Add dl-cache only under
18088 [$(use-ldconfig) = yes].
18089 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18090 cache on [USE_LDCONFIG].
18091 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18092 [USE_LDCONFIG].
18093 * elf/rtld.c (dl_main): Likewise.
18094
5bb0c10a
PT
180952012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18096
18097 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18098 _SC_LEVEL4_CACHE_LINESIZE.
18099
010188c6
RM
181002012-10-03 Roland McGrath <roland@hack.frob.com>
18101
18102 * sysdeps/unix/bsd/confstr.h: File removed.
18103
b6c5ec07
AO
181042012-10-02 Alexandre Oliva <aoliva@redhat.com>
18105
18106 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18107 sys/sdt-config.h.
18108
408223d4
RM
181092012-10-02 Roland McGrath <roland@hack.frob.com>
18110
18111 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18112 Make 'mapoff' field ElfW(Off) rather than off_t.
18113
bb9510dc
DL
181142012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18115
fc997c6e
DL
18116 * nscd/Makefile: Remove nscd-cflags and all its users.
18117 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18118 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18119
bb9510dc
DL
18120 [BZ #10631]
18121 * malloc.c (malloc_printerr): Clarify error message.
18122
05699367
L
181232012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18124
18125 [BZ #14648]
18126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18127 Set bit_FMA_Usable if FMA is supported.
18128 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18129 macro.
18130 (bit_FMA4_Usable): Updated.
18131 (index_FMA_Usable): New macro.
18132 (CPUID_FMA): Likewise
18133 (HAS_FMA): Defined with bit_FMA_Usable.
18134
51367701
RM
181352012-10-01 Roland McGrath <roland@hack.frob.com>
18136
18137 * bits/types.h (__swblk_t): Type removed.
18138 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18139 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18140 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18141 (__SWBLK_T_TYPE): Likewise.
18142 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18143 (__SWBLK_T_TYPE): Likewise.
18144 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18145 (__SWBLK_T_TYPE): Likewise.
18146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18147 (__SWBLK_T_TYPE): Likewise.
18148
4d57bf63 181492012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18150 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18151
18152 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18153 (xdr_mapname): Use YPMAXMAP as maxsize.
18154 (xdr_peername): Use YPMAXPEER as maxsize.
18155 (xdr_keydat): Use YPAXRECORD as maxsize.
18156 (xdr_valdat): Use YPMAXRECORD as maxsize.
18157
93c65d43
RM
181582012-10-01 Roland McGrath <roland@hack.frob.com>
18159
497a03d6
RM
18160 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18161
93c65d43
RM
18162 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18163 * csu/init-first.c: ... here.
18164 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18165 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18166 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18167 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18168 * sysdeps/i386/init-first.c: File removed.
18169 * sysdeps/sh/init-first.c: File removed.
18170
bec749fd
JM
181712012-10-01 Joseph Myers <joseph@codesourcery.com>
18172
18173 [BZ #14645]
18174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18175 if x * y might underflow to zero and z is zero.
18176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18178 * math/libm-test.inc (min_subnorm_value): New variable.
18179 (fma_test): Add more tests.
18180 (fma_test_towardzero): Likewise.
18181 (fma_test_downward): Likewise
18182 (fma_test_upward): Likewise.
18183 (initialize): Set min_subnorm_value.
18184
8ec5b013
JM
181852012-09-29 Joseph Myers <joseph@codesourcery.com>
18186
18187 [BZ #14638]
18188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18189 0 + 0.
18190 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18191 mode for addition resulting in exact zero.
18192 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18194 exact 0 + 0.
18195 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18196 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18197 * math/libm-test.inc (fma_test): Add more tests.
18198 (fma_test_towardzero): New function.
18199 (fma_test_downward): Likewise.
18200 (fma_test_upward): Likewise.
18201 (main): Call the new functions.
18202
b1fa802e
DM
182032012-09-28 David S. Miller <davem@davemloft.net>
18204
18205 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18206
d3b9fd9e
RM
182072012-09-28 Roland McGrath <roland@hack.frob.com>
18208
ea4d37b3
RM
18209 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18210 instead of SIGALRM.
18211
ac51c949
RM
18212 * sysdeps/gnu/_G_config.h: Moved to ...
18213 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18214 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18215 * sysdeps/generic/_G_config.h: ... here.
18216
28c195f7
RM
18217 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18218
848917f9
RM
18219 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18220
6bacf05b
RM
18221 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18222 Conditionalize target on [libnss_test1.so-version].
18223
91363dbb
RM
18224 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18225
cc87f7d8
RM
18226 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18227 (elfobjdir): Move out of conditionals.
18228
b1c608fe
RM
18229 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18230 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18231 (__nss_lookup_function): Conditionalize label remove_from_tree on
18232 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18233
1d9a6d96
DM
182342012-09-28 David S. Miller <davem@davemloft.net>
18235
18236 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18237 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18238 file.
18239 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18240 sysdep_routines.
18241 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18243 when HWCAP_SPARC_CRYPTO is present.
18244
72581615
PT
182452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18246
18247 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18248
715a900c
JL
182492012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18250
18251 [BZ #6530]
18252 * stdio-common/vfprintf.c (process_string_arg): Revert
18253 2000-07-22 change.
18254
182552011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18256
18257 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18258 for testcase.
18259 * stdio-common/tst-sprintf.c: Include <locale.h>
18260 (main): Test sprintf's handling of incomplete multibyte
18261 characters.
18262
9bac1d86
L
182632012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18264
18265 * elf/dl-runtime.c (VERSYMIDX): Removed.
18266 * elf/dl-version.c (VERSYMIDX): Likewise.
18267 * elf/do-rel.h (VERSYMIDX): Likewise.
18268 (VALIDX): Likewise.
18269 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18270 * elf/rtld.c (VALIDX): Likewise.
18271 (ADDRIDX): Likewise.
9bac1d86
L
18272 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18273 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18274 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18275 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18276 (VALIDX): Likewise.
18277 (ADDRIDX): Likewise.
9bac1d86 18278
b31606c0
PT
182792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18280
18281 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18282
11541177
JL
182832012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18284
18285 [BZ #11438]
18286 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18287 to global scope.
18288 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18289 addresses are in the same scope as 192.0.2/24.
18290 * posix/gai.conf: Document new scope table defaults.
18291
adb26fae
SP
182922012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18293
18294 [BZ #5298]
18295 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18296 for ftell. Compute offsets from write pointers instead.
18297 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18298
4573c6b0
SP
182992012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18300
18301 [BZ #14543]
18302 * libio/Makefile (tests): New test case tst-fseek.
18303 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18304 combination works in wide mode.
18305 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18306 state when the external buffer state changes.
18307
aa9bbfe6
DM
183082012-09-27 David S. Miller <davem@davemloft.net>
18309
18310 [BZ #14376]
18311 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18312 pass reloc->r_addend in as the 'high' argument to
18313 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18314
784421e7
DM
18315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18316
c39bc8b8
PT
183172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18318
18319 * rt/tst-aio2.c: Include <pthread.h>.
18320 * rt/tst-aio3.c: Likewise.
18321
1ccc2399
SE
183222012-09-27 Steve Ellcey <sellcey@mips.com>
18323
18324 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18325
31ed4153
L
183262012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18327
25f5f885
L
18328 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18329 contents on [SHARED].
31ed4153 18330
b7bfe116
MP
183312012-09-26 Marek Polacek <polacek@redhat.com>
18332
18333 [BZ #14530]
18334 [BZ #13741]
18335 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18336 for C++ and GCC <4.3 as well as for non GCC compilers.
18337
43c4edba
MT
183382012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18339
18340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18341
6a1bf82f
RM
183422012-09-25 Roland McGrath <roland@hack.frob.com>
18343
18344 * Makefile.in (all, install): Declare with .PHONY.
18345 Reported by Michael Hope <michael.hope@linaro.org>.
18346
8ad11b9a
TMQMF
183472012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18348
18349 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18350 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18351 system header.
18352 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18353 Likewise.
18354 (sydep_routines): Add the new and the internal functions.
18355 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18356 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18358 (GLIBC_2.17): Add the new function.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18360 (GLIBC_2.17): Likewise.
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18362 (GLIBC_2.17): Likewise.
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18364 (GLIBC_2.17): Likewise.
18365 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18366
7e2fca8d
AM
183672012-09-25 Alan Modra <amodra@gmail.com>
18368
18369 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18370 Add release barrier before setting once_control to say
18371 initialisation is done. Add hints on lwarx. Use macro in
18372 place of isync.
18373 (clear_once_control): Add release barrier.
18374
b87c4b24
JM
183752012-09-25 Joseph Myers <joseph@codesourcery.com>
18376
d032e0d2
JM
18377 [BZ #13629]
18378 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18379 specially.
18380 * math/s_clog10.c (__clog10): Likewise.
18381 * math/s_clog10f.c (__clog10f): Likewise.
18382 * math/s_clog10l.c (__clog10l): Likewise.
18383 * math/s_clogf.c (__clogf): Likewise.
18384 * math/s_clogl.c (__clogl): Likewise.
18385 * math/Makefile (libm-calls): Add x2y2m1.
18386 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18387 (__x2y2m1): Likewise.
18388 (__x2y2m1l): Likewise.
18389 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18390 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18391 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18392 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18393 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18394 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18395 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18396 * sysdeps/i386/fpu/libm-test-ulps: Update.
18397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18398
b87c4b24
JM
18399 [BZ #14621]
18400 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18401 int as type of variable DEPTH.
18402 (glob): Use size_t instead of int as type of variables NEWCOUNT
18403 and OLD_PATHC.
18404
6d3bf199
LD
184052012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18406
22bf5c17
LD
18407 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18408 Add s_sincosf-sse2.
18409 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18410 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18411 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18412 macros for using routine as __sincosf_ia32.
18413 Use macro for function declaration and weak_alias.
18414 * sysdeps/i386/fpu/libm-test-ulps: Update.
18415
18416 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18418
18419 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18420 subnormal argument.
18421 * math/s_cexpf.c (__cexpf): Likewise.
18422 * math/s_csinf.c (__csinf): Likewise.
18423 * math/s_csinhf.c (__csinhf): Likewise.
18424 * math/s_ctanf.c (__ctanf): Likewise.
18425 * math/s_ctanhf.c (__ctanhf): Likewise.
18426 * math/s_ccosh.c (__ccoshf): Likewise.
18427 * math/s_cexp.c (__cexpl): Likewise.
18428 * math/s_csin.c (__csin): Likewise.
18429 * math/s_csinh.c (__csinh): Likewise.
18430 * math/s_ctan.c (__ctan): Likewise.
18431 * math/s_ctanh.c (ctanh): Likewise.
18432 * math/s_ccoshl.c (__ccoshl): Likewise.
18433 * math/s_cexpl.c (__cexpl): Likewise.
18434 * math/s_csinl.c (__csinl): Likewise.
18435 * math/s_csinhl.c (__csinhl): Likewise.
18436 * math/s_ctanl.c (__ctanl): Likewise.
18437 * math/s_ctanhl.c (__ctanhl): Likewise.
18438
203e5603
JM
184392012-09-25 Joseph Myers <joseph@codesourcery.com>
18440
18441 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18442 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18443 (_IO_off_t): Define to __off_t, not _G_off_t.
18444 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18445 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18446 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18447 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18448 type of __dummy and __dummy2 fields.
18449 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18450 (_G_ssize_t): Likewise.
18451 (_G_off_t): Likewise.
18452 (_G_pid_t): Likewise.
18453 (_G_uid_t): Likewise.
18454 (_G_wchar_t): Likewise.
18455 (_G_wint_t): Likewise.
18456 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18457 (_G_ssize_t): Likewise.
18458 (_G_off_t): Likewise.
18459 (_G_pid_t): Likewise.
18460 (_G_uid_t): Likewise.
18461 (_G_wchar_t): Likewise.
18462 (_G_wint_t): Likewise.
18463 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18464 (_G_ssize_t): Likewise.
18465 (_G_off_t): Likewise.
18466 (_G_pid_t): Likewise.
18467 (_G_uid_t): Likewise.
18468 (_G_wchar_t): Likewise.
18469 (_G_wint_t): Likewise.
18470
9fab36eb
SP
184712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18472
18473 * malloc/arena.c: Include malloc-sysdep.h.
18474 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18475 is sufficient to shrink the heap or an unmap is needed.
18476 * sysdeps/generic/malloc-sysdep.h: New file. Define
18477 new function check_may_shrink_heap.
18478 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18479 new function check_may_shrink_heap.
18480
2b4f00d1
SP
184812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18482
18483 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18484 comments.
18485
9a9028b1
DL
184862012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18487
57c69bef
DL
18488 * catgets/test-gencat.sh: Add "set -e".
18489 * elf/tst-pathopt.sh: Likewise.
18490 * grp/tst_fgetgrent.sh: Likewise.
18491 * iconvdata/run-iconv-test.sh: Likewise.
18492 * intl/tst-gettext.sh: Likewise.
18493 * intl/tst-gettext2.sh: Likewise.
18494 * intl/tst-gettext4.sh: Likewise.
18495 * intl/tst-gettext6.sh: Likewise.
18496 * intl/tst-translit.sh: Likewise.
18497 * io/ftwtest-sh: Likewise.
18498 * libio/test-freopen.sh: Likewise.
18499 * malloc/tst-mtrace.sh: Likewise.
18500 * posix/globtest.sh: Likewise.
18501 * posix/tst-getconf.sh: Likewise.
18502 * posix/wordexp-tst.sh: Likewise.
18503 * stdio-common/tst-printf.sh: Likewise.
18504 * stdio-common/tst-unbputc.sh: Likewise.
18505 * stdlib/tst-fmtmsg.sh: Likewise.
18506 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18507 * catgets/Makefile: Do not specify -e option when running
18508 testsuite shell scripts.
18509 * elf/Makefile: Likewise.
18510 * grp/Makefile: Likewise.
18511 * iconvdata/Makefile: Likewise.
18512 * intl/Makefile: Likewise.
18513 * io/Makefile: Likewise.
18514 * libio/Makefile: Likewise.
18515 * malloc/Makefile: Likewise.
18516 * posix/Makefile: Likewise.
18517 * stdio-common/Makefile: Likewise.
18518 * stdlib/Makefile: Likewise.
18519 * sysdeps/x86_64/Makefile: Likewise.
18520
9a9028b1
DL
18521 * io/ftwtest-sh: Add copyright header.
18522 * posix/globtest.sh: Likewise.
18523 * posix/tst-getconf.sh: Likewise.
18524 * posix/wordexp-tst.sh: Likewise.
18525 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18526
ced6f16e
L
185272012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18528
94b32c39
L
18529 [BZ #13679]
18530 * Makeconfig (+link): Defined as $(+link-static) if
18531 $(build-shared) isn't yes.
18532 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18533 isn't yes.
18534 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18535
189e935b
L
18536 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18537
ced6f16e
L
18538 [BZ #14562]
18539 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18540 new chunk size with MALLOC_ALIGN_MASK.
18541
a9f8e53a
JM
185422012-09-24 Joseph Myers <joseph@codesourcery.com>
18543
18544 [BZ #5044]
18545 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18546 <rounding-mode.h>.
18547 (__printf_fphex): Determine rounding using get_rounding_mode and
18548 round_away.
18549 * stdio-common/tst-printf-round.c (struct hex_test): New
18550 structure.
18551 (hex_tests): New variable.
18552 (test_hex_in_one_mode): New function.
18553 (do_test): Also run tests for hex float output.
18554
43153109
JM
185552012-09-21 Joseph Myers <joseph@codesourcery.com>
18556
18557 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18558 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18559 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18560 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18561 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18562 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18563 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18564 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18565
8a26625d
JM
185662012-09-20 Joseph Myers <joseph@codesourcery.com>
18567
18568 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18569 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18570 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18571 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18572
f3fd569c
DL
185732012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18574
18575 [BZ #14579]
18576 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18577 mode only.
18578 * elf/tst-rtld-load-self.sh: New test.
18579 * elf/Makefile: Run it.
18580
63bbedd4
JM
185812012-09-18 Joseph Myers <joseph@codesourcery.com>
18582
18583 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18584 (tst-writev-ENV): Remove.
18585 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18586
626f8b6a
CM
185872012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18588
18589 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18590
b7aaa4d6
JM
185912012-09-17 Joseph Myers <joseph@codesourcery.com>
18592
18593 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18594 unconditional.
18595 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18596 Likewise.
18597 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18598 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18599 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18600 Likewise.
18601
65513990
L
186022012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18603
18604 [BZ #14587]
18605 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18606 * config.make.in (have-cpp-asm-debuginfo): Removed.
18607 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18608 * configure: Regenerated.
18609
784761be
JM
186102012-09-14 Joseph Myers <joseph@codesourcery.com>
18611
18612 [BZ #5044]
18613 * stdio-common/printf_fp.c: Include <stdbool.h> and
18614 <rounding-mode.h>.
18615 (___printf_fp): Determine rounding using get_rounding_mode and
18616 round_away.
18617 * stdio-common/tst-printf-round.c: New file.
18618 * stdio-common/Makefile (tests): Add tst-printf-round.
18619 (link-libm): New variable.
18620 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18621
9503345f
L
186222012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18623
18624 [BZ #14576]
18625 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18626 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18627 Likewise.
18628 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18629 Likewise.
18630
ad35fc00
JM
186312012-09-13 Joseph Myers <joseph@codesourcery.com>
18632
18633 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18634 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18635 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18636 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18637
6c9b0f68
JM
186382012-09-12 Joseph Myers <joseph@codesourcery.com>
18639
18640 [BZ #14518]
18641 * include/rounding-mode.h: New file.
18642 * sysdeps/generic/get-rounding-mode.h: Likewise.
18643 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18644 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18645 (MAX_VALUE): New macro.
18646 (MIN_VALUE): Likewise.
18647 (overflow_value): New function.
18648 (underflow_value): Likewise.
18649 (round_and_return): Use overflow_value and underflow_value to
18650 determine return values in overflow and underflow cases. Use
18651 round_away to determine rounding depending on rounding mode.
18652 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18653 determine return values in overflow and underflow cases.
18654 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18655 (struct test_results): New structure.
18656 (struct test): Use struct test_results to store expected results
18657 for all rounding modes.
18658 (TEST): Include expected results for all rounding modes.
18659 (test_in_one_mode): New function.
18660 (do_test): Use test_in_one_mode to compute and check results.
18661 Check results for all rounding modes.
18662 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18663 $(link-libm).
18664
19fcedd5
AM
186652012-12-09 Allan McRae <allan@archlinux.org>
18666
1e9d84cd 18667 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18668
8bbfd2f1
JM
186692012-09-11 Joseph Myers <joseph@codesourcery.com>
18670
18671 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18672 (_G_int32_t): Likewise.
18673 (_G_uint16_t): Likewise.
18674 (_G_uint32_t): Likewise.
18675 (_G_HAVE_BOOL): Likewise.
18676 (_G_HAVE_ATEXIT): Likewise.
18677 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18678 (_G_HAVE_IO_FILE_OPEN): Likewise.
18679 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18680 (_G_int32_t): Likewise.
18681 (_G_uint16_t): Likewise.
18682 (_G_uint32_t): Likewise.
18683 (_G_HAVE_BOOL): Likewise.
18684 (_G_HAVE_ATEXIT): Likewise.
18685 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18686 (_G_HAVE_IO_FILE_OPEN): Likewise.
18687 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18688 (_G_int32_t): Likewise.
18689 (_G_uint16_t): Likewise.
18690 (_G_uint32_t): Likewise.
18691 (_G_HAVE_BOOL): Likewise.
18692 (_G_HAVE_ATEXIT): Likewise.
18693 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18694 (_G_HAVE_IO_FILE_OPEN): Likewise.
18695
b1dc5912
L
186962012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18697
18698 * csu/libc-tls.c: Update copyright years.
18699
0e886ef9
JM
187002012-09-10 Joseph Myers <joseph@codesourcery.com>
18701
28361c5e
JM
18702 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18703 [!_G_USING_THUNKS]: Remove conditional code.
18704 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18705 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18706
0e886ef9
JM
18707 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18708 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18709 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18710 (_G_VTABLE_LABEL_PREFIX): Likewise.
18711 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18712 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18713 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18714 (_G_VTABLE_LABEL_PREFIX): Likewise.
18715 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18716 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18717 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18718 (_G_VTABLE_LABEL_PREFIX): Likewise.
18719 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18720
bcba7aa2
L
187212012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18722
18723 * libio/Makefile: Include ../Makeconfig before tests.
18724 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18725 only if $(build-shared) is yes.
18726
06585ee8
L
18727 * iconv/gconv_db.c: Update copyright years.
18728
80ccd52c
LD
187292012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18730
18731 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18732 unwind info if defined PIC. Fix special cases description.
18733 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18734
18735 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18736 DP_HI_MASK entry.
18737 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18738
691bc9c1
L
187392012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18740
3d9b46b3
L
18741 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18742
de2139a9
L
18743 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18744 is NULL.
18745
5ca78dd0
L
18746 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18747 (LDLIBS-tst-chk4): This.
18748 (LDFLAGS-tst-chk5): Renamed to ...
18749 (LDLIBS-tst-chk5): This.
18750 (LDFLAGS-tst-chk6): Renamed to ...
18751 (LDLIBS-tst-chk6): This.
18752 (LDFLAGS-tst-lfschk4): Renamed to ...
18753 (LDLIBS-tst-lfschk4): This.
18754 (LDFLAGS-tst-lfschk5): Renamed to ...
18755 (LDLIBS-tst-lfschk5): This.
18756 (LDFLAGS-tst-lfschk6): Renamed to ...
18757 (LDLIBS-tst-lfschk6): This.
18758
691bc9c1
L
18759 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18760 on $(common-objpfx)soversions.mk.
18761
65cafb1c
JM
187622012-09-07 Joseph Myers <joseph@codesourcery.com>
18763
18764 [BZ #10014]
18765 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18766 example host name.
18767
c78ab094
SP
187682012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18769
18770 * malloc/arena.c (arena_get_retry): New function that gets
18771 another arena for the caller to try its request on.
18772 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18773 current arena cannot fulfill the request.
18774 (__libc_memalign): Likewise.
18775 (__libc_memalign): Likewise.
18776 (__libc_pvalloc): Likewise.
18777 (__libc_calloc): Likewise.
18778
01f49f59
JT
187792012-09-05 John Tobey <john.tobey@gmail.com>
18780
18781 [BZ #13542]
18782 * manual/arith.texi (Operations on Complex): Fix description
18783 of carg branch cut.
18784
4c23fed5
JM
187852012-09-06 Joseph Myers <joseph@codesourcery.com>
18786
1d3c8572
JM
18787 [BZ #10014]
18788 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18789 host name.
18790
4c23fed5
JM
18791 [BZ #10038]
18792 * manual/memory.texi (Memory): Make order of menu items match
18793 order of sections.
18794
04570aaa
L
187952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18796
18797 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18798 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18799 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18800
b80af2f4
L
188012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18802
18803 * csu/libc-tls.c (static_dtv): Renamed to ...
18804 (_dl_static_dtv): This. Make it global.
18805 (_dl_initial_dtv): Removed.
18806 (__libc_setup_tls): Updated.
18807 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18808 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18809 DL_INITIAL_DTV.
18810
2abe9f15
PM
188112012-09-06 Petr Machata <pmachata@redhat.com>
18812
18813 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18814 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18815 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18816 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18817
0948c3af
L
188182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18819
18820 [BZ #14545]
18821 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18822 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18823 freeing dtv[-1].
18824
a5055ad1
L
188252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18826
18827 [BZ #14544]
18828 * Makeconfig (link-static-before-libc): Replace $(+prector)
18829 with $(+prectorT).
18830 (link-static-after-libc): Replace $(+postctor) with
18831 $(+postctorT).
18832 (link-bounded): Replace $(+prector)/$(+postctor) with
18833 $(+prectorT)/$(+postctorT).
18834 (+prectorT): New macro.
18835 (+postctorT): Likewise.
18836
ed8c2ecd
JM
188372012-09-06 Joseph Myers <joseph@codesourcery.com>
18838
18839 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18840 (round_str): Handle values above the maximum for IBM long double
18841 as inexact.
18842 * stdlib/tst-strtod-round.c (tests): Regenerated.
18843
14c996c8
AK
188442012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18845
18846 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18847 assembler flag.
18848 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18849 zarch_nohighgprs around the zarch optimized routines.
18850 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18851 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18852 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18853 for zarch.
18854
430d6ce6
DM
188552012-09-05 David S. Miller <davem@davemloft.net>
18856
18857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18858
ff04dda4
DM
18859 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18860 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18861 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18862 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18863 entries.
18864
24d4e01b
AO
188652012-09-05 Alexandre Oliva <aoliva@redhat.com>
18866
18867 * malloc/arena.c: Fold copyright years.
18868 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18869
61d58174
AO
188702012-09-05 Alexandre Oliva <aoliva@redhat.com>
18871
18872 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18873
20196a5e
AO
188742012-09-05 Alexandre Oliva <aoliva@redhat.com>
18875
18876 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18877
5c447383
AO
188782012-09-05 Alexandre Oliva <aoliva@redhat.com>
18879
18880 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18881 change internal state upon failure.
18882
fad64255
AO
188832012-09-05 Alexandre Oliva <aoliva@redhat.com>
18884
18885 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18886 * malloc/memusage.c (mmap): Likewise.
18887 (mmap64, mremap): Likewise. Adjust name in comment.
18888
1ffb8c90
SP
188892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18890
18891 * libio/fileops.c: Fix typos in comments.
18892 * libio/oldfileops.c: Likewise.
18893 * libio/wfileops.c: Likewise.
18894
6ef9cc37
SP
188952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18896
18897 [BZ #1349]
18898 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18899 (tst-malloc-usable-ENV): Set environment for test case.
18900 * malloc/hooks.c (malloc_check_get_size): New function to get
18901 requested size.
18902 * malloc/malloc.c (musable): Use malloc_check_get_size.
18903 * malloc/tst-malloc-usable.c: New test case.
18904
4d038ae3
AS
189052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18906
18907 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18908
c4e85184
AM
189092012-09-05 Allan McRae <allan@archlinux.org>
18910
b9dafc56 18911 [BZ #13966]
c4e85184
AM
18912 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18913 determine header location.
18914 * configure: Regenerated.
18915
e1343020
AS
189162012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18917
18918 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18919 float format.
18920 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18921 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18922 format.
e1343020
AS
18923 (test): Regenerate.
18924
0a9f1987
DM
189252012-09-04 David S. Miller <davem@davemloft.net>
18926
18927 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18928 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18929 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18930
29237804
FW
189312012-09-04 Florian Weimer <fweimer@redhat.com>
18932
18933 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18934 failures.
18935
edb3cb88
FW
18936 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18937
60160d83
JM
189382012-09-04 Joseph Myers <joseph@codesourcery.com>
18939
18940 [BZ #9914]
18941 * libio/iogetdelim.c: Include <limits.h>.
18942 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18943 + len + 1 would overflow.
18944
bcd6c8dc
AJ
189452012-09-03 Andreas Jaeger <aj@suse.de>
18946
18947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18948 * sysdeps/i386/fpu/libm-test-ulps: Update.
18949
4ffffbd2
LD
189502012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18951
18952 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18953 Add s_sinf-sse2, s_conf-sse2.
18954
18955 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18956 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18957 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18958 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18959
18960 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18961 for using routine as __sinf_ia32.
18962 Use macro for function declaration and weak_alias.
18963 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18964 for using routine as __cosf_ia32.
18965 Use macro for function declaration and weak_alias.
18966
18967 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18968 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18969
18970 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18971 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18973
18974 * math/libm-test.inc (cos_test): Add more test cases.
18975 (sin_test): Likewise.
18976 (sincos_test): Likewise.
18977
511fa286
AK
189782012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18979
18980 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18981 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18982 hidden.
18983 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18984
5f30cfec
L
189852012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18986
18987 [BZ #14538]
18988 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18989 first element of the GOT.
18990 (elf_machine_load_address): Return the difference between
18991 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18992
0786794f
AM
189932012-09-01 Allan McRae <allan@archlinux.org>
18994
5f30cfec
L
18995 [BZ #13412]
18996 * configure.in (AWK): Require gawk version 3.0 or later.
18997 * configure: Regenerated.
0786794f 18998
26889eac
JM
189992012-09-01 Joseph Myers <joseph@codesourcery.com>
19000
19001 * sysdeps/unix/sysv/linux/kernel-features.h
19002 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19003 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19004 [__NR_clock_getres]: Make code unconditional.
19005 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19006 (clock_getcpuclockid): Remove code left unreachable by removal of
19007 conditionals.
19008 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19009 code unconditional.
19010 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19011 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19012 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19013 Make code unconditional.
19014 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19015 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19016 * sysdeps/unix/sysv/linux/clock_settime.c
19017 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19018 conditional code.
19019 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19020 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19021
d22e28b0
L
190222012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19023
19024 [BZ #14476]
19025 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19026 scripts/test-installation.pl.
19027
19028 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19029 and $ld_so_version if it is set.
19030
050af9c4
SP
190312012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19032
19033 [BZ #14516]
19034 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19035 failure if reading from procfs failed.
19036 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19037
ad845c0b
JM
190382012-08-27 Joseph Myers <joseph@codesourcery.com>
19039
19040 * sysdeps/unix/sysv/linux/kernel-features.h
19041 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19042 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19043 Remove conditional code.
19044 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19045 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19046 Remove conditional code.
19047 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19048 * sysdeps/unix/sysv/linux/i386/fxstat.c
19049 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19050 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19051 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19052 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19053 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19054 * sysdeps/unix/sysv/linux/i386/lxstat.c
19055 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19056 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19057 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19058 Remove conditional code.
19059 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19060 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19061 Remove conditional code.
19062 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19063 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19064 <kernel-features.h>.
19065 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19066 Remove.
19067 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19068 Remove conditional code.
19069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19070 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19071 Remove conditional.
19072
5dbf56af
MF
190732012-08-27 Mike Frysinger <vapier@gentoo.org>
19074
19075 [BZ #5400]
19076 * NEWS: Add fixed bug number.
19077
d6e70f43
JM
190782012-08-27 Joseph Myers <joseph@codesourcery.com>
19079
7efb4737
JM
19080 [BZ #14519]
19081 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19082 underflowing exponent in case of negative sign.
19083 * stdlib/tst-strtod-round-data: Add more tests.
19084 * stdlib/tst-strtod-round.c (tests): Regenerated.
19085
af92131a
JM
19086 [BZ #3479]
19087 * stdlib/strtod_l.c (NDIG): Remove.
19088 (HEXNDIG): Likewise.
19089 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19090 smallest representable value.
19091 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19092 lie within an exact representation of 1/2 ulp of the result.
19093 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19094 unconditionally.
19095 (TENS_P9_IDX): Define unconditionally.
19096 (TENS_P9_SIZE): Likewise.
19097 (TENS_P10_IDX): Likewise.
19098 (TENS_P10_SIZE): Likewise.
19099 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19100 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19101 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19102 entries for 10^2^13 and 10^2^14.
19103 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19104 (TENS_P13_IDX): Define.
19105 (TENS_P13_SIZE): Likewise.
19106 (TENS_P14_IDX): Likewise.
19107 (TENS_P14_SIZE): Likewise.
19108 (_fpioconst_pow10): Change array size to
19109 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19110 unconditional.
19111 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19112 1024]: Add entries for 10^2^13 and 10^2^14.
19113 [LAST_POW10 > _LAST_POW10]: Remove #error.
19114 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19115 (_fpioconst_pow10): Change array size to
19116 FPIOCONST_POW10_ARRAY_SIZE.
19117 * stdlib/gen-fpioconst.c: New file.
19118 * stdlib/gen-tst-strtod-round.c: Likewise.
19119 * stdlib/tst-strtod-round-data: Likewise.
19120 * stdlib/tst-strtod-round.c: Likewise.
19121 * stdlib/Makefile (tests): Add tst-strtod-round.
19122
d6e70f43
JM
19123 [BZ #14459]
19124 * stdlib/strtod_l.c: Include <stdint.h>.
19125 (NDEBUG): Do not define.
19126 (round_and_return): Change EXPONENT parameter to type intmax_t.
19127 Rearrange calculations to avoid internal overflow possibilities.
19128 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19129 Rearrange calculations to avoid internal overflow possibilities.
19130 Assert that number fits inside MPNSIZE limbs.
19131 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19132 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19133 calculations and add assertions to avoid internal overflow
19134 possibilities. Add casts to avoid signed/unsigned operations.
19135 * stdlib/tst-strtod-overflow.c: New file.
19136 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19137
1f529f7d
MP
191382012-08-25 Marek Polacek <polacek@redhat.com>
19139
19140 * time/time.h: Fix some typos in comments.
19141
59a629f1
RM
191422012-08-23 Roland McGrath <roland@hack.frob.com>
19143
19144 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19145 * posix/tst-rfc3484-2.c: Likewise.
19146 * posix/tst-rfc3484-3.c: Likewise.
19147
d3bafbc9
SM
191482012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19149
19150 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19151 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19152
4efcc022
JM
191532012-08-23 Joseph Myers <joseph@codesourcery.com>
19154
19155 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19156 #include of fxstatat64.c.
19157
3cc3ef96
RM
191582012-08-22 Roland McGrath <roland@hack.frob.com>
19159
f04e2132
RM
19160 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19161 * shadow/getspent_r.c: Likewise.
19162 * shadow/getspnam.c: Likewise.
19163 * shadow/getspnam_r.c: Likewise.
19164 * gshadow/getsgent.c: Likewise.
19165 * gshadow/getsgent_r.c: Likewise.
19166 * gshadow/getsgnam.c: Likewise.
19167 * gshadow/getsgnam_r.c: Likewise.
19168 * inet/getnetbyad.c: Likewise.
19169 * inet/getnetbyad_r.c: Likewise.
19170 * inet/getnetbynm.c: Likewise.
19171 * inet/getnetbynm_r.c: Likewise.
19172 * inet/getnetent.c: Likewise.
19173 * inet/getnetent_r.c: Likewise.
19174 * inet/getproto.c: Likewise.
19175 * inet/getproto_r.c: Likewise.
19176 * inet/getprtent.c: Likewise.
19177 * inet/getprtent_r.c: Likewise.
19178 * inet/getprtname.c: Likewise.
19179 * inet/getprtname_r.c: Likewise.
19180 * inet/getrpcbyname.c: Likewise.
19181 * inet/getrpcbyname_r.c: Likewise.
19182 * inet/getrpcbynumber.c: Likewise.
19183 * inet/getrpcbynumber_r.c: Likewise.
19184 * inet/getrpcent.c: Likewise.
19185 * inet/getrpcent_r.c: Likewise.
19186 * inet/getaliasent.c: Likewise.
19187 * inet/getaliasent_r.c: Likewise.
19188 * inet/getaliasname.c: Likewise.
19189 * inet/getaliasname_r.c: Likewise.
19190 * nscd/getgrgid_r.c: Likewise.
19191 * nscd/getgrnam_r.c: Likewise.
19192 * nscd/gethstbyad_r.c: Likewise.
19193 * nscd/gethstbynm3_r.c: Likewise.
19194 * nscd/getpwnam_r.c: Likewise.
19195 * nscd/getpwuid_r.c: Likewise.
19196 * nscd/getsrvbynm_r.c: Likewise.
19197 * nscd/getsrvbypt_r.c: Likewise.
19198 * nscd/gai.c: Likewise.
19199
c53d909c
RM
19200 * configure.in (build_nscd): New substituted variable, set
19201 by --disable-build-nscd and defaults to $use_nscd.
19202 * configure: Regenerated.
19203 * config.make.in (build-nscd): New substituted variable.
19204 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19205 Change conditional to require [$(build-nscd) = yes] as well.
19206 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19207
3cc3ef96
RM
19208 [BZ# 13696]
19209 * configure.in (use_nscd): New substituted variable, set by
19210 --disable-nscd. If enabled, define USE_NSCD.
19211 * configure: Regenerated.
19212 * config.h.in: Add USE_NSCD.
19213 * config.make.in (use-nscd): New substituted variable.
19214 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19215 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19216 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19217 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19218 (CFLAGS-getgrnam_r.c): Likewise.
19219 (CFLAGS-initgroups.c): Likewise.
19220 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19221 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19222 Variables removed.
19223 * inet/getnetgrent_r.c
19224 (nscd_setnetgrent): New function, broken out of ...
19225 (setnetgrent): ... here. Call it.
19226 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19227 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19228 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19229 * nscd/Makefile (routines, aux): Move definitions after include of
19230 Makeconfig. Conditionalize on [$(use-nscd) != no].
19231 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19232 Conditionalize on [USE_NSCD].
19233 (is_nscd, nscd_init_cb): Likewise.
19234 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19235 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19236 * nss/nss_db/db-init.c: Likewise.
19237 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19238 [USE_NSCD].
19239 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19240 (make_request): Use it.
19241 (cache_valid_p): New function.
19242 (__check_pf): Use it.
19243 * NEWS: Add item for --disable-nscd.
19244
07e51550
DL
192452012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19246
19247 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19248 to support sed >= 4.2.1-20-ga9bf076.
19249 * configure: Regenerated.
19250
35a5b08b
RM
192512012-08-22 Roland McGrath <roland@hack.frob.com>
19252
19253 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19254 Conditionalize whole body on [IREL].
19255
8479f23a
JL
192562012-08-22 Jeff Law <law@redhat.com>
19257
19258 [BZ #14505]
19259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19260 if the family is PF_UNSPEC.
19261
48da0b21
MF
192622012-08-22 Mike Frysinger <vapier@gentoo.org>
19263
19264 * Makerules (lib-version): Rename from V.
19265 (install-lib-nosubdir): Change V to lib-version.
19266
15d0da8c
WS
192672012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19268
19269 [BZ #14252]
19270 * powerpc32/power6/wcschr.c: New file.
19271 * powerpc32/power6/wcscpy.c: New file.
19272 * powerpc32/power6/wcsrchr.c: New file.
19273 * powerpc64/power6/wcschr.c: New file.
19274 * powerpc64/power6/wcscpy.c: New file.
19275 * powerpc64/power6/wcsrchr.c: New file.
19276
bcca0895
MK
192772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19278
19279 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19280 (two_way_short_needle): Use it.
5a4aaa33
RM
19281 * string/strstr.c (AVAILABLE1_USES_J): Define.
19282 * string/strcasestr.c: Likewise.
99677e57
MK
19283
19284 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19285 array references.
19286 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19287
400726de
MK
19288 [BZ #11607]
19289 * NEWS: Add an entry.
19290 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19291 define their defaults.
19292 (two_way_short_needle): Detect end-of-string on-the-fly.
19293 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19294 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19295 * string/bug-strcasestr1.c: New test.
19296 * string/Makefile: Run it.
19297
20a71f2c
MK
192982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19299
19300 [BZ #11607]
19301 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19302 the first character.
19303
21ad0558
RM
193042012-08-21 Roland McGrath <roland@hack.frob.com>
19305
19306 * csu/elf-init.c (__libc_csu_irel): Function removed.
19307 * csu/libc-start.c (apply_irel): New function.
19308 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19309
0e1d9911
JM
193102012-08-21 Joseph Myers <joseph@codesourcery.com>
19311
19312 * sysdeps/unix/sysv/linux/kernel-features.h
19313 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19314 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19315 <kernel-features.h>.
19316 [__NR_fadvise64_64]: Make code unconditional.
19317 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19318 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19319 !__NR_fadvise64_64)]: Likewise.
19320 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19321 !__NR_fadvise64_64))]: Likewise.
19322 [__NR_fadvise64]: Make code unconditional.
19323 [!__NR_fadvise64]: Remove conditional code.
19324 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19325 <kernel-features.h>.
19326 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19327 unconditional.
19328 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19329 conditional code.
19330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19331 not include <kernel-features.h>.
19332 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19333 unconditional.
19334 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19335 conditional code.
19336 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19337 include <kernel-features.h>.
19338 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19339 unconditional.
19340 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19341 conditional code.
19342
14a50c9d
WS
193432012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19344
19345 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19346 slight instruction rearrangements per scrollpipe analysis.
19347 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19348
c0f4faf0
RM
193492012-08-20 Roland McGrath <roland@hack.frob.com>
19350
696da859
RM
19351 * manual/syslog.texi (syslog; vsyslog, closelog):
19352 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19353 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19354
c0f4faf0
RM
19355 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19356 DSOCAPS to match condition on defining it.
19357
348363b2
JM
193582012-08-20 Joseph Myers <joseph@codesourcery.com>
19359
a35cbf28
JM
19360 * sysdeps/unix/sysv/linux/kernel-features.h
19361 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19363 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19364 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19366 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19367 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19369 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19370 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19371
445f7ecd
JM
19372 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19373 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19374
348363b2
JM
19375 * sysdeps/unix/sysv/linux/kernel-features.h
19376 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19377 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19378 unconditional.
19379 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19380 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19381 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19382 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19383 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19384 Make code unconditional.
19385 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19386 (__mmap64) [!__NR_mmap2]: Likewise.
19387 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19388 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19389 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19390 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19391 [__NR_mmap2]: Make code unconditional.
19392 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19393 (__mmap64) [!__NR_mmap2]: Likewise.
19394
bc5bc0e5
AK
193952012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19396
19397 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19398
88d506de
AJ
193992012-08-18 Andreas Jaeger <aj@suse.de>
19400
19401 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19402
493387d2
MF
194032012-08-18 Mike Frysinger <vapier@gentoo.org>
19404
19405 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19406 * include/unistd.h (__have_sock_cloexec): Likewise.
19407 (__have_pipe2): Likewise.
19408 (__have_dup3): Likewise.
19409
a277af22
MF
194102012-08-18 Mike Frysinger <vapier@gentoo.org>
19411
19412 [BZ #9685]
19413 * include/unistd.h (__have_pipe2): Change define into an extern int.
19414 (__have_dup3): Likewise.
19415 * socket/have_sock_cloexec.c: Include fcntl.h.
19416 (__have_pipe2): New variable.
19417 (__have_dup3): Likewise.
19418
fdab8fd3
MF
194192012-08-17 Mike Frysinger <vapier@gentoo.org>
19420
19421 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19422
31035e80
MP
194232012-08-17 Marek Polacek <polacek@redhat.com>
19424
19425 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19426 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19427
3bd9e993
RM
194282012-08-17 Roland McGrath <roland@hack.frob.com>
19429
c91c505f
RM
19430 * configure.in: Add AC_SUBST for sysheaders.
19431 * configure: Regenerated.
19432 * config.make.in (sysheaders): New substituted variable.
19433
7c6f9d53
RM
19434 * sysdeps/unix/mkfifo.c: Moved ...
19435 * sysdeps/posix/mkfifo.c: ... here.
19436 * sysdeps/unix/mkfifoat.c: Moved ...
19437 * sysdeps/posix/mkfifoat.c: ... here.
19438
19439 * sysdeps/unix/utime.c: Moved ...
19440 * sysdeps/posix/utime.c: ... here.
19441
19442 * sysdeps/unix/time.c: Moved ...
19443 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19444 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19445 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19446
19447 * sysdeps/unix/nice.c: Moved ...
19448 * sysdeps/posix/nice.c: ... here.
19449
19450 * sysdeps/unix/alarm.c: Moved ...
19451 * sysdeps/posix/alarm.c: ... here.
19452
3bd9e993
RM
19453 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19454
d1f09384
JL
194552012-08-17 Jeff Law <law@redhat.com>
19456
19457 * intl/Makefile (codeset_mo): New variable.
19458 ($(codeset_mo)): New target.
19459 (tst-codeset.out): Depend on that. Remove explicit rule.
19460 (tst-gettext3.out, tst-gettext5.out): Likewise.
19461 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19462 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19463 * intl/tst-codeset.sh: Remove.
19464 * intl/tst-gettext3.sh: Likewise.
19465 * intl/tst-gettext5.sh: Likewise.
19466
2ae1ae5c
RM
194672012-08-17 Roland McGrath <roland@hack.frob.com>
19468
c31fdb83
RM
19469 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19470 * sysdeps/unix/syscalls.list: ... here.
19471
a0844057
RM
19472 * sysdeps/posix/getaddrinfo.c
19473 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19474 (gaiconf_init, gaiconf_reload): Use them.
19475 [!_STATBUF_ST_NSEC]
19476 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19477 Define using time_t rather than struct timespec.
19478
750c1f2a
RM
19479 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19480 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19481 Macros removed.
19482 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19483 [!NO_THREADS].
19484 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19485 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19486 Likewise.
19487
2ae1ae5c
RM
19488 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19489 __libc_cleanup_push argument.
19490
e66a42f5
RM
19491 * bits/param.h: New file.
19492 * misc/sys/param.h: New file.
19493 * include/sys/param.h: New file.
19494 * misc/Makefile (headers): Add bits/param.h.
19495 * sysdeps/generic/sys/param.h: File removed.
19496 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19497 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19498 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19499 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19500
b7c08a66
RM
19501 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19502 last change.
19503
b2e1c562
RM
19504 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19505 [_IO_MTSAFE_IO].
19506 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19507 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19508 New macros.
19509
c75ccd4c
RM
19510 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19511 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19512 rather than -D_IO_MTSAFE_IO conditionally.
19513 * stdio-common/Makefile (CPPFLAGS): Likewise.
19514 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19515 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19516 Use $(libio-mtsafe).
19517 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19518 of -D_IO_MTSAFE_IO.
19519 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19520 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19521 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19522 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19523 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19524 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19525 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19526 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19527 (CFLAGS-fread_u_chk.c): Likewise.
19528 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19529 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19530 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19531 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19532 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19533 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19534 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19535 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19536 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19537
19538 * libio/Makefile: Test [$(libc-reentrant) = yes]
19539 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19540
19541 * Makeconfig
19542 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19543 * sysdeps/pthread/configure: File removed.
19544 * sysdeps/pthread/Makeconfig: New file.
19545 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19546 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19547
d9195db8
GB
195482012-08-16 Gary Benson <gbenson@redhat.com>
19549
19550 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19551 unmapping the first object in a namespace.
19552
86466cd9
RM
195532012-08-16 Roland McGrath <roland@hack.frob.com>
19554
19555 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19556 (__internal_setnetgrent): ... this. Add internal_function to
19557 definition. Add libc_hidden_def.
19558 (setnetgrent): Update caller.
19559 (internal_endnetgrent): Renamed to ...
19560 (__internal_endnetgrent): ... this. Add internal_function to
19561 definition. Add libc_hidden_def.
19562 (endnetgrent): Update caller.
19563 (internal_getnetgrent_r): Renamed to ...
19564 (__internal_getnetgrent_r): ... this. Add internal_function to
19565 definition. Add libc_hidden_def.
19566 (__getnetgrent_r): Update caller.
19567 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19568
c3c8283c
JM
195692012-08-16 Joseph Myers <joseph@codesourcery.com>
19570
19571 * stdlib/longlong.h: Update from GCC.
19572
db1ee0a8
RM
195732012-08-16 Roland McGrath <roland@hack.frob.com>
19574
19575 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19576 on _QL, which is set by umul_ppmm but never used.
19577 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19578 variables, which are set by GMP macros but never used.
19579 * stdio-common/_itowa.c (_itowa): Likewise.
19580 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19581 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19582
30f69637
CD
195832012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19584
19585 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19586 struct La_sh_regs is not constant.
19587 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19588 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19589 and struct La_sparc64_regs are not constant.
19590
93a78ac4
JM
195912012-08-16 Joseph Myers <joseph@codesourcery.com>
19592
19593 * sysdeps/unix/sysv/linux/kernel-features.h
19594 (__ASSUME_POSIX_TIMERS): Remove.
19595 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19596 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19597 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19598 Make code unconditional.
19599 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19600 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19601 Make code unconditional.
19602 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19603 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19604 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19605 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19606 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19607 Make code unconditional.
19608 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19609 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19610 (__libc_missing_posix_timers): Remove.
19611
dd924cd7
RM
196122012-08-15 Roland McGrath <roland@hack.frob.com>
19613
4b4f2771
RM
19614 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19615 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19616
601c888b
RM
19617 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19618
176790a7
RM
19619 * elf/dl-sym.c: Include <stdlib.h>.
19620
329bc018
RM
19621 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19622 constants, which avoids warnings in 32-bit builds.
19623
e04e272d
RM
19624 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19625 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19626
952bf94a
RM
19627 * misc/lseek.c: File moved to ...
19628 * io/lseek.c: ... here.
19629
7c99b50a
RM
19630 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19631
dd924cd7
RM
19632 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19633 shifting LEN more than 31 bits at once.
19634
b3f479a8
LD
196352012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19636
19637 [BZ #14195]
8c4ae0d4
RM
19638 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19639 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19640 * string/test-strncasecmp.c (check1): Renamed to...
19641 (bz12205): ...this.
19642 (bz14195): Add new testcase for two empty input strings and N > 0.
19643 (test_main): Call new testcase, adapt for renamed function.
19644
9c55864e
AJ
196452012-08-15 Andreas Jaeger <aj@suse.de>
19646
19647 [BZ #14090]
19648 * crypt/md5test2.c: New test, based on test supplied by Serge
19649 Belyshev <belyshev@depni.sinp.msu.ru>.
19650 * crypt/Makefile (xtests): Add md5test-giant..
19651 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19652
02dcb6c5
PE
196532012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19654
19655 [BZ #14090]
19656 * crypt/md5.c (md5_process_block): Don't assume the buffer
19657 length is less than 2**32.
19658 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19659 length is less than 2**64.
19660
a3f95dcc
RM
196612012-08-15 Roland McGrath <roland@hack.frob.com>
19662
be75d758
RM
19663 * string/str-two-way.h: Include <sys/param.h>.
19664 (MAX): Macro removed.
19665
7312ca90
RM
19666 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19667 Move #define and #undef of memmove to just before and after
19668 including <string.h>.
19669
9a0a5486
RM
19670 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19671 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19672 and after including <string.h>. Move declarations of
19673 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19674 to before #include "string/memmove.c".
19675
67cc348d
RM
19676 * include/dirent.h: Declare __getdirentries.
19677
a3f95dcc
RM
19678 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19679 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19680
ca98e171
MF
196812012-08-14 Mike Frysinger <vapier@gentoo.org>
19682
19683 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19684 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19685 * sysdeps/i386/configure: Regenerated.
19686 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19687 STABS_CURRENT_FILE, and STABS_FUN.
19688 (END): Remove call to STABS_FUN_END.
19689 (STABS_CURRENT_FILE1): Delete.
19690 (STABS_CURRENT_FILE): Likewise.
19691 (STABS_FUN): Likewise.
19692 (STABS_FUN_END): Likewise.
19693 (STABS_FUN2): Likewise.
19694 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19695 * sysdeps/x86_64/configure: Regenerated.
19696
5908bf46
RM
196972012-08-14 Roland McGrath <roland@hack.frob.com>
19698
19699 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19700 * elf/dl-lookup.c: Likewise.
5908bf46 19701
f2c05b9e
JM
197022012-08-14 Joseph Myers <joseph@codesourcery.com>
19703
19704 * sysdeps/unix/sysv/linux/kernel-features.h
19705 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19706 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19707 unconditionally.
19708 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19709 unconditionally.
19710 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19711 condition on __ASSUME_CLONE_THREAD_FLAGS.
19712
e11f5155
AJ
197132012-08-14 Andreas Jaeger <aj@suse.de>
19714
19715 * sysdeps/i386/fpu/libm-test-ulps: Update.
19716
51a9ba86
MK
197172012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19718
2fdd4f78
AJ
19719 * include/atomic.h (atomic_exchange_and_add): Split into ...
19720 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19721 New atomic macros.
51a9ba86 19722
ba6cba9e
MT
197232012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19724
19725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19726
42443a47
JL
197272012-08-13 Jeff Law <law@redhat.com>
19728
19729 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19730 null byte in the output string.
19731
121dce05
JM
197322012-08-10 Joseph Myers <joseph@codesourcery.com>
19733
19734 * sysdeps/unix/sysv/linux/kernel-features.h
19735 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19736 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19737 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19738 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19739 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19740 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19741 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19742
bf51f568
JL
197432012-08-09 Jeff Law <law@redhat.com>
19744
19745 [BZ #13939]
19746 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19747 When avoid_arena is set, don't retry in the that arena. Pick the
19748 next one, whatever it might be.
19749 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19750 (arena_lock): Pass in new parameter to arena_get2.
19751 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19752 arena_get2.
19753 (__libc_malloc): Unify retrying after main arena failure with
19754 __libc_memalign version.
19755 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19756
f85fa270
L
197572012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19758
19759 [BZ #14166]
19760 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19761 to __redirect_strstr.
19762 (__strstr_sse42): Use typeof __redirect_strstr.
19763 (__strstr_ia32): Likewise.
19764 (__libc_strstr): New prototype.
19765 (strstr): Renamed to ...
19766 (__libc_strstr): This.
19767 (strstr): New strong alias of __libc_strstr.
19768 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19769 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19770 __redirect_time.
19771 Include <time.h>.
19772 (__libc_time): New prototype.
19773 (time_ifunc): Replace time with __libc_time.
19774 (time): New strong alias and hidden definition of __libc_time.
19775 (__GI_time): Remove strong alias.
19776 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19777 Include <stddef.h>.
19778 (memmove): Redefined to __redirect_memmove.
19779 (__memmove_sse2): Use typeof __redirect_memmove.
19780 (__memmove_ssse3): Likewise.
19781 (__memmove_ssse3_back): Likewise.
19782 (__libc_memmove): New prototype.
19783 (memmove): Renamed to ...
19784 (__libc_memmove): This.
19785 (memmove): New strong alias of __libc_memmove.
19786
33b4a91e
MS
197872012-08-08 Mark Salter <msalter@redhat.com>
19788
19789 * elf/elf.h
19790 (R_MN10300_TLS_GD): Define.
19791 (R_MN10300_TLS_LD): Likewise.
19792 (R_MN10300_TLS_LDO): Likewise.
19793 (R_MN10300_TLS_GOTIE): Likewise.
19794 (R_MN10300_TLS_IE): Likewise.
19795 (R_MN10300_TLS_LE): Likewise.
19796 (R_MN10300_TLS_DTPMOD): Likewise.
19797 (R_MN10300_TLS_DTPOFF): Likewise.
19798 (R_MN10300_TLS_TPOFF): Likewise.
19799 (R_MN10300_SYM_DIFF): Likewise.
19800 (R_MN10300_ALIGN): Likewise.
19801 (R_MN10300_NUM): Update.
19802
b36137f1
JM
198032012-08-08 Joseph Myers <joseph@codesourcery.com>
19804
19805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19806 Remove.
19807
cdd915fd
RM
198082012-08-08 Roland McGrath <roland@hack.frob.com>
19809
a2433aac
RM
19810 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19811
cdd915fd
RM
19812 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19813 sysdeps/unix -> sysdeps/posix move.
19814 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19815
bf9b740a
AM
198162012-08-07 Allan McRae <allan@archlinux.org>
19817
19818 [BZ #14303]
19819 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19820 (SUNOS_CPP): Likewise.
19821 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19822 not found.
19823 (open_input): Call CPP using execvp.
19824
93df14ee
JM
198252012-08-07 Joseph Myers <joseph@codesourcery.com>
19826
19827 * sysdeps/unix/sysv/linux/kernel-features.h
19828 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19829 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19830 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19831 (__ASSUME_WAITID_SYSCALL): Likewise.
19832 * sysdeps/unix/sysv/linux/dl-execstack.c
19833 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19834 code unconditional.
19835 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19836 conditional code.
19837 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19838 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19839 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19840 code.
19841 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19842 unconditional.
19843 [__ASSUME_WAITID_SYSCALL]: Likewise.
19844 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19845
d34689de
RM
198462012-08-07 Roland McGrath <roland@hack.frob.com>
19847
a281decc
RM
19848 * sysdeps/unix/closedir.c: Renamed to ...
19849 * sysdeps/posix/closedir.c: ... here.
19850 * sysdeps/unix/dirfd.c: Renamed to ...
19851 * sysdeps/posix/dirfd.c: ... here.
19852 * sysdeps/unix/dirstream.h: Renamed to ...
19853 * sysdeps/posix/dirstream.h: ... here.
19854 * sysdeps/unix/fdopendir.c: Renamed to ...
19855 * sysdeps/posix/fdopendir.c: ... here.
19856 * sysdeps/unix/opendir.c: Renamed to ...
19857 * sysdeps/posix/opendir.c: ... here.
19858 * sysdeps/unix/readdir.c: Renamed to ...
19859 * sysdeps/posix/readdir.c: ... here.
19860 * sysdeps/unix/readdir_r.c: Renamed to ...
19861 * sysdeps/posix/readdir_r.c: ... here.
19862 * sysdeps/unix/rewinddir.c: Renamed to ...
19863 * sysdeps/posix/rewinddir.c: ... here.
19864 * sysdeps/unix/seekdir.c: Renamed to ...
19865 * sysdeps/posix/seekdir.c: ... here.
19866 * sysdeps/unix/telldir.c: Renamed to ...
19867 * sysdeps/posix/telldir.c: ... here.
19868 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19869 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19870 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19871 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19872
22895b47
RM
19873 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19874 * bits/fcntl.h: ... here.
19875
707a53b6
RM
19876 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19877 not 0.
19878 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19879 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19880 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19881 (struct flock): Move l_start, l_len to the beginning.
19882 Use __pid_t for l_pid.
19883 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19884 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19885 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19886 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19887 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19888 [__USE_LARGEFILE64] (struct flock64): New type.
19889 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19890
f0bd3e25
RM
19891 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19892 * bits/dirent.h: ... here.
19893
d34689de
RM
19894 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19895 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19896
6dad2c06
JM
198972012-08-07 Joseph Myers <joseph@codesourcery.com>
19898
19899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19900 Change from 2.6.0 to 2.6.16.
19901 * sysdeps/unix/sysv/linux/configure: Regenerated.
19902 * sysdeps/unix/sysv/linux/kernel-features.h
19903 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19904 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19905 version.
19906 (__ASSUME_UTIMES): Likewise.
19907 (__ASSUME_CLONE_STOPPED): Remove.
19908 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19909 architectures, not kernel version.
19910 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19911 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19912 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19913 (__ASSUME_WAITID_SYSCALL): Likewise.
19914 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19915 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19916 * README: State 2.6.16 as minimum Linux kernel version. Do not
19917 refer to older versions.
19918
03af9520
RM
199192012-08-06 Roland McGrath <roland@hack.frob.com>
19920
8e49df1d
RM
19921 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19922 Define alphasort64 as an alias.
19923 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19924 Define versionsort64 as an alias.
19925 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19926 Define scandir64 as an alias.
19927 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19928 Define scandirat64 as an alias.
19929 * dirent/alphasort64.c (alphasort64):
19930 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19931 * dirent/versionsort64.c: Likewise.
19932 * dirent/scandir64.c: Likewise.
19933 * dirent/scandirat64.c: Likewise.
19934 * sysdeps/wordsize-64/alphasort.c: File removed.
19935 * sysdeps/wordsize-64/alphasort64.c: File removed.
19936 * sysdeps/wordsize-64/scandir.c: File removed.
19937 * sysdeps/wordsize-64/scandir64.c: File removed.
19938 * sysdeps/wordsize-64/scandirat.c: File removed.
19939 * sysdeps/wordsize-64/scandirat64.c: File removed.
19940 * sysdeps/wordsize-64/versionsort.c: File removed.
19941 * sysdeps/wordsize-64/versionsort64.c: File removed.
19942 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19943 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19944 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19945 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19946 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19947 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19948 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19949 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19950
19951 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19953 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19955 [defined __arch64__ || defined __sparcv9]
19956 (__INO_T_MATCHES_INO64_T): New macro.
19957 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19958 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19959 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19960 * sysdeps/unix/sysv/linux/bits/dirent.h
19961 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19962 (_DIRENT_MATCHES_DIRENT64): New macro.
19963
03af9520
RM
19964 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19965 Define lockf64 as an alias.
19966 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19967 Define fseeko64 as an alias.
19968 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19969 Define ftello64 as an alias.
19970 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19971 Define _IO_fgetpos64 and fgetpos64 as aliases.
19972 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19973 Define _IO_fsetpos64 and fsetpos64 as aliases.
19974 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19975 Conditionalize body on this.
19976 * libio/fseeko64.c: Likewise.
19977 * libio/ftello64.c: Likewise.
19978 * libio/iofgetpos64.c: Likewise.
19979 * libio/iofsetpos64.c: Likewise.
19980 * sysdeps/wordsize-64/lockf.c: File removed.
19981 * sysdeps/wordsize-64/lockf64.c: File removed.
19982 * sysdeps/wordsize-64/fseeko.c: File removed.
19983 * sysdeps/wordsize-64/fseeko64.c: File removed.
19984 * sysdeps/wordsize-64/ftello.c: File removed.
19985 * sysdeps/wordsize-64/ftello64.c: File removed.
19986 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19987 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19988 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19989 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19990 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19991 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19992 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19994 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19996 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19998 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19999 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20000
20001 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20003 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20005 [defined __arch64__ || defined __sparcv9]
20006 (__OFF_T_MATCHES_OFF64_T): New macro.
20007 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20008 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20010 (__OFF_T_MATCHES_OFF64_T): New macro.
20011
c5757acd
L
200122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20013
20014 * stdlib/secure-getenv.c (__secure_getenv): Replace
20015 GLIBC_2_16 with GLIBC_2_17.
20016
3a31811e
L
200172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20018
20019 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20020 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20021
faa2bccb
DM
200222012-08-03 David S. Miller <davem@davemloft.net>
20023
20024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20025
85fe1997
JM
200262012-08-03 Joseph Myers <joseph@codesourcery.com>
20027
20028 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20029 Remove.
20030 (__ASSUME_CORRECT_SI_PID): Likewise.
20031 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20032 (__ASSUME_TMPFS_NAME): Likewise.
20033 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20034 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20035 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20036 (HAVE_AUX_SECURE): Make definition unconditional.
20037 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20038 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20039
4f75b7a0
RM
200402012-08-03 Roland McGrath <roland@hack.frob.com>
20041
20042 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20043 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20044 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20045 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20046 __eloop_threshold instead of SYMLOOP_MAX.
20047
20048 * sysdeps/generic/eloop-threshold.h: New file.
20049 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20050 of MAXSYMLINKS.
20051 * elf/chroot_canon.c (chroot_canon): Likewise.
20052
7aab07e4
JM
200532012-08-03 Joseph Myers <joseph@codesourcery.com>
20054
20055 [BZ #13717]
20056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20057 Change to 2.6.0 everywhere.
20058 * sysdeps/unix/sysv/linux/configure: Regenerated.
20059 * sysdeps/unix/sysv/linux/kernel-features.h
20060 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20061 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20062 kernel versions.
20063 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20064 (__ASSUME_FUTEX_REQUEUE): Remove.
20065 (__ASSUME_STATFS64): Define unconditionally.
20066 (__ASSUME_AT_SECURE): Likewise.
20067 (__ASSUME_CORRECT_SI_PID): Likewise.
20068 (__ASSUME_TGKILL): Define without depending on kernel version for
20069 i386.
20070 (__ASSUME_UTIMES): Likewise.
20071 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20072 kernel version.
20073 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20074 (__ASSUME_TMPFS_NAME): Likewise.
20075 * README: Update reference to Linux kernel versions.
20076
b67e9372
MP
200772012-08-02 Marek Polacek <polacek@redhat.com>
20078
1f529f7d 20079 [BZ# 14150]
b67e9372
MP
20080 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20081 libc_cv_asm_type_prefix with %.
20082 * configure: Regenerated.
d2441631
RM
20083 * include/libc-symbols.h: Remove comment about
20084 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20085 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20086 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20087 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20088 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20089 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20090 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20091 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20092 * elf/tst-unique2mod1.c: Likewise.
20093 * elf/tst-unique1mod2.c: Likewise.
20094 * elf/tst-unique1mod1.c: Likewise.
20095 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20096 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20097 Replace ASM_TYPE_DIRECTIVE with .type.
20098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20099 * sysdeps/i386/sysdep.h: Likewise.
20100 * sysdeps/x86_64/sysdep.h: Likewise.
20101 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20103 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20104 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20105 * sysdeps/powerpc/powerpc32/sysdep.h:
20106 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20107 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20108 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20109 * sysdeps/i386/fpu/e_powf.S: Likewise.
20110 * sysdeps/i386/fpu/e_expl.S: Likewise.
20111 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20112 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20113 * sysdeps/i386/fpu/e_pow.S: Likewise.
20114 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20115 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20116 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20117 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20118 * sysdeps/i386/fpu/e_log2.S: Likewise.
20119 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20120 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20121 * sysdeps/i386/fpu/e_powl.S: Likewise.
20122 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20123 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20124 * sysdeps/i386/fpu/e_logl.S: Likewise.
20125 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20126 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20127 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20128 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20129 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20130 * sysdeps/i386/fpu/e_log.S: Likewise.
20131 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20132 * sysdeps/i386/fpu/e_logf.S: Likewise.
20133 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20134 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20135 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20136 * sysdeps/i386/fpu/e_log10.S: Likewise.
20137 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20138 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20139 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20140 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20141 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20142 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20143 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20144 * sysdeps/i386/i686/strtok.S: Likewise.
20145 * sysdeps/i386/i386-mcount.S: Likewise.
20146 * sysdeps/i386/strtok.S: Likewise.
20147 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20148 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20149 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20150 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20151 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20152 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20153 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20154 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20155 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20156 * sysdeps/x86_64/_mcount.S: Likewise.
20157 * sysdeps/x86_64/strtok.S: Likewise.
20158 * sysdeps/sh/_mcount.S: Likewise.
20159
2747bf9a
RM
201602012-08-01 Roland McGrath <roland@hack.frob.com>
20161
20162 * libio/iofopen.c: Include <fcntl.h>.
20163 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20164 (_IO_fopen64, fopen64): Define as aliases.
20165 * libio/iofopen64.c: Include <fcntl.h>.
20166 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20167 Conditionalize body on this.
20168 * sysdeps/wordsize-64/iofopen.c: File removed.
20169 * sysdeps/wordsize-64/iofopen64.c: File removed.
20170
3fb791b8
MP
201712012-08-01 Marek Polacek <polacek@redhat.com>
20172
20173 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20174 Use dlfcn directly instead of a variable.
20175 (binfmt-subdir): Do not define.
20176 (dlfcn): Likewise.
20177
a9f1039f
JM
201782012-08-01 Joseph Myers <joseph@codesourcery.com>
20179
23bddc06
JM
20180 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20181 Remove all definitions.
20182 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20183 <kernel-features.h>.
20184 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20185 (miss_F_GETOWN_EX): Remove all definitions.
20186 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20187 macro definition.
20188 [!__ASSUME_FCNTL64]: Remove conditional code.
20189 [__ASSUME_FCNTL64]: Make code unconditional.
20190 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20191 <kernel-features.h>.
20192 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20193 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20194 (lockf64) [__NR_fcntl64]: Make code unconditional.
20195 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20196
a9f1039f
JM
20197 * sysdeps/unix/sysv/linux/kernel-features.h
20198 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20199 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20200 Make code unconditional.
20201 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20202 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20204 [__NR_vfork]: Make code unconditional.
20205 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20206 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20208 [__NR_vfork]: Make code unconditional.
20209 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20210 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20211
09c0ee5f
RM
202122012-08-01 Roland McGrath <roland@hack.frob.com>
20213
48aec5b9
RM
20214 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20215 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20216
cd97c966
RM
20217 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20218 Define mkstemp64 as an alias.
3f55550c
RM
20219 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20220 Define mkstemps64 as an alias.
cd97c966
RM
20221 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20222 Define mkostemp64 as an alias.
b8625cfc
RM
20223 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20224 Define mkostemps64 as an alias.
cd97c966
RM
20225 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20226 Conditionalize body on this.
20227 * misc/mkostemp64.c: Likewise.
b8625cfc 20228 * misc/mkostemps64.c: Likewise.
3f55550c 20229 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20230 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20231 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20232 * sysdeps/wordsize-64/mkostemp.c: File removed.
20233 * sysdeps/wordsize-64/mkstemp.c: File removed.
20234 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20235 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20236 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20237 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20238
09c0ee5f
RM
20239 [BZ #14138]
20240 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20241 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20242 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20243 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20244
20245 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20246 compat_symbol macros from <shlib-compat.h> rather than the underlying
20247 default_symbol_version and symbol_version macros, so that DEFAULT
20248 lines in shlib-versions are respected.
20249 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20250
7e66ee51
FW
202512012-08-01 Florian Weimer <fweimer@redhat.com>
20252
20253 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20254 Declare with warn_unused_result.
20255 (setgid, setregid, setegid, setresgid): Likewise.
20256 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20257 Likewise.
20258 * WUR-REPORT: Remove set*id functions.
20259
d2a54255
PT
202602012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20261
20262 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20263
7ecdb005
RM
202642012-07-31 Roland McGrath <roland@hack.frob.com>
20265
b4180a5e 20266 [BZ #10191]
789bd351
RM
20267 * include/sys/socket.h (__libc_accept, __libc_accept4):
20268 Add attribute_hidden.
20269 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20270
40ce302d
RM
20271 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20272 use of PTR_MANGLE.
20273 * inet/getnetgrent_r.c (setup): Likewise.
20274
7ecdb005
RM
20275 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20276
e2eabb2c
DM
202772012-07-31 David S. Miller <davem@davemloft.net>
20278
20279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20280
d0419dbf
JM
202812012-07-31 Joseph Myers <joseph@codesourcery.com>
20282
20283 [BZ #13629]
20284 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20285 value between 1.0 and 2.0 and smaller part has absolute value less
20286 than 1.0.
20287 * math/s_clog10.c (__clog10): Likewise.
20288 * math/s_clog10f.c (__clog10f): Likewise.
20289 * math/s_clog10l.c (__clog10l): Likewise.
20290 * math/s_clogf.c (__clogf): Likewise.
20291 * math/s_clogl.c (__clogl): Likewise.
20292 * math/libm-test.inc (clog_test): Add more tests.
20293 (clog10_test): Likewise.
20294 * sysdeps/i386/fpu/libm-test-ulps: Update.
20295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296
2bc13872
FW
202972012-07-31 Florian Weimer <fweimer@redhat.com>
20298
20299 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20300 Exit with zero in case no suitable GID is found, and write a
20301 message to standard error.
20302
bea9b193
RM
203032012-07-30 Roland McGrath <roland@hack.frob.com>
20304
20305 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20306 rather than to 1.
20307 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20308 (MAXPATHLEN): Removed.
20309 (NOGROUP, NODEV): New macros.
20310 (setbit, clrbit, isset, isclr): New macros.
20311 (howmany, roundup, powerof2): New macros.
20312 (DEV_BSIZE): New macro.
20313
20314 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20315 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20316
20317 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20318 definition on [!__NO_LONG_DOUBLE_MATH].
20319
20320 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20321 PTR_MANGLE and PTR_DEMANGLE.
20322
20323 * socket/accept4.c (accept4): Rename to __libc_accept4.
20324 Define accept4 as a weak alias.
20325
20326 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20327 on [_DIRENT_HAVE_D_TYPE].
20328 * io/ftw.c (ftw_dir): Likewise.
20329
20330 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20331
20332 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20333
20334 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20335 Use the BSD numbers rather than the arbitrary ones we had.
20336 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20337 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20338 (SIGXCPU, SIGXFSZ): New macros.
20339 (_NSIG): Now 32.
20340
20341 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20342 initializer on [_LIBC_REENTRANT].
20343
20344 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20345 definitions inside [_POSIX_MAPPED_FILES].
20346
20347 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20348
20349 * dirent/opendir.c: Include <fcntl.h>.
20350
20351 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20352 (__libc_getspecific): Likewise.
20353 (__libc_key_create): Likewise.
20354
20355 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20356 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20357 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20358 (tmpfile64): Define as alias.
20359 * sysdeps/wordsize-64/tmpfile.c: File removed.
20360 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20361 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20362 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20363
20364 * stdio-common/vfscanf.c: Include <stdbool.h>.
20365 * nss/makedb.c: Likewise.
20366 * stdio-common/_i18n_number.h: Likewise.
20367 * argp/argp-help.c: Likewise.
20368 * posix/wordexp.c: Likewise.
20369 * sysdeps/posix/spawni.c: Likewise.
20370 * nss/nss_files/files-initgroups.c: Likewise.
20371 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20372 * nss/nss_files/files-initgroups.c: Likewise.
20373 * nss/nss_db/db-netgrp.c: Likewise.
20374 * nss/nss_db/db-initgroups.c: Likewise.
20375 * io/fchmodat.c: Include <sys/stat.h>.
20376
20377 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20378 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20379
20380 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20381 [HAVE_MMAP].
20382
20383 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20384 Add multiple inclusion protection.
20385
e5abc686
DM
203862012-07-27 David S. Miller <davem@davemloft.net>
20387
20388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20389
815e6fa3
GB
203902012-07-27 Gary Benson <gbenson@redhat.com>
20391
20392 [BZ #14298]
20393 * elf/rtld.c: Include <stap-probe.h>.
20394 (dl_main): Added static probes "init_start" and "init_complete".
20395 * elf/dl-load.c: Include <stap-probe.h>.
20396 (lose): Take new parameter "nsid".
20397 Added static probe "map_failed".
20398 (_dl_map_object_from_fd): Pass namespace id to lose.
20399 Added static probe "map_start".
20400 (open_verify): Pass namespace id to lose.
20401 * elf/dl-open.c: Include <stap-probe.h>.
20402 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20403 and "reloc_complete".
20404 * elf/dl-close.c: Include <stap-probe.h>.
20405 (_dl_close_worker): Added static probes "unmap_start" and
20406 "unmap_complete".
20407 * elf/rtld-debugger-interface.txt: New file documenting the above.
20408
9f98c16c
RM
204092012-07-26 Roland McGrath <roland@hack.frob.com>
20410
20411 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20412 rather than a string variable.
20413 * sunrpc/rpc_main.c (h_output): Likewise.
20414 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20415
f3c22df3
PT
204162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20417
20418 * inet/check_native.c: New file.
20419
3129cfc6
JM
204202012-07-26 Joseph Myers <joseph@codesourcery.com>
20421
da865e95
JM
20422 [BZ #13629]
20423 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20424 if larger part has absolute value 1.0.
20425 * math/s_clog10.c (__clog10): Likewise.
20426 * math/s_clog10f.c (__clog10f): Likewise.
20427 * math/s_clog10l.c (__clog10l): Likewise.
20428 * math/s_clogf.c (__clogf): Likewise.
20429 * math/s_clogl.c (__clogl): Likewise.
20430 * math/libm-test.inc (clog_test): Add more tests.
20431 (clog10_test): Likewise.
20432 * sysdeps/i386/fpu/libm-test-ulps: Update.
20433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434
3129cfc6
JM
20435 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20436 (pltexit): Likewise.
20437 (La_regs): Likewise.
20438 (La_retval): Likewise.
20439 (int_retval): Likewise.
20440 Update #error for removed macros to refer only to definitions in
20441 tst-audit.h.
20442 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20443 macro.
20444 (pltexit): Likewise.
20445 (La_regs): Likewise.
20446 (La_retval): Likewise.
20447 (int_retval): Likewise.
20448 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20449 macro.
20450 (pltexit): Likewise.
20451 (La_regs): Likewise.
20452 (La_retval): Likewise.
20453 (int_retval): Likewise.
20454 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20455 macro.
20456 (pltexit): Likewise.
20457 (La_regs): Likewise.
20458 (La_retval): Likewise.
20459 (int_retval): Likewise.
20460 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20461 macro.
20462 (pltexit): Likewise.
20463 (La_regs): Likewise.
20464 (La_retval): Likewise.
20465 (int_retval): Likewise.
20466 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20467 macro.
20468 (pltexit): Likewise.
20469 (La_regs): Likewise.
20470 (La_retval): Likewise.
20471 (int_retval): Likewise.
20472 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20473 macro.
20474 (pltexit): Likewise.
20475 (La_regs): Likewise.
20476 (La_retval): Likewise.
20477 (int_retval): Likewise.
20478 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20479 macro definitions in tst-audit.h.
20480 * sysdeps/i386/tst-audit.h: New file.
20481 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20482 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20483 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20484 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20485 * sysdeps/sh/tst-audit.h: Likewise.
20486 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20487 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20488 * sysdeps/x86_64/tst-audit.h: Likewise.
20489
bfc07087
AJ
204902012-07-26 Andreas Jaeger <aj@suse.de>
20491
b1b2aaf8
AJ
20492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20493 ptrace.
20494
20495 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20496 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20497 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20498 PTRACE_O_MASK.
20499 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20500 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20501 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20502
bfc07087
AJ
20503 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20504 value.
20505
20506 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20507 _sigsys.
20508 (si_call_addr, si_syscall, si_arch): Define new macro.
20509 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20510 _sigsys.
20511 (si_call_addr, si_syscall, si_arch): Define new marcro.
20512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20513 _sigsys.
20514 (si_call_addr, si_syscall, si_arch): Define new macro.
20515 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20516 _sigsys.
20517 (si_call_addr, si_syscall, si_arch): Define new macro.
20518
89b4b02f
JM
205192012-07-25 Joseph Myers <joseph@codesourcery.com>
20520
20521 [BZ #13717]
20522 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20523 Change to 2.4.21 where previously 2.4.1.
20524 * sysdeps/unix/sysv/linux/configure: Regenerated.
20525 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20526 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20527 Linux kernel version.
20528 (__ASSUME_STD_AUXV): Remove.
20529 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20530 kernel version.
20531 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20532 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20533 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20534 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20535 (__ASSUME_NETLINK_SUPPORT): Likewise.
20536 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20537 (__no_netlink_support): Remove conditional definition.
20538 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20539 Remove.
20540 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20541 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20542 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20543 (if_nameindex_ioctl): Remove.
20544 (if_nameindex_netlink): Do not handle __no_netlink_support.
20545 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20546 code.
20547 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20548 Remove conditional code.
20549 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20550 code.
20551 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20552 unconditional.
20553 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20554 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20555 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20556 Remove.
20557 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20558 [!__ASSUME_STD_AUXV]: Remove conditional code.
20559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20560 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20561 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20563 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20564 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20565 code.
20566 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20568 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20569 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20570 conditional code.
20571 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20573 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20574 code.
20575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20576 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20577 conditional code.
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20579 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20580 code unconditional.
20581 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20582 conditional code.
20583 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20584 unconditional.
20585 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20586 conditional code.
20587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20588 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20589 unconditional.
20590 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20591 conditional code.
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20593 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20594 code unconditional.
20595 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20596 conditional code.
20597 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20598 unconditional.
20599 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20600 conditional code.
20601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20602 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20603 code unconditional.
20604 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20605 conditional code.
20606 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20607 unconditional.
20608 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20609 conditional code.
20610
842a39cd
AS
206112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20612
20613 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20614 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20615 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20616 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20617 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20618 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20619 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20620 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20621 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20622 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20623 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20624 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20625 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20626 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20627 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20628 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20629 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20630 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20631 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20633 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20634 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20635 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20636
84b3fd84
FW
206372012-07-25 Florian Weimer <fweimer@redhat.com>
20638
20639 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20640 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20641 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20642 Introduce __libc_secure_getenv.
0c7936d5
FW
20643 * stdlib/Versions (2.17): Add secure_getenv
20644 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20645 * stdlib/secure-getenv.c: Rename __secure_getenv to
20646 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20647 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20648 * stdlib/tst-secure-getenv.c: New.
20649 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20650 * manual/startup.texi (Environment Access): Document
20651 secure_getenv.
84b3fd84
FW
20652 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20653 __libc_secure_getenv.
20654 * inet/ruserpass.c (ruserpass): Likewise.
20655 * malloc/mtrace.c (mtrace): Likewise.
20656 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20657 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20658 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20659 * sysdeps/posix/tempname.c: Likewise. Evaluate
20660 HAVE_SECURE_GETENV.
20661 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20662 __secure_getenv to __libc_secure_getenv.
84b3fd84 20663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20665 Likewise.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20667 Likewise.
20668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20675
56e49b71
JM
206762012-07-25 Joseph Myers <joseph@codesourcery.com>
20677
20678 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20679 (struct La_i86_retval): Likewise.
20680 (struct La_x86_64_regs): Likewise.
20681 (struct La_x86_64_retval): Likewise.
20682 (struct La_x32_regs): Likewise.
20683 (struct La_x32_retval): Likewise.
20684 (struct La_ppc32_regs): Likewise.
20685 (struct La_ppc32_retval): Likewise.
20686 (struct La_ppc64_regs): Likewise.
20687 (struct La_ppc64_retval): Likewise.
20688 (struct La_sh_regs): Likewise.
20689 (struct La_sh_retval): Likewise.
20690 (struct La_s390_32_regs): Likewise.
20691 (struct La_s390_32_retval): Likewise.
20692 (struct La_s390_64_regs): Likewise.
20693 (struct La_s390_64_retval): Likewise.
20694 (struct La_sparc32_regs): Likewise.
20695 (struct La_sparc32_retval): Likewise.
20696 (struct La_sparc64_regs): Likewise.
20697 (struct La_sparc64_retval): Likewise.
20698 (struct audit_ifaces): Remove architecture-specific pltenter and
20699 pltexit members.
20700 * sysdeps/i386/ldsodefs.h: New file.
20701 * sysdeps/powerpc/ldsodefs.h: Likewise.
20702 * sysdeps/s390/ldsodefs.h: Likewise.
20703 * sysdeps/sh/ldsodefs.h: Likewise.
20704 * sysdeps/sparc/ldsodefs.h: Likewise.
20705 * sysdeps/x86_64/ldsodefs.h: Likewise.
20706
354691b7
MP
207072012-07-25 Marek Polacek <polacek@redhat.com>
20708
20709 [BZ #6808]
20710 * math/libm-test.inc (yn_test): Add another test.
20711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20712 to ERANGE when the result is +-Inf.
20713 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20714 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20715 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20716 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20717
bf9e2071
JM
207182012-07-24 Joseph Myers <joseph@codesourcery.com>
20719
20720 * conform/data/time.h-data (NULL): Use macro-constant. Require
20721 equal to 0.
20722 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20723 clock_t.
20724 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20725
57633811
TS
207262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20727
20728 * configure.in <sysdeps resolving>: Correct printing
20729 Implies_before.
20730 * configure: Regenerate.
20731
c23c33b0
TS
207322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20733
20734 * math/w_ilogb.c: Include <limits.h>.
20735 * math/w_ilogbl.c: Likewise.
20736
b5982523
JM
207372012-07-20 Joseph Myers <joseph@codesourcery.com>
20738
20739 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20740 va_copy. Document allowing for unavailable va_copy only as
20741 pre-C99 compatibility.
20742 * manual/string.texi (Copying and Concatenation): Use va_copy
20743 instead of __va_copy in concat example.
20744
ac4ea442
PT
207452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20746
20747 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20748 (__sendto): Use create_address_port. Initialize APORT and deallocate
20749 it if not null.
20750
f98eafbd
PT
20751 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20752 with O_NOLINK passed to __file_name_lookup.
20753
898c7aab
PT
20754 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20755 with O_NOLINK passed to __file_name_lookup.
20756
0ced335a
PT
20757 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20758 negative N or less than NGIDS.
20759
b3404dbd
PT
20760 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20761 type to string_t. Set ERANGE as errno and return it if NAME is not big
20762 enough. Use memcpy instead of strncpy.
20763
0f48659e
JM
207642012-07-20 Joseph Myers <joseph@codesourcery.com>
20765
20766 * elf/Makefile (check-data): Remove.
20767 (localplt.data): New vpath directive.
20768 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20769 instead of $(check-data).
20770 * scripts/data/localplt-generic.data: Move to ...
20771 * sysdeps/generic/localplt.data: ... here.
20772 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20773 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20774 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20776 ... here.
20777 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20779 ... here.
20780 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20782 ... here.
20783 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20785 ... here.
20786 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20788 ... here.
20789 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20791 ... here.
20792
d37cbdaa
AZ
207932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20794
20795 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20796 PPC32 and PPC64 files.
20797 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20798 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20799
46f85fc2
AK
208002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20801
20802 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20803 __makecontext_ret to ...
20804 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20805 ... here and call exit if uc_link is NULL. New file.
20806 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20807 __makecontext_ret.S.
20808 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20809 __makecontext_ret to ...
20810 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20811 ... here and call exit if uc_link is NULL. New file.
20812 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20813 __makecontext_ret.S.
20814
08f43f9b
AK
208152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20816
20817 * elf/elf.h (R_390_IRELATIVE): New definition.
20818 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20819 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20820 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20821 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20822 (elf_machine_lazy_rel): Likewise.
20823 * sysdeps/s390/dl-irel.h: New file.
20824 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20825 * sysdeps/s390/s390-64/memset.S: New asm code.
20826 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20827 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20828 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20829 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20830 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20831 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20832 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20833 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20834 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20835 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20836 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20837 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20838 * sysdeps/s390/s390-32/memset.S: New asm code.
20839 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20840
3b05db33
MP
208412012-07-17 Marek Polacek <polacek@redhat.com>
20842
20843 [BZ #14349]
20844 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20845 * sysdeps/s390/s390-64/configure.in: Likewise.
20846 * sysdeps/sparc/configure.in: Likewise.
20847 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20848 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20849 * sysdeps/i386/configure.in: Likewise.
20850 * sysdeps/x86_64/configure.in: Likewise.
20851 * sysdeps/sh/configure.in: Likewise.
20852 * sysdeps/s390/s390-32/configure: Regenerated.
20853 * sysdeps/s390/s390-64/configure: Likewise.
20854 * sysdeps/x86_64/configure: Likewise.
20855 * sysdeps/sh/configure: Likewise.
20856 * sysdeps/powerpc/powerpc64/configure: Likewise.
20857 * sysdeps/powerpc/powerpc32/configure: Likewise.
20858 * sysdeps/sparc/configure: Likwise.
20859 * sysdeps/i386/configure: Likewise.
20860
a66877c6
MP
20861 * elf/dl-open.c: Comment fixes.
20862
cfc82fd8
JM
208632012-07-17 Joseph Myers <joseph@codesourcery.com>
20864
bd29910a
JM
20865 * Makefile [CXX] (check-data): Remove.
20866 [CXX] (c++-types.data): New vpath directive.
20867 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20868 vpath. Do not allow for C++ type data being missing.
20869 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20870 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20871 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20872 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20873 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20874 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20875 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20877 ... here.
20878 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20880 ... here.
20881 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20883 ... here.
20884 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20886 ... here.
20887 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20889 ... here.
20890 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20892 ... here.
20893 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20895 ... here.
20896 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20898
cfc82fd8
JM
20899 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20900 definitions to architecture-specific files.
20901 (TLS_IE): Likewise.
20902 (TLS_LD): Likewise.
20903 (TLS_GD): Likewise.
20904 * sysdeps/i386/tls-macros.h: New file.
20905 * sysdeps/powerpc/tls-macros.h: Likewise.
20906 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20907 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20908 * sysdeps/sh/tls-macros.h: Likewise.
20909 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20910 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20911 * sysdeps/x86_64/tls-macros.h: Likewise.
20912
f7db3170
TS
209132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20914
07cbfc23
TS
20915 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20916 zero value for regular exit case.
20917
f7db3170
TS
20918 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20919 (__start_context): Preserve zero value for regular exit case.
20920
dc97c227
TS
209212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20922 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20923
20924 * manual/setjmp.texi (setcontext): Clarify normal process
20925 termination when uc_link is the null pointer.
20926 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20927 exit call.
20928
d0cd7d02
AS
209292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20930
20931 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20932 preprocessor. Test for each exception mask separately.
20933
dd318934
AJ
209342012-07-16 Andreas Jaeger <aj@suse.de>
20935
20936 * po/ru.po: Update from translation team.
20937
8048311a
JM
209382012-07-15 Joseph Myers <joseph@codesourcery.com>
20939
20940 * conform/data/string.h-data (NULL): Use macro-constant. Require
20941 equal to 0.
20942 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20943 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20944 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20945 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20947
b637d46e
AJ
209482012-07-13 Andreas Jaeger <aj@suse.de>
20949
20950 * po/fr.po: Update from translation team.
20951
541428fe
MP
209522012-07-12 Marek Polacek <polacek@redhat.com>
20953
20954 [BZ #14173]
20955 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20956 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20957 loop condition.
20958
ec332e94
JM
209592012-07-12 Joseph Myers <joseph@codesourcery.com>
20960
20961 [BZ #13717]
20962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20963 Change to 2.4.1 where previously 2.4.0.
20964 * sysdeps/unix/sysv/linux/configure: Regenerated.
20965 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20966 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20967 version.
20968 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20969 (__ASSUME_AT_CLKTCK): Remove.
20970 (__ASSUME_AT_PAGESIZE): Likewise.
20971 (__ASSUME_AT_XID): Likewise.
20972 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20973 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20974 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20975 unconditionally.
20976 (HAVE_AUX_PAGESIZE): Likewise.
20977 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20978 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20979 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20980
7b6e99be
JB
209812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20982
20983 [BZ #14307]
20984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20985 the temporary buffer used to invoke __gethostbyname2_r,
20986 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20987 host_data / struct gaih_addrtuple.
20988 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20989 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20990 header file nss/nsswitch.h.
20991 * nss/nsswitch.h (global scope): Add definition of implementation
20992 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20993 resolv/nss_dns/dns-host.c).
20994
608404eb
AJ
209952012-07-11 Andreas Jaeger <aj@suse.de>
20996
20997 * po/fr.po: Update from translation team.
20998
71220aca
AJ
20999 * po/sv.po: Update from translation team
21000 * po/fr.po: Another update from translation team.
21001
28cfe843
AZ
210022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21003
21004 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21005 for subnormals or multiply small sinh result by itself.
21006 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21008
6b90f981
DM
210092012-07-11 David S. Miller <davem@davemloft.net>
21010
21011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21012
c6825772
AS
210132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21014
21015 [BZ #14347]
21016 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21017 (INTERNAL_MARK): Shift it here.
21018
7b8e0d49
MP
210192012-07-10 Marek Polacek <polacek@redhat.com>
21020
21021 [BZ #14151]
21022 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21023 libc_cv_asm_global_directive with .globl.
21024 * configure: Regenerated.
21025 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21026 with .globl.
21027 * sysdeps/i386/configure: Regenerated.
21028 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21029 with .globl.
21030 * sysdeps/x86_64/configure: Regenerated.
21031 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21032 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21033 * elf/tst-unique2mod2.c: Likewise.
21034 * elf/tst-unique2mod1.c: Likewise.
21035 * elf/tst-unique1mod2.c: Likewise.
21036 * elf/tst-unique1mod1.c: Likewise.
21037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21038 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21039 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21040 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21041 * sysdeps/mach/sysdep.h: Likewise.
21042 * sysdeps/i386/sysdep.h: Likewise.
21043 * sysdeps/i386/i386-mcount.S: Likewise.
21044 * sysdeps/x86_64/_mcount.S: Likewise.
21045 * sysdeps/x86_64/sysdep.h: Likewise.
21046 * sysdeps/sh/_mcount.S: Likewise.
21047 * sysdeps/sh/sysdep.h: Likewise.
21048 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21049 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21050 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21051 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21052 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21053 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21054 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21055 * locale/localeinfo.h: Likewise.
21056 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21057 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21058
6c55cda3
RM
210592012-07-09 Roland McGrath <roland@hack.frob.com>
21060
21061 [BZ #14336]
21062 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21063 system".
21064 * manual/message.texi (The Uniforum approach): Likewise.
21065 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21066 (glibc iconv Implementation): Likewise.
21067
638a572e
JM
210682012-07-09 Joseph Myers <joseph@codesourcery.com>
21069
21070 [BZ #14337]
21071 * math/s_clog.c (__clog): Avoid scaling a value down where that
21072 could result in underflow.
21073 * math/s_clog10.c (__clog10): Likewise.
21074 * math/s_clog10f.c (__clog10f): Likewise.
21075 * math/s_clog10l.c (__clog10l): Likewise.
21076 * math/s_clogf.c (__clogf): Likewise.
21077 * math/s_clogl.c (__clogl): Likewise.
21078 * math/libm-test.inc (clog_test): Add more tests.
21079 (clog10_test): Likewise.
21080 * sysdeps/i386/fpu/libm-test-ulps: Update.
21081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21082
261f4859
AS
210832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21084
0abaf3e4
AS
21085 [BZ #14283]
21086 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21087 by 7 not 8 to examine high bit of fractional part.
21088
261f4859
AS
21089 [BZ #14042]
21090 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21091 for call to __mcount_internal.
21092 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21093 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21094 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21095
f17ac40d
JM
210962012-07-06 Joseph Myers <joseph@codesourcery.com>
21097
9ad63c23
JM
21098 [BZ #14154]
21099 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21100 approximation for values within 0x1p-13f of an odd multiple of
21101 pi/4.
21102 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21103 exception. Add more tests.
21104 * sysdeps/i386/fpu/libm-test-ulps: Update.
21105
f17ac40d
JM
21106 [BZ #6778]
21107 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21108 inputs and return -1 for them. Do not check for +Inf in case not
21109 reachable for +Inf.
21110 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21111 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21112 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21113 and return -1 for them. Do not check for +Inf in case not
21114 reachable for +Inf.
21115 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21116 define.
21117 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21118 and return -1 for them. Do not check for +Inf in case not
21119 reachable for +Inf.
21120 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21121 spurious underflow.
21122 * sysdeps/i386/fpu/libm-test-ulps: Update.
21123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21124
fb21f89b
MF
211252012-07-06 Mike Frysinger <vapier@gentoo.org>
21126
21127 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21128
cdfe2c5e
JM
211292012-07-05 Joseph Myers <joseph@codesourcery.com>
21130
21131 [BZ #14157]
21132 [BZ #14331]
21133 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21134 could result in spurious underflow. Scale down values above
21135 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21136 * math/s_csqrtf.c (__csqrtf): Likewise.
21137 * math/s_csqrtl.c (__csqrtl): Likewise.
21138 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21139 spurious underflow.
21140 * sysdeps/i386/fpu/libm-test-ulps: Update.
21141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21142
70d35b67
AS
211432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21144
704bc459
AS
21145 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21146 xopen-msg.sed.
21147 * catgets/xopen-msg.awk: New file.
21148 * catgets/xopen-msg.sed: Removed.
21149
70d35b67
AS
21150 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21151 po2text.sed.
21152 * intl/po2test.awk: New file.
21153 * intl/po2test.sed: Removed.
21154
ca61cf32
JM
211552012-07-04 Joseph Myers <joseph@codesourcery.com>
21156
21157 [BZ #14328]
21158 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21159 or multiply small sinh result by itself.
21160 * math/s_ctanf.c (__ctanf): Likewise.
21161 * math/s_ctanh.c (__ctanh): Likewise.
21162 * math/s_ctanhf.c (__ctanhf): Likewise.
21163 * math/s_ctanhl.c (__ctanhl): Likewise.
21164 * math/s_ctanl.c (__ctanl): Likewise.
21165 * math/libm-test.inc (ctan_test_tonearest): New function.
21166 (ctan_test_towardzero): Likewise.
21167 (ctan_test_downward): Likewise.
21168 (ctan_test_upward): Likewise.
21169 (ctanh_test_tonearest): Likewise.
21170 (ctanh_test_towardzero): Likewise.
21171 (ctanh_test_downward): Likewise.
21172 (ctanh_test_upward): Likewise.
21173 (main): Call these new functions.
21174 * sysdeps/i386/fpu/libm-test-ulps: Update.
21175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21176
ca48a46a
MF
211772012-07-03 Mike Frysinger <vapier@gentoo.org>
21178
21179 * .gitignore: Delete /ports entry.
21180
9d63d37d
AJ
211812012-07-03 Andreas Jaeger <aj@suse.de>
21182
21183 * po/bg.po: Update from translation team.
21184 * po/cs.po: Likewise.
21185 * po/de.po: Likewise.
21186 * po/hr.po: Likewise.
21187 * po/nl.pl: Likewise.
21188 * po/pl.po: Likewise.
21189 * po/vi.po: Likewise.
21190
370ca3d2
JM
211912012-07-03 Joseph Myers <joseph@codesourcery.com>
21192
95f5a9a8
JM
21193 * Makeconfig [!+link] (+link-before-libc): New variable.
21194 [!+link] (+link-after-libc): Likewise.
21195 [!+link] (+link-tests): Likewise.
21196 [!+link] (+link): Define in terms of $(+link-before-libc) and
21197 $(+link-after-libc).
21198 [!+link-static] (+link-static-before-libc): New variable.
21199 [!+link-static] (+link-static-after-libc): Likewise.
21200 [!+link-static] (+link-static-tests): Likewise.
21201 [!+link-static] (+link-static): Define in terms of
21202 $(+link-static-before-libc) and $(+link-static-after-libc).
21203 [build-shared] (link-libc-before-gnulib): New variable.
21204 [build-shared] (link-libc-tests): Likewise.
21205 [build-shared] (link-libc): Define in terms of
21206 $(link-libc-before-gnulib).
21207 [!build-shared] (link-libc-tests): New variable.
21208 (link-libc-static-tests): New variable.
21209 [!gnulib] (gnulib-arch): New variable.
21210 [!gnulib] (gnulib-tests): Likewise.
21211 [!gnulib] (static-gnulib-arch): Likewise.
21212 [!gnulib] (static-gnulib-tests): Likewise.
21213 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21214 Define with "=" instead of ":=".
21215 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21216 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21217 * Rules (binaries-all-notests): New variable.
21218 (binaries-all-tests): Likewise.
21219 (binaries-static-notests): Likewise.
21220 (binaries-static-tests): Likewise.
21221 (binaries-all): Define using $(binaries-all-notests) and
21222 $(binaries-all-tests).
21223 (binaries-static): Define using $(binaries-static-notests) and
21224 $(binaries-static-tests).
21225 (binaries-shared-tests): New variable.
21226 (binaries-shared-notests): Likewise.
21227 (binaries-shared): Remove variable.
21228 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21229 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21230 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21231 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21232 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21233 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21234 * elf/Makefile (sln-modules): New variable.
21235 (extra-objs): Add $(sln-modules:=.o).
21236 (ldconfig-modules): Add static-stubs.
21237 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21238 * elf/static-stubs.c: New file.
21239
7a845b2c
JM
21240 [BZ #14283]
21241 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21242 by 7 not 8 to examine high bit of fractional part. Use volatile
21243 variables when splitting into final array of floats if
21244 __FLT_EVAL_METHOD__ != 0.
21245 * math/libm-test.inc (cos_test): Add another test.
21246 (sin_test): Likewise.
21247 * sysdeps/i386/fpu/libm-test-ulps: Update.
21248
e2283f38
JM
21249 [BZ #14273]
21250 * math/libm-test.inc (cosh_test): Add more tests.
21251
370ca3d2
JM
21252 * version.h (RELEASE): Set to "development".
21253 (VERSION): Set to "2.16.90".
21254
ee9247c3
CD
212552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21256
21257 * NEWS: Update copyright. Remove last-updated date.
21258 Mention math library bug fixes and timezone data changes.
21259 * README: Mention GNU/Hurd, x32, and HPPA support status.
21260
4648c381
TS
212612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21262
21263 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21264
aac78a43
AJ
212652012-06-27 Andreas Jaeger <aj@suse.de>
21266
21267 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21268
ed3dbfad
AJ
212692012-06-25 Andreas Jaeger <aj@suse.de>
21270
21271 * sysdeps/s390/fpu/libm-test-ulps: Update.
21272
4d0ee855
AS
212732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21274 Thomas Schwinge <thomas@codesourcery.com>
21275
21276 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21277 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21279 fanotify_mark.
21280
af1bce34
TS
212812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21282
a9fa33ba
TS
21283 * sysdeps/mach/start.c: Remove file.
21284 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21285 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21286 * sysdeps/sh/init-first.c: Likewise.
21287
58f902b8
TS
21288 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21289 registers for frame unwinding purposes, add CFI directives.
21290 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21291 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21292 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21293 Likewise.
21294
1518f58b
TS
21295 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21296 __fortify_fail returning.
21297 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21298
db9b5059
TS
21299 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21300 sysdeps/sh/____longjmp_chk.S.
21301 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21302 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21303 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21304 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21305
967705fe
TS
21306 * sysdeps/sh/abort-instr.h: New file.
21307 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21308 process in case exit returns.
21309
a9def8c4
TS
21310 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21311 initialize the GOT register before use.
21312
2a649725
TS
21313 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21314 calculation of ARGC > 4.
21315
af1bce34
TS
21316 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21317 meaningful names to some local labels.
21318
d230f50a
KK
213192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21320 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21321
21322 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21323 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21324 (__arch_compare_and_exchange_val_16_acq): Likewise.
21325 (__arch_compare_and_exchange_val_32_acq): Likewise.
21326 (atomic_exchange_and_add): Fix gUSA sequence.
21327 (atomic_add): Likewise.
21328 (atomic_add_negative): Likewise.
21329 (atomic_add_zero): Likewise.
21330 (atomic_bit_test_set): Likewise.
21331
0479b305
AS
213322012-06-22 Andreas Schwab <schwab@redhat.com>
21333
21334 [BZ #13579]
21335 * include/link.h (struct link_map): Add l_free_initfini.
21336 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21337 l_initfini.
21338 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21339 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21340 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21341 set.
21342
0e3933b9
CD
213432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21344
21345 * configure.in: Use AC_LANG_SOURCE.
21346 * configure: Regenerate.
21347
4248b1b1
RM
213482012-06-22 Roland McGrath <roland@hack.frob.com>
21349
21350 * configure.in (libc_cv_localstatedir): New substituted variable.
21351 * configure: Regenerated.
21352 * config.make.in (localstatedir): New variable, substituted from
21353 libc_cv_localstatedir.
21354 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21355 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21356 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21357 * sysdeps/gnu/configure: Regenerated.
21358
006dd861
JL
213592012-06-21 Jeff Law <law@redhat.com>
21360
21361 [BZ #14277]
21362 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21363 free. Simplify list management for _LIBC case.
21364
79662d42
JM
213652012-06-21 Joseph Myers <joseph@codesourcery.com>
21366
b7abb4bf
JM
21367 [BZ #14273]
21368 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21369 Clear sign bit of 64-bit integer value before comparing against
21370 overflow value.
21371
79662d42
JM
21372 * sysdeps/mach/configure: Regenerated.
21373
1f150908
L
213742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 [BZ #14278]
21377 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21378
28363bbf
JL
213792012-06-21 Jeff Law <law@redhat.com>
21380
21381 [BZ #13882]
21382 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21383 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21384 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21385 * elf/dl-open.c (dl_open_worker): Likewise.
21386
09615db4
CD
213872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21388
21389 * scripts/list-sources.sh: Scan PORTS for translations.
21390 * po/libc.pot: Regenerated.
21391
2174c6dd
AJ
213922012-06-21 Andreas Jaeger <aj@suse.de>
21393
21394 [BZ #12194]
21395 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21396 warning.
21397 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21398 * bits/byteswap-16.h (__bswap_16): Likewise.
21399 * bits/byteswap.h (__bswap_constant_16): Likewise.
21400
3ee947b1
L
214012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21402
21403 [BZ #14117]
a2f34833
L
21404 * sysdeps/i386/fpu_control.h: Removed.
21405 * sysdeps/x86_64/fpu_control.h: Moved to ...
21406 * sysdeps/x86/fpu_control.h: Here.
21407
3ee947b1
L
21408 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21409 (_FPU_SETCW): Likewise.
21410
ed1825f8
L
214112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21412
25f1282a
L
21413 [BZ #14117]
21414 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21415 * sysdeps/x86/fpu/bits/mathinline.h: This.
21416 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21417
ed1825f8
L
21418 [BZ #14050]
21419 [BZ #14117]
21420 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21421 functions if __x86_64__ is defined.
21422
36d54b74
CLT
214232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21424
21425 * string/endian.h: Add !__ASSEMBLER__ condition for including
21426 conversion interfaces.
21427
10285c21
JM
214282012-06-15 Joseph Myers <joseph@codesourcery.com>
21429
21430 [BZ #14241]
21431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21432 of ABS(x) in calculating zero to negative powers other than odd
21433 integers.
21434 * math/libm-test.inc (pow_test): Add more tests.
21435
06c5abbd
AJ
214362012-06-15 Andreas Jaeger <aj@suse.de>
21437
21438 * manual/contrib.texi (Contributors): Update entry of Liubov
21439 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21440 Machado Filho.
21441
a3aeac40
CH
214422012-06-15 Cyril Hrubis <metan@ucw.cz>
21443
21444 * string/string.h: Add __wur to GNU version of strerror_r.
21445
49bdf4c1
L
214462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21447
21448 [BZ #14229]
21449 * string/Makefile (tests): Add tst-strtok_r.
21450 * string/tst-strtok_r.c: New file.
21451 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21452 RAX_LP/RDX_LP on SAVE_PTR.
21453
834f9b8d
RM
214542012-06-14 Roland McGrath <roland@hack.frob.com>
21455
21456 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21457
75fa1921
JM
214582012-06-14 Joseph Myers <joseph@codesourcery.com>
21459
21460 * libm_test.inc (csqrt_test): Allow more spurious underflow
21461 exceptions.
21462 (j0_test): Likewise.
21463 (j1_test): Likewise.
21464 (y0_test): Likewise.
21465 (y1_test): Likewise.
21466
771766df
CD
214672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21468
21469 * po/Makefile (libc.pot): Use UTF-8 charset.
21470
ceb9e56b
PP
214712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21472
21473 [BZ #14210]
21474 Suppress sign-conversion warning from FD_SET.
21475 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21476 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21477 not unsigned long int.
21478 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21479
ddb28975
L
214802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21481
21482 [BZ #14050]
21483 [BZ #14117]
21484 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21485 __extern_always_inline instead of __extern_inline.
21486 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21487 (__signbit): Likewise.
21488 (__signbitl): Support C++ namespace.
21489 (lrintf): New inline function.
21490 (lrint): Likewise.
21491 (llrintf): Likewise.
21492 (llrint): Likewise.
21493 (fmaxf): Likewise.
21494 (fmax): Likewise.
21495 (fminf): Likewise.
21496 (fmin): Likewise.
21497 (rint): Likewise.
21498 (rintf): Likewise.
21499 (ceil): Likewise.
21500 (ceilf): Likewise.
21501 (floor): Likewise.
21502 (floorf): Likewise.
21503 (nearbyint): Likewise.
21504 (nearbyintf): Likewise.
21505
d7b4fb26
TS
215062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21507
21508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21509 non-default versions.
21510
eb55f5c2
RM
215112012-06-11 Roland McGrath <roland@hack.frob.com>
21512
21513 [BZ #14218]
21514 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21515
366af02c
TS
215162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21517
99ff6e5c
TS
21518 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21519 (FE_UPWARD, FE_DOWNWARD): Don't define.
21520 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21521 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21522
366af02c
TS
21523 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21524 reading it.
21525 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21526 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21527
793ea851
KK
215282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21529
21530 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21531 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21532 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21533 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21534
a728a38f
L
215352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21536
21537 [BZ #14117]
c08010c7
L
21538 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21539 * sysdeps/i386/fpu/Implies: New file.
21540 * sysdeps/x86_64/fpu/Implies: Likewise.
21541 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21542 * sysdeps/x86/fpu/bits/fenv.h: This.
21543
a728a38f
L
21544 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21545 __SSE_MATH__.
21546
6e230d11
SP
215472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21548
21549 [BZ #14134]
21550 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21551 character 0xffff that matches the last element of the
21552 conversion table.
21553
1b671feb
AZ
215542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21555
21556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21557 fmodl commit.
21558
6043738b
AZ
215592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21560
21561 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21562 values higher than 25.6283.
21563
34ae0b32
AZ
215642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21565
21566 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21567 subnormal exponent extraction and add some __builtin_expect.
21568 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21569 Fix for subnormal mantissa calculation.
21570
1214ec8f
MF
215712012-06-04 Mike Frysinger <vapier@gentoo.org>
21572
21573 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21574 cpu2 is -1 and errno is not ENOSYS.
21575
f3d1f93c
L
215762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21577
21578 [BZ #14117]
0e4a3cd7
L
21579 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21580 * sysdeps/x86/bits/string.h: This.
21581 * sysdeps/x86_64/bits/string.h: Removed.
21582
6704c645
L
21583 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21584 if not compiling for x86-64, but compiling for >= i486.
21585
48495318
L
21586 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21587 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21588
14adcbfc
L
21589 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21590 New macro from Linux kernel 3.4.0.
21591 (FP_XSTATE_MAGIC2): Likewise.
21592 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21593 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21594 (struct _fpx_sw_bytes): New struct.
21595 (struct _xsave_hdr): Likewise.
21596 (struct _ymmh_state): Likewise.
21597 (struct _xstate): Likewise.
21598
68e408ab
L
21599 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21600 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21601 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21602 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21603 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21604 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21605
f3d1f93c
L
21606 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21607 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21608 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21609 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21610 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21611 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21612
d9dc34cd
TMQMF
216132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21614
21615 [BZ #13743]
21616 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21617 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21618 (sysdep_headers): Include sys/platform/ppc.h.
21619 * sysdeps/powerpc/test-gettimebase.c: Test for
21620 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21621 * manual/Makefile (appendices): Include platform.texi.
21622 * manual/contrib.texi (Contributors): Update @node pointers.
21623 * manual/maint.texi (Maintenance): Likewise.
21624 (Platform): New node.
21625 * manual/platform.texi: New file. Document the new features.
21626
4af3879c
SP
216272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21628 Jakub Jelinek <jakub@redhat.com>
21629
21630 [BZ #14188]
21631 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21632 where __builtin_expect is unavailable.
21633
2fd6ff13
DM
216342012-06-03 David S. Miller <davem@davemloft.net>
21635
21636 * stdlib/longlong.h: Updated from GCC.
21637
173f7220
AS
216382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21639
21640 [BZ #14042]
21641 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21642 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21643 __mcount_internal.
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21645 (GLIBC_2.16): Likewise.
21646
f34a1c6f
L
216472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21648
21649 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21650
88a4576f
JM
216512012-06-01 Joseph Myers <joseph@codesourcery.com>
21652
ea32bcdd
JM
21653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21654 (default-abi): New variable.
21655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21656 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21657 variable.
21658 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21659 Likewise.
21660 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21661 Likewise.
21662 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21663 Likewise.
21664
88a4576f
JM
21665 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21666 definition. Document in comment.
21667
402fe938
DM
216682012-06-01 David S. Miller <davem@davemloft.net>
21669
21670 * stdlib/longlong.h: Updated from GCC.
21671
3553723f
L
216722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21673
21674 [BZ #14117]
3bd872c4
L
21675 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21676 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21677 sys/debugreg.h sys/io.h here.
21678 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21679 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21680 sys/io.h.
21681 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21682 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21683 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21684 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21685 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21686 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21687
3553723f
L
21688 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21689 Define only if __x86_64__ is defined.
21690
4842e4fe
JM
216912012-06-01 Joseph Myers <joseph@codesourcery.com>
21692
c5bfe3d5
JM
21693 [BZ #14048]
21694 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21695 Use int64_t for variable i.
21696 * math/libm-test.inc (fmod_test): Add more tests.
21697
4842e4fe
JM
21698 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21699 z computation is not scheduled after fetestexcept.
21700 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21701 Use math_force_eval instead of asm to ensure calculation scheduled
21702 before exception test.
21703 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21704 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21705
efb73488
AJ
217062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21707
21708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21709 computation is not scheduled after fetestexcept.
21710
29bcce7c
L
217112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21712
21713 [BZ #14117]
21714 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21715 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21716
73a68f94
AZ
217172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21718
21719 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21720 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21721
67b6df78
L
217222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21723
edf2933a 21724 [BZ #14117]
ebc64a18
L
21725 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21726 <bits/wordsize.h>.
21727 (__WCHAR_MIN): Support __WORDSIZE == 64.
21728 (__WCHAR_MAX): Likewise.
21729
edf2933a
L
21730 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21731 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21732
57c6cf40
L
21733 [BZ #14183]
21734 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21735 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21736
67b6df78 21737 [BZ #14117]
8eb6281e
L
21738 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21739 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21740
aac639f4
L
21741 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21742 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21743
67b6df78
L
21744 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21745 Defined to 1 if __x86_64__ isn't defined.
21746 (_STAT_VER_LINUX_OLD): New.
21747 (st_atime): Remove duplicate.
21748 (st_mtime): Likewise.
21749 (st_ctime): Likewise.
21750
1c2cfe81
DM
217512012-05-31 David S. Miller <davem@davemloft.net>
21752
21753 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21754 entries.
21755
5be8418c
AS
217562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21757
e7725326
AS
21758 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21759 gen-libm-test.pl.
21760
5be8418c
AS
21761 [BZ #14132]
21762 * elf/dl-reloc.c: Include <_itoa.h>.
21763 (_dl_reloc_bad_type): Remove use of INTUSE.
21764 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21765 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21766 * stdio-common/psiginfo.c (psiginfo): Likewise.
21767 * stdio-common/psignal.c (psignal): Likewise.
21768 * string/strsignal.c (strsignal): Likewise.
21769 * include/signal.h (_sys_siglist): Declare hidden proto.
21770 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21771 INTVARDEF with libc_hidden_data_def.
21772 * stdio-common/itoa-udigits.c: Likewise.
21773 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21774 (_itoa_lower_digits_internal): Remove declaration.
21775 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21776 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21777 (_sys_sigabbrev_internal): Remove aliases.
21778 (_sys_siglist): Define hidden alias.
21779
507352f1
MT
217802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21781
21782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21783 bits/sysctl.h.
21784
42bbb1c3
L
217852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21786
21787 [BZ #14117]
6bd784b6
L
21788 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21789 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21790
8bca20f0
L
21791 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21792 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21793 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21794 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21795 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21796 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21797
f9e890a9
L
21798 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21799 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21800 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21801
471101a1
L
21802 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21803 with __addr.
21804 (insw): Likewise.
21805 (insl): Likewise.
21806 (outsb): Likewise.
21807 (outsw): Likewise.
21808 (outsl): Likewise.
21809
6451c862
L
21810 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21811 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21812 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21813
a254b8c9
L
21814 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21815 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21816 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21817 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21818 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21819 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21820
b8dfdd92
L
21821 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21822 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21823
578cd270
L
21824 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21825 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21826
de662f5f
L
21827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21830
25653439
L
21831 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21832 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21833 to ...
21834 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21835
6bad24a0
L
21836 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21837 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21838 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21839
42bbb1c3
L
21840 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21841 for x86-64.
21842 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21843
2d10d547
JM
218442012-05-31 Joseph Myers <joseph@codesourcery.com>
21845
21846 * math/math.h (M_El): Use two more decimal places.
21847 (M_LOG2El): Likewise.
21848 (M_LOG10El): Likewise.
21849 (M_LN2l): Likewise.
21850 (M_LN10l): Likewise.
21851 (M_PIl): Likewise.
21852 (M_PI_2l): Likewise.
21853 (M_PI_4l): Likewise.
21854 (M_1_PIl): Likewise.
21855 (M_2_PIl): Likewise.
21856 (M_2_SQRTPIl): Likewise.
21857 (M_SQRT2l): Likewise.
21858 (M_SQRT1_2l): Likewise.
21859
f230c29b
DM
218602012-05-31 David S. Miller <davem@davemloft.net>
21861
21862 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21863 values between float registers.
21864 * sysdeps/sparc/sparc64/memset.S: Likewise.
21865 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21866
fed806c3
MF
218672012-05-31 Mike Frysinger <vapier@gentoo.org>
21868
21869 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21870 -D_FORTIFY_SOURCE=1.
21871 (CPPFLAGS-tst-longjmp_chk.c): Define.
21872 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21873 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21874 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21875 CFLAGS-tst-wchar-h.c.
21876
30917259
MP
218772012-05-31 Marek Polacek <polacek@redhat.com>
21878
21879 [BZ #14132]
21880 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21881 __endmntent_internal): Remove declaration.
21882 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21883 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21884 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21885
1c58d5dc
DM
218862012-05-30 David S. Miller <davem@davemloft.net>
21887
21888 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21889 (___Q_simulate_exceptions): Use real FP ops rather than writing
21890 into the %fsr.
21891 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21892 Likewise.
21893
7dc00e0d
L
218942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21895
21896 [BZ #14117]
0bd53985
L
21897 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21898 * sysdeps/x86/bits/xtitypes.h: This.
21899
3a257e66
L
21900 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21901 * sysdeps/x86/bits/wordsize.h: This.
21902
62f62904
L
21903 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21904 * sysdeps/x86/bits/huge_vall.h: This.
21905
404fe9d9
L
21906 * sysdeps/i386/bits/select.h: Removed.
21907 * sysdeps/x86_64/bits/select.h: Renamed to ...
21908 * sysdeps/x86/bits/select.h: This.
21909
d48d0446
L
21910 * sysdeps/i386/bits/setjmp.h: Removed.
21911 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21912 * sysdeps/x86/bits/setjmp.h: This.
21913
7dc00e0d
L
21914 * sysdeps/i386/bits/mathdef.h: Removed.
21915 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21916 * sysdeps/x86/bits/mathdef.h: This.
21917
03277f8f
AS
219182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21919
21920 [BZ #14132]
21921 * include/sys/socket.h (__connect_internal)
21922 (__libc_sa_len_internal): Remove declaration.
21923 (__connect, __libc_sa_len): Declare hidden_proto.
21924 (SA_LEN): Remove use of INTUSE.
21925 * socket/connect.c: Add libc_hidden_def.
21926 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21927 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21928 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21929 alias.
21930 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21931 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21932 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21933 of adding _internal alias.
21934
13764867
L
219352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21936
21937 [BZ #14117]
6bd97696
L
21938 * sysdeps/i386/bits/link.h: Removed.
21939 * sysdeps/i386/bits/linkmap.h: Likewise.
21940 * sysdeps/x86_64/bits/link.h: Renamed to ...
21941 * sysdeps/x86/bits/link.h: This.
21942 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21943 * sysdeps/x86/bits/linkmap.h: This.
21944
f726f0bb
L
21945 * sysdeps/i386/bits/endian.h: Removed.
21946 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21947 * sysdeps/x86/bits/endian.h: This.
21948
13764867
L
21949 * sysdeps/i386/bits/byteswap.h: Removed.
21950 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21951 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21952 * sysdeps/x86/bits/byteswap.h: This.
21953 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21954 * sysdeps/x86/bits/byteswap-16.h: This.
21955 * sysdeps/i386/Implies: Add x86.
21956 * sysdeps/x86_64/Implies: Likewise.
21957
ae251b0b
DM
219582012-05-30 David S. Miller <davem@davemloft.net>
21959
21960 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21961 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21962 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21963 (FP_TRAPPING_EXCEPTIONS): Define.
21964 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21965 (FP_TRAPPING_EXCEPTIONS): Define.
21966 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21967 subnormals only when inexact has been signalled or underflow
21968 exceptions are enabled.
21969 (_FP_PACK_CANONICAL): Likewise.
21970
d5c90867
L
219712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21972
21973 [BZ #14183]
21974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21975 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21976
63f1549e
RH
219772012-05-30 Richard Henderson <rth@twiddle.net>
21978
8d8f2279
RH
21979 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21980 with #ifndef NOT_IN_libc.
21981
63f1549e
RH
21982 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21983 marked to avoid plt entry.
21984
0ab0291b
L
219852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21986
21987 [BZ #14112]
21988 * Makeconfig (default-abi): New macro.
21989 (abi-includes): Likewise.
21990 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21991 $(abi-$(default-abi)-lib-soname) for soname if defined.
21992 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21993 abi-variants.
21994 * Makefile (installed-stubs): Likewise.
21995 * include/stubs-biarch.h: Removed.
21996 * scripts/lib-names.awk: Only handle one library at a time.
21997 * scripts/soversions.awk: Remove WORDSIZE support.
21998 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21999 entries.
22000 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22001 Removed.
22002 (syscall-list-default-condition): Likewise.
22003 (syscall-list-default-condition): Likewise.
22004 (syscall-list-includes): Likewise.
22005 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22006 syscall-list-* with abi-*. Handle undefined abi-variants.
22007 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22008 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22009 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22010 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22011 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22012 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22013 Removed.
22014 (syscall-list-32-options): Likewise.
22015 (syscall-list-32-condition): Likewise.
22016 (syscall-list-64-options): Likewise.
22017 (syscall-list-64-condition): Likewise.
22018 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22019 macro.
22020 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22021 Renamed to ...
22022 (abi-*): This.
22023 (abi-64-ld-soname): New macro.
22024 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22025 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22026 Renamed to ...
22027 (abi-*): This.
22028 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22029 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22030
4da0431d
JM
220312012-05-30 Joseph Myers <joseph@codesourcery.com>
22032
3a85279c
JM
22033 * sysdeps/unix/sysv/linux/kernel-features.h
22034 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22035 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22036 include <kernel-features.h>.
22037 [!__NR_ftruncate64]: Remove conditional code.
22038 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22039 [__NR_ftruncate64]: Make code unconditional.
22040 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22041 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22042 include <kernel-features.h>.
22043 [!__NR_ftruncate64]: Remove conditional code.
22044 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22045 [__NR_ftruncate64]: Make code unconditional.
22046 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22048 include <kernel-features.h>.
22049 [!__NR_ftruncate64]: Remove conditional code.
22050 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22051 [__NR_ftruncate64]: Make code unconditional.
22052 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22054 include <kernel-features.h>.
22055 [!__NR_ftruncate64]: Remove conditional code.
22056 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22057 [__NR_ftruncate64]: Make code unconditional.
22058 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22059
4da0431d
JM
22060 * configure.in (libc_cv_fpie): Weaken to a compile test using
22061 LIBC_TRY_CC_OPTION.
22062 * configure: Regenerated.
22063
11ef492c
AK
220642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22065
22066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22070 Refreshed.
22071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22077 Refreshed.
22078
d66ef399
DM
220792012-05-27 David S. Miller <davem@davemloft.net>
22080
22081 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22082 (___Q_zero): New.
22083 (__Q_simulate_exceptions): Return void. Change to simulate
22084 exceptions by writing into the %fsr.
22085 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22086 (__Qp_handle_exceptions): Likewise.
22087 (numbers): Delete.
22088 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22089 __Qp_handle_exceptions.
22090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22091 __Qp_handle_exceptions.
22092 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22093 as unused and give dummy FP_RND_NEAREST initializer.
22094 (FP_INHIBIT_RESULTS): Define.
22095 (___Q_simulate_exceptions): Update declaration.
22096 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22097 formatting.
22098 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22099 as unused and give dummy FP_RND_NEAREST initializer.
22100 (__Qp_handle_exceptions): Update declaration.
22101 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22102 formatting.
22103
04fb54b5
TS
221042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22105
22106 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22107 the temporary FPU control word.
22108 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22109 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22110 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22111 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22112 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22113 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22114 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22115 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22116 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22117 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22118 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22119
3f99608f
KK
221202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22121
22122 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22123 fields.
22124
65a4de4e
CLT
221252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22126
22127 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22128 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22129 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22130 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22131 Likewise.
22132 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22133 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22134 Likewise.
22135
15749d40
UD
221362012-05-27 Ulrich Drepper <drepper@gmail.com>
22137
22138 * po/h.po: Update from translation team.
22139
25dbcb27
AS
221402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22141
3d3f8e55
AS
22142 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22143
25dbcb27
AS
22144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22145 handling of denormals.
22146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22147 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22148 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22149 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22150 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22153 Likewise.
22154
7ad47a80 221552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22156
22157 [BZ #14152]
22158 * math/libm-test.inc (fma_test): Don't always expect underflow
22159 exception.
22160
9c6ea9fa
SP
221612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22162
22163 [BZ #12416]
22164 * elf/tst-execstack.c: Include stackinfo.h.
22165 (do_test): Adjust test case to ensure that pthread_getattr_np
22166 behaviour remains the same after marking stack executable.
22167
a8239222
JM
221682012-05-25 Joseph Myers <joseph@codesourcery.com>
22169
22170 * sysdeps/unix/sysv/linux/kernel-features.h
22171 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22172 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22173 kernel-features.h.
22174 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22175 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22176 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22177 kernel-features.h.
22178 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22179 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22180
918b5606
L
221812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 * configure.in: Define the default includes to being none.
22184 * configure: Regenerated.
22185
3a097cc7
RM
221862012-05-25 Roland McGrath <roland@hack.frob.com>
22187
8422c9a5
RM
22188 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22189 * sysdeps/x86_64/setjmp.S: Likewise.
22190 * sysdeps/i386/bsd-setjmp.S: Likewise.
22191 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22192 * sysdeps/i386/setjmp.S: Likewise.
22193 * sysdeps/i386/__longjmp.S: Likewise.
22194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22195 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22196
3a097cc7
RM
22197 * include/stap-probe.h: New file.
22198 * configure.in: Handle --enable-systemtap.
22199 * configure: Regenerated.
22200 * config.h.in (USE_STAP_PROBE): New #undef.
22201 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22202 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22203 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22204
21708942
JM
222052012-05-25 Joseph Myers <joseph@codesourcery.com>
22206
22207 [BZ #13717]
22208 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22209 to 2.4.0 where earlier.
22210 * sysdeps/unix/sysv/linux/configure: Regenerated.
22211 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22212 <kernel-features.h>.
22213 [__ASSUME_32BITUIDS]: Make code unconditional.
22214 [!__ASSUME_32BITUIDS]: Remove conditional code.
22215 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22216 <kernel-features.h>.
22217 [__ASSUME_32BITUIDS]: Make code unconditional.
22218 [!__ASSUME_32BITUIDS]: Remove conditional code.
22219 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22220 [__ASSUME_32BITUIDS]: Make code unconditional.
22221 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22222 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22223 <kernel-features.h>.
22224 [__ASSUME_32BITUIDS]: Make code unconditional.
22225 [!__ASSUME_32BITUIDS]: Remove conditional code.
22226 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22227 <kernel-features.h>.
22228 [__ASSUME_32BITUIDS]: Make code unconditional.
22229 [!__ASSUME_32BITUIDS]: Remove conditional code.
22230 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22231 <kernel-features.h>.
22232 [__ASSUME_32BITUIDS]: Make code unconditional.
22233 [!__ASSUME_32BITUIDS]: Remove conditional code.
22234 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22235 <kernel-features.h>.
22236 [__ASSUME_32BITUIDS]: Make code unconditional.
22237 [!__ASSUME_32BITUIDS]: Remove conditional code.
22238 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22239 <kernel-features.h>.
22240 [__ASSUME_32BITUIDS]: Make code unconditional.
22241 [!__ASSUME_32BITUIDS]: Remove conditional code.
22242 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22243 <kernel-features.h>.
22244 [__ASSUME_32BITUIDS]: Make code unconditional.
22245 [!__ASSUME_32BITUIDS]: Remove conditional code.
22246 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22247 <kernel-features.h>.
22248 [__ASSUME_32BITUIDS]: Make code unconditional.
22249 [!__ASSUME_32BITUIDS]: Remove conditional code.
22250 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22251 <kernel-features.h>.
22252 [__ASSUME_32BITUIDS]: Make code unconditional.
22253 [!__ASSUME_32BITUIDS]: Remove conditional code.
22254 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22255 <kernel-features.h>.
22256 [__ASSUME_32BITUIDS]: Make code unconditional.
22257 [!__ASSUME_32BITUIDS]: Remove conditional code.
22258 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22259 <kernel-features.h>.
22260 [__ASSUME_32BITUIDS]: Make code unconditional.
22261 [!__ASSUME_32BITUIDS]: Remove conditional code.
22262 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22263 <kernel-features.h>.
22264 [__NR_setresgid] (__setresgid): Do not declare.
22265 [__ASSUME_32BITUIDS]: Make code unconditional.
22266 [!__ASSUME_32BITUIDS]: Remove conditional code.
22267 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22268 <kernel-features.h>.
22269 [__NR_setresuid] (__setresuid): Do not declare.
22270 [__ASSUME_32BITUIDS]: Make code unconditional.
22271 [!__ASSUME_32BITUIDS]: Remove conditional code.
22272 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22273 <kernel-features.h>.
22274 [__ASSUME_32BITUIDS]: Make code unconditional.
22275 [!__ASSUME_32BITUIDS]: Remove conditional code.
22276 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22277 <kernel-features.h>.
22278 [__ASSUME_32BITUIDS]: Make code unconditional.
22279 [!__ASSUME_32BITUIDS]: Remove conditional code.
22280 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22281 <kernel-features.h>.
22282 [__ASSUME_32BITUIDS]: Make code unconditional.
22283 [!__ASSUME_32BITUIDS]: Remove conditional code.
22284 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22285 <kernel-features.h>.
22286 [__ASSUME_32BITUIDS]: Make code unconditional.
22287 [!__ASSUME_32BITUIDS]: Remove conditional code.
22288 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22289 <kernel-features.h>.
22290 [__ASSUME_32BITUIDS]: Make code unconditional.
22291 [!__ASSUME_32BITUIDS]: Remove conditional code.
22292 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22293 <kernel-features.h>.
22294 [__ASSUME_32BITUIDS]: Make code unconditional.
22295 [!__ASSUME_32BITUIDS]: Remove conditional code.
22296 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22297 <kernel-features.h>.
22298 [__ASSUME_32BITUIDS]: Make code unconditional.
22299 [!__ASSUME_32BITUIDS]: Remove conditional code.
22300 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22301 <kernel-features.h>.
22302 [__ASSUME_32BITUIDS]: Make code unconditional.
22303 [!__ASSUME_32BITUIDS]: Remove conditional code.
22304 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22305 <kernel-features.h>.
22306 [__ASSUME_32BITUIDS]: Make code unconditional.
22307 [!__ASSUME_32BITUIDS]: Remove conditional code.
22308 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22309 <kernel-features.h>.
22310 [__ASSUME_32BITUIDS]: Make code unconditional.
22311 [!__ASSUME_32BITUIDS]: Remove conditional code.
22312 * sysdeps/unix/sysv/linux/kernel-features.h
22313 (__ASSUME_SETRESUID_SYSCALL): Remove.
22314 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22315 (__ASSUME_32BITUIDS): Likewise.
22316 (__ASSUME_LDT_WORKS): Likewise.
22317 (__ASSUME_O_DIRECTORY): Likewise.
22318 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22319 architecture but not kernel version.
22320 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22321 (__ASSUME_MMAP2_SYSCALL): Likewise.
22322 (__ASSUME_STAT64_SYSCALL): Likewise.
22323 (__ASSUME_IPC64): Likewise.
22324 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22325 <kernel-features.h>.
22326 [__ASSUME_32BITUIDS]: Make code unconditional.
22327 [!__ASSUME_32BITUIDS]: Remove conditional code.
22328 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22329 <kernel-features.h>.
22330 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22331 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22332 132096]: Remove conditional code.
22333 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22335 <kernel-features.h>.
22336 [__ASSUME_32BITUIDS]: Make code unconditional.
22337 [!__ASSUME_32BITUIDS]: Remove conditional code.
22338 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22339 <kernel-features.h>.
22340 [__ASSUME_32BITUIDS]: Make code unconditional.
22341 [!__ASSUME_32BITUIDS]: Remove conditional code.
22342 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22343 <kernel-features.h>.
22344 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22345 unconditional.
22346 (__setresgid): Do not declare.
22347 [__ASSUME_32BITUIDS]: Make code unconditional.
22348 [!__ASSUME_32BITUIDS]: Remove conditional code.
22349 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22350 <kernel-features.h>.
22351 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22352 unconditional.
22353 (__setresuid): Do not declare.
22354 [__ASSUME_32BITUIDS]: Make code unconditional.
22355 [!__ASSUME_32BITUIDS]: Remove conditional code.
22356 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22357 <kernel-features.h>.
22358 [__ASSUME_32BITUIDS]: Make code unconditional.
22359 [!__ASSUME_32BITUIDS]: Remove conditional code.
22360 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22361 <kernel-features.h>.
22362 [__ASSUME_32BITUIDS]: Make code unconditional.
22363 [!__ASSUME_32BITUIDS]: Remove conditional code.
22364
a386f1cc
RH
223652012-05-25 Richard Henderson <rth@twiddle.net>
22366
22367 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22368 dl_hwcap to ifunc resolver.
22369 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22370 elf_ifunc_invoke.
22371 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22372 dl_hwcap to ifunc resolver.
22373 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22374
b6550497
JM
223752012-05-24 Joseph Myers <joseph@codesourcery.com>
22376
22377 [BZ #14153]
22378 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22379 for |x| <= 2**-26, not 2**-57.
22380 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22381 exception.
22382
b0bc23a1
JL
223832012-05-24 Jeff Law <law@redhat.com>
22384
22385 * stdio-common/Makefile (tests): Add bug25.
22386 * stdio-common/bug25.c: New test.
22387
347c92e9
L
223882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22389
22390 [BZ #13576]
22391 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22392 multiple of MALLOC_ALIGNMENT in size.
22393 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22394
6bcc8b3f
JM
223952012-05-24 Joseph Myers <joseph@codesourcery.com>
22396
22397 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22398 Require >= 256.
22399 (FILENAME_MAX): Use macro-int-constant.
22400 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22401 (_IOFBF): Use macro-int-constant.
22402 (_IOLBF): Likewise.
22403 (_IONBF): Likewise.
22404 (SEEK_CUR): Likewise.
22405 (SEEK_END): Likewise.
22406 (SEEK_SET): Likewise.
22407 (TMP_MAX): Likewise.
22408 (EOF): Use macro-int-constant. Require < 0.
22409 (NULL): Use macro-constant. Require == 0.
22410 (stdin): Require type to be FILE *.
22411 (stdout): Likewise.
22412 (stderr): Likewise.
22413 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22414 macro-int-constant.
22415 (EXIT_SUCCESS): Likewise.
22416 (NULL): Use macro-constant. Require == 0.
22417 (RAND_MAX): Use macro-int-constant.
22418 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22419 [C99-based standards] (strtof): Require function.
22420 [C99-based standards] (strtold): Likewise.
22421 [C99-based standards] (strtoll): Likewise.
22422 [C99-based standards] (strtoull): Likewise.
22423 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22424 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22425 [ISO || ISO99 || ISO11] (math.h): Likewise.
22426 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22427 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22429
d18ea0c5
AS
224302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22431
22432 [BZ #14132]
56d25bb8
AS
22433 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22434 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22435 * intl/dgettext.c (DCGETTEXT): Likewise.
22436 * intl/gettext.c (DCGETTEXT): Likewise.
22437 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22438 * posix/regex_internal.h (gettext): Likewise.
22439 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22440 Remove declaration.
22441 * include/argz.h (__argz_count_internal)
22442 (__argz_stringify_internal): Remove declaration.
22443 (__argz_count, __argz_stringify): Declare hidden proto.
22444 * intl/dcgettext.c: Remove use of INTDEF.
22445 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22446 * string/argz-stringify.c: Likewise.
22447 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22448 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22449 Declare hidden proto.
d18ea0c5
AS
22450 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22451 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22452 Declare hidden proto.
22453 * include/stdio.h (__asprintf_internal): Don't declare.
22454 (__asprintf): Don't define as macro. Declare hidden proto.
22455 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22456 (__fsetlocking): Declare hidden proto.
22457 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22458 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22459 hidden proto.
22460 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22461 (_IO_setlinebuf): Remove use of INTUSE.
22462 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22463 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22464 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22465 Remove declaration.
22466 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22467 (_IO_do_flush): Remove use of INTUSE.
22468 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22469 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22470 (_IO_adjust_column, _IO_least_wmarker)
22471 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22472 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22473 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22474 (_IO_default_doallocate, _IO_wdefault_doallocate)
22475 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22476 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22477 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22478 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22479 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22480 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22481 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22482 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22483 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22484 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22485 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22486 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22487 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22488 proto.
22489 (_IO_flush_all_internal, _IO_adjust_column_internal)
22490 (_IO_default_uflow_internal, _IO_default_finish_internal)
22491 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22492 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22493 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22494 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22495 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22496 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22497 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22498 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22499 (_IO_file_close_internal, _IO_file_close_it_internal)
22500 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22501 (_IO_file_init_internal, _IO_file_attach_internal)
22502 (_IO_file_fopen_internal, _IO_file_read_internal)
22503 (_IO_file_sync_internal, _IO_file_seek_internal)
22504 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22505 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22506 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22507 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22508 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22509 (_IO_list_all_internal, _IO_link_in_internal)
22510 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22511 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22512 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22513 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22514 (_IO_do_write_internal, _IO_padn_internal)
22515 (_IO_getline_info_internal, _IO_getline_internal)
22516 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22517 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22518 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22519 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22520 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22521 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22522 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22523 with libc_hidden_ver, remove use of INTUSE.
22524 * libio/genops.c: Likewise.
22525 * libio/freopen.c: Likewise.
22526 * libio/freopen64.c: Likewise.
22527 * libio/iofclose.c: Likewise.
22528 * libio/iofdopen.c: Likewise.
22529 * libio/iofflush.c: Likewise.
22530 * libio/iofflush_u.c: Likewise.
22531 * libio/iofgets.c: Likewise.
22532 * libio/iofgets_u.c: Likewise.
22533 * libio/iofopen.c: Likewise.
22534 * libio/iofopncook.c: Likewise.
22535 * libio/iofread.c: Likewise.
22536 * libio/iofread_u.c: Likewise.
22537 * libio/ioftell.c: Likewise.
22538 * libio/iofwrite.c: Likewise.
22539 * libio/iogetline.c: Likewise.
22540 * libio/iogets.c: Likewise.
22541 * libio/iogetwline.c: Likewise.
22542 * libio/iopadn.c: Likewise.
22543 * libio/iopopen.c: Likewise.
22544 * libio/ioseekoff.c: Likewise.
22545 * libio/ioseekpos.c: Likewise.
22546 * libio/iosetbuffer.c: Likewise.
22547 * libio/iosetvbuf.c: Likewise.
22548 * libio/ioungetc.c: Likewise.
22549 * libio/ioungetwc.c: Likewise.
22550 * libio/iovdprintf.c: Likewise.
22551 * libio/iovsprintf.c: Likewise.
22552 * libio/iovsscanf.c: Likewise.
22553 * libio/memstream.c: Likewise.
22554 * libio/obprintf.c: Likewise.
22555 * libio/oldfileops.c: Likewise.
22556 * libio/oldiofclose.c: Likewise.
22557 * libio/oldiofdopen.c: Likewise.
22558 * libio/oldiofopen.c: Likewise.
22559 * libio/oldiopopen.c: Likewise.
22560 * libio/oldstdfiles.c: Likewise.
22561 * libio/putc.c: Likewise.
22562 * libio/setbuf.c: Likewise.
22563 * libio/setlinebuf.c: Likewise.
22564 * libio/stdfiles.c: Likewise.
22565 * libio/strops.c: Likewise.
22566 * libio/vasprintf.c: Likewise.
22567 * libio/vscanf.c: Likewise.
22568 * libio/vsnprintf.c: Likewise.
22569 * libio/vswprintf.c: Likewise.
22570 * libio/wfiledoalloc.c: Likewise.
22571 * libio/wfileops.c: Likewise.
22572 * libio/wgenops.c: Likewise.
22573 * libio/wmemstream.c: Likewise.
22574 * libio/wstrops.c: Likewise.
22575 * libio/__fpurge.c: Likewise.
22576 * libio/__fsetlocking.c: Likewise.
22577 * assert/assert.c: Likewise.
22578 * debug/fgets_chk.c: Likewise.
22579 * debug/fgets_u_chk.c: Likewise.
22580 * debug/fread_chk.c: Likewise.
22581 * debug/fread_u_chk.c: Likewise.
22582 * debug/gets_chk.c: Likewise.
22583 * debug/obprintf_chk.c: Likewise.
22584 * debug/vasprintf_chk.c: Likewise.
22585 * debug/vdprintf_chk.c: Likewise.
22586 * debug/vsnprintf_chk.c: Likewise.
22587 * debug/vsprintf_chk.c: Likewise.
22588 * malloc/mtrace.c: Likewise.
22589 * misc/error.c: Likewise.
22590 * misc/syslog.c: Likewise.
22591 * stdio-common/asprintf.c: Likewise.
22592 * stdio-common/fxprintf.c: Likewise.
22593 * stdio-common/getw.c: Likewise.
22594 * stdio-common/isoc99_fscanf.c: Likewise.
22595 * stdio-common/isoc99_scanf.c: Likewise.
22596 * stdio-common/isoc99_vfscanf.c: Likewise.
22597 * stdio-common/isoc99_vscanf.c: Likewise.
22598 * stdio-common/isoc99_vsscanf.c: Likewise.
22599 * stdio-common/printf-prs.c: Likewise.
22600 * stdio-common/printf_fp.c: Likewise.
22601 * stdio-common/printf_fphex.c: Likewise.
22602 * stdio-common/printf_size.c: Likewise.
22603 * stdio-common/putw.c: Likewise.
22604 * stdio-common/scanf.c: Likewise.
22605 * stdio-common/sprintf.c: Likewise.
22606 * stdio-common/tmpfile.c: Likewise.
22607 * stdio-common/vfprintf.c: Likewise.
22608 * stdio-common/vfscanf.c: Likewise.
22609 * stdlib/strfmon_l.c: Likewise.
22610 * sunrpc/openchild.c: Likewise.
22611 * sunrpc/xdr_stdio.c: Likewise.
22612 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22613 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22614
d6c33fda
RM
226152012-05-24 Roland McGrath <roland@hack.frob.com>
22616
c1487492
RM
22617 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22618
22619 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22620 in the third column, to generate for the shared library an IFUNC
22621 that uses _dl_vdso_vsym.
22622 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22623 * Makeconfig (object-suffixes-noshared): New variable.
22624
22625 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22626 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22627 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22628 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22629
d6c33fda
RM
22630 [BZ #14132]
22631 * include/sys/time.h (__gettimeofday): Remove macro.
22632 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22633 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22634 Remove INTDEF.
22635 (__gettimeofday): Add libc_hidden_def.
22636 (gettimeofday): Add libc_hidden_weak.
22637 * sysdeps/mach/gettimeofday.c: Likewise.
22638 * sysdeps/posix/gettimeofday.c: Likewise.
22639 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22640 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22642 (__gettimeofday_internal): Remove strong_alias.
22643 (__gettimeofday): Add libc_hidden_def.
22644 (gettimeofday): Add libc_hidden_weak.
22645 * sysdeps/unix/syscalls.list (gettimeofday):
22646 Remove __gettimeofday_internal alias.
22647
b5a2bbe6
L
226482012-05-24 Daniel Jacobowitz <drow@false.org>
22649 H.J. Lu <hongjiu.lu@intel.com>
22650
22651 [BZ #12495]
22652 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22653 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22654 (largebin_index_32_big): New.
22655 (largebin_index): Use it for 16-byte alignment.
22656 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22657 correction with front_misalign.
22658
cfba4fda
L
226592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22660
7f907421
L
22661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22663 Likewise.
22664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22665 Likewise.
22666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22667 Likewise.
22668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22669 Likewise.
22670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22671 Likewise.
22672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22673 Likewise.
22674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22675 Likewise.
22676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22677 Likewise.
22678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22679 Likewise.
22680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22681 Likewise.
22682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22683 Likewise.
22684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22685 Likewise.
22686
cfba4fda
L
22687 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22688 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22689
80bad0cc
JM
226902012-05-24 Joseph Myers <joseph@codesourcery.com>
22691
7a25eb06
JM
22692 [BZ #10846]
22693 [BZ #14036]
22694 * math/libm-test.inc (exp_test): Add test from bug 14036.
22695 (pow_test): Add test from bug 10846.
22696
795405f9
JM
22697 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22698 and other flags.
22699 (special_function): Do not include flags in test name.
22700 (parse_args): Likewise.
22701 * sysdeps/i386/fpu/libm-test-ulps: Update.
22702 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22703 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22704 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22706
80bad0cc
JM
22707 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22708 exceptions.
22709 * math/libm-test.inc ("Philosophy"): Update comment about
22710 exception testing.
22711 (UNDERFLOW_EXCEPTION): New macro.
22712 (UNDERFLOW_EXCEPTION_OK): Likewise.
22713 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22714 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22715 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22716 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22717 (INVALID_EXCEPTION_OK): Update value.
22718 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22719 (OVERFLOW_EXCEPTION_OK): Likewise.
22720 (IGNORE_ZERO_INF_SIGN): Likewise.
22721 (test_exceptions): Handle underflow exceptions.
22722 (acos_test): Update for underflow exception expectations.
22723 (cexp_test): Likewise.
22724 (clog_test): Likewise.
22725 (clog10_test): Likewise.
22726 (csqrt_test): Likewise.
22727 (ctan_test): Likewise.
22728 (ctanh_test): Likewise.
22729 (exp_test): Likewise.
22730 (exp10_test): Likewise.
22731 (exp2_test): Likewise.
22732 (expm1_test): Likewise.
22733 (fma_test): Likewise.
22734 (j0_test): Likewise.
22735 (jn_test): Likewise.
22736 (nexttoward_test): Likewise.
22737 (pow_test): Likewise.
22738 (scalbn_test): Likewise.
22739 (scalbln_test): Likewise.
22740 (tan_test): Likewise.
22741 (y1_test): Likewise.
22742 * sysdeps/i386/fpu/libm-test-ulps: Update.
22743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22744
9e0e3d0b
DM
227452012-05-23 David S. Miller <davem@davemloft.net>
22746
22747 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22748 (__libc_sigaction): Remove unused local variables.
22749
ccd0a08f
L
227502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22751
22752 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22753
62bdf9a6
PE
227542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22755
f8591f80
PE
22756 mktime: avoid signed integer overflow
22757 * time/mktime.c (__mktime_internal): Do not mishandle the case
22758 where diff == INT_MIN.
22759
94c7d826
PE
22760 mktime: simplify computation of average
22761 * time/mktime.c (ranged_convert): Use new time_t_avg function
22762 instead of rolling our own (probably-slower) code.
22763
ce73d683
PE
22764 mktime: do not assume signed right shift propagates sign bit
22765 * time/mktime.c (isdst_differ): New static function.
22766 (__mktime_internal): No need to normalize tm_isdst now.
22767 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22768 tm_isdst values.
22769
72a22e59
PE
22770 mktime: merge another wrapv change from gnulib
22771 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22772 from some compilers.
22773
68605433
PE
22774 mktime: remove incorrect attempt at unusual arithmetics
22775 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22776 The code didn't really work on such machines anyway.
22777 (TYPE_MINIMUM): Assume two's complement.
22778 (twos_complement_arithmetic): Verify that long_int and time_t
22779 are two's complement (or unsigned, in the latter case).
22780
03cf7fe3
PE
22781 mktime: check signed shifts on long_int and time_t, too
22782 * time/mktime.c (SHR): Check that shifts work as desired
22783 on the types long_int and time_t too, as SHR is used on
22784 such types.
22785
f04dfbc2
PE
22786 mktime: do not assume 'long' is wide enough
22787 * time/mktime.c (verify): Move decl up.
22788 (long_int): New type.
22789 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22790 to remove assumption in the code that 'long' is wide enough to
22791 store year values. This assumption is not true on x32 and on
22792 some non-glibc platforms.
22793
62bdf9a6
PE
22794 mktime: merge wrapv change from gnulib
22795 * time/mktime.c (WRAPV): New macro.
22796 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22797 (guess_time_tm, __mktime_internal): Do not assume that signed
22798 integer overflow wraps around; modern compilers generate code
22799 where this assumption is no longer valid.
22800
5e292e4f
L
228012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22802
22803 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22804 Replace "jmp L(pseudo_end)" with "ret".
22805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22806 Likewise.
22807
8caf8c87
AJ
228082012-05-23 Andreas Jaeger <aj@suse.de>
22809
22810 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22811 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22812
1a09dc56
AJ
228132012-05-23 Andreas Jaeger <aj@suse.de>
22814 Maximilian Attems <max@stro.at>
22815
22816 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22817 New macros.
22818
1c87aba0
L
228192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22820
22821 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22822 code so that pseudo_end is just ret and the stack pointer is
22823 correct also for static library in error case.
22824
40e45bd5
JM
228252012-05-23 Joseph Myers <joseph@codesourcery.com>
22826
c2670533
JM
22827 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22828 move to syscalls.list.
22829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22833
40e45bd5
JM
22834 * manual/install.texi (Running make install): Do not mention Linux
22835 kernel version for which pt_chown is not needed.
22836 (Linux): Do not mention problems with nscd with 2.0 kernels.
22837 * INSTALL: Regenerated.
22838
be08eda5
AJ
228392012-05-23 Andreas Jaeger <aj@suse.de>
22840
22841 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22842 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22843 macro.
22844 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22845 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22846 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22847 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22848 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22849 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22850 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22851 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22852 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22853 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22854 * sysdeps/unix/sysv/linux/bits/in.h
22855 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22856
a6a056bb
RM
228572012-05-22 Roland McGrath <roland@hack.frob.com>
22858
22859 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22860 (PREPARE_VERSION): Just use assert instead, it will be elided
22861 under [NDEBUG] anyway.
22862
c9009328
L
228632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22864
22865 * sysdeps/unix/sysv/linux/Makefile: Include
22866 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22867 (sysdep_routines): Remove sysctl.
c9009328
L
22868 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22869 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22870 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22871 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22872 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22873
73338355
AJ
228742012-05-22 Andreas Jaeger <aj@suse.de>
22875
22876 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22877 that pseudo_end is just ret and the stack pointer is correct also
22878 for static library in error case.
22879
d44638b0
PP
228802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22881
22882 [BZ #14122]
22883 * nss/nsswitch.c (defconfig_entries): New variable.
22884 (__nss_database_lookup): Don't leak defconfig entries.
22885 (nss_parse_service_list): Don't leak on error paths.
22886 (free_database_entries): New function.
22887 (free_defconfig): New function.
22888 (free_mem): Move common code to free_database_entries.
22889
31a39bd8
L
228902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22891
da0331a8
L
22892 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22893 Add arch_prctl.
22894 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22895
31a39bd8
L
22896 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22897 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22899 New macro.
22900 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22901 (INTERNAL_SYSCALL_TYPES): Likewise.
22902 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22903 (LOAD_REGS_TYPES_[1-6]): Likewise.
22904 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22905 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22906
45470df3
AZ
229072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22908
22909 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22910 copysignl for GLIBC_2_0.
22911 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22912 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22914 logbl for GLIBC_2_0.
22915 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22916 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22917
98a61bcb
L
229182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22919
a4f6e481
L
22920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22921 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22922
f63d5db6
L
22923 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22924 Use "neg %eax".
22925
98a61bcb
L
22926 * time/mktime.c: Update copyright years.
22927
95770f14
PE
229282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22929
6226efbd
PE
22930 mktime: merge comment-quoting-style change from gnulib
22931 * time/mktime.c: Quote 'like this' in comments.
22932 The GNU coding standards suggest that we no longer quote `like this',
22933 as "`" and "'" are typically rendered asymmetrically nowadays.
22934 The typical gnulib style is to quote 'like this' when quoting
22935 code, and "like this" when quoting English.
22936
b99e4f78
PE
22937 * time/mktime.c (compile-command): Add "-I.".
22938
643e01e6
PE
22939 mktime: merge mktime-internal.h change from gnulib
22940 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22941
2554247d
PE
22942 mktime: merge time_r change from gnulib
22943 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22944
826dd0ab
PE
22945 mktime: merge DEBUG change from gnulib
22946 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22947 case system <time.h> has a #define.
22948
bd83aabe
PE
22949 mktime: merge <sys/types.h> change from gnulib
22950 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22951 since <time.t> is now guaranteed to define time_t.
22952
95770f14
PE
22953 mktime: merge HAVE_CONFIG_H change from gnulib
22954 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22955
5e1a27a9
L
229562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22957
0e44a77e
L
22958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22959 Use "neg %eax".
22960
5e1a27a9
L
22961 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22962 __rlim_t cast.
22963 (struct rusage): Use anonymous union to pad each field to
22964 __syscall_slong_t.
22965
46259bec
DM
229662012-05-21 David S. Miller <davem@davemloft.net>
22967
22968 * Makefules (o-iterator): Remove .s cases.
22969 (compile-command.s): Delete.
22970 (COMPILE.s): Delete.
22971 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22972
59f0c22e
JM
229732012-05-21 Joseph Myers <joseph@codesourcery.com>
22974
22975 * configure.in (libc_cv_predef_stack_protector): Only consider
22976 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22977 * configure: Regenerated.
22978
20c07380
L
229792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22980
bbb3154b
L
22981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22982 New macro. Use R*LP on int and pointer.
22983 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22984 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22985 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22986 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22987
20c07380
L
22988 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22989 [__WORDSIZE_TIME64_COMPAT32] instead of
22990 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22991 (struct utmp): Likewise.
22992 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22993 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22994 Renamed to ...
22995 (__WORDSIZE_TIME64_COMPAT32): This.
22996 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22997 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22998 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22999 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23000 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23001 (__WORDSIZE_TIME64_COMPAT32): New macro.
23002
d8d1017e
AJ
230032012-05-21 Andreas Jaeger <aj@suse.de>
23004
23005 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23006 only if [SHARED]. Add prototype for __wcschr_ia32.
23007
6c7fb145
RM
230082012-05-21 Roland McGrath <roland@hack.frob.com>
23009
23010 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23011 of %rbp unmolested in the jmp_buf while mangling the low bits.
23012 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23013 unmolested high bits of %rbp while demangling the low bits.
23014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23015
66274218
AJ
230162012-05-21 Andreas Jaeger <aj@suse.de>
23017
07c58f8f
AJ
23018 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23019 * sunrpc/svc_simple.c: Use it for registerrpc.
23020 * sunrpc/xcrypt.c: Use it for passwd2des.
23021
66274218
AJ
23022 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23023
61f65140
L
230242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23025
23026 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23027 Don't define if [__SYSCALL_WORDSIZE != 32].
23028 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23029 New macro.
23030
5fefb436
AJ
230312012-05-21 Bruno Haible <bruno@clisp.org>
23032 Andreas Jaeger <aj@suse.de>
23033
23034 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23035 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23036 inptr and inend for must_buffer_ch.
23037 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23038 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23039 * stdio-common/Makefile (tests): Remove bug15.
23040 (bug15-ENV): Remove macro.
23041 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23042 anymore.
23043
d8e272ab
AJ
230442012-05-19 Andreas Jaeger <aj@suse.de>
23045 Roland McGrath <roland@hack.frob.com>
23046
23047 * manual/contrib.texi: Completely rewritten. It contains now an
23048 alphabetical list of contributors and their contributions.
23049
4a56a162
RH
230502012-05-21 Richard Henderson <rth@twiddle.net>
23051
23052 * misc/getauxval.c (__getauxval): Use unsigned long int.
23053 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23054 (getauxval): Use unsigned long int.
23055
d024d23c
L
230562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23057
23058 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23059
cbc00a03
RM
230602012-05-21 Roland McGrath <roland@hack.frob.com>
23061
23062 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23063 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23064 __alignof__ (long double).
23065
478143fa
AZ
230662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23067
23068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23069
c7683a6d
RH
230702012-05-20 Richard Henderson <rth@twiddle.net>
23071
23072 * misc/getauxval.c: New file.
23073 * misc/sys/auxv.h: New file.
23074 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23075 (routines): Add getauxval.
23076 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23077 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23078 * elf/dl-sysdep.c (_dl_auxv): Remove.
23079 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23080 * elf/dl-support.c (_dl_auxv): New variable.
23081 (_dl_aux_init): Initialize it.
23082 * manual/startup.texi (Auxiliary Vector): New node.
23083 * sysdeps/generic/bits/hwcap.h: New file.
23084 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23085 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23086 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23087 * sysdeps/sparc/sysdep.h: ... here. Include it.
23088 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23091 Update.
c7683a6d
RH
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23100
a6f1845d
AZ
231012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23102
23103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23104
cbcbe830
DM
231052012-05-19 David S. Miller <davem@davemloft.net>
23106
23107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23108
e0b16cc2
JM
231092012-05-19 Joseph Myers <joseph@codesourcery.com>
23110
23111 [BZ #14123]
23112 * math/s_ccosh.c: Include <float.h>
23113 (__ccosh): Avoid internal overflow calculating sinh and cosh
23114 values before multiplying by sin and cos values.
23115 * math/s_ccoshf.c: Likewise.
23116 * math/s_ccoshl.c: Likewise.
23117 * math/s_csin.c: Likewise.
23118 * math/s_csinf.c: Likewise.
23119 * math/s_csinl.c: Likewise.
23120 * math/s_csinh.c: Likewise.
23121 * math/s_csinhf.c: Likewise.
23122 * math/s_csinhl.c: Likewise.
23123 * math/libm-test.inc (ccos_test): Add more tests.
23124 (ccosh_test): Likewise.
23125 (csin_test): Likewise.
23126 (csinh_test): Likewise.
23127 * sysdeps/i386/fpu/libm-test-ulps: Update.
23128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23129
6ad13e08
L
231302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23131
f66f0ce8
L
23132 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23133 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23134
6ad13e08
L
23135 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23136
b1d072a7
JM
231372012-05-19 Joseph Myers <joseph@codesourcery.com>
23138
23139 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23140 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23141 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23142 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23143 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23144 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23145 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23146 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23147 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23148 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23149 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23150 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23151 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23152 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23153 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23154 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23155 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23156 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23157 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23158 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23159 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23160 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23161 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23162 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23163 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23164 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23165 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23166 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23167 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23168 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23169 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23170
9eae47cb
AJ
231712012-05-18 Andreas Jaeger <aj@suse.de>
23172
23173 * csu/.gitignore: Delete.
23174
bb07f69f
L
231752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23176
23177 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23178 (timex): Use __syscall_slong_t.
23179
e6bdb741
AJ
231802012-05-18 Andreas Jaeger <aj@suse.de>
23181 Carlos O'Donell <carlos_odonell@mentor.com>
23182
23183 * manual/install.texi (Configuring and compiling): Update
23184 description about files modified in the source directory.
d6c33fda 23185 * INSTALL: Regenerated.
e6bdb741 23186
1b74487e
L
231872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23188
23189 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23190 value. Use "or" to set return value to -1.
23191 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23192 negate return value.
23193
a88b64b9
TMQMF
231942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23195
23196 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23197 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23198 failure if the compiler has Graphite support disabled.
23199 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23200 Likewise.
23201 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23202 CFLAGS-memmove.c): Likewise.
23203 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23204 Likewise.
23205
3707636e
L
232062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23207
610b8622
L
23208 * sysdeps/x86_64/x32/_itoa.h: New file.
23209
7cd195df
L
23210 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23211 getdents system call only if kernel and user dirents have the
23212 same d_ino and d_off.
23213
94b07d20
L
23214 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23215 LLONG_MAX != LONG_MAX.
23216 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23217 (_fitoa_word): Likewise.
23218
18298070
L
23219 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23220 years.
23221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23222 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23223 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23224
553c7ea4
L
23225 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23226 include <bits/wordsize.h>. Check __x86_64__ instead of
23227 __WORDSIZE.
23228 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23229 if __x86_64__ is defined. Use anonymous union on fpstate.
23230
3707636e
L
23231 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23232 anonymous union.
23233
b53ef01a
AS
232342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23235
37fb1dc0
AS
23236 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23237 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23238 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23239 Refer to _rtld_local_ro instead of _rtld_global_ro.
23240 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23241 Likewise.
23242 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23243 Likewise.
23244 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23245 Likewise.
23246 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23247 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23248 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23249
b53ef01a
AS
23250 * sysdeps/powerpc/powerpc32/dl-machine.c
23251 (__elf_machine_runtime_setup) [PROF]: Don't reference
23252 _dl_prof_resolve.
23253
7a185db2
AJ
232542012-05-18 Andreas Jaeger <aj@suse.de>
23255
23256 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23257 function only available for GCCs before 3.4 since GCC 3.4
23258 introduced a builtin.
23259 (lrint): Likewise.
23260 (llrintf): Likewise.
23261 (llrint): Likewise.
23262 (fmaxf): Likewise.
23263 (fmax): Likewise.
23264 (fminf): Likewise.
23265 (fmin): Likewise.
23266 (rint): Likewise.
23267 (rintf): Likewise.
23268 (nearbyint): Likewise.
23269 (nearbyintf): Likewise.
23270 (ceil): Likewise.
23271 (ceilf): Likewise.
23272 (floor): Likewise.
23273 (floorf): Likewise.
23274
3e5aef87
L
232752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23276
428bd707
L
23277 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23278 on both fields and cast pointer to __syscall_ulong_t.
23279
3e5aef87
L
23280 * bits/types.h (__fsword_t): New type.
23281 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23282 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23284 (__FSWORD_T_TYPE): Likewise.
23285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23286 (__FSWORD_T_TYPE): Likewise.
23287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23288 (__FSWORD_T_TYPE): Likewise.
23289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23290 (__FSWORD_T_TYPE): Likewise.
23291 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23292 __SWORD_TYPE with __fsword_t.
23293 (statfs64): Likewise.
23294
1ba7c3dc
DM
232952012-05-17 David S. Miller <davem@davemloft.net>
23296
23297 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23298
59910343
AJ
232992012-05-17 Andreas Jaeger <aj@suse.de>
23300
23301 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23302 warning.
23303
2e4c1e9e
L
233042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23305
23306 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23307
de7f5ce7
AJ
233082012-05-17 Andreas Jaeger <aj@suse.de>
23309
23310 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23311 when it is used.
23312
286abc3d
CM
233132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23314
23315 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23316
477cc68e
L
233172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23318
23319 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23320 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23321
1a0994f5
CD
233222012-05-17 Andreas Jaeger <aj@suse.de>
23323 Carlos O'Donell <carlos_odonell@mentor.com>
23324
23325 [BZ #14059]
23326 * sysdeps/x86_64/multiarch/init-arch.h
23327 (bit_YMM_Usable): Rename to...
23328 (bit_AVX_Usable): ... this.
23329 (bit_FMA4_Usable): New macro.
23330 (bit_XMM_state): New macro.
23331 (bit_YMM_state): New macro.
23332 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23333 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23334 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23335 (CPUID_OSXSAVE): New macro.
23336 (CPUID_AVX): New macro.
23337 (CPUID_FMA4): New macro.
23338 (index_YMM_Usable): Rename to...
23339 (index_AVX_Usable): ... this.
23340 (HAS_AVX): Use HAS_ARCH_FEATURE.
23341 (HAS_FMA4): Likewise.
23342 (HAS_YMM_USABLE): Remove.
23343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23344 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23345 are present.
23346 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23347 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23348 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23349 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23350 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23351
0af797de
CM
233522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23353
23354 * math/libm-test.c: Support platforms without multiple rounding modes.
23355 * math/bug-nextafter.c: Support platforms without FP exceptions.
23356 * math/bug-nexttoward.c: Likewise.
23357 * math/test-fenv.c: Likewise.
23358 * math/test-misc.c: Likewise.
23359 * stdlib/bug-getcontext.c: Likewise.
23360
e39745ff
AJ
233612012-05-17 Andreas Jaeger <aj@suse.de>
23362
23363 * manual/examples/search.c (critter_cmp): Change signature to
23364 avoid warnings.
23365 * manual/string.texi (Collation Functions): Likewise.
23366
48970aba
L
233672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23368
23369 * bits/types.h: Fold copyright years.
23370 * bits/typesizes.h: Likewise.
23371 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23374 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23375 * time/time.h: Likewise.
23376
bedee953
PP
233772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23378
23379 [BZ #208]
23380 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23381 in instead of returning them. Return void.
23382 (__libc_mallinfo): Accumulate over all arenas.
23383 (__malloc_stats): Adjust for change in int_mallinfo interface.
23384
61653dfb
RM
233852012-05-16 Roland McGrath <roland@hack.frob.com>
23386
30b99d79
RM
23387 [BZ #10375]
23388 * configure.in (NM): Add AC_CHECK_TOOL for it.
23389 (libc_extra_cflags): New substituted variable.
23390 Check for -fstack-protector being used implicitly.
23391 * configure: Regenerated.
23392 * config.make.in (config-extra-cflags): New variable,
23393 gets @libc_extra_cflags@.
23394 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23395
61653dfb
RM
23396 [BZ #10375]
23397 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23398 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23399 * configure: Regenerated.
23400 * config.make.in (CPPUNDEFS): New substituted variable.
23401 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23402 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23403 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23404
661768bb
L
234052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23406
23407 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23408 (mq_attr): Use __syscall_slong_t.
23409
d4261567
L
234102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23411
23412 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23413 Check __x86_64__ instead of __WORDSIZE.
23414 (_STAT_VER_LINUX): Likewise.
23415 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23416 __syscall_ulong_t and __syscall_slong_t.
23417 (stat64): Likewise.
23418
cf3ff365
L
234192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23420
23421 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23422
76cf3e4d
L
234232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23424
23425 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23426
a637753a
L
234272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23428
23429 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23430 __syscall_ulong_t.
23431
d5e05119
L
23432 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23433 include <bits/wordsize.h>. Check __x86_64__ instead of
23434 __WORDSIZE.
23435 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23436 defined.
23437 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23438
f62ee380
L
23439 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23440 include <bits/wordsize.h>. Check __x86_64__ instead of
23441 __WORDSIZE.
23442 (user_regs_struct): Use "__extension__ unsigned long long"
23443 instead of "unsigned long" if __x86_64__ is defined.
23444 (user): Likewise. Pad after pointer field if __ILP32__ is
23445 defined.
23446
4e124ced
JM
234472012-05-16 Joseph Myers <joseph@codesourcery.com>
23448
6a3951a0
JM
23449 * configure.in (makeinfo): Require version 4.5 or later. Allow
23450 versions 5 to 9.
23451 * configure: Regenerated.
23452 * manual/install.texi (texinfo): Increase version requirement to
23453 4.5 or later.
23454 * INSTALL: Regenerated.
23455
4e124ced
JM
23456 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23457
953ca31a
L
234582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23459
23460 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23461
617aca05
L
23462 * sysdeps/x86_64/x32/ffs.c: New file.
23463
5762f7ae
L
23464 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23465 __syscall_ulong_t.
23466 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23467 defined. Use __syscall_ulong_t.
23468 (shminfo): Use __syscall_ulong_t.
23469 (shm_info): Likewise.
23470
a26b6856
L
23471 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23472 __syscall_ulong_t.
23473
cb2b9ef7
L
23474 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23475 <bits/wordsize.h>.
23476 (msgqnum_t): Use __syscall_ulong_t.
23477 (msglen_t): Likewise.
23478 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23479 __syscall_ulong_t.
23480
34683bb0
L
23481 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23482 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23483
84a68786
L
23484 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23485
48baa5f1
L
23486 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23487 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23488
180be88b
L
23489 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23490 __syscall_slong_t.
23491
5e90c8ad
L
23492 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23493 include <bits/wordsize.h>. Check __x86_64__ instead of
23494 __WORDSIZE.
23495
23dfb58b
L
23496 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23497 "unsigned long long int" if __x86_64__ is defined.
23498 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23499
ce5d54b0
L
23500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23501 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23502 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23503
13dc9eac
L
23504 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23505 <stdint.h>.
23506 (GET_PC): Cast to uintptr_t first.
23507 (GET_FRAME): Likewise.
23508 (GET_STACK): Likewise.
23509
a7895d15
L
23510 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23512 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23513 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23514 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23515 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23516 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23517 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23518 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23519 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23520 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23521 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23523 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23524 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23525 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23527 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23528 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23529 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23530 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23532 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23533 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23534 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23535 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23537 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23538 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23539
656416c9
AS
235402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23541
5bd66283
AS
23542 * Makerules (+depfiles): Also collect depfiles from .oS in
23543 $(extra-objs).
23544 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23545 .oS, $(libnldbl-routines)).
23546
656416c9
AS
23547 * Makerules (native-compile-mkdep-flags): Define.
23548 * sunrpc/Makefile (extra-objs): Add $(addprefix
23549 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23550 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23551 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23552 calling $(make-target-directory).
23553
a46f2169
L
235542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23555
23556 * bits/types.h (__snseconds_t): Removed.
23557 * time/time.h (struct timespec): Replace __snseconds_t with
23558 __syscall_slong_t.
23559 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23560 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23561 Likewise.
23562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23563 (__SNSECONDS_T_TYPE): Likewise.
23564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23565 (__SNSECONDS_T_TYPE): Likewise.
23566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23567 (__SNSECONDS_T_TYPE): Likewise.
23568
6af6528b
L
235692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23570
23571 * sysdeps/mach/hurd/bits/typesizes.h
23572 (__SYSCALL_SLONG_TYPE): New macro.
23573 (__SYSCALL_ULONG_TYPE): Likewise.
23574
de986b56
L
235752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23576
23577 * bits/types.h (__syscall_slong_t): New type.
23578 (__syscall_ulong_t): Likewise.
23579
23580 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23581 (__SYSCALL_ULONG_TYPE): Likewise.
23582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23583 (__SYSCALL_SLONG_TYPE): Likewise.
23584 (__SYSCALL_ULONG_TYPE): Likewise.
23585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23586 (__SYSCALL_SLONG_TYPE): Likewise.
23587 (__SYSCALL_ULONG_TYPE): Likewise.
23588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23589 (__SYSCALL_SLONG_TYPE): Likewise.
23590 (__SYSCALL_ULONG_TYPE): Likewise.
23591
85736dc7
L
235922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23593
23594 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23595 Add sigaltstack-offsets.sym.
23596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23597 <sigaltstack-offsets.h>.
23598 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23599 longjmp_msg pointer.
23600 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23601 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23602 signal stack.
23603 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23604
cc03b296
JM
236052012-05-15 Joseph Myers <joseph@codesourcery.com>
23606
a9538892
JM
23607 * elf/stackguard-macros.h: Remove file.
23608 * sysdeps/generic/stackguard-macros.h: New file.
23609 * sysdeps/i386/stackguard-macros.h: Likewise.
23610 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23611 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23612 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23613 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23614 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23615 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23616 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23617 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23618 <elf/stackguard-macros.h>.
23619
cc03b296
JM
23620 [BZ #14109]
23621 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23622 __aligned__ in attribute.
23623 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23624 (gregset_t): Likewise.
23625
93171016
L
236262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23627
23628 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23629 * sysdeps/x86_64/64/Implies-after: Here. New file.
23630 * sysdeps/x86_64/x32/Implies-after: New file.
23631
d86813a0
L
236322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23633
23634 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23635 and access return value for _dl_profile_fixup. Use R10_LP to
23636 load frame size.
23637
2953ec75
L
236382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23641
3b550e9e
L
236422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23643
23644 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23645 * sysdeps/x86_64/x32/sysdep.h: New file.
23646
eda41706
L
236472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23648
23649 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23650 * sysdeps/x86_64/setjmp.S: Likewise.
23651
9ea01d93
AZ
236522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23653
23654 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23655 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23656 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23657 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23658 remove unused global constant.
23659
02a91938
CM
236602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23661
23662 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23663 include of <not-cancel.h>.
23664
6540185f
RM
236652012-05-15 Roland McGrath <roland@hack.frob.com>
23666
23667 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23668
509072a0
AJ
236692012-05-15 Jeff Law <law@redhat.com>
23670 Andreas Jaeger <aj@suse.de>
23671
23672 [BZ #13594]
23673 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23674 out from...
23675 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23676 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23677 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23678 code changing __hst_map_handle.map.
23679
ba75122d
RM
236802012-05-15 Roland McGrath <roland@hack.frob.com>
23681
23682 * configure.in (sysnames): Look for Implies-before and Implies-after
23683 files.
23684 * configure: Regenerated.
23685
890d8bd8
L
236862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23687
23688 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23689 8-byte data alignment with LP_SIZE alignment.
23690
f6ee6623
L
236912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23692
23693 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23694 into R10_LP.
23695
ea2626f6
L
236962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23697
23698 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23699
085f715e
L
237002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23701
23702 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23703 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23704 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23705 Likewise.
23706 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23707
be8498fc
L
237082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23709
23710 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23711 (stackinfo_sub_sp): Likewise.
23712
70bc83b9
L
237132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23714
23715 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23716 RAX_LP.
23717
9bc0b730
L
237182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23719
23720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23721 into R*_LP.
23722
6d2850e7
L
237232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23724
23725 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23726 sizes into R*_LP.
23727
3cb84561
L
237282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23729
23730 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23731
54e2ed81
L
237322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23733
23734 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23735 into R11_LP and load __x86_64_shared_cache_size_half into
23736 R8_LP.
23737
8a17f349
L
237382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23739
23740 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23741 R8_LP.
23742
777b1eea
AZ
237432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23744
23745 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23746 logb for POWER7.
23747 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23748 logbf for POWER7.
23749 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23750 logbl for POWER7.
23751 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23752 powerpc32/power7/fpu/s_logb.c via #include.
23753 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23754 powerpc32/power7/fpu/s_logbf.c via #include.
23755 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23756 powerpc32/power7/fpu/s_logbl.c via #include.
23757
d20d4ac2
JM
237582012-05-15 Joseph Myers <joseph@codesourcery.com>
23759
23760 * README.libm: Remove file.
23761
6cdef1ab
L
237622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23763
23764 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23765 count for x32. Use R*_LP and omit operand-size suffix.
23766
0b254d8f
L
237672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23768
23769 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23770 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23771 * sysdeps/x86_64/x32/shlib-versions: New file.
23772
ceb809dc
RM
237732012-05-14 Roland McGrath <roland@hack.frob.com>
23774
23775 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23776 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23777 Use _dl_fatal_printf instead.
23778
37f1abd4
JM
237792012-05-14 Joseph Myers <joseph@codesourcery.com>
23780
23781 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23782 set if not set by the user. Do not allow for being unset.
23783 * sysdeps/unix/sysv/linux/configure: Regenerated.
23784
11de3a33
L
237852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23786
23787 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23788 the `q' suffix from lea and replace .quad with ASM_ADDR.
23789
e02f153a
L
237902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23791
23792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23793 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23794 instead of $17.
23795 (PTR_DEMANGLE): Likewise.
23796
520ae0fd
L
237972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23798
23799 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23800 (LP_OP): Likewise.
23801 (ASM_ADDR): Likewise.
23802 (RAX_LP): Likewise.
23803 (RBP_LP): Likewise.
23804 (RBX_LP): Likewise.
23805 (RCX_LP): Likewise.
23806 (RDI_LP): Likewise.
23807 (RSI_LP): Likewise.
23808 (RSP_LP): Likewise.
23809 (R8_LP): Likewise.
23810 (R9_LP): Likewise.
23811 (R10_LP): Likewise.
23812 (R10_LP): Likewise.
23813 (R11_LP): Likewise.
23814 (R12_LP): Likewise.
23815 (R13_LP): Likewise.
23816 (R14_LP): Likewise.
23817 (R15_LP): Likewise.
23818
b985be81
L
238192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23820
23821 * sysdeps/x86_64/x32/dl-machine.h: New file.
23822
6a4888ff
AJ
238232012-05-14 Andreas Jaeger <aj@suse.de>
23824
23825 * manual/Makefile (subdir): Remove export of subdir.
23826 (all): Remove target.
23827 (.PHONY): Remove all from list.
23828 (mkinstalldirs): Remove.
23829 (.PHONY): Remove installdirs from list.
23830 ($(inst_infodir)/libc.info): Use make-target-directory.
23831 (installdirs): Remove.
23832 (subdir_%): Remove.
23833 (glibc-targets): Remove.
23834 (lib): Remove.
23835 (stubs): Remove.
23836 ($(objpfx)stubs ../po/manual.pot): Remove.
23837 ($(objpfx)stamp%): Remove.
23838 (make-target-directory): Remove.
23839 (subdir_install): Remove.
23840 (routines): Remove.
23841 (aux): Remove.
23842 (sources): Remove.
23843 (objects): Remove.
23844 (headers): Remove.
23845
23846 [BZ #13750]
23847 * manual/.gitignore: Remove, it's not needed anymore.
23848 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23849 all files in it.
23850 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23851 directory.
23852 (texis): Renamed to $(objpfx)texis.
23853 (texis-path): New, contains path to generated files.
23854 (chapters.%): Use texis-path for complete path, add extra argument
23855 libc-texinfo.sh.
23856 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23857 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23858 (summary,texi, stamp-summary): Use complete path of
23859 files. Generate files in build dir.
23860 (dir-add.texi): Build in build dir.
23861 (libm-err.texi,stamp-libm-err): Likewise.
23862 (version.texi, stamp-version): Likewise.
23863 (.%c.texi): Likewise.
23864 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23865 (mostlyclean): Remove target.
23866 (realclean): Remove target.
23867 (generated): Add new variable with contents from mostlyclean and
23868 realclean, remove entries duplicated in common-mostlyclean, add
23869 stamp-libm-err and stamp-version.
23870 (generated-dirs): Add libc directory.
23871 ($(inst_infodir)/libc.info): Install files from build dir.
23872
23873 * manual/install.texi (Configuring and compiling): Adjust since
23874 the info files are not part of the tar ball anymore.
23875
7ac77294
AJ
238762012-05-14 Andreas Jaeger <aj@suse.de>
23877
23878 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23879 variable.
23880
ffb7875d
JM
238812012-05-14 Joseph Myers <joseph@codesourcery.com>
23882
23883 [BZ #13717]
23884 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23885 to 2.2.0 where earlier.
23886 * sysdeps/unix/sysv/linux/configure: Regenerated.
23887 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23888 Remove conditional code.
23889 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23890 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23891 Remove conditional code.
23892 [!__NR_lchown]: Likewise.
23893 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23894 [__NR_lchown]: Likewise.
23895 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23896 comment referencing __ASSUME_LCHOWN_SYSCALL.
23897 * sysdeps/unix/sysv/linux/i386/sigaction.c
23898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23900 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23901 Remove conditional code.
23902 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23903 (__protocol_available): Remove #if 0 code.
23904 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23905 conditional code.
23906 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23907 * sysdeps/unix/sysv/linux/kernel-features.h
23908 (__ASSUME_GETCWD_SYSCALL): Don't define.
23909 (__ASSUME_REALTIME_SIGNALS): Likewise.
23910 (__ASSUME_PREAD_SYSCALL): Likewise.
23911 (__ASSUME_PWRITE_SYSCALL): Likewise.
23912 (__ASSUME_POLL_SYSCALL): Likewise.
23913 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23914 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23915 non-SPARC.
23916 (__ASSUME_SIOCGIFNAME): Don't define.
23917 (__ASSUME_MSG_NOSIGNAL): Likewise.
23918 (__ASSUME_SENDFILE): Define unconditionally.
23919 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23920 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23921 conditional code.
23922 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23923 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23924 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23925 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23926 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23927 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23928 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23930 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23933 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23936 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23942 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23943 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23945 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23948 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23951 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23953 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23954 Remove conditional code.
23955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23956 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23957 Remove conditional code.
23958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23959 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23960 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23961 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23962 Remove conditional code.
23963 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23964 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23965 Remove conditional code.
23966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23967 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23968 Remove conditional code.
23969 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23970 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23971 Remove conditional code.
23972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23973 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23974 Remove conditional code.
23975 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23976 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23979 * sysdeps/unix/sysv/linux/sigaction.c
23980 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23981 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23982 * sysdeps/unix/sysv/linux/sigpending.c
23983 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23984 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23985 * sysdeps/unix/sysv/linux/sigprocmask.c
23986 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23987 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23988 * sysdeps/unix/sysv/linux/sigsuspend.c
23989 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23990 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23991 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23992 (__libc_missing_rt_sigs): Remove.
23993 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23994 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23995 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23996 Remove conditional code.
23997 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23998 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23999 return 1.
24000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24001 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24003 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24004
1bfb7291
AJ
240052012-05-14 Andreas Jaeger <aj@suse.de>
24006
caae5a81
AJ
24007 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24008 it's not used in glibc.
24009 (__coshm1): Likewise.
24010 (__acosh1p): Likewise.
24011 (__sgn): Likewise.
24012
1bfb7291
AJ
24013 * manual/string.texi (Copying and Concatenation): Add missing
24014 variable in concat example.
24015 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24016
c044d724
L
240172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24018
144c5467 24019 [BZ #14103]
c044d724
L
24020 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24021 __builtin_clzl with __builtin_clzll.
24022
2523c62b
L
240232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24024
24025 [BZ #14104]
24026 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24027 libc_freeres_ptr.
24028
d7bb4c42
LD
240292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24030
24031 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24032 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24033 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24034 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24035
9dc4e1fb
MF
240362012-05-14 Mike Frysinger <vapier@gentoo.org>
24037
24038 * NEWS: Update ia64 info.
24039
c7df0112
AS
240402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24041
24042 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24043 used as bcopy.
24044
dc70356c
TS
240452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24046
24047 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24048 * sysdeps/unix/syscalls.list (dup3): Likewise.
24049 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24050 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24051
9fb1a21f
L
240522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24053
24054 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24055 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24056
4822a2a5
L
240572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24058
24059 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24060 thread pointer.
24061 (TLS_IE): Use mov/add instead of movq/addq to load thread
24062 pointer.
24063 (TLS_GD_PREFIX): New.
24064 (TLS_GD): Use it.
24065
842b81d6
DM
240662012-05-11 David S. Miller <davem@davemloft.net>
24067
24068 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24069 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24070 (_FPU_SETCW): Likewise.
24071
1cf463cd
L
240722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24073
24074 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24075 is 32-byte aligned.
24076
60cc4a18
AS
240772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24078
24079 [BZ #11837]
24080 * iconvdata/gb18030.c: Update tables.
24081 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24082 characters specially.
24083 (BODY for TO_LOOP): Add encoding of missing ranges.
24084
febb44a4
TS
240852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24086
24087 [BZ #13673]
24088 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24089 * sysdeps/mach/hurd/dup3.c: Likewise.
24090 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24091 * sysdeps/powerpc/memmove.c:: Likewise.
24092
0a10fb9e
L
240932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24094
24095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24096 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24097
df8a552f
L
240982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24099
24100 * elf/elf.h (R_X86_64_RELATIVE64): New.
24101 (R_X86_64_NUM): Updated.
24102 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24103 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24104 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24105 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24106 tst-quad1pie tst-quad2pie
24107 (modules-names): Add tst-quadmod1 tst-quadmod2.
24108 ($(objpfx)tst-quad1): New dependency.
24109 ($(objpfx)tst-quad2): Likewise.
24110 ($(objpfx)tst-quad1pie): Likewise.
24111 ($(objpfx)tst-quad2pie): Likewise.
24112 * sysdeps/x86_64/tst-quad1.c: New file.
24113 * sysdeps/x86_64/tst-quad1pie.c: New file.
24114 * sysdeps/x86_64/tst-quad2.c: Likewise.
24115 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24116 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24117 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24118 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24119 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24120
f34d6f84
ST
241212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24122
f42d41d1
ST
24123 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24124 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24125 * streams/stropts.h (t_scalar_t): Define type.
24126
3c3571fc
ST
24127 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24128 (_PATH_PRESERVE): Set to "/var/lib".
24129 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24130
61f06bd3
ST
24131 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24132 instead of int.
24133
918d4d71
ST
24134 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24135 if __dir_mkfile succeeded.
24136
f34d6f84
ST
24137 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24138 checking for _hurd_dtablesize. Unlock it right after having
24139 finished _hurd_dtable allocation.
24140
10589b4a
TS
241412012-05-10 Thomas Schwinge <thomas@schwinge.name>
24142
674cdbc7
TS
24143 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24144 * sysdeps/mach/hurd/configure: Regenerated.
24145 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24146 special-casing to...
24147 * sysdeps/gnu/configure.in: ... this new file.
24148 * sysdeps/unix/sysv/linux/configure: Regenerated.
24149 * sysdeps/gnu/configure: New generated file.
24150
8e41b99f
TS
24151 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24152 for Linux: use nsec instead of usec, as well as:
24153 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24154 members of type struct timespec.
24155 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24156 New macros.
24157 (struct stat64): Likewise.
24158 (_STATBUF_ST_NSEC): New macro.
24159 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24160
10589b4a
TS
24161 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24162 __strtoul_internal rather than strtoul.
24163
63643c85
PT
241642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24165
24166 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24167 and reject them.
24168
3faebe6a
ST
241692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24170
24171 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24172 which preserves existing values.
24173 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24174
c6474b07
PT
241752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24176
24177 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24178 TIMEOUT values. Return EINVAL for NFDS values either negative or
24179 greater than FD_SETSIZE.
24180
1043890b
ST
241812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24182
24183 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24184 allocated, call __vm_protect to finish enabling the existing space, and
24185 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24186 allocate the remainder.
24187
37ed8b9b
PT
241882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24189
24190 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24191 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24192
db653660
ST
241932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24194
37ed8b9b
PT
24195 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24196 sysdeps/mach/hurd/readlink.c.
b29d4053 24197
db653660
ST
24198 * posix/tst-sysconf.c (posix_options): Only use
24199 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24200 _POSIX_SYNCHRONIZED_IO when they are defined
24201 * sysdeps/mach/hurd/bits/posix_opt.h:
24202 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24203 (_XOPEN_REALTIME): Undefine macro.
24204 (_XOPEN_REALTIME_THREADS): Undefine macro.
24205 (_XOPEN_SHM): Undefine macro.
24206 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24207 macro to -1.
24208 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24209 macro to -1.
24210 (_POSIX_ASYNC_IO): Undefine macro.
24211 (_POSIX_PRIORITIZED_IO): Undefine macro.
24212 (_POSIX_SPIN_LOCKS): Define macro to -1.
24213
ee16e894
ST
24214 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24215 SA_NODEFER, SA_RESETHAND.
24216 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24217 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24218 F_DUPFD_CLOEXEC.
24219
6103ae3b
TS
242202012-05-10 Thomas Schwinge <thomas@schwinge.name>
24221
24222 * elf/Makefile (pldd-modules): Define unconditionally.
24223
80b4e5f3
TS
242242012-05-10 Thomas Schwinge <thomas@schwinge.name>
24225
24226 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24227
edadcbd6
ST
242282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24229
24230 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24231 Return ENOENT when name is empty.
24232 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24233
80694780
TS
242342012-05-10 Thomas Schwinge <thomas@schwinge.name>
24235
1792c087
TS
24236 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24237
80694780
TS
24238 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24239
6b645f0d
ST
242402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24241
80694780
TS
24242 Fix mlock in all cases except non-readable pages.
24243 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24244 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24245
6b645f0d
ST
24246 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24247 (__mkdir): When path is `/', just fail with EEXIST.
24248 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24249
e468f8a3
TS
242502012-05-10 Thomas Schwinge <thomas@schwinge.name>
24251
24252 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24253 <sys/uio.h> (for writev).
24254 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24255 and <sys/param.h> (for MIN).
24256
a4186cff
PT
242572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24258
24259 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24260 REQUESTED_TIME. Properly set the remaining time and return EINTR
24261 if interrupted.
24262
510bbf14
TS
242632012-05-10 Thomas Schwinge <thomas@schwinge.name>
24264
24265 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24266 Depend on against $(link-rpcuserlibs).
24267
5d5722e8
ST
242682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24269
a4186cff
PT
24270 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24271 (__libc_stack_end): Do not use attribute_relro.
24272 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24273 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24274 to libthread-provided value.
a4186cff
PT
24275 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24276 attribute_relro.
5d5722e8 24277
37233df9
TS
242782012-05-10 Thomas Schwinge <thomas@schwinge.name>
24279
be971a2b
TS
24280 [BZ #3748]
24281 * bits/libc-lock.h (__libc_once_get): New macro.
24282 * sysdeps/mach/bits/libc-lock.h: Likewise.
24283 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24284 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24285 instead of using implementation details.
24286
37233df9
TS
24287 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24288 * libio/freopen.c: Likewise.
24289 * libio/freopen64.c: Likewise.
24290 * misc/syslog.c: Likewise.
24291 * nscd/connections.c: Likewise.
24292 * nscd/netgroupcache.c: Likewise.
24293 * sysdeps/posix/getcwd.c: Likewise.
24294
38de94a5
RM
242952012-05-10 Roland McGrath <roland@hack.frob.com>
24296
24297 * math/w_ilogbf.c: Add #include <limits.h>.
24298
67530489
ST
242992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24300
a4186cff 24301 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24302 path instead of returning without unlocking.
24303
67530489
ST
24304 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24305 immediate-write ioctls.
24306 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24307
5aa3a74a
TS
243082012-05-10 Thomas Schwinge <thomas@schwinge.name>
24309
18bad2ae
TS
24310 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24311 __builtin_frame_address instead of making assumptions about the
24312 location of the return address relative to DATA. Force early load of
24313 the return address.
24314 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24315 __builtin_frame_address.
24316
5aa3a74a
TS
24317 dup3 for GNU Hurd.
24318 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24319 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24320 implement dup3 and do some further code clean-ups.
24321 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24322 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24323
ecd0de9a
ST
243242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24325
cd9fa985
ST
24326 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24327
a4186cff
PT
24328 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24329 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24330 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24331 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24332 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24333 d->port.lock.
802ca5a5 24334
a4186cff
PT
24335 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24336 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24337 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24338
bcf55240
TS
243392012-05-10 Thomas Schwinge <thomas@schwinge.name>
24340
6960eb42
TS
24341 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24342 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24343 definitions.
24344
eb43375f
TS
24345 accept4 for GNU Hurd.
24346 * include/sys/socket.h (__libc_accept4): New prototype.
24347 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24348 to implement __libc_accept4.
24349 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24350 __libc_accept4.
24351 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24352
bcf55240
TS
24353 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24354 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24355 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24356 signal-defines.sym.
24357
6178c55b
ST
243582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24359
a4186cff 24360 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24361
6f080c2f
TS
243622012-05-10 Thomas Schwinge <thomas@schwinge.name>
24363
24364 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24365 assertion on O_CLOEXEC flag.
24366 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24367 * hurd/intern-fd.c: Likewise.
24368 * hurd/port2fd.c: Likewise.
24369
bcfe3a54
ST
243702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24371
24372 [BZ #3906]
24373 * bits/in.h (IPV6_PKTINFO): Define new macro.
24374 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24375
89c9aa49
AZ
243762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24377
24378 [BZ #13954]
24379 [BZ #13955]
24380 [BZ #13956]
24381 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24382 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24383 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24384 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24385 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24386 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24387 * math/libm-test.inc (logb_test) : Additional logb tests.
24388
021db4be
AJ
243892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24390 Andreas Jaeger <aj@suse.de>
24391
24392 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24393 * configure: Regenerated.
24394 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24395 * config.make.in (link-obsolete-rpc): New substituted variable.
24396 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24397 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24398 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24399 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24400 so that libc.a contains the symbols.
24401 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24402 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24403 * sunrpc/auth_none.c: Likewise.
24404 * sunrpc/auth_unix.c: Likewise.
24405 * sunrpc/authdes_prot.c: Likewise.
24406 * sunrpc/authuxprot.c: Likewise.
24407 * sunrpc/clnt_gen.c: Likewise.
24408 * sunrpc/clnt_perr.c: Likewise.
24409 * sunrpc/clnt_raw.c: Likewise.
24410 * sunrpc/clnt_simp.c: Likewise.
24411 * sunrpc/clnt_tcp.c: Likewise.
24412 * sunrpc/clnt_udp.c: Likewise.
24413 * sunrpc/clnt_unix.c: Likewise.
24414 * sunrpc/des_crypt.c: Likewise.
24415 * sunrpc/des_soft.c: Likewise.
24416 * sunrpc/get_myaddr.c: Likewise.
24417 * sunrpc/key_call.c: Likewise.
24418 * sunrpc/key_prot.c: Likewise.
24419 * sunrpc/netname.c: Likewise.
24420 * sunrpc/pm_getmaps.c: Likewise.
24421 * sunrpc/pm_getport.c: Likewise.
24422 * sunrpc/pmap_clnt.c: Likewise.
24423 * sunrpc/pmap_prot.c: Likewise.
24424 * sunrpc/pmap_prot2.c: Likewise.
24425 * sunrpc/pmap_rmt.c: Likewise.
24426 * sunrpc/publickey.c: Likewise.
24427 * sunrpc/rpc_cmsg.c: Likewise.
24428 * sunrpc/rpc_common.c: Likewise.
24429 * sunrpc/rpc_dtable.c: Likewise.
24430 * sunrpc/rpc_prot.c: Likewise.
24431 * sunrpc/rpc_thread.c: Likewise.
24432 * sunrpc/rtime.c: Likewise.
24433 * sunrpc/svc.c: Likewise.
24434 * sunrpc/svc_auth.c: Likewise.
24435 * sunrpc/svc_raw.c: Likewise.
24436 * sunrpc/svc_run.c: Likewise.
24437 * sunrpc/svc_tcp.c: Likewise.
24438 * sunrpc/svc_udp.c: Likewise.
24439 * sunrpc/svc_unix.c: Likewise.
24440 * sunrpc/svcauth_des.c: Likewise.
24441 * sunrpc/xcrypt.c: Likewise.
24442 * sunrpc/xdr.c: Likewise.
24443 * sunrpc/xdr_array.c: Likewise.
24444 * sunrpc/xdr_float.c: Likewise.
24445 * sunrpc/xdr_intXX_t.c: Likewise.
24446 * sunrpc/xdr_mem.c: Likewise.
24447 * sunrpc/xdr_rec.c: Likewise.
24448 * sunrpc/xdr_ref.c: Likewise.
24449 * sunrpc/xdr_sizeof.c: Likewise.
24450 * sunrpc/xdr_stdio.c: Likewise.
24451
b5c086a2
RM
244522012-05-10 Roland McGrath <roland@hack.frob.com>
24453
24454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24455 change. Update copyright years.
24456
6d74dd09
JM
244572012-05-10 Joseph Myers <joseph@codesourcery.com>
24458
24459 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24460
28e72501
MK
244612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24462 Joseph Myers <joseph@codesourcery.com>
24463 Paul Pluzhnikov <ppluzhnikov@google.com>
24464
24465 [BZ #14012]
24466 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24467 requiring rpcgen.
24468 [cross-compiling] (extra-libs): Likewise.
24469 [cross-compiling] (extra-libs-others): Likewise.
24470 [cross-compiling] (librpcsvc-routines): Likewise.
24471 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24472 [cross-compiling] (omit-deps): Likewise.
24473 (sunrpc-CPPFLAGS): New variable.
24474 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24475 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24476 (cross-rpcgen-objs): New variable.
24477 (extra-objs): Append $(cross-rpcgen-objs).
24478 ($(cross-rpcgen-objs)): New rule.
24479 ($(objpfx)cross-rpcgen): Likewise.
24480 (rpcgen-cmd): Define to use $(built-program-file). Expand
24481 comment.
24482 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24483 ($(objpfx)x%.stmp): Likewise.
24484 * sunrpc/proto.h [IS_IN_build] (_): Define.
24485 [IS_IN_build] (_libc_intl_domainname): Likewise.
24486
c8c59454
L
244872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24488
24489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24490 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24491 and R_X86_64_TPOFF64.
24492
6f27cd16
JM
244932012-05-10 Joseph Myers <joseph@codesourcery.com>
24494
24495 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24496 sysdeps/unix/sysv/syscalls.list.
24497 (stime): Likewise.
24498 (utime): Likewise.
24499 * sysdeps/unix/sysv/syscalls.list: Remove file.
24500
02467e1c
PE
245012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24502
24503 [BZ #3440]
24504 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24505 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24506 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24507 (__LC_IDENTIFICATION): Make these macros useful in #if
24508 expressions, as required by C99.
24509
da392631
AS
245102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24511
24512 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24513 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24514 after this.
24515
8115f29b
L
245162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24517
24518 * stdlib/longlong.h: Updated from GCC.
24519
bdd74070
AJ
245202012-05-09 Andreas Jaeger <aj@suse.de>
24521
edfe0dbe
AJ
24522 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24523 default is first entry.
24524 (run_mode): Set type.
24525 (main): Remove informal message about syslog.
24526 (options): Fix typo.
24527
bcfe3a54
ST
24528 [BZ #14053]
24529 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24530 to asm.
bcfe3a54
ST
24531 (lrint): Likewise.
24532 (llrintf): Likewise.
24533 (llrint): Likewise.
24534 (rint): Likewise.
24535 (rintf): Likewise.
24536 (nearbyint): Likewise.
24537 (nearbyintf): Likewise.
bdd74070 24538
91d8d69e
AJ
245392012-05-09 Andreas Jaeger <aj@suse.de>
24540 Pedro Alves <palves@redhat.com>
24541
24542 * nscd/nscd.c (run_mode): Use enum.
24543 (main): Cleanup coding style issue.
24544
bb90b80b
AJ
245452012-05-09 Alexandre Oliva <aoliva@redhat.com>
24546 Andreas Jaeger <aj@suse.de>
24547
bcfe3a54
ST
24548 * nscd/nscd.c (go_background): Replaced with...
24549 (run_mode): ... this.
bb90b80b 24550 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24551 (options): Add -F --foreground.
24552 (main): Implement it.
24553 (parse_opt): Parse it.
bb90b80b 24554
1a4b75a1
AJ
245552012-05-09 Andreas Jaeger <aj@suse.de>
24556
24557 [BZ #14083]
24558 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24559 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24560 -Wconversion warning.
24561 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24562 Likewise.
24563
b1cc2472
JM
245642012-05-09 Joseph Myers <joseph@codesourcery.com>
24565
24566 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24567 == 0.
24568 (LC_ALL): Use macro-int-constant.
24569 (LC_COLLATE): Likewise.
24570 (LC_CTYPE): Likewise.
24571 (LC_MESSAGES): Likewise.
24572 (LC_MONETARY): Likewise.
24573 (LC_NUMERIC): Likewise.
24574 (LC_TIME): Likewise.
24575 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24576 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24578 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24579 Specify type.
24580 [C99-based standards] (float_t): Expect type.
24581 [C99-based standards] (double_t): Expect type.
24582 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24583 type.
24584 [C99-based standards] (HUGE_VALL): Likewise.
24585 [C99-based standards] (INFINITY): Likewise.
24586 [C99-based standards] (NAN): Likewise.
24587 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24588 [C99-based standards] (FP_NAN): Likewise.
24589 [C99-based standards] (FP_NORMAL): Likewise.
24590 [C99-based standards] (FP_SUBNORMAL): Likewise.
24591 [C99-based standards] (FP_ZERO): Likewise.
24592 [C99-based standards] (FP_FAST_FMA): Use
24593 optional-macro-int-constant. Specify type. Require == 1.
24594 [C99-based standards] (FP_FAST_FMAF): Likewise.
24595 [C99-based standards] (FP_FAST_FMAL): Likewise.
24596 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24597 [C99-based standards] (FP_ILOGBNAN): Likewise.
24598 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24599 Specify type.
24600 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24601 [C99-based standards] (math_errhandling): Specify type.
24602 [ISO99 || ISO11] (signgam): Do not allow.
24603 [non-C99-based standards] (copysignf): Do not allow.
24604 [non-C99-based standards] (exp2f): Likewise.
24605 [non-C99-based standards] (log2f): Likewise.
24606 [non-C99-based standards] (modff): Allow.
24607 [non-C99-based standards] (erff): Do not allow.
24608 [non-C99-based standards] (erfcf): Likewise.
24609 [non-C99-based standards] (gammaf): Likewise.
24610 [non-C99-based standards] (hypotf): Likewise.
24611 [non-C99-based standards] (j0f): Likewise.
24612 [non-C99-based standards] (j1f): Likewise.
24613 [non-C99-based standards] (jnf): Likewise.
24614 [non-C99-based standards] (lgammaf): Likewise.
24615 [non-C99-based standards] (tgammaf): Likewise.
24616 [non-C99-based standards] (y0f): Likewise.
24617 [non-C99-based standards] (y1f): Likewise.
24618 [non-C99-based standards] (ynf): Likewise.
24619 [non-C99-based standards] (isnanf): Likewise.
24620 [non-C99-based standards] (acoshf): Likewise.
24621 [non-C99-based standards] (asinhf): Likewise.
24622 [non-C99-based standards] (atanhf): Likewise.
24623 [non-C99-based standards] (cbrtf): Likewise.
24624 [non-C99-based standards] (expm1f): Likewise.
24625 [non-C99-based standards] (ilogbf): Likewise.
24626 [non-C99-based standards] (log1pf): Likewise.
24627 [non-C99-based standards] (logbf): Likewise.
24628 [non-C99-based standards] (nextafterf): Likewise.
24629 [non-C99-based standards] (remainderf): Likewise.
24630 [non-C99-based standards] (rintf): Likewise.
24631 [non-C99-based standards] (scalbf): Likewise.
24632 [non-C99-based standards] (copysignl): Likewise.
24633 [non-C99-based standards] (exp2l): Likewise.
24634 [non-C99-based standards] (log2l): Likewise.
24635 [non-C99-based standards] (modfl): Allow.
24636 [non-C99-based standards] (erfl): Do not allow.
24637 [non-C99-based standards] (erfcl): Likewise.
24638 [non-C99-based standards] (gammal): Likewise.
24639 [non-C99-based standards] (hypotl): Likewise.
24640 [non-C99-based standards] (j0l): Likewise.
24641 [non-C99-based standards] (j1l): Likewise.
24642 [non-C99-based standards] (jnl): Likewise.
24643 [non-C99-based standards] (lgammal): Likewise.
24644 [non-C99-based standards] (tgammal): Likewise.
24645 [non-C99-based standards] (y0l): Likewise.
24646 [non-C99-based standards] (y1l): Likewise.
24647 [non-C99-based standards] (ynl): Likewise.
24648 [non-C99-based standards] (isnanl): Likewise.
24649 [non-C99-based standards] (acoshl): Likewise.
24650 [non-C99-based standards] (asinhl): Likewise.
24651 [non-C99-based standards] (atanhl): Likewise.
24652 [non-C99-based standards] (cbrtl): Likewise.
24653 [non-C99-based standards] (expm1l): Likewise.
24654 [non-C99-based standards] (ilogbl): Likewise.
24655 [non-C99-based standards] (log1pl): Likewise.
24656 [non-C99-based standards] (logbl): Likewise.
24657 [non-C99-based standards] (nextafterl): Likewise.
24658 [non-C99-based standards] (remainderl): Likewise.
24659 [non-C99-based standards] (rintl): Likewise.
24660 [non-C99-based standards] (scalbl): Likewise.
24661 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24662 [non-C99-based standards] (FP_*): Do not allow.
24663 [C99-based standards] (FP_*): Change to
24664 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24665 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24666 allow.
24667 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24668 (SIG_ERR): Likewise.
24669 [X/Open-based standards] (SIG_HOLD): Likewise.
24670 (SIG_IGN): Likewise.
24671 (SIGABRT): Use macro-int-constant. Specify type. Require
24672 positive value.
24673 (SIGFPE): Likewise.
24674 (SIGILL): Likewise.
24675 (SIGINT): Likewise.
24676 (SIGSEGV): Likewise.
24677 (SIGTER): Likewise.
24678 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24679 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24680 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24681 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24682 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24684 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24685 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24686 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24687 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24688 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24689 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24690 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24691 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24692 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24693 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24694 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24695 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24696 [X/Open-based standards] (SIGTRAP): Likewise.
24697 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24698 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24699 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24700 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24701 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24702 allow.
24703
b9f1922d
IW
247042012-05-08 Ian Wienand <ianw@vmware.com>
24705
24706 [BZ #14080]
24707 * time/tzset.c (__tzset_parse_tz): Update default rules for
24708 daylight time changes in the Energy Policy Act of 2005.
24709
1db86e88
AJ
247102012-05-09 Andreas Jaeger <aj@suse.de>
24711
24712 [BZ #13983]
24713 * elf/ldconfig.c (parse_conf): Change string to make clear that
24714 ldconfig only issued a warning if ld.so.conf does not exist.
24715
dee4a4e3
DM
247162012-05-08 David S. Miller <davem@davemloft.net>
24717
ee0db190
DM
24718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24719 movxtod instead of popping the value on the stack.
24720
dee4a4e3
DM
24721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24722
6a43ec98
CD
247232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24724
24725 * config.h.in: Add HAVE_ARM_PCS_VFP.
24726
05c2c961
RMG
247272012-05-08 Roland Mc Grath <roland@hack.frob.com>
24728
bcfe3a54
ST
24729 [BZ #13979]
24730 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24731 checking but the checks are disabled for any reason.
05c2c961 24732
4b30f61a
L
247332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24734
24735 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24736 and ELF64_R_TYPE with ELFW(R_TYPE).
24737
eee2bc67
JM
247382012-05-08 Joseph Myers <joseph@codesourcery.com>
24739
7ea5391a
JM
24740 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24741 (ulimit): Likewise.
24742
eee2bc67
JM
24743 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24744 (settimeofday): Likewise.
24745
abb66a67
MF
247462012-05-08 Mike Frysinger <vapier@gentoo.org>
24747
24748 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24749 a struct th_u2 inside the union, and move tu_block/tu_code into
24750 a new th_u3 union of tu_block/tu_code inside of that. Move
24751 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24752 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24753 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24754 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24755 (th_stuff): Change to th_u1.tu_stuff.
24756 (th_data): Define.
24757 (th_msg): Change to th_u1.th_u2.tu_data.
24758
7f18b530
DM
247592012-05-07 David S. Miller <davem@davemloft.net>
24760
05760585
DM
24761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24762
7f18b530
DM
24763 [BZ #14074]
24764 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24765 (SETUP_PIC_REG): Use it.
24766 (SETUP_PIC_REG_LEAF): Use it.
24767
495fd99f
JM
247682012-05-07 Joseph Myers <joseph@codesourcery.com>
24769
24770 [BZ #13885]
24771 [BZ #13923]
24772 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24773 USE_AS_EXPM1L.
24774 (EXPL_FINITE): Likewise.
24775 (FLDLOG): Likewise.
24776 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24777 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24778 e_expl.S.
24779 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24780 USE_AS_EXPM1L.
24781 (EXPL_FINITE): Likewise.
24782 (FLDLOG): Likewise.
24783 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24784 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24785 e_expl.S.
24786 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24787 test of -max_value argument for long double.
24788 * sysdeps/i386/fpu/libm-test-ulps: Update.
24789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24790
6693d694
DM
247912012-05-06 David S. Miller <davem@davemloft.net>
24792
24793 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24794 quad soft-float symbols whose references which are compiler
24795 generated.
24796 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24797
6c23e11c
JM
247982012-05-06 Joseph Myers <joseph@codesourcery.com>
24799
d8b82cad
JM
24800 [BZ #13884]
24801 [BZ #13914]
24802 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24803 USE_AS_EXP10L.
24804 (EXPL_FINITE): Likewise.
24805 (FLDLOG): Likewise.
24806 (c0): Likewise.
24807 (c1): Likewise.
24808 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24809 Adjust comments for base varying.
24810 (__expl_finite): Change alias to EXPL_FINITE.
24811 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24812 e_expl.S.
24813 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24814 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24816 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24817 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24818 USE_AS_EXP10L.
24819 (EXPL_FINITE): Likewise.
24820 (FLDLOG): Likewise.
24821 (c0): Likewise.
24822 (c1): Likewise.
24823 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24824 Adjust comments for base varying.
24825 (__expl_finite): Change alias to EXPL_FINITE.
24826 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24827 tests for bugs.
24828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24829
6c23e11c
JM
24830 [BZ #14064]
24831 * math/libm-test.inc (check_float_internal): Correct ulp
24832 calculation for subnormal expected results.
24833
29ba805c
AJ
248342012-05-06 Andreas Jaeger <aj@suse.de>
24835
24836 * Makeconfig (+math-flags): New, set to -frounding-math.
24837 (+cflags): Add +math-flags so that all of glibc gets compiled with
24838 it.
24839
24840 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24841
7b17aeda
JM
248422012-05-05 Joseph Myers <joseph@codesourcery.com>
24843
5779f134
JM
24844 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24845 Disable one test.
24846
41498f4d
JM
24847 [BZ #13787]
24848 [BZ #13922]
24849 [BZ #14036]
24850 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24851 (__ieee754_expl): Allow for and saturate large arguments.
24852 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24853 (u_threshold): Likewise.
24854 (__exp): Call __ieee754_exp before checking for overflow and
24855 underflow.
24856 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24857 (u_threshold): Likewise.
24858 (__expf): Call __ieee754_expf before checking for overflow and
24859 underflow.
24860 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24861 (u_threshold): Likewise.
24862 (__expl): Call __ieee754_expl before checking for overflow and
24863 underflow.
24864 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24865 (__ieee754_expl): Allow for and saturate large arguments.
24866 * math/libm-test.inc (exp_test): Add another test. Do not allow
24867 missing overflow exception on overflow.
24868 (expm1_test): Do not allow missing overflow exception on overflow.
24869
6698b8bf
JM
24870 * sysdeps/i386/fpu/e_expl.c: Move to ...
24871 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24872 rather than using inline asm.
24873 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24874 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24875 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24876
7b17aeda
JM
24877 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24878 (nice): Likewise.
24879 (poll): Likewise.
24880 (signal): Likewise.
24881 (time): Likewise.
24882 (times): Likewise.
24883
f7c85819
JM
248842012-05-04 Joseph Myers <joseph@codesourcery.com>
24885
24886 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24887 sysdeps/unix/common/syscalls.list.
24888 (fchmod): Likewise.
24889 (fchown): Likewise.
24890 (ftruncate): Likewise.
24891 (getrusage): Likewise.
24892 (gettimeofday): Likewise.
24893 (setpgid): Likewise.
24894 (setregid): Likewise.
24895 (setreuid): Likewise.
24896 (sigaction): Likewise.
24897 (truncate): Likewise.
24898 (vhangup): Likewise.
24899 * sysdeps/unix/common/syscalls.list: Remove file.
24900 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24901 * sysdeps/unix/sysv/linux/Implies: Likewise.
24902
336270d0
L
249032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24904
24905 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24907 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24908 Moved to ...
24909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24910 Here.
24911 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24912 to ...
24913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24914 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24915 to ...
24916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24917 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24918 to ...
24919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24920 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24921 to ...
24922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24923 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24924 to ...
24925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24926 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24927 to ...
24928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24929 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24930 to ...
24931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24932 Here.
24933 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24934 to ...
24935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24936 Here.
24937 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24938 to ...
24939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24940 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24941 Moved to ...
24942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24943 Here.
24944 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24945 to ...
24946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24947
d128e450
JM
249482012-05-04 Joseph Myers <joseph@codesourcery.com>
24949
fa8ee516
JM
24950 * sysdeps/unix/common/bits/dirent.h: Remove file.
24951 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24952
d128e450
JM
24953 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24954 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24955 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24956 * sysdeps/unix/bsd/isatty.c: Likewise.
24957 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24958 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24959 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24960
ff8faaf0 249612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24962
62881be4 24963 [BZ #13563]
31dc8730
AZ
24964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24965 long double comparison inaccuracies.
24966 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24968
6fef930c
AS
249692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24970
24971 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24972 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24973
8f203e6c
JM
249742012-05-04 Joseph Myers <joseph@codesourcery.com>
24975
24976 [BZ #14049]
24977 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24978 nonzero digits before rounding a hex value.
24979 * stdlib/tst-strtod.c (tests): Add another test.
24980
5197d9c2
AK
249812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24982
24983 * sysdeps/s390/fpu/libm-test-ulps: Update.
24984
f0c1dedf
AJ
249852012-05-03 Andreas Jaeger <aj@suse.de>
24986
24987 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24988 does not get optimized out.
24989 (malloc_opt_barrier): New.
24990
a65ef2ae 249912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24992 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24993
2b942cb7 24994 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24995 intermediate file deletion.
2b942cb7 24996 (generated): Add .symlist files.
a65ef2ae 24997
54b71e02
JM
249982012-05-03 Joseph Myers <joseph@codesourcery.com>
24999
25000 [BZ #13775]
25001 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25002 Redirect under this condition.
25003 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25004 [__USE_GNU] (__dprintf_chk): Not under this condition.
25005 [__USE_GNU] (__vdprintf_chk): Likewise.
25006 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25007 under this condition.
25008 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25009 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25010 [__USE_XOPEN2K8] (vdprintf): Likewise.
25011 [__USE_GNU] (__dprintf_chk): Not under this condition.
25012 [__USE_GNU] (__vdprintf_chk): Likewise.
25013 [__USE_GNU] (dprintf): Likewise.
25014 [__USE_GNU] (vdprintf): Likewise.
25015
d3dfcc41
RM
250162012-05-03 Roland McGrath <roland@hack.frob.com>
25017
25018 * elf/Makefile (common-generated): Set this instead of generated for
25019 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25020 $(all-built-dso)-derived lists.
25021
7ac30cc5
AJ
250222012-05-03 Andreas Jaeger <aj@suse.de>
25023
0c51e550
AJ
25024 * sysdeps/i386/fpu/libm-test-ulps: Update.
25025
7ac30cc5
AJ
25026 * FAQ: Removed.
25027 * FAQ.in: Likewise.
25028 * scripts/gen-FAQ.pl: Likewise.
25029 * manual/install.texi (Installation): Point to online location of
25030 FAQ.
25031 * Makefile (files-for-dist): Remove FAQ.
25032 (FAQ): Remove.
25033
d4c2917f
AM
250342012-05-02 Allan McRae <allan@archlinux.org>
25035
25036 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25037 (LDFLAGS-reldepmod5.so): Likewise.
25038 (LDFLAGS-reldep6mod1.so): Likewise.
25039 (LDFLAGS-reldep6mod4.so): Likewise.
25040 (LDFLAGS-reldep8mod3.so): Likewise.
25041 (LDFLAGS-unload4mod1.so): Likewise.
25042 (LDFLAGS-unload4mod2.so): Likewise.
25043 (LDFLAGS-tst-initorder): Likewise.
25044 (LDFLAGS-tst-initordera2.so): Likewise.
25045 (LDFLAGS-tst-initordera3.so): Likewise.
25046 (LDFLAGS-tst-initordera4.so): Likewise.
25047 (LDFLAGS-tst-initorderb2.so): Likewise.
25048 (LDFLAGS-noload): Likewise.
25049 (LDFLAGS-next): Likewise.
25050 (LDFLAGS-order2mod1.so): Likewise.
25051 (LDFLAGS-order2mod2.so): Likewise.
25052 (LDFLAGS-tst-initorder2): Likewise.
25053 (LDFLAGS-tst-initorder2a.so): Likewise.
25054 (LDFLAGS-tst-initorder2b.so): Likewise.
25055 (LDFLAGS-tst-initorder2c.so): Likewise.
25056 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25057
d77f993f
DM
250582012-05-02 David S. Miller <davem@davemloft.net>
25059
25060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25061
171a70b4
PP
250622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25063
25064 [BZ #14055]
25065 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25066
0be196ad
AJ
250672012-05-02 Andreas Jaeger <aj@suse.de>
25068
25069 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25070 since we manipulate rounding mode.
25071 (CPPFLAGS-test-idouble.c): Likewise.
25072 (CPPFLAGS-test-ifloat.c): Likewise.
25073 (CFLAGS-test-ldouble.c): Likewise.
25074 (CFLAGS-test-double.c): Likewise.
25075 (CFLAGS-test-float.c): Likewise.
25076 (CFLAGS-test-misc.c): Likewise.
25077 (CFLAGS-test-test-fenv.c): Likewise.
25078
4f9d04aa
AZ
250792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25080
2b942cb7
RM
25081 [BZ #2550]
25082 [BZ #2570]
25083 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25084 comparisons to determine direction to adjust input.
4f9d04aa 25085
82a79e7d
RM
250862012-05-01 Roland McGrath <roland@hack.frob.com>
25087
f5a01ca9
RM
25088 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25089 output to the target.
25090
90fe4186
RM
25091 * scripts/localplt.awk: New file.
25092 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25093 (check-localplt-CFLAGS): Variable removed.
25094 ($(all-built-dso:=.jmprel)): New static pattern rule.
25095 (generated): Add those targets.
25096 (localplt-built-dso): New variable.
25097 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25098
25099 * elf/check-localplt.c: File removed.
25100
82397ed6
RM
25101 * scripts/check-execstack.awk: New file.
25102 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25103 (check-execstack-CFLAGS): Variable removed.
25104 ($(objpfx)check-execstack.h): Target removed.
25105 ($(objpfx)execstack-default): New target.
25106 (generated): Add that instead of check-execstack.h.
25107 ($(all-built-dso:=.phdr)): New static pattern rule.
25108 (generated): Add those targets.
25109 * elf/check-execstack.c: File removed.
25110
82a79e7d
RM
25111 * scripts/check-textrel.awk: New file.
25112 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25113 (check-textrel-CFLAGS): Variable removed.
25114 (all-built-dso): Use := to define.o
25115 ($(all-built-dso:=.dyn)): New static pattern rule.
25116 (generated): Add those targets.
25117 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25118 * config.make.in (READELF): New substituted variable.
25119 * elf/check-textrel.c: File removed.
25120
62fde54f 251212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25122
615605c9
JM
25123 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25124 allow.
25125 * conform/data/ctype.h-data [C99-based standards] (isblank):
25126 Expect function.
25127 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25128 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25130 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25131 Specify type. Require positive value.
25132 (EILSEQ): Likewise.
25133 (ERANGE): Likewise.
25134 [ISO || POSIX] (EILSEQ): Do not expect.
25135 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25136 Specify type. Require positive value.
25137 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25138 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25139 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25140 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25141 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25142 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25143 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25144 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25145 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25146 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25147 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25148 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25149 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25150 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25151 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25152 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25153 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25154 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25155 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25156 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25157 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25158 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25159 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25160 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25161 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25162 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25163 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25164 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25165 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25166 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25167 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25168 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25169 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25170 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25171 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25172 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25173 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25174 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25175 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25176 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25177 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25178 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25179 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25180 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25181 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25182 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25183 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25184 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25185 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25186 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25187 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25188 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25189 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25190 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25191 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25192 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25193 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25194 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25195 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25196 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25197 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25198 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25199 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25200 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25201 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25202 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25203 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25204 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25205 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25206 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25207 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25208 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25209 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25210 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25211 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25212 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25213 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25214 Require >= 2.
25215 (FLT_ROUNDS): Expect as macro, not constant.
25216 (FLT_MANT_DIG): Use macro-int-constant.
25217 (DBL_MANT_DIG): Likewise.
25218 (LDBL_MANT_DIG): Likewise.
25219 (FLT_DIG): Likewise.
25220 (DBL_DIG): Likewise.
25221 (LDBL_DIG): Likewise.
25222 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25223 (DBL_MIN_EXP): Likewise.
25224 (LDBL_MIN_EXP): Likewise.
25225 (FLT_MAX_EXP): Use macro-int-constant.
25226 (DBL_MAX_EXP): Likewise.
25227 (LDBL_MAX_EXP): Likewise.
25228 (FLT_MAX_10_EXP): Likewise.
25229 (DBL_MAX_10_EXP): Likewise.
25230 (LDBL_MAX_10_EXP): Likewise.
25231 (FLT_MAX): Use macro-constant.
25232 (DBL_MAX): Likewise.
25233 (LDBL_MAX): Likewise.
25234 (FLT_EPSILON): Use macro-constant. Give upper bound.
25235 (DBL_EPSILON): Likewise.
25236 (LDBL_EPSILON): Likewise.
25237 (FLT_MIN): Likewise.
25238 (DBL_MIN): Likewise.
25239 (LDBL_MIN): Likewise.
25240 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25241 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25242 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25243 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25244 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25245 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25246 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25247 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25248 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25249 [ISO11] (FLT_TRUE_MIN): Likewise.
25250 [ISO11] (LDBL_TRUE_MIN): Likewise.
25251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25252 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25253 (SCHAR_MIN): Use macro-int-constant. Specify type.
25254 (SCHAR_MAX): Likewise.
25255 (UCHAR_MAX): Likewise.
25256 (CHAR_MIN): Likewise.
25257 (CHAR_MAX): Likewise.
25258 (MB_LEN_MAX): Use macro-int-constant.
25259 (SHRT_MIN): Use macro-int-constant. Specify type.
25260 (SHRT_MAX): Likewise.
25261 (USHRT_MAX): Likewise.
25262 (INT_MAX): Likewise.
25263 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25264 bound negative.
25265 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25266 bound with "U".
25267 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25268 bound with "L".
25269 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25270 bound negative. Suffix upper bound with "L".
25271 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25272 bound with "UL".
25273 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25274 Specify type.
25275 [C99-based standards] (LLONG_MAX): Likewise.
25276 [C99-based standards] (ULLONG_MAX): Likewise.
25277 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25278 == 0.
25279 [ISO11] (max_align_t): Require type.
25280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25281
c9140a62
JM
25282 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25283 from $CFLAGS, without defining away __attribute__ calls.
25284 (checknamespace): Use $CFLAGS_namespace.
25285
9af0bf29
JM
25286 * conform/conformtest.pl (@keywords): Only include C99 keywords
25287 for standards based on C99 or C11.
25288
343222a2
JM
25289 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25290 Disable tests.
25291 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25292 UNIX98]: Likewise.
25293
661f8cf0
JM
25294 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25295 usability of symbols in #if.
25296
ee74b9cb
JM
25297 * conform/conformtest.pl: If macro or constant types start
25298 "promoted:", expect the symbol to be of the following type
25299 promoted by the integer promotions.
62fde54f 25300
aafc49b3
JM
25301 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25302 in one place. Also handle "macro-constant".
25303
fefdf574
JM
25304 * conform/conformtest.pl: Only accept expected macro values with
25305 "==". Parse all "macro" lines in one place.
25306 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25307
f2d922fe
JM
25308 * conform/conformtest.pl: Handle braced types on "constant" lines
25309 instead of handling "typed-constant".
25310 * conform/data/signal.h-data: Use "constant" instead of
25311 "typed-constant".
25312
d22956c9
JM
25313 * conform/conformtest.pl: Handle "optional-" at start of lines in
25314 one place rather than duplicating several cases. Handle each
25315 format of "macro" line with initial "optional-".
25316
028e2e38
JM
25317 * conform/conformtest.pl: Only accept expected constant or
25318 optional-constant values with "==". Parse all "constant" lines in
25319 one place. Parse all "optional-constant" lines in one place.
25320 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25321 * conform/data/fmtmsg.h-data: Likewise.
25322 * conform/data/netinet/in.h-data: Likewise.
25323 * conform/data/tar.h-data: Likewise.
25324 * conform/data/limits.h-data: Use "==" form on "constant" and
25325 "optional-constant" lines.
25326
1b8f2850
JM
25327 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25328 Use -std=c99 for XOPEN2K.
25329 (@knownproblems): Remove.
25330 (newtoken): Don't check %isknown.
25331
a05a144b
JM
25332 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25333 Do not expect macro.
25334 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25335 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25336 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25337 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25338 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25339 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25340 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25341 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25342 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25343 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25344 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25345 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25346 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25347 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25348 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25349 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25350 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25351 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25352 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25353 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25354 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25355 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25356 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25357 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25358 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25359 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25360 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25361 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25362 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25363 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25364 [XPG3] (acosh): Likewise.
25365 [XPG3] (asinh): Likewise.
25366 [XPG3] (atanh): Likewise.
25367 [XPG3] (cbrt): Likewise.
25368 [XPG3] (expm1): Likewise.
25369 [XPG3] (ilogb): Likewise.
25370 [XPG3] (log1p): Likewise.
25371 [XPG3] (logb): Likewise.
25372 [XPG3] (nextafter): Likewise.
25373 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25374 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25375 [XPG3] (remainder): Likewise.
25376 [XPG3] (rint): Likewise.
25377 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25378 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25379 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25380 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25381 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25382 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25383 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25384 [UNIX98 || XOPEN2K] (scalb): Expect.
25385 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25386 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25387 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25388 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25389 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25390 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25391 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25392 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25393 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25394 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25395 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25396 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25397 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25398 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25399 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25400 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25401 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25402 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25403 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25404 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25405 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25406 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25407 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25408 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25409 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25410 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25411 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25412 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25413 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25414 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25415 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25416 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25417 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25418 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25419 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25420 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25421 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25422 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25423 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25424 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25425 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25426 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25427 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25428 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25429 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25430 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25431 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25432 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25433 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25434 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25435 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25436 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25437 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25438 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25439 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25440 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25441 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25442 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25443 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25444 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25445 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25446 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25447 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25448 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25449 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25450 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25451 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25452 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25453 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25454 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25455 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25456 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25457 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25458 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25459 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25460 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25461 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25462 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25463 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25464 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25465 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25466 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25467 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25468 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25469 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25470 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25471 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25472 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25473 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25474 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25475 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25476 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25477 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25478 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25479 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25480 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25481 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25482 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25483 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25484 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25485 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25486 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25487 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25488 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25489 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25490 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25491 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25492 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25493 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25494 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25495 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25496 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25497 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25498 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25499 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25500 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25501 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25502 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25503 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25504 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25505 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25506 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25507 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25508 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25509 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25510 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25511 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25512 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25513 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25514 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25515 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25516 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25517 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25518 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25519 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25520 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25521 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25522
73c5ebe3
JM
25523 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25524 _XOPEN_SOURCE_EXTENDED for XPG4.
25525
39c33b6c
JM
25526 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25527
62fde54f
JM
25528 * Makeconfig (localtime): Remove variable.
25529 (inst_localtime-file): Likewise.
25530
0741d64c
AS
255312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25532
25533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25534 Update.
25535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25536 Update.
25537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25538 Update.
25539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25540 Update.
25541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25542 Update.
25543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25544 Update.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25546 Update.
25547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25548 Update.
25549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25550 Update.
25551
7cb029ee
JM
255522012-05-01 Joseph Myers <joseph@codesourcery.com>
25553
25554 [BZ #2550]
25555 [BZ #2570]
25556 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25557 comparisons to determine direction to adjust input.
25558 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25559 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25561 Likewise.
25562 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25563 Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25565 Likewise.
25566 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25567 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25568 Likewise.
25569 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25570 Likewise.
25571 * math/libm-test.inc (nexttoward_test): Add more tests.
25572
412bd966
AS
255732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25574
25575 [BZ #14040]
25576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25577 in version GLIBC_2.1, not GLIBC_2.0.
25578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25579 Likewise.
25580
9568c0c2
JM
255812012-04-30 Joseph Myers <joseph@codesourcery.com>
25582
adfbc8ac
JM
25583 [BZ #13942]
25584 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25585 (1 - x) * (1 + x).
25586 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25587 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25588 * math/libm-test.inc (acos_test): Add more tests.
25589 (asin_test): Likewise.
25590 * sysdeps/i386/fpu/libm-test-ulps: Update.
25591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25592
5ba3cc69
JM
25593 [BZ #14034]
25594 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25595 of square root.
25596 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25597 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25598 * math/libm-test.inc (acos_test_tonearest): New function.
25599 (acos_test_towardzero): Likewise.
25600 (acos_test_downward): Likewise.
25601 (acos_test_upward): Likewise.
25602 (asin_test_tonearest): Likewise.
25603 (asin_test_towardzero): Likewise.
25604 (asin_test_downward): Likewise.
25605 (asin_test_upward): Likewise.
25606 (main): Call the new functions.
25607 * sysdeps/i386/fpu/libm-test-ulps: Update.
25608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25609
9568c0c2
JM
25610 [BZ #13884]
25611 [BZ #13924]
25612 * math/e_exp10.c: Include <float.h>.
25613 (__ieee754_exp10): Handle underflow here rather than multiplying
25614 large negative argument by M_LN10.
25615 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25616 of __ieee754_expf.
25617 * math/e_exp10l.c: Include <float.h>.
25618 (__ieee754_exp10l): Handle underflow here rather than multiplying
25619 large negative argument by M_LN10l.
25620 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25621 spurious overflow exception on underflow.
25622
5ac3ea17
MP
256232012-04-29 Marek Polacek <polacek@redhat.com>
25624
25625 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25626 (__fortify_function): New macro.
25627 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25628 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25629 __extern_always_inline.
25630 * libio/bits/stdio2.h: Likewise.
25631 * libio/bits/stdio.h: Likewise.
25632 * string/string.h: Likewise.
25633 * string/bits/string3.h: Likewise.
25634 * include/stdio.h: Likewise.
25635 * stdlib/bits/stdlib.h: Likewise.
25636 * stdlib/stdlib.h: Likewise.
25637 * rt/bits/mqueue2.h: Likewise.
25638 * rt/mqueue.h: Likewise.
25639 * posix/bits/unistd.h: Likewise.
25640 * posix/unistd.h: Likewise.
25641 * io/bits/poll2.h: Likewise.
25642 * io/bits/fcntl2.h: Likewise.
25643 * io/fcntl.h: Likewise.
25644 * io/sys/poll.h: Likewise.
25645 * misc/bits/syslog.h: Likewise.
25646 * misc/bits/syslog-ldbl.h: Likewise.
25647 * misc/sys/syslog.h: Likewise.
25648 * socket/bits/socket2.h: Likewise.
25649 * socket/sys/socket.h: Likewise.
25650 * debug/tst-chk1.c: Likewise.
25651 * wcsmbs/bits/wchar2.h: Likewise.
25652 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25653 * wcsmbs/wchar.h: Likewise.
25654
ecf0ebfb
AJ
256552012-04-29 Andreas Jaeger <aj@suse.de>
25656
25657 * Makerules (tests): Remove enable-check-abi protection.
25658 (check-abi-warn): Remove.
25659 (check-abi-%): Remove check-abi-warn usage.
25660
25661 * configure.in: Remove check-abi configure option.
25662 * configure: Regenerated.
25663 * config.make.in (enable-check-abi): Remove.
25664
6d5c57fa
AS
256652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25666
24c5d07e 25667 [BZ #14033]
ded5180a
AS
25668 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25669 double functions to double *_finite functions.
25670
7e0d315d
AS
25671 [BZ #13941]
25672 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25673 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25674 LDBL_MIN_EXP.
25675 * stdio-common/Makefile (tests): Add tst-sprintf3.
25676 * stdio-common/tst-sprintf3.c: New file.
25677
6d5c57fa
AS
25678 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25679 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25680
0749ff8b
JM
256812012-04-28 Joseph Myers <joseph@codesourcery.com>
25682
25683 * conform/conformtest.pl: Remove duplicate typed-constant
25684 handling.
25685
8dbd5d7b
DM
256862012-04-28 David S. Miller <davem@davemloft.net>
25687
25688 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25689 (check-abi-%): Remove AWK script prerequisite and explicit
25690 abilist directory.
25691 (check-abi): Rewrite to just diff the symlist with the abilist.
25692 (config-tls, config-abi-config): Delete, no longer used.
25693 (update-abi-%): Remove AWK script and explicit abilist directory.
25694 (update-abi): Rewrite to simply compare and conditionally copy the
25695 symlist and the sysdep abilist file. Remove update-abi-config
25696 checks.
25697 * abilist/ld.abilist: Remove.
25698 * abilist/libBrokenLocale.abilist: Remove.
25699 * abilist/libanl.abilist: Remove.
25700 * abilist/libcrypt.abilist: Remove.
25701 * abilist/libdl.abilist: Remove.
25702 * abilist/librt.abilist: Remove.
25703 * abilist/libthread_db.abilist: Remove.
25704 * abilist/libutil.abilist: Remove.
25705 * scripts/extract-abilist.awk: Remove.
25706 * scripts/merge-abilist.awk: Remove.
25707 * sysdeps/generic/libcidn.abilist: New file.
25708 * sysdeps/generic/libnss_compat.abilist: New file.
25709 * sysdeps/generic/libnss_db.abilist: New file.
25710 * sysdeps/generic/libnss_dns.abilist: New file.
25711 * sysdeps/generic/libnss_files.abilist: New file.
25712 * sysdeps/generic/libnss_hesiod.abilist: New file.
25713 * sysdeps/generic/libnss_nis.abilist: New file.
25714 * sysdeps/generic/libnss_nisplus.abilist: New file.
25715 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25716 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25717 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25718 file.
25719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25720 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25721 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25722 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25723 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25724 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25725 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25726 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25727 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25728 file.
25729 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25730 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25731 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25732 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25733 file.
25734 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25735 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25736 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25737 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25738 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25739 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25740 file.
25741 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25742 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25743 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25744 file.
25745 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25747 New file.
25748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25749 New file.
25750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25751 New file.
25752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25753 New file.
25754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25755 New file.
25756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25757 New file.
25758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25759 New file.
25760 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25761 New file.
25762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25763 New file.
25764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25765 New file.
25766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25767 New file.
25768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25769 New file.
25770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25771 New file.
25772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25773 file.
25774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25775 New file.
25776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25777 New file.
25778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25779 file.
25780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25781 New file.
25782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25783 New file.
25784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25785 file.
25786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25787 New file.
25788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25789 New file.
25790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25791 New file.
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25793 New file.
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25795 New file.
25796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25797 New file.
25798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25800 file.
25801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25802 New file.
25803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25804 file.
25805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25806 file.
25807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25808 file.
25809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25810 file.
25811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25812 file.
25813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25814 New file.
25815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25816 file.
25817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25818 file.
25819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25820 New file.
25821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25822 file.
25823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25825 file.
25826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25827 New file.
25828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25829 file.
25830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25831 file.
25832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25833 file.
25834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25835 file.
25836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25837 file.
25838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25839 New file.
25840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25841 file.
25842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25843 file.
25844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25845 New file.
25846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25847 file.
25848 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25849 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25850 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25851 file.
25852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25853 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25854 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25855 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25856 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25857 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25858 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25859 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25860 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25861 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25864 file.
25865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25866 New file.
25867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25868 file.
25869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25870 file.
25871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25872 file.
25873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25874 file.
25875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25876 file.
25877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25878 New file.
25879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25880 New file.
25881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25882 file.
25883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25884 New file.
25885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25886 file.
25887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25889 file.
25890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25891 New file.
25892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25893 file.
25894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25895 file.
25896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25897 file.
25898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25899 file.
25900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25901 file.
25902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25903 New file.
25904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25905 New file.
25906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25907 file.
25908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25909 New file.
25910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25911 file.
25912
41d73a1b
JM
259132012-04-28 Joseph Myers <joseph@codesourcery.com>
25914
25915 * conform/conformtest.pl: Fix typo in handling typed-constant from
25916 allow-header.
25917
28aeeda4
JM
259182012-04-27 Joseph Myers <joseph@codesourcery.com>
25919
adae8f5e
JM
25920 * README: Cut down references to pre-2.6 Linux kernels and
25921 Linuxthreads. Update lists of configurations in libc and ports
25922 and sort alphabetically. Say "or newer" with Linux kernel version
25923 requirements.
25924
28aeeda4
JM
25925 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25926
a462cb63
RA
259272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25928
25929 [BZ #887]
25930 * math/libm-test.inc (logb_test_downward): New test to expose
25931 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25932 rounding mode.
25933
6ad3493e
JM
259342012-04-27 Joseph Myers <joseph@codesourcery.com>
25935
25936 [BZ #14027]
25937 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25938 to be done.
25939 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25940 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25941
2ce4f015
JM
259422012-04-26 Joseph Myers <joseph@codesourcery.com>
25943
5aeb141a
JM
25944 * sysdeps/unix/i386/brk.S: Remove file.
25945 * sysdeps/unix/i386/dl-brk.S: Likewise.
25946 * sysdeps/unix/i386/pipe.S: Likewise.
25947 * sysdeps/unix/i386/sigreturn.S: Likewise.
25948 * sysdeps/unix/i386/syscall.S: Likewise.
25949 * sysdeps/unix/i386/vfork.S: Likewise.
25950 * sysdeps/unix/i386/wait.S: Likewise.
25951
7143acae
JM
25952 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25953 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25954
2ce4f015
JM
25955 * configure.in (arm*-none*): Do not allow without
25956 --enable-hacker-mode.
25957 (netbsd*): Remove case setting base_os.
25958 (386bsd*): Likewise.
25959 (freebsd*): Likewise.
25960 (bsdi*): Likewise.
25961 (osf*): Likewise.
25962 (sunos*): Likewise.
25963 (ultrix*): Likewise.
25964 (newsos*): Likewise.
25965 (dynix*): Likewise.
25966 (*bsd*): Likewise.
25967 (sysv*): Likewise.
25968 (isc*): Likewise.
25969 (esix*): Likewise.
25970 (sco*): Likewise.
25971 (minix*): Likewise.
25972 (irix4*): Likewise.
25973 (irix6*): Likewise.
25974 (solaris[2-9]*): Likewise.
25975 (none): Likewise.
25976 * configure: Regenerated.
25977
0ac229c8
AZ
259782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25979
25980 [BZ #11521]
25981 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25982 overflow or cancellation in calculating denominator.
25983 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25985 down expression to avoid unexpected rounding in newer GCCs.
25986 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25987
33f244f4
DM
259882012-04-26 David S. Miller <davem@davemloft.net>
25989
25990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25991 long-double compat symbols.
25992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26005
cfa1f3e8
DM
260062012-04-25 David S. Miller <davem@davemloft.net>
26007
26008 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26009 HWCAP_* values only after the memory barriers have been defined.
26010 (atomic_full_barrier): Define.
26011 (atomic_read_barrier): Define.
26012 (atomic_write_barrier): Define.
26013
6e236b92
SP
260142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26015
26016 * shlib-versions: Add libgcc_s version information.
26017 * sysdeps/generic/libgcc_s.h: Remove.
26018 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26019 libgcc_s.h.
26020 * sysdeps/gnu/unwind-resume.c: Likewise.
26021 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26022
aab39a09
DM
260232012-04-25 David S. Miller <davem@davemloft.net>
26024
26025 * sysdeps/unix/sparc/brk.S: Delete.
26026 * sysdeps/unix/sparc/dl-brk.S: Delete.
26027 * sysdeps/unix/sparc/pipe.S: Delete.
26028 * sysdeps/unix/sparc/sysdep.S: Delete.
26029 * sysdeps/unix/sparc/sysdep.h: Delete.
26030 * sysdeps/unix/sparc/vfork.S: Delete.
26031 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26032 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26033 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26034 ret_ERRVAL, r0, r1, MOVE): Define.
26035 (JUMPTARGET): Remove.
26036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26037 sysdeps/unix/sparc/sysdep.h
26038 (ENTRY, END): Remove.
26039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26040
a3cc4f48
JM
260412012-04-25 Joseph Myers <joseph@codesourcery.com>
26042
2ed8cda2
JM
26043 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26044 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26045 -DIS_IN_build.
26046
35d76d59
JM
26047 * timezone/README: Update upstream location and email address for
26048 tzcode and tzdata.
26049 * timezone/zdump.c: Update from tzcode 2012b.
26050 * timezone/zic.c: Likewise.
26051
a3cc4f48
JM
26052 * configure.in (libc_cv_as_needed): Remove test.
26053 * configure: Regenerated.
26054 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26055 conditional definition.
26056 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26057 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26058 * config.make.in (have-as-needed): Remove variable.
26059
ceab42c3
SP
260602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26061 Paul Pluzhnikov <ppluzhnikov@google.com>
26062
26063 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26064 strings correctly.
26065
3ce2865f
CLT
260662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26067
26068 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26069 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26070 * sysdeps/sh/strlen.S: Likewise.
26071
f37e0d68
JM
260722012-04-24 Joseph Myers <joseph@codesourcery.com>
26073
ae186e9a
JM
26074 * sysdeps/unix/fork.S: Remove file.
26075 * sysdeps/unix/i386/fork.S: Likewise.
26076 * sysdeps/unix/sparc/fork.S: Likewise.
26077
b96914af
JM
26078 * sysdeps/unix/system.c: Remove file.
26079 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26080
f37e0d68
JM
26081 * sysdeps/unix/getegid.S: Remove file.
26082 * sysdeps/unix/geteuid.S: Likewise.
26083
87ef29ca
RM
260842012-04-24 Roland McGrath <roland@hack.frob.com>
26085
83bcd236
RM
26086 * scripts/check-localplt.awk: New file.
26087 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26088 of diff.
26089 * scripts/data/localplt-generic.data: Add a comment.
26090
87ef29ca
RM
26091 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26092 NODE when __dir_mkfile failed.
26093 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26094 Reported by Ludovic Courtès <ludo@gnu.org>.
26095
e5a6e567
AJ
260962012-04-24 Andreas Jaeger <aj@suse.de>
26097
26098 * Makerules (common-clean): Also remove gen-as-const-headers
26099 files.
26100
c1820385
JM
261012012-04-24 Joseph Myers <joseph@codesourcery.com>
26102
26103 * Makerules (native-compile): Do not change working directory for
26104 build. Use $(OUTPUT_OPTION) in command.
26105 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26106
94e02fc4
AZ
261072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26108
26109 [BZ #13886]
26110 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26111 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26112 * math/libm-test.inc (floor_test): Add more tests.
26113 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26114
3a533ca3
JM
261152012-04-24 Joseph Myers <joseph@codesourcery.com>
26116
940ab4b3
JM
26117 * sysdeps/unix/getdents.c: Remove file.
26118 * sysdeps/unix/sysv/getdents.c: Likewise.
26119 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26120
90e037bd
JM
26121 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26122 sysdeps/unix/mman/syscalls.list.
26123 (mmap): Likewise.
26124 (mprotect): Likewise.
26125 (msync): Likewise.
26126 (munmap): Likewise.
26127 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26128 * sysdeps/unix/mman/syscalls.list: Remove.
26129 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26130
3a533ca3
JM
26131 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26132 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26133 * configure: Regenerated.
26134 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26135 $(libgcc_s_suffix).
26136 * config.make.in (libgcc_s_suffix): Remove variable.
26137
1ad743de
JM
261382012-04-23 Joseph Myers <joseph@codesourcery.com>
26139
4ad451e2
JM
26140 * sysdeps/unix/sysv/gethostname.c: Move to ...
26141 * sysdeps/posix/gethostname.c: ... here.
26142
5e37ce39
JM
26143 * sysdeps/unix/execve.S: Remove file.
26144
1ad743de
JM
26145 * sysdeps/unix/_exit.S: Remove file.
26146
4e681b5b
AJ
261472012-04-23 Andreas Jaeger <aj@suse.de>
26148
26149 [BZ #13739]
26150 * manual/Makefile: Remove make dist support, there's no
26151 need for a stand-alone documentation tar ball.
26152 (TEXI2DVI): Define always, it's not in Makeconfig.
26153 (dist): Removed.
26154 (tar-it): Removed.
26155 (edition): Removed.
26156 (glibc-doc-$(edition).tar): Removed
26157 (%.Z): Removed.
26158 (%.gz): Removed.
26159 (%.uu): Removed.
26160 (ETAGS): Remove, it's in Makeconfig.
26161 (move-if-change): Remove, it's in Makeconfig.
26162
38686a03 261632012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26164
26165 [BZ #13970]
26166 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26167 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26168 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26169 (strtod_l, strtof_l, strtold_l): Remove __wur.
26170 It is not necessarily an error to ignore strtol's return value.
26171 One can reliably look at the stored endptr to decide whether
26172 the number had valid syntax.
26173
7c0616fa
AJ
261742012-04-21 Andreas Jaeger <aj@suse.de>
26175
803cb6b7 26176 [BZ #13739]
7c0616fa
AJ
26177 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26178
b0fe253f
JM
261792012-04-21 Joseph Myers <joseph@codesourcery.com>
26180
26181 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26182 * sysdeps/unix/sysv/Versions: Remove file.
26183
8280f22d
MT
261842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26185
26186 [BZ #13927]
26187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26188
75ce411f 261892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26190
26191 [BZ #7064]
26192 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26193 version from __vm86.
26194
097d59fa
JM
261952012-04-20 Joseph Myers <joseph@codesourcery.com>
26196
a90f3bcb
JM
26197 * sysdeps/unix/common/lxstat.c: Remove file.
26198 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26199
edc7ea78
JM
26200 * sysdeps/unix/sysv/Makefile: Remove file.
26201
cb78c221
JM
26202 * sysdeps/unix/sysv/direct.h: Remove file.
26203
efa6a45f
JM
26204 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26205 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26206 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26207 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26208 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26209 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26210 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26211
9c9f2d0c
JM
26212 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26213
4541c83b
JM
26214 * sysdeps/unix/xmknod.c: Remove file.
26215 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26216
f5d153a0
JM
26217 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26218
aa746595
JM
26219 * sysdeps/unix/sysv/i386/time.S: Remove file.
26220
cce5905e
JM
26221 * sysdeps/unix/fxstat.c: Remove file.
26222 * sysdeps/unix/xstat.c: Likewise.
26223 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26224
37fa3841
JM
26225 * sysdeps/unix/sysv/sigaction.c: Remove file.
26226
ff1962a3
JM
26227 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26228 (sysdep_headers): Remove variable.
26229 [termio.h not in sysdep_headers] (generated): Likewise.
26230 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26231 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26232 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26233 * sysdeps/unix/sysv/tcflow.c: Likewise.
26234 * sysdeps/unix/sysv/tcflush.c: Likewise.
26235 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26236 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26237 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26238 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26239 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26240
e7740d31
JM
26241 * sysdeps/unix/siglist.c: Remove file.
26242
ee06f18b
JM
26243 * sysdeps/unix/getppid.S: Remove file.
26244
097d59fa
JM
26245 * sysdeps/unix/mkdir.c: Remove file.
26246 * sysdeps/unix/rmdir.c: Likewise.
26247
ff3d51ec
AS
262482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26249
26250 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26251 ERR_MAX value.
26252 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26253 errlist-compat value.
26254
50f81fd7
DM
262552012-04-18 David S. Miller <davem@davemloft.net>
26256
26257 * sysdeps/generic/memcopy.h (reg_char): Delete.
26258 * debug/strcat_chk.c: Use char, not reg_char.
26259 * debug/strcpy_chk.c: Likewise.
26260 * debug/strncat_chk.c: Likewise.
26261 * debug/strncpy_chk.c: Likewise.
26262 * string/memchr.c: Likewise.
26263 * string/memrchr.c: Likewise.
26264 * string/rawmemchr.c: Likewise.
26265 * string/strcat.c: Likewise.
26266 * string/strchr.c: Likewise.
26267 * string/strchrnul.c: Likewise.
26268 * string/strcmp.c: Likewise.
26269 * string/strcpy.c: Likewise.
26270 * string/strncat.c: Likewise.
26271 * string/strncmp.c: Likewise.
26272 * string/strncpy.c: Likewise.
26273
8ff41c46
WS
262742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26275
26276 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26277 __builtin_memcopy is called when src and dest ranges are known to not
26278 overlap.
26279
6b652f46
WS
262802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26281
26282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26283 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26284 fwd_align_merge macro call.
26285 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26286 bwd_align_merge macro call.
26287 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26288
b282631e
WS
262892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26290
26291 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26292 bwd_align_merge macros.
26293 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26294 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26295 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26296
95aa737c
DM
262972012-04-18 David S. Miller <davem@davemloft.net>
26298
26299 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26300
7a99a614
AJ
263012012-04-18 Andreas Jaeger <aj@suse.de>
26302
26303 [BZ# 6794]
26304 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26305 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26306 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26307
26308 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26309 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26310 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26311
26312 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26313 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26314 Adjust for changed ldbl-128 files.
26315
26316 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26317 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26318 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26319
e5270c23
DM
263202012-04-17 David S. Miller <davem@davemloft.net>
26321
26322 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26323
fb5e92c9
AS
263242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26325
26326 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26327 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26328 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26329 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26330 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26331 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26332
76da7265
AZ
263332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26334
26335 [BZ #6794]
26336 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26337 * math/libm-test.inc: Add ilogb errno and exception tests.
26338 * math/w_ilogb.c: New file: ilogb wrapper.
26339 * math/w_ilogbf.c: New file: ilogbf wrapper.
26340 * math/w_ilogbl.c: New file: ilogbl wrapper.
26341 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26342 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26343 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26344 exception being thrown with 0.0 as argument.
26345 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26346 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26347 exception being thrown with 0.0 as argument.
26348 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26349 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26350 exception being thrown with 0.0 as argument.
26351 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26352 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26353 exception being thrown with 0.0 as argument.
26354 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26355 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26356 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26357 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26358 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26359 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26360 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26361 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26362 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26363
0396e69d
PB
263642012-04-17 Petr Baudis <pasky@ucw.cz>
26365
26366 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26367 with altivec.
26368
750b5926
MP
263692012-04-16 Marek Polacek <polacek@redhat.com>
26370
26371 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26372
751728a1
MP
263732012-04-16 Marek Polacek <polacek@redhat.com>
26374
26375 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26376 operands of fdivp instruction.
26377
34a27407
L
263782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26379
26380 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26381 * elf/tst-auditmod3b.c: Likewise.
26382 * elf/tst-auditmod4b.c: Likewise.
26383 * elf/tst-auditmod5b.c: Likewise.
26384 * elf/tst-auditmod6b.c: Likewise.
26385 * elf/tst-auditmod6c.c: Likewise.
26386 * elf/tst-auditmod7b.c: Likewise.
26387 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26388 * sysdeps/x86_64/preconfigure.in: Likewise.
26389 * sysdeps/x86_64/preconfigure: Regenerated.
26390
7e73e17d
L
263912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26392
26393 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26394 __ILP32__.
26395
c7a6ab72
AB
263962012-04-13 Antoine Balestrat <merkil33@gmail.com>
26397
26398 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26399 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26400
a9e8e0e0
CL
264012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26402
26403 [BZ #13973]
26404 * locale/iso-639.def: Fix gl language name. Spotted by
26405 Yaron Shahrabani.
26406
ec98af7d
RM
264072012-04-12 Roland McGrath <roland@hack.frob.com>
26408
26409 [BZ #2074]
26410 * libio/libio.h (__io_write_fn): Update comment.
26411
247c3ede
PB
264122012-04-12 Petr Baudis <pasky@ucw.cz>
26413
26414 [BZ #2074]
26415 * stdio.texi (Hook Functions): The user provided writer function
26416 is not allowed to return -1.
26417
55939d6d
DM
264182012-04-11 David S. Miller <davem@davemloft.net>
26419
26420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26421
90020f5a
MF
264222012-04-11 Mike Frysinger <vapier@gentoo.org>
26423
26424 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26425 Add a leading slash to rtkaio.
26426
288f9098
JM
264272012-04-11 Jim Meyering <meyering@redhat.com>
26428
90020f5a
MF
26429 [BZ #11959]
26430 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26431 It is not necessarily an error to ignore fwrite's return
26432 value. One can reliably use ferror to test for errors after
26433 the fact.
288f9098 26434
4be2b570
L
264352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26436
26437 * bits/types.h (__snseconds_t): New type.
26438 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26439
26440 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26442 (__SNSECONDS_T_TYPE): Likewise.
26443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26444 (__SNSECONDS_T_TYPE): Likewise.
26445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26446 (__SNSECONDS_T_TYPE): Likewise.
26447
288f9098 264482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26449
26450 [BZ #2636]
26451 * manual/time.texi (Processor Time): Return type of times is
26452 elapsed real time since an arbitrary point in the past.
26453 (CPU Time): Move CLK_TCK from here...
26454 (Processor Time): ...to here. Correct description.
26455 * manual/conf.texi (Constants for Sysconf): Correct description of
26456 _SC_CLK_TCK.
26457
d7dd4413
DM
264582012-04-10 David S. Miller <davem@davemloft.net>
26459
26460 [BZ #13967]
26461 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26462 where the is a gap between DT_REL(A) and DT_JMPREL.
26463
b46068fc
L
264642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26465
26466 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26467 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26468 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26469
73d65cc3
SP
264702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26471
26472 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26473 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26474 (dl_main): Handle --inhibit-cache.
26475 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26476 _dl_inhibit_cache.
26477 * elf/dl-load.c (_dl_map_object): Use it.
26478 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26479
bcc8d661
JM
264802012-04-09 Joseph Myers <joseph@codesourcery.com>
26481
8f9a2fae
JM
26482 [BZ #13872]
26483 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26484 (__ieee754_powl): Saturate large exponents rather than testing for
26485 overflow of y*log2(x).
26486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26487 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26488 exceptions.
26489
bcc8d661
JM
26490 [BZ #11521]
26491 * math/s_ctan.c: Include <float.h>.
26492 (__ctan): Avoid internal overflow or cancellation in calculating
26493 denominator.
26494 * math/s_ctanf.c: Likewise.
26495 * math/s_ctanl.c: Likewise.
26496 * math/s_ctanh.c: Likewise.
26497 * math/s_ctanhf.c: Likewise.
26498 * math/s_ctanhl.c: Likewise.
26499 * math/libm-test.inc (ctan_test): Add more tests.
26500 (ctanh_test): Likewise.
26501 * sysdeps/i386/fpu/libm-test-ulps: Update.
26502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26503
823fbbb4
AJ
265042012-04-09 Andreas Jaeger <aj@suse.de>
26505
03879793
AJ
26506 [BZ #6894]
26507 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26508 is an optional BSD extension.
26509
823fbbb4
AJ
26510 [BZ #10254]
26511 * manual/stdio.texi (Opening Streams): Document additional fopen
26512 parameters.
26513
8de131cb
RM
265142012-04-09 Roland McGrath <roland@hack.frob.com>
26515
26516 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26517 %eax without telling the compiler.
26518
c0ed9d7d
CD
265192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26520
26521 [BZ # 13963]
26522 * manual/install.texi: Use sourceware.org.
26523
c483f6b4
JM
265242012-04-09 Joseph Myers <joseph@codesourcery.com>
26525
d7dd9453
JM
26526 [BZ #13873]
26527 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26528 (__ieee754_pow): Generate overflow and underflow using huge*huge
26529 and tiny*tiny rather than just returning constant infinity or zero
26530 for large exponents.
26531 * math/libm-test.inc (pow_test): Require overflow exceptions for
26532 applicable cases of large exponents.
26533
c483f6b4
JM
26534 [BZ #706]
26535 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26536 (__ieee754_pow): Use iterative multiplication algorithm only for
26537 integer exponents with absolute value below 1024. Check for odd
26538 integer exponents when using algorithm for real exponents.
26539 * math/libm-test.inc (pow_test): Add more tests.
26540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26541
d2de7579
JM
265422012-04-08 Joseph Myers <joseph@codesourcery.com>
26543
26544 [BZ #13705]
26545 * math/libm-test.inc (exp_test): Do not allow overflow exception
26546 on underflow test.
26547
f77f1232
AJ
265482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26549
26550 [BZ #13705]
26551 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26552 instead of __kernel_standard_f.
26553
3884932b
MF
265542012-04-08 Mike Frysinger <vapier@gentoo.org>
26555
26556 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26557 * sysdeps/x86_64/memset_chk.S: Likewise.
26558
54472e9c
AJ
265592012-04-08 Andreas Jaeger <aj@suse.de>
26560
6ab0fbfc
AJ
26561 [BZ #10153]
26562 * manual/startup.texi (Environment Access): Describe return value
26563 for putenv and setenv.
26564
61efba8c
AJ
26565 [BZ #6895]
26566 * manual/filesys.texi (Directory Entries): Add description for
26567 DT_LNK.
26568
95c3f29a
AJ
26569 [BZ #6890]
26570 * manual/filesys.texi (Directory Entries): Clarify that it's file
26571 system not operating system in the description of DT_UNKNOWN.
26572
54472e9c
AJ
26573 [BZ #6578]
26574 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26575
624254b1
SC
265762012-04-08 Stephen Compall <s11@member.fsf.org>
26577
26578 [BZ #6649]
26579 * manual/llio.texi (Opening and Closing Files): Add cross
26580 reference to explain mode argument.
26581
1e4920e0
MF
265822012-04-07 Mike Frysinger <vapier@gentoo.org>
26583
26584 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26585 * sysdeps/x86_64/memset_chk.S: Likewise.
26586
5ed848f3
DM
265872012-04-07 David S. Miller <davem@davemloft.net>
26588
26589 * elf/elf.h (R_SPARC_WDISP10): Define.
26590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26591 R_SPARC_SIZE32.
26592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26593 R_SPARC_SIZE64 and R_SPARC_H34.
26594
96154cd8
CD
265952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26596
26597 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26598 conditions and remove no longer applicable assertion.
26599
9904dc47
L
266002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26601
26602 * bits/byteswap.h: Include <features.h>.
26603 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26604 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26605
f8887d0a
L
266062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26607
26608 * bits/byteswap.h (__bswap_16): Removed.
26609 Include <bits/byteswap-16.h> to get __bswap_16.
26610 * sysdeps/i386/bits/byteswap.h: Likewise.
26611 * sysdeps/s390/bits/byteswap.h: Likewise.
26612 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26613 * bits/byteswap-16.h: New file.
26614 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26615 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26616 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26617 * string/Makefile (headers): Add bits/byteswap-16.h.
26618
62470f60
PP
266192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26620
26621 [BZ #13895]
26622 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26623 extra indirection.
26624 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26625 * nss/tst-nss-static.c: New.
26626
4dad7bab
RM
266272012-04-06 Robert Millan <rmh@gnu.org>
26628
26629 [BZ #6486]
26630 * manual/llio.texi (File Position Primitive): lseek
26631 refers to WHENCE when it really means OFFSET.
26632
e9142a17
AJ
266332012-04-06 Andreas Jaeger <aj@suse.de>
26634
2c040eff
AJ
26635 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26636 strncmp declarations.
26637
e9142a17
AJ
26638 * abilist/libc.abilist: Add __poll and __ppoll.
26639
ff9f1c5f
DM
266402012-04-05 David S. Miller <davem@davemloft.net>
26641
dcd2ae90
DM
26642 * scripts/check-local-headers.sh: Accept a host triplet in the
26643 path matched by the exclude regexp.
26644
993eb054
DM
26645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26646 definition.
26647 * sysdeps/powerpc/powerpc32/dl-machine.h
26648 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26649 * sysdeps/s390/s390-32/dl-machine.h
26650 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26651 * sysdeps/sparc/sparc32/dl-machine.h
26652 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26653 * sysdeps/sparc/sparc64/dl-machine.h
26654 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26655
ff9f1c5f
DM
26656 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26657 lazy binding.
48e2e132 26658 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26659 undefined symbol errors.
26660
48e2e132 26661 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26662 DT_NEEDED entries.
26663
e80d6f94
MM
266642012-04-05 Michael Matz <matz@suse.de>
26665
26666 [BZ #13592]
26667 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26668
349fa79f
AJ
266692012-04-05 Andreas Jaeger <aj@suse.de>
26670
26671 [BZ #13908]
26672 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26673 comment.
26674
f402708f
KK
266752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26676
26677 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26678 which ROUND is no valid rounding mode.
26679
2ecccfc9
KK
266802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26681
26682 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26683 read again.
26684 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26685
8a53f50f
KK
266862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26687
26688 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26689 an exception using FPU order intentionally.
26690
266912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26692
26693 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26694 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26695 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26696 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26697
d653abb7
SJ
266982012-04-05 Simon Josefsson <simon@josefsson.org>
26699
26700 [BZ #12340]
26701 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26702 EINVAL when BUFLEN is too smal.
26703
c3b1bf7d
TS
267042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26705
26706 [BZ #13553]
26707 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26708 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26709
b1aa60f3
AJ
267102012-04-03 Andreas Jaeger <aj@suse.de>
26711
c3b1bf7d 26712 [BZ #13938]
67f60a26
AJ
26713 * manual/setjmp.texi (System V contexts): Fix sentence.
26714
b1aa60f3
AJ
26715 [BZ #13926]
26716 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26717 New macro for this case.
26718 [!__GNUC__] (__bswap_64): New inline function for this case.
26719 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26720 * bits/byteswap.h: Likewise.
26721 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26722 ull, guard with __GLIBC_HAVE_LONG_LONG.
26723
26724 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26725 __GLIBC_HAVE_LONG_LONG.
26726
26727 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26728 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26729
39c59c35
TMQMF
267302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26731
26732 [BZ #13691]
26733 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26734 inptr and inend, rather than using last_ch.
26735
135ffda8
DM
267362012-04-02 David S. Miller <davem@davemloft.net>
26737
26738 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26739 * stdio-common/printf-parse.h (read_int): Change return type to
26740 'int', return -1 on INT_MAX overflow.
26741 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26742 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26743 overflows INT_MAX. Check for overflow of in-format-string precision
26744 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26745 SIZE_MAX not INT_MAX for integer overflow test.
26746 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26747 skip the construct in the format string but do not record anything.
26748 * stdio-common/bug22.c: Adjust to test both width/prevision
26749 INT_MAX overflow as well as total length INT_MAX overflow. Check
26750 explicitly for proper errno values.
26751
228c019e
TS
267522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26753
302cadd3
TS
26754 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26755 CHAR_MAX.
26756 * string/test-strcmp.c [! WIDE]: Likewise.
26757 * time/tst-mktime2.c: Likewise for INT_MAX.
26758 * string/test-string.h: #include <sys/param.h> for MIN.
26759
228c019e
TS
26760 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26761 * sysdeps/i386/init-first.c (init): Likewise.
26762 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26763 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26764 * sysdeps/sh/init-first.c (init): Likewise.
26765
cfa633f5
UD
267662012-04-01 Ulrich Drepper <drepper@gmail.com>
26767
26768 * po/ru.po: Update from translation team.
d1635ef8 26769 * po/vi.po: Likewise.
cfa633f5 26770
6cd0a5ea
SP
267712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26772
26773 * resolv/nss_dns/dns-host.c: Merge copyright years.
26774
4b43400f
LD
267752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26776
26777 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26778 Optimize memcpy with prefetch if
26779 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26780 src, dst pointers have unequal 16 byte alignments.
26781
48c41d04
SP
267822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26783
26784 [BZ #13928]
26785 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26786 from a CNAME entry and return the minimum ttl for the query.
26787 (gaih_getanswer_slice): Likewise.
26788
b8dc394d
JL
267892012-03-30 Jeff Law <law@redhat.com>
26790
26791 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26792 due to long keys.
26793 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26794 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26795
2f5a5ed0
JL
26796 * resolv/nss_dns/dns-host.c: Update copyright year.
26797
1d39e359
UD
267982012-03-30 Ulrich Drepper <drepper@gmail.com>
26799
c030f70c 26800 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26801 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26802
1d39e359
UD
26803 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26804 comments for sendmmsg.
26805
268062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26807
26808 [BZ #13691]
26809 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26810 with only 1 character between 0x0041 and 0x01b0.
26811 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26812 * wcsmbs/tst-mbsnrtowcs.c: New file.
26813
20fde227
DM
268142012-03-29 David S. Miller <davem@davemloft.net>
26815
26816 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26817 small copies by hand.
26818
984a4237
JL
268192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26820
26821 [BZ #13761]
26822 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26823 _nss_compat_initgroups_dyn): Fall back to malloc/free
26824 for large group memberships.
26825
18c9d62b
DM
268262012-03-28 David S. Miller <davem@davemloft.net>
26827
88d85d4f
DM
26828 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26829 that branches into memcpy.
26830 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26831 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26833 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26834 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26835 bits.
26836 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26837 implementation too.
26838 * sysdeps/sparc/mempcpy.S: New file.
26839
e5aa83e1
DM
26840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26841 the IFUNC routine in the libc case.
26842 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26843
88570753
DM
26844 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26845 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26846 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26847 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26848 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26849 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26850 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26851 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26852
249d7567
DM
26853 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26854 loop to 256 bytes instead of 64 bytes and fix test signedness.
26855
18c9d62b
DM
26856 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26857 * sysdeps/sparc/sparc32/Makefile: rather than here...
26858 * sysdeps/sparc/sparc64/Makefile: and here.
26859
05f3d1f6
UD
268602012-03-28 Ulrich Drepper <drepper@gmail.com>
26861
26862 * malloc/mallocbug.c: Avoid warnings about unused variables.
26863
86ae07a8
JL
268642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26865
26866 [BZ #13760]
26867 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26868 in the right place. Discard and retry query if response is
26869 larger than input buffer size.
26870
41bf21a1
JM
268712012-03-28 Joseph Myers <joseph@codesourcery.com>
26872
d6270972
JM
26873 [BZ #369]
26874 [BZ #2678]
26875 [BZ #3866]
26876 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26877 x for large integer exponent.
26878 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26879 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26880 sign of result as needed afterwards.
26881 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26882 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26883 result for underflowing pow the same as for overflow.
26884 (__kernel_standard_l): Handle powl overflow and underflow here
26885 rather than calling __kernel_standard.
26886 * math/libm-test.inc (pow_test): Add more tests.
26887
414fca03 26888 [BZ #3868]
41bf21a1
JM
26889 [BZ #13879]
26890 [BZ #13910]
26891 [BZ #13911]
26892 [BZ #13912]
26893 [BZ #13913]
26894 [BZ #13915]
26895 [BZ #13916]
26896 [BZ #13917]
26897 [BZ #13918]
26898 [BZ #13919]
26899 [BZ #13920]
26900 [BZ #13921]
26901 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26902 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26903 (__kernel_standard_l): New function.
26904 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26905 __kernel_standard.
26906 * math/w_acosl.c (__acosl): Likewise.
26907 * math/w_asinl.c (__asinl): Likewise.
26908 * math/w_atan2l.c (__atan2l): Likewise.
26909 * math/w_atanhl.c (__atanhl): Likewise.
26910 * math/w_coshl.c (__coshl): Likewise.
26911 * math/w_exp10l.c (__exp10l): Likewise.
26912 * math/w_exp2l.c (__exp2l): Likewise.
26913 * math/w_fmodl.c (__fmodl): Likewise.
26914 * math/w_hypotl.c (__hypotl): Likewise.
26915 * math/w_j0l.c (__j0l, __y0l): Likewise.
26916 * math/w_j1l.c (__j1l, __y1l): Likewise.
26917 * math/w_jnl.c (__jnl, __ynl): Likewise.
26918 * math/w_lgammal.c (__lgammal): Likewise.
26919 * math/w_log10l.c (__log10l): Likewise.
26920 * math/w_log2l.c (__log2l): Likewise.
26921 * math/w_logl.c (__logl): Likewise.
26922 * math/w_powl.c (__powl): Likewise.
26923 * math/w_remainderl.c (__remainderl): Likewise.
26924 * math/w_scalbl.c (sysv_scalbl): Likewise.
26925 * math/w_sinhl.c (__sinhl): Likewise.
26926 * math/w_sqrtl.c (__sqrtl): Likewise.
26927 * math/w_tgammal.c (__tgammal): Likewise.
26928 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26929 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26930 * math/libm-test.inc (acos_test): Add more tests.
26931 (acosh_test): Likewise.
26932 (asin_test): Likewise.
26933 (atanh_test): Likewise.
26934 (exp_test): Likewise.
26935 (exp10_test): Likewise.
26936 (exp2_test): Likewise.
26937 (expm1_test): Likewise.
26938 (lgamma_test): Likewise.
26939 (log_test): Likewise.
26940 (log10_test): Likewise.
26941 (log1p_test): Likewise.
26942 (log2_test): Likewise.
26943 (pow_test): Do not allow some spurious overflow exceptions.
26944 (sqrt_test): Add more tests.
26945 (tgamma_test): Likewise.
26946 (y0_test): Likewise.
26947 (y1_test): Likewise.
26948 (yn_test): Likewise.
26949
dd62fda6
AB
269502012-03-27 Anton Blanchard <anton@samba.org>
26951
26952 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26953 MAP_HUGETLB.
26954 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26955 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26956 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26957
1e3cdfda
AJ
269582012-03-27 David S. Miller <davem@davemloft.net>
26959
b855ab85
DM
26960 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26961
1e3cdfda
AJ
26962 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26963 have-as-vis3 check.
26964
269652012-03-27 Andreas Jaeger <aj@suse.de>
26966
26967 * sysdeps/x86_64/elf/configure.in: Moved to ...
26968 * sysdeps/x86_64/configure.in: ... here.
26969 * sysdeps/x86_64/elf/start.S: Moved to ...
26970 * sysdeps/x86_64/start.S: ... here.
26971 * sysdeps/x86_64/elf/configure: Delete.
26972
26973 * sysdeps/x86_64/configure.in: Merge contents from
26974 sysdeps/i386/configure.in (without i686 check).
26975
26976 * sysdeps/i386/elf/Versions: Merge into ...
26977 * sysdeps/i386/Versions: ... this.
26978 * sysdeps/i386/elf/Versions: Delete file.
26979 * sysdeps/i386/elf/start.S: Moved to ...
26980 * sysdeps/i386/start.S: ...here.
26981 * sysdeps/i386/elf/configure.in: Merge into...
26982 * sysdeps/i386/configure.in: ...here.
26983 * sysdeps/i386/elf/configure.in: Delete file.
26984 * sysdeps/i386/elf/configure: Delete file.
26985
26986 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26987 * debug/backtracesyms.c: ... here.
26988 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26989 * debug/backtracesymsfd.c: ... here.
26990 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26991 * sysdeps/generic/ifunc-sel.h: ... here.
26992
26993 * sysdeps/unix/i386/start.c: Delete file.
26994 * sysdeps/unix/sparc/start.c: Delete file.
26995 * sysdeps/unix/start.c: Delete file.
26996
26997 * sysdeps/sh/elf/configure.in: Moved to ...
26998 * sysdeps/sh/configure.in: ... here.
26999 * sysdeps/sh/elf/start.S: Moved to ...
27000 * sysdeps/sh/start.S: ... here.
27001 * sysdeps/sh/elf/configure: Delete file.
27002
27003 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27004 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27005 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27006 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27007 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27008 * sysdeps/powerpc/powerpc64/start.S: here.
27009 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27010 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27011 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27012 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27013 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27014
27015 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27016 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27017 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27018 * sysdeps/powerpc/powerpc32/start.S: ... here.
27019 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27020 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27021 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27022
27023 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27024 * sysdeps/powerpc/ifunc-sel.h: ... here.
27025 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27026 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27027
27028 * sysdeps/sparc/elf/configure.in: Moved to ...
27029 * sysdeps/sparc/configure.in: ... here.
27030 * sysdeps/sparc/elf/configure: Delete file.
27031 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27032 * sysdeps/sparc/sparc32/start.S: ... here.
27033 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27034 * sysdeps/sparc/sparc64/start.S: ... here.
27035 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27036 * sysdeps/sparc/sparc32/Makefile: ... this.
27037 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27038 * sysdeps/sparc/sparc64/Makefile: ... this.
27039
27040 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27041 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27042 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27043 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27044 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27045 * sysdeps/s390/s390-32/setjmp.S: ... here.
27046 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27047 * sysdeps/s390/s390-32/configure.in: ... here.
27048 * sysdeps/s390/s390-32/elf/configure: Delete file.
27049 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27050 * sysdeps/s390/s390-32/start.S: ... here.
27051
27052 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27053 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27054 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27055 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27056 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27057 * sysdeps/s390/s390-64/setjmp.S: ... here.
27058 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27059 * sysdeps/s390/s390-64/configure.in: ... here
27060 * sysdeps/s390/s390-64/elf/configure: Delete file.
27061 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27062 * sysdeps/s390/s390-64/start.S: ... here.
27063 * sysdeps/s390/s390-64/elf/configure: Delete.
27064
27065 * configure.in: Remove support for elf directories in sysdeps.
27066
27067 * configure: Regenerated.
27068 * sysdeps/i386/configure: Regenerated.
27069 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27070 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27071 * sysdeps/s390/s390-32/configure: Regenerated.
27072 * sysdeps/s390/s390-64/configure: Regenerated.
27073 * sysdeps/sh/configure: Regenerated.
27074 * sysdeps/sparc/configure: Regenerated.
27075 * sysdeps/x86_64/configure: Regenerated.
27076
a3f61311
AS
270772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27078
c876e002
AS
27079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27080
a3f61311
AS
27081 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27082 denormal result into account.
27083
ac4c54f0
RM
270842012-03-25 Roland McGrath <roland@hack.frob.com>
27085
27086 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27087 Reported by Allan McRae <allan@archlinux.org>.
27088
6a9b9c02
JL
270892012-03-23 Jeff Law <law@redhat.com>
27090
27091 * nss/getnssent.c (__nss_getent): Fix typo.
27092
4c42a0c1
DM
270932012-03-23 David S. Miller <davem@davemloft.net>
27094
27095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27096
1532c7ac
L
270972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27098
27099 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27100 to pad to uint64_t for each field.
27101 (dl_tls_index): Replace unsigned long with uint64_t.
27102
3ff42526
PP
271032012-03-23 Daniel Jacobowitz <dmj@google.com>
27104 Paul Pluzhnikov <ppluzhnikov@google.com>
27105
27106 [BZ #6528]
27107 * grp/Makefile (otherlibs): Don't set it.
27108 * inet/Makefile (otherlibs): Likewise.
27109 * login/Makefile (otherlibs): Likewise.
27110 * nscd/Makefile (otherlibs): Likewise.
27111 * posix/Makefile (otherlibs): Likewise.
27112 * pwd/Makefile (otherlibs): Likewise.
27113 * rt/Makefile (otherlibs): Likewise.
27114 * sunrpc/Makefile (otherlibs): Likewise.
27115 * nss/Makefile (otherlibs): Likewise.
27116 Add libnss_files to routines and static-only-routines.
27117 ($(objpfx)getent): Remove rule.
27118 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27119 static-only-routines.
27120
7c69cd14
JM
271212012-03-22 Joseph Myers <joseph@codesourcery.com>
27122
27123 [BZ #13892]
27124 * math/s_cexp.c: Include <float.h>.
27125 (__cexp): Handle exp result overflowing not necessarily
27126 overflowing both real and imaginary parts of result.
27127 * math/s_cexpf.c: Likewise.
27128 * math/s_cexpl.c: Likewise.
27129 * math/libm-test.inc (cexp_test): Add more tests.
27130 * sysdeps/i386/fpu/libm-test-ulps: Update.
27131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27132
81b035fe
L
271332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27134
27135 * include/link.h (ELFW): New macro.
27136 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27137 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27138
1da7940c
L
271392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27140
27141 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27142 with uint64_t.
27143
b749dbb9
L
271442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27145
27146 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27147 declaration.
27148 (struct La_x32_retval): Likewise.
27149
2ff87f3f
L
271502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27151
27152 * sysdeps/x86_64/preconfigure.in: New file.
27153 * sysdeps/x86_64/preconfigure: New generated file.
27154
c0df8e69
JM
271552012-03-22 Joseph Myers <joseph@codesourcery.com>
27156
48e44791
JM
27157 [BZ #13824]
27158 * math/e_exp2l.c: Include <float.h>.
27159 (__ieee754_exp2l): Handle overflow and underflow cases
27160 separately. Only pass fractional part of argument to
27161 __ieee754_expl.
27162 * math/libm-test.inc (exp2_test): Add more tests.
27163
c0df8e69
JM
27164 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27165 negating x to take absolute value.
27166 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27167 Likewise.
27168 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27169 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27170 Likewise.
27171 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27172 computing low part if x was negated.
27173 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27174
c8e43ba7
L
271752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27176
27177 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27178 la_x32_gnu_pltexit.
27179 (pltexit): Cast int_retval to ptrdiff_t.
27180 * elf/tst-auditmod3b.c: Likewise.
27181 * elf/tst-auditmod4b.c: Likewise.
27182 * elf/tst-auditmod5b.c: Likewise.
27183 * elf/tst-auditmod6b.c: Likewise.
27184 * elf/tst-auditmod6c.c: Likewise.
27185 * elf/tst-auditmod7b.c: Likewise.
27186
27187 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27188 and x32_gnu_pltexit.
27189
27190 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27191 __ELF_NATIVE_CLASS.
27192 (La_x32_regs): New macro.
27193 (La_x32_retval): Likewise.
27194 (la_x32_gnu_pltenter): New function prototype.
27195 (la_x32_gnu_pltexit): Likewise.
27196
7998fa78
AS
271972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27198
dcb33988
AS
27199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27200 exponent.
27201
233fc563
AS
27202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27203
7998fa78
AS
27204 * configure.in (libc_cv_cc_nofma): Check for option to disable
27205 generation of FMA instructions.
27206 * configure: Regenerate.
27207 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27208 * sysdeps/ieee754/dbl-64/Makefile: New file.
27209 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27210 Remove brandred-fma4.
27211 (CFLAGS-brandred-fma4.c): Remove.
27212 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27213 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27214 define.
27215 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27216 define.
27217
8e95c99a
L
272182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27219
27220 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27221 LLONG_MAX != LONG_MAX.
27222 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27223 (_fitoa_word): Likewise.
27224 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27225 LLONG_MAX != LONG_MAX.
27226 * stdio-common/_itowa.h: Include <_itoa.h>.
27227 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27228 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27229 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27230 only if not defined.
27231 (_ITOA_WORD_TYPE): Likewise.
27232 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27233 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27234
6f4db457
DM
272352012-03-21 David S. Miller <davem@davemloft.net>
27236
27237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27238
7785fe5a
L
272392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27240
27241 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27242 of x86_64 when setting libc_cv_slibdir, libdir and
27243 libc_cv_localedir.
27244 * sysdeps/unix/sysv/linux/configure: Regenerated.
27245
4535cd55
JM
272462012-03-21 Joseph Myers <joseph@codesourcery.com>
27247
27248 * manual/lang.texi (Old Varargs): Remove section.
27249 (How Variadic): Update menu.
27250 (va_start): Do not mention varargs.h.
27251
17228132
TS
272522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27253 Joseph Myers <joseph@codesourcery.com>
27254
27255 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27256 link test.
27257 * configure: Regenerated.
27258
8149f976
TS
272592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27260
05f3d1f6
UD
27261 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27262 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27263 conformtest.pl
8149f976 27264
1a4ac776
JM
272652012-03-21 Joseph Myers <joseph@codesourcery.com>
27266
be22ce65
JM
27267 * NOTES: Remove.
27268 * Makefile (files-for-dist): Remove NOTES.
27269 (NOTES): Remove rule.
27270 * README: Don't refer to NOTES.
27271 * manual/creature.texi: Don't include macros.texi.
27272 * manual/intro.texi (creature.texi): Remove comment referring to
27273 NOTES.
27274
40b601fb
JM
27275 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27276 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27277 * configure: Regenerated.
27278 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27279 LIBC_TRY_CC_OPTION.
27280 (libc_cv_as_i686): Likewise.
27281 (libc_cv_cc_avx): Likewise.
27282 (libc_cv_cc_sse2avx): Likewise.
27283 (libc_cv_cc_fma4): Likewise.
27284 (libc_cv_cc_novzeroupper): Likewise.
27285 * sysdeps/i386/configure: Regenerated.
27286
1a4ac776
JM
27287 [BZ #13883]
27288 * sysdeps/i386/fpu/s_cexp.S: Remove.
27289 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27290 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27291 * math/libm-test.inc (cexp_test): Add more tests.
27292 * sysdeps/i386/fpu/libm-test-ulps: Update.
27293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27294
a458e7fe
AM
272952012-03-21 Allan McRae <allan@archlinux.org>
27296
27297 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27298
0cb7efc5
JM
272992012-03-21 Joseph Myers <joseph@codesourcery.com>
27300
27301 [BZ #13871]
27302 * math/w_exp2.c: Do not include <float.h>.
27303 (o_threshold, u_threshold): Remove.
27304 (__exp2): Calculate result before checking finiteness and calling
27305 __kernel_standard.
27306 * math/w_exp2f.c: Likewise.
27307 * math/w_exp2l.c: Likewise.
27308 * math/libm-test.inc (exp2_test): Require overflow exception for
27309 1e6 input.
2460d3aa
JM
27310
27311 [BZ #3866]
27312 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27313 range of signed 64-bit integers before using fistpll. Remove
27314 checks for whether integers fit in mantissa bits.
27315 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27316 the range of signed 32-bit integers before using fistpl. Remove
27317 checks for whether integers fit in mantissa bits.
27318 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27319 (__ieee754_powl): Test for y outside the range of signed 64-bit
27320 integers before using fistpll. Reduce 64-bit values to 63-bit
27321 ones as needed.
27322 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27323 divide-by-zero is raised for zero to large negative powers.
27324 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27325 (__ieee754_powl): Test for y outside the range of signed 64-bit
27326 integers before using fistpll. Reduce 64-bit values to 63-bit
27327 ones as needed.
27328 * math/libm-test.inc (pow_test): Add more tests.
27329
eb96ffb0
L
273302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27331
27332 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27333 <stdio-common/_itoa.h>.
27334 * debug/segfault.c: Likewise.
27335 * elf/dl-cache.c: Likewise.
27336 * elf/dl-minimal.c: Likewise.
27337 * elf/dl-misc.c: Likewise.
27338 * elf/dl-sysdep.c: Likewise.
27339 * elf/dl-version.c: Likewise.
27340 * elf/rtld.c: Likewise.
27341 * hurd/hurdsock.c: Likewise.
27342 * hurd/lookup-retry.c: Likewise.
27343 * malloc/malloc.c: Likewise.
27344 * malloc/mtrace.c: Likewise.
27345 * nscd/nscd_getgr_r.c: Likewise.
27346 * nscd/nscd_getpw_r.c: Likewise.
27347 * nscd/nscd_getserv_r.c: Likewise.
27348 * posix/getopt_init.c: Likewise.
27349 * posix/wordexp.c: Likewise.
27350 * stdio-common/_itoa.c: Likewise.
27351 * stdio-common/printf_fphex.c: Likewise.
27352 * stdio-common/vfprintf.c: Likewise.
27353 * string/_strerror.c: Likewise.
27354 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27355 * sysdeps/i386/i686/hp-timing.h: Likewise.
27356 * sysdeps/mach/_strerror.c: Likewise.
27357 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27358 * sysdeps/mach/hurd/sethostid.c: Likewise.
27359 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27360 * sysdeps/mach/xpg-strerror.c: Likewise.
27361 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27362 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27363 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27364 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27365 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27366 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27367 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27368 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27369 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27370 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27371 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27372 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27373 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27374 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27375 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27376 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27377 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27378 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27379 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27380 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27381 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27382
27383 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27384
27385 * stdio-common/_itoa.h: Moved to ...
27386 * sysdeps/generic/_itoa.h: Here.
27387
27388 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27389
27390 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27391 instead of "_itoa.h" and "_itowa.h".
27392 * stdio-common/vfprintf.: Likewise.
27393
d1af992d
L
273942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27395
27396 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27397 <bits/wordsize.h>.
27398 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27399 (__signbit): Likwise.
27400 (llrintf): Likwise.
27401 (llrint): Likwise.
27402
114883e0
L
274032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27404
27405 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27406 __WORDSIZE != 64.
27407
c135cc1b
JM
274082012-03-20 Joseph Myers <joseph@codesourcery.com>
27409
27410 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27411 OVERFLOW_EXCEPTION_OK.
27412 * math/libm-test.inc ("Philosophy"): Update comment about
27413 exception testing.
27414 (OVERFLOW_EXCEPTION): Define.
27415 (OVERFLOW_EXCEPTION_OK): Likewise.
27416 (INVALID_EXCEPTION_OK): Renumber.
27417 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27418 (IGNORE_ZERO_INF_SIGN): Likewise.
27419 (test_exceptions): Handle FE_OVERFLOW.
27420 (exp10_test): Expect overflow exceptions.
27421 (exp2_test): Likewise.
27422 (expm1_test): Likewise.
27423 (nextafter_test): Likewise.
27424 (pow_test): Likewise.
27425 (scalbn_test): Likewise.
27426 (scalbln_test): Likewise.
27427
95443d88
L
274282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27429
27430 * sysdeps/x86_64/bits/atomic.h
27431 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27432 64bit integer.
27433 (atomic_exchange_acq): Likewise.
27434 (__arch_exchange_and_add_body): Likewise.
27435 (__arch_add_body): Likewise.
27436 (atomic_add_negative): Likewise.
27437 (atomic_add_zero): Likewise.
27438
490df6c4
L
274392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27440
c2722551 27441 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27442 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27443
5e52b189
L
274442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27445
27446 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27447 Check __x86_64__ instead of __WORDSIZE.
27448
a9879d4c
L
274492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27450
27451 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27452
5df98260
DM
274532012-03-19 David S. Miller <davem@davemloft.net>
27454
e1497744
DM
27455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27456
5df98260
DM
27457 * sysdeps/sparc/fpu/fenv_private.h: New file.
27458 * sysdeps/sparc/fpu/math_private.h: Use it.
27459 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27460 Remove.
27461 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27462 (libc_feholdexcept_setroundl): Remove.
27463 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27464 Remove.
27465 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27466 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27467
b4c35121
L
274682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27469
27470 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27471 int64_t instead of long int.
27472 (INSERT_WORDS64): Likwise.
27473
56965fd7
L
274742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27475
27476 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27477 _Unwind_GetCFA return to _Unwind_Ptr first.
27478
83d1aec8
JM
274792012-03-19 Joseph Myers <joseph@codesourcery.com>
27480
1897ad44
JM
27481 [BZ #13629]
27482 * math/s_clog.c: Include <float.h>.
27483 (__clog): Scale large or subnormal inputs.
27484 * math/s_clogf.c: Likewise.
27485 * math/s_clogl.c: Likewise.
27486 * math/s_clog10.c: Include <float.h>.
27487 (M_LOG10_2): Define.
27488 (__clog10): Scale large or subnormal inputs.
27489 * math/s_clog10f.c: Likewise.
27490 * math/s_clog10l.c: Likewise.
27491 * math/libm-test.inc (clog_test): Add more tests.
27492 (clog10_test): Likewise.
27493 * sysdeps/i386/fpu/libm-test-ulps: Update.
27494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27495
7726d6a9
JM
27496 [BZ #11451]
27497 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27498 x and y.
27499 * math/libm-test.inc (atan2_test): Add another test.
27500
83d1aec8
JM
27501 * Makerules (common-objdir-compile): Remove.
27502 * sysdeps/unix/Makefile (config-generated): Do not add
27503 $(unix-generated) to variable.
27504 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27505 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27506 Remove rule.
27507 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27508 Likewise.
27509 [generic bits/local_lim.h] (before-compile): Do not append to
27510 variable.
27511 [generic bits/local_lim.h] (common-generated): Likewise.
27512 [generic sys/param.h] (before-compile): Do not append to variable.
27513 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27514 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27515 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27516 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27517 include.
27518 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27519 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27520 [generic sys/param.h] ($(addprefix
27521 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27522 [generic sys/param.h] (common-generated): Do not append to
27523 variable.
27524 [generic sys/param.h] (sysdep_headers): Likewise.
27525 [generic bits/errno.h] (before-compile): Do not append to
27526 variable.
27527 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27528 rule.
27529 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27530 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27531 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27532 [generic bits/errno.h] (common-generated): Do not append to
27533 variable.
27534 [generic bits/ioctls.h] (before-compile): Do not append to
27535 variable.
27536 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27537 rule.
27538 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27539 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27540 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27541 rule.
27542 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27543 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27544 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27545 [generic bits/ioctls.h] (common-generated): Do not append to
27546 variable.
27547 [generic sys/syscall.h] (syscall.h): Remove variable.
27548 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27549 rule.
27550 [generic sys/syscall.h] (before-compile): Do not append to
27551 variable.
27552 [generic sys/syscall.h] (common-generated): Likewise.
27553 * sysdeps/unix/errnos-tmpl.c: Remove file.
27554 * sysdeps/unix/errnos.awk: Likewise.
27555 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27556 * sysdeps/unix/ioctls.awk: Likewise.
27557 * sysdeps/unix/mk-local_lim.c: Likewise.
27558 * sysdeps/unix/snarf-ioctls: Likewise.
27559
4851a949
RH
275602012-03-19 Richard Henderson <rth@twiddle.net>
27561
bd37f2ee
RH
27562 * sysdeps/i386/fpu/fenv_private.h: New file.
27563 * sysdeps/i386/fpu/math_private.h: Use it.
27564 (math_opt_barrier, math_force_eval): Remove.
27565 (libc_feholdexcept_setround_53bit): Remove.
27566 (libc_feupdateenv_53bit): Remove.
27567 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27568 (math_opt_barrier, math_force_eval): Remove.
27569 (libc_feholdexcept): Remove.
27570 (libc_feholdexcept_setround): Remove.
27571 (libc_fetestexcept, libc_fesetenv): Remove.
27572 (libc_feupdateenv_test): Remove.
27573 (libc_feupdateenv, libc_feholdsetround): Remove.
27574 (libc_feresetround): Remove.
27575
d0adc922
RH
27576 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27577 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27578
0fe0f1f8
RH
27579 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27580 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27581 (libc_feupdateenv_testl): New.
27582 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27583 (libc_feupdateenv_testf): New.
27584 (libc_feupdateenv): Use libc_feupdateenv_test.
27585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27586 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27587
eb92c487
RH
27588 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27589 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27590 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27591 (libc_feresetround_noex): New.
27592 (libc_feresetround_noexf): New.
27593 (libc_feresetround_noexl): New.
27594 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27595 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27596 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27597 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27598 SET_RESTORE_ROUND.
27599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27600 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27601 (__cos): Likewise.
27602 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27603 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27604 SET_RESTORE_ROUND_NOEX.
27605 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27606 SET_RESTORE_ROUND_NOEXF.
27607 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27608 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27609 (libc_feholdsetroundf): New.
27610 (libc_feresetround, libc_feresetroundf): New.
27611
7d2e8012
RH
27612 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27613 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27614 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27615
b4dabbb4
RH
27616 * sysdeps/generic/math_private.h: Include <fenv.h>.
27617 (default_libc_feholdexcept): New.
27618 (default_libc_feholdexcept_setround): New.
27619 (default_libc_fesetenv, default_libc_feupdateenv): New.
27620 (libc_feholdexcept): Only define if undefined.
27621 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27622 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27623 (libc_feholdexcept_setroundl): Likewise.
27624 (libc_feholdexcept_setround_53bit): Likewise.
27625 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27626 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27627 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27628 (libc_feupdateenv_53bit): Likewise.
27629 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27630 (libc_feholdexcept): Convert from macro to inline function.
27631 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27632 (libc_fesetenv, libc_feupdateenv): Likewise.
27633
4851a949
RH
27634 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27635 not previously defined.
27636 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27637 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27638 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27639 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27640 * sysdeps/ieee754/flt-32/math_private.h: New file.
27641 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27642 math_private.h below SET_FLOAT_WORD.
27643 (__isnan, __isinf_ns, __finite): Remove.
27644 (__isnanf, __isinf_nsf, __finitef): Remove.
27645
e79d442e
AS
276462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27647
27648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27649
90b80344
DM
276502012-03-17 David S. Miller <davem@davemloft.net>
27651
27652 [BZ #6471]
27653 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27654 for 2.16.
27655
edc21804
DM
276562012-03-16 David S. Miller <davem@davemloft.net>
27657
77e927af
DM
27658 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27659 warnings.
27660
374976dd
DM
27661 [BZ #6471]
27662 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27663 properly.
27664 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27665 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27666 sysdep_routines when subdir is sysvipc.
27667 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27668 __getshmlba helper.
27669
edc21804
DM
27670 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27671
473c3ef3
L
276722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27673
27674 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27675 [__LP64__].
27676
eb0f39b6
L
276772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27678
27679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27680 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27681 (__lround): Renamed to ...
27682 (__llround): This. Replace long int with long long int.
27683 Define lround functions as aliases of llround functions.
27684 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27685
6b6cd74b
L
276862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27687
27688 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27689 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27690 adresses to uintptr_t. Replace "long int" and "unsigned long
27691 int" with "greg_t" on va_arg.
27692
f1a77b01
L
276932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27694
27695 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27696 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27697
27698 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27699 Move e_machine check before EI_CLASS check. Handle x32
27700 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27701 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27702 SKIP_EM_IA_64 and include
27703 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27704
27705 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27706 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27707 (add_system_dir): New macro.
27708
27709 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27710 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27711
11b90b9f
JM
277122012-03-16 Joseph Myers <joseph@codesourcery.com>
27713
c36e1d23
JM
27714 [BZ #2551]
27715 [BZ #2552]
27716 [BZ #2553]
27717 [BZ #2554]
27718 [BZ #2562]
27719 [BZ #2563]
27720 [BZ #2565]
27721 [BZ #2566]
27722 [BZ #2576]
27723 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27724 (y0): Likewise.
27725 * math/w_j0f.c (j0f): Likewise.
27726 (y0f): Likewise.
27727 * math/w_j0l.c (__j0l): Likewise.
27728 (__y0l): Likewise.
27729 * math/w_j1.c (j1): Likewise.
27730 (y1): Likewise.
27731 * math/w_j1f.c (j1f): Likewise.
27732 (y1f): Likewise.
27733 * math/w_j1l.c (__j1l): Likewise.
27734 (__y1l): Likewise.
27735 * math/w_jn.c (jn): Likewise.
27736 (yn): Likewise.
27737 * math/w_jnf.c (jnf): Likewise.
27738 (ynf): Likewise.
27739 * math/w_jnl.c (__jnl): Likewise.
27740 (__ynl): Likewise.
27741 * math/libm-test.inc (j0_test): Add more tests.
27742 (j1_test): Likewise.
27743 (jn_test): Likewise. Add trailing semicolon to existing test.
27744 (y0_test): Likewise.
27745 (y1_test): Likewise.
27746 * sysdeps/i386/fpu/libm-test-ulps: Update.
27747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27748
11b90b9f
JM
27749 [BZ #13851]
27750 [BZ #13854]
27751 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27752 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27753 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27754 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27755 (__tanl): Set errno for infinite argument.
27756 * sysdeps/i386/fpu/mptan.c: Remove.
27757 * sysdeps/i386/fpu/s_tan.S: Likewise.
27758 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27759 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27760 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27761 * math/libm-test.inc (tan_test): Add more tests and enable more
27762 tests for double and long double.
27763 * sysdeps/i386/fpu/libm-test-ulps: Update.
27764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27765
6a1bd2a1
JK
277662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27767
27768 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27769 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27770
10a803e0
RM
277712012-03-16 Roland McGrath <roland@hack.frob.com>
27772
27773 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27774 * configure.in: Use it for both main tree and add-ons.
27775 * configure: Regenerated.
27776
f196c7f7
L
277772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27778
27779 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27780
8848d99d
JM
277812012-03-16 Joseph Myers <joseph@codesourcery.com>
27782
96cbe7f4
JM
27783 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27784 in comment.
27785
8848d99d
JM
27786 [BZ #13851]
27787 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27788 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27792 infinite argument.
27793 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27795 != 0 for prec == 2.
27796 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27797 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27798 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27799 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27800 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27801 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27802 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27803 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27804 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27805 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27806 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27807 * math/libm-test.inc (cos_test): Add more tests and enable more
27808 tests for long double.
27809 (sin_test): Likewise.
27810 (sincos_test): Likewise.
27811 * sysdeps/i386/fpu/libm-test-ulps: Update.
27812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27813
dd7f4703
DM
278142012-03-16 David S. Miller <davem@davemloft.net>
27815
27816 * sysdeps/sparc/fpu/math_private.h: New file.
27817
006f1daa
DM
278182012-03-15 David S. Miller <davem@davemloft.net>
27819
c0c83bc8
DM
27820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27821 file.
e6a62e18 27822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27824 file.
e6a62e18
DM
27825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27831 sysdep routines.
27832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27833
88cb87d9
DM
27834 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27835 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27836
006f1daa 27837 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27839 sparc-ifunc.h
006f1daa 27840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27842 Likewise.
27843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27844 Likewise.
006f1daa
DM
27845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27849 Likewise.
006f1daa
DM
27850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27855 Likewise.
27856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27857 Likewise.
006f1daa
DM
27858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27864 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27882
11e0098e
AS
278832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27884
27885 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27886 scaling.
27887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27888
e85b09d0
AJ
278892012-03-15 Andreas Jaeger <aj@suse.de>
27890
27891 [BZ #13852]
27892 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27893 ieee754/flt-32 implementation for sin, cos and sincos.
27894 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27895 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27896 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27897 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27898 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27899 ieee754/flt-32 implementation for tan.
27900
27901 * math/libm-test.inc (cos_test): Enable some large input tests for
27902 float as well
27903 (sin_test): Likewise.
27904 (sincos_test): Likewise.
27905 (tan_test): Add tests for large input.
27906
27907 * sysdeps/i386/fpu/libm-test-ulps: Update.
27908
81c64153
AJ
279092012-03-15 Andreas Jaeger <aj@suse.de>
27910
27911 [BZ #13658]
27912 * math/libm-test.inc (cos_test): Add more test cases.
27913 (sin_test): Likewise.
27914 (sincos_test): Likewise.
27915
7bbfa5c6
AJ
279162012-03-15 Andreas Jaeger <aj@suse.de>
27917
27918 [BZ #13837]
27919 * math/libm-test.inc (cos_test): Add a test case for large input
27920 value.
27921 (sin_test): Likewise.
27922 (sincos_test): Likewise.
27923
279242012-03-15 Andreas Jaeger <aj@suse.de>,
27925 Joseph Myers <joseph@codesourcery.com>
27926
27927 [BZ #13658]
0671f479 27928 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27929 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27930 * sysdeps/i386/fpu/branred.c: Likewise.
27931 * sysdeps/i386/fpu/dosincos.c: Likewise.
27932 * sysdeps/i386/fpu/mpa.c: Likewise.
27933 * sysdeps/i386/fpu/s_cos.S: Likewise.
27934 * sysdeps/i386/fpu/s_sin.S: Likewise.
27935 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27936 * sysdeps/i386/fpu/sincos32.c: Likewise.
27937
27938 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27939 Define.
27940 (libc_feupdateenv_53bit): Define.
27941 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27942 Define.
27943 (libc_feupdateenv_53bit): Define.
27944
27945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27946 53 bit (without extend i386 double precision).
27947
27948 * math/libm-test.inc (sincos_test): Add tests for large input.
27949 (sin): Likewise.
27950 (cos): Likewise.
27951
27952 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27953
9cad04ea
AS
279542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27955
27956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27957
f7062b9a
DM
279582012-03-15 David S. Miller <davem@davemloft.net>
27959
27960 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27961 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27962 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27963 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27976 file.
f7062b9a 27977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27979 file.
f7062b9a 27980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27982 file.
f7062b9a 27983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27985 file.
f7062b9a
DM
27986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27987 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27988 fmin/fmax sysdep routines.
27989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27990
7bd951ff
DM
279912012-03-14 David S. Miller <davem@davemloft.net>
27992
559398ab
DM
27993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27997 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28013 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28021 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28022 routines.
28023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28024 file.
559398ab 28025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28027 file.
559398ab 28028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28030 file.
559398ab 28031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28033 file.
559398ab 28034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28036 file.
559398ab 28037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28039 file.
28040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28041 file.
28042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28043 file.
28044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28045 file.
28046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28047 New file.
28048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28049 file.
28050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28051 file.
559398ab 28052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28054 file.
559398ab 28055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28057 file.
559398ab 28058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28060 file.
559398ab 28061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28063 VIS3 routines.
559398ab
DM
28064
28065 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28066 New file.
28067
5a1c1e32
DM
28068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28069
eae47a36
DM
28070 * sysdeps/sparc/configure.in: New file.
28071 * sysdeps/sparc/configure: Generate.
28072 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28073 * configure: Regenerate.
28074 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28075 * config.make.in (have-as-vis3): New.
28076 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28077 available use -Av9d instead of -Av9a.
28078 * sysdeps/sparc/sparc64/Makefile: Likewise.
28079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28081 New file.
28082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28083 file.
28084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28085 New file.
28086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28087 file.
eae47a36
DM
28088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28089 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28093
c0c83bc8
DM
28094 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28095 fzeros/fnegs to load 0x80000000 into a float register instead of
28096 using the stack.
7bd951ff
DM
28097 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28098
bd951ccb
JM
280992012-03-14 Joseph Myers <joseph@codesourcery.com>
28100
28101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28102 bits/syscall.h.
28103 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28104 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28105 ($(inst_includedir)/bits/syscall.h): Remove rule.
28106 ($(objpfx)bits/syscall.d): Include instead of
28107 $(objpfx)syscall-list.d.
28108 (generated): Change syscall-list.h and syscall-list.d to
28109 bits/syscall.h and bits/syscall.d.
28110
bb4e6db2
RM
281112012-03-14 Roland McGrath <roland@hack.frob.com>
28112
28113 [BZ #13846]
28114 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28115
aa4a2ae1
JM
281162012-03-14 Joseph Myers <joseph@codesourcery.com>
28117
e456826d
JM
28118 [BZ #13841]
28119 * math/s_csqrt.c: Include <float.h>.
28120 (__csqrt): Scale large or subnormal inputs.
28121 * math/s_csqrtf.c: Likewise.
28122 * math/s_csqrtl.c: Likewise.
28123 * math/libm-test.inc (csqrt_test): Add more tests.
28124 * sysdeps/i386/fpu/libm-test-ulps: Update.
28125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28126
aa4a2ae1
JM
28127 [BZ #13840]
28128 * math/libm-test.inc (hypot_test): Add more tests.
28129
7c10fd35
DM
281302012-03-13 David S. Miller <davem@davemloft.net>
28131
28132 [BZ #13840]
28133 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28134 double-precision for the calculation instead of scaling.
28135
f453b98b
JM
281362012-03-13 Joseph Myers <joseph@codesourcery.com>
28137
28138 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28139 manipulate bits before adding and subtracting TWO52[sx].
28140 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28141 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28142 Likewise.
28143 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28144
09a3453f
DM
281452012-03-13 David S. Miller <davem@davemloft.net>
28146
8e59da90
DM
28147 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28148 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28150 rtld-global-offsets.h
28151 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28152
2a8ab7f2
DM
28153 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28154 large parameters.
28155
10f62770
DM
28156 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28157
5f0bdb18
DM
28158 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28159 'err' in the ifdef scope in which it is actually used.
28160
09a3453f
DM
28161 * nss/nss_db/db-init.c: Include string.h
28162
b4b2eb5e
DM
281632012-03-12 David S. Miller <davem@davemloft.net>
28164
98bb2f1c
DM
28165 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28166 masking out of the most significant byte of random value used.
28167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28168 Fix coding style in previous change.
28169
b4b2eb5e
DM
28170 * sysdeps/unix/sysv/linux/kernel-features.h
28171 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28172 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28173 expression.
28174 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28175 later.
28176
6e226b09
DM
281772012-03-11 David S. Miller <davem@davemloft.net>
28178
a1bcbd40
DM
28179 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28180 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28181 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28182 for 'resultvar' otherwise things get truncated on 64-bit.
28183
cb9d6174
DM
28184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28185 Fix masking out of the most significant byte of random value used.
28186
6e226b09
DM
28187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28188
058c132d
AS
281892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28190
28191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28192
2d2cd515
DM
281932012-03-09 David S. Miller <davem@davemloft.net>
28194
28195 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28196 variables with appropriate CPP guards.
28197 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28198 frame pointer, not the stack pointer. Correct layout comments. Fix test
28199 on resulting framesize and the management of the outregs buffer for pltexit.
28200 Preserve floating point return values across _dl_call_pltexit call.
28201 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28202 framesize and the management of the outregs buffer for pltexit.
28203 Preserve floating point return values across _dl_call_pltexit
28204 call.
28205 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28206 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28207 (print_exit): Fix format string for return register value.
28208
9a07f9d0
JM
282092012-03-10 Joseph Myers <joseph@codesourcery.com>
28210
28211 * sunrpc/Makefile (others): Add rpcgen.
28212 ($(objpfx)rpcgen): Remove special build rule and dependency on
28213 libc.
28214 * sunrpc/rpcgen.c: New file.
28215
547b5e30
PE
282162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28217
c524201a
PE
28218 [BZ #13673]
28219 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28220 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28221 * sysdeps/i386/crti.S: Likewise.
28222 * sysdeps/i386/crtn.S: Likewise.
28223 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28224 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28225 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28226 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28227 * sysdeps/sh/crti.S: Likewise.
28228 * sysdeps/sh/crtn.S: Likewise.
28229 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28230
7b6235f2
PE
28231 [BZ #13673]
28232 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28233 with URL.
28234 * locale/programs/locfile-kw.gperf: Likewise.
28235 * locale/programs/charmap-kw.h: Regenerated.
28236 * locale/programs/locfile-kw.h: Likewise.
28237
547b5e30
PE
28238 [BZ #13673]
28239 * intl/plural.y: Replace FSF snail mail address with URL.
28240 * intl/plural.c: Regenerated.
28241
5f0a5dae
RH
282422012-03-09 Richard Henderson <rth@twiddle.net>
28243
28244 * include/math_private.h: Remove file.
28245 * math/math_private.h: Move file ...
28246 * sysdeps/generic/math_private.h: ... here.
28247
b8c03620
RH
28248 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28249 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28250 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28251
4e234f5d 28252 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28253 and <math_private.h>.
28254 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28255 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28256 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28257 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28258 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28265 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28266 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28268 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28269 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28270 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28271 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28272 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28273 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28275 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28276 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28278 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28279 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28281 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28283 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28284 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28285 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28286 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28287 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28291 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28292 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28294 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28295 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28296 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28297 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28298 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28299 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28300 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28301 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28302 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28303 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28304 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28305 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28306 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28307 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28308 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28309 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28310 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28311 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28312 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28313 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28314 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28315 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28317 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28318 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28319 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28320 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28321 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28322 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28323 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28324 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28325 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28327 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28328 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28332 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28333 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28334 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28335 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28336 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28337 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28338 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28340 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28341 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28342 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28343 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28344 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28345 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28347 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28348 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28349 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28350 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28351 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28352 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28353 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28354 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28355 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28356 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28357 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28358 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28359 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28360 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28361 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28362 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28363 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28364 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28365 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28366 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28367 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28368 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28369 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28370 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28371 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28372 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28373 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28374 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28375 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28376 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28377 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28378 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28379 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28380 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28381 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28382 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28383 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28384 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28385 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28386 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28387 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28388 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28389 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28390 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28391 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28392 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28393 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28394 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28395 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28396 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28397 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28398 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28399 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28400 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28401 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28402 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28403 * sysdeps/ieee754/k_standard.c: Likewise.
28404 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28408 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28409 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28410 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28413 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28414 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28415 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28416 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28417 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28418 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28419 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28420 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28421 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28422 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28431 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28432 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28433 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28434 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28435 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28436 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28437 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28438 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28439 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28440 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28441 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28442 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28443 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28444 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28445 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28446 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28447 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28448 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28449 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28450 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28451 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28452 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28453 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28454 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28455 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28456 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28457 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28458 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28459 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28460 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28461 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28462 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28463 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28464 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28465 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28466 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28468 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28469 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28470 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28471 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28472 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28473 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28475 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28476 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28477 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28478 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28480 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28481 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28483 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28484 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28485 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28486 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28487 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28488 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28489 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28490 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28491 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28492 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28493 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28494 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28495 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28496 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28497 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28498 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28499 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28500 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28501 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28502 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28503 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28504 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28505 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28506 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28507 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28508 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28509 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28510 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28511 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28512 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28513 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28514 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28515 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28516 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28518 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28519 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28520 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28521 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28522 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28523 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28524 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28525 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28526 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28527 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28528 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28529 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28530 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28531 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28532 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28533 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28534 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28535 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28536 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28537 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28538 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28539 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28540 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28541 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28542 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28543 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28544 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28545 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28546 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28547 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28548 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28549 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28550 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28551 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28552 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28553 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28554 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28555 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28556 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28558 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28559 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28560 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28561 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28562 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28563 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28564 * sysdeps/ieee754/s_lib_version.c: Likewise.
28565 * sysdeps/ieee754/s_matherr.c: Likewise.
28566 * sysdeps/ieee754/s_signgam.c: Likewise.
28567 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28568 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28569 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28570 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28571 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28572 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28573 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28574 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28575 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28576 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28577 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28578 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28579 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28580 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28581 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28582 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28583 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28584 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28585 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28588
1991fa03
JM
285892012-03-09 Joseph Myers <joseph@codesourcery.com>
28590
28591 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28592 * sunrpc/rpc_main.c: Likewise.
28593 * sunrpc/rpc_svcout.c: Likewise.
28594
60d6f5a6
DM
285952012-03-09 David S. Miller <davem@davemloft.net>
28596
28597 * include/math_private.h: New file.
28598
4962050e
JM
285992012-03-09 Joseph Myers <joseph@codesourcery.com>
28600
02a6f887
JM
28601 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28602 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28603 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28604 from <bits/socket_type.h>.
28605 (enum __socket_type): Don't define here.
28606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28608 bits/socket_type.h.
28609
c6e013c1
JM
28610 [BZ #13566]
28611 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28612 checking __USE_GNU.
28613
4962050e
JM
28614 * Makerules ($(inst_includedir)/%.h): New rule.
28615 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28616 (install-others): Remove variable setting.
28617 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28618
38842f45
RH
286192012-03-08 Richard Henderson <rth@twiddle.net>
28620
67bb6da6
RH
28621 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28622 from macro to inline function; merge with the
28623 !__LIBC_INTERNAL_MATH_INLINES version.
28624 (__ieee754_sqrtf): Likewise.
28625
15194b4b
RH
28626 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28627 to inline function.
28628 (__rintf, __floor, __floorf): Likewise.
28629
64e21ede
RH
28630 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28631 macro to inline function.
28632 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28633
38842f45
RH
28634 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28635 not <math/math_private.h>.
28636
c64bf5fe
DM
286372012-03-08 David S. Miller <davem@davemloft.net>
28638
28639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28640 copyright year.
28641 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28642
82d86f28
TS
286432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28644
28645 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28646 normalization.
28647 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28648 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28649
aea5d727
UD
286502012-03-08 Ulrich Drepper <drepper@gmail.com>
28651
28652 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28653 be defined individually, they must be defined as a block. Define
28654 S for printing a string instead of hidint the different by using a
28655 macro for adding the 'l'.
28656 * stdio-common/tst-fphex-wide.c: Adjust.
28657
70bca0a3
MP
286582012-03-07 Marek Polacek <polacek@redhat.com>
28659
28660 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28661
65b81130
MP
286622012-03-08 Marek Polacek <polacek@redhat.com>
28663
28664 [BZ #13806]
28665 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28666 * stdio-common/tst-fphex.c: Define a few macros to make the
28667 test reusable. Use them.
28668 * stdio-common/tst-fphex-wide.c: New file.
28669
07037eeb
JM
286702012-03-08 Joseph Myers <joseph@codesourcery.com>
28671
a7a93d50
JM
28672 [BZ #6911]
28673 * manual/macros.texi (gnusystems): New macro.
28674 (nongnusystems): Likewise.
28675 (gnulinuxhurdsystems): Likewise.
28676 (gnuhurdsystems): Likewise..
28677 (gnulinuxsystems): Likewise.
28678 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28679 variants of the GNU system, not "GNU system".
28680 * manual/conf.texi: Likewise.
28681 * manual/errno.texi: Likewise. Update example of errno macro
28682 expansion.
28683 * manual/filesys.texi: Likewise.
28684 (getumask): Document as specific to GNU/Hurd.
28685 * manual/install.texi: Likewise. Reword some references to
28686 GNU/Linux.
28687 * manual/intro.texi: Likewise.
28688 * manual/io.texi: Likewise.
28689 (File Name Portability): Detail which constraints are inapplicable
28690 to all GNU systems and which are only inapplicable to GNU/Hurd.
28691 * manual/job.texi: Likewise.
28692 * manual/llio.texi: Likewise.
28693 (O_NOCTTY): Document as present on GNU/Linux.
28694 * manual/maint.texi: Likewise.
28695 * manual/memory.texi: Likewise.
28696 * manual/pattern.texi: Likewise.
28697 * manual/pipe.texi: Likewise.
28698 * manual/process.texi: Likewise.
28699 * manual/resource.texi: Likewise.
28700 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28701 child on GNU/Hurd.
28702 * manual/setjmp.texi: Likewise.
28703 * manual/signal.texi: Likewise.
28704 * manual/startup.texi: Likewise.
28705 * manual/stdio.texi: Likewise.
28706 * manual/terminal.texi: Likewise.
28707 (ONLCR): Document as POSIX.
28708 (OXTABS): Document availability on GNU/Linux as XTABS.
28709 (ONOEOT): Document availability separately from other bits.
28710 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28711 * manual/time.texi: Likewise.
28712 * manual/users.texi: Likewise.
28713 * INSTALL: Regenerated.
28714 * sysdeps/gnu/errlist.c: Regenerated.
28715
07037eeb
JM
28716 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28717 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28718 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28719 puts.
28720 * configure: Regenerated.
28721
d1d3431a
JM
287222012-03-07 Joseph Myers <joseph@codesourcery.com>
28723
af6a1e37
JM
28724 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28725 default includes instead of AC_HEADER_CHECK.
28726 * sysdeps/i386/configure: Regenerated.
28727
d1d3431a
JM
28728 [BZ #10716]
28729 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28730 * math/s_cacoshf.c (__cacoshf): Likewise.
28731 * math/s_cacoshl.c (__cacoshl): Likewise.
28732 * math/s_casinh.c (__casinh): Set signs of result from argument.
28733 * math/s_casinhf.c (__casinhf): Likewise.
28734 * math/s_casinhl.c (__casinhl): Likewise.
28735 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28736 (casinh_test): Add more tests.
28737 * sysdeps/i386/fpu/libm-test-ulps: Update.
28738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28739
482ff4da
UD
287402012-03-07 Ulrich Drepper <drepper@gmail.com>
28741
872fda05
UD
28742 * po/zh_TW.po: Update from translation team.
28743
a4300c7a
UD
28744 * login/Makefile (distribute): Remove variable.
28745 * catgets/Makefile: Likewise.
28746 * mach/Makefile: Likewise.
28747 * malloc/Makefile: Likewise.
28748 * misc/Makefile: Likewise.
28749 * iconv/Makefile: Likewise.
28750 * nscd/Makefile: Likewise.
28751 * hurd/Makefile: Likewise.
28752 * manual/Makefile: Likewise.
28753 * locale/Makefile: Likewise.
28754 * intl/Makefile: Likewise.
28755 * conform/Makefile: Likewise.
28756 * nss/Makefile: Likewise.
28757 * time/Makefile: Likewise.
28758 * soft-fp/Makefile: Likewise.
28759 * dirent/Makefile: Likewise.
28760 * gmon/Makefile: Likewise.
28761 * po/Makefile: Likewise.
28762 * rt/Makefile: Likewise.
28763 * socket/Makefile: Likewise.
28764 * math/Makefile: Likewise.
28765 * signal/Makefile: Likewise.
28766 * debug/Makefile: Likewise.
28767 * elf/Makefile: Likewise.
28768 * timezone/Makefile: Likewise.
28769 * stdlib/Makefile: Likewise.
28770 * iconvdata/Makefile: Likewise.
28771 * sunrpc/Makefile: Likewise.
28772 * io/Makefile: Likewise.
28773 * argp/Makefile: Likewise.
28774 * inet/Makefile: Likewise.
28775 * hesiod/Makefile: Likewise.
28776 * grp/Makefile: Likewise.
28777 * csu/Makefile: Likewise.
28778 * wctype/Makefile: Likewise.
28779 * crypt/Makefile: Likewise.
28780 * libio/Makefile: Likewise.
28781 * string/Makefile: Likewise.
28782 * nis/Makefile: Likewise.
28783 * resolv/Makefile: Likewise.
28784 * stdio-common/Makefile: Likewise.
28785 * wcsmbs/Makefile: Likewise.
28786 * dlfcn/Makefile: Likewise.
28787 * posix/Makefile: Likewise.
28788
3b7c4e74 28789 [BZ #6959]
482ff4da
UD
28790 * timezone/Makefile: Don't install timezone files, just the programs
28791 and scripts.
28792
f72ed77d
UD
287932012-03-06 Ulrich Drepper <drepper@gmail.com>
28794
a000466f
UD
28795 * nss/databases.def: Add missing gshadow entry.
28796
f72ed77d
UD
28797 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28798
a53b7a4e
MP
287992012-03-06 Marek Polacek <polacek@redhat.com>
28800
28801 [BZ #13726]
28802 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28803 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28804 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28805 * stdio-common/tst-long-dbl-fphex.c: New file.
28806
e9258400
DM
288072012-03-06 David S. Miller <davem@davemloft.net>
28808
28809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28810 (set_obp_int): New function.
28811 (get_obp_int): New function.
28812 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28813 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28814 Avoid unused variable warnings on 'val' and use builtin_expect.
28815 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28816 __builtin_expect.
e9258400
DM
28817 (INLINE_CLONE_SYSCALL): Likewise.
28818
3bd2c723
DM
288192012-03-05 David S. Miller <davem@davemloft.net>
28820
28821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28822
bbb78d03
AS
288232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28824
884c5db4
AS
28825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28826
bbb78d03
AS
28827 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28828 only for |x| >= 40.
28829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28830
1c9f702a 288312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28832
28833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28834 Replace gettimeofday with __vdso_gettimeofday.
28835
7be16f82
RM
28836 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28837 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28838 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28839
28840 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28841 time with __vdso_time.
28842
ed58a00f
JM
288432012-03-05 Joseph Myers <joseph@codesourcery.com>
28844
28845 * manual/lang.texi (size_t): Note types to which size_t may be
28846 equivalent with the GNU C Library, but do not describe when
28847 differences between them are significant.
28848
30ee4ced
AJ
288492012-03-05 Andreas Jaeger <aj@suse.de>
28850
28851 * sysdeps/i386/fpu/libm-test-ulps: Update.
28852
b7cd39e8
JM
288532012-03-05 Joseph Myers <joseph@codesourcery.com>
28854
28855 [BZ #3976]
28856 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28857 (__ieee754_pow): Save and restore rounding mode and use
28858 round-to-nearest for main computations.
28859 * math/libm-test.inc (pow_test_tonearest): New function.
28860 (pow_test_towardzero): Likewise.
28861 (pow_test_downward): Likewise.
28862 (pow_test_upward): Likewise.
28863 (main): Call the new functions.
28864 * sysdeps/i386/fpu/libm-test-ulps: Update.
28865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28866
28867 [BZ #3976]
28868 * math/libm-test.inc (cosh_test_tonearest): New function.
28869 (cosh_test_towardzero): Likewise.
28870 (cosh_test_downward): Likewise.
28871 (cosh_test_upward): Likewise.
28872 (sinh_test_tonearest): Likewise.
28873 (sinh_test_towardzero): Likewise.
28874 (sinh_test_downward): Likewise.
28875 (sinh_test_upward): Likewise.
28876 (main): Call the new functions.
28877 * sysdeps/i386/fpu/libm-test-ulps: Update.
28878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28879
6c6a98c9
TV
288802012-03-05 Tom de Vries <tom@codesourcery.com>
28881
28882 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28883 default stack guard is set in last bytes.
28884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28885
21bb2d2e 288862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28887
21bb2d2e 28888 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28889
21bb2d2e
AJ
28890 [BZ #13656]
28891 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28892 possibly allocate from heap instead of stack.
28893 * stdio-common/bug-vfprintf-nargs.c: New file.
28894 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28895
c6922934
AS
288962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28897
28898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28899
bc957d53
MP
289002012-03-03 Marek Polacek <polacek@redhat.com>
28901
28902 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28903 * math/math_private.h: Likewise.
28904 * stdlib/tst-strtod.c: Likewise.
28905 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28906 * sysdeps/x86_64/bits/atomic.h: Likewise.
28907
6358490d
DM
289082012-03-02 David S. Miller <davem@davemloft.net>
28909
28910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28914 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28915 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28916 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28917 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28918
01ae168d
RM
289192012-03-02 Roland McGrath <roland@hack.frob.com>
28920
d9a17c07
RM
28921 [BZ #13792]
28922 * manual/examples/README: New file, says the example source files
28923 can be used under GPL>=2.
28924 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28925 line containing just "*/".
28926 * manual/examples/add.c: Add copyright header (GPL>=2).
28927 * manual/examples/argp-ex1.c: Likewise.
28928 * manual/examples/argp-ex2.c: Likewise.
28929 * manual/examples/argp-ex3.c: Likewise.
28930 * manual/examples/argp-ex4.c: Likewise.
28931 * manual/examples/atexit.c: Likewise.
28932 * manual/examples/db.c: Likewise.
28933 * manual/examples/dir.c: Likewise.
28934 * manual/examples/dir2.c: Likewise.
28935 * manual/examples/execinfo.c: Likewise.
28936 * manual/examples/filecli.c: Likewise.
28937 * manual/examples/filesrv.c: Likewise.
28938 * manual/examples/fmtmsgexpl.c: Likewise.
28939 * manual/examples/genpass.c: Likewise.
28940 * manual/examples/inetcli.c: Likewise.
28941 * manual/examples/inetsrv.c: Likewise.
28942 * manual/examples/isockad.c: Likewise.
28943 * manual/examples/longopt.c: Likewise.
28944 * manual/examples/memopen.c: Likewise.
28945 * manual/examples/memstrm.c: Likewise.
28946 * manual/examples/mkfsock.c: Likewise.
28947 * manual/examples/mkisock.c: Likewise.
28948 * manual/examples/mygetpass.c: Likewise.
28949 * manual/examples/pipe.c: Likewise.
28950 * manual/examples/popen.c: Likewise.
28951 * manual/examples/rprintf.c: Likewise.
28952 * manual/examples/search.c: Likewise.
28953 * manual/examples/select.c: Likewise.
28954 * manual/examples/setjmp.c: Likewise.
28955 * manual/examples/sigh1.c: Likewise.
28956 * manual/examples/sigusr.c: Likewise.
28957 * manual/examples/stpcpy.c: Likewise.
28958 * manual/examples/strdupa.c: Likewise.
28959 * manual/examples/strftim.c: Likewise.
28960 * manual/examples/strncat.c: Likewise.
28961 * manual/examples/subopt.c: Likewise.
28962 * manual/examples/swapcontext.c: Likewise.
28963 * manual/examples/termios.c: Likewise.
28964 * manual/examples/testopt.c: Likewise.
28965 * manual/examples/testpass.c: Likewise.
28966 * manual/examples/timeval_subtract.c: Likewise.
28967
01ae168d
RM
28968 [BZ #13792]
28969 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28970 function to ...
28971 * manual/timeval_subtract.c.texi: ... here, new file.
28972
49efa33d
DM
289732012-03-02 David S. Miller <davem@davemloft.net>
28974
28975 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28976
28afd92d
JM
289772012-03-02 Joseph Myers <joseph@codesourcery.com>
28978
804360ed
JM
28979 [BZ #3976]
28980 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28981 (__sin): Save and restore rounding mode and use round-to-nearest
28982 for all computations.
28983 (__cos): Save and restore rounding mode and use round-to-nearest
28984 for all computations.
28985 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28986 <fenv.h>.
28987 (tan): Save and restore rounding mode and use round-to-nearest for
28988 all computations.
28989 * math/libm-test.inc (cos_test_tonearest): New function.
28990 (cos_test_towardzero): Likewise.
28991 (cos_test_downward): Likewise.
28992 (cos_test_upward): Likewise.
28993 (sin_test_tonearest): Likewise.
28994 (sin_test_towardzero): Likewise.
28995 (sin_test_downward): Likewise.
28996 (sin_test_upward): Likewise.
28997 (tan_test_tonearest): Likewise.
28998 (tan_test_towardzero): Likewise.
28999 (tan_test_downward): Likewise.
29000 (tan_test_upward): Likewise.
29001 (main): Call the new functions.
29002 * sysdeps/i386/fpu/libm-test-ulps: Update.
29003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29004
a6d06d7b
JM
29005 [BZ #10135]
29006 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29007 small n, then large n, before computing and testing k+n.
29008 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29009 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29010 Likewise.
29011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29012 Likewise.
29013 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29014 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29015 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29016 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29017 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29018 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29019 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29020 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29021 * math/libm-test.inc (scalbn_test): Add more tests.
29022 (scalbln_test): Likewise.
29023
07e12bb3
JM
29024 * manual/filesys.texi (mode_t): Describe constraints on size and
29025 signedness, not exact equivalence to a particular type.
29026 (ino_t): Likewise.
29027 (ino64_t): Likewise.
29028 (dev_t): Likewise.
29029 (nlink_t): Likewise.
29030 (blkcnt_t): Likewise.
29031 (blkcnt64_t): Likewise.
29032 * manual/llio.texi (off_t): Likewise.
29033
28afd92d
JM
29034 [BZ #3976]
29035 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29036 (__ieee754_exp): Save and restore rounding mode and use
29037 round-to-nearest for all computations.
29038 * math/libm-test.inc (exp_test_tonearest): New function.
29039 (exp_test_towardzero): Likewise.
29040 (exp_test_downward): Likewise.
29041 (exp_test_upward): Likewise.
29042 (main): Call the new functions.
29043 * sysdeps/i386/fpu/libm-test-ulps: Update.
29044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29045
b1eeb65d
CD
290462012-03-01 Chris Demetriou <cgd@google.com>
29047
29048 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29049 have predictable order.
29050
53362a4b
DM
290512012-03-01 David S. Miller <davem@davemloft.net>
29052
3c969083
DM
29053 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29054
759707de
DM
29055 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29056 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29057 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29058 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29059
dfdb8ff2
DM
29060 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29061 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29062 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29064 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29065 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29066 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29067 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29068 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29069
ead89f96
DM
29070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29071
7f66bd07
DM
29072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29073 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29074 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29075
53362a4b
DM
29076 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29077 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29078 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29079 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29080 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29081 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29083 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29084 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29085 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29086 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29087 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29092 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29093 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29094 * sysdeps/sparc/elf/configure: Regenerated.
29095
7b1902cb
JM
290962012-03-01 Joseph Myers <joseph@codesourcery.com>
29097
bec039bc
JM
29098 * configure.in (AS, LD): Require binutils 2.20 or later.
29099 * configure: Regenerated.
29100 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29101 as required minimum version.
29102 * INSTALL: Regenerated.
29103
7b1902cb
JM
29104 [BZ #2541]
29105 [BZ #4108]
29106 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29107 before squaring exponent.
29108 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29109 bottom long double and 27 bits of top long double before squaring
29110 exponent.
29111 * math/libm-test.inc (erfc_test): Add more tests.
29112 * sysdeps/i386/fpu/libm-test-ulps: Update.
29113 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29115
f775c276
KT
291162012-03-01 Kai Tietz <ktietz@redhat.com>
29117
29118 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29119 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29120 containing bit-fields.
29121 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29122 * soft-fp/single.h (_FP_UNION_S): Likewise.
29123 * soft-fp/double.h (_FP_UNION_D): Likewise.
29124
5b8a4d4a
JM
291252012-02-29 Joseph Myers <joseph@codesourcery.com>
29126
0bab47b6
JM
29127 [BZ #13786]
29128 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29129 not include ../strcmp.S.
29130 [USE_AS_STRNCASECMP_L]: Likewise.
29131 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29132 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29133 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29134 (__strncasecmp_l_ia32): Define as alias to
29135 __strncasecmp_l_nonascii.
29136
0fcad3e2
JM
29137 [BZ #5794]
29138 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29139 * sysdeps/i386/fpu/libm-test-ulps: Update.
29140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29141
5b8a4d4a
JM
29142 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29144
8fdceb2e
JL
291452012-02-29 Jeff Law <law@redhat.com>
29146
29147 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29148 out of bounds read.
29149
1f393a11
MP
291502012-02-29 Marek Polacek <polacek@redhat.com>
29151
29152 [BZ #13706]
29153 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29154 * elf/Makefile: Add rules to run tst-unused-dep.out.
29155
8847f037
DM
291562012-02-28 David S. Miller <davem@davemloft.net>
29157
29158 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29159 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29161 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29162 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29163 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29164
169d7f11
JM
291652012-02-29 Joseph Myers <joseph@codesourcery.com>
29166
29167 * math/libm-test.inc (llround_test): Move one test from
29168 lround_test. Use TEST_f_L in moved test.
29169 (lround_test): Move misplaced test to llround_test. Add testcase
29170 from bug 2561.
29171
39adf059
UD
291722012-02-28 Ulrich Drepper <drepper@gmail.com>
29173
29174 * sysdeps/x86_64/fpu/e_expf.S: New file.
29175 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29176
71b5d1c5
SB
291772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29178
29179 [BZ #13637]
29180 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29181 of remain_len that may cause incomplete multi-byte character and
29182 false match.
29183 * posix/bug-regex33.c: New file.
29184 * posix/Makefile (tests): Add bug-regex33.
29185
1f77f049
JM
291862012-02-28 Joseph Myers <joseph@codesourcery.com>
29187
29188 * manual/macros.texi: New file.
29189 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29190 * manual/libc.texinfo: Include macros.texi.
29191 * manual/creatute.texi: Likewise.
29192 * manual/install.texi: Likewise.
29193 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29194 @glibcadj{} in references to the GNU C Library.
29195 * manual/charset.texi: Likewise.
29196 * manual/conf.texi: Likewise.
29197 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29198 when not using those macros.
29199 * manual/creature.texi: Likewise.
29200 * manual/crypt.texi: Likewise.
29201 * manual/errno.texi: Likewise.
29202 * manual/filesys.texi: Likewise.
29203 * manual/header.texi: Likewise.
29204 * manual/install.texi: Likewise.
29205 * manual/intro.texi: Likewise.
29206 * manual/io.texi: Likewise.
29207 * manual/job.texi: Likewise.
29208 * manual/lang.texi: Likewise.
29209 * manual/libc.texiinfo: Likewise.
29210 * manual/llio.texi: Likewise.
29211 * manual/locale.texi: Likewise.
29212 * manual/maint.texi: Likewise.
29213 * manual/math.texi: Likewise.
29214 * manual/memory.texi: Likewise.
29215 * manual/message.texi: Likewise.
29216 * manual/nss.texi: Likewise.
29217 * manual/pattern.texi: Likewise.
29218 * manual/process.texi: Likewise.
29219 * manual/resource.texi: Likewise.
29220 * manual/search.texi: Likewise.
29221 * manual/setjmp.texi: Likewise.
29222 * manual/signal.texi: Likewise.
29223 * manual/socket.texi: Likewise.
29224 * manual/startup.texi: Likewise.
29225 * manual/stdio.texi: Likewise.
29226 * manual/string.texi: Likewise.
29227 * manual/sysinfo.texi: Likewise.
29228 * manual/syslog.texi: Likewise.
29229 * manual/terminal.texi: Likewise.
29230 * manual/time.texi: Likewise.
29231 * manual/users.texi: Likewise.
29232 * INSTALL: Regenerated.
29233 * NOTES: Regenerated.
d40c5d54 29234 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29235
450bf206
AS
292362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29237
29238 * include/dirent.h: Include <dirstream.h> before
29239 <dirent/dirent.h>.
29240
741a235b
DM
292412012-02-28 David S. Miller <davem@davemloft.net>
29242
29243 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29244 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29245 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29246 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29247
d6b5aa58
DM
292482012-02-27 David S. Miller <davem@davemloft.net>
29249
1aff59a3
DM
29250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29252 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29253 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29254
d6b5aa58
DM
29255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29256 frame pointer instead of stack pointer relative arg slot.
29257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29258 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29259 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29260
433f48bf
CD
292612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29262
29263 [BZ #3992]
29264 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29265
d674b76d
DM
292662012-02-27 David S. Miller <davem@davemloft.net>
29267
29268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29272 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29273 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29274 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29275 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29276
0e7727f7
JM
292772012-02-27 Joseph Myers <joseph@codesourcery.com>
29278
29279 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29280 later. Allow versions 5-9.
43be4ca2 29281 * configure: Regenerated.
0e7727f7
JM
29282 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29283 required minimum version and 4.6 as recommended version. Do not
29284 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29285 * INSTALL: Regenerated.
0e7727f7 29286
a78bc654
DM
292872012-02-27 David S. Miller <davem@davemloft.net>
29288
428d5830
DM
29289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29293 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29294 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29295 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29296 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29297
a78bc654
DM
29298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29299 manipulate bits before adding and subtracting TWO112[sx].
29300 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29301
4579f81c
RM
293022012-02-27 Roland McGrath <roland@hack.frob.com>
29303
36c8acb4
RM
29304 [BZ #13775]
29305 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29306 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29307 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29308 being in POSIX, because they are in 1003.1-2008.
29309
84ad622b
RM
29310 * rt/tst-aio.c: Include <fcntl.h>.
29311 * rt/tst-aio7.c: Likewise.
29312 * rt/tst-aio64.c: Likewise.
29313
4579f81c
RM
29314 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29315
abd923db
JM
293162012-02-27 Joseph Myers <joseph@codesourcery.com>
29317
29318 * manual/install.texi (--with-headers): Describe headers as
29319 interface headers, not private headers.
29320 (Specific advice for GNU/Linux systems): Describe use of headers
29321 from "make headers_install", not private headers from older
29322 kernels.
43be4ca2 29323 * INSTALL: Regenerated.
abd923db
JM
29324 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29325 Change to 2.6.19.
29326 * sysdeps/unix/sysv/linux/configure: Regenerated.
29327
6664049b
JM
29328 * manual/llio.texi (fclean): Remove documentation.
29329
bb8b6697
JM
29330 * manual/Makefile (libc-texi-generated): New variable. Include
29331 version.texi.
29332 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29333 $(libc-texi-generated), not duplicated list of files.
29334 (version.texi, stamp-version): New rules.
29335 (realclean): Remove $(libc-texi-generated), not individual files
29336 from that list. Do not remove dir-add.texinfo.
29337 * manual/libc.texinfo: Comment out uses of edition numbers and
29338 references to printed manual. Remove last-updated dates.
29339 (EDITION): Comment out.
29340 (ISBN): Likewise.
29341 (VERSION, UPDATED): Remove.
29342 (version.texi): Include.
29343
12e5c3b9
AS
293442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29345
29346 * sysdeps/posix/spawni.c: Include <signal.h>.
29347 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29348 * sysdeps/pthread/aio_fsync.c: Likewise.
29349
4efeffc1 293502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29351
ba63ba08
UD
29352 * conform/Makefile (tests): Run only when not cross-compiling and
29353 when fast-check is not defined.
29354
d94a4670
UD
29355 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29356 * conform/data/limits.h-data: Fixes for POSIX2008.
29357 * conform/run-conformtest.sh: Run all tests.
29358 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29359 headers.
29360 * include/bits/dlfcn.h: Likewise.
29361 * include/langinfo.h: Likewise.
29362 * include/monetary.h: Likewise.
29363 * include/sys/poll.h: Likewise.
29364
29365 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29366 for __USE_GNU.
29367 * posix/spawn.h: Define __need_sigset_t.
29368 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29369 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29370 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29371 to get sigevent_t only.
29372 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29373 only for __USE_GNU.
29374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29375 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29376 process_vm_writev only for __USE_GNU.
29377 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29378
29379 * conform/Makefile: For now ignore errors from run-conformtest.
29380 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29381 POSIX to avoid namespace pollution. Don't prepend headers.
29382 * conform/data/aio.h-data: Fixes for POSIX testing.
29383 * conform/data/fcntl.h-data: Likewise.
29384 * conform/data/glob.h-data: Likewise.
29385 * conform/data/grp.h-data: Likewise.
29386 * conform/data/pthread.h-data: Likewise.
29387 * conform/data/pwd.h-data: Likewise.
29388 * conform/data/signal.h-data: Likewise.
29389 * conform/data/spawn.h-data: Likewise.
29390 * conform/data/stdio.h-data: Likewise.
29391 * conform/data/stdlib.h-data: Likewise.
29392 * conform/data/stropts.h-data: Likewise.
29393 * conform/data/sys/mman.h-data: Likewise.
29394 * conform/data/sys/stat.h-data: Likewise.
29395 * conform/data/sys/types.h-data: Likewise.
29396 * conform/data/sys/wait.h-data: Likewise.
29397 * conform/data/time.h-data: Likewise.
29398 * conform/data/unistd.h-data: Likewise.
29399 * conform/data/utime.h-data: Likewise.
29400
29401 * io/sys/stat.h: fchmod was always in POSIX.
29402 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29403 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29404 * rt/aio.h: Define __need_timespec before including <time.h>.
29405 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29406 struct. Add forward declaration of pthread_attr_t and use it in
29407 sigevent.
29408 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29409 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29410 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29411 always remove CLK_TCK definition.
29412
c20105c3
AS
294132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29414
29415 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29416
7a270350
UD
294172012-02-25 Ulrich Drepper <drepper@gmail.com>
29418
31341567
UD
29419 * conform/run-conformtest.sh: New file.
29420 * conform/Makefile: Run run-conformtest for tests.
29421 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29422 support.
29423
29424 * conform/data/uchar.h-data: New file.
29425 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29426 * conform/data/arpa/inet.h-data: Likewise.
29427 * conform/data/assert.h-data: Likewise.
29428 * conform/data/complex.h-data: Likewise.
29429 * conform/data/cpio.h-data: Likewise.
29430 * conform/data/ctype.h-data: Likewise.
29431 * conform/data/dirent.h-data: Likewise.
29432 * conform/data/dlfcn.h-data: Likewise.
29433 * conform/data/errno.h-data: Likewise.
29434 * conform/data/fcntl.h-data: Likewise.
29435 * conform/data/float.h-data: Likewise.
29436 * conform/data/fmtmsg.h-data: Likewise.
29437 * conform/data/fnmatch.h-data: Likewise.
29438 * conform/data/ftw.h-data: Likewise.
29439 * conform/data/glob.h-data: Likewise.
29440 * conform/data/grp.h-data: Likewise.
29441 * conform/data/iconv.h-data: Likewise.
29442 * conform/data/inttypes.h-data: Likewise.
29443 * conform/data/langinfo.h-data: Likewise.
29444 * conform/data/libgen.h-data: Likewise.
29445 * conform/data/limits.h-data: Likewise.
29446 * conform/data/locale.h-data: Likewise.
29447 * conform/data/math.h-data: Likewise.
29448 * conform/data/monetary.h-data: Likewise.
29449 * conform/data/mqueue.h-data: Likewise.
29450 * conform/data/ndbm.h-data: Likewise.
29451 * conform/data/net/if.h-data: Likewise.
29452 * conform/data/netdb.h-data: Likewise.
29453 * conform/data/netinet/in.h-data: Likewise.
29454 * conform/data/nl_types.h-data: Likewise.
29455 * conform/data/poll.h-data: Likewise.
29456 * conform/data/pthread.h-data: Likewise.
29457 * conform/data/pwd.h-data: Likewise.
29458 * conform/data/regex.h-data: Likewise.
29459 * conform/data/sched.h-data: Likewise.
29460 * conform/data/search.h-data: Likewise.
29461 * conform/data/semaphore.h-data: Likewise.
29462 * conform/data/setjmp.h-data: Likewise.
29463 * conform/data/signal.h-data: Likewise.
29464 * conform/data/spawn.h-data: Likewise.
29465 * conform/data/stdarg.h-data: Likewise.
29466 * conform/data/stdio.h-data: Likewise.
29467 * conform/data/stdlib.h-data: Likewise.
29468 * conform/data/string.h-data: Likewise.
29469 * conform/data/strings.h-data: Likewise.
29470 * conform/data/stropts.h-data: Likewise.
29471 * conform/data/sys/ipc.h-data: Likewise.
29472 * conform/data/sys/mman.h-data: Likewise.
29473 * conform/data/sys/msg.h-data: Likewise.
29474 * conform/data/sys/resource.h-data: Likewise.
29475 * conform/data/sys/select.h-data: Likewise.
29476 * conform/data/sys/sem.h-data: Likewise.
29477 * conform/data/sys/shm.h-data: Likewise.
29478 * conform/data/sys/socket.h-data: Likewise.
29479 * conform/data/sys/stat.h-data: Likewise.
29480 * conform/data/sys/statvfs.h-data: Likewise.
29481 * conform/data/sys/time.h-data: Likewise.
29482 * conform/data/sys/timeb.h-data: Likewise.
29483 * conform/data/sys/times.h-data: Likewise.
29484 * conform/data/sys/types.h-data: Likewise.
29485 * conform/data/sys/uio.h-data: Likewise.
29486 * conform/data/sys/un.h-data: Likewise.
29487 * conform/data/sys/utsname.h-data: Likewise.
29488 * conform/data/sys/wait.h-data: Likewise.
29489 * conform/data/syslog.h-data: Likewise.
29490 * conform/data/tar.h-data: Likewise.
29491 * conform/data/termios.h-data: Likewise.
29492 * conform/data/utime.h-data: Likewise.
29493 * conform/data/utmpx.h-data: Likewise.
29494 * conform/data/varargs.h-data: Likewise.
29495 * conform/data/wchar.h-data: Likewise.
29496 * conform/data/wctype.h-data: Likewise.
29497 * conform/data/wordexp.h-data: Likewise.
29498
29499 * include/stropts.h: New file.
29500 * include/uchar.h: New file.
29501 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29502 * include/assert.h: Likewise.
29503 * include/ctype.h: Likewise.
29504 * include/dirent.h: Likewise.
29505 * include/dlfcn.h: Likewise.
29506 * include/fcntl.h: Likewise.
29507 * include/fnmatch.h: Likewise.
29508 * include/glob.h: Likewise.
29509 * include/grp.h: Likewise.
29510 * include/libio.h: Likewise.
29511 * include/locale.h: Likewise.
29512 * include/math.h: Likewise.
29513 * include/net/if.h: Likewise.
29514 * include/netdb.h: Likewise.
29515 * include/netinet/in.h: Likewise.
29516 * include/pthread.h: Likewise.
29517 * include/pwd.h: Likewise.
29518 * include/regex.h: Likewise.
29519 * include/sched.h: Likewise.
29520 * include/search.h: Likewise.
29521 * include/setjmp.h: Likewise.
29522 * include/signal.h: Likewise.
29523 * include/stdio.h: Likewise.
29524 * include/stdlib.h: Likewise.
29525 * include/string.h: Likewise.
29526 * include/sys/cdefs.h: Likewise.
29527 * include/sys/mman.h: Likewise.
29528 * include/sys/msg.h: Likewise.
29529 * include/sys/resource.h: Likewise.
29530 * include/sys/select.h: Likewise.
29531 * include/sys/socket.h: Likewise.
29532 * include/sys/stat.h: Likewise.
29533 * include/sys/statvfs.h: Likewise.
29534 * include/sys/time.h: Likewise.
29535 * include/sys/times.h: Likewise.
29536 * include/sys/uio.h: Likewise.
29537 * include/sys/utsname.h: Likewise.
29538 * include/sys/wait.h: Likewise.
29539 * include/termios.h: Likewise.
29540 * include/time.h: Likewise.
29541 * include/ulimit.h: Likewise.
29542 * include/unistd.h: Likewise.
29543 * include/utime.h: Likewise.
29544 * include/wchar.h: Likewise.
29545 * include/wctype.h: Likewise.
29546 * include/wordexp.h: Likewise.
29547
29548 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29549
7a270350
UD
29550 * time/time.h: TIME_UTC must be a macro.
29551 Make timespec_get available for ISO C11 only as well.
29552
7724defc
UD
295532012-02-24 Ulrich Drepper <drepper@gmail.com>
29554
29555 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29556 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29557
6b1d1d46
JM
295582012-02-24 Joseph Myers <joseph@codesourcery.com>
29559
29560 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29561
0f8bbd69
JM
295622012-02-24 Joseph Myers <joseph@codesourcery.com>
29563
29564 * manual/texinfo.tex: Update to version 2012-01-19.16.
29565
66ab80bc
JM
295662012-02-24 Joseph Myers <joseph@codesourcery.com>
29567
29568 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29569
74981cc5
RM
295702012-02-24 Roland McGrath <roland@hack.frob.com>
29571
ee968201
RM
29572 [BZ #13738]
29573 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29574 * manual/fdl-1.3.texi: New file.
29575 * manual/fdl-1.1.texi: File removed.
29576
74981cc5
RM
29577 [BZ #13738]
29578 * manual/libc.texinfo (FDL_VERSION): New @set.
29579 Use it for mention of FDL in cover text.
29580 (Documentation License): Use it in @include file name.
29581
7bb764bc
JM
295822012-02-22 Joseph Myers <joseph@codesourcery.com>
29583 Roland McGrath <roland@hack.frob.com>
29584
29585 [BZ #5461]
29586 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29587 not LONG_LONG_MAX and LONG_LONG_MIN.
29588 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29589 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29590 name.
29591 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29592
6cbeae47
JM
295932012-02-22 Joseph Myers <joseph@codesourcery.com>
29594
29595 [BZ #2547]
29596 [BZ #11365]
29597 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29598 manipulate bits before adding and subtracting TWO23[sx].
29599 * math/libm-test.inc (nearbyint_test): Add more tests.
29600
fe45ce09
JM
296012012-02-22 Joseph Myers <joseph@codesourcery.com>
29602
29603 [BZ #2548]
29604 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29605 bits before adding and subtracting TWO23[sx].
29606 * math/libm-test.inc (rint_test): Add more tests.
29607 (rint_test_tonearest): Likewise.
29608 (rint_test_towardzero): Likewise.
29609 (rint_test_downward): Likewise.
29610 (rint_test_upward: Likewise.
29611
ff3b3d82
JM
296122012-02-22 Joseph Myers <joseph@codesourcery.com>
29613
29614 [BZ #10110]
29615 * include/stdc-predef.h: New file. Extracted from features.h.
29616 * include/features.h: Include stdc-predef.h.
29617 * Makefile (headers): Add stdc-predef.h.
29618 * CONFORMANCE (Compiler limitations): Update.
29619
ef0aab35
JM
296202012-02-22 Joseph Myers <joseph@codesourcery.com>
29621
29622 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29623
58639409
DM
296242012-02-21 David S. Miller <davem@davemloft.net>
29625
29626 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29627 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29628
c0e70b25
DM
296292012-02-20 David S. Miller <davem@davemloft.net>
29630
29631 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29632 using a normal save/restore sequence, rather than allocating a
29633 dummy stack frame just to store a frame pointer and restore.
29634 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29635
fb06851d
JM
296362012-02-21 Joseph Myers <joseph@codesourcery.com>
29637
29638 * manual/install.texi: Fix stray word in line-wrapped comment.
29639
7a8b71c3
DM
296402012-02-20 David S. Miller <davem@davemloft.net>
29641
d510c123
DM
29642 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29643 both binutils and gcc support GOTDATA.
29644
0722d7c2
DM
29645 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29646 "rd %pc" in the PIC register setup sequences.
29647
3d2b3019
DM
29648 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29649 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29650 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29651 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29652 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29654 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29657 (SYSCALL_ERROR_HANDLER): Likewise.
29658 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29659 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29661 (SYSCALL_ERROR_HANDLER): Likewise.
29662
c80098a9
DM
29663 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29664 (HAVE_GCC_GOTDATA): New.
29665 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29666 relocation support in both binutils and gcc.
29667 * sysdeps/sparc/elf/configure: Regenerate.
29668
3a2545a0
DM
29669 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29670 * sysdeps/sparc/sparc32/elf/configure: Delete.
29671 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29672 * sysdeps/sparc/sparc64/elf/configure: Delete.
29673 * sysdeps/sparc/elf/configure.in: New file.
29674 * sysdeps/sparc/elf/configure: Generate.
29675
7a8b71c3
DM
29676 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29677 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29678 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29679 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29680 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29681
f1e86fca
JM
296822012-02-21 Joseph Myers <joseph@codesourcery.com>
29683
29684 * manual/install.texi: Do not mention specific glibc version
29685 numbers.
29686 * manual/libc.texinfo (VERSION, UPDATED): Update.
29687 (@copying): Use @copyright{} and range of years.
29688
0e7dfaef
JM
296892012-02-21 Joseph Myers <joseph@codesourcery.com>
29690
29691 [BZ #13695]
29692 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29693 [crti.S not in sysdirs] (generated): Do not append.
29694 [crti.S not in sysdirs] (omit-deps): Likewise.
29695 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29696 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29697 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29698 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29699 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29700 Likewise.
29701 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29702 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29703 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29704 * csu/defs.awk: Remove file.
29705 * sysdeps/generic/initfini.c: Likewise.
29706 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29707 variable.
29708 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29709 Likewise.
29710
599af3ca
JM
297112012-02-20 Joseph Myers <joseph@codesourcery.com>
29712
29713 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29714 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29715 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29716 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29718 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29719 <bits/epoll.h>.
29720 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29721 (__EPOLL_PACKED): Define to empty if not defined by
29722 <bits/epoll.h>.
29723 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29725 bits/epoll.h.
29726
0e499750
JM
297272012-02-20 Joseph Myers <joseph@codesourcery.com>
29728
29729 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29730 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29731 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29732 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29733 <bits/timerfd.h>.
29734 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29736 bits/timerfd.h.
29737
5ad91f6e
JM
297382012-02-20 Joseph Myers <joseph@codesourcery.com>
29739
29740 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29741 in C locale.
29742 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29743 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29746
06b99b02
AJ
297472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29748
29749 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29750 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29751
7638c0fd
AS
297522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29753
29754 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29755 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29756 defined.
29757 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29758 Likewise.
29759 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29760 entry for 2.16.
29761
92221550
AJ
297622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29763
29764 * math/w_acos.c: Use non-signaling floating-point comparisons.
29765 * math/w_acosf.c: Likewise.
29766 * math/w_acosh.c: Likewise.
29767 * math/w_acoshf.c: Likewise.
29768 * math/w_acoshl.c: Likewise.
29769 * math/w_acosl.c: Likewise.
29770 * math/w_asin.c: Likewise.
29771 * math/w_asinf.c: Likewise.
29772 * math/w_asinl.c: Likewise.
29773 * math/w_atanh.c: Likewise.
29774 * math/w_atanhf.c: Likewise.
29775 * math/w_atanhl.c: Likewise.
29776 * math/w_exp2.c: Likewise.
29777 * math/w_exp2f.c: Likewise.
29778 * math/w_exp2l.c: Likewise.
29779 * math/w_j0.c: Likewise.
29780 * math/w_j0f.c: Likewise.
29781 * math/w_j0l.c: Likewise.
29782 * math/w_j1.c: Likewise.
29783 * math/w_j1f.c: Likewise.
29784 * math/w_j1l.c: Likewise.
29785 * math/w_jn.c: Likewise.
29786 * math/w_jnf.c: Likewise.
29787 * math/w_log.c: Likewise.
29788 * math/w_log10.c: Likewise.
29789 * math/w_log10f.c: Likewise.
29790 * math/w_log10l.c: Likewise.
29791 * math/w_log2.c: Likewise.
29792 * math/w_log2f.c: Likewise.
29793 * math/w_log2l.c: Likewise.
29794 * math/w_logf.c: Likewise.
29795 * math/w_logl.c: Likewise.
29796 * math/w_sqrt.c: Likewise.
29797 * math/w_sqrtf.c: Likewise.
29798 * math/w_sqrtl.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29802 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29803 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29804
ebaf36eb
JM
298052012-02-19 Joseph Myers <joseph@codesourcery.com>
29806
29807 [BZ #9739]
29808 * manual/string.texi (strnlen): Use correct parameter name in
29809 equivalent expression.
29810
71c254a6
JM
298112012-02-19 Joseph Myers <joseph@codesourcery.com>
29812
29813 [BZ #11174]
29814 * manual/users.texi (seteuid): Consistently use neweuid for
29815 argument name.
29816
16d2c631
JM
298172012-02-19 Joseph Myers <joseph@codesourcery.com>
29818
29819 [BZ #13704]
29820 * manual/nss.texi (Services in the NSS configuration): Correct
29821 list of services in example configuration file.
29822
cd837b09
NB
298232012-02-19 Nick Bowler <nbowler@draconx.ca>
29824
29825 [BZ #11322]
29826 * manual/arith.texi: Remove statements about negative zero
29827 behaving identically to zero.
29828
02c4bbad
JM
298292012-02-18 Joseph Myers <joseph@codesourcery.com>
29830
29831 [BZ #5993]
29832 * manual/install.texi: Do not document upgrading from libc5.
29833
366842e7
JM
298342012-02-18 Joseph Myers <joseph@codesourcery.com>
29835
29836 [BZ #4596]
29837 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29838
dd54084d
DM
298392012-02-18 David S. Miller <davem@davemloft.net>
29840
29841 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29842 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29843 %o7 across the call.
29844 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29845 instead.
29846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29847 SETUP_PIC_REG_LEAF.
29848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29849 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29850 * sysdeps/sparc/crtn.S: Likewise.
29851
2bcc53a3
UD
298522012-02-17 Ulrich Drepper <drepper@gmail.com>
29853
29854 * aout/Makefile: Remove.
29855
09c093b5
RK
298562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29857
29858 [BZ #13058]
29859 * manual/examples/argp-ex1.c (main): Format definition in GNU
29860 style.
29861 * manual/examples/argp-ex2.c (main): Likewise.
29862 * manual/examples/argp-ex3.c (main): Likewise.
29863 * manual/examples/argp-ex4.c (main): Likewise.
29864 * manual/examples/longopt.c (main): Use new-style prototype
29865 definition.
29866 * manual/examples/strncat.c (main): Specify return type and use
29867 (void) for arguments.
29868 * manual/examples/subopt.c (main): Use char **argv argument.
29869
2ee633a2
JM
298702012-02-17 Joseph Myers <joseph@codesourcery.com>
29871
29872 [BZ #5077]
29873 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29874 rounding modes.
29875
0520adde
FB
298762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29877
29878 [BZ #6907]
29879 * manual/string.texi (strchr): Change when strchrnul is
29880 recommended.
29881
3f4081cd
DGM
298822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29883
29884 [BZ #174]
29885 * manual/locale.texi (setlocale): Document LOCPATH.
29886
d1b10e78
JM
298872012-02-17 Joseph Myers <joseph@codesourcery.com>
29888
29889 [BZ #10210]
29890 * manual/process.texi (execle): Move @dots{} before last argument.
29891
79c6869c
PB
298922012-02-17 Paul Bolle <pebolle@tiscali.nl>
29893
29894 [BZ #12047]
29895 * manual/charset.texi (Generic Charset Conversion): Fix typo
29896 (LC_TYPE -> LC_CTYPE).
29897
cc6e48bc
NB
298982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29899
29900 [BZ #5805]
29901 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29902 (scalbnf): Likewise.
29903 (scalbnl): Likewise.
29904 (scalbln): Likewise.
29905 (scalblnf): Likewise.
29906 (scalblnl): Likewise.
29907 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29908 (vwarnx): Likewise.
29909 (verr): Likewise.
29910 (verrx): Likewise.
29911 * manual/filesys.texi (telldir): Use braces around return type.
29912 * manual/llio.texi (mmap): Add space after comma.
29913 (mmap64): Likewise.
29914 * manual/math.texi (jn): Use @var{} on parameter names.
29915 (jnf): Likewise.
29916 (jnl): Likewise.
29917 (yn): Likewise.
29918 (ynf): Likewise.
29919 (ynl): Likewise.
29920 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29921 line.
29922 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29923 "...".
29924 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29925 (sched_get_priority_max): Likewise.
29926 * manual/signal.texi (sigvec): Add space after comma.
29927 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29928 names.
29929 (if_indextoname): Likewise.
29930 (if_freenameindex): Likewise.
29931 (sendto): Use ',' instead of '.' in prototype.
29932 * manual/startup.texi (syscall): Use @dots{} instead of literal
29933 "...".
29934 * manual/stdio.texi (__fpending): Separate initial words of
29935 paragraph from @deftypefun line.
29936 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29937 "...".
29938 (vsyslog): Use @var{} on parameter names.
29939 * manual/terminal.texi (stty): Use @var{} on parameter names.
29940 * manual/users.texi (getutmp): Use @var{} on parameter names.
29941 (getutmpx): Likewise.
29942
5b23062f
JM
299432012-02-17 Joseph Myers <joseph@codesourcery.com>
29944
29945 [BZ #6884]
29946 * manual/stdio.texi (fopen): Fix typos in description of
29947 ",ccs=STRING".
29948
8dee4833
AJ
299492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29950
29951 [BZ #4026]
29952 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29953 get clock_id definition.
29954
9078ce93
TS
299552012-02-17 Thomas Schwinge <thomas@schwinge.name>
29956
29957 [BZ #4822]
29958 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29959 (madvise): Cast every argument to void on its own.
29960
3835c55f
JM
299612012-02-17 Joseph Myers <joseph@codesourcery.com>
29962
29963 [BZ #9902]
29964 * manual/startup.texi (Exit Status): Fix typo.
29965
35c47e37
JM
299662012-02-17 Joseph Myers <joseph@codesourcery.com>
29967
29968 [BZ #10140]
29969 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29970 * manual/examples/argp-ex2.c: Likewise.
29971 * manual/examples/argp-ex3.c: Likewise.
29972
e3b69ca7
RH
299732012-02-16 Richard Henderson <rth@redhat.com>
29974
29975 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29976 * sysdeps/s390/s390-32/initfini.c: Remove.
29977 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29978 * sysdeps/s390/s390-64/initfini.c: Remove.
29979
df83af67
KK
299802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29981
29982 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29983 compiler output for sysdeps/generic/initfini.c.
29984 * sysdeps/sh/elf/initfini.c: Remove file.
29985
f63f3380
DM
299862012-02-16 David S. Miller <davem@davemloft.net>
29987
fb59b3a4
DM
29988 [BZ #11494]
29989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29990
f63f3380
DM
29991 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29992 * sysdeps/sparc/crti.S: New file.
29993 * sysdeps/sparc/crtn.S: New file.
29994 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29995 * sysdeps/sparc/sparc64/Makefile: Likewise.
29996
df6a4a4a
MF
299972012-02-15 Mike Frysinger <vapier@gentoo.org>
29998
6dd8f3dc 29999 [BZ #3335]
df6a4a4a
MF
30000 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30001
1cac7236
RM
300022012-02-15 Roland McGrath <roland@hack.frob.com>
30003
d2c736f8
RM
30004 [BZ #4822]
30005 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30006
1cac7236
RM
30007 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30008 (write, read, close): Likewise.
30009 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30010
8e475601
JM
300112012-02-15 Joseph Myers <joseph@codesourcery.com>
30012
30013 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30014 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30015 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30016 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30017 <bits/signalfd.h>.
30018 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30020 bits/signalfd.h.
30021
ed656b40
MP
300222012-02-14 Marek Polacek <polacek@redhat.com>
30023
30024 * sysdeps/x86_64/crti.S: New file.
30025 * sysdeps/x86_64/crtn.S: New file.
30026 * sysdeps/x86_64/elf/initfini.c: Remove file.
30027
2a979d3a
JM
300282012-02-13 Joseph Myers <joseph@codesourcery.com>
30029
30030 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30031 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30032 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30033 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30034 <bits/inotify.h>.
30035 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30037 bits/inotify.h.
30038
2a418ac3
JM
300392012-02-13 Joseph Myers <joseph@codesourcery.com>
30040
30041 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30042 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30043 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30044 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30045 <bits/eventfd.h>.
30046 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30047 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30048 bits/eventfd.h.
30049
fb779be7
TS
300502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30051
e19e83c5
RM
30052 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30053 __feraiseexcept instead of feraiseexcept.
7c35ffed 30054
fb779be7
TS
30055 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30056 nanosleep invocations.
30057 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30058 strings, and add error checking for a nanosleep invocations.
30059
59ba27a6
PE
300602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30061
30062 Replace FSF snail mail address with URLs, as per GNU coding standards.
30063 Most of the snail mail addresses were wrong anyway, and omitting
30064 them makes the source code easier to maintain. Almost all of the
30065 changes are to license notices and to locale LC_IDENTIFICATION
30066 addresses, except for this one:
30067 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30068 not its snail mail address.
30069
57b957eb
RH
300702012-02-09 Richard Henderson <rth@twiddle.net>
30071
af850b1c
RH
30072 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30073 of kernel-features.h.
30074
57b957eb
RH
30075 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30076
6b73181a
MP
300772012-02-08 Marek Polacek <polacek@redhat.com>
30078
30079 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30080 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30081 * sysdeps/gnu/_G_config.h: Likewise.
30082 * sysdeps/generic/_G_config.h: Likewise.
30083
26ecc33a
AS
300842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30085
6c6dbc63
AS
30086 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30087 tests.
30088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30089
e216c012
AS
30090 * sysdeps/powerpc/powerpc32/crti.S: New file.
30091 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30092 * sysdeps/powerpc/powerpc64/crti.S: New file.
30093 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30094
26ecc33a
AS
30095 * Makeconfig (have-initfini): Don't set.
30096 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30097 * configure.in (nopic_initfini): Don't substitute.
30098 * config.h.in (HAVE_INITFINI): Don't #undef.
30099 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30100 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30101
3add8e13
JM
301022012-02-08 Joseph Myers <joseph@codesourcery.com>
30103
30104 Support crti.S and crtn.S provided directly by architectures.
30105 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30106 [crti.S in sysdirs] (omit-deps): Likewise.
30107 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30108 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30109 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30110 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30111 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30112 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30113 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30114 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30115 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30116 compiler output for sysdeps/generic/initfini.c.
30117 * sysdeps/i386/elf/Makefile: Remove file.
30118 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30119
a22f12b4
MP
301202012-02-07 Marek Polacek <polacek@redhat.com>
30121
30122 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30123 * sysdeps/gnu/_G_config.h: Likewise.
30124 * sysdeps/mach/hurd/_G_config.h: Likewise.
30125
148cf100
MP
301262012-02-07 Marek Polacek <polacek@redhat.com>
30127
30128 * math/Makefile (tests): Add tst-CMPLX2.
30129 * math/tst-CMPLX2.c: New file.
30130
cfdc0dd7
AS
301312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30132
84ba42c4
AS
30133 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30134
cfdc0dd7
AS
30135 * math/libm-test.inc (jn_test): Add missing L suffix.
30136
622c86f4
MP
301372012-02-06 Marek Polacek <polacek@redhat.com>
30138
30139 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30140 * sysdeps/i386/fpu/e_powf.S: Likewise.
30141 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30142 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30143 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30144 * sysdeps/i386/fpu/e_pow.S: Likewise.
30145 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30146 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30147 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30148 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30149 * sysdeps/i386/fpu/e_log2.S: Likewise.
30150 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30151 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30152 * sysdeps/i386/fpu/e_powl.S: Likewise.
30153 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30154 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30155 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30156 * sysdeps/i386/fpu/e_logl.S: Likewise.
30157 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30158 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30159 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30160 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30162 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30163 * sysdeps/i386/fpu/e_log.S: Likewise.
30164 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30165 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30166 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30167 * sysdeps/i386/fpu/e_logf.S: Likewise.
30168 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30169 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30170 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30171 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30172 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30173 * sysdeps/i386/fpu/e_log10.S: Likewise.
30174 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30175 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30176 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30177 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30178 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30179 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30180 * sysdeps/i386/asm-syntax.h: Likewise.
30181 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30183 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30184 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30185 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30186 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30187 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30188 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30189 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30190 * sysdeps/powerpc/sysdep.h: Likewise.
30191 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30192 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30193
d4a54ac6
JM
301942012-02-06 Joseph Myers <joseph@codesourcery.com>
30195
30196 [BZ #411]
30197 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30198
314054ea
JM
301992012-02-06 Joseph Myers <joseph@codesourcery.com>
30200
30201 * sysdeps/i386/sysdep.h: Include <features.h>.
30202 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30203 version.
30204
d8e0ca50
JM
302052012-02-05 Joseph Myers <joseph@codesourcery.com>
30206
30207 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30208 Define.
30209 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30210 LOAD_PIC_REG_STR.
30211
b1da7dd9
JM
302122012-02-03 Joseph Myers <joseph@codesourcery.com>
30213
30214 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30215 (SETUP_PIC_REG): Use GET_PC_THUNK.
30216 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30217 macro.
30218
9a1d9254
JM
302192012-02-03 Joseph Myers <joseph@codesourcery.com>
30220
30221 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30222 for non-PIC compilation.
30223 (SETUP_PIC_REG): Add .p2align directive.
30224 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30225 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30226 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30227 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30228 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30229 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30230 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30232 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30233 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30234 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30235 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30236 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30237 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30238 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30239 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30240 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30241 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30242 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30243 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30244 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30245 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30246 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30247 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30248 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30250 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30251 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30252 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30253 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30254 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30255 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30256 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30257 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30258 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30259 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30260 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30261 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30262 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30263 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30264 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30265
65dc3b75
JM
302662012-02-03 Joseph Myers <joseph@codesourcery.com>
30267
30268 * math/tst-CMPLX.c: Include <stdio.h>.
30269
d55bf177
JM
302702012-01-31 Joseph Myers <joseph@codesourcery.com>
30271
30272 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30273 float.
30274 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30275 * sysdeps/sparc/bits/mathdef.h: Likewise.
30276
69db4f8f
MP
302772012-01-31 Marek Polacek <polacek@redhat.com>
30278
30279 * libio/libio.h: Don't define _PARAMS.
30280 * locale/programs/config.h: Don't define PARAMS.
30281 * stdlib/strtol_l.c: Likewise.
30282 (__strtol_l): Remove PARAMS from the prototype.
30283
41b81892
UD
302842012-01-31 Ulrich Drepper <drepper@gmail.com>
30285
3b49edc0
UD
30286 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30287 names. Just use the correct names. Remove unnecessary wrapper
30288 functions.
30289 * malloc/arena.c: Likewise.
30290 * malloc/hooks.c: Likewise.
30291
41b81892
UD
30292 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30293 ARENA_TEST says not to. Simplify test for creation of a new arena.
30294 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30295
27a25b6e
UD
302962012-01-30 Ulrich Drepper <drepper@gmail.com>
30297
30298 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30299 into tail calls.
30300 (update_get_addr): New function.
30301 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30302 GET_ADDR_MODULE parameter.
30303
c8a89e7d
JM
303042012-01-30 Joseph Myers <joseph@codesourcery.com>
30305
30306 * crypt/cert.c: Remove __STDC__ conditionals.
30307 * crypt/crypt-entry.c: Likewise.
30308 * crypt/crypt_util.c: Likewise.
30309 * libio/filedoalloc.c: Likewise.
30310 * libio/fileops.c: Likewise.
30311 * libio/genops.c: Likewise.
30312 * libio/iofclose.c: Likewise.
30313 * libio/iofdopen.c: Likewise.
30314 * libio/iofopen.c: Likewise.
30315 * libio/iofopen64.c: Likewise.
30316 * libio/iogetdelim.c: Likewise.
30317 * libio/iopopen.c: Likewise.
30318 * libio/obprintf.c: Likewise.
30319 * libio/oldfileops.c: Likewise.
30320 * libio/oldiofclose.c: Likewise.
30321 * libio/oldiofdopen.c: Likewise.
30322 * libio/oldiofopen.c: Likewise.
30323 * libio/oldiopopen.c: Likewise.
30324 * libio/wfiledoalloc.c: Likewise.
30325 * libio/wgenops.c: Likewise.
30326 * locale/programs/xmalloc.c: Likewise.
30327 * misc/syslog.c: Likewise.
30328 * stdio-common/xbug.c: Likewise.
30329 * string/memchr.c: Likewise.
30330 * string/memcmp.c: Likewise.
30331 * string/memrchr.c: Likewise.
30332 * string/rawmemchr.c: Likewise.
30333 * sysdeps/posix/getcwd.c: Likewise.
30334 * time/strftime_l.c: Likewise.
30335
3b100462
JM
303362012-01-30 Joseph Myers <joseph@codesourcery.com>
30337
30338 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30339 * config.make.in (config-cflags-sse2avx): Define.
30340 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30341 Fix typo.
30342
607998af
CM
303432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30344
30345 * scripts/config.guess: Update from upstream config git repository.
30346 * scripts/config.sub: Likewise.
30347
3601428f
CM
303482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30349
3ac8b282
CM
30350 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30351 (EM_NUM): Update.
30352 (R_TILEPRO_*, R_TILEGX_*): New macros.
30353
e034841e
CM
30354 * scripts/firstversions.awk: Fix bug in version range handling.
30355
540d7568
CM
30356 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30357
3601428f
CM
30358 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30359
463de862
CM
30360 * include/sys/epoll.h: New file.
30361 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30362 libc_hidden_def.
30363
73139a76
UD
303642012-01-28 Ulrich Drepper <drepper@gmail.com>
30365
96bc5b45
UD
30366 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30367 Avoid unnecessary __WORDSIZE == 64 test.
30368 (fmaxf): Use VEX format if possible.
30369 (fmax): Likewise.
30370 (fminf): Likewise.
30371 (fmin): Likewise.
30372
56f6f6a2
UD
30373 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30374 * math/math_private.h: Remove libc_fegetround* and
30375 libc_fesetround*.
30376 * sysdeps/i386/configure.in: Check for -msse2avx.
30377 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30378 also if SSE2AVX is defined.
30379 Remove libc_fegetround* and libc_fesetround*.
30380 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30381 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30383 of HAS_YMM_USABLE.
30384 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30385 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30386 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30387 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30388 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30389
73139a76
UD
30390 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30391
d73f93a4
AZ
303922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30393
30394 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30395 size is not set.
30396 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30397
6ee65ed6
UD
303982012-01-27 Ulrich Drepper <drepper@gmail.com>
30399
30400 [BZ #13618]
30401 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30402 relocation.
30403 * Makeconfig (libm): Define.
30404 * elf/Makefile: Add rules to build and run tst-relsort1.
30405 * elf/tst-relsort1.c: New file.
30406 * elf/tst-relsort1mod1.c: New file.
30407 * elf/tst-relsort1mod2.c: New file.
30408
8db21882
JM
304092012-01-27 Joseph Myers <joseph@codesourcery.com>
30410
30411 * math/s_ldexp.c: Remove __STDC__ conditionals.
30412 * math/s_ldexpf.c: Likewise.
30413 * math/s_ldexpl.c: Likewise.
30414 * math/s_nextafter.c: Likewise.
30415 * math/s_nexttowardf.c: Likewise.
30416 * math/s_significand.c: Likewise.
30417 * math/s_significandf.c: Likewise.
30418 * math/s_significandl.c: Likewise.
30419 * math/w_jnl.c: Likewise.
30420 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30421 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30422 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30423 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30424 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30426 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30427 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30428 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30429 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30430 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30431 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30432 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30433 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30434 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30435 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30436 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30437 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30439 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30440 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30441 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30442 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30443 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30444 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30445 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30446 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30448 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30449 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30450 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30451 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30452 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30453 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30454 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30455 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30456 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30457 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30458 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30459 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30460 * sysdeps/ieee754/k_standard.c: Likewise.
30461 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30462 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30463 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30464 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30465 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30466 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30467 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30468 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30469 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30470 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30471 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30472 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30473 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30474 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30475 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30477 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30478 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30479 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30480 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30481 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30482 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30483 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30484 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30485 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30486 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30487 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30488 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30490 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30491 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30492 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30493 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30494 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30496 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30497 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30498 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30499 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30500 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30501 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30503 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30504 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30505 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30506 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30507 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30508 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30509 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30510 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30511 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30512 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30513 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30514 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30515 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30516 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30517 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30518 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30519 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30520 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30521 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30522 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30523 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30524 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30525 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30526 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30527 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30528 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30529 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30530 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30531 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30532 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30533 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30534 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30535 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30536 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30537 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30538 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30539 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30540 * sysdeps/ieee754/s_matherr.c: Likewise.
30541 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30542 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30543 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30545
965a54a4
JM
305462012-01-26 Joseph Myers <joseph@codesourcery.com>
30547
30548 * crypt/md5.h: Remove __STDC__ conditionals.
30549 * libio/libioP.h: Likewise.
30550 * locale/programs/config.h: Likewise.
30551 * sysdeps/generic/sysdep.h: Likewise.
30552 * sysdeps/i386/asm-syntax.h: Likewise.
30553 * sysdeps/s390/asm-syntax.h: Likewise.
30554 * sysdeps/unix/sysdep.h: Likewise.
30555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30557
7071ad79
JM
305582012-01-26 Joseph Myers <joseph@codesourcery.com>
30559
30560 * libio/libio.h: Remove __STDC__ conditionals.
30561 * malloc/obstack.h: Likewise.
30562 * math/complex.h: Likewise.
30563 * math/math.h: Likewise.
30564 * sysdeps/generic/_G_config.h: Likewise.
30565 * sysdeps/gnu/_G_config.h: Likewise.
30566 * sysdeps/mach/hurd/_G_config.h: Likewise.
30567 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30568 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30569 * sysdeps/sparc/bits/mathdef.h: Likewise.
30570
afc5ed09
UD
305712012-01-26 Ulrich Drepper <drepper@gmail.com>
30572
30573 [BZ #13583]
30574 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30575 Clean up HAS_* macros.
afc5ed09 30576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30577 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30578 possible.
30579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30580 HAS_AVX.
30581 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30582 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30584 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30585 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30586
bdb6de1d
JM
305872012-01-25 Joseph Myers <joseph@codesourcery.com>
30588
30589 * elf/tst-unique3.cc (gets): Remove declaration.
30590 * elf/tst-unique3lib.cc (gets): Likewise.
30591 * elf/tst-unique3lib2.cc (gets): Likewise.
30592 * elf/tst-unique4.cc (gets): Likewise.
30593
b15549e6
UD
305942012-01-24 Ulrich Drepper <drepper@gmail.com>
30595
30596 * include/stdio.h: Add C++ protection. Add gets declarations and
30597 definitions.
30598 * debug/tst-chk1.c: Don't declare gets here.
30599 * stdio-common/tst-gets.c: Likewise.
30600
a037381f
JM
306012012-01-24 Joseph Myers <joseph@codesourcery.com>
30602
30603 * posix/glob: Remove directory.
30604
f1d4aa75
JM
306052012-01-24 Joseph Myers <joseph@codesourcery.com>
30606
30607 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30608
81c0c964
PT
306092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30610
30611 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30612 of the non-standard EPFNOSUPPORT.
30613
0ea698ae
ST
306142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30615
30616 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30617 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30618 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30619
d220b117
UD
306202012-01-21 Ulrich Drepper <drepper@gmail.com>
30621
30622 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30623
3e1aa84e
UD
306242012-01-20 Ulrich Drepper <drepper@gmail.com>
30625
30626 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30627 transient errors.
30628 * nscd/grpcache.c (cache_addgr): Likewise.
30629 * nscd/hstcache.c (cache_addhst): Likewise.
30630 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30631 * nscd/pwdcache.c (cache_addpw): Likewise.
30632 * nscd/servicescache.c (cache_addserv): Likewise.
30633
400aa020
UD
306342012-01-16 Ulrich Drepper <drepper@gmail.com>
30635
d77e7869
UD
30636 * malloc/malloc.c: Various cleanups.
30637 * malloc/hooks.c: Likewise.
30638
400aa020
UD
30639 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30640 * stdlib/bug-fmtmsg1.c: New file.
30641
30642 * stdlib/fmtmsg.c (init): Add missing unlock.
30643 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30644
e0a309cf
MP
306452012-01-12 Marek Polacek <polacek@redhat.com>
30646
30647 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30648 and _GNU_SOURCE.
30649
929d11c7
WS
306502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30651
30652 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30653 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30654 macro to ensure uniqueness of label name.
30655 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30656 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30657
41d0e869
UD
306582012-01-11 Ulrich Drepper <drepper@gmail.com>
30659
0cc5ed3b
UD
30660 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30661
41d0e869
UD
30662 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30663 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30664 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30666
a47a831a
UD
306672012-01-10 Ulrich Drepper <drepper@gmail.com>
30668
daa891c0
UD
30669 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30670
30671 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30672 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30673 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30674
e58ef0f2
UD
30675 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30676
a47a831a 30677 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30678 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30679 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30681
30682 * math/bits/math-finite.h: Add ldexp support.
30683
a0bfc9c7
MP
306842012-01-10 Marek Polacek <polacek@redhat.com>
30685
30686 * locale/programs/localedef.h (show_archive_content): Add noreturn
30687 attribute.
30688
d6e97a1d
UD
306892012-01-09 Ulrich Drepper <drepper@gmail.com>
30690
30691 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30692
d5835c26
UD
306932012-01-08 Ulrich Drepper <drepper@gmail.com>
30694
e5f484c6
UD
30695 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30696
d5835c26
UD
30697 * io/Makefile (headers): Add bits/poll2.h.
30698
d1f741e9
WS
306992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30700
30701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30702 typo #include statement.
30703
ec09c1c4
UD
307042012-01-08 Ulrich Drepper <drepper@gmail.com>
30705
30706 * include/sys/cdefs.h: Define __attribute_alloc_size.
30707 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30708 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30709 * elf/pldd.c: Likewise.
30710 * iconv/iconv_charmap.c: Likewise.
30711 * iconv/iconvconfig.c: Likewise.
30712 * iconv/strtab.c: Likewise.
30713 * locale/programs/locale.c: Likewise.
30714 * locale/programs/localedef.h: Likewise.
30715 * locale/programs/simple-hash.c: Likewise.
30716 * nscd/nscd.h: Likewise.
30717 * nss/makedb.c: Likewise.
30718 * sysdeps/generic/ldconfig.h: Likewise.
30719 * locale/programs/localedef.c: Remove xmalloc prototype.
30720 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30721
20b38e03
PP
307222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30723
30724 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30725 appropriate.
30726
a0da5fe1
UD
307272012-01-08 Ulrich Drepper <drepper@gmail.com>
30728
1d5a644a 30729 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30730 * math/tst-CMPLX.c: New file.
1d5a644a 30731
8784a6db
UD
30732 * math/complex.h (CMPLXL): Fix typo.
30733
d9a216c0
UD
30734 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30735 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30736 GLIBC_2.16.
30737 * debug/tst-chk1.c: Add poll and ppoll tests.
30738 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30739 * include/sys/poll.h: Add hidden proto for ppoll.
30740 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30741 * sysdeps/mach/hurd/ppoll.c: Likewise.
30742 * io/ppoll.c: Likewise.
30743 * debug/poll_chk.c: New file.
30744 * debug/ppoll_chk.c: New file.
30745 * include/bits/poll2.h: New file.
30746 * io/bits/poll2.h: New file.
30747
ac097f5c
UD
30748 [BZ #1350]
30749 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30750
2119dcfa
UD
30751 * configure.in: static is always set to yes. Remove.
30752 * config.make.in: Don't set build-static.
30753 * Makeconfig: Remove use of build-static.
30754 * dlfcn/Makefile: Likewise.
30755 * elf/Makefile: Likewise.
30756 * math/Makefile: Likewise.
30757 * misc/Makefile: Likewise.
30758 * nptl/Makefile: Likewise.
30759 * sysdeps/mach/hurd/Makefile: Likewise.
30760
121766a9
UD
30761 * configure.in: PWD_P is not used anymore.
30762 * config.make.in: Remove PWD_P entry.
30763
51a1d39c 30764 * configure.in: Remove last remnants of RANLIB.
8720d066 30765 No need to check for signed size_t anymore.
215f4bdc
UD
30766 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30767 and IA-64.
3857022a 30768 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30769 * aclocal.m4: Likewise.
30770
d3ed7225
UD
30771 * wcsmbs/mbrtoc16.c: Implement using towc function.
30772 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30773 * wcsmbs/wcsmbsload.c: Likewise.
30774 * iconv/gconv_simple.c: Likewise.
30775 * iconv/gconv_int.h: Likewise.
30776 * iconv/gconv_builtin.h: Likewise.
30777 * iconv/iconv_prog.c: Remove CHAR16 handling.
30778
30779 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30780
30781 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30782
a0da5fe1
UD
30783 * configure.in: Remove --with-elf and --enable-bounded options.
30784 Dont set base_machine for ia64. More non-ELF conditions removed.
30785 Remove testing and setting of leading underscore information.
30786 * config.make.in (build-bounded): Set to no.
30787 * config.h.in: Remove NO_UNDERSCORES entry.
30788 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30789 them.
30790 * csu/start.c: Remove !NO_UNDERSCORE code.
30791 * locale/localeinfo.h: Likewise.
30792 * sysdeps/generic/machine-gmon.h: Likewise.
30793 * sysdeps/generic/sysdep.h: Likewise.
30794 * sysdeps/i386/sysdep.h: Likewise.
30795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30796 * sysdeps/mach/sysdep.h: Likewise.
30797 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30799 * sysdeps/sh/sysdep.h: Likewise.
30800 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30801 * sysdeps/unix/i386/sysdep.S: Likewise.
30802 * sysdeps/unix/sparc/start.c: Likewise.
30803 * sysdeps/unix/sparc/sysdep.S: Likewise.
30804 * sysdeps/unix/sparc/sysdep.h: Likewise.
30805 * sysdeps/unix/start.c: Likewise.
30806 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30807 * sysdeps/x86_64/sysdep.h: Likewise.
30808
df78418a
UD
308092012-01-07 Ulrich Drepper <drepper@gmail.com>
30810
a784e502
UD
30811 [BZ #13553]
30812 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30813 for non-gcc.
30814 * argp/argp-fmtstream.h: Use const instead __const.
30815 * argp/argp.h: Likewise.
30816 * assert/assert.h: Likewise.
30817 * bits/fenv.h: Likewise.
30818 * bits/sched.h: Likewise.
30819 * bits/sigset.h: Likewise.
30820 * bits/sigthread.h: Likewise.
30821 * catgets/nl_types.h: Likewise.
30822 * conform/data/pthread.h-data: Likewise.
30823 * crypt/crypt-private.h: Likewise.
30824 * crypt/crypt.h: Likewise.
30825 * crypt/crypt_util.c: Likewise.
30826 * ctype/ctype.h: Likewise.
30827 * debug/execinfo.h: Likewise.
30828 * debug/mbsnrtowcs_chk.c: Likewise.
30829 * debug/mbsrtowcs_chk.c: Likewise.
30830 * debug/wcsnrtombs_chk.c: Likewise.
30831 * debug/wcsrtombs_chk.c: Likewise.
30832 * debug/wcstombs_chk.c: Likewise.
30833 * dirent/dirent.h: Likewise.
30834 * dlfcn/dlfcn.h: Likewise.
30835 * elf/neededtest4.c: Likewise.
30836 * grp/grp.h: Likewise.
30837 * gshadow/gshadow.h: Likewise.
30838 * iconv/gconv.h: Likewise.
30839 * iconv/gconv_int.h: Likewise.
30840 * iconv/gconv_simple.c: Likewise.
30841 * iconv/iconv.h: Likewise.
30842 * iconv/loop.c: Likewise.
30843 * iconv/skeleton.c: Likewise.
30844 * include/aio.h: Likewise.
30845 * include/aliases.h: Likewise.
30846 * include/argz.h: Likewise.
30847 * include/arpa/inet.h: Likewise.
30848 * include/assert.h: Likewise.
30849 * include/dirent.h: Likewise.
30850 * include/dlfcn.h: Likewise.
30851 * include/execinfo.h: Likewise.
30852 * include/fcntl.h: Likewise.
30853 * include/fenv.h: Likewise.
30854 * include/glob.h: Likewise.
30855 * include/grp.h: Likewise.
30856 * include/libintl.h: Likewise.
30857 * include/mntent.h: Likewise.
30858 * include/netdb.h: Likewise.
30859 * include/pwd.h: Likewise.
30860 * include/rpc/netdb.h: Likewise.
30861 * include/sched.h: Likewise.
30862 * include/search.h: Likewise.
30863 * include/shadow.h: Likewise.
30864 * include/signal.h: Likewise.
30865 * include/stdio.h: Likewise.
30866 * include/stdlib.h: Likewise.
30867 * include/string.h: Likewise.
30868 * include/sys/socket.h: Likewise.
30869 * include/sys/stat.h: Likewise.
30870 * include/sys/statfs.h: Likewise.
30871 * include/sys/statvfs.h: Likewise.
30872 * include/sys/syslog.h: Likewise.
30873 * include/sys/time.h: Likewise.
30874 * include/sys/uio.h: Likewise.
30875 * include/time.h: Likewise.
30876 * include/unistd.h: Likewise.
30877 * include/utmp.h: Likewise.
30878 * include/wchar.h: Likewise.
30879 * include/wctype.h: Likewise.
30880 * inet/aliases.h: Likewise.
30881 * inet/arpa/inet.h: Likewise.
30882 * inet/netinet/ether.h: Likewise.
30883 * inet/netinet/in.h: Likewise.
30884 * intl/libintl.h: Likewise.
30885 * io/bits/fcntl2.h: Likewise.
30886 * io/fcntl.h: Likewise.
30887 * io/ftw.h: Likewise.
30888 * io/sys/poll.h: Likewise.
30889 * io/sys/stat.h: Likewise.
30890 * io/sys/statfs.h: Likewise.
30891 * io/sys/statvfs.h: Likewise.
30892 * io/utime.h: Likewise.
30893 * libio/bits/stdio.h: Likewise.
30894 * libio/bits/stdio2.h: Likewise.
30895 * libio/libio.h: Likewise.
30896 * libio/libioP.h: Likewise.
30897 * libio/stdio.h: Likewise.
30898 * locale/lc-ctype.c: Likewise.
30899 * locale/locale.h: Likewise.
30900 * login/utmp.h: Likewise.
30901 * malloc/arena.c: Likewise.
30902 * malloc/malloc.c: Likewise.
30903 * malloc/malloc.h: Likewise.
30904 * malloc/mcheck.c: Likewise.
30905 * malloc/mtrace.c: Likewise.
30906 * math/bits/mathcalls.h: Likewise.
30907 * math/fenv.h: Likewise.
30908 * math/math_private.h: Likewise.
30909 * misc/bits/error.h: Likewise.
30910 * misc/bits/syslog.h: Likewise.
30911 * misc/err.h: Likewise.
30912 * misc/error.h: Likewise.
30913 * misc/fstab.h: Likewise.
30914 * misc/mntent.h: Likewise.
30915 * misc/regexp.h: Likewise.
30916 * misc/search.h: Likewise.
30917 * misc/sgtty.h: Likewise.
30918 * misc/sys/mman.h: Likewise.
30919 * misc/sys/syslog.h: Likewise.
30920 * misc/sys/uio.h: Likewise.
30921 * misc/sys/xattr.h: Likewise.
30922 * misc/ttyent.h: Likewise.
30923 * nis/rpcsvc/ypclnt.h: Likewise.
30924 * nss/nss.h: Likewise.
30925 * posix/bits/unistd.h: Likewise.
30926 * posix/fnmatch.h: Likewise.
30927 * posix/glob.h: Likewise.
30928 * posix/sched.h: Likewise.
30929 * posix/spawn.h: Likewise.
30930 * posix/sys/wait.h: Likewise.
30931 * posix/unistd.h: Likewise.
30932 * posix/wordexp.h: Likewise.
30933 * pwd/pwd.h: Likewise.
30934 * resolv/netdb.h: Likewise.
30935 * resource/sys/resource.h: Likewise.
30936 * rt/aio.h: Likewise.
30937 * rt/bits/mqueue2.h: Likewise.
30938 * rt/mqueue.h: Likewise.
30939 * shadow/shadow.h: Likewise.
30940 * signal/signal.h: Likewise.
30941 * socket/send.c: Likewise.
30942 * socket/sendto.c: Likewise.
30943 * socket/sys/socket.h: Likewise.
30944 * stdio-common/printf.h: Likewise.
30945 * stdlib/bits/stdlib.h: Likewise.
30946 * stdlib/fmtmsg.h: Likewise.
30947 * stdlib/monetary.h: Likewise.
30948 * stdlib/stdlib.h: Likewise.
30949 * stdlib/ucontext.h: Likewise.
30950 * streams/stropts.h: Likewise.
30951 * string/argz.h: Likewise.
30952 * string/bits/string2.h: Likewise.
30953 * string/string.h: Likewise.
30954 * string/strings.h: Likewise.
30955 * sunrpc/rpc/auth.h: Likewise.
30956 * sunrpc/rpc/auth_des.h: Likewise.
30957 * sunrpc/rpc/clnt.h: Likewise.
30958 * sunrpc/rpc/netdb.h: Likewise.
30959 * sunrpc/rpc/pmap_clnt.h: Likewise.
30960 * sunrpc/rpc/xdr.h: Likewise.
30961 * sysdeps/generic/inttypes.h: Likewise.
30962 * sysdeps/generic/net/if.h: Likewise.
30963 * sysdeps/generic/sys/swap.h: Likewise.
30964 * sysdeps/gnu/net/if.h: Likewise.
30965 * sysdeps/gnu/utmpx.h: Likewise.
30966 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30967 * sysdeps/i386/i486/bits/string.h: Likewise.
30968 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30969 * sysdeps/s390/bits/string.h: Likewise.
30970 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30971 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30972 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30973 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30974 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30975 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30976 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30977 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30978 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30979 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30980 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30981 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30982 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30983 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30984 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30985 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30986 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30988 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30989 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30990 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30991 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30992 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30993 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30994 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30995 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30996 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30998 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30999 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31000 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31001 * sysvipc/sys/ipc.h: Likewise.
31002 * sysvipc/sys/msg.h: Likewise.
31003 * sysvipc/sys/sem.h: Likewise.
31004 * sysvipc/sys/shm.h: Likewise.
31005 * termios/termios.h: Likewise.
31006 * time/sys/time.h: Likewise.
31007 * time/time.h: Likewise.
31008 * wcsmbs/bits/wchar2.h: Likewise.
31009 * wcsmbs/uchar.h: Likewise.
31010 * wcsmbs/wchar.h: Likewise.
31011 * wctype/wctype.h: Likewise.
31012
0269750c
UD
31013 [BZ #13551]
31014 * Makeconfig: Remove all but ELF support including AIX support.
31015 * Makerules: Likewise.
31016 * config.h.in: Likewise.
31017 * config.make.in: Likewise.
31018 * configure: Likewise.
31019 * configure.in: Likewise.
31020 * csu/Makefile: Likewise.
31021 * csu/version.c: Likewise.
31022 * debug/Makefile: Likewise.
31023 * dlfcn/Makefile: Likewise.
31024 * elf/Makefile: Likewise.
31025 * extra-lib.mk: Likewise.
31026 * iconv/Makefile: Likewise.
31027 * include/libc-symbols.h: Likewise.
31028 * include/shlib-compat.h: Likewise.
31029 * resolv/Makefile: Likewise.
31030 * resolv/res_libc.c: Likewise.
31031 * rt/Makefile: Likewise.
31032 * sysdeps/i386/asm-syntax.h: Likewise.
31033 * sysdeps/i386/sysdep.h: Likewise.
31034 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31035 * sysdeps/mach/sysdep.h: Likewise.
31036 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31037 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31038 * sysdeps/s390/asm-syntax.h: Likewise.
31039 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31040 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31041 * sysdeps/sh/sysdep.h: Likewise.
31042 * sysdeps/unix/sparc/sysdep.h: Likewise.
31043 * sysdeps/wordsize-32/divdi3.c: Likewise.
31044 * sysdeps/x86_64/sysdep.h: Likewise.
31045
00bbd29b
UD
31046 * argp/Versions: Remove _argp_unlock_xxx.
31047
31048 [BZ #13559]
31049 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31050 * abilist/libBrokenLocale.abilist: Likewise.
31051 * abilist/libanl.abilist: Likewise.
31052 * abilist/libc.abilist: Likewise.
31053 * abilist/libcrypt.abilist: Likewise.
31054 * abilist/libdl.abilist: Likewise.
31055 * abilist/libm.abilist: Likewise.
31056 * abilist/libnsl.abilist: Likewise.
31057 * abilist/libpthread.abilist: Likewise.
31058 * abilist/libresolv.abilist: Likewise.
31059 * abilist/librt.abilist: Likewise.
31060 * abilist/libthread_db.abilist: Likewise.
31061 * abilist/libutil.abilist: Likewise.
31062 * abilist/libnss_db.abilist: New file.
31063
31064 * scripts/abilist.awk: Add support for indirect functions.
31065
a2693a0e
UD
31066 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31067
3f05895f
UD
31068 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31069
ecb6fb48
UD
31070 * shlib-versions: Remove entries for ports architectures.
31071
664f8cb9
UD
31072 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31073 files in ports.
31074 * elf/stackguard-macros.h: Remove support for IA-64.
31075 * elf/tst-auditmod1.c: Likewise.
31076 * sysdeps/generic/ldsodefs.h: Likewise.
31077
7ae81d88
UD
31078 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31079 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31080 configure files.
31081
bdeba135
UD
31082 [BZ #13552]
31083 * configure.in: Remove --enable-omitfp support.
31084 * FAQ.in: Adjust.
31085 * config.make.in: Likewise.
31086 * Makeconfig: Likewise.
31087 * manual/install.texi: Likewise.
31088
d75a0a62
UD
31089 In case anyone cares, the IA-64 architecture could move to ports.
31090 * sysdeps/ia64/*: Removed.
31091 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31092 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31093
dcc9756b
UD
31094 [BZ #13555]
31095 * configure.in: Remove entries for unsupported architectures.
31096
d3761ebc 31097 [BZ #13533]
9954432e
UD
31098 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31099 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31100 routines.
31101 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31102 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31103 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31104 fall back to using wcrtomb.
31105 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31106 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31107 renaming.
31108 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31109 * wcsmbs/tst-c16c32-1.c: New file.
31110
31111 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31112 local variable.
31113
c3a87236
UD
31114 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31115
28926a1b
UD
31116 * elf/tst-unique3.cc: Add explicit declaration of gets.
31117 * elf/tst-unique3lib.cc: Likewise.
31118 * elf/tst-unique3lib2.cc: Likewise.
31119 * elf/tst-unique4.cc: Likewise.
31120
df78418a
UD
31121 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31122
8ecd6b2a
JM
311232012-01-06 Joseph Myers <joseph@codesourcery.com>
31124
31125 [BZ #13566]
31126 * assert/assert.h (static_assert): Don't define for C++.
31127 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31128 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31129
9f115170
UD
311302012-01-03 Ulrich Drepper <drepper@gmail.com>
31131
5e0d0300
UD
31132 * iconv/loop.c (single loop): Fix assertion in storing of
31133 remaining bytes.
31134
9f115170
UD
31135 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31136
81fb02b0
UD
311372012-01-01 Ulrich Drepper <drepper@gmail.com>
31138
31139 * posix/getconf.c: Update copyright year.
31140 * nss/getent.c: Likewise.
a316c1f6 31141 * nss/makedb.c: Likewise.
81fb02b0
UD
31142 * iconv/iconvconfig.c: Likewise.
31143 * iconv/iconv_prog.c: Likewise.
31144 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31145 * elf/pldd.c: Likewise.
31146 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31147 * catgets/gencat.c: Likewise.
31148 * csu/version.c: Likewise.
31149 * elf/ldd.bash.in: Likewise.
31150 * elf/sprof.c (print_version): Likewise.
31151 * locale/programs/locale.c: Likewise.
31152 * locale/programs/localedef.c: Likewise.
a316c1f6 31153 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31154 * nscd/nscd.c (print_version): Likewise.
31155 * debug/xtrace.sh: Likewise.
31156 * malloc/memusage.sh: Likewise.
31157 * malloc/mtrace.pl: Likewise.
31158 * debug/catchsegv.sh: Likewise.
31159
2ba92745
JJ
311602011-12-30 Jakub Jelinek <jakub@redhat.com>
31161
31162 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31163 pure attribute.
31164
dadebdae
UD
311652011-12-24 Ulrich Drepper <drepper@gmail.com>
31166
d3761ebc 31167 [BZ #13533]
db6af3eb
UD
31168 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31169 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31170 transformations.
31171 * iconv/gconv_int.h: Likewise.
31172 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31173 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31174 from libc for GLIBC_2.16.
31175 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31176 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31177 * wcsmbs/uchar.h: Really define mbstate_t.
31178 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31179 * wcsmbs/c16rtomb.c: New file.
31180 * wcsmbs/mbrtoc16.c: New file.
31181 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31182 for C/POSIX locale.
31183 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31184 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31185
dadebdae
UD
31186 * wcsmbs/wchar.h: Add missing __restrict.
31187
67371b56
UD
311882011-12-23 Ulrich Drepper <drepper@gmail.com>
31189
74033a25
UD
31190 [BZ #13532]
31191 * time/Makefile (routines): Add timespec_get.
31192 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31193 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31194 timespec for ISO C11.
31195 * time/timespec_get.c: New file.
31196 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31197 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31198
380d7e87
UD
31199 [BZ #13531]
31200 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31201 * stdlib/stdlib.h: Declare aligned_alloc.
31202 * Versions.def: Add GLIBC_2.16 for libc.
31203 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31204
4e9e7a35
UD
31205 [BZ 13527]
31206 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31207 ISO C11.
31208
380d7e87 31209 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31210 code.
31211
03a71829
UD
31212 [BZ #13528]
31213 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31214
839e283e
UD
31215 [BZ #13529]
31216 * assert/assert.h (static_assert): Define.
31217
ce5294e2 31218 * version.h: Update for 2.16 development version.
90fa7312 31219
8d44e150 31220 [BZ #13526]
d7809905
UD
31221 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31222 _ISOC11_SOURCE.
31223
c0da14cd
UD
31224 * version.h (RELEASE): Bump for 2.15 release.
31225 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31226
530a3249
MP
31227 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31228 Patch by Marek Polacek <mpolacek@redhat.com>.
31229
67371b56
UD
31230 * bits/byteswap.h: Protect long long constants with __extension__.
31231 * sysdeps/i386/bits/byteswap.h: Likewise.
31232 * sysdeps/ia64/bits/byteswap.h: Likewise.
31233 * sysdeps/s390/bits/byteswap.h: Likewise.
31234 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31235
15db4de1
LD
312362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31237
31238 [BZ #13540]
bbe315ea
LD
31239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31240 destination buffer.
15db4de1
LD
31241 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31242
2b2596b1
MP
312432011-12-23 Marek Polacek <polacek@redhat.com>
31244
31245 * elf/dl-addr.c (determine_info): Add inline keyword.
31246 * elf/tst-auditmod4b.c (check_avx): Likewise.
31247 * elf/tst-auditmod6b.c (check_avx): Likewise.
31248 * elf/tst-auditmod6c.c (check_avx): Likewise.
31249 * elf/tst-auditmod7b.c (check_avx): Likewise.
31250
70c6c246
UD
312512011-12-23 Ulrich Drepper <drepper@gmail.com>
31252
31253 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31254 !__SSE_MATH__.
31255
c044cf14
LD
312562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31257
15db4de1 31258 [BZ #13540]
c044cf14
LD
31259 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31260 processing for last bytes.
31261
6b13d9d9
BH
312622011-08-06 Bruno Haible <bruno@clisp.org>
31263
d455f537
BH
31264 [BZ #13061]
31265 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31266 U+0385, not to U+1FEE.
31267
6b13d9d9
BH
31268 [BZ #13062]
31269 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31270 entry for U+00A5 U+0301.
31271
db910efd
UD
312722011-12-22 Ulrich Drepper <drepper@gmail.com>
31273
27deeafc
UD
31274 [BZ #13166]
31275 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31276 buffer for the output is too small.
31277
aed9d171
UD
31278 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31279 optimization.
31280
db910efd
UD
31281 [BZ #13185]
31282 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31283 SSE flags if possible.
31284
2bd779ae
LD
312852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31286
e7f9dac3 31287 [BZ #13540]
2bd779ae
LD
31288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31289 processing for last bytes.
31290
154bfc16
JM
312912011-12-22 Joseph Myers <joseph@codesourcery.com>
31292
31293 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31294 (syscall-list-default-options, syscall-list-default-condition)
31295 (syscall-list-includes): Define.
31296 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31297 list of ABIs and options and #if conditions for each ABI. Do not
31298 handle common syscalls between ABIs specially.
31299 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31300 Remove.
31301 (syscall-list-variants, syscall-list-32bit-options)
31302 (syscall-list-32bit-condition, syscall-list-64bit-options)
31303 (syscall-list-64bit-condition): Define.
31304 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31305 (syscall-list-variants, syscall-list-32bit-options)
31306 (syscall-list-32bit-condition, syscall-list-64bit-options)
31307 (syscall-list-64bit-condition): Define.
31308 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31309 Remove.
31310 (syscall-list-variants, syscall-list-32bit-options)
31311 (syscall-list-32bit-condition, syscall-list-64bit-options)
31312 (syscall-list-64bit-condition): Define.
31313 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31314 Remove.
31315 (syscall-list-variants, syscall-list-32bit-options)
31316 (syscall-list-32bit-condition, syscall-list-64bit-options)
31317 (syscall-list-64bit-condition): Define.
31318
21eaf3a5
UD
313192011-12-22 Ulrich Drepper <drepper@gmail.com>
31320
16c6f992
UD
31321 * locale/iso-639.def: Add brx entry.
31322
41043168
UD
31323 [BZ #13328]
31324 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31325 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31326
21eaf3a5
UD
31327 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31328 __feraiseexcept_renamed.
31329
e3a851a2
UD
313302011-12-21 Ulrich Drepper <drepper@gmail.com>
31331
4920765e
UD
31332 [BZ #13538]
31333 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31334 EPOLLET with unsigned values.
31335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31336 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31337
e3a851a2
UD
31338 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31339 to large cancellation.
31340 * math/s_cacoshf.c: Likewise.
31341 * math/s_cacoshl.c: Likewise.
31342
b27e24b8
RK
313432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31344
31345 [BZ #13305]
aebefeee 31346 [BZ #12786]
b27e24b8
RK
31347 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31348 * math/s_cacoshf.c: Likewise.
31349 * math/s_cacoshl.c: Likewise.
31350
ee190f67
UD
313512011-12-21 Ulrich Drepper <drepper@gmail.com>
31352
31353 [BZ #13439]
31354 * iconv/gconv.h: Define __GCONV_SWAP.
31355 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31356 * iconvdata/utf-16.c: Likewise.
31357 * iconvdata/utf-32.c: Likewise.
31358
707f25df
AS
313592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31360
31361 [BZ #13524]
31362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31363 numerator after shifting it by one limb.
31364
d2daaa1e
RÁE
313652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31366
31367 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31368 under [__USE_EXTERN_INLINES].
31369
a4647e72
UD
313702011-12-17 Ulrich Drepper <drepper@gmail.com>
31371
31372 [BZ #13446]
31373 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31374
f0b264f1
AZ
313752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31376
31377 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31378 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31379 optimized code.
31380 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31381 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31382 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31383 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31384 for strncasecmp/strncasecmp_l compilation.
31385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31386 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31387
8ef4f244
MP
313882011-12-08 Marek Polacek <mpolacek@redhat.com>
31389
31390 [BZ #13484]
31391 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31392 of __asm__.
31393
97ac2654
UD
313942011-12-17 Ulrich Drepper <drepper@gmail.com>
31395
31396 [BZ #13506]
31397 * time/tzfile.c (__tzfile_read): Check values from file header.
31398
91d2a845
WS
313992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31400
31401 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31402 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31403 * powerpc/powerpc32/dl-start.S: Likewise.
31404 * powerpc/powerpc32/elf/start.S: Likewise.
31405 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31406 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31407 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31408 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31409 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31410 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31411 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31412 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31413 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31414 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31415 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31416 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31417 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31418 * powerpc/powerpc32/memset.S: Likewise.
31419 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31420 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31421 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31422 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31423 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31424 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31425 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31426 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31427 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31428 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31429 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31430 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31431 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31432
a1267ba1
AZ
314332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31434
31435 * math/libm-test.inc: Added more nearbyint tests.
31436 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31437 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31438 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31439 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31440
ad8ac1bd
RL
314412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31442
31443 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31444 FD_CLOEXEC.
31445
1d3e4b61
UD
314462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31447
31448 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31449 Add wcscpy-ssse3 wcscpy-c.
31450 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31451 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31452 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31453 * sysdeps/x86_64/wcschr.S: New file.
31454 * sysdeps/x86_64/wcsrchr.S: New file.
31455 * string/test-strcmp.c: Remove checking of wcscmp function for
31456 wrong alignments.
31457 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31458 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31459 wcsrchr-sse2 wcsrchr-c.
31460 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31461 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31462 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31463 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31464 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31465 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31466 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31467 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31468 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31469 * wcsmbc/wcschr.c (WCSCHR): New macro.
31470
5b330a2d
UD
314712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31472
31473 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31474 * wcsmbs/test-wcsrchr.c: New file.
31475 * string/test-strrchr.c: Add wcsrchr support.
31476 (WIDE): New macro.
31477 * wcsmbs/test-wcscpy.c: New file.
31478 * string/test-strcpy.c: Add wcscpy support.
31479 (WIDE): New macro.
26428b7c 31480
f039c043
UD
314812011-12-10 Ulrich Drepper <drepper@gmail.com>
31482
31483 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31484 the inner loop.
31485
850fb039
AS
314862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31487
31488 [BZ #13472]
31489 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31490
4efbd5cb
UD
314912011-12-04 Ulrich Drepper <drepper@gmail.com>
31492
52ff5dd0 31493 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31494 Minor optimizations.
52ff5dd0 31495
4efbd5cb
UD
31496 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31497 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31498 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31499
8a426e12
UD
315002011-12-03 Ulrich Drepper <drepper@gmail.com>
31501
aff2453d
UD
31502 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31503 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31504 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31505 for gcc to avoid warnings.
31506 * inet/Makefile (tests): Add tst-checks.
31507 * inet/tst-checks.c: New file.
31508
31509 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31510 warning.
31511
31512 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31513 __wmemcmp_sse2.
31514
31515 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31516 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31517
8a426e12
UD
31518 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31519
9bea3473
UD
315202011-12-02 Ulrich Drepper <drepper@gmail.com>
31521
3a965496
UD
31522 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31523 problem.
31524
9bea3473
UD
31525 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31526
f101631b
UD
315272011-11-29 Joseph Myers <joseph@codesourcery.com>
31528
31529 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31530 conditional on GCC version.
31531 (__arch_compare_and_exchange_val_8_acq)
31532 (__arch_compare_and_exchange_val_16_acq)
31533 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31534 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31535 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31536
a98275aa
UD
315372011-12-02 Joseph Myers <joseph@codesourcery.com>
31538
31539 * sysdeps/sh/backtrace.c: New file.
31540
d4cc29a2
AS
315412011-12-02 Andreas Schwab <schwab@redhat.com>
31542
31543 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31544 parenthesis.
31545
6257af2d
AS
315462011-12-01 Andreas Schwab <schwab@redhat.com>
31547
31548 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31549 falling back to utime.
31550
b5f44c1a
AS
315512011-11-30 Andreas Schwab <schwab@redhat.com>
31552
31553 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31554 expectations for float.
31555
f3a6cc0a
AS
315562011-11-29 Andreas Schwab <schwab@redhat.com>
31557
31558 * locale/weight.h (findidx): Add parameter len.
31559 * locale/weightwc.h (findidx): Likewise.
31560 * posix/fnmatch_loop.c (FCT): Adjust caller.
31561 * posix/regcomp.c (build_equiv_class): Likewise.
31562 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31563 * posix/regexec.c (check_node_accept_bytes): Likewise.
31564 * string/strcoll_l.c (STRCOLL): Likewise.
31565 * string/strxfrm_l.c (STRXFRM): Likewise.
31566
9d65ea3a
UD
315672011-11-17 Ulrich Drepper <drepper@gmail.com>
31568
31569 * Makefile.in: Remove CVSOPT handling.
31570 * configure.in: Remove use of AC_REVISION.
31571 * iconvdata/Makefile (distribute): No need to filter out CVS.
31572 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31573 handling.
31574
5583a086
AS
315752011-11-16 Andreas Schwab <schwab@redhat.com>
31576
31577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31578 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31579 [USE_AS_STRNCASECMP_L]: Likewise.
31580 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31581 NO_TLS_DIRECT_SEG_REFS.
31582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31583 Fix argument offsets for non-PIC.
31584 [USE_AS_STRNCASECMP_L]: Likewise.
31585 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31586 NO_TLS_DIRECT_SEG_REFS.
31587
d62a8200
UD
315882011-11-15 Ulrich Drepper <drepper@gmail.com>
31589
9d65ea3a 31590 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31591 O_CLOEXEC.
31592 * locale/loadlocale.c (_nl_load_locale): Likewise.
31593
09f93bd3
AS
315942011-11-15 Andreas Schwab <schwab@redhat.com>
31595
446514f9
AS
31596 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31597 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31598 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31599 (SYSCALL_GETTIME): Set errno on error.
31600
09f93bd3
AS
31601 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31602 count references to noai6ai_cached.
31603
312be3f9
UD
316042011-11-15 Ulrich Drepper <drepper@gmail.com>
31605
31606 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31607
31608 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31609 FD_CLOEXEC for /proc/self/maps.
31610
31611 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31612 FD_CLOEXEC for /proc/meminfo.
31613
31614 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31615 gai.conf.
31616
31617 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31618 FD_CLOEXEC for given file.
31619
31620 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31621
31622 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31623 FD_CLOEXEC for /etc/hosts.
31624 (_gethtent): Likewise.
31625
31626 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31627
31628 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31629 cancellation and set FD_CLOEXEC for /etc/netgroup.
31630
31631 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31632 reading /etc/publickey.
31633
31634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31635 allow cancellation when reading /etc/group.
31636
31637 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31638 cancellation.
31639 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31640
31641 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31642 when using data file.
31643
31644 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31645
31646 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31647 (write_nis_obj): Use "c" and "e" in fopen.
31648
31649 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31650
31651 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31652
31653 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31654
31655 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31656
31657 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31658 locale.alias.
31659
31660 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31661
31662 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31663
31664 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31665
31666 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31667 file parsing and set FD_CLOEXEC.
31668
82af0fa8
UD
316692011-11-14 Ulrich Drepper <drepper@gmail.com>
31670
31671 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31672
a5fb313c
AS
316732011-11-14 Andreas Schwab <schwab@redhat.com>
31674
31675 * malloc/arena.c (arena_get2): Don't call reused_arena when
31676 _int_new_arena failed.
31677
6abf3465
UD
316782011-11-14 Ulrich Drepper <drepper@gmail.com>
31679
31680 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31681 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31682 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31683 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31684 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31685 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31686 to compile strcasecmp and strncasecmp.
31687 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31688 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31689
31690 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31691
76e3966e
UD
316922011-11-13 Ulrich Drepper <drepper@gmail.com>
31693
31694 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31695 locale-defines.sym to gen-as-const-headers.
31696 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31697 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31699 to compile strcasecmp and strncasecmp.
31700 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31701 strcasecmp_l and strncasecmp_l.
31702 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31703 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31704 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31705 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31706 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31707 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31708 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31709 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31710 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31711 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31712 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31713
ab26144e
UD
317142011-11-12 Ulrich Drepper <drepper@gmail.com>
31715
7edb22ef
UD
31716 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31717 result of SYSDEP_GETTIME_CPU to retval.
31718 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31719 parameter list to macro. Remove trailing semicolon. Adjust users.
31720
9694fc44
UD
31721 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31722 variable.
31723
8ad89ef8
UD
31724 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31725 mantissa words.
31726 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31727
0c822ef9
UD
31728 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31729 from unused variable.
31730
874e0564
UD
31731 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31732 DWARF definitions.
31733 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31734 for assembling.
31735
3a2edc79
UD
31736 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31737 over namespaces.
31738
f3c2577f
UD
31739 * sunrpc/rpc_prot.c (rejected): Fix case value.
31740
294ce126
UD
31741 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31742 unsigned long long int to avoid warnings in shift.
31743
5e2b63c6
UD
31744 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31745 of use of trans.
31746 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31747 variable tmp.
31748
e7f4b08e
UD
31749 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31750 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31751 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31752
ab26144e
UD
31753 * nis/nis_table.c (nis_list): Use variable of correct type for
31754 result of __follow_path call.
31755
8a6d5255
AZ
317562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31757
31758 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31759 of math functions ceil, trunc, floor, round, and sqrt, when
31760 avaliable on the platform.
31761 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31762 name clash.
31763 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31764 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31765 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31766
aaddc98c
MP
317672011-10-30 Marek Polacek <mpolacek@redhat.com>
31768
31769 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31770 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31771
95b7042b
RM
317722011-11-11 Roland McGrath <roland@hack.frob.com>
31773
31774 * include/unistd.h: Fix __readlink return type.
31775 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31776
57769839
UD
317772011-11-11 Ulrich Drepper <drepper@gmail.com>
31778
31779 * stdlib/ucontext.h: Undo last change for makecontext.
31780
edc5984d
AS
317812011-11-11 Andreas Schwab <schwab@redhat.com>
31782
98591e58
AS
31783 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31784
edc5984d
AS
31785 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31786 * setjmp/setjmp.h: Mark functions as non-leaf.
31787 * setjmp/bits/setjmp2.h: Likewise.
31788 * stdlib/ucontext.h: Likewise.
31789
77cdc054
AS
317902011-11-10 Andreas Schwab <schwab@redhat.com>
31791
31792 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31793 (reused_arena): Don't check arena limit.
31794 (arena_get2): Atomically check arena limit.
31795
fe72eebd
UD
317962011-11-08 Ulrich Drepper <drepper@gmail.com>
31797
5f078c32
UD
31798 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31799 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31800
fe72eebd
UD
31801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31802 instructions.
31803
ae1bc2fa
AS
318042011-11-07 Andreas Schwab <schwab@redhat.com>
31805
7583a88d
AS
31806 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31807 handler when locking.
31808
ae1bc2fa
AS
31809 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31810 Fix size of allocated buffer.
31811
10fb0bfa
AS
318122011-11-04 Andreas Schwab <schwab@redhat.com>
31813
998832a4
AS
31814 [BZ #10103]
31815 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31816 declarations for long double functions.
31817 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31818
10fb0bfa
AS
31819 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31820
3d7ba52b
AS
318212011-11-03 Andreas Schwab <schwab@redhat.com>
31822
a9ae54a1
AS
31823 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31824 installed.
31825
3d7ba52b
AS
31826 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31827 is disabled.
31828
bc8db248
ST
318292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31830
31831 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31832
45b96dd6
AS
318332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31834
647776f6
AS
31835 * include/alloca.h (stackinfo_alloca_round): Define.
31836 (extend_alloca): Use it.
31837 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31838 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31839 here.
31840
d91a8b93
AS
31841 * scripts/check-local-headers.sh: Ignore libaudit.h.
31842
45b96dd6
AS
31843 * nscd/Makefile (extra-objs): Make recursively expanded.
31844
432d41ce
UD
318452011-11-01 Ulrich Drepper <drepper@gmail.com>
31846
34372fc6
UD
31847 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31848 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31849
fadb59f8
UD
31850 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31851 * posix/tst-rfc3484-2.c: Likewise.
31852 * posix/tst-rfc3484-3.c: Likewise.
31853
78239589
UD
31854 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31855 process_vm_writev.
31856 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31857 process_vm_writev.
31858 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31859 process_vm_writev from libc using GLIBC_2.15 version.
31860
432d41ce
UD
31861 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31862
02f9c6cf
PP
318632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31864
31865 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31866 stack usage.
31867
3a2c0242
UD
318682011-10-31 Ulrich Drepper <drepper@gmail.com>
31869
f4ec4833
UD
31870 [BZ #13367]
31871 * nss/getent.c (initgroups_keys): Show error message in case no group
31872 names are given.
31873
3a2c0242
UD
31874 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31875 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31876 __bump_nl_timestamp.
31877 * nscd/connections (nscd_init): When host database is served open
31878 netlink socket and request notification about configuration changes.
31879 (main_loop_poll): Track netlink file descriptor and bump timestamp
31880 in case data becomes available.
31881 (main_loop_epoll): Likewise.
31882 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31883 (database_pers_head): Add extra_data fileds.
31884 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31885 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31886 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31887 Adjust caller.
31888 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31889 in6ai data, call __free_in6ai.
31890 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31891 Add -DHAVE_NETLINK.
31892 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31893 interface information. Reuse previous data if netlink timestamp
31894 is not changed.
31895 (__bump_nl_timestamp): New function.
31896 (__free_in6ai): New function.
31897
636064eb
UD
318982011-10-30 Ulrich Drepper <drepper@gmail.com>
31899
31900 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31901 close_not_cancel_no_status here.
31902 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31903
9beb2334
UD
319042011-10-29 Ulrich Drepper <drepper@gmail.com>
31905
6ef76f3b
UD
31906 [BZ #13276]
31907 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31908 return value.
31909
0ffc4f3e 31910 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31911 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31912 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31913
cb95113e
UD
319142011-07-03 Andreas Jaeger <aj@suse.de>
31915
31916 [BZ #10709]
31917 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31918 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31919 * math/libm-test.inc (sin_test): Add test case.
31920
a1b560ff
UD
319212011-10-29 Ulrich Drepper <drepper@gmail.com>
31922
c9aaface
UD
31923 [BZ #13337]
31924 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31925 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31926
d272e7f1
UD
31927 * elf/chroot_canon.c (chroot_canon): Cleanups.
31928
1bc33071
UD
31929 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31930
1760874d
TJ
31931 [BZ #13335]
31932 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31933 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31934
51d91b18
UD
31935 * string/test-strchr.c: Make usable for strchrnul testing.
31936 * string/test-strchrnul.c: New file.
31937 * string/Makefile (strop-tests): Add strchrnul.
31938
a1b560ff 31939 * po/it.po: Update from translation team.
b611fb81 31940 * po/es.po: Likewise.
a1b560ff 31941
a5b81e1f
UD
319422011-10-28 Ulrich Drepper <drepper@gmail.com>
31943
fd52bc6d
UD
31944 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31945 the three constants needed as parameters. Drop the others.
31946 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31947 __m128i_strloadu_tolower.
52e4b9eb
UD
31948 Create and initialize variable zero and use it in all the places
31949 where _mm_setzero_si128 was used.
fd52bc6d 31950
a5b81e1f
UD
31951 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31952 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31953 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31954 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31955 anymore.
31956 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31957 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31958 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31959 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31960 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31961 __mpranred, __mptan.
31962 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31963 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31964 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31965 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31966 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31967 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31969 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31970 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31971
b4343346
AS
319722011-10-28 Andreas Schwab <schwab@redhat.com>
31973
0c92d8a8
AS
31974 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31975 redefine if SHARED.
31976 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31977
b4343346
AS
31978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31979 wide char related routines to wcsmbs subdir.
31980
3871f58f
AS
319812011-10-27 Andreas Schwab <schwab@redhat.com>
31982
31983 [BZ #13344]
31984 * misc/sys/cdefs.h (__THROWNL): Define.
31985 * posix/unistd.h: Use __THREADNL instead of __THREAD
31986 for memory synchronization functions.
31987
94d44d9f
RM
319882011-10-26 Roland McGrath <roland@hack.frob.com>
31989
21b64b15 31990 [BZ #13349]
94d44d9f
RM
31991 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31992 doesn't exist.
31993 * manual/stdio.texi (Obstack Streams): Node removed.
31994
f6ce9294
AS
319952011-10-26 Andreas Schwab <schwab@redhat.com>
31996
80479147
AS
31997 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31998 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31999 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32000
f6ce9294
AS
32001 * math/math_private.h (math_force_eval): Allow non-addressable
32002 arguments.
32003 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32004
618280a1
UD
320052011-10-25 Ulrich Drepper <drepper@gmail.com>
32006
e0016b11
UD
32007 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32008 file is not needed.
32009
32010 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32011 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32017 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32018 Add AVX variants.
32019 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32020 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32021 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32022 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32023 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32024 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32025 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32026 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32027 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32028 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32029 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32030 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32032 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32033 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32034 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32035 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32036 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32037 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32038
32039 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32040 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32041
618280a1
UD
32042 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32043 place. Use VEX encoding when compiling for AVX.
32044
37822576
AS
320452011-10-25 Andreas Schwab <schwab@redhat.com>
32046
1f1e1947
AS
32047 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32048 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32049
37822576
AS
32050 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32051
31ea014d
UD
320522011-10-25 Ulrich Drepper <drepper@gmail.com>
32053
d7826aa1 32054 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32055 useless if() expression.
d7826aa1
UD
32056 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32057 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32058 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32060 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32062 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32063 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32064 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32065 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32066 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32068 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32069 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32070 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32071 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32072 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32073 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32074 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32075
31ea014d
UD
32076 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32077
16437fec
AS
320782011-10-25 Andreas Schwab <schwab@redhat.com>
32079
32080 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32081 condition.
32082 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32083
31d3cc00
UD
320842011-10-25 Ulrich Drepper <drepper@gmail.com>
32085
32086 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32087 .text section. Avoid duplicate constants.
32088 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32096 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32097 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32098 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32099 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32100 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32101 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32102 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32103 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32104 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32105 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32108 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32109 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32110 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32111 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32112 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32113 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32114 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32115 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32116 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32117 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32118 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32119 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32120 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32121 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32122 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32123 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32124 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32125 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32126 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32127 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32128 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32129 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32130 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32131 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32132 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32133
58985aa9
UD
321342011-10-24 Ulrich Drepper <drepper@gmail.com>
32135
202c9deb
UD
32136 * sysdeps/x86_64/dla.h: Move to ...
32137 * sysdeps/x86_64/fpu/dla.h: ...here.
32138 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32139 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32140
af968f62
UD
32141 * config.make.in: Add have-mfma4 entry.
32142 * configure.in: Substitute libc_cv_cc_fma4.
32143 * math/Makefile (dbl-only-routines): Add sincostab.
32144 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32145 Use __sincostab not sincos.
32146 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32147 name is a macro.
32148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32152 using __copysign.
32153 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32154 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32155 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32156 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32157 and __inv.
32158 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32159 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32160 __copysign.
32161 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32162 define aliases when function name is a macro.
32163 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32164 sysdeps/ieee754/dbl-64/sincos.tbl.
32165 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32166 fma4-enabled routines.
32167 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32168 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32169 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32170 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32171 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32172 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32174 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32176 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32177 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32178 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32179 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32180 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32182 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32183 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32184 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32185 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32187 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32188 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32189 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32190 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32191 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32192 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32193 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32194 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32195 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32196 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32197
58985aa9
UD
32198 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32199 rename.
32200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32208
a201fbcf
AS
322092011-10-24 Andreas Schwab <schwab@redhat.com>
32210
32211 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32212
fc2ee42a
LD
322132011-10-23 Ulrich Drepper <drepper@gmail.com>
32214
bb3129bd
UD
32215 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32216
0275fff8
UD
32217 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32218 prediction.
32219 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32220
2fa2ae85
UD
32221 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32222 Remove unused variable magic_bits.
32223 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32224
fc2ee42a
LD
32225 * string/strnlen.c: Define and use STRNLEN macro.
32226 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32227 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32228 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32229 * wcsmbs/wcslen.c: Define and use WCSLEN.
32230 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32231 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32232 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32233 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32234 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32235 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32236 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32237
ce7dd29f
LD
322382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32239
32240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32241 strnlen-sse2-no-bsf.
32242 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32244 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32245 Add strnlen support.
32246 (USE_AS_STRNLEN): New macro.
32247 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32248 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32249 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32250 * sysdeps/x86_64/wcslen.S: New file.
32251
979c70a3
MZ
322522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32253
32254 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32255 XMM-moves are used for copying on small sizes.
32256
2d09f82f
LD
322572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32258
32259 * wcsmbs/Makefile (strop-tests): Add wcschr.
32260 * wcsmbs/test-wcschr.c: New file.
32261 * string/test-strchr.c: Update.
32262 Add wcschr support.
32263 (WIDE): New macro.
32264
619fccca
LD
322652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32266
2d09f82f 32267 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32268 * wcsmbs/test-wcslen.c: New file.
32269 * string/test-strlen.c: Update.
32270 Add wcslen support.
32271 (WIDE): New macro.
32272
09f699ea
UD
322732011-10-23 Ulrich Drepper <drepper@gmail.com>
32274
32275 * po/it.po: Update from translation team.
32276
95584d3b
LD
322772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32278
32279 * sysdeps/x86_64/wcscmp.S: Update.
32280 Fix wrong comparison semantics.
32281 wcscmp shall use signed comparison not unsigned.
32282 Don't use substraction to avoid overflow bug.
32283 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32284 * wcsmbc/wcscmp.c: Likewise.
32285 * string/test-strcmp.c: Likewise.
32286 Add new tests to check cases with negative values.
32287
c8b3296b
UD
322882011-10-23 Ulrich Drepper <drepper@gmail.com>
32289
32290 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32291 * sysdeps/x86_64/dla.h: ...here. New file.
32292 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32297 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32299 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32300 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32301
246ad57a
AS
323022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32303
32304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32305 __ynl_finite aliases.
32306
a1a87169
UD
323072011-10-22 Ulrich Drepper <drepper@gmail.com>
32308
0d355eb7
UD
32309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32310
a1a87169
UD
32311 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32312 define DLA_FMA.
32313 [DLA_FMA] (EMULV): Use DLA_FMA.
32314 [DLA_FMA] (MUL12): Use EMULV.
32315 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32316 that are not needed.
32317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32321 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32322 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32324
ee2aafe0
AS
323252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32326
32327 * math/s_nan.c: Undef __nan.
32328 * math/s_nanf.c: Undef __nanf.
32329 * math/s_nanl.c: Undef __nanl.
32330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32331 "math_private.h".
32332
bc62c2fb
UD
323332011-10-22 Ulrich Drepper <drepper@gmail.com>
32334
77425c63
UD
32335 * math/s_catan.c: Add branch predictions.
32336 * math/s_catanf.c: Likewise.
32337 * math/s_catanh.c: Likewise.
32338 * math/s_catanhf.c: Likewise.
32339 * math/s_catanhl.c: Likewise.
32340 * math/s_catanl.c: Likewise.
32341 * math/s_cexp.c: Likewise.
32342 * math/s_cexpf.c: Likewise.
32343 * math/s_cexpl.c: Likewise.
32344 * math/s_clog.c: Likewise.
32345 * math/s_clog10.c: Likewise.
32346 * math/s_clog10f.c: Likewise.
32347 * math/s_clog10l.c: Likewise.
32348 * math/s_clogf.c: Likewise.
32349 * math/s_clogl.c: Likewise.
32350 * math/s_csqrt.c: Likewise.
32351 * math/s_csqrtf.c: Likewise.
32352 * math/s_csqrtl.c: Likewise.
32353 * math/s_ctanf.c: Likewise.
32354 * math/s_ctanh.c: Likewise.
32355 * math/s_ctanhf.c: Likewise.
32356 * math/s_ctanhl.c: Likewise.
32357 * math/s_ctanl.c: Likewise.
32358
bc62c2fb
UD
32359 * math/math_private.h: Define __nan, __nanf, __nanl.
32360 * math/s_cacosh.c: Include <math_private.h>.
32361 * math/s_cacoshl.c: Likewise.
32362 * math/s_casinh.c: Likewise.
32363 * math/s_casinhf.c: Likewise.
32364 * math/s_casinhl.c: Likewise.
32365 * math/s_ccos.c: Rely entire on ccosh.
32366 * math/s_ccosf.c: Rely entire on ccoshf.
32367 * math/s_ccosl.c: Rely entirely on ccoshl.
32368 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32369 Remove tests for FE_INVALID.
32370 * math/s_ccoshf.c: Likewise.
32371 * math/s_ccoshl.c: Likewise.
32372 * math/s_csin.c: Likewise.
32373 * math/s_csinf.c: Likewise.
32374 * math/s_csinh.c Likewise.
32375 * math/s_csinhf.c: Likewise.
32376 * math/s_csinhl.c: Likewise.
32377 * math/s_csinl.c: Likewise.
32378 * math/s_ctan.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32380 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32381 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32382
8ec250a4
UD
323832011-10-21 Ulrich Drepper <drepper@gmail.com>
32384
c196fed8
UD
32385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32386 compilation problems.
32387
8ec250a4
UD
32388 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32389 __builtin_expect.
32390
8d4f46c6
UD
323912011-10-20 Ulrich Drepper <drepper@gmail.com>
32392
ed72b654
UD
32393 * sysdeps/i386/configure.in: Test for -mfma4 option.
32394 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32395 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32396 COMMON_CPUID_INDEX_80000001.
32397 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32398 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32399 use it if FMA3 is not supported.
32400 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32401
8d4f46c6
UD
32402 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32403 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32404
d45c60c2
AS
324052011-10-20 Andreas Schwab <schwab@redhat.com>
32406
32407 [BZ #12892]
32408 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32409 it would create a cycle with a link time dependency.
32410
d9a4d2ab
UD
324112011-10-19 Ulrich Drepper <drepper@gmail.com>
32412
855d1560
UD
32413 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32414 instruction.
32415 * string/Makefile (strop-tests): Add rawmemchr.
32416 * string/test-rawmemchr.c: New file.
32417
d9a4d2ab
UD
32418 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32419 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32420 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32421 when compiling str{,n}casecmp and when AVX is available. Hook up
32422 new optimized code in initializers.
32423
8f3b1ffe
AS
324242011-10-19 Andreas Schwab <schwab@redhat.com>
32425
32426 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32427 __feraiseexcept instead of feraiseexcept.
32428
d38f1dba
UD
324292011-10-18 Ulrich Drepper <drepper@gmail.com>
32430
d9a8d0ab
UD
32431 * math/math_private.h: Define defaults for libc_fetestexcept and
32432 libc_feupdateenv.
32433 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32434 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32435 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32436 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32437 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32438 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32439 libc_fetestexcept and libc_feupdateenv.
32440
4855e3dd
UD
32441 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32442 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32443 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32444 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32445 libc_feholdexcept_setround.
32446
581d30e3
UD
32447 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32448 Add s_nearbyint-c and s_nearbyintf-c.
32449 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32450 nearbyintf inlines.
32451 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32452 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32453 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32454 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32455
d38f1dba
UD
32456 * math/math_private.h: Define defaults for libc_fegetround,
32457 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32458 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32459 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32460 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32461 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32462 standard functions.
32463 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32464 Remove comments and hacks for old compiler versions.
32465 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32466 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32467 libc_feholdexceptl.
32468
caa6c9d8
AS
324692011-10-18 Andreas Schwab <schwab@redhat.com>
32470
32471 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32472 (__feraiseexcept_renamed): Add __NTH.
32473 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32474 namespace violations.
32475
97c066e6
UD
324762011-10-17 Ulrich Drepper <drepper@gmail.com>
32477
99ce7b04
UD
32478 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32479
1004d182
UD
32480 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32481
228a984d
UD
32482 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32483 recently added interfaces.
32484 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32485
c8553a6a
UD
32486 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32487 about macro parameter expansion.
32488
ed22dcf6
UD
32489 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32490 __NO_MATH_INLINES is defined. Cleanups.
32491
32492 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32493 and __floorf is target has SSE4.1.
32494 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32495 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32496 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32497 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32498
b171c137
UD
32499 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32500 name.
32501 (floorf): Likewise.
32502
97c066e6
UD
32503 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32504
629f62ef
AS
325052011-10-17 Andreas Schwab <schwab@redhat.com>
32506
49a43d80
AS
32507 * misc/sys/cdefs.h: Fix last change.
32508
629f62ef
AS
32509 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32510 database lookup.
32511
e453f6cd
UD
325122011-10-16 Ulrich Drepper <drepper@gmail.com>
32513
aa78043a
UD
32514 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32515
ad0f5cad
UD
32516 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32517 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32518 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32519 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32520 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32521 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32522 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32523 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32524 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32525 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32526 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32527 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32528 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32529 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32530 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32531 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32532 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32533 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32534 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32535 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32536 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32537 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32538
32539 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32540 ceil, ceilf, floor, floorf.
32541
32542 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32543 Perform IRELATIVE relocations last.
32544
e453f6cd
UD
32545 * elf/do-rel.h: Add another parameter nrelative, replacing the
32546 local variable with the same name. Change name of the function
32547 to end in Rel or Rela (uppercase).
32548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32549 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32550 elf_dynamic_do_##reloc function.
32551
fd5bdc09
UD
325522011-10-15 Ulrich Drepper <drepper@gmail.com>
32553
79b195b5
UD
32554 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32555 is sufficient, at least on modern CPUs.
32556
d4a28569
UD
32557 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32558
b61099b5
UD
32559 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32560 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32561
bcf01e6d
UD
32562 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32563 __expl_finite.
32564 * math/bits/math-finite.h: Add entries for exp.
32565 * math/e_expl.c: Add __*_finite alias.
32566 * sysdeps/i386/fpu/e_exp.S: Likewise.
32567 * sysdeps/i386/fpu/e_expf.S: Likewise.
32568 * sysdeps/i386/fpu/e_expl.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32570 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32573 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32574 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32575 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32576
ba1a0d59
UD
32577 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32578 is sufficient, at least on modern CPUs.
32579
fd5bdc09
UD
32580 * ctype/ctype-info.c (__ctype_init): Define.
32581 * include/ctype.h (__ctype_init): Declare.
32582 (__ctype_b_loc): The variable is always initialized.
32583 (__ctype_toupper_loc): Likewise.
32584 (__ctype_tolower_loc): Likewise.
32585 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32586 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32587
7872cfb0
AS
325882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32589
b468825a
AS
32590 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32591
7872cfb0
AS
32592 * configure.in: Also look in $cxxmachine/include for C++ system
32593 headers.
32594
be13f7bf
LD
325952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32596
32597 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32598 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32599 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32600 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32601 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32602 (USE_AS_WMEMCMP): New macro.
32603 Fixing indents.
32604 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32605 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32606 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32607 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32609 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32610 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32611 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32612 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32613 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32614 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32615 (USE_AS_WMEMCMP): New macro.
32616 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32617 * sysdeps/string/test-memcmp.c: Update.
32618 Fix simple_wmemcmp.
32619 Add new tests.
32620 * wcsmbs/wmemcmp.c: Update.
32621 (WMEMCMP): New macro.
32622 Fix overflow bug.
32623
556a2007
AJ
326242011-10-12 Andreas Jaeger <aj@suse.de>
32625
32626 [BZ #13268]
32627 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32628
538faaa7
UD
326292011-10-15 Ulrich Drepper <drepper@gmail.com>
32630
ab6737ff
UD
32631 * libio/iofwide.c (do_length): Avoid warning.
32632
538faaa7
UD
32633 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32634
396a21b1
UD
326352011-10-14 Ulrich Drepper <drepper@gmail.com>
32636
cdf2901f
UD
32637 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32638
38ad40ce
UD
32639 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32640 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32641 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32642 * sysdeps/i386/i686/fpu/e_log.S: New file.
32643 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32644 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32645
396a21b1
UD
32646 * ctype/ctype.h: Add support for inlined isXXX functions when
32647 compiling C++ code.
32648
6b1f68c9
AS
326492011-10-14 Andreas Schwab <schwab@redhat.com>
32650
349290c0
AS
32651 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32652
6b1f68c9
AS
32653 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32654
f2282d42
RM
326552011-10-13 Roland McGrath <roland@hack.frob.com>
32656
32657 [BZ #13291]
32658 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32659
5298ffa8
AS
326602011-10-13 Andreas Schwab <schwab@redhat.com>
32661
714fad23
AS
32662 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32663 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32664 feraiseexcept.
32665
81dcc7fb
AS
32666 * sysdeps/x86_64/memrchr.S: Check for zero size.
32667
5298ffa8
AS
32668 * string/stratcliff.c: Add memrchr tests.
32669
951fbcec
LD
326702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32671
32672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32673 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32674 rawmemchr-sse2 rawmemchr-sse2-bsf.
32675 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32676 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32677 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32678 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32679 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32680 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32681 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32682 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32683 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32684 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32685 * string/memrchr.c (MEMRCHR): New macro.
32686
0ac5ae23
UD
326872011-10-12 Ulrich Drepper <drepper@gmail.com>
32688
32689 Add integration with gcc's -ffinite-math-only and optimize wrapper
32690 functions in libm.
32691 * Versions.def: Define GLIBC_2.15 version for libm.
32692 * math/Makefile (headers): Add bits/math-finite.h.
32693 * math/bits/math-finite.h: New file.
32694 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32695 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32696 * math/e_acoshl.c: Add __*_finite alias.
32697 * math/e_acosl.c: Likewise.
32698 * math/e_asinl.c: Likewise.
32699 * math/e_atan2l.c: Likewise.
32700 * math/e_atanhl.c: Likewise.
32701 * math/e_coshl.c: Likewise.
32702 * math/e_exp10.c: Likewise.
32703 * math/e_exp10f.c: Likewise.
32704 * math/e_exp10l.c: Likewise.
32705 * math/e_exp2l.c: Likewise.
32706 * math/e_fmodl.c: Likewise.
32707 * math/e_gammal_r.c: Likewise.
32708 * math/e_hypotl.c: Likewise.
32709 * math/e_j0l.c: Likewise.
32710 * math/e_j1l.c: Likewise.
32711 * math/e_jnl.c: Likewise.
32712 * math/e_lgammal_r.c: Likewise.
32713 * math/e_log10l.c: Likewise.
32714 * math/e_log2l.c: Likewise.
32715 * math/e_logl.c: Likewise.
32716 * math/e_powl.c: Likewise.
32717 * math/e_sinhl.c: Likewise.
32718 * math/e_sqrtl.c: Likewise.
32719 * math/e_scalb.c: Completely rewritten and optimized.
32720 * math/e_scalbf.c: Likewise.
32721 * math/e_scalbl.c: Likewise.
32722 * math/w_acos.c: Likewise.
32723 * math/w_acosf.c: Likewise.
32724 * math/w_acosl.c: Likewise.
32725 * math/w_acosh.c: Likewise.
32726 * math/w_acoshf.c: Likewise.
32727 * math/w_acoshl.c: Likewise.
32728 * math/w_asin.c: Likewise.
32729 * math/w_asinf.c: Likewise.
32730 * math/w_asinl.c: Likewise.
32731 * math/w_atan2.c: Likewise.
32732 * math/w_atan2f.c: Likewise.
32733 * math/w_atan2l.c: Likewise.
32734 * math/w_atanh.c: Likewise.
32735 * math/w_atanhf.c: Likewise.
32736 * math/w_atanhl.c: Likewise.
32737 * math/w_exp10.c: Likewise.
32738 * math/w_exp10f.c: Likewise.
32739 * math/w_exp10l.c: Likewise.
32740 * math/w_fmod.c: Likewise.
32741 * math/w_fmodf.c: Likewise.
32742 * math/w_fmodl.c: Likewise.
32743 * math/w_j0.c: Likewise.
32744 * math/w_j0f.c: Likewise.
32745 * math/w_j0l.c: Likewise.
32746 * math/w_j1.c: Likewise.
32747 * math/w_j1f.c: Likewise.
32748 * math/w_j1l.c: Likewise.
32749 * math/w_jn.c: Likewise.
32750 * math/w_jnf.c: Likewise.
32751 * math/w_log.c: Likewise.
32752 * math/w_logf.c: Likewise.
32753 * math/w_logl.c: Likewise.
32754 * math/w_log10.c: Likewise.
32755 * math/w_log10f.c: Likewise.
32756 * math/w_log10l.c: Likewise.
32757 * math/w_log2.c: Likewise.
32758 * math/w_log2f.c: Likewise.
32759 * math/w_log2l.c: Likewise.
32760 * math/w_pow.c: Likewise.
32761 * math/w_powf.c: Likewise.
32762 * math/w_powl.c: Likewise.
32763 * math/w_remainder.c: Likewise.
32764 * math/w_remainderf.c: Likewise.
32765 * math/w_remainderl.c: Likewise.
32766 * math/w_scalb.c: Likewise.
32767 * math/w_scalbf.c: Likewise.
32768 * math/w_scalbl.c: Likewise.
32769 * math/w_sqrt.c: Likewise.
32770 * math/w_sqrtf.c: Likewise.
32771 * math/w_sqrtl.c: Likewise.
32772 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32773 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32774 used.
32775 * math/math_private.h: Declare __kernel_standard_f.
32776 * math/w_cosh.c: Remove cruft and optimize a bit.
32777 * math/w_coshf.c: Likewise.
32778 * math/w_coshl.c: Likewise.
32779 * math/w_exp2.c: Likewise.
32780 * math/w_exp2f.c: Likewise.
32781 * math/w_exp2l.c: Likewise.
32782 * math/w_hypot.c: Likewise.
32783 * math/w_hypotf.c: Likewise.
32784 * math/w_hypotl.c: Likewise.
32785 * math/w_lgamma.c: Likewise.
32786 * math/w_lgamma_r.c: Likewise.
32787 * math/w_lgammaf.c: Likewise.
32788 * math/w_lgammaf_r.c: Likewise.
32789 * math/w_lgammal.c: Likewise.
32790 * math/w_lgammal_r.c: Likewise.
32791 * math/w_sinh.c: Likewise.
32792 * math/w_sinhf.c: Likewise.
32793 * math/w_sinhl.c: Likewise.
32794 * math/w_tgamma.c: Likewise.
32795 * math/w_tgammaf.c: Likewise.
32796 * math/w_tgammal.c: Likewise.
32797 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32798 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32799 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32800 Minor optimizations. Pretty printing. Remove cruft.
32801 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32802 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32803 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32804 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32805 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32806 * sysdeps/i386/fpu/e_asin.S: Likewise.
32807 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32808 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32809 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32810 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32811 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32812 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32813 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32814 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32815 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32816 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32817 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32818 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32819 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32820 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32821 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32822 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32823 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32824 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32825 * sysdeps/i386/fpu/e_log.S: Likewise.
32826 * sysdeps/i386/fpu/e_log10.S: Likewise.
32827 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32828 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32829 * sysdeps/i386/fpu/e_log2.S: Likewise.
32830 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32831 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32832 * sysdeps/i386/fpu/e_logf.S: Likewise.
32833 * sysdeps/i386/fpu/e_logl.S: Likewise.
32834 * sysdeps/i386/fpu/e_pow.S: Likewise.
32835 * sysdeps/i386/fpu/e_powf.S: Likewise.
32836 * sysdeps/i386/fpu/e_powl.S: Likewise.
32837 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32838 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32839 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32840 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32841 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32842 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32843 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32844 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32845 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32846 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32847 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32849 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32850 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32851 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32852 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32853 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32854 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32855 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32856 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32857 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32859 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32860 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32862 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32863 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32864 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32866 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32867 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32868 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32869 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32870 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32871 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32872 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32873 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32874 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32875 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32876 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32877 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32878 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32879 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32880 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32881 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32882 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32883 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32884 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32885 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32886 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32887 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32888 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32889 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32890 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32891 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32892 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32893 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32894 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32895 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32896 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32897 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32898 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32899 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32900 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32901 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32902 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32903 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32904 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32905 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32906 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32907 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32908 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32909 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32910 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32911 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32912 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32913 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32914 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32915 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32916 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32917 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32918 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32920 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32921 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32922 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32923 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32924 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32925 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32926 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32927 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32928 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32929 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32930 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32931 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32932 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32933 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32934 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32935 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32936 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32937 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32939 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32940 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32941 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32942 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32943 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32944 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32945 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32946 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32947 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32948 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32949 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32950 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32951 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32952 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32953 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32954 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32955 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32956 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32957 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32958 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32959 (__isnanf): Likewise.
32960 (__isinf_ns): Likewise.
32961 (__isinf_nsf): Likewise.
32962 (__finite): Likewise.
32963 (__finitef): Likewise.
32964 (__ieee754_sqrt): Define as macro.
32965 (__ieee754_sqrtf): Define as macro.
32966 (__ieee754_sqrtl): Define as macro.
32967 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32968 inlined copy.
32969 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32970 __FINITE_MATH_ONLY__ consistent.
32971 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32972
12cc2fcd
AS
329732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32974
a843a204
AS
32975 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32976 of rawmemchr.
32977
12cc2fcd
AS
32978 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32979
c853acd5
UD
329802011-10-09 Ulrich Drepper <drepper@gmail.com>
32981
32982 * po/ja.po: Update from translation team.
32983
c658d255
RM
329842011-10-08 Roland McGrath <roland@hack.frob.com>
32985
110946e4
RM
32986 * locale/programs/locarchive.c (prepare_address_space): New function.
32987 (create_archive, enlarge_archive, open_archive): Use it.
32988
50604220
RM
32989 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32990 inside [SHARED], where it is used.
32991
c658d255
RM
32992 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32993
32994 * nss/getent.c (netgroup_keys): Remove unused variable.
32995 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32996
6a621eb7
UD
329972011-10-08 Ulrich Drepper <drepper@gmail.com>
32998
7edb55ce
UD
32999 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33000 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33002 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33003 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33004 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33005 * math/Makefile (libm-calls): Add s_isinf_ns.
33006 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33007 * math/multc3.c: Likewise.
33008 * math/s_casin.c: Likewise.
33009 * math/s_casinf.c: Likewise.
33010 * math/s_casinl.c: Likewise.
33011 * math/s_ccos.c: Likewise.
33012 * math/s_ccosf.c: Likewise.
33013 * math/s_ccosl.c: Likewise.
33014 * math/s_ctan.c: Likewise.
33015 * math/s_ctanf.c: Likewise.
33016 * math/s_ctanh.c: Likewise.
33017 * math/s_ctanhf.c: Likewise.
33018 * math/s_ctanhl.c: Likewise.
33019 * math/s_ctanl.c: Likewise.
33020 * math/w_fmod.c: Likewise.
33021 * math/w_fmodf.c: Likewise.
33022 * math/w_fmodl.c: Likewise.
33023 * math/w_remainder.c: Likewise.
33024 * math/w_remainderf.c: Likewise.
33025 * math/w_remainderl.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33027 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33028 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33030 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33031 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33032 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33033 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33034
187da0ae
UD
33035 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33036 of the number.
33037 * stdio-common/printf_fphex.c: Likewise.
33038 * stdio-common/printf_size.c: Likewise.
33039
9277c064
UD
33040 * math/e_exp10.c: Include math_private.h using <...> not "...".
33041 * math/e_exp10f.c: Likewise.
33042 * math/e_exp10l.c: Likewise.
33043 * math/e_exp2l.c: Likewise.
33044 * math/e_j0l.c: Likewise.
33045 * math/e_j1l.c: Likewise.
33046 * math/e_jnl.c: Likewise.
33047 * math/e_lgammal_r.c: Likewise.
33048 * math/e_rem_pio2l.c: Likewise.
33049 * math/e_scalb.c: Likewise.
33050 * math/e_scalbf.c: Likewise.
33051 * math/e_scalbl.c: Likewise.
33052 * math/k_cosl.c: Likewise.
33053 * math/k_sinl.c: Likewise.
33054 * math/k_tanl.c: Likewise.
33055 * math/s_cacoshf.c: Likewise.
33056 * math/s_catan.c: Likewise.
33057 * math/s_catanf.c: Likewise.
33058 * math/s_catanh.c: Likewise.
33059 * math/s_catanhf.c: Likewise.
33060 * math/s_catanhl.c: Likewise.
33061 * math/s_catanl.c: Likewise.
33062 * math/s_ccosh.c: Likewise.
33063 * math/s_ccoshf.c: Likewise.
33064 * math/s_ccoshl.c: Likewise.
33065 * math/s_cexp.c: Likewise.
33066 * math/s_cexpf.c: Likewise.
33067 * math/s_cexpl.c: Likewise.
33068 * math/s_clog.c: Likewise.
33069 * math/s_clog10.c: Likewise.
33070 * math/s_clog10f.c: Likewise.
33071 * math/s_clog10l.c: Likewise.
33072 * math/s_clogf.c: Likewise.
33073 * math/s_clogl.c: Likewise.
33074 * math/s_csin.c: Likewise.
33075 * math/s_csinf.c: Likewise.
33076 * math/s_csinh.c: Likewise.
33077 * math/s_csinhf.c: Likewise.
33078 * math/s_csinhl.c: Likewise.
33079 * math/s_csinl.c: Likewise.
33080 * math/s_csqrt.c: Likewise.
33081 * math/s_csqrtf.c: Likewise.
33082 * math/s_csqrtl.c: Likewise.
33083 * math/s_ctan.c: Likewise.
33084 * math/s_ctanf.c: Likewise.
33085 * math/s_ctanh.c: Likewise.
33086 * math/s_ctanhf.c: Likewise.
33087 * math/s_ctanhl.c: Likewise.
33088 * math/s_ctanl.c: Likewise.
33089 * math/s_ldexp.c: Likewise.
33090 * math/s_ldexpf.c: Likewise.
33091 * math/s_ldexpl.c: Likewise.
33092 * math/s_significand.c: Likewise.
33093 * math/s_significandf.c: Likewise.
33094 * math/s_significandl.c: Likewise.
33095 * math/w_acos.c: Likewise.
33096 * math/w_acosf.c: Likewise.
33097 * math/w_acosh.c: Likewise.
33098 * math/w_acoshf.c: Likewise.
33099 * math/w_acoshl.c: Likewise.
33100 * math/w_acosl.c: Likewise.
33101 * math/w_asin.c: Likewise.
33102 * math/w_asinf.c: Likewise.
33103 * math/w_asinl.c: Likewise.
33104 * math/w_atan2.c: Likewise.
33105 * math/w_atan2f.c: Likewise.
33106 * math/w_atan2l.c: Likewise.
33107 * math/w_atanh.c: Likewise.
33108 * math/w_atanhf.c: Likewise.
33109 * math/w_atanhl.c: Likewise.
33110 * math/w_cosh.c: Likewise.
33111 * math/w_coshf.c: Likewise.
33112 * math/w_coshl.c: Likewise.
33113 * math/w_dremf.c: Likewise.
33114 * math/w_exp10.c: Likewise.
33115 * math/w_exp10f.c: Likewise.
33116 * math/w_exp10l.c: Likewise.
33117 * math/w_exp2.c: Likewise.
33118 * math/w_exp2f.c: Likewise.
33119 * math/w_fmod.c: Likewise.
33120 * math/w_fmodf.c: Likewise.
33121 * math/w_fmodl.c: Likewise.
33122 * math/w_hypot.c: Likewise.
33123 * math/w_hypotf.c: Likewise.
33124 * math/w_hypotl.c: Likewise.
33125 * math/w_j0.c: Likewise.
33126 * math/w_j0f.c: Likewise.
33127 * math/w_j0l.c: Likewise.
33128 * math/w_j1.c: Likewise.
33129 * math/w_j1f.c: Likewise.
33130 * math/w_j1l.c: Likewise.
33131 * math/w_jn.c: Likewise.
33132 * math/w_jnf.c: Likewise.
33133 * math/w_jnl.c: Likewise.
33134 * math/w_lgamma.c: Likewise.
33135 * math/w_lgamma_r.c: Likewise.
33136 * math/w_lgammaf.c: Likewise.
33137 * math/w_lgammaf_r.c: Likewise.
33138 * math/w_lgammal.c: Likewise.
33139 * math/w_lgammal_r.c: Likewise.
33140 * math/w_log.c: Likewise.
33141 * math/w_log10.c: Likewise.
33142 * math/w_log10f.c: Likewise.
33143 * math/w_log10l.c: Likewise.
33144 * math/w_log2.c: Likewise.
33145 * math/w_log2f.c: Likewise.
33146 * math/w_log2l.c: Likewise.
33147 * math/w_logf.c: Likewise.
33148 * math/w_logl.c: Likewise.
33149 * math/w_pow.c: Likewise.
33150 * math/w_powf.c: Likewise.
33151 * math/w_powl.c: Likewise.
33152 * math/w_remainder.c: Likewise.
33153 * math/w_remainderf.c: Likewise.
33154 * math/w_remainderl.c: Likewise.
33155 * math/w_scalb.c: Likewise.
33156 * math/w_scalbf.c: Likewise.
33157 * math/w_scalbl.c: Likewise.
33158 * math/w_sinh.c: Likewise.
33159 * math/w_sinhf.c: Likewise.
33160 * math/w_sinhl.c: Likewise.
33161 * math/w_sqrt.c: Likewise.
33162 * math/w_sqrtf.c: Likewise.
33163 * math/w_sqrtl.c: Likewise.
33164 * math/w_tgamma.c: Likewise.
33165 * math/w_tgammaf.c: Likewise.
33166 * math/w_tgammal.c: Likewise.
33167
6a621eb7
UD
33168 * po/ja.po: Update from translation team.
33169
bf582445
AJ
331702011-09-29 Andreas Jaeger <aj@suse.de>
33171
f9efbf3a
AJ
33172 [BZ #13179]
33173 * sunrpc/netname.c (netname2host): Fix logic.
33174
bf582445
AJ
33175 [BZ #6779]
33176 [BZ #6783]
33177 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33178 correctly.
33179 * math/w_remainder.c (__remainder): Likewise.
33180 * math/w_remainderf.c (__remainderf): Likewise.
33181 * math/libm-test.inc (remainder_test): Add test cases.
33182
48693bea
AK
331832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33184
33185 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33186 sdiv_qrnnd.
33187
42622229
LD
331882011-10-07 Ulrich Drepper <drepper@gmail.com>
33189
33190 * string/test-memcmp.c: Avoid unncessary #defines.
33191 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33192
093ecf92
LD
331932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33194
33195 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33196 Use new sse2 version for core i3 - i7 as it's faster
33197 than sse42 version.
33198 (bit_Prefer_PMINUB_for_stringop): New.
33199 * sysdeps/x86_64/rawmemchr.S: Update.
33200 Replace with faster SSE2 version.
33201 * sysdeps/x86_64/memrchr.S: New file.
33202 * sysdeps/x86_64/memchr.S: Update.
33203 Replace with faster SSE2 version.
33204
fde56e5c
MP
332052011-09-12 Marek Polacek <mpolacek@redhat.com>
33206
33207 * elf/dl-load.c (lose): Add cast to avoid warning.
33208
21fd49a9
UD
332092011-10-07 Ulrich Drepper <drepper@gmail.com>
33210
5a06e643
UD
33211 * po/ca.po: Update from translation team.
33212
684ae515
UD
33213 * inet/getnetgrent_r.c: Hook up nscd.
33214 * nscd/Makefile (routines): Add nscd_netgroup.
33215 (nscd-modules): Add netgroupcache.
33216 (CFLAGS-netgroupcache.c): Define.
33217 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33218 (cache_search): Add const to second parameter.
33219 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33220 INNETGR.
33221 (dbs): Add netgrdb entry.
33222 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33223 (verify_persistent_db): Handle netgrdb.
33224 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33225 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33226 GETFDNETGR.
33227 (netgroup_response_header): Define.
33228 (innetgroup_response_header): Define.
33229 (datahead): Add netgroup_response_header and innetgroup_response_header
33230 elements.
33231 * nscd/nscd.conf: Add entries for netgroup cache.
33232 * nscd/nscd.h (dbtype): Add netgrdb.
33233 (_PATH_NSCD_NETGROUP_DB): Define.
33234 (netgroup_iov_disabled): Declare.
33235 (xmalloc, xcalloc, xrealloc): Move declarations here.
33236 (cache_search): Adjust prototype.
33237 Add netgroup-related prototypes.
33238 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33239 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33240 (__nscd_innetgr): Declare.
33241 * nscd/selinux.c (perms): Use access_vector_t as element type and
33242 add netgroup-related initializers.
33243 * nscd/netgroupcache.c: New file.
33244 * nscd/nscd_netgroup.c: New file.
33245 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33246 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33247 For four parameters use innetgr.
33248 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33249 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33250 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33251 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33252
21fd49a9
UD
33253 * nscd/connections.c (register_traced_file): Don't register file
33254 for disabled databases.
33255
054c0457
UD
332562011-10-06 Ulrich Drepper <drepper@gmail.com>
33257
32b63198
UD
33258 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33259
054c0457
UD
33260 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33261 from tree and freeing node.
33262
64031225
JO
332632011-09-25 Jiri Olsa <jolsa@redhat.com>
33264
33265 * nss/nsswitch.c (__nss_database_lookup): Handle
33266 nss_parse_service_list out of memory case.
33267
0490345c
JO
332682011-09-15 Jiri Olsa <jolsa@redhat.com>
33269
33270 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33271 out of memory case.
33272
3a62d00d
AS
332732011-10-04 Andreas Schwab <schwab@redhat.com>
33274
33275 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33276 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33277 pass it down.
33278 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33279 elf_machine_rela, elf_machine_lazy_rel.
33280 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33281 (ELF_DYNAMIC_DO_REL): Likewise.
33282 (ELF_DYNAMIC_DO_RELA): Likewise.
33283 (ELF_DYNAMIC_RELOCATE): Likewise.
33284 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33285 to ELF_DYNAMIC_DO_REL.
33286 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33287 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33288 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33289 elf_machine_rela.
33290 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33291 skip_ifunc, don't call ifunc function if non-zero.
33292 (elf_machine_rela): Likewise.
33293 (elf_machine_lazy_rel): Likewise.
33294 (elf_machine_lazy_rela): Likewise.
33295 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33296 (elf_machine_lazy_rel): Likewise.
33297 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33298 Likewise.
33299 (elf_machine_lazy_rel): Likewise.
33300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33301 Likewise.
33302 (elf_machine_lazy_rel): Likewise.
33303 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33304 (elf_machine_lazy_rel): Likewise.
33305 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33306 (elf_machine_lazy_rel): Likewise.
33307 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33308 (elf_machine_lazy_rel): Likewise.
33309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33310 (elf_machine_lazy_rel): Likewise.
33311 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33312 (elf_machine_lazy_rel): Likewise.
33313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33314 (elf_machine_lazy_rel): Likewise.
33315
68577918
UD
333162011-09-28 Ulrich Drepper <drepper@gmail.com>
33317
33318 * nss/nss_files/files-init.c (_nss_files_init): Use static
33319 initialization for all the *_traced_file variables.
33320
68822d74
AS
333212011-09-28 Andreas Schwab <schwab@redhat.com>
33322
33323 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33324
2056100b
RM
333252011-09-27 Roland McGrath <roland@hack.frob.com>
33326
33327 [BZ #13226]
33328 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33329
32c76b63
AS
333302011-09-27 Andreas Schwab <schwab@redhat.com>
33331
33332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33333 Reread the line before reparsing it.
33334
bf972c9d
AS
333352011-09-26 Andreas Schwab <schwab@redhat.com>
33336
33337 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33338
e057a1b5
JM
333392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33340 Maxim Kuvyrkov <maxim@codesourcery.com>
33341 Joseph Myers <joseph@codesourcery.com>
33342
33343 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33344 if needed for __stack_chk_guard.
33345
bc7e1c36
RM
333462011-09-19 Roland McGrath <roland@hack.frob.com>
33347
ecb1482f
RM
33348 * sysdeps/posix/spawni.c (script_execute): Always define it.
33349 It will be optimized away if unused.
33350 (maybe_script_execute): New function.
33351 (__spawni): Call it.
33352
bc7e1c36
RM
33353 * Makerules: Don't include tls.make.
33354 (config-tls): Always set to thread.
33355 * tls.make.c: File removed.
33356
1c3b002b
MF
333572011-09-19 Mike Frysinger <vapier@gentoo.org>
33358
33359 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33360 * config.make.in (CPPFLAGS-config): New substituted variable.
33361
2840865d
UD
333622011-09-15 Ulrich Drepper <drepper@gmail.com>
33363
88738eb6
UD
33364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33365
cbf645a6 33366 [BZ #13192]
2840865d
UD
33367 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33368 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33369
b402e91a
RM
333702011-09-15 Roland McGrath <roland@hack.frob.com>
33371
33372 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33373 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33375 (CALL_FAIL): Likewise.
33376 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33377 (CALL_FAIL): Macro removed.
33378 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33379
4c1a1f71
UD
333802011-09-15 Ulrich Drepper <drepper@gmail.com>
33381
33382 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33383 for __FINITE_MATH_ONLY__ == 1.
33384
edc121be
AS
333852011-09-15 Andreas Schwab <schwab@redhat.com>
33386
33387 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33388 __ieee754_sqrt instead of sqrt.
33389 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33390 __ieee754_sqrtf instead of sqrtf.
33391 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33392 __floorf instead of floorf.
33393 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33394 __floorf, __truncf instead of floorf, truncf.
33395
cd205654
UD
333962011-09-14 Ulrich Drepper <drepper@gmail.com>
33397
ee4d0315
UD
33398 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33399
cd205654
UD
33400 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33401 __extern_always_inline.
33402 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33403 32-bit.
33404
48b67d71
AS
334052011-09-14 Andreas Schwab <schwab@redhat.com>
33406
33407 * elf/rtld.c (dl_main): Also relocate in dependency order when
33408 doing symbol dependency testing.
33409
1ae12c75
AS
334102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33411
33412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33413 Always define `refsym'.
33414
995a80df
AS
334152011-09-13 Andreas Schwab <schwab@redhat.com>
33416
e529793b
AS
33417 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33418 (__FD_ELT): Renamed from __FDELT.
33419 * misc/bits/select2.h (__FD_ELT): Likewise.
33420 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33421 __FD_MASK instead of __FDELT, __FDMASK.
33422 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33423 Likewise.
33424 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33425 Likewise.
33426
52d4fef8
AS
33427 * elf/Makefile (gen-ldd): Fix pattern.
33428
995a80df
AS
33429 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33430 (init_tls): Likewise.
33431
8682f8b0
UD
334322011-09-12 Ulrich Drepper <drepper@gmail.com>
33433
33434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33435
de82006d
AS
334362011-09-12 Andreas Schwab <schwab@redhat.com>
33437
a7c8e6a1
AS
33438 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33439 `struct cmsghdr *' instead of `void *'.
33440 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33441 Likewise.
33442
0f31fe77
AS
334432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33444
33445 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33446 if non-absolute.
33447 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33448 ldd_rewrite_script.
0f31fe77 33449
32b4c839
UD
334502011-09-11 Ulrich Drepper <drepper@gmail.com>
33451
83cd1420
UD
33452 * configure.in: Remove --with-tls option.
33453 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33454 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33455 out in case it is missing.
33456 * sysdeps/ia64/elf/configure.in: Likewise.
33457 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33458 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33459 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33460 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33461 * sysdeps/sh/elf/configure.in: Likewise.
33462 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33463 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33464 * sysdeps/x86_64/elf/configure.in: Likewise.
33465 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33466 * sysdeps/mach/hurd/tls.h: Likewise.
33467
633f745d
UD
33468 [BZ #13067]
33469 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33470
f318beb8
UD
33471 [BZ #13090]
33472 * configure.in: Fix use of AC_INIT.
33473
32b4c839
UD
33474 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33475
3ce1f295
UD
334762011-09-10 Ulrich Drepper <drepper@gmail.com>
33477
bb016596
UD
33478 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33479 __set_errno.
8e58439c
UD
33480 * malloc/hooks.c: Likewise.
33481
aebae053 33482 [BZ #11929]
02d46fc4
UD
33483 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33484 variables statically.
33485 (narenas): Initialize.
33486 (list_lock): Initialize.
bb016596
UD
33487 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33488 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33489 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33490 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33491 Add initializers to main_arena and mp_.
33492 (malloc_state): Remove pagesize member. Change all users to use
33493 GLRO(dl_pagesize).
33494
33495 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33496 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33497 is always initialized.
33498
22a89187
UD
33499 * malloc/malloc.c: Removed unused configurations and dead code.
33500 * malloc/arena.c: Likewise.
33501 * malloc/hooks.c: Likewise.
02d46fc4 33502 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33503
d063d164
UD
33504 * include/tls.h: Removed. USE___THREAD must always be defined.
33505 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33506 * elf/dl-libc.c: Likewise.
33507 * elf/dl-tsd.c: Likewise.
33508 * include/errno.h: Likewise.
33509 * include/netdb.h: Likewise.
33510 * include/resolv.h: Likewise.
33511 * inet/herrno-loc.c: Likewise.
33512 * inet/herrno.c: Likewise.
33513 * malloc/arena.c: Likewise.
33514 * malloc/hooks.c: Likewise.
33515 * malloc/malloc.c: Likewise.
33516 * resolv/res-state.c: Likewise.
33517 * resolv/res_libc.c: Likewise.
33518 * sysdeps/i386/dl-machine.h: Likewise.
33519 * sysdeps/ia64/dl-machine.h: Likewise.
33520 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33521 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33522 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33523 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33524 * sysdeps/sh/dl-machine.h: Likewise.
33525 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33526 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33527 * sysdeps/unix/i386/sysdep.S: Likewise.
33528 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33529 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33530 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33534 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33535 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33538 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33539 * sysdeps/x86_64/dl-machine.h: Likewise.
33540 * tls.make.c: Likewise.
33541
3ce1f295
UD
33542 * configure.in: Remove --with-__thread option. Make tests for
33543 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33544 tls_model attribute fail if no support is available. Remove
33545 USE_IN_LIBIO.
33546 * Makeconfig: Adjust for dropped configure option. All features are
33547 now mandatory.
33548 * Makerules: Likewise.
33549 * Versions.def: Likewise.
33550 * argp/argp-fmtstream.c: Likewise.
33551 * argp/argp-fmtstream.h: Likewise.
33552 * argp/argp-help.c: Likewise.
33553 * assert/assert.c: Likewise.
33554 * config.h.in: Likewise.
33555 * config.make.in: Likewise.
33556 * configure: Likewise.
33557 * configure.in: Likewise.
33558 * csu/Versions: Likewise.
33559 * csu/init.c: Likewise.
33560 * elf/tst-audit2.c: Likewise.
33561 * elf/tst-tls10.c: Likewise.
33562 * elf/tst-tls10.h: Likewise.
33563 * elf/tst-tls11.c: Likewise.
33564 * elf/tst-tls12.c: Likewise.
33565 * elf/tst-tls14.c: Likewise.
33566 * elf/tst-tlsmod11.c: Likewise.
33567 * elf/tst-tlsmod12.c: Likewise.
33568 * elf/tst-tlsmod13.c: Likewise.
33569 * elf/tst-tlsmod13a.c: Likewise.
33570 * elf/tst-tlsmod14a.c: Likewise.
33571 * elf/tst-tlsmod15b.c: Likewise.
33572 * elf/tst-tlsmod16a.c: Likewise.
33573 * elf/tst-tlsmod16b.c: Likewise.
33574 * elf/tst-tlsmod7.c: Likewise.
33575 * elf/tst-tlsmod8.c: Likewise.
33576 * elf/tst-tlsmod9.c: Likewise.
33577 * gmon/gmon.c: Likewise.
33578 * grp/fgetgrent_r.c: Likewise.
33579 * grp/putgrent.c: Likewise.
33580 * hurd/fopenport.c: Likewise.
33581 * include/libc-symbols.h: Likewise.
33582 * include/tls.h: Likewise.
33583 * intl/gettextP.h: Likewise.
33584 * intl/loadinfo.h: Likewise.
33585 * locale/global-locale.c: Likewise.
33586 * locale/localeinfo.h: Likewise.
33587 * mach/devstream.c: Likewise.
33588 * malloc/arena.c: Likewise.
33589 * malloc/set-freeres.c: Likewise.
33590 * misc/err.c: Likewise.
33591 * misc/getttyent.c: Likewise.
33592 * misc/mntent_r.c: Likewise.
33593 * posix/getopt.c: Likewise.
33594 * posix/wordexp.c: Likewise.
33595 * pwd/fgetpwent_r.c: Likewise.
33596 * resolv/Versions: Likewise.
33597 * resolv/res_hconf.c: Likewise.
33598 * shadow/fgetspent_r.c: Likewise.
33599 * shadow/putspent.c: Likewise.
33600 * stdio-common/printf_fphex.c: Likewise.
33601 * stdio-common/tmpfile.c: Likewise.
33602 * stdlib/abort.c: Likewise.
33603 * stdlib/fmtmsg.c: Likewise.
33604 * sunrpc/auth_unix.c: Likewise.
33605 * sunrpc/clnt_perr.c: Likewise.
33606 * sunrpc/clnt_tcp.c: Likewise.
33607 * sunrpc/clnt_udp.c: Likewise.
33608 * sunrpc/clnt_unix.c: Likewise.
33609 * sunrpc/openchild.c: Likewise.
33610 * sunrpc/svc_simple.c: Likewise.
33611 * sunrpc/svc_tcp.c: Likewise.
33612 * sunrpc/svc_udp.c: Likewise.
33613 * sunrpc/svc_unix.c: Likewise.
33614 * sunrpc/xdr.c: Likewise.
33615 * sunrpc/xdr_array.c: Likewise.
33616 * sunrpc/xdr_rec.c: Likewise.
33617 * sunrpc/xdr_ref.c: Likewise.
33618 * sunrpc/xdr_stdio.c: Likewise.
33619
1248c1c4
PB
336202011-09-09 Ulrich Drepper <drepper@gmail.com>
33621
33622 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33623
336242011-07-03 Andreas Jaeger <aj@suse.de>
33625
33626 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33627 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33628 regenerate with gen-libm-tests.pl.
33629
336302010-05-12 Petr Baudis <pasky@suse.cz>
33631
33632 [BZ #11589]
33633 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33634 around j0() zero points by switching to j1().
33635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33639
f22e1074
UD
336402011-09-09 Ulrich Drepper <drepper@gmail.com>
33641
f19009c1
UD
33642 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33643 instead of 0.
33644 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33645 instead of 0.
f19009c1
UD
33646 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33647 Patch in part by Pavel Roskin <proski@gnu.org>.
33648
3f8cc204
UD
33649 [BZ #13138]
33650 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33651 realloc.
33652 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33653 Free memory block if necessary.
33654
f22e1074
UD
33655 [BZ #12847]
33656 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33657 be NULL. Don't lock in this case.
33658
0a2349f9
RM
336592011-09-09 Roland McGrath <roland@hack.frob.com>
33660
33661 * elf/elf.h (ELFOSABI_GNU): New macro.
33662 (ELFOSABI_LINUX): Define to that.
33663
f3cdd467
DZ
336642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33665
33666 * string/strncat.c (strncat): Undef the symbol in case it has been
33667 defined in bits/string.h.
33668
74718d13
UD
336692011-09-09 Ulrich Drepper <drepper@gmail.com>
33670
633e9e0f
UD
33671 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33672
0a2349f9 33673 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33674 link map.
33675
f9924780
AJ
336762011-08-17 Andreas Jaeger <aj@suse.de>
33677
33678 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33679
7f5517aa
PP
336802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33681 Ian Lance Taylor <iant@google.com>
33682
33683 * math/libm-test.inc (lround_test): New testcase.
33684 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33685
762011fe
UD
336862011-09-08 Ulrich Drepper <drepper@gmail.com>
33687
92963737
UD
33688 * Makefile: Remove support for automatic cvs check-ins.
33689 * Makerules: Likewise.
33690 * config.make.in: Likewise.
33691 * configure.in: Likewise.
33692 * intl/Makefile: Likewise.
33693 * locale/Makefile: Likewise.
33694 * po/Makefile: Likewise.
33695 * posix/Makefile: Likewise.
33696 * sysdeps/gnu/Makefile: Likewise.
33697 * sysdeps/mach/hurd/Makefile: Likewise.
33698 * sysdeps/sparc/sparc32/Makefile: Likewise.
33699
b0727fd8
JS
33700 [BZ #13118]
33701 * posix/Makefile (bug-regex32-ENV): Define.
33702 Patch by John Stanley <jpsinthemix@verizon.net>.
33703
a0f33f99
UD
33704 * misc/Makefile (headers): Add bits/select2.h.
33705 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33706 * misc/bits/select2.h: New file.
33707 * include/bits/select2.h: New file.
33708 * debug/Makefile (routines): Add fdelt_chk.
33709 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33710 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33711 FD_ISSET.
33712 * debug/fdelt_chk.c: New file.
33713
762011fe
UD
33714 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33715 * wcsmbs/test-wmemcmp.c: Likewise.
33716 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33717 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33718
337192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33720
33721 * string/Makefile (strop-tests): Add memcmp.
33722 * string/test-wmemcmp.c: New file.
33723 * string/test-memcmp.c: Add wmemcmp support.
33724
7f513ec8
RM
337252011-09-08 Roland McGrath <roland@hack.frob.com>
33726
0442afb4
RM
33727 [BZ #13153]
33728 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33729 2011-07-19 change.
33730
7f513ec8
RM
33731 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33732 garbage value in a __mach_port_mod_refs call in the cases of the
33733 task-self and thread-self ports.
33734
a12b2239
ST
337352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33736
33737 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33738
610f9ab4
AS
337392011-09-08 Andreas Schwab <schwab@redhat.com>
33740
7f513ec8 33741 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33742
48882a1a
LD
337432011-09-07 Ulrich Drepper <drepper@gmail.com>
33744
b49865be
UD
33745 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33746
fdc86bc9
UD
33747 * elf/dl-libc.c (dlerror_run): Pass back error code from
33748 dl_catch_error.
33749
c966526a
UD
33750 [BZ #13123]
33751 * elf/dl-load.c (lose): Free l_origin if it is valid.
33752
48882a1a
LD
33753 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33754 names.
33755 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33756 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33759 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33760 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33761
77a2a8b4
AZ
337622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33763
33764 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33765 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33766 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33767 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33768 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33769 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33770 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33771 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33772 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33773 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33774
24f579d8
AM
337752011-08-15 Alan Modra <amodra@gmail.com>
33776
33777 [BZ #13092]
33778 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33779 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33780 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33781 ppc_mcount to static-only-routines.
33782 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33783 __mcount_internal.
33784 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33785 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33786
3d4837df
UD
337872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33788
33789 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33790 for finite and infinity parameters.
33791
22700377
WS
337922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33793
33794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33795 and add nop instructions for throughput optimization.
33796 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33797
5025581e
WS
337982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33799
33800 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33801 aligned copy for power7 with vector-scalar instructions.
33802 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33803
08a300c9
L
338042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33805
33806 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33807 AVX check.
33808
59178ef9
AS
338092011-09-07 Andreas Schwab <schwab@redhat.com>
33810
33811 [BZ #13144]
33812 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33813 last change.
33814
e38ba7ab
UD
338152011-09-07 Ulrich Drepper <drepper@gmail.com>
33816
33817 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33818 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33819 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33820 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33821 clock_gettime.
33822
d53a73ac
UD
338232011-09-06 Ulrich Drepper <drepper@gmail.com>
33824
fc8bffcc
UD
33825 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33826 Forgot to demangle the pointer.
33827
ceaa0c5d
UD
33828 * sysdeps/i386/sysdep.h: Define atom_text_section.
33829 * sysdeps/x86_64/sysdep.h: Likewise.
33830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33831 section with atom_text_section.
33832 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33833 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33834 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33835 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33836 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33837
a77d3c17
UD
33838 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33839 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33840 already be defined. Change to take two parameters and don't assign
33841 result to variable. Adjust all users.
33842 Define INTERNAL_GETTIME if not already defined.
33843 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33844 call.
33845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33846 HAVE_CLOCK_GETTIME_VSYSCALL.
33847 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33848
d53a73ac
UD
33849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33850 gettimeofday vsyscall, just use time.
33851
a8f84144
AS
338522011-09-06 Andreas Schwab <schwab@redhat.com>
33853
33854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33855 <errno.h>.
33856
ef606249
UD
338572011-09-06 Ulrich Drepper <drepper@gmail.com>
33858
33859 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33860 syscall on x86-64.
33861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33862 syscall.
33863 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33864 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33865 syscall if possible.
33866
6585cb60
UD
338672011-09-05 Ulrich Drepper <drepper@gmail.com>
33868
33869 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33870 e_ident. Don't pass to find_mapsXX.
33871 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33872
a5f524e4
LD
338732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33874
33875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33876 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33877 * sysdeps/x86_64/multiarch/strchr.S: Update.
33878 Check bit_slow_BSF bit.
33879 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33880 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33881 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33882
554881ef
UD
338832011-09-05 Ulrich Drepper <drepper@gmail.com>
33884
d96de963
UD
33885 [BZ #13134]
33886 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33887 before glibc 2.15.
33888 (tryshell): Define.
33889 (__spawni): Change last parameter to be flag. Test
33890 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33891 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33892 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33893 * posix/spawni.c: Likewise.
33894 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33895 * posix/spawnp.c: Likewise. Change normal version to use
33896 SPAWN_XFLAGS_USE_PATH.
33897 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33898 SPAWN_XFLAGS_TRY_SHELL.
33899
d48e5868
UD
33900 [BZ #13150]
33901 * posix/glob.h: Remove gcc 1.x support.
33902
554881ef
UD
33903 [BZ #13068]
33904 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33905
693fb948
LD
339062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33907
33908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33909 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33910 strrchr-sse2-bsf
33911 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33912 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33913 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33914 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33915 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33917
1b48c537
UD
339182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33919
49d42c37
UD
33920 * sysdeps/x86_64/wcscmp.S: New file.
33921
1b48c537
UD
33922 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33923 wcscmp-c wcscmp-sse2
33924 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33925 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33926 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33927 * wcsmbs/wcscmp.c: Allow renaming.
33928
15c95c5d
DM
339292011-09-05 David S. Miller <davem@davemloft.net>
33930
33931 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33932 stack slot, rather than the struct return pointer slot.
33933 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33934 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33936 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33937
2f0ad8f3
UD
339382011-09-05 Ulrich Drepper <drepper@gmail.com>
33939
d88ae418
UD
33940 * po/ja.po: Update from translation team.
33941
2f0ad8f3
UD
33942 [BZ #13144]
33943 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33944 kernel in 64-bit binaries.
33945
5f4318d1
DM
339462011-09-01 David S. Miller <davem@davemloft.net>
33947
33948 * elf/elf.h (HWCAP_SPARC_*): Move to..
33949 * sysdeps/sparc/sysdep.h: this new file and add new values.
33950 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33951 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33952 _DL_HWCAP_COUNT to 24.
33953 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33954 entries.
33955 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33956 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33957 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33959 instead of magic constants.
33960 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33961
3ba57516
DM
339622011-08-31 David S. Miller <davem@davemloft.net>
33963
33964 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33966 Reimplement to do errno handling inline.
33967 (SYSCALL_ERROR_HANDLER): New macro.
33968 (__SYSCALL_STRING): Do not do errno handling in asm.
33969 (__CLONE_SYSCALL_STRING): Delete.
33970 (__INTERNAL_SYSCALL_STRING): Delete.
33971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33972 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33973 (PSEUDO): Reimplement to do errno handling inline.
33974 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33975 (SYSCALL_ERROR_HANDLER): New macro.
33976 (__SYSCALL_STRING): Do not do errno handling in asm.
33977 (__CLONE_SYSCALL_STRING): Delete.
33978 (__INTERNAL_SYSCALL_STRING): Delete.
33979 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33980 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33981 i386.
33982 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33983 (inline_syscall*): Add 'err' argument.
33984 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33985 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33986 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33987 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33988
33989 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33990 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33991
2bc17433
AS
339922011-08-30 Andreas Schwab <schwab@redhat.com>
33993
33994 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33995
fbeb5f4d
JO
339962011-08-29 Jiri Olsa <jolsa@redhat.com>
33997
33998 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33999 directive.
34000
ad69cc26
DM
340012011-08-24 David S. Miller <davem@davemloft.net>
34002
34003 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34004
39dd69df
AS
340052011-08-24 Andreas Schwab <schwab@redhat.com>
34006
34007 * elf/Makefile: Add rules to build and run unload8 test.
34008 * elf/unload8.c: New file.
34009 * elf/unload8mod1.c: New file.
34010 * elf/unload8mod1x.c: New file.
34011 * elf/unload8mod2.c: New file.
34012 * elf/unload8mod3.c: New file.
34013
34014 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34015 it wasn't used.
34016
2c0b250a
DM
340172011-08-23 David S. Miller <davem@davemloft.net>
34018
34019 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34020 subtract stack bias.
34021 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34022 %sp not %fp in calculations.
34023 (_JMPBUF_UNWINDS_ADJ): Likewise.
34024
22044b48
DM
34025 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34026 (aio_suspend): Call it to force an exception region around the
34027 AIO_MISC_WAIT() invocation.
34028
2cae4995
AS
340292011-08-23 Andreas Schwab <schwab@redhat.com>
34030
34031 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34032 backslash.
34033
873a772e
AJ
340342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34035
34036 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34037 protection macro.
34038 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34039 and <dl-machine.h>.
34040 (Elf64_FuncDesc): Remove.
34041
25ad0df1
DM
340422011-08-22 David S. Miller <davem@davemloft.net>
34043
34044 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34045 sigaltstack check, add missing cfi directives.
34046 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34047 missing cfi directives, and sigaltstack handling.
34048
e888bcbe
AS
340492011-08-16 Andreas Schwab <schwab@redhat.com>
34050
34051 [BZ #11724]
34052 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34053 object is seen twice.
34054 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34055
34056 * elf/Makefile (distribute): Add tst-initorder2.c.
34057 (tests): Add tst-initorder2.
34058 (modules-names): Add tst-initorder2a tst-initorder2b
34059 tst-initorder2c tst-initorder2d. Add rules to build them.
34060 ($(objpfx)tst-initorder2.out): New rule.
34061 * elf/tst-initorder2.c: New file.
34062 * elf/tst-initorder2.exp: New file.
34063
87162f46
AS
340642011-08-22 Andreas Schwab <schwab@redhat.com>
34065
70538b7f
AS
34066 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34067
f55ffe58
AS
34068 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34069 dependencies back to end of function.
34070
87162f46
AS
34071 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34072 $(elfobjdir)/ld.so.
34073
91b392a4
UD
340742011-08-21 Ulrich Drepper <drepper@gmail.com>
34075
34076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34077 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34079 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34080 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34081 of __vdso_gettimeofday.
34082 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34083 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34084 attribute_hidden.
34085 (_libc_vdso_platform_setup): Remove initialization of
34086 __vdso_gettimeofday and __vdso_time.
34087
5c43483f
UD
340882011-08-20 Ulrich Drepper <drepper@gmail.com>
34089
775a77e7
UD
34090 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34091 and fgetc_unlocked.
34092 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34093 getc_unlocked.
89f447ed 34094
49c74ba9
UD
34095 * elf/dl-open.c (add_to_global): Report additions to the global scope
34096 for LD_DEBUG=scopes.
34097 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34098 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34099
5c43483f
UD
34100 [BZ #13114]
34101 * stdio-common/Makefile (tests): Add bug24.
34102 * stdio-common/bug24.c: New file.
34103
a101b025
AJ
341042011-08-19 Andreas Jaeger <aj@suse.de>
34105
34106 [BZ #13114]
34107 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34108 non-existant file when using close-on-exec mode.
34109
c88f1766
UD
341102011-08-20 Ulrich Drepper <drepper@gmail.com>
34111
0276a718
UD
34112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34113 the very first instruction.
34114
c88f1766
UD
34115 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34116 the CFI state in the end.
34117 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34118 inclusion of dl-trampoline.h.
34119 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34120
51ccffa0
AS
341212011-08-19 Andreas Schwab <schwab@redhat.com>
34122
94d7165f
AS
34123 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34124 expectations for long double.
34125
51ccffa0
AS
34126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34127 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34128
fd708658 341292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34130
34131 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34132 artificual limit depends upon the system page size.
34133
44f0a71e
UD
341342011-08-17 Ulrich Drepper <drepper@gmail.com>
34135
34136 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34137 * resolv/Makefile: Define CFLAGS-libresolv.
34138
8de79a24
AS
341392011-08-17 Andreas Schwab <schwab@redhat.com>
34140
34141 * nss/makedb.c (compute_tables): Make variables used in nested
34142 function static.
34143
27724598
UD
341442011-08-17 Ulrich Drepper <drepper@gmail.com>
34145
c5305d88
UD
34146 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34147 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34148 if buffer was too small.
34149
27724598
UD
34150 * elf/pldd.c (main): Attach to all threads in the process.
34151 Rewrite /proc handling to use *at functions.
34152
076fe015
UD
341532011-08-16 Ulrich Drepper <drepper@gmail.com>
34154
174baab3
UD
34155 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34156 specifies first scope to show.
34157 (dl_open_worker): Update callers. Move printing scope of new
34158 object to before the relocation.
44f0a71e 34159 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34160 * sysdeps/generic/ldsodefs.h: Update declaration.
34161
076fe015
UD
34162 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34163 string for the scope number.
34164
a60df2c3
UD
341652011-08-14 Ulrich Drepper <drepper@gmail.com>
34166
34167 * nscd/servicescache.c (cache_addserv): Make sure written is always
34168 initialized.
34169
5e4287d1
RM
341702011-08-14 Roland McGrath <roland@hack.frob.com>
34171
85ae0589
RM
34172 * sysdeps/i386/i486/bits/atomic.h
34173 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34174 statement expression, so as to suppress "set but not used" warning.
34175 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34176
69f63097
RM
34177 * string/strncat.c (STRNCAT): Use prototype definition.
34178
675456ef
RM
34179 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34180 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34181 -Iprograms here.
34182 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34183 (localedef-modules): Add localedef.
34184 (locale-modules): Add locale.
34185
5e4287d1
RM
34186 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34187 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34188 to avoid a warning.
34189
9c96ff23
DM
341902011-08-14 David S. Miller <davem@davemloft.net>
34191
34192 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34193 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34194
f9ddf089
UD
341952011-08-13 Ulrich Drepper <drepper@gmail.com>
34196
44f0a71e 34197 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34198 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34199 * elf/rtld.c (dl_main): Set l_name of vDSO.
34200 Call _dl_show_scope when DL_DEBUG_SCOPES.
34201 (process_dl_debug): Recognize scopes flag and also set it for all.
34202 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34203 Declare _dl_show_scope.
34204
1dc27704
UD
34205 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34206 (do_dlopen): Pass caller_dlopen to dl_open.
34207 (__libc_dlopen_mode): Initialize caller_dlopen.
34208
f9ddf089
UD
34209 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34210 of libc. Make tolower call locale-independent. Optimize a bit by
34211 using isdigit instead of isalnum.
34212 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34213
9ac533d3
UD
342142011-08-12 Ulrich Drepper <drepper@gmail.com>
34215
34216 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34217 was a dependency or dynamically loaded.
34218
89edf2e9
UD
342192011-08-11 Ulrich Drepper <drepper@gmail.com>
34220
8e999d29
UD
34221 * intl/l10nflist.c: Allow architecture-specific pop function.
34222 * sysdeps/x86_64/l10nflist.c: New file.
34223
89edf2e9
UD
34224 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34225 classification.
34226
14d96785
AS
342272011-08-10 Andreas Schwab <schwab@redhat.com>
34228
34229 * include/dirent.h: Add libc_hidden_proto for scandirat and
34230 scandirat64. Don't declare __scandirat64.
34231 * dirent/scandirat.c: Add libc_hidden_def.
34232 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34233 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34234
6761ac04
DM
342352011-08-10 David S. Miller <davem@davemloft.net>
34236
34237 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34238 enum.
34239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34240 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34241 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34242
c55fbd1e
UD
342432011-08-09 Ulrich Drepper <drepper@gmail.com>
34244
34245 * Versions.def [libc]: Add GLIBC_2.15.
34246 * dirent/Makefile (routines): Add scandirat and scandirat64.
34247 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34248 GLIBC_2.15.
34249 * dirent/dirent.h: Declare scandirat and scandirat64.
34250 * dirent/scandirat.c: New file.
34251 * dirent/scandirat64.c: New file.
34252 * sysdeps/wordsize-64/scandirat.c: New file.
34253 * sysdeps/wordsize-64/scandirat64.c: New file.
34254 * dirent/opendir.c: Define opendirat.
34255 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34256 using scandirat.
34257 * dirent/scandir64.c: Adjust for scandir.c change.
34258 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34259 __scandirat64, and __scandir_cancel_handler.
34260 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34261 additional parameter and use openat instead of open (outside of ld.so).
34262 Add new __opendir as wrapper around __opendirat.
34263 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34264 here without requiring old scandirat implementation.
34265
879165f2
UD
342662011-08-08 Ulrich Drepper <drepper@gmail.com>
34267
34268 * dirent/scandir.c (cancel_handler): Renamed to
34269 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34270 defined. Adjust users.
34271 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34272 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34273
cb7e923b
UD
342742011-08-04 Ulrich Drepper <drepper@gmail.com>
34275
16292edd
UD
34276 * string/test-string.h (IMPL): Use __STRING to expand name and then
34277 stringify it.
34278
cb7e923b
UD
34279 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34280 of cleanups.
34281
cff82933
LD
342822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34283
34284 * string/Makefile: Update.
34285 (strop-tests): Append strncat.
34286 * string/test-wcscmp.c: New file.
34287 New comprehensive test for wcscmp.
34288 * string/test-strcmp.c: Update.
34289 (WIDE): New define.
34290
9be9bfcc
AS
342912011-07-22 Andreas Schwab <schwab@redhat.com>
34292
34293 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34294 line.
34295
2e96f1c7
AS
342962011-07-26 Andreas Schwab <schwab@redhat.com>
34297
34298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34299 encoding to ACE if AI_IDN.
34300
85188888
JJ
343012011-08-01 Jakub Jelinek <jakub@redhat.com>
34302
34303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34304 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34305
5fa16e9b
LD
343062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34307
34308 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34309 Fix overflow bug in strncat.
34310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34311
34312 * string/test-strncat.c: Update.
34313 Add new tests for checking overflow bugs.
34314
343152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34316
34317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34318 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34319 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34320 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34321 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34322 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34323 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34324 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34325 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34326
34327 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34328 (USE_AS_STRCAT): Define.
34329 Add strcat and strncat support.
34330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34331
8c1a459f
AS
343322011-07-25 Andreas Schwab <schwab@redhat.com>
34333
34334 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34335 __n bigger than INT_MAX+1.
34336 (__strncmp_g): Likewise.
34337
bba33c28
UD
343382011-07-23 Ulrich Drepper <drepper@gmail.com>
34339
798be72d
UD
34340 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34341 * libio/stido.h: Likewise.
34342
8accd4dc
UD
34343 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34344 (AF_NFC): Define.
34345 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34346 (AF_NFC): Define.
34347
cbff0d96
UD
34348 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34349 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34351 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34352 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34353
9191c04a
UD
34354 [BZ #13021]
34355 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34356 installed.
34357
bba33c28
UD
34358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34359 typo.
34360 (_dl_x86_64_save_sse): Likewise.
34361
90f139dd
UD
343622011-07-22 Ulrich Drepper <drepper@gmail.com>
34363
1aae088a
UD
34364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34365 OSXSAVE.
34366 (_dl_x86_64_save_sse): Likewise.
34367
8e2045f5
UD
34368 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34369
90f139dd
UD
34370 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34371
1d002f25
AS
343722011-07-21 Andreas Schwab <schwab@redhat.com>
34373
34374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34375 change.
34376 (_dl_x86_64_save_sse): Use correct AVX check.
34377
21137f89
UD
343782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34379
34380 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34381 bug in strncpy/strncat.
34382 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34383
a65c0b7a
UD
343842011-07-21 Ulrich Drepper <drepper@gmail.com>
34385
34386 * string/tester.c (test_strcat): Add tests for different alignments
34387 of source and destination.
34388 (test_strncat): Likewise.
34389
6986b98a
UD
343902011-07-20 Ulrich Drepper <drepper@gmail.com>
34391
90bb2039
UD
34392 [BZ #12852]
34393 * posix/glob.c (glob): Check passed in values before using them in
34394 expressions to avoid some overflows.
34395 (glob_in_dir): Likewise.
34396
5644ef54
UD
34397 [BZ #13007]
34398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34399 check for AVX enablement so that we don't crash with old kernels and
34400 new hardware.
34401 * elf/tst-audit4.c: Add same checks here.
34402 * elf/tst-audit6.c: Likewise.
34403
34404 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34405
bfc9dc9b
AS
344062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34407
34408 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34409
702e64bb
UD
344102011-07-20 Ulrich Drepper <drepper@gmail.com>
34411
34412 * po/cs.po: Update from translation team.
34413 * po/bg.po: Likewise.
34414
295e904f
MP
344152011-07-12 Marek Polacek <mpolacek@redhat.com>
34416
34417 * misc/sys/cdefs.h: Add support for const attribute.
34418 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34419 to gnu_dev_{major,minor,makedev} functions.
34420
3ff94596
MP
344212011-07-20 Marek Polacek <mpolacek@redhat.com>
34422
34423 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34424
28b59fca
AS
344252011-07-20 Andreas Schwab <schwab@redhat.com>
34426
34427 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34428 strlen results.
34429
19df733e
AK
344302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34431
34432 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34433 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34434 register in order to avoid conflicts with the soft frame pointer
34435 being held in r11 when necessary.
34436 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34437 (INTERNAL_VSYSCALL_NCS): Likewise.
34438
c8835729
MP
344392011-07-14 Marek Polacek <mpolacek@redhat.com>
34440
34441 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34442 * elf/dl-fini.c (_dl_fini): Adjust caller.
34443 * elf/dl-close.c (_dl_close_worker): Likewise.
34444 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34445
b902330c
MP
344462011-07-15 Marek Polacek <mpolacek@redhat.com>
34447
8991e135
MP
34448 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34449 "aux_cache->nlibs < 0".
34450
b902330c
MP
34451 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34452 in the reload-count case.
34453
99710781
LD
344542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34455
34456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34457 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34458 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34459 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34460 * sysdeps/x86_64/multiarch/strcat.S: New file.
34461 * sysdeps/x86_64/multiarch/strncat.S: New file.
34462 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34463 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34464 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34465 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34466 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34467 (USE_AS_STRCAT): Define.
34468 Add strcat and strncat support.
34469 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34470 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34471 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34472 * string/strncat.c: Update.
34473 (USE_AS_STRNCAT): Define.
34474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34475 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34476 and i7.
34477 * sysdeps/x86_64/multiarch/init-arch.h
34478 (bit_Prefer_PMINUB_for_stringop): New.
34479 (index_Prefer_PMINUB_for_stringop): Likewise.
34480 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34481 bit_Prefer_PMINUB_for_stringop.
34482
7dc6bd90
UD
344832011-07-19 Ulrich Drepper <drepper@gmail.com>
34484
34485 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34486 buffer64.
34487 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34488 of casting of buffer.
34489 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34490 buffer32 and buffer64.
34491 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34492 writes instead of casting of buffer.
34493 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34494 buffer32.
34495 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34496 casting of buffer.
34497
e0e72284
AS
344982011-07-19 Andreas Schwab <schwab@redhat.com>
34499
34500 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34501
feb1eb0b
UD
345022011-07-19 Ulrich Drepper <drepper@gmail.com>
34503
34504 * nscd/nscd.c (termination_handler): Don't do anything for a database
34505 if it has not yet been initialized.
34506
298711ff
UD
345072011-07-18 Ulrich Drepper <drepper@gmail.com>
34508
34509 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34510
345112011-07-15 Marek Polacek <mpolacek@redhat.com>
34512
34513 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34514
f9d68389
UD
345152011-07-18 Ulrich Drepper <drepper@gmail.com>
34516
34517 * po/nl.po: Update from translation team.
34518 * po/sv.po: Likewise.
34519
db290cf5
RM
345202011-07-16 Roland McGrath <roland@hack.frob.com>
34521
34522 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34523 now disallowed by GCC.
5c550700 34524
fd5e21c7
RM
34525 * configure.in (use-default-link): Default to yes if a test -shared
34526 link meets our qualifications.
34527 * configure: Regenerated.
34528
5c550700
RM
34529 * config.make.in (output-format): New variable.
34530 * configure.in: Check for ld --print-output-format support.
34531 * configure: Regenerated.
34532 * Makerules ($(common-objpfx)format.lds)
34533 [$(output-format) != unknown]: Just use $(output-format),
34534 instead of the linker-script munging.
34535
9fa2c032
RM
345362011-07-14 Roland McGrath <roland@hack.frob.com>
34537
a6928d51
RM
34538 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34539 of $(common-objpfx)shlib.lds.
34540 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34541
661607b3
RM
34542 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34543 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34544
9fa2c032
RM
34545 * configure.in (-z relro check): Adjust test code to add a large
34546 writable data section after it.
34547 * configure: Regenerated.
34548
defe9061
RM
345492011-07-11 Roland McGrath <roland@hack.frob.com>
34550
34551 * configure.in (-z relro check): Fix test code to make the variable
34552 truly const.
34553 * configure: Regenerated.
34554
319b9ad4
UD
345552011-07-11 Ulrich Drepper <drepper@gmail.com>
34556
34557 * nscd/nscd.h (struct traced_file): Define.
34558 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34559 elements. Add traced_files.
34560 (inotify_fd): Declare.
34561 (register_traced_file): Declare.
34562 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34563 (inotify_fd): Export.
34564 (resolv_conf_descr): Remove.
34565 (nscd_init): Move inotify descriptor creation to main.
34566 Don't register files for notification here.
34567 (register_traced_file): New function.
34568 (invalidate_cache): Don't use reset_res to determine whether to call
34569 res_init, go through the list of registered files.
34570 (main_loop_poll): The inotify descriptors are now stored in the
34571 structures for the traced files.
34572 (main_loop_epoll): Likewise
34573 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34574 to __nss_disable_nscd.
34575 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34576 for a database anymore. Check the records for all the registered
34577 files instead.
34578 * nss/Makefile (libnss_files-routines): Add files-init.
34579 (libnss_db-routines): Add db-init.
34580 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34581 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34582 * nss/nss_db/db-init.c: New file.
34583 * nss/nss_files/files-init.c: New file.
34584 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34585 __nss_lookup_function.
34586 (__nss_lookup_function): Call nss_load_library.
34587 (nss_load_all_libraries): New function.
34588 (__nss_disable_nscd): Take parameter with callback function for files
34589 to register. Set is_nscd. Load all the DSOs for the NSS modules
34590 used for the cached services.
34591 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34592 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34593 options for features to all the files in nscd.
34594
34595 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34596
23bee3e8
RM
345972011-07-10 Roland McGrath <roland@hack.frob.com>
34598
34599 * csu/elf-init.c (__libc_csu_init): Comment typo.
34600
46a5b7f0
UD
346012011-07-09 Ulrich Drepper <drepper@gmail.com>
34602
34603 * po/pl.po: Update from translation team.
34604 * po/ja.po: Likewise.
34605 * po/ru.po: Likewise.
34606 * po/ko.po: Likewise.
34607 * po/fr.po: Likewise.
34608
d30cf5bb
RM
346092011-07-09 Roland McGrath <roland@hack.frob.com>
34610
113ddea4
RM
34611 * configure.in (.ctors/.dtors header and trailer check):
34612 Use an empirical test on a built program.
34613 * configure: Regenerated.
34614
574920b4
RM
34615 * configure.in (-z relro check): Use an empirical test on a built DSO.
34616 Detect, but do not require, on ia64.
34617 * configure: Regenerated.
34618
d30cf5bb
RM
34619 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34620 Update tests that use readelf to use $READELF instead.
34621 * configure: Regenerated.
34622
8538fdb3
UD
346232011-07-08 Ulrich Drepper <drepper@gmail.com>
34624
34625 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34626 if the result is not used.
34627
04d08991
AJ
346282011-07-05 Andreas Jaeger <aj@suse.de>
34629
34630 [BZ#9696]
34631 * stdlib/tst-strtod.c: Add testcase.
34632
de283087
AD
346332011-07-07 Ulrich Drepper <drepper@gmail.com>
34634
4e5f31c8 34635 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34636 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34637 The latter has a higher limit. Take additional parameter to pass to
34638 the new function.
34639 (__pathconf): Pass file to __statfs_link_max.
34640 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34641 __statfs_link_max.
34642 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34643 __statfs_link_max.
34644
de283087
AD
34645 [BZ #12868]
34646 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34648 Handle Lustre.
34649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34650 (__statfs_filesize_max): Likewise.
34651 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34652
c75fa153
AJ
346532011-07-05 Andreas Jaeger <aj@suse.de>
34654
34655 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34656
1a544854
UD
346572011-07-06 Marek Polacek <mpolacek@redhat.com>
34658
34659 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34660 `status' variable.
34661 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34662 Likewise.
34663
6f0eec67
UD
346642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34665
34666 * Makefile (strop-tests): Add strncat.
34667 * string/test-strncat.c: New file.
34668
aae30307
UD
346692011-06-30 Marek Polacek <mpolacek@redhat.com>
34670
34671 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34672
c0cfb5eb
UD
346732011-06-21 Andreas Jaeger <aj@suse.de>
34674
34675 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34676 Copy rule from iconvdata/Makefile.
34677
01636b21
UD
346782011-07-06 Ulrich Drepper <drepper@gmail.com>
34679
34680 [BZ #12922]
34681 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34682 but no long options are defined, just return 'W'.
34683
9895c8bc
UD
346842011-06-22 Marek Polacek <mpolacek@redhat.com>
34685
34686 [BZ #9696]
34687 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34688
5d4cf042
UD
346892011-07-06 Ulrich Drepper <drepper@gmail.com>
34690
34691 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34692 netgroups to read.
960e5535 34693 (innetgr): Likewise.
5d4cf042 34694
751eb97e
RM
346952011-07-05 Roland McGrath <roland@hack.frob.com>
34696
34697 * config.make.in (install_root): Default to $(DESTDIR).
34698
f15f1e45
UD
346992011-07-05 Ulrich Drepper <drepper@gmail.com>
34700
34701 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34702
4e34ac6a
RM
347032011-07-02 Roland McGrath <roland@hack.frob.com>
34704
5e9b6af4
RM
34705 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34706
84f9ea0f
RM
34707 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34708 containing directory rather than embedding absolute directory names.
34709
ea5ee9f7
RM
34710 * scripts/check-local-headers.sh: Rewritten using awk.
34711 Match by word, not by line. Print error messages for matches.
34712 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34713
1b74661a
RM
34714 * Makerules [shlib-lds-flags empty]:
34715 ($(common-objpfx)libc_pic.opts): New target.
34716 ($(common-objpfx)libc_pic.os.clean): New target.
34717 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34718
34719 * config.make.in (OBJCOPY): New variable.
34720 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34721 * configure: Regenerated.
34722
f781ef40
RM
34723 * config.make.in (use-default-link): New variable.
34724 * configure.in (use_default_link): Grok --with-default-link to set it.
34725 * configure: Regenerated.
34726 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34727 (shlib-lds, shlib-lds-flags): Define to empty.
34728
2d4fa81e
RM
34729 * Makerules (shlib-lds): New variable.
34730 (shlib-lds-flags): New variable.
34731 (build-shlib, build-moduile, build-module-asneeded): Use it.
34732 ($(common-objpfx)libc.so): Use $(shlib-lds).
34733 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34734 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34735
31fffa6b
RM
34736 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34737 DT_FLAGS/DT_FLAGS_1 with zero flags.
34738
4e34ac6a
RM
34739 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34740 linker script munging.
34741
fcfc776b
UD
347422011-07-02 Ulrich Drepper <drepper@gmail.com>
34743
34744 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34745 as 128-bit value.
34746 * crypt/sha512.c (sha512_process_block): Perform total addition using
34747 128-bit if possible.
34748 (__sha512_finish_ctx): Likewise.
34749 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34750 as 64-bit value.
34751 * crypt/sha256.c (SWAP64): Define.
34752 (sha256_process_block): Perform total addition using 64-bit if
34753 possible.
34754 (__sha256_finish_ctx): Likewise.
34755
99231d9a
UD
347562011-07-01 Ulrich Drepper <drepper@gmail.com>
34757
34758 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34760 * nscd/hstcache.c (cache_addhst): Likewise.
34761 * nscd/grpcache.c (cache_addgr): Likewise.
34762 * nscd/aicache.c (addhstaiX): Likewise
34763 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34764
445b4a53
TK
347652011-07-01 Thorsten Kukuk <kukuk@suse.de>
34766
34767 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34768 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34769 * nscd/hstcache.c (cache_addhst): Likewise.
34770 * nscd/grpcache.c (cache_addgr): Likewise.
34771 * nscd/aicache.c (addhstaiX): Likewise
34772
6d4d8e8e
AS
347732011-07-01 Andreas Schwab <schwab@redhat.com>
34774
34775 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34776 domain only when needed.
34777
89f654c5
AS
347782011-06-30 Andreas Schwab <schwab@redhat.com>
34779
34780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34781 is always restored.
34782
cf3b23ff
UD
347832011-06-29 Ulrich Drepper <drepper@gmail.com>
34784
34785 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34786 are re-adding the entry.
34787 * nscd/servicescache.c (cache_addserv): Likewise.
34788
751626f9
AJ
347892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34790
34791 * sysdeps/generic/dl-irel.h: fix protection against multiple
34792 inclusions.
34793 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34794
9113ea1f
UD
347952011-06-28 Ulrich Drepper <drepper@gmail.com>
34796
5c0b8d90
UD
34797 [BZ #12935]
34798 * malloc/memusage.sh: Fix quoting in message.
34799 * debug/xtrace.sh: Likewise.
34800
9113ea1f
UD
34801 * configure.in: Remove support for --experimental-malloc option, make
34802 it the default.
34803 * config.make.in: Likewise.
34804 * malloc/Makefile: Likewise.
34805
a4172181
AS
348062011-06-27 Andreas Schwab <schwab@redhat.com>
34807
34808 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34809 two-byte characters.
34810
78a7eee7
RM
348112011-06-27 Roland McGrath <roland@hack.frob.com>
34812
62bede13
RM
34813 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34814 AC_CACHE_CHECK invocation.
34815 * configure: Regenerated.
34816
78a7eee7
RM
34817 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34818
5ce33a62
UD
348192011-06-27 Ulrich Drepper <drepper@gmail.com>
34820
034807a9
UD
34821 [BZ #12350]
34822 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34823 bit from old_res_options.
34824
4902da17
UD
34825 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34826
5ce33a62
UD
34827 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34828 value type for setfct.
34829
c2344f56
L
348302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34831
34832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34833 __gettimeofday instead of gettimeofday.
34834
68468076
UD
348352011-06-26 Ulrich Drepper <drepper@gmail.com>
34836
34837 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34838
acb0d739
L
348392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34840
34841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34842
34843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34844 info.
34845
8912479f
L
348462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34847
34848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34849 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34850 strcpy-sse2-unaligned strncpy-sse2-unaligned
34851 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34852 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34853 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34854 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34855 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34856 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34858 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34859 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34860 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34861 (STRCPY): Support SSE2 and SSSE3 versions.
34862
d5495a11
UD
348632011-06-24 Ulrich Drepper <drepper@gmail.com>
34864
34865 [BZ #12874]
34866 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34867 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34868 kernels which artificially limit size of requests.
34869
0b1cbaae
L
348702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34871
34872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34873 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34874 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34875 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34876 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34877 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34878 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34879 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34880 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34882 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34883 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34884 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34885 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34886 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34888 Enable unaligned load optimization for Intel Core i3, i5 and i7
34889 processors.
34890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34891 Define.
34892 (index_Fast_Unaligned_Load): Define.
34893 (HAS_FAST_UNALIGNED_LOAD): Define.
34894
07f494a0
MP
348952011-06-23 Marek Polacek <mpolacek@redhat.com>
34896
34897 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34898
fa3fc0fe
UD
348992011-06-22 Ulrich Drepper <drepper@gmail.com>
34900
34901 [BZ #12907]
34902 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34903 until it is clear that the information is realy needed.
34904 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34905
e12df166
AS
349062011-06-22 Andreas Schwab <schwab@redhat.com>
34907
34908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34909
852eb34d
UD
349102011-06-22 Ulrich Drepper <drepper@gmail.com>
34911
84e2a551
UD
34912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34913 /sys/devices/system/cpu/online if it is usable.
34914
852eb34d
UD
34915 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34916 reading the information from the /proc filesystem to once a second.
34917
6e502e19
UD
349182011-06-21 Andreas Jaeger <aj@suse.de>
34919
34920 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34921 NULL after inclusion of kernel headers.
34922
75d39ff2
UD
349232011-06-21 Ulrich Drepper <drepper@gmail.com>
34924
51f9aa6a
UD
34925 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34926 calls to internal_setent.
34927
c0244a9d
UD
34928 [BZ #12885]
34929 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34930 addresses using gethostbyname4_r ignore IPv4 addresses.
34931
c5e3c2ae
UD
34932 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34933 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34934
75d39ff2
UD
34935 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34936
42675c6f
DM
349372011-06-20 David S. Miller <davem@davemloft.net>
34938
34939 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34940 inclusions.
34941 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34942
34943 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34944 (elf_irel): Use it.
34945 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34946 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34947 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34948 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34949 * sysdeps/x86_64/dl-irel.h: Likewise.
34950
34951 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34952 * elf/dl-sym.c: Likewise.
34953
57912a71
UD
349542011-06-15 Ulrich Drepper <drepper@gmail.com>
34955
34956 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34957 need to dereference resplen2.
34958
ee22793d
AS
349592011-06-14 Andreas Schwab <schwab@redhat.com>
34960
34961 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34962
a9e836b0
UD
349632011-06-15 Ulrich Drepper <drepper@gmail.com>
34964
77fb9117
UD
34965 * Makeconfig: Define vardbdir and inst_vardbdir.
34966 * nss/Makefile: Add rules to install db-Makefile.
34967
40c1b22c
UD
34968 * nss/nss_db/db-XXX.c: Cleanup.
34969
9f2da732
UD
34970 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34971 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34972 GLIBC_PRIVATE.
34973 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34974 * nss/makedb.c: Implement -g option to specify that value strings
34975 are generated and should not be added to table iterated over for
34976 get*ent calls.
34977 * nss/nss_db/db-initgroups.c: New file.
34978
82e9a1f7
UD
34979 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34980 interface.
34981
c41af17e
UD
34982 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34983 (internal_getgrouplist): Adjust to name change.
34984 Update use_initgroups_entry if this is not the first call.
34985 * nss/databases.def: Add initgroups entry.
34986
a9e836b0
UD
34987 * nss/makedb.c (compute_tables): Check result of multiple hash table
34988 sizes to minimize maximum chain length.
34989
2666d441
UD
349902011-06-14 Ulrich Drepper <drepper@gmail.com>
34991
34992 * Versions.def: Add entry for libnss_db.
34993 * shlib-versions: Likewise.
34994 * nss/Makefile: Add rules to build libnss_db.
34995 * nss/Versions: Add libnss_db information. Organize libnss_files
34996 entries better.
34997 * nss/db-Makefile: Add gshadow support. Change rules for the new
34998 makedb progra. Some minor improvements to generate smaller files.
34999 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35000 here from...
35001 * nss/makedb.c: ...here.
35002 Improve database format to be smaller and require less memory at
35003 runtime.
35004 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35005 db anymore.
35006 * nss/nss_db/db-netgrp.c: Likewise.
35007 * nss/nss_db/db-open.c: Likewise.
35008 * nss/nss_files/flies-XXX.x: Adjust comments.
35009 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35010 * nss/nss_files/files-grp.c: Likewise.
35011 * nss/nss_files/files-hosts.c: Likewise.
35012 * nss/nss_files/files-network.c: Likewise.
35013 * nss/nss_files/files-proto.c: Likewise.
35014 * nss/nss_files/files-pwd.c: Likewise.
35015 * nss/nss_files/files-rpc.c: Likewise.
35016 * nss/nss_files/files-service.c: Likewise.
35017 * nss/nss_files/files-sgrp.c: Likewise.
35018 * nss/nss_files/files-spwd.c: Likewise.
35019 * nss/nss_db/db-alias.c: Removed.
35020 * nss/nss_db/dummy-db.h: Removed.
35021
9ee76b5a
UD
350222011-06-02 Ulrich Drepper <drepper@gmail.com>
35023
35024 * nss/makedb.c: Rewritten to not use database library.
35025 * nss/Makefile: Update to build new makedb program.
35026
c71ca1f8
AJ
350272011-06-14 Andreas Jaeger <aj@suse.de>
35028
35029 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35030 memset declaration.
35031
3154bfb8
UD
350322011-06-10 Andreas Schwab <schwab@redhat.com>
35033
35034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35035 tmpbuf.
35036
b350afab
RM
350372011-06-10 Roland McGrath <roland@hack.frob.com>
35038
decd4e50
RM
35039 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35040 * elf/Makefile ($(objpfx)ld.so): Likewise.
35041
5615eaf2
RM
35042 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35043 Don't list ld.so twice in dependencies.
35044
35045 * posix/bug-regex31.c: Include <stdlib.h>.
35046
35047 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35048
35049 * nis/nss_compat/compat-spwd.c
35050 (getspent_next_nss_netgr): Remove unused variable.
35051 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35052
35053 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35054 nonmembers" output to use the right array.
35055
35056 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35057
35058 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35059
35060 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35061 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35062 * catgets/gencat.c (read_input_file): Likewise.
35063 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35064
35065 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35066 variable definition inside #if's controlling its use.
35067
35068 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35069
35070 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35071
35072 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35073
35074 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35075 unreachable code.
35076
35077 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35078
b68e08db
RM
35079 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35080 * configure: Regenerated.
35081
b350afab
RM
35082 * Makerules: Revert last change.
35083 * elf/Makefile: Likewise.
35084
28368601
RM
350852011-06-09 Roland McGrath <roland@hack.frob.com>
35086
35087 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35088 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35089 (reloc-link): Likewise.
35090
11988f8f
UD
350912011-06-09 Ulrich Drepper <drepper@gmail.com>
35092
35093 * elf/Makefile: Add rules to build pldd.
35094 * elf/pldd.c: New file.
35095 * elf/pldd-xx.c: New file.
35096
e80fab37
UD
350972011-06-07 Ulrich Drepper <drepper@gmail.com>
35098
35099 * version.h: Update for 2.15 development version.
35100
9b849836
DM
351012011-06-07 David S. Miller <davem@davemloft.net>
35102
35103 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35104 ifuncs.
35105 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35106 elf_machine_lazy_rel): Likewise.
35107 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35109 elf_machine_lazy_rel): Likewise.
35110 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35111 dl_hwcap via passed in argument.
35112 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35113 Likewise.
35114
5a31b283
AK
351152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35116
35117 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35118
069e52f8
RM
351192011-06-06 Roland McGrath <roland@hack.frob.com>
35120
35121 [BZ #12849]
35122 * manual/fdl-1.1.texi: New file, verbatim from:
35123 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35124 * manual/lgpl-2.1.texi: New file, verbatim from:
35125 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35126 * manual/Makefile (licenses): New variable, list those new file names.
35127 (texis): Use it.
35128 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35129
35130 * manual/fdl.texi: File removed.
35131 * manual/lesser.texi: File removed.
35132 * manual/libc.texinfo (Copying, Documentation License):
35133 Use new @include file names, put @appendix directive before @include.
35134
f16846a5
JJ
351352011-06-04 Jakub Jelinek <jakub@redhat.com>
35136
35137 [BZ #12841]
35138 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35139 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35140 (mq_open): Add __NTH.
35141
3d29045b
L
351422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35143
35144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35145 Assume Intel Core i3/i5/i7 processor if AVX is available.
35146
8c297311
UD
351472011-05-31 Ulrich Drepper <drepper@gmail.com>
35148
35149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35150 typo.
35151
c8fc0c91
UD
351522011-05-31 Andreas Schwab <schwab@redhat.com>
35153
35154 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35155 memory. Use alloca_account. Fix memory leak when retrying.
35156
5b27a807
UD
351572011-05-31 Ulrich Drepper <drepper@gmail.com>
35158
356f8bc6
UD
35159 * version.h (RELEASE): Bump for 2.14 release.
35160 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35161
5b27a807
UD
35162 * config.make.in (RANLIB): Remove entry.
35163
01f16ab0
UD
351642011-05-30 Ulrich Drepper <drepper@gmail.com>
35165
41fce8bd
UD
35166 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35167 (libc.pot): Work around missing support for .ksh extension in xgettext.
35168
4769ae77
UD
35169 [BZ #12684]
35170 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35171 if both request failed.
35172 (send_dg): In case of server errors clear resplen or *resplen2.
35173
6b1e7d19
UD
35174 [BZ #12454]
35175 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35176 when there are multiple maps.
35177 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35178 (_dl_fini): Remove test here.
35179
01f16ab0
UD
35180 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35181
b1ebd700
UD
351822011-05-29 Ulrich Drepper <drepper@gmail.com>
35183
7ae22829
UD
35184 [BZ #12350]
35185 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35186 bit from old_res_options.
35187 (gaih_inet): Likewise.
35188
553149f6 35189 [BZ #11099]
18a84741 35190 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35191 as signed.
35192
652ffab1
UD
35193 * resolv/res_init.c (res_setoptions): Make the code more compact.
35194
16985fd0
UD
35195 [BZ #11558]
35196 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35197 set RES_USEVC.
35198
0464f746
UD
35199 [BZ #11634]
35200 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35201
7d17596c
UD
35202 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35203
cf6bbbd7
UD
35204 [BZ #11781]
35205 * malloc/malloc.h: Declare malloc hook variables as volatile.
35206
13f1ab36
UD
35207 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35208 in last patch.
35209
b1ebd700
UD
35210 [BZ #11799]
35211 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35212 raise in the comment.
80e2212d
UD
35213 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35215 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35216
ce67228d
UD
352172011-05-28 Ulrich Drepper <drepper@gmail.com>
35218
8887a920
UD
35219 [BZ #12811]
35220 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35221 grow the buffers more if it already has to be sufficient.
35222 (build_wcs_upper_buffer): Likewise.
35223 * posix/regexec.c (check_matching): Likewise.
35224 (clean_state_log_if_needed): Likewise.
35225 (extend_buffers): Don't enlarge buffers beyond size of the input
35226 buffer.
35227 Patches mostly by Emil Wojak <emil@wojak.eu>.
35228 * posix/bug-regex32.c: New file.
35229 * posix/Makefile (tests): Add bug-regex32.
35230
4f031072
UD
35231 * locale/findlocale.c (_nl_find_locale): Return right away if
35232 _nl_explode_name failed.
35233 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35234
d0478f0c
UD
35235 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35236
de81b246
UD
35237 * debug/xtrace.sh: Unify messages.
35238 * malloc/memusage.sh: Likewise.
35239
c738465a
UD
35240 [BZ #12813]
35241 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35242 time symbol from vDSO. Substitute with vsyscall if not available.
35243 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35244 __vdso_time.
35245
f1f929d7
UD
35246 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35247 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35248 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35249 Add sendmmsg and internal_sendmmsg.
35250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35251 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35252 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35253
ce67228d
UD
35254 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35255 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35256 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35257
e57420c6
UD
352582011-05-27 Ulrich Drepper <drepper@gmail.com>
35259
a8509ca5
UD
35260 [BZ #12813]
35261 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35262 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35263 available.
35264 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35265 __vdso_getcpu.
35266
e57420c6
UD
35267 [BZ #12814]
35268 * iconvdata/Makefile (tests): Add bug-iconv9.
35269 * iconvdata/bug-iconv9.c: New file.
35270
4d07db15
AS
352712011-05-27 Andreas Schwab <schwab@redhat.com>
35272
35273 [BZ #12814]
35274 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35275
ea486f69
JJ
352762011-05-25 Jakub Jelinek <jakub@redhat.com>
35277
35278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35279 (struct user_regs_struct): Change intcs field back to cs.
35280
6f038433
UD
352812011-05-25 Ulrich Drepper <drepper@gmail.com>
35282
35283 * po/ja.po: Update from translation team.
35284
67f86a25
UD
352852011-05-23 Ulrich Drepper <drepper@gmail.com>
35286
35287 [BZ #12795]
35288 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35289 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35290
def7fbd6
AS
352912011-05-20 Andreas Schwab <schwab@redhat.com>
35292
35293 * stdlib/longlong.h: Update from GCC.
35294
f50ef8f1
AS
352952011-05-23 Andreas Schwab <schwab@redhat.com>
35296
35297 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35298 parameter name.
35299 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35300 Add parameter name.
35301 (__sysconf): Pass it down.
35302
de7ce8f1
UD
353032011-05-22 Ulrich Drepper <drepper@gmail.com>
35304
f2962a71
UD
35305 [BZ #12671]
35306 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35307 some situations.
35308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35309 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35310 add in in __libc_use_alloca calls. Adjust callers.
35311 (glob): Use malloc in some situations.
35312
de7ce8f1
UD
35313 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35314 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35315 pltexit.
35316
aec84f53
UD
353172011-05-21 Ulrich Drepper <drepper@gmail.com>
35318
05bb4a68
UD
35319 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35320 and CLOCK_BOOTTIME_ALARM.
35321
7ea72f99
UD
35322 [BZ #12782]
35323 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35324 is returned.
35325
7e4afad5
UD
35326 * string/_strerror.c (__strerror_r): Print negative errors as signed
35327 numbers.
35328
8e211fec
UD
35329 [BZ #12777]
35330 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35331 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35332 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35333
f7d82dc9
UD
35334 * configure.in: Fix typo in redirection and correct removal of test
35335 files in two cases.
35336
cc9e536d
UD
35337 [BZ #12788]
35338 * locale/setlocale.c (new_composite_name): Fix test to check for
35339 identical name of all categories.
35340
aec84f53
UD
35341 [BZ #12792]
35342 * libio/filedoalloc.c (local_isatty): New function.
35343 (_IO_file_doallocate): Use local_isatty.
35344 * stdio-common/perror.c (perror): In case a new stream is used
35345 forward the stream error.
35346 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35347 error flag.
35348
78e64fdc
RT
353492011-05-20 Ulrich Drepper <drepper@gmail.com>
35350
34a9094f
UD
35351 [BZ #11869]
35352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35353 alloca.
35354 * include/alloca.h (extend_alloca_account): Define.
35355
78e64fdc
RT
35356 [BZ #11857]
35357 * posix/regex.h: Fix comments with documentation of user-accessible
35358 fields after compilation and describe correct free'ing of pattern
35359 after re_compile_pattern.
35360 Patch by Reuben Thomas <rrt@sc3d.org>.
35361
457bddfc
RA
353622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35363
35364 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35365 and -mno-altivec to prevent the compiler from using Altivec and/or
35366 VSX instructions when the corresponding registers are not available.
35367
a4527b51
AS
353682011-05-19 Andreas Schwab <schwab@redhat.com>
35369
35370 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35371
ed690b2f
UD
353722011-05-19 Ulrich Drepper <drepper@gmail.com>
35373
35374 * libio/freopen.c (freopen): Use __dup2, not dup2.
35375 * libio/freopen64.c (freopen64): Likewise.
35376
8db73634
L
353772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35378
35379 [BZ #12775]
35380 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35381 * math/Makefile (tests): Add test-powl.
35382 (CFLAGS-test-powl.c): Define.
35383 * math/test-powl.c: New file.
35384
0a197a9d
L
353852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35386
35387 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35388
ee30c380
UD
353892011-05-17 Ulrich Drepper <drepper@gmail.com>
35390
35391 [BZ #11837]
35392 * iconvdata/gb18030.c: Update to GB18020-2005.
35393
6ce75379
UD
353942011-05-16 Ulrich Drepper <drepper@gmail.com>
35395
a4b89fd8
AR
35396 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35397 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35398 Patch by Aharon Robbins <arnold@skeeve.com>.
35399
ea389b12
UD
35400 [BZ #11892]
35401 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35402 on the stack.
35403
68a3f91f
UD
35404 [BZ #11895]
35405 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35406 through underflows.
35407
15cc7dd1
UD
35408 [BZ #12766]
35409 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35410 point to strings before performing equality test for error_one_per_line
35411 mode.
35412
f3799213
UD
35413 [BZ #11697]
35414 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35415
d79a9c94
UD
35416 [BZ #11820]
35417 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35418 (struct user_fpregs_struct): Avoid __uint*_t types.
35419
56e5eb46
UD
35420 [BZ #6420]
35421 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35422 symbol info. Use it instead of calling _dl_addr locally.
35423 (lock_and_info): New function.
35424 (tr_freehook): Call lock_and_info and pass symbol info as additional
35425 parameter to tr_where.
35426 (tr_mallochook): Likewise.
35427 (tr_reallochook): Likewise.
35428 (tr_memalignhook): Likewise.
35429
6ce75379
UD
35430 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35431 used and couldn't be at all thread-safe.
35432
f8a3b5bf
UD
354332011-05-15 Ulrich Drepper <drepper@gmail.com>
35434
94b7cc37
UD
35435 * libio/freopen.c (freopen): Don't close old file descriptor
35436 before the new one is opened. Instead dup the new file descriptor
35437 to the old one after the new stream is created.
35438 * libio/freopen64.c (freopen64): Likewise.
35439 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35440 * libio/fileops.c (_IO_new_file_close_it): Handle new
35441 _IO_FLAGS2_NOCLOSE flag.
35442 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35443 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35444 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35445 _IO_FLAGS2_NOCLOSE flag.
35446 * include/unistd.h: Add hidden_proto for dup3.
35447 Define __have_dup3.
35448 * io/dup3.c: Define hidden symbol.
35449 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35450
bd25564e
UD
35451 [BZ #7101]
35452 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35453 when an incomplete long option is used.
35454 * posix/tst-getopt_long1.c: New file.
35455 * posix/Makefile (tests): Add tst-getopt_long1.
35456
c84cfef4
UD
35457 [BZ #10138]
35458 * scripts/config.guess: Update from autoconf-2.68.
35459 * scripts/config.sub: Likewise.
35460
3b85df27
UD
35461 [BZ #10157]
35462 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35463 tests into ...
35464 (has_cpuclock): ...this. New function.
35465 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35466 macro here based on has_cpuclock code.
35467
15a856b1
UD
35468 [BZ #10149]
35469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35470 First byte (not low byte) is now always NUL.
35471 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35472
05f399e6
UD
35473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35474 Use non-cancelable interfaces.
35475
10a52685 35476 [BZ #9809]
94ecc67d
UD
35477 * locale/iso-639.def: Add entry for Sorani.
35478
f8a3b5bf
UD
35479 [BZ #11901]
35480 * include/stdlib.h: Move include protection to the right place.
35481 Define abort_msg_s. Declare __abort_msg with it.
35482 * stdlib/abort.c (__abort_msg): Adjust type.
35483 * assert/assert.c (__assert_fail_base): New function. Majority
35484 of code from __assert_fail. Allocate memory for __abort_msg with
35485 mmap.
35486 (__assert_fail): Now call __assert_fail_base.
35487 * assert/assert-perr.c: Remove bulk of implementation. Use
35488 __assert_fail_base.
35489 * include/assert.hL Declare __assert_fail_base.
35490 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35491 mmap.
35492 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35493
1af4e298
UD
354942011-05-14 Ulrich Drepper <drepper@gmail.com>
35495
f8a3b5bf 35496 [BZ #11952]
d26dfc60
MG
35497 [BZ #12453]
35498 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35499 until all modules are registered in the DTV.
35500 * elf/Makefile: Add rules to build and run tst-tls19.
35501 * elf/tst-tls19.c: New file.
35502 * elf/tst-tls19mod1.c: New file.
35503 * elf/tst-tls19mod2.c: New file.
35504 * elf/tst-tls19mod3.c: New file.
35505 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35506
2fc54d6f
UD
35507 [BZ #12083]
35508 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35509 correctly.
35510
98d76b46
UD
35511 [BZ #12601]
35512 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35513 two-byte sequence errors.
35514 * iconvdata/Makefile (tests): Add bug-iconv8.
35515 * iconvdata/bug-iconv8.c: New file.
35516
da3c19ef
UD
35517 [BZ #12626]
35518 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35519 buf2 definition.
35520
ca408c15
UD
35521 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35522
d6f67f7d
UD
35523 [BZ #12432]
35524 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35525 (dummy_getcfa): New function.
35526 (init): Get _Unwind_GetCFA address, use dummy if not found.
35527 (backtrace_helper): In recursion check, also check whether CFA changes.
35528 (__backtrace): Completely initialize arg.
35529
1af4e298 35530 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35531 storing incomplete byte sequence in state object. Avoid testing for
35532 guaranteed too small input if we know there is enough data available.
1af4e298 35533
da62f81b
AS
355342011-05-11 Andreas Schwab <schwab@redhat.com>
35535
35536 * Makeconfig (+link-pie): Indent.
35537 * Rules (binaries-pie): Define if $(have-fpie) and
35538 $(build-shared).
35539 (binaries-shared): Also filter out $(binaries-pie).
35540 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35541 * nscd/Makefile (others-pie): Add nscd.
35542 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35543 ($(objpfx)nscd): Remove command override.
35544 * login/Makefile (others-pie): Add pt_chown.
35545 ($(objpfx)pt_chown): Remove command override.
35546 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35547 remove command overrides.
35548
fcabc0f8
UD
355492011-05-13 Ulrich Drepper <drepper@gmail.com>
35550
20030ae6
UD
35551 * libio/tst_putwc.c: Fix error messages.
35552
fcabc0f8
UD
35553 [BZ #12724]
35554 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35555 currently writing and seek to current position when not.
35556 * libio/Makefile (tests): Add bug-fclose1.
35557 * libio/bug-fclose1.c: New file.
35558
320a5dc0
PB
355592011-05-12 Ulrich Drepper <drepper@gmail.com>
35560
35561 [BZ #12511]
35562 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35563 don't set DF_1_NODELETE here.
35564 (do_lookup_x): When entering new entry test for copy relocation
35565 and if necessary set DF_1_NODELETE flag.
35566 * elf/tst-unique4.cc: New file.
35567 * elf/tst-unique4.h: New file.
35568 * elf/tst-unique4lib.cc: New file.
35569 * elf/Makefile: Add rules to build and run tst-unique4.
35570 Patch by Piotr Bury <pbury@goahead.com>.
35571
22836f52
UD
355722011-05-11 Ulrich Drepper <drepper@gmail.com>
35573
f574184a
UD
35574 [BZ #12052]
35575 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35576
e1fb097f
UD
35577 [BZ #12625]
35578 * misc/mntent_r.c (addmntent): Flush the stream after the output
35579
22836f52
UD
35580 [BZ #12393]
35581 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35582 (is_trusted_path_normalize): Skip initial colon. Append slash
35583 to empty buffer. Duplicate is_trusted_path code but allow
35584 constructed patch to be prefix.
35585 (is_dst): Allow $ORIGIN followed by /.
35586 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35587 Correct testing of result of is_trusted_path_normalize
35588 (decompose_rpath): Fix warning.
35589
7b3b0b2a
UD
355902011-05-10 Ulrich Drepper <drepper@gmail.com>
35591
35592 [BZ #11257]
35593 * grp/initgroups.c (internal_getgrouplist): When we found the service
35594 list through the initgroups entry in nsswitch.conf do not always
35595 continue on a successful lookup. Don't always use the
eac80ce2 35596 __nss_group_database value if it is set.
7b3b0b2a
UD
35597 * nss/nsswitch.conf (initgroups): Change action for successful db
35598 lookup to continue for compatibility.
35599
2a81eaa5
UD
356002011-05-09 Ulrich Drepper <drepper@gmail.com>
35601
be97a69e
UD
35602 [BZ #11532]
35603 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35604 and CP774 modules.
35605 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35606 and CP774 modules.
35607 * iconvdata/tst-tables.sh: Likewise.
35608 * iconvdata/cp770.c: New file.
35609 * iconvdata/cp771.c: New file.
35610 * iconvdata/cp772.c: New file.
35611 * iconvdata/cp773.c: New file.
35612 * iconvdata/cp774.c: New file.
35613 * iconvdata/testdata/CP770: New file.
35614 * iconvdata/testdata/CP770..UTF8: New file.
35615 * iconvdata/testdata/CP771: New file.
35616 * iconvdata/testdata/CP771..UTF8: New file.
35617 * iconvdata/testdata/CP772: New file.
35618 * iconvdata/testdata/CP772..UTF8: New file.
35619 * iconvdata/testdata/CP773: New file.
35620 * iconvdata/testdata/CP773..UTF8: New file.
35621 * iconvdata/testdata/CP774: New file.
35622 * iconvdata/testdata/CP774..UTF8: New file.
35623
35624 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35625 END CHARMAP line.
35626 * iconvdata/gen-8bit-gap.sh: Likewise.
35627 * iconvdata/gen-8bit.sh: Likewise.
35628
c1e9e399
UD
35629 * locale/iso-639.def: Add ary entry.
35630
24c55fb3 35631 [BZ #11258]
96b4b1b0
UD
35632 * locale/C-translit.h.in: Add U20A1 transliteration.
35633
bdc2f971
KB
35634 [BZ #12178]
35635 * locale/iso-639.def: Add wae entry.
35636 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35637
2952b117
UD
35638 [BZ #12545]
35639 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35640 for n.
35641
2a81eaa5
UD
35642 [BZ #12711]
35643 * locale/C-translit.h.in: Add entry for U20B9.
35644 Patch by pravin.d.s@gmail.com.
35645
28377d1b
UD
356462011-05-08 Ulrich Drepper <drepper@gmail.com>
35647
7fb90fb8
UD
35648 [BZ #12713]
35649 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35650 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35651 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35652 in rtld. Use *stat64.
7fb90fb8 35653 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35654 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35655 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35656 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35657 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35658 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35659 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35660 __fstatat64 macros.
7fb90fb8
UD
35661 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35662 * dirent/rewinddir.c: Add libc_hidden_def.
35663 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35664 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35665
28377d1b
UD
35666 * include/dirent.h (__alloc_dir): Add flags parameter.
35667 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35668 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35669 __alloc_dir.
35670 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35671 from fdopendir if O_CLOEXEC is already set.
35672
66bdbaa4
AM
356732011-03-15 Alan Modra <amodra@gmail.com>
35674
35675 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35676 l_tls_firstbyte_offset non-zero. Save padding offset in
35677 l_tls_firstbyte_offset for later use.
35678 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35679 freeing static tls block.
35680
95721191
JN
356812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35682
35683 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35684 where #ifdef was intended. The intent is to prevent ARG_MAX from
35685 being defined by the kernel headers.
35686
f87dfb1f
UD
356872011-05-07 Ulrich Drepper <drepper@gmail.com>
35688
35689 [BZ #12734]
35690 * resolv/resolv.h: Define RES_NOTLDQUERY.
35691 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35692 no-tld-query and set RES_NOTLDQUERY.
35693 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35694 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35695 modern BIND to search name as TLD unless forbidden.
35696
47c3cd7a
UD
356972011-05-07 Petr Baudis <pasky@suse.cz>
35698 Ulrich Drepper <drepper@gmail.com>
35699
35700 [BZ #12393]
35701 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35702 (is_trusted_path): ...to here.
c1e9ea35 35703 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35704 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35705 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35706
8a35c912
PP
357072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35708
35709 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35710 __BEGIN/__END_DECLS.
35711
acd41f47
UD
357122011-05-06 Ulrich Drepper <drepper@gmail.com>
35713
35714 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35715 NSS_STATUS_NOTFOUND if no record was found.
35716
597df647
AS
357172011-05-05 Andreas Schwab <schwab@redhat.com>
35718
35719 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35720 (headers-not-in-tirpc): Remove rpc/netdb.h
35721 * resolv/netdb.h: Revert last change.
35722
b9af1301
PP
357232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35724
35725 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35726 circular dependency between libgcc.a and libc.a.
35727
4e34d5f5
AS
357282011-05-05 Andreas Schwab <schwab@redhat.com>
35729
35730 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35731 * nis/Makefile: Don't install rpcsvc/*.
35732 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35733 instead of <rpc/types.h>.
35734 (MAXHOSTNAMELEN): Define.
35735
00ee369c
AS
357362011-05-03 Andreas Schwab <schwab@redhat.com>
35737
35738 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35739
0b592a30
MB
357402011-04-28 Maciej Babinski <mbabinski@google.com>
35741
35742 [BZ #12714]
35743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35744 gethostbyname4_r when IPv6 results are possible.
35745
6e04cbbe
UD
357462011-05-02 Ulrich Drepper <drepper@gmail.com>
35747
35748 [BZ #12723]
35749 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35750 _PC_PIPE_BUF handling.
35751
e4ecafe0
BH
357522011-04-30 Bruno Haible <bruno@clisp.org>
35753
35754 [BZ #12717]
35755 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35756 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35757 to 'int'.
35758 * inet/getnameinfo.c (getnameinfo): Likewise.
35759
125ee683
UD
357602011-04-29 Ulrich Drepper <drepper@gmail.com>
35761
35762 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35763 to groups setting in database lookup.
35764 * nss/nsswitch.conf: Add initgroups entry.
35765
b722481a
EB
357662011-04-22 Ulrich Drepper <drepper@gmail.com>
35767
35768 [BZ #12685]
35769 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35770 mode string.
35771 Patch by Eric Blake <eblake@redhat.com>.
35772
4df46dbd
L
357732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35774
35775 * sunrpc/Makefile (need-export-routines): Add svc_run.
35776 (routines): Remove svc_run.
35777 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35778 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35779 * sunrpc/svc_run.c (svc_run): Likewise.
35780 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35781
e84142d2
UD
357822011-04-21 Ulrich Drepper <drepper@gmail.com>
35783
35784 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35785 problem in reallocation in last patch.
35786
877175d8
UD
357872011-04-20 Ulrich Drepper <drepper@gmail.com>
35788
35789 * sunrpc/Makefile: Move inclusion of Rules.
35790
ab8eed78
UD
357912011-04-19 Ulrich Drepper <drepper@gmail.com>
35792
35793 * nss/nss_files/files-initgroups.c: New file.
35794 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35795 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35796 _nss_files_initgroups_dyn.
35797
e3d8f584
RS
357982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35799
35800 * elf/elf.h (R_ARM_IRELATIVE): Define.
35801
af190f45
UD
358022011-04-19 Ulrich Drepper <drepper@gmail.com>
35803
35804 * po/ru.po: Update from translation team.
35805
53cf59ef
UD
358062011-04-17 Ulrich Drepper <drepper@gmail.com>
35807
35808 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35809 dependencies.
35810
4c559bcd
MF
358112011-02-06 Mike Frysinger <vapier@gentoo.org>
35812
35813 [BZ #12653]
35814 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35815 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35816 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35817 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35818 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35819
4420675c
AS
358202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35821
35822 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35823 differing bytes.
35824 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35825 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35826 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35827
75ea32ab
UD
358282011-04-17 Ulrich Drepper <drepper@gmail.com>
35829
35830 [BZ #12420]
35831 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35832 storing it.
35833 * stdlib/bug-getcontext.c: New file.
35834 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35835
27390476
AK
358362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35837
35838 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35839 instructions into .machine "z9-109".
35840 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35841 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35842
10442705
AK
358432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35844
35845 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35846 between environment variables and auxiliary vector.
35847
7b57bfe5
UD
358482011-04-16 Ulrich Drepper <drepper@gmail.com>
35849
35850 * Makefile: Add rules to build linkobj/libc.so.
35851 * include/libc-symbols.h: Define libc_hidden_nolink.
35852 * include/rpc/auth.h: Mark functions which are to be hidden.
35853 * include/rpc/auth_des.h: Likewise.
35854 * include/rpc/auth_unix.h: Likewise.
35855 * include/rpc/clnt.h: Likewise.
35856 * include/rpc/des_crypt.h: Likewise.
35857 * include/rpc/key_prot.h: Likewise.
35858 * include/rpc/pmap_clnt.h: Likewise.
35859 * include/rpc/pmap_prot.h: Likewise.
35860 * include/rpc/pmap_rmt.h: Likewise.
35861 * include/rpc/rpc_msg.h: Likewise.
35862 * include/rpc/svc.h: Likewise.
35863 * include/rpc/svc_auth.h: Likewise.
35864 * include/rpc/xdr.h: Likewise.
35865 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35866 * nss/Makefile: Likewise.
35867 * sunrpc/Makefile: Don't install headers. Build library with normal
35868 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35869 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35870 for the compat linking library. Remove use of INTDEF/INTUSE.
35871 * sunrpc/auth_none.c: Likewise.
35872 * sunrpc/auth_unix.c: Likewise.
35873 * sunrpc/authdes_prot.c: Likewise.
35874 * sunrpc/authuxprot.c: Likewise.
35875 * sunrpc/clnt_gen.c: Likewise.
35876 * sunrpc/clnt_perr.c: Likewise.
35877 * sunrpc/clnt_raw.c: Likewise.
35878 * sunrpc/clnt_simp.c: Likewise.
35879 * sunrpc/clnt_tcp.c: Likewise.
35880 * sunrpc/clnt_udp.c: Likewise.
35881 * sunrpc/clnt_unix.c: Likewise.
35882 * sunrpc/des_crypt.c: Likewise.
35883 * sunrpc/des_soft.c: Likewise.
35884 * sunrpc/get_myaddr.c: Likewise.
35885 * sunrpc/key_call.c: Likewise.
35886 * sunrpc/key_prot.c: Likewise.
35887 * sunrpc/netname.c: Likewise.
35888 * sunrpc/pm_getmaps.c: Likewise.
35889 * sunrpc/pm_getport.c: Likewise.
35890 * sunrpc/pmap_clnt.c: Likewise.
35891 * sunrpc/pmap_prot.c: Likewise.
35892 * sunrpc/pmap_prot2.c: Likewise.
35893 * sunrpc/pmap_rmt.c: Likewise.
35894 * sunrpc/publickey.c: Likewise.
35895 * sunrpc/rpc_cmsg.c: Likewise.
35896 * sunrpc/rpc_common.c: Likewise.
35897 * sunrpc/rpc_dtable.c: Likewise.
35898 * sunrpc/rpc_prot.c: Likewise.
35899 * sunrpc/rpc_thread.c: Likewise.
35900 * sunrpc/rtime.c: Likewise.
35901 * sunrpc/svc.c: Likewise.
35902 * sunrpc/svc_auth.c: Likewise.
35903 * sunrpc/svc_authux.c: Likewise.
35904 * sunrpc/svc_raw.c: Likewise.
35905 * sunrpc/svc_run.c: Likewise.
35906 * sunrpc/svc_simple.c: Likewise.
35907 * sunrpc/svc_tcp.c: Likewise.
35908 * sunrpc/svc_udp.c: Likewise.
35909 * sunrpc/svc_unix.c: Likewise.
35910 * sunrpc/svcauth_des.c: Likewise.
35911 * sunrpc/xcrypt.c: Likewise.
35912 * sunrpc/xdr.c: Likewise.
35913 * sunrpc/xdr_array.c: Likewise.
35914 * sunrpc/xdr_float.c: Likewise.
35915 * sunrpc/xdr_intXX_t.c: Likewise.
35916 * sunrpc/xdr_mem.c: Likewise.
35917 * sunrpc/xdr_rec.c: Likewise.
35918 * sunrpc/xdr_ref.c: Likewise.
35919 * sunrpc/xdr_sizeof.c: Likewise.
35920 * sunrpc/xdr_stdio.c: Likewise.
35921
e6c61494
UD
359222011-04-10 Ulrich Drepper <drepper@gmail.com>
35923
35924 [BZ #12650]
35925 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35926 * sysdeps/ia64/dl-tls.h: Likewise.
35927 * sysdeps/powerpc/dl-tls.h: Likewise.
35928 * sysdeps/s390/dl-tls.h: Likewise.
35929 * sysdeps/sh/dl-tls.h: Likewise.
35930 * sysdeps/sparc/dl-tls.h: Likewise.
35931 * sysdeps/x86_64/dl-tls.h: Likewise.
35932 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35933
34fe483e
AS
359342011-03-14 Andreas Schwab <schwab@redhat.com>
35935
35936 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35937 rpath element also skip the following colon.
35938 (expand_dynamic_string_token): Add is_path parameter and pass
35939 down to DL_DST_REQUIRED and _dl_dst_substitute.
35940 (decompose_rpath): Call expand_dynamic_string_token with
35941 non-zero is_path. Ignore empty rpaths.
35942 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35943 with zero is_path.
35944
f12a32e6
AS
359452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35946
35947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35948 Make cancelable.
35949
38a7d692
UD
359502011-04-09 Ulrich Drepper <drepper@gmail.com>
35951
35952 [BZ #12655]
35953 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35954 Patch by Filipe David Manana <fdmanana@apache.org>.
35955
e451d22b
AS
359562011-04-07 Andreas Schwab <schwab@redhat.com>
35957
35958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35959 Maintain aligned stack.
35960 (CHECK_RSP): Remove unused macro.
35961
dedc7c7b
UD
359622011-04-03 Ulrich Drepper <drepper@gmail.com>
35963
35964 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35965 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35966
94521213
UD
359672011-04-02 Ulrich Drepper <drepper@gmail.com>
35968
35969 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35970
8cb700c0 35971 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35972
0354e355
L
359732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35974
35975 [BZ #12518]
35976 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35977 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35978 * sysdeps/x86_64/memmove.c: New file.
35979 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35980 (memcpy): Renamed to ...
35981 (__new_memcpy): This.
35982 (memcpy): Provide GLIBC_2_14 memcpy.
35983 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35984 (memcpy): Provide GLIBC_2_2_5 memcpy.
35985
8593482f
UD
359862011-04-01 Ulrich Drepper <drepper@gmail.com>
35987
35988 [BZ #12631]
35989 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35990
81a5726b
AS
359912011-03-30 Andreas Schwab <schwab@redhat.com>
35992
35993 * misc/syncfs.c: New file.
35994 * misc/Makefile (routines): Add syncfs.
35995 * posix/unistd.h: Declare syncfs.
35996 * sysdeps/unix/syscalls.list: Add syncfs.
35997
00e5419f
AS
359982011-04-01 Andreas Schwab <schwab@redhat.com>
35999
36000 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36001 open_by_handle_at.
36002 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36003 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36007 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36009
748876bf
UD
360102011-04-01 Ulrich Drepper <drepper@gmail.com>
36011
658e451d
UD
36012 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36013 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36014 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36016 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36018 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36019
748876bf
UD
36020 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36021 sync_file_range.c with -fexceptions.
36022 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36023 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36024 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36025 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36026 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36027 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36028 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36029 sync_file_range as cancellation point
36030 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36031 now a wrapper around __call_sync_file_range with cancellation handling.
36032 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36033 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36034 function name to __call_sync_file_range.
36035 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36036 Add call_sync_file_range.
748876bf 36037
6e63d5e1
AS
360382011-04-01 Andreas Schwab <schwab@redhat.com>
36039
36040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36041 bits/timex.h.
6e63d5e1 36042
46998f74
UD
360432011-04-01 Ulrich Drepper <drepper@gmail.com>
36044
4c1423ed
UD
36045 * iconv/iconv.h: Fix typo in comment.
36046 * io/fcntl.h: Likewise.
36047 * libio/stdio.h: Likewise.
36048 * posix/spawn.h: Likewise.
36049 * posix/unistd.h: Likewise.
36050 * stdlib/stdlib.h: Likewise.
36051 * time/time.h: Likewise.
36052 * wcsmbs/wchar.h: Likewise.
36053
158648c0
UD
36054 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36055 open_by_handle): Add.
36056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36057 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36058 Augment a few comments.
36059 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36064 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36065 open_by_handle.
36066
46998f74
UD
36067 * io/fcntl.h (AT_EMPTY_PATH): Define.
36068
83fe108b
UD
360692011-03-30 Ulrich Drepper <drepper@gmail.com>
36070
36071 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36072 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36073 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36074 to...
36075 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36076 * Versions.def: Add GLIBC_2.14.
36077 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36078 Export.
83fe108b 36079
bb242059
UD
360802011-03-22 Ulrich Drepper <drepper@gmail.com>
36081
36082 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36083 round counter.
36084 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36085
c97a1282
L
360862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36087
36088 [BZ #12597]
36089 * string/test-strncmp.c (do_page_test): New function.
36090 (check2): Likewise.
36091 (test_main): Call check2.
36092 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36093
2a115601
UD
360942011-03-20 Ulrich Drepper <drepper@gmail.com>
36095
36096 [BZ #12587]
36097 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36098 Handle cache information in CPU leaf 4.
36099 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36100
8126d904
UD
361012011-03-18 Ulrich Drepper <drepper@gmail.com>
36102
042c49c6 36103 [BZ #12583]
8126d904
UD
36104 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36105 character representation.
36106 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36107
ccfe366e
RA
361082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36109
36110 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36111 END(__isnan) to END(__isnanf) to match function entry point/label
36112 EALIGN(__isnanf,...).
36113
c6e13027
JJ
361142011-03-10 Jakub Jelinek <jakub@redhat.com>
36115
36116 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36117
33f85a3f
UD
361182011-03-10 Ulrich Drepper <drepper@gmail.com>
36119
028478fa
UD
36120 [BZ #12510]
36121 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36122 copy from the symbol referenced in the relocation to initialize the
36123 used variable.
36124 Patch by Piotr Bury <pbury@goahead.com>.
36125 * elf/Makefile: Add rules to build and tst-unique3.
36126 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36127 * elf/tst-unique3.cc: New file.
36128 * elf/tst-unique3.h: New file.
36129 * elf/tst-unique3lib.cc: New file.
36130 * elf/tst-unique3lib2.cc: New file.
36131
33f85a3f
UD
36132 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36133
03592fc7
MF
361342011-03-10 Mike Frysinger <vapier@gentoo.org>
36135
36136 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36137 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36138 to _start.
03592fc7 36139
6a5ee102
UD
361402011-03-06 Ulrich Drepper <drepper@gmail.com>
36141
36142 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36143 to-be-loaded object along a path to loader is ld.so.
36144
7e4ba49c
HJ
361452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36146 Ulrich Drepper <drepper@gmail.com>
36147
36148 * sysdeps/x86_64/memset.S: After aligning destination, code
36149 branches to different locations depending on the value of
36150 misalignment, when multiarch is enabled. Fix this.
36151
361522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36153
36154 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36155 Set _x86_64_preferred_memory_instruction for AMD processsors.
36156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36157 Set bit_Prefer_SSE_for_memop for AMD processors.
36158
13a804de
UD
361592011-03-04 Ulrich Drepper <drepper@gmail.com>
36160
36161 * libio/fmemopen.c (fmemopen): Optimize a bit.
36162
9d25c392
AS
361632011-03-03 Andreas Schwab <schwab@redhat.com>
36164
36165 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36166
a5543c6a
RM
361672011-03-03 Roland McGrath <roland@redhat.com>
36168
36169 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36170
012d35f7
DM
361712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36172
7e4ba49c 36173 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36174 __bzero_ultra1 instead of __memset_ultra1.
36175
4bff6e01
AS
361762011-02-23 Andreas Schwab <schwab@redhat.com>
36177 Ulrich Drepper <drepper@gmail.com>
36178
36179 [BZ #12509]
36180 * include/link.h (struct link_map): Add l_orig_initfini.
36181 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36182 returning unsuccessfully.
36183 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36184 close of a file loaded at startup, restore the original l_initfini
36185 list.
36186 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36187 list, store the pointer.
36188 * elf/Makefile ($(objpfx)noload-mem): New rule.
36189 (noload-ENV): Define.
36190 (tests): Add $(objpfx)noload-mem.
36191 * elf/noload.c: Include <memcheck.h>.
36192 (main): Call mtrace. Close all opened handles.
36193
f2092faf
AS
361942011-02-17 Andreas Schwab <schwab@redhat.com>
36195
36196 [BZ #12454]
36197 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36198 dependencies are missing.
36199
6c8a2e88
ST
362002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36201
f2092faf 36202 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36203 Hurd needs munmap.
36204 * sysdeps/mach/hurd/ifreq.h: New file.
36205
84a42118
PB
362062011-01-27 Petr Baudis <pasky@suse.cz>
36207 Ulrich Drepper <drepper@gmail.com>
36208
071f805e 36209 [BZ 12445]#
84a42118
PB
36210 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36211 to extend_alloca().
36212 * stdio-common/bug23.c: New file.
36213 * stdio-common/Makefile (tests): Add bug23.
36214
e23fe25b
AS
362152010-09-28 Andreas Schwab <schwab@redhat.com>
36216 Ulrich Drepper <drepper@gmail.com>
36217
36218 [BZ #12489]
36219 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36220 before performing relro protection. At old place add assertion
36221 to make sure nothing changed.
36222
d3f02e10
NS
362232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36224 Glauber de Oliveira Costa <glommer@gmail.com>
36225
36226 * elf/elf.h: Add new ARM TLS relocs.
36227
d55fd7a5
RA
362282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36229
36230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36231 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36232 cast from r3.
36233 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36234 'tests' variable.
36235 * sysdeps/wordsize-64/tst-writev.c: New file.
36236
2206397e
RA
362372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36238
36239 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36240 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36241 insns in _dl_start to prevent a TOC reference before relocs are
36242 resolved.
36243
e9433893
UD
362442011-02-15 Ulrich Drepper <drepper@gmail.com>
36245
36246 [BZ #12469]
36247 * Makeconfig: Remove RANLIB definition.
36248 * Makerules: Don't use RANLIB.
36249 * aclocal.m4: Remove ranlib test.
36250 * configure.in: No need to check for ranlib.
36251 * elf/rtld-Rules: Don't use RANLIB.
36252
f75286c6
ST
362532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36254
8e31c82d
ST
36255 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36256 protection macro.
36257 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36258 inclusion protection macro.
36259
f75286c6
ST
36260 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36261 SIGRTMIN and SIGRTMAX and print information in that case only when
36262 SIGRTMIN is defined.
36263
c1d0e639
JJ
362642011-02-11 Jakub Jelinek <jakub@redhat.com>
36265
36266 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36267 arginfo fn returning -1.
36268
36269 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36270 and thousands string is zero terminated.
36271
edf9294e
AS
362722011-02-03 Andreas Schwab <schwab@redhat.com>
36273
36274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36275 sysdeps/unix/sysv/linux/bits/socket.h.
36276
2b7e92df
ST
362772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36278
edf9294e
AS
36279 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36280 (__CPU_COUNT): Remove old macros.
36281 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36282 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36283 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36284 (__sched_cpualloc, __sched_cpufree): Add declarations.
36285
a4c7ea7b
UD
362862011-02-05 Ulrich Drepper <drepper@gmail.com>
36287
36288 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36289 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36290 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36291 (readdhstai): Return value of addhstaiX call.
36292 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36293 (addgrbyX): Return value returned by cache_addgr.
36294 (readdgrbyname): Return value returned by addgrbyX.
36295 (readdgrbygid): Likewise.
36296 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36297 (addpwbyX): Return value returned by cache_addpw.
36298 (readdpwbyname): Return value returned by addhstbyX.
36299 (readdpwbyuid): Likewise.
36300 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36301 (addservbyX): Return value returned by cache_addserv.
36302 (readdservbyname): Return value returned by addservbyX:
36303 (readdservbyport): Likewise.
36304 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36305 (addhstbyX): Return value returned by cache_addhst.
36306 (readdhstbyname): Return value returned by addhstbyX.
36307 (readdhstbyaddr): Likewise.
36308 (readdhstbynamev6): Likewise.
36309 (readdhstbyaddrv6): Likewise.
36310 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36311 (readdinitgroups): Return value returned by addinitgroupsX.
36312 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36313 (prune_cache): Keep track of timeout value of re-added entries.
36314 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36315 * nscd/nscd.h: Adjust prototypes of readd* functions.
36316
a0bf67cc
RM
363172011-02-04 Roland McGrath <roland@redhat.com>
36318
36319 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36320 (nis_stats): Likewise.
36321 * nis/nis_modify.c (nis_modify): Likewise.
36322 * nis/nis_remove.c (nis_remove): Likewise.
36323 * nis/nis_add.c (nis_add): Likewise.
36324
36325 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36326
36327 * posix/fnmatch_loop.c: Add some consts.
36328
36329 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36330
435b95eb
L
363312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36332
36333 [BZ #12460]
36334 * config.make.in (config-cflags-novzeroupper): Define.
36335 * configure.in: Substitute libc_cv_cc_novzeroupper.
36336 * elf/Makefile (AVX-CFLAGS): Define.
36337 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36338 (CFLAGS-tst-auditmod4a.c): Likewise.
36339 (CFLAGS-tst-auditmod4b.c): Likewise.
36340 (CFLAGS-tst-auditmod6b.c): Likewise.
36341 (CFLAGS-tst-auditmod6c.c): Likewise.
36342 (CFLAGS-tst-auditmod7b.c): Likewise.
36343 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36344
8517b15e
UD
363452011-02-02 Ulrich Drepper <drepper@gmail.com>
36346
36347 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36348 function to the callback.
36349 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36350
10a656fe
AS
363512011-02-02 Andreas Schwab <schwab@redhat.com>
36352
36353 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36354 of errno.
36355
968dad0a
UD
363562011-01-19 Ulrich Drepper <drepper@gmail.com>
36357
9f94d2ea 36358 [BZ #11724]
968dad0a
UD
36359 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36360 of constructors.
36361 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36362 of destructors.
36363 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36364
36365 [BZ #11724]
36366 * elf/Makefile: Add rules to build and run new test.
36367 * elf/tst-initorder.c: New file.
36368 * elf/tst-initorder.exp: New file.
36369 * elf/tst-initordera1.c: New file.
36370 * elf/tst-initordera2.c: New file.
36371 * elf/tst-initordera3.c: New file.
36372 * elf/tst-initordera4.c: New file.
36373 * elf/tst-initorderb1.c: New file.
36374 * elf/tst-initorderb2.c: New file.
36375 * elf/tst-order-a1.c: New file.
36376 * elf/tst-order-a2.c: New file.
36377 * elf/tst-order-a3.c: New file.
36378 * elf/tst-order-a4.c: New file.
36379 * elf/tst-order-b1.c: New file.
36380 * elf/tst-order-b2.c: New file.
36381 * elf/tst-order-main.c: New file.
36382 New test case by George Gensure <werkt0@gmail.com>.
36383
86e92359
UD
363842010-10-01 Andreas Schwab <schwab@redhat.com>
36385
36386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36387 decoding ACE if AI_CANONIDN.
36388
5d5732b0
UD
363892011-01-18 Ulrich Drepper <drepper@gmail.com>
36390
36391 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36392
a77e8cbc
UD
363932011-01-17 Ulrich Drepper <drepper@gmail.com>
36394
6392473f
UD
36395 * version.h (RELEASE): Bump for 2.13 release.
36396 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36397
620a0529
UD
36398 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36399
18ba70a5
UD
36400 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36401 MADV_NOHUGEPAGE.
32465c3e
UD
36402 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36403 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36405 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36406 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36408
c0dafcf1
UD
36409 * posix/getconf.c: Update copyright year.
36410 * catgets/gencat.c: Likewise.
36411 * csu/version.c: Likewise.
36412 * debug/catchsegv.sh: Likewise.
36413 * debug/xtrace.sh: Likewise.
36414 * elf/ldconfig.c: Likewise.
36415 * elf/ldd.bash.in: Likewise.
36416 * elf/sprof.c (print_version): Likewise.
36417 * iconv/iconv_prog.c: Likewise.
36418 * iconv/iconvconfig.c: Likewise.
36419 * locale/programs/locale.c: Likewise.
36420 * locale/programs/localedef.c: Likewise.
36421 * malloc/memusage.sh: Likewise.
36422 * malloc/mtrace.pl: Likewise.
36423 * nscd/nscd.c (print_version): Likewise.
36424 * nss/getent.c: Likewise.
36425
a77e8cbc
UD
36426 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36427 PF_CAIF, and PF_ALG.
36428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36429
77e8bddf
AS
364302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36431
1f20b93a
AS
36432 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36433 (modules-names): Use them.
36434 (ifunc-test-modules, ifunc-pie-tests): Define.
36435 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36436 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36437 (test-extras): Likewise.
36438 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36439 $(compile-command.c).
36440 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36441 (all-built-dso): Define.
36442 (check-textrel.out, check-execstack.out): Depend on it.
36443
77e8bddf
AS
36444 * configure.in: Don't override --enable-multi-arch.
36445
bc425b33
UD
364462011-01-15 Ulrich Drepper <drepper@gmail.com>
36447
36448 [BZ #6812]
36449 * nscd/hstcache.c (tryagain): Define.
36450 (cache_addhst): Return tryagain not notfound for temporary errors.
36451 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36452 failed.
36453
794c3ad3
UD
364542011-01-14 Ulrich Drepper <drepper@gmail.com>
36455
70181fdd
UD
36456 [BZ #10563]
36457 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36458 to make the syscall.
36459 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36460
794c3ad3
UD
36461 [BZ #12378]
36462 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36463 and fall back to matching as normal character if the string ends before
36464 the matching ']' is found. This is what POSIX requires.
36465 * posix/testfnm.c: Adjust test result.
36466 * posix/globtest.sh: Adjust test result. Add new test.
36467 * posix/tst-fnmatch.input: Likewise.
36468 * posix/tst-fnmatch2.c: Add new test.
36469
68dc9497
AS
364702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36471
36472 * elf/Makefile (check-execstack): Revert last change. Depend on
36473 check-execstack.h.
36474 (check-execstack.h): New target.
36475 (generated): Add check-execstack.h.
36476 * elf/check-execstack.c: Include "check-execstack.h".
36477 (main): Revert last change.
36478 (handle_file): Return zero if GNU_STACK is absent and
36479 DEFAULT_STACK_PERMS doesn't include PF_X.
36480
451f001b
UD
364812011-01-13 Ulrich Drepper <drepper@gmail.com>
36482
cfa28e56
UD
36483 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36484 in child fails because the descriptor is already closed.
8cf8ce17
UD
36485 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36486 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36487 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36488
1086d70d
UD
36489 [BZ #12397]
36490 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36491 syscall.
36492
451f001b
UD
36493 [BZ #10484]
36494 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36495 temporary buffer used to handle multi lookups locally.
a85b5cb4 36496 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36497
08769175
UD
364982011-01-12 Ulrich Drepper <drepper@gmail.com>
36499
36500 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36501 loader is ld.so.
36502
5e49c52e
UD
365032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36504
36505 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36506 alignment for SSE2.
36507
60522a5f
UD
365082011-01-12 Ulrich Drepper <drepper@gmail.com>
36509
36510 [BZ #12394]
36511 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36512 characters. When rounding increased number of integer digits recompute
36513 number of groups.
36514 * stdio-common/tst-grouping.c: New file.
36515 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36516
f257bbd7
UD
365172011-01-09 Ulrich Drepper <drepper@gmail.com>
36518
36519 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36520 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36521
36522 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36523 void.
36524 * bits/select.h: Likewise.
36525
fa9c15cb
UD
365262011-01-08 Ulrich Drepper <drepper@gmail.com>
36527
36528 * po/ja.po: Update from translation team.
36529
16c2895f
DM
365302011-01-04 David S. Miller <davem@sunset.davemloft.net>
36531
36532 [BZ #11155]
36533 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36534 implementation just like for lxstat, fxstatat, et al.
36535
2543fef2
JM
365362010-12-27 Jim Meyering <meyering@redhat.com>
36537
36538 [BZ #12348]
36539 * posix/regexec.c (build_trtable): Return failure indication upon
36540 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36541
98727dbe
UD
365422010-12-25 Ulrich Drepper <drepper@gmail.com>
36543
5bd6dc5c
UD
36544 [BZ #12201]
36545 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36546 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36547 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36548 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36549
97983464
UD
36550 [BZ #12207]
36551 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36552
98727dbe
UD
36553 [BZ #12204]
36554 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36555 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36556
4a531bb0
L
365572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36558
36559 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36560 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36561 script has SORT_BY_INIT_PRIORITY.
36562 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36563 NO_CTORS_DTORS_SECTIONS is defined.
36564 * elf/soinit.c: Likewise.
36565 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36566 NO_CTORS_DTORS_SECTIONS is defined.
36567 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36568 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36569 * sysdeps/sh/init-first.c: Likewise.
36570 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36571
07eb4b71
UD
365722010-12-24 Ulrich Drepper <drepper@gmail.com>
36573
36574 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36575 always use the slow path.
36576
30950a5f
RA
365772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36578
36579 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36580 similar rule which adds the sysdep directories to the header search in
36581 order to pick up the correct platform stackinfo.h.
36582 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36583 perform test if it is, otherwise return successfully without testing.
36584 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36585 DEFAULT_STACK_PERMS define in stackinfo.h.
36586 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36587 defined in stackinfo.h.
36588 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36589 DEFAULT_STACK_PERMS defined in stackinfo.h.
36590 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36591 * sysdeps/ia64/stackinfo.h: Likewise.
36592 * sysdeps/s390/stackinfo.h: Likewise.
36593 * sysdeps/sh/stackinfo.h: Likewise.
36594 * sysdeps/sparc/stackinfo.h: Likewise.
36595 * sysdeps/x86_64/stackinfo.h: Likewise.
36596 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36597 PF_X for powerpc64. Retain PF_X for powerpc32.
36598
db753e2c
UD
365992010-12-19 Ulrich Drepper <drepper@gmail.com>
36600
14b697f7
UD
36601 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36602 accurately.
db753e2c
UD
36603 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36604 GETDENTS_64BIT_ALIGNED.
36605
28300719
UD
366062010-12-14 Ulrich Drepper <dreper@gmail.com>
36607
14b697f7 36608 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36609
4f197237
AS
366102010-12-10 Andreas Schwab <schwab@redhat.com>
36611
dbb0472f
AS
36612 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36613 _GNU_SOURCE.
36614
4f197237
AS
36615 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36616 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36617 Remove __restrict.
36618 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36619 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36620
fb88ac72
UD
366212010-12-09 Ulrich Drepper <drepper@gmail.com>
36622
36623 [BZ #11655]
36624 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36625 are initialized.
36626
42acbb92
JJ
366272010-12-09 Jakub Jelinek <jakub@redhat.com>
36628
36629 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36630
c038d98d
UD
366312010-12-03 Ulrich Drepper <drepper@gmail.com>
36632
36633 * po/it.po: Update from translation team.
36634
3a4a2499
L
366352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36636
36637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36638 unused codes.
36639
1e24cf6e
UD
366402010-11-30 Ulrich Drepper <drepper@gmail.com>
36641
36642 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36643
a7690819
AS
366442010-11-24 Andreas Schwab <schwab@redhat.com>
36645
36646 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36647 specially.
36648 (gaih_getanswer_slice): Likewise.
36649
3bf8d1b1
JJ
366502010-10-20 Jakub Jelinek <jakub@redhat.com>
36651
36652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36653
6db52fbb
PB
366542010-05-31 Petr Baudis <pasky@suse.cz>
36655
36656 [BZ #11149]
36657 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36658 silently even in the chroot mode.
36659
eaca7569
UD
366602010-11-22 Ulrich Drepper <drepper@gmail.com>
36661
36662 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36663 last patch a bit. Pretty printing
36664
3056dcdb
UD
366652010-05-31 Petr Baudis <pasky@suse.cz>
36666
36667 [BZ #10085]
36668 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36669 initialization of skip_initgroups_dyn.
36670
cf7c9078
UD
366712010-11-19 Ulrich Drepper <drepper@gmail.com>
36672
36673 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36674 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36675
a1fb5e3e
UD
366762010-11-16 Ulrich Drepper <drepper@gmail.com>
36677
36678 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36679
3540d66b
AS
366802010-11-11 Andreas Schwab <schwab@redhat.com>
36681
36682 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36683 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36684 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36685 ($(objpfx)tst-fnmatch-mem): New rule.
36686 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36687 * posix/tst-fnmatch.c (main): Call mtrace.
36688
13b69574
L
366892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36690
36691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36692 Support Intel processor model 6 and model 0x2c.
36693
da93d214
LM
366942010-11-10 Luis Machado <luisgpm@br.ibm.com>
36695
36696 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36697 signed comparison.
36698
8ca52c6e
L
366992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36700
36701 [BZ #12205]
36702 * string/test-strncasecmp.c (check_result): New function.
36703 (do_one_test): Use it.
36704 (check1): New function.
36705 (test_main): Use it.
36706 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36707 Support strcasecmp and strncasecmp.
36708
69da074d
UD
367092010-11-08 Ulrich Drepper <drepper@gmail.com>
36710
36711 [BZ #12194]
36712 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36713 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36714
ff02d528
L
367152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36716
36717 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36718 IFUNC support.
36719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36720 memset-x86-64.
36721 * sysdeps/x86_64/multiarch/bzero.S: New file.
36722 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36723 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36724 * sysdeps/x86_64/multiarch/memset.S: New file.
36725 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36727 Set bit_Prefer_SSE_for_memop for Intel processors.
36728 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36729 Define.
36730 (index_Prefer_SSE_for_memop): Define.
36731 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36732
344d0b54
LM
367332010-11-04 Luis Machado <luisgpm@br.ibm.com>
36734
36735 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36736 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36737
c0dde15b
UD
367382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36739
36740 [BZ #12191]
36741 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36742 (__x86_64_raw_data_cache_size_half): Likewise.
36743 (__x86_64_raw_shared_cache_size): Likewise.
36744 (__x86_64_raw_shared_cache_size_half): Likewise.
36745
36746 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36747 (__x86_64_raw_data_cache_size_half): Likewise.
36748 (__x86_64_raw_shared_cache_size): Likewise.
36749 (__x86_64_raw_shared_cache_size_half): Likewise.
36750 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36751 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36752 and __x86_64_raw_shared_cache_size_half. Round
36753 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36754 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36755 to multiple of 256 bytes.
36756
0e516e0e
MS
367572010-11-03 Ulrich Drepper <drepper@gmail.com>
36758
36759 [BZ #12167]
36760 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36761 of inacessible symlinks. Verify result of symlink before returning it.
36762 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36763 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36764
0e012e87
ER
367652010-10-28 Erich Ritz <erichritz@gmail.com>
36766
36767 * math/math.h (isinf): Fix typo in comment.
36768
de0ff7bc
UD
367692010-11-01 Ulrich Drepper <drepper@gmail.com>
36770
36771 * po/da.po: Update from translation team.
36772
fa41c84d
UD
367732010-10-26 Ulrich Drepper <drepper@gmail.com>
36774
36775 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36776 is added to the list.
36777
f0967738
AK
367782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36779 Ulrich Drepper <drepper@gmail.com>
36780
36781 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36782 the global list here. Move code to...
36783 (_dl_add_to_namespace_list): ...here. New function.
36784 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36785 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36786 * elf/dl-load.c (lose): Don't remove the element from the list.
36787 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36788 (_dl_map_object): Likewise.
36789
367902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36791
36792 [BZ #12159]
36793 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36794 into all bytes of SSE register.
36795 Patch by Richard Li <richardpku@gmail.com>.
36796
f0967738 367972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36798
36799 [BZ #12140]
36800 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36801 perturbing.
36802
d0b9e94f
MB
368032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36804
36805 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36806 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36807 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36808 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36810 submachine.
36811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36812
8e9f92e9
AS
368132010-10-22 Andreas Schwab <schwab@redhat.com>
36814
36815 * include/dlfcn.h (__RTLD_SECURE): Define.
36816 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36817 mode & __RTLD_SECURE instead.
36818 (open_path): Rename preloaded parameter to secure.
36819 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36820 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36821 * elf/dl-deps.c (openaux): Likewise.
36822 * elf/rtld.c (struct map_args): Remove is_preloaded.
36823 (map_doit): Don't use it.
36824 (dl_main): Likewise.
36825 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36826 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36827
bc96fbda
AS
368282010-09-09 Andreas Schwab <schwab@redhat.com>
36829
36830 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36831 (sysd-rules-targets): Remove duplicates.
36832 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36833 rtld-%.$o dependency.
36834
22cd1c9b
AS
368352010-10-18 Andreas Schwab <schwab@redhat.com>
36836
36837 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36838 _dl_map_object do it.
36839
18edac48
UD
368402010-10-19 Ulrich Drepper <drepper@gmail.com>
36841
36842 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36843 fast fma builtins, define the macros in the C99 standard.
36844 (FP_FAST_FMAF): Likewise.
36845 (FP_FAST_FMAL): Likewise.
36846 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36847
36848 * bits/mathdef.h: Update copyright year.
36849 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36850
d2050124
MM
368512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36852
36853 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36854 builtins, define the macros in the C99 standard.
36855 (FP_FAST_FMAF): Likewise.
36856 (FP_FAST_FMAL): Likewise.
36857 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36858 multiply/add.
36859 (FP_FAST_FMAF): Likewise.
36860
475facd1
JJ
368612010-10-15 Jakub Jelinek <jakub@redhat.com>
36862
36863 [BZ #3268]
36864 * math/libm-test.inc (fma_test): Some new testcases.
36865 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36866 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36867 y and infinite z. Do multiplication by C already in long double.
36868 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36870 y and infinite z. Do bitwise or of inexact bit into u.d.
36871 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36872 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36873 * sysdeps/i386/fpu/s_fma.S: Removed.
36874 * sysdeps/i386/fpu/s_fmal.S: Removed.
36875
7c08a05c
JJ
368762010-10-16 Jakub Jelinek <jakub@redhat.com>
36877
36878 [BZ #3268]
36879 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36881 computation is not scheduled after fetestexcept. Fix value
36882 of minimum denormal long double.
36883
f3f7372d
JJ
368842010-10-14 Jakub Jelinek <jakub@redhat.com>
36885
36886 [BZ #3268]
36887 * math/libm-test.inc (fma_test): Add some more tests.
36888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36889 correctly.
36890
14d43591
AS
368912010-10-15 Andreas Schwab <schwab@redhat.com>
36892
36893 * scripts/data/localplt-s390-linux-gnu.data: New file.
36894 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36895
5e908464
JJ
368962010-10-13 Jakub Jelinek <jakub@redhat.com>
36897
36898 [BZ #3268]
36899 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36900 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36901 instead of dbl-64.
36902 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36903 inlines.
36904 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36906 if one of x and y is very large and the other is subnormal.
36907 * sysdeps/s390/fpu/s_fmaf.c: New file.
36908 * sysdeps/s390/fpu/s_fma.c: New file.
36909 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36910 * sysdeps/powerpc/fpu/s_fma.S: New file.
36911 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36912 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36913 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36914
369152010-10-12 Jakub Jelinek <jakub@redhat.com>
36916
36917 [BZ #3268]
36918 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36919 fma tests.
36920 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36921 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36922 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36923 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36924 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36925 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36926 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36927
b833d51f
UD
369282010-10-12 Ulrich Drepper <drepper@redhat.com>
36929
36930 [BZ #12078]
36931 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36932 * posix/bug-regex31.input: Add test case.
36933
1751705d
UD
369342010-10-11 Ulrich Drepper <drepper@gmail.com>
36935
e9b9cbf5
UD
36936 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36937 * posix/bug-regex31.input: New file.
36938
36939 [BZ #12078]
36940 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36941 (parse_sub_exp): Fix last change, use postorder.
36942
ef06edbe
UD
36943 * posix/bug-regex31.c: New file.
36944 * posix/Makefile: Add rules to build and run bug-regex31.
36945
a129c80d
UD
36946 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36947
36948 [BZ #12078]
36949 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36950
b76b818e
UD
36951 [BZ #12108]
36952 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36953 to have entries in sys_siglist.
36954
1751705d
UD
36955 [BZ #12093]
36956 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36957 be NULL.
36958
9ff8d36f
JJ
369592010-10-07 Jakub Jelinek <jakub@redhat.com>
36960
36961 [BZ #3268]
36962 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36963 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36964 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36965 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36966 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36967 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36968 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36969 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36970 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36971 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36972 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36973 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36974 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36975 * math/ftestexcept.c (fetestexcept): Likewise.
36976 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36977 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36978 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36979 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36980 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36981 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36982 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36983
af325969
UD
369842010-10-11 Ulrich Drepper <drepper@gmail.com>
36985
c579b202 36986 [BZ #12107]
af325969
UD
36987 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36988 newline.
36989
67a67b95
UD
369902010-10-06 Ulrich Drepper <drepper@gmail.com>
36991
36992 * string/bug-strstr1.c: New file.
36993 * string/Makefile: Add rules to build and run bug-strstr1.
36994
5fb308bc
EB
369952010-10-05 Eric Blake <eblake@redhat.com>
36996
36997 [BZ #12092]
36998 * string/str-two-way.h (two_way_long_needle): Always clear memory
36999 when skipping input due to the shift table.
37000
45db99c7
UD
370012010-10-03 Ulrich Drepper <drepper@gmail.com>
37002
3b111893
UD
37003 [BZ #12005]
37004 * malloc/mcheck.c: Handle large requests.
37005
45db99c7
UD
37006 [BZ #12077]
37007 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37008 for strncmp and strncasecmp.
37009 * string/stratcliff.c: Add tests for strcmp and strncmp.
37010 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37011
cf7a1eb8
NI
370122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37013
37014 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37015 __set_fpscr.
37016
6484ba5e
AJ
370172010-09-30 Andreas Jaeger <aj@suse.de>
37018
37019 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37020 (CGROUP_SUPER_MAGIC): Define.
37021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37022 Handle btrfs and cgroup file systems.
37023 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37024 Likewise.
37025
91c42559
LM
370262010-09-27 Luis Machado <luisgpm@br.ibm.com>
37027
37028 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37029 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37030
87a97932
AK
370312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37032
37033 [BZ #12067]
37034 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37035 trying to locate the ELF header.
37036
c21cc9bc
AS
370372010-09-27 Andreas Schwab <schwab@redhat.com>
37038
37039 [BZ #11611]
37040 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37041 Mask out sign-bit copies when constructing f_fsid.
37042
315970f6
PB
370432010-09-24 Petr Baudis <pasky@suse.cz>
37044
37045 * debug/stack_chk_fail_local.c: Add missing licence exception.
37046 * debug/warning-nop.c: Likewise.
37047
1ac7a2c7
JM
370482010-09-15 Joseph Myers <joseph@codesourcery.com>
37049
37050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37051 implementing getdents64 using getdents syscall, set d_type if
37052 __ASSUME_GETDENTS32_D_TYPE.
37053
56801c50
AS
370542010-09-16 Andreas Schwab <schwab@redhat.com>
37055
37056 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37057 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37058
dda51327
UD
370592010-09-21 Ulrich Drepper <drepper@redhat.com>
37060
37061 [BZ #12037]
37062 * posix/unistd.h: Undo change of feature selection for ftruncate from
37063 2010-01-11.
37064
8ffcee4a
UD
370652010-09-20 Ulrich Drepper <drepper@redhat.com>
37066
a545ecd9 37067 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37068 detection.
37069
e24f0a8b
AS
370702010-09-20 Andreas Schwab <schwab@redhat.com>
37071
37072 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37073 fanotify_mark.
37074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37075
7291c56f
AS
370762010-09-14 Andreas Schwab <schwab@redhat.com>
37077
37078 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37079 variables after CHECK_SP call.
37080 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37081
bc5fb037
AS
370822010-09-13 Andreas Schwab <schwab@redhat.com>
37083 Ulrich Drepper <drepper@redhat.com>
37084
37085 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37086 re-relocationg ld.so.
37087 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37088 _dl_init_paths call.
37089 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37090 here anymore.
37091
e66e7419
UD
370922010-09-14 Ulrich Drepper <drepper@redhat.com>
37093
37094 * resolv/res_init.c (__res_vinit): Count the default server we added.
37095
c044aa75
CLT
370962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37097 Ulrich Drepper <drepper@redhat.com>
37098
37099 [BZ #11968]
37100 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37101 (____longjmp_chk): Use %ebx for saving value across system call.
37102 Add unwind info.
37103
32cf4069
AS
371042010-09-06 Andreas Schwab <schwab@redhat.com>
37105
37106 * manual/Makefile: Don't mix pattern rules with normal rules.
37107
817328ee
AS
371082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37109
37110 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37111 operation.
37112 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37113 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37114 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37115 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37117 Likewise.
37118
29fddf61
UD
371192010-09-04 Ulrich Drepper <drepper@redhat.com>
37120
37121 [BZ #11979]
37122 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37123 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37124
0959ffc9
UD
371252010-09-02 Ulrich Drepper <drepper@redhat.com>
37126
37127 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37128 * sysdeps/x86_64/addmul_1.S: Likewise.
37129 * sysdeps/x86_64/lshift.S: Likewise.
37130 * sysdeps/x86_64/mul_1.S: Likewise.
37131 * sysdeps/x86_64/rshift.S: Likewise.
37132 * sysdeps/x86_64/sub_n.S: Likewise.
37133 * sysdeps/x86_64/submul_1.S: Likewise.
37134
ece29840
ST
371352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37136
0959ffc9
UD
37137 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37138 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37139 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37140 * bits/sched.h [__need_schedparam]
ece29840 37141 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37142 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37143 (__defined_schedparam): Define to 1.
ece29840
ST
37144 (__sched_param): New structure, identical to sched_param.
37145 (__need_schedparam): Undefine.
37146
e53a31fe
MF
371472010-08-31 Mike Frysinger <vapier@gentoo.org>
37148
fdc0c10d
MF
37149 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37150 (epoll_create1): Declare.
37151
e53a31fe
MF
37152 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37153
a726d796
AS
371542010-08-31 Andreas Schwab <schwab@redhat.com>
37155
37156 [BZ #7066]
37157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37158 shifting retval into place.
37159
2f3e3dc7
UD
371602010-09-01 Ulrich Drepper <drepper@redhat.com>
37161
f2933da9
UD
37162 * nis/rpcsvc/nis.h: Update copyright notice.
37163 * nis/rpcsvc/nis.x: Likewise.
37164 * nis/rpcsvc/nis_callback.h: Likewise.
37165 * nis/rpcsvc/nis_callback.x: Likewise.
37166 * nis/rpcsvc/nis_object.x: Likewise.
37167 * nis/rpcsvc/nis_tags.h: Likewise.
37168 * nis/rpcsvc/yp.h: Likewise.
37169 * nis/rpcsvc/yp.x: Likewise.
37170 * nis/rpcsvc/ypupd.h: Likewise.
37171 * nis/yp_xdr.c: Likewise.
37172 * nis/ypupdate_xdr.c: Likewise.
37173
2f3e3dc7
UD
37174 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37175 mainly the body of pmap_getport. Add parameters to specify timeouts.
37176 (pmap_getport): Use __libc_rpc_getport.
37177 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37178 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37179 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37180
f3dcc2f9
AS
371812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37182
37183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37184 fanotify_mark.
37185
6d34eb5b
RM
371862010-08-27 Roland McGrath <roland@redhat.com>
37187
37188 * sysdeps/i386/i686/multiarch/Makefile
37189 (CFLAGS-varshift.c): New variable.
37190
9ea3de11
UD
371912010-08-27 Ulrich Drepper <drepper@redhat.com>
37192
c96d23fc
UD
37193 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37194 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37195
9ea3de11
UD
37196 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37197
37198 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37199
623aac7f
L
372002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37201
37202 * sysdeps/x86_64/strlen.S: Unroll the loop.
37203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37204 strlen-sse2 strlen-sse2-bsf.
37205 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37206 __strlen_no_bsf if bit_Slow_BSF is set.
37207 (__strlen_sse42): Removed.
37208 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37209 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37210
8b2b7715
RM
372112010-08-25 Roland McGrath <roland@redhat.com>
37212
37213 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37214 * sysdeps/x86_64/multiarch/varshift.c: New file.
37215 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37216 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37217 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37218 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37219
e73015f2
L
372202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37221
37222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37223 strlen-sse2 strlen-sse2-bsf.
37224 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37225 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37226 (__strlen_sse2): Removed.
37227 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37228 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37230 bit_Slow_BSF for Atom.
37231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37232 (index_Slow_BSF): Define.
37233 (HAS_SLOW_BSF): Define.
37234
df24a73e
UD
372352010-08-25 Ulrich Drepper <drepper@redhat.com>
37236
37237 [BZ #10851]
37238 * resolv/res_init.c (__res_vinit): When no server address at all
37239 is given default to loopback.
37240
f2ac4868
RM
372412010-08-24 Roland McGrath <roland@redhat.com>
37242
09055553
RM
37243 * configure.in: Remove config-name.h generation.
37244 * configure: Regenerated.
37245 * config-name.in: File removed.
37246 * scripts/config-uname.sh: New file.
37247 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37248 ($(objdir)config-name.h): New target.
37249
f2ac4868
RM
37250 * sunrpc/rpc_parse.h: Avoid nested comment.
37251
73f27d5e
RH
372522010-08-24 Richard Henderson <rth@redhat.com>
37253 Ulrich Drepper <drepper@redhat.com>
37254 H.J. Lu <hongjiu.lu@intel.com>
37255
37256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37258 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37259 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37260 _mm_alignr_epi8 with _mm_loadu_si128.
37261 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37262 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37263 (__m128i_shift_right): Removed.
37264 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37265 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37266 * sysdeps/x86_64/multiarch/varshift.h: New file.
37267 * sysdeps/x86_64/multiarch/varshift.S: New file.
37268
84b9230c
MF
372692010-08-21 Mike Frysinger <vapier@gentoo.org>
37270
37271 * configure.in: Move assembler checks to before sysdep dir checking.
37272
9bbd0ddc
PB
372732010-08-20 Petr Baudis <pasky@suse.cz>
37274
37275 * LICENSES: Sync the sunrpc license.
37276
9da4bb31
UD
372772010-08-19 Ulrich Drepper <drepper@redhat.com>
37278
a7ab6ec8
UD
37279 * sunrpc/auth_des.c: Update copyright notice once again.
37280 * sunrpc/auth_none.c: Likewise.
37281 * sunrpc/auth_unix.c: Likewise.
37282 * sunrpc/authdes_prot.c: Likewise.
37283 * sunrpc/authuxprot.c: Likewise.
37284 * sunrpc/bindrsvprt.c: Likewise.
37285 * sunrpc/clnt_gen.c: Likewise.
37286 * sunrpc/clnt_perr.c: Likewise.
37287 * sunrpc/clnt_raw.c: Likewise.
37288 * sunrpc/clnt_simp.c: Likewise.
37289 * sunrpc/clnt_tcp.c: Likewise.
37290 * sunrpc/clnt_udp.c: Likewise.
37291 * sunrpc/clnt_unix.c: Likewise.
37292 * sunrpc/des_crypt.c: Likewise.
37293 * sunrpc/des_soft.c: Likewise.
37294 * sunrpc/get_myaddr.c: Likewise.
37295 * sunrpc/getrpcport.c: Likewise.
37296 * sunrpc/key_call.c: Likewise.
37297 * sunrpc/key_prot.c: Likewise.
37298 * sunrpc/openchild.c: Likewise.
37299 * sunrpc/pm_getmaps.c: Likewise.
37300 * sunrpc/pm_getport.c: Likewise.
37301 * sunrpc/pmap_clnt.c: Likewise.
37302 * sunrpc/pmap_prot.c: Likewise.
37303 * sunrpc/pmap_prot2.c: Likewise.
37304 * sunrpc/pmap_rmt.c: Likewise.
37305 * sunrpc/rpc/auth.h: Likewise.
37306 * sunrpc/rpc/auth_unix.h: Likewise.
37307 * sunrpc/rpc/clnt.h: Likewise.
37308 * sunrpc/rpc/des_crypt.h: Likewise.
37309 * sunrpc/rpc/key_prot.h: Likewise.
37310 * sunrpc/rpc/netdb.h: Likewise.
37311 * sunrpc/rpc/pmap_clnt.h: Likewise.
37312 * sunrpc/rpc/pmap_prot.h: Likewise.
37313 * sunrpc/rpc/pmap_rmt.h: Likewise.
37314 * sunrpc/rpc/rpc.h: Likewise.
37315 * sunrpc/rpc/rpc_des.h: Likewise.
37316 * sunrpc/rpc/rpc_msg.h: Likewise.
37317 * sunrpc/rpc/svc.h: Likewise.
37318 * sunrpc/rpc/svc_auth.h: Likewise.
37319 * sunrpc/rpc/types.h: Likewise.
37320 * sunrpc/rpc/xdr.h: Likewise.
37321 * sunrpc/rpc_clntout.c: Likewise.
37322 * sunrpc/rpc_cmsg.c: Likewise.
37323 * sunrpc/rpc_common.c: Likewise.
37324 * sunrpc/rpc_cout.c: Likewise.
37325 * sunrpc/rpc_dtable.c: Likewise.
37326 * sunrpc/rpc_hout.c: Likewise.
37327 * sunrpc/rpc_main.c: Likewise.
37328 * sunrpc/rpc_parse.c: Likewise.
37329 * sunrpc/rpc_parse.h: Likewise.
37330 * sunrpc/rpc_prot.c: Likewise.
37331 * sunrpc/rpc_sample.c: Likewise.
37332 * sunrpc/rpc_scan.c: Likewise.
37333 * sunrpc/rpc_scan.h: Likewise.
37334 * sunrpc/rpc_svcout.c: Likewise.
37335 * sunrpc/rpc_tblout.c: Likewise.
37336 * sunrpc/rpc_util.c: Likewise.
37337 * sunrpc/rpc_util.h: Likewise.
37338 * sunrpc/rpcinfo.c: Likewise.
37339 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37340 * sunrpc/rpcsvc/key_prot.x: Likewise.
37341 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37342 * sunrpc/rpcsvc/mount.x: Likewise.
37343 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37344 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37345 * sunrpc/rpcsvc/rex.x: Likewise.
37346 * sunrpc/rpcsvc/rstat.x: Likewise.
37347 * sunrpc/rpcsvc/rusers.x: Likewise.
37348 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37349 * sunrpc/rpcsvc/spray.x: Likewise.
37350 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37351 * sunrpc/rtime.c: Likewise.
37352 * sunrpc/svc.c: Likewise.
37353 * sunrpc/svc_auth.c: Likewise.
37354 * sunrpc/svc_authux.c: Likewise.
37355 * sunrpc/svc_raw.c: Likewise.
37356 * sunrpc/svc_run.c: Likewise.
37357 * sunrpc/svc_simple.c: Likewise.
37358 * sunrpc/svc_tcp.c: Likewise.
37359 * sunrpc/svc_udp.c: Likewise.
37360 * sunrpc/svc_unix.c: Likewise.
37361 * sunrpc/svcauth_des.c: Likewise.
37362 * sunrpc/xcrypt.c: Likewise.
37363 * sunrpc/xdr.c: Likewise.
37364 * sunrpc/xdr_array.c: Likewise.
37365 * sunrpc/xdr_float.c: Likewise.
37366 * sunrpc/xdr_mem.c: Likewise.
37367 * sunrpc/xdr_rec.c: Likewise.
37368 * sunrpc/xdr_ref.c: Likewise.
37369 * sunrpc/xdr_sizeof.c: Likewise.
37370 * sunrpc/xdr_stdio.c: Likewise.
37371
9da4bb31
UD
37372 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37373 handling.
37374
bdaa77bc
AS
373752010-08-19 Andreas Schwab <schwab@redhat.com>
37376
37377 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37378
fe2f79db
LM
373792010-08-19 Luis Machado <luisgpm@br.ibm.com>
37380
37381 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37382 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37383 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37384 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37385 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37386 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37387 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37388 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37389 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37390 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37391 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37392 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37393 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37394 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37395
b9b42ee0
AB
373962010-07-26 Anton Blanchard <anton@samba.org>
37397
37398 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37399 * malloc/arena.c (heap_trim): Likewise.
37400
1c06ba31
UD
374012010-08-16 Ulrich Drepper <drepper@redhat.com>
37402
37403 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37404 here. Not...
37405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37406 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37407
f8392f40
L
374082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37409
37410 * sysdeps/i386/elf/Makefile: New file.
37411
3162f12e
AS
374122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37413
37414 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37415 from fanotify_init.
37416 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37417 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37418
28c90b2c
UD
374192010-08-15 Ulrich Drepper <drepper@redhat.com>
37420
37421 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37422 of strncasecmp_l.
1feccb6c 37423 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37424
ca6bb004
UD
374252010-08-14 Ulrich Drepper <drepper@redhat.com>
37426
e9f82e0d
UD
37427 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37428 strncase_l-nonascii.
37429 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37430 Add strncase_l-ssse3.
37431 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37432 * sysdeps/x86_64/strcmp.S: Likewise.
37433 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37434 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37435 * sysdeps/x86_64/strncase.S: New file.
37436 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37437 * sysdeps/x86_64/strncase_l.S: New file.
37438 * string/Makefile (strop-tests): Add strncasecmp.
37439 * string/test-strncasecmp.c: New file.
37440
37441 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37442 warning.
37443
ca6bb004
UD
37444 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37445 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37446
052fa7b3
AS
374472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37448
37449 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37450
962dba78
UD
374512010-08-12 Ulrich Drepper <drepper@redhat.com>
37452
37453 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37456
bebff237
AM
374572010-05-01 Alan Modra <amodra@gmail.com>
37458
37459 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37460 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37461 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37462 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37463 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37464 tidying. Don't tail-call __sigjmp_save for static lib.
37465 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37466 save location.
37467 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37468 (CALL_MCOUNT): Add eh info, and nop after bl.
37469 (TAIL_CALL_SYSCALL_ERROR): New macro.
37470 (PSEUDO_RET): Use it.
37471 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37472 Correct save location of integer regs and cr.
37473 (_dl_profile_resolve): Correct cr save location. Delete nops
37474 after bl when SHARED. Reduce cfi size a little by better
37475 placement of cfi directives.
37476 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37477 make a stack frame. Instead use parm save area as a temp.
37478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37479 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37481 Don't make a stack frame for parent, use parm save area.
37482 Increase child stack frame to 112 bytes. Don't save unused reg,
37483 and adjust reg usage. Set up cfi on error recovery and
37484 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37486 (__makecontext): Add dummy nop after jump to exit.
37487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37488 Use correct parm save area and cr save, reduce stack frame.
37489 Correct cfi for possible PSEUDO_RET frame setup.
37490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37491 Branch to local label emitted by PSEUDO_RET rather than
37492 __syscall_error.
37493
02637374
AS
374942010-08-12 Andreas Schwab <schwab@redhat.com>
37495
37496 [BZ #11904]
37497 * locale/programs/locale.c (print_assignment): New function.
37498 (show_locale_vars): Use it.
37499
c3e2f19b
UD
375002010-08-11 Ulrich Drepper <drepper@redhat.com>
37501
3cdaa6ad
UD
37502 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37503 field.
37504 (struct statfs64): Likewise.
37505 (_STATFS_F_FLAGS): Define.
37506 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37507 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37508 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37509 (ST_VALID): Define locally.
37510 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37511 __statvfs_getflags, use the provided value.
37512 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37513 __ASSUME_STATFS_F_FLAGS.
37514
754f7da3
UD
37515 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37516
10b3bedc
UD
37517 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37518 Add sys/fanotify.h.
37519 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37520 fanotify_mask for GLIBC_2.13.
37521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37522 fanotify_init and fanotify_mark.
37523 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37524 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37525
c08fb0d7
UD
37526 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37527 Add prlimit.
37528 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37529 prlimit64 for GLIBC_2.13.
37530 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37531 prlimit64.
37532 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37533 syscall.
37534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37535 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37536 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37537 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37538 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37539 add prlimit alias.
37540 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37541
15bac72b
UD
37542 [BZ #11903]
37543 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37544 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37545
c3e2f19b
UD
37546 * nss/Makefile: Add rules to build and run tst-nss-test1.
37547 * shlib-versions: Add entry for libnss_test1.
37548 * nss/nss_test1.c: New file.
37549 * nss/tst-nss-test1.c: New file.
37550
37551 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37552 (__nss_configure_lookup): Set appropriate entry in
37553 __nss_configure_lookup to true.
37554 * nss/nsswitch.h: Define enum with indeces of databases in
37555 databases and __nss_database_custom arrays. Declare
37556 __nss_database_custom.
37557 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37558 to avoid using nscd when custom rules are installed.
37559 * nss/getXXbyYY_r.c: Likewise.
37560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37561
37562 * nss/nss_files/files-parse.c: Whitespace fixes.
37563
f15ce4d8
UD
375642010-08-09 Ulrich Drepper <drepper@redhat.com>
37565
37566 [BZ #11883]
37567 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37568 * posix/fnmatch_loop.c: Likewise.
37569
d22e4cc9
AK
375702010-07-17 Andi Kleen <ak@linux.intel.com>
37571
37572 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37573 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37574 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37575 * Versions.def [GLIBC_2.13]: Add.
37576
805bc17d
UD
375772010-08-06 Ulrich Drepper <drepper@redhat.com>
37578
37579 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37580 Also fail if tpwd after pwuid call is NULL.
37581
5a42321d
ST
375822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37583
37584 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37585 when converting to ms.
37586
fd3ebeda
ST
375872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37588
37589 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37590 EOPNOTSUPP errors with ENOTTY.
37591 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37592 EOPNOTSUPP errors with ENOTTY.
37593
73507d3a
UD
375942010-07-31 Ulrich Drepper <drepper@redhat.com>
37595
37596 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37597 Add strcasecmp_l-ssse3.
37598 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37599 strcasecmp.
37600 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37601 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37602 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37603
fe36dd02
UD
376042010-07-30 Ulrich Drepper <drepper@redhat.com>
37605
66f6765a
UD
37606 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37607
42e08a54
UD
37608 * string/Makefile (strop-tests): Add strcasecmp.
37609 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37610 strcasecmp_l-nonascii.
37611 (gen-as-const-headers): Add locale-defines.sym.
37612 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37613 * sysdeps/x86_64/strcasecmp.S: New file.
37614 * sysdeps/x86_64/strcasecmp_l.S: New file.
37615 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37616 * sysdeps/x86_64/locale-defines.sym: New file.
37617 * string/test-strcasecmp.c: New file.
37618
fe36dd02
UD
37619 * string/test-strcasestr.c: Test both ends of the range of characters.
37620 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37621
48cbc0d6
RM
376222010-07-29 Roland McGrath <roland@redhat.com>
37623
76e6d6bc 37624 [BZ #11856]
48cbc0d6
RM
37625 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37626
880113d9
UD
376272010-07-27 Ulrich Drepper <drepper@redhat.com>
37628
37629 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37630 for ld.so.
37631
deb9cabb
AS
376322010-07-27 Andreas Schwab <schwab@redhat.com>
37633
37634 * manual/memory.texi (Malloc Tunable Parameters): Document
37635 M_PERTURB.
37636
1c7570ff
RM
376372010-07-26 Roland McGrath <roland@redhat.com>
37638
37639 [BZ #11840]
37640 * configure.in (-fgnu89-inline check): Set and substitute
37641 gnu89_inline, not libc_cv_gnu89_inline.
37642 * configure: Regenerated.
37643 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37644
24fb0f88
UD
376452010-07-26 Ulrich Drepper <drepper@redhat.com>
37646
37647 * string/test-strnlen.c: New file.
37648 * string/Makefile (strop-tests): Add strnlen.
37649 * string/tester.c (test_strnlen): Add a few more test cases.
37650 * string/tst-strlen.c: Better error reporting.
37651
37652 * sysdeps/x86_64/strnlen.S: New file.
37653
8e96b93a
UD
376542010-07-24 Ulrich Drepper <drepper@redhat.com>
37655
37656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37657 lower-latency instructions.
37658
dbc676d4
UD
376592010-07-23 Ulrich Drepper <drepper@redhat.com>
37660
37661 * string/test-strcasestr.c: New file.
37662 * string/test-strstr.c: New file.
37663 * string/Makefile (strop-tests): Add strstr and strcasestr.
37664 * string/str-two-way.h: Don't undefine MAX.
37665 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37666
f6a31e0e
AS
376672010-07-21 Andreas Schwab <schwab@redhat.com>
37668
37669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37670 strcasestr-nonascii.
37671 (CFLAGS-strcasestr-nonascii.c): Define.
37672 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37673 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37674 Remove unused attribute.
37675
5dbc3b6c
RM
376762010-07-20 Roland McGrath <roland@redhat.com>
37677
37678 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37679 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37680 ld.so.cache was broken. With it, there is no way to disable dsocaps
37681 like LD_HWCAP_MASK can disable hwcaps.
37682
23d101d8
EPM
376832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37684
37685 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37686
cc9f2e47
UD
376872010-07-16 Ulrich Drepper <drepper@redhat.com>
37688
37689 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37690 call in strcasestr.
37691 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37692 __strcasestr_sse42_nonascii.
37693 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37694 strcasestr-nonascii.c.
37695 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37696
77c1b069
LM
376972010-06-15 Luis Machado <luisgpm@br.ibm.com>
37698
37699 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37700 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37701 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37702 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37703
440566c3
UD
377042010-07-09 Ulrich Drepper <drepper@redhat.com>
37705
37706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37707 fcntl.
37708
5be9d05d
AS
377092010-07-06 Andreas Schwab <schwab@redhat.com>
37710
c30b7ee2 37711 [BZ #11577]
5be9d05d
AS
37712 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37713 dl_signal_cerror.
37714
8a492a67
UD
377152010-07-06 Ulrich Drepper <drepper@redhat.com>
37716
37717 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37718 _PC_PIPE_BUF using F_GETPIPE_SZ.
37719
713df3d5
RM
377202010-07-05 Roland McGrath <roland@redhat.com>
37721
37722 * manual/arith.texi (Rounding Functions): Fix rint description
37723 implicit in round description.
37724
702e8f14
UD
377252010-07-02 Ulrich Drepper <drepper@redhat.com>
37726
37727 * elf/Makefile: Fix linking for a few tests to make recent linker
37728 happy.
37729
52ed8be9
AS
377302010-06-30 Andreas Schwab <schwab@redhat.com>
37731
37732 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37733 $(common-objpfx)libc_nonshared.a.
37734
f47c9a11
LM
377352010-06-21 Luis Machado <luisgpm@br.ibm.com>
37736
37737 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37738 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37739 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37740 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37741 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37742 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37743 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37744 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37759 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37760 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37761 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37762 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37763 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37764 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37765 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37766 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37767 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37768 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37769 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37770 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37785
6fb8cbcb
L
377862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37787
37788 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37789 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37790 * string/memmove.c (memmove): Renamed to ...
37791 (MEMMOVE): ...this. Default to memmove.
37792 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37793 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37794 (END_CHK): Define.
37795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37796 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37797 mempcpy-ssse3-back memmove-ssse3-back.
37798 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37799 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37801 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37802 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37803 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37804 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37805 * sysdeps/x86_64/multiarch/memmove.c: New file.
37806 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37807 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37808 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37809 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37810 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37812 Define.
37813 (index_Fast_Copy_Backward): Define.
37814 (HAS_ARCH_FEATURE): Define.
37815 (HAS_FAST_REP_STRING): Define.
37816 (HAS_FAST_COPY_BACKWARD): Define.
37817
4e733bac 378182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37819
37820 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37821 Restore proper fallback handling.
37822
63c4ed22
UD
378232010-06-19 Ulrich Drepper <drepper@redhat.com>
37824
ac2b484c
UD
37825 [BZ #11701]
37826 * posix/group_member.c (__group_member): Correct checking loop.
37827
63c4ed22
UD
37828 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37829 OOM in getpwuid_r correctly. Return error number when the caller
37830 should return, otherwise -1.
37831 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37832 call returning > 0 value.
37833 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37834
765ade4b
AS
378352010-06-07 Andreas Schwab <schwab@redhat.com>
37836
37837 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37838 libc_nonshared.a from targets in modules-names.
37839
80da2e09
KS
378402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37841
37842 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37843 requires it.
37844
158db122
LM
378452010-06-10 Luis Machado <luisgpm@br.ibm.com>
37846
37847 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37848 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37851
caa78cf8
AS
378522010-06-02 Andreas Schwab <schwab@redhat.com>
37853
37854 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37855
b2ef2c01
UD
378562010-06-14 Ulrich Drepper <drepper@redhat.com>
37857
37858 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37859 and F_GETPIPE_SZ.
37860 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37864 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37866
fbd643b6
RM
378672010-06-14 Roland McGrath <roland@redhat.com>
37868
37869 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37870
f32f2869
JJ
378712010-06-07 Jakub Jelinek <jakub@redhat.com>
37872
37873 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37874 __REDIRECT followed by __THROW.
37875 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37876 * posix/getopt.h (getopt): Likewise.
37877
2a50c078
EPM
378782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37879
37880 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37881 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37882 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37883 in AT_FLAGS.
37884 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37885 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37886
eb5ad2eb
LM
378872010-05-28 Luis Machado <luisgpm@br.ibm.com>
37888
37889 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37890
3c88fe1e
L
378912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37892
37893 [BZ #11640]
37894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37895 Properly check family and model.
37896
d2f73151
TY
378972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37898
37899 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37900
ebd2e13d
LM
379012010-05-24 Luis Machado <luisgpm@br.ibm.com>
37902
37903 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37904
b32b8b45
UD
379052010-05-21 Ulrich Drepper <drepper@redhat.com>
37906
37907 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37908 symbol reference.
37909
9acbe24d
AS
379102010-05-19 Andreas Schwab <schwab@redhat.com>
37911
37912 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37913 symbol reference.
37914
f0ccf6ea
AS
379152010-05-21 Andreas Schwab <schwab@redhat.com>
37916
3d04ff3a
AS
37917 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37918 and internal_recvmmsg.
37919 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37920 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37921 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37922 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37923
f0ccf6ea
AS
37924 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37925 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37926 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37927
5b08ac57
AS
379282010-05-20 Andreas Schwab <schwab@redhat.com>
37929
37930 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37931
4828935d
LM
379322010-05-17 Luis Machado <luisgpm@br.ibm.com>
37933
37934 POWER7 optimizations.
37935 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37936 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37937
373d545e
UD
379382010-05-19 Ulrich Drepper <drepper@redhat.com>
37939
37940 * version.h: Update for 2.13 development version.
37941
21a2b1ae
AS
379422010-05-12 Andrew Stubbs <ams@codesourcery.com>
37943
37944 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37945 exceptions. Return 0.
37946
3f7dcb2b
RM
379472010-05-07 Roland McGrath <roland@redhat.com>
37948
37949 * elf/ldconfig.c (main): Add a const.
37950
5f24d53a 379512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37952
a160f8d8
UD
37953 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37954 (args_options): Add no-idn option.
37955 (ahosts_keys_int): Add idn_flags to ai_flags.
37956 (parse_option): Handle 'i' option to clear idn_flags.
37957
5f24d53a
UD
37958 * malloc/malloc.c (_int_free): Possible race in the most recently
37959 added check. Only act on the data if no current modification
37960 happened.
265bb1ce
UD
37961
37962See ChangeLog.17 for earlier changes.
This page took 5.168196 seconds and 5 git commands to generate.