]> sourceware.org Git - glibc.git/blob - ChangeLog
Clarify documentation on how functions use timezone. Fixes bug 926.
[glibc.git] / ChangeLog
1 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 [BZ #926]
4 * manual/time.texi (Calendar Time): Clarify what timezone functions
5 use.
6
7 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8
9 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10
11 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12
13 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14 implementation.
15 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17 * debug/memset_chk.c (__memset_chk): Likewise.
18 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19 * debug/strncpy_chk.c: Likewise.
20
21 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22
23 [BZ #15268]
24 [BZ #15425]
25 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26 (__ieee754_exp): For possibly underflowing results, check size of
27 result and force underflow exception if required.
28 * math/auto-libm-test-in: Add more tests of exp.
29 * math/auto-libm-test-out: Regenerated.
30 * sysdeps/i386/fpu/libm-test-ulps: Update.
31 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32
33 [BZ #16283]
34 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35 * math/w_exp2f.c (__exp2f): Likewise.
36 * math/w_exp2l.c (__exp2l): Likewise.
37 * math/auto-libm-test-in: Do not allow missing errno on exp2
38 underflow.
39 * math/auto-libm-test-out: Regenerated.
40
41 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
42
43 [BZ #16274]
44 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45 handle filename validation.
46 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47 (do_open): Delete.
48
49 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50
51 [BZ #6786]
52 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55 <float.h>.
56 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
58 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
61 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
62 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
63 * math/auto-libm-test-in: Don't allow missing errno from erfc.
64 Add more erfc tests.
65 * math/auto-libm-test-out: Regenerated.
66 * sysdeps/i386/fpu/libm-test-ulps: Update.
67 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68
69 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
70 exp2, expm1, j0 and j1.
71 * math/auto-libm-test-out: Regenerated.
72 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
73 (erfc_test_data): Likewise.
74 (exp_test_data): Likewise.
75 (exp_tonearest_test_data): Likewise.
76 (exp_towardzero_test_data): Likewise.
77 (exp_downward_test_data): Likewise.
78 (exp_upward_test_data): Likewise.
79 (exp10_test_data): Likewise.
80 (exp2_test_data): Likewise.
81 (expm1_test_data): Likewise.
82 (j0_test_data): Likewise.
83 (j1_test_data): Likewise.
84 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
85 (input_flag_type): Add flag_xfail_rounding.
86 (input_flags): Add xfail-rounding.
87 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
88 (output_for_one_input_case): Handle flag_xfail_rounding.
89 * sysdeps/i386/fpu/libm-test-ulps: Update.
90 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
91
92 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
93
94 [BZ #16289]
95 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
96 division by 0.
97
98 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
99
100 [BZ #16195]
101 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
102 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
103 (STAP_PROBE0): New macro.
104 (STAP_PROBE1): Likewise.
105 (STAP_PROBE2): Likewise.
106 (STAP_PROBE3): Likewise.
107 (STAP_PROBE4): Likewise.
108
109 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
110
111 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
112
113 2013-12-02 Steve Ellcey <sellcey@mips.com>
114
115 * benchtests/Makefile (bench): Add sqrt.
116 (LDLIBS-bench-sqrt): New.
117 * benchtests/sqrt-input: New.
118
119 2013-12-02 Pavel Simerda <psimerda@redhat.com>
120
121 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
122 (GAIH_EAI): Likewise.
123 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
124 (gaih_inet): Likewise.
125 (getaddrinfo): Don't use GAIH_EAI.
126
127 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
128 (struct gaih): Remove definition.
129
130 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
131
132 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
133 Use HERRNOP directly.
134
135 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
136
137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
138
139 2013-11-30 Joseph Myers <joseph@codesourcery.com>
140
141 * math/gen-auto-libm-tests.c (test_functions): Add more
142 single-argument functions.
143 (special_fill_pi_2): New function.
144 (special_fill_minus_pi_2): Likewise.
145 (special_fill_pi_6): Likewise.
146 (special_fill_minus_pi_6): Likewise.
147 (special_fill_pi_3): Likewise.
148 (special_fill_2pi_3): Likewise.
149 (special_fill_e): Likewise.
150 (special_fill_1_e): Likewise.
151 (special_fill_e_minus_1): Likewise.
152 (special_real_inputs): Add more special inputs.
153 (output_for_one_input_case): Do not require ERANGE on underflow to
154 zero if round-to-nearest result does not underflow to zero, unless
155 exact results required.
156 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
157 atan, atanh, cbrt, cos and cosh.
158 * math/auto-libm-test-out: Regenerated.
159 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
160 (acos_tonearest_test_data): Likewise.
161 (acos_towardzero_test_data): Likewise.
162 (acos_downward_test_data): Likewise.
163 (acos_upward_test_data): Likewise.
164 (acosh_test_data): Likewise.
165 (asin_test_data): Likewise.
166 (asin_tonearest_test_data): Likewise.
167 (asin_towardzero_test_data): Likewise.
168 (asin_upward_test_data): Likewise.
169 (asinh_test_data): Likewise.
170 (atan_test_data): Likewise.
171 (atanh_test_data): Likewise.
172 (cbrt_test_data): Likewise.
173 (cos_test_data): Likewise.
174 (cos_tonearest_test_data): Likewise.
175 (cos_towardzero_test_data): Likewise.
176 (cos_downward_test_data): Likewise.
177 (cos_upward_test_data): Likewise.
178 (cosh_test_data): Likewise.
179 (cosh_tonearest_test_data): Likewise.
180 (cosh_towardzero_test_data): Likewise.
181 (cosh_downward_test_data): Likewise.
182 (cosh_upward_test_data): Likewise.
183 * sysdeps/i386/fpu/libm-test-ulps: Update.
184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
185
186 2013-11-29 Joseph Myers <joseph@codesourcery.com>
187
188 [BZ #6787]
189 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
190 * math/w_exp10f.c (__exp10f): Likewise.
191 * math/w_exp10l.c (__exp10l): Likewise.
192 * math/libm-test.inc (exp10_test_data): Add more tests and expect
193 errno settings in existing tests.
194
195 [BZ #14032]
196 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
197 precision control set to double precision.
198 * sysdeps/i386/fpu/w_sqrt.c: New file.
199 * math/auto-libm-test-in: Add more tests.
200 * math/auto-libm-test-out: Update.
201
202 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
203 (sqrt_test_tonearest): New function.
204 (sqrt_towardzero_test_data): New variable.
205 (sqrt_test_towardzero): New function.
206 (sqrt_downward_test_data): New variable.
207 (sqrt_test_downward): New function.
208 (sqrt_upward_test_data): New variable.
209 (sqrt_test_upward): New function.
210 (main): Call the new functions.
211
212 * math/gen-auto-libm-tests.c: New file.
213 * math/auto-libm-test-in: Likewise.
214 * math/auto-libm-test-out: New generated file.
215 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
216 variables.
217 (%beautify): Add generated representations of zero.
218 (top level): Set $auto_input and call parse_auto_input.
219 (beautify): Remove trailing "f" from hex float constants.
220 (parse_args): Handle XFAIL_TEST.
221 (convert_condition): New function.
222 (or_value): Likewise.
223 (or_cond_value): Likewise.
224 (generate_testfile): Handle AUTO_TESTS_* lines.
225 (parse_auto_input): New function.
226 * math/libm-test.inc (XFAIL_TEST): New macro.
227 (ERRNO_UNCHANGED): Update value.
228 (ERRNO_EDOM): Likewise.
229 (ERRNO_ERANGE): Likewise.
230 (IGNORE_RESULT): Likewise.
231 (TEST_COND_flt_32): New macro.
232 (TEST_COND_dbl_64): Likewise.
233 (TEST_COND_ldbl_96_intel): Likewise.
234 (TEST_COND_ldbl_96_m68k): Likewise.
235 (TEST_COND_ldbl_128): Likewise.
236 (TEST_COND_ldbl_128ibm): Likewise.
237 (TEST_COND_long32): Likewise.
238 (TEST_COND_long64): Likewise.
239 (TEST_COND_before_rounding): Likewise.
240 (TEST_COND_after_rounding): Likewise.
241 (enable_test): Handle XFAIL_TEST flag.
242 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
243 with finite results.
244 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
245 auto-libm-test-out.
246
247 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
248 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
249
250 [BZ #16214]
251 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
252 __tls_get_addr_internal instead of __tls_get_offset in order to
253 avoid GOT pointer dependency. Make rtld export
254 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
255 __tls_get_addr since we are a __tls_get_offset platform.
256 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
257 GOT pointer being set up before.
258 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
259
260 2013-11-28 Joseph Myers <joseph@codesourcery.com>
261
262 * manual/math.texi (Errors in Math Functions): Document accuracy
263 goals.
264
265 [BZ #15004]
266 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
267 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
268 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
269 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
273 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
274 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
275 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
276 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
277 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
278 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
279 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
280 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
281 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
282
283 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
284 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
285 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
286 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
287 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
288 Likewise.
289 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
290 Likewise.
291 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
292 Likewise.
293 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
294 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
295 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
296 atomic-feupdateenv and flt-rounds.
297 * sysdeps/powerpc/nofpu/Versions (libc): Add
298 __atomic_feholdexcept, __atomic_feclearexcept,
299 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
300 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
301 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
302 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
303 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
304 here.
305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
306 Update.
307
308 * manual/arith.texi (FP Exceptions): Document that exceptions may
309 not be raised when matherr is used.
310 (Math Error Reporting): Document overflow in directed rounding
311 modes. Document that errno may not be set when finite values are
312 returned on overflow. Document intent to set errno on underflow
313 only for underflow to zero.
314
315 [BZ #16271]
316 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
317 round-to-nearest then adjust result for other rounding modes.
318 * include/fenv.h (fegetround): Use libm_hidden_proto.
319 * math/fegetround.c (fegetround): Use libm_hidden_def.
320 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
321 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
322 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
323 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
324 Likewise.
325 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
326 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
327 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
328 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
329
330 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
331
332 [BZ #16077]
333 * nss/Versions (libnss_files): Add
334 _nss_files_gethostbyname3_r.
335 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
336 New function.
337 (HOST_DB_LOOKUP): Remove macro.
338 (_nss_files_gethostbyname_r): Implement function without the
339 HOST_DB_LOOKUP macro.
340 (_nss_files_gethostbyname2_r): Likewise.
341
342 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
343
344 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
345
346 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
347
348 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
349 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
350 warning.
351
352 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
355 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
356 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
357 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
358 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
359 __fe_nomask_env_priv and attribute_hidden.
360 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
361 (libc_feupdateenv_test_ppc): Likewise.
362 (libc_feresetround_ppc): Likewise.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
364 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
365 compat_symbol macro.
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
367 (__fe_nomask_env): Likewise.
368 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
369
370 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
371
372 * string/Makefile: Remove ifunc tests.
373 * string/test-string.h: Define TEST_IFUNC.
374 * string/test-bcopy-ifunc.c: Remove.
375 * string/test-bzero-ifunc.c: Likewise.
376 * string/test-memccpy-ifunc.c: Likewise.
377 * string/test-memchr-ifunc.c: Likewise.
378 * string/test-memcmp-ifunc.c: Likewise.
379 * string/test-memcpy-ifunc.c: Likewise.
380 * string/test-memmem-ifunc.c: Likewise.
381 * string/test-memmove-ifunc.c: Likewise.
382 * string/test-mempcpy-ifunc.c: Likewise.
383 * string/test-memrchr-ifunc.c: Likewise.
384 * string/test-memset-ifunc.c: Likewise.
385 * string/test-rawmemchr-ifunc.c: Likewise.
386 * string/test-stpcpy-ifunc.c: Likewise.
387 * string/test-stpncpy-ifunc.c: Likewise.
388 * string/test-strcasecmp-ifunc.c: Likewise.
389 * string/test-strcasestr-ifunc.c: Likewise.
390 * string/test-strcat-ifunc.c: Likewise.
391 * string/test-strchr-ifunc.c: Likewise.
392 * string/test-strchrnul-ifunc.c: Likewise.
393 * string/test-strcmp-ifunc.c: Likewise.
394 * string/test-strcpy-ifunc.c: Likewise.
395 * string/test-strcspn-ifunc.c: Likewise.
396 * string/test-strlen-ifunc.c: Likewise.
397 * string/test-strncasecmp-ifunc.c: Likewise.
398 * string/test-strncat-ifunc.c: Likewise.
399 * string/test-strncmp-ifunc.c: Likewise.
400 * string/test-strncpy-ifunc.c: Likewise.
401 * string/test-strnlen-ifunc.c: Likewise.
402 * string/test-strpbrk-ifunc.c: Likewise.
403 * string/test-strrchr-ifunc.c: Likewise.
404 * string/test-strspn-ifunc.c: Likewise.
405 * string/test-strstr-ifunc.c: Likewise.
406
407 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
408
409 * benchtests/Makefile: Remove ifunc tests.
410 * benchtests/bench-string.h: Define TEST_IFUNC.
411 * benchtests/bench-bcopy-ifunc.c: Remove.
412 * benchtests/bench-bzero-ifunc.c: Likewise.
413 * benchtests/bench-memccpy-ifunc.c: Likewise.
414 * benchtests/bench-memchr-ifunc.c: Likewise.
415 * benchtests/bench-memcmp-ifunc.c: Likewise.
416 * benchtests/bench-memcpy-ifunc.c: Likewise.
417 * benchtests/bench-memmem-ifunc.c: Likewise.
418 * benchtests/bench-memmove-ifunc.c: Likewise.
419 * benchtests/bench-mempcpy-ifunc.c: Likewise.
420 * benchtests/bench-memrchr-ifunc.c: Likewise.
421 * benchtests/bench-memset-ifunc.c: Likewise.
422 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
423 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
424 * benchtests/bench-stpcpy-ifunc.c: Likewise.
425 * benchtests/bench-stpncpy-ifunc.c: Likewise.
426 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
427 * benchtests/bench-strcasestr-ifunc.c: Likewise.
428 * benchtests/bench-strcat-ifunc.c: Likewise.
429 * benchtests/bench-strchr-ifunc.c: Likewise.
430 * benchtests/bench-strchrnul-ifunc.c: Likewise.
431 * benchtests/bench-strcmp-ifunc.c: Likewise.
432 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
433 * benchtests/bench-strcpy-ifunc.c: Likewise.
434 * benchtests/bench-strcspn-ifunc.c: Likewise.
435 * benchtests/bench-strlen-ifunc.c: Likewise.
436 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
437 * benchtests/bench-strncat-ifunc.c: Likewise.
438 * benchtests/bench-strncmp-ifunc.c: Likewise.
439 * benchtests/bench-strncpy-ifunc.c: Likewise.
440 * benchtests/bench-strnlen-ifunc.c: Likewise.
441 * benchtests/bench-strpbrk-ifunc.c: Likewise.
442 * benchtests/bench-strrchr-ifunc.c: Likewise.
443 * benchtests/bench-strsep-ifunc.c: Likewise.
444 * benchtests/bench-strspn-ifunc.c: Likewise.
445 * benchtests/bench-strstr-ifunc.c: Likewise.
446
447 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
448
449 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
450
451 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
452
453 * resolv/netdb.h: Use __glibc_reserved instead __unused.
454 * rt/aio.h: Likewise.
455 * sysdeps/gnu/bits/utmp.h: Likewise.
456 * sysdeps/gnu/bits/utmpx.h: Likewise.
457 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
458 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
459 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
460 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
461 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
462 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
463 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
464 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
465 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
466 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
469 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
472 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
473 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
474 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
475 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
476 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
477 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
478 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
479 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
480 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
481 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
483 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
484 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
485 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
486 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
487 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
488 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
489 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
490 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
491 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
492 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
493 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
494 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
495 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
496 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
497 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
498 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
499
500 2013-11-25 Carlos O'Donell <carlos@redhat.com>
501
502 [BZ #16245]
503 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
504 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
505
506 2013-11-25 Joseph Myers <joseph@codesourcery.com>
507
508 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
510 Likewise.
511
512 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
513
514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
515 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
516 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
517 (__fesetround): Remove define.
518 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
519 rounding and exceptions handling.
520 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
521 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
522 (__fe_nomask_env): Likewise.
523 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
524 __fegetround instead of fegetround.
525 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
527
528 2013-11-21 Roland McGrath <roland@hack.frob.com>
529
530 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
531 it's there.
532
533 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
534
535 2013-11-21 Meador Inge <meadori@codesourcery.com>
536
537 [BZ #11157]
538 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
539 (encrypt_r): Likewise.
540 * malloc/obstack.h (obstack_free): Likewise.
541 * posix/unistd.h (encrypt): Likewise.
542
543 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
544
545 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
546 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
547 DL_CALL_DT_FINI() that call the functions directly.
548 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
549 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
550 * elf/dl-fini.c: Likewise.
551
552 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
553
554 * malloc/hooks.c (memalign_check): Add alignment rounding.
555 * malloc/malloc.c (_mid_memalign): New function.
556 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
557 Implement by calling _mid_memalign.
558 * manual/probes.texi (Memory Allocation Probes): Remove
559 memory_valloc_retry and memory_pvalloc_retry.
560
561 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
562
563 * locale/programs/locarchive.c (open_archive): Add const
564 qualifier to ARCHIVEFNAME and copy default fname to
565 DEFAULT_FNAME.
566
567 [BZ #15601]
568 * libio/tst-widetext.input: Rename Oriya to Odia.
569 * locale/iso-639.def: Likewise.
570
571 * manual/probes.texi (Mathematical Function Probes): Add
572 documentation for sin, cos, asin and acos probes.
573 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
574 (__sin32): Add slowasin probe.
575 (__cos32): Add slowacos probe.
576 (__mpsin): Add slowsin probe.
577 (__mpcos): Add slowcos probe.
578
579 2013-11-19 Joseph Myers <joseph@codesourcery.com>
580
581 [BZ #15483]
582 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
583 thread-local __sim_exceptions_thread and global
584 __sim_exceptions_global.
585 (__sim_disabled_exceptions): Change to thread-local
586 __sim_disabled_exceptions_thread and global
587 __sim_disabled_exceptions_global.
588 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
589 and global __sim_round_mode_global.
590 (__simulate_exceptions): Use thread-local floating-point state and
591 set global state from it as needed.
592 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
593 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
594 __sim_round_mode_thread.
595 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
596 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
597 and global __sim_exceptions_global.
598 (__sim_disabled_exceptions): Change to thread-local
599 __sim_disabled_exceptions_thread and global
600 __sim_disabled_exceptions_global.
601 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
602 and global __sim_round_mode_global.
603 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
604 (SIM_SET_GLOBAL): Likewise.
605 * sysdeps/powerpc/soft-fp/sfp-machine.h
606 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
607 __sim_round_mode_thread.
608 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
609 __sim_disabled_exceptions_thread.
610 (__sim_exceptions): Change to __sim_exceptions_thread.
611 (__sim_disabled_exceptions): Change to
612 __sim_disabled_exceptions_thread.
613 (__sim_round_mode): Change to __sim_round_mode_thread.
614 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
615 thread-local floating-point state and set global state from it as
616 needed.
617 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
618 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
619 (__sim_disabled_exceptions): Remove extern declaration.
620 (feenableexcept): Use thread-local floating-point state and set
621 global state from it as needed.
622 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
623 extern declaration.
624 (__sim_disabled_exceptions): Likewise.
625 (__sim_round_mode): Likewise.
626 (__fegetenv): Use thread-local floating-point state.
627 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
628 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
629 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
630 floating-point state and set global state from it as needed.
631 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
632 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
633 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
634 Likewise.
635 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
636 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
637 Likewise.
638 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
639 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
640 Use __sim_round_mode_thread.
641 * math/test-fenv-tls.c: New file.
642 * math/Makefile (tests): Add test-fenv-tls.
643 ($(objpfx)test-fenv-tls): Depend on
644 $(common-objpfx)nptl/libpthread.so.
645
646 2013-11-19 Andreas Schwab <schwab@suse.de>
647
648 * locale/programs/locale.c (show_info): Decode wordarray elements.
649 * locale/categories.def (LC_MONETARY): Add element for
650 _NL_MONETARY_CRNCYSTR.
651 * locale/C-monetary.c (conversion_rate): New variable.
652 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
653 element.
654
655 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
656
657 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
658 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
659
660 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
661
662 * elf/Makefile (tst-auxv): New test.
663 * elf/tst-auxv.c: New
664 * elf/rtld.c (dl_main): Adjust AT_EXECFN
665
666 2013-11-18 Joseph Myers <joseph@codesourcery.com>
667
668 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
669 (hidden_proto): Caller changed.
670 (hidden_tls_proto): New macro.
671 (libc_hidden_tls_proto): Likewise.
672 (rtld_hidden_tls_proto): Likewise.
673 (libm_hidden_tls_proto): Likewise.
674 (libresolv_hidden_tls_proto): Likewise.
675 (librt_hidden_tls_proto): Likewise.
676 (libdl_hidden_tls_proto): Likewise.
677 (libnss_files_hidden_tls_proto): Likewise.
678 (libnsl_hidden_tls_proto): Likewise.
679 (libnss_nisplus_hidden_tls_proto): Likewise.
680 (libutil_hidden_tls_proto): Likewise.
681
682 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
683
684 [BZ #10253]
685 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
686 (decompose_rpath): Defer expansion to fillin_rpath.
687 (_dl_init_paths): Pass linkmap to fillin_rpath.
688
689 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
690
691 * benchtests/Makefile: Add strsep.
692 * benchtests/bench-strsep.c: New file: strsep benchtest.
693 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
694
695 2013-11-18 Andreas Schwab <schwab@suse.de>
696
697 * locale/programs/locale.c (show_info) [case byte]: Check for
698 '\377' instead of '\177'.
699 * locale/C-monetary.c (not_available): Always use "\377".
700 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
701 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
702 detect unavailable sign_posn locale elements.
703 * locale/localeconv.c (__localeconv): For grouping and
704 mon_grouping handle "\177" and "\377" like no grouping.
705 (INT_ELEM): New macro. Use it to set all numeric members.
706 * locale/programs/ld-monetary.c (monetary_read)
707 <tok_mon_grouping>: Normalize single -1 to the empty string.
708 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
709 Likewise.
710
711 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
712
713 [BZ #16055]
714 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
715 when we match (nil).
716 * stdio-common/tst-sscanf.c (struct test): Add testcase.
717
718 2013-11-16 Joseph Myers <joseph@codesourcery.com>
719
720 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
721 (NO_TEST_INLINE): Update value.
722 (ERRNO_UNCHANGED): Likewise.
723 (ERRNO_EDOM): Likewise.
724 (ERRNO_ERANGE): Likewise.
725 (IGNORE_RESULT): Likewise.
726 (check_float_internal): Check signs of NaN results if
727 TEST_NAN_SIGN used.
728 (check_complex): Pass TEST_NAN_SIGN flag through to second
729 check_float_internal call.
730 (copysign_test_data): Add tests with quiet NaNs as second
731 argument. Use TEST_NAN_SIGN.
732 (fabs_test_data): Add test of negative quiet NaN argument. Use
733 TEST_NAN_SIGN.
734 (signbit_test_data): Add tests of quiet NaN argument.
735 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
736
737 * math/gen-libm-test.pl (show_exceptions): Take extra argument
738 $ignore_result.
739 (parse_args): Handle function results specified as IGNORE.
740 * math/libm-test.inc (IGNORE_RESULT): New macro.
741 (check_float_internal): Do not check numerical result if flag
742 IGNORE_RESULT set.
743 (check_complex): Pass through IGNORE_RESULT to second
744 check_float_internal call.
745 (check_int): Do not check numerical result if flag IGNORE_RESULT
746 set.
747 (check_long): Likewise.
748 (check_bool): Likewise.
749 (check_longlong): Likewise.
750 (lrint_test_data): Add tests of infinite and NaN arguments.
751 (lrint_tonearest_test_data): Likewise.
752 (lrint_towardzero_test_data): Likewise.
753 (lrint_downward_test_data): Likewise.
754 (lrint_upward_test_data): Likewise.
755 (llrint_test_data): Likewise.
756 (llrint_tonearest_test_data): Likewise.
757 (llrint_towardzero_test_data): Likewise.
758 (llrint_downward_test_data): Likewise.
759 (llrint_upward_test_data): Likewise.
760 (lround_test_data): Likewise.
761 (llround_test_data): Likewise.
762
763 * math/libm-test.inc (NO_TEST_INLINE): New macro.
764 (ERRNO_UNCHANGED): Update value.
765 (ERRNO_EDOM): Likewise.
766 (ERRNO_ERANGE): Likewise.
767 (NO_TEST_INLINE_FLOAT): New macro.
768 (NO_TEST_INLINE_DOUBLE): Likewise.
769 (enable_test): New function.
770 (RUN_TEST_f_f): Check enable_test before running test.
771 (RUN_TEST_2_f): Likewise.
772 (RUN_TEST_fff_f): Likewise.
773 (RUN_TEST_c_f): Likewise.
774 (RUN_TEST_f_f1): Likewise.
775 (RUN_TEST_fF_f1): Likewise.
776 (RUN_TEST_fI_f1): Likewise.
777 (RUN_TEST_ffI_f1): Likewise.
778 (RUN_TEST_c_c): Likewise.
779 (RUN_TEST_cc_c): Likewise.
780 (RUN_TEST_f_i): Likewise.
781 (RUN_TEST_f_i_tg): Likewise.
782 (RUN_TEST_ff_i_tg): Likewise.
783 (RUN_TEST_f_b): Likewise.
784 (RUN_TEST_f_b_tg): Likewise.
785 (RUN_TEST_f_l): Likewise.
786 (RUN_TEST_f_L): Likewise.
787 (RUN_TEST_fFF_11): Likewise.
788 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
789 conditionals.
790 (cosh_test_data): Likewise.
791 (exp_test_data): Likewise.
792 (expm1_test_data): Likewise.
793 (hypot_test_data): Likewise.
794 (pow_test_data): Likewise.
795 (sinh_test_data): Likewise.
796 (tanh_test_data): Likewise.
797 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
798 flags argument.
799
800 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
801 tests with quiet NaN input and output.
802 (acosh_test_data): Likewise.
803 (asin_test_data): Likewise.
804 (asinh_test_data): Likewise.
805 (atan_test_data): Likewise.
806 (atanh_test_data): Likewise.
807 (atan2_test_data): Likewise.
808 (cbrt_test_data): Likewise.
809 (cos_test_data): Likewise.
810 (cosh_test_data): Likewise.
811 (erf_test_data): Likewise.
812 (erfc_test_data): Likewise.
813 (exp_test_data): Likewise.
814 (exp10_test_data): Likewise.
815 (exp2_test_data): Likewise.
816 (expm1_test_data): Likewise.
817 (hypot_test_data): Likewise.
818 (j0_test_data): Likewise.
819 (j1_test_data): Likewise.
820 (jn_test_data): Likewise.
821 (lgamma_test_data): Likewise.
822 (log_test_data): Likewise.
823 (log10_test_data): Likewise.
824 (log1p_test_data): Likewise.
825 (log2_test_data): Likewise.
826 (pow_test_data): Likewise.
827 (scalb_test_data): Likewise.
828 (sin_test_data): Likewise.
829 (sincos_test_data): Likewise.
830 (sinh_test_data): Likewise.
831 (tan_test_data): Likewise.
832 (tanh_test_data): Likewise.
833 (tgamma_test_data): Likewise.
834 (y0_test_data): Likewise.
835 (y1_test_data): Likewise.
836 (yn_test_data): Likewise.
837
838 [BZ #16167]
839 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
840 argument being NaN and avoid computations with second argument in
841 that case.
842 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
843 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
844 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
845
846 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
847
848 * locale/iso-639.def: Add Chitwani Tharu (the).
849
850 2013-11-14 Andreas Schwab <schwab@suse.de>
851
852 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
853 word instead of empty string.
854
855 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
856
857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
858 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
860 (__fe_nomask_env): Likewise.
861
862 2013-11-13 Steve Ellcey <sellcey@mips.com>
863
864 * benchtests/bench-timing.h: Include time.h.
865
866 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
867
868 [BZ #15997]
869 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
870 to 3.4.0 for x32.
871 * sysdeps/unix/sysv/linux/configure: Regenerated.
872
873 2013-11-13 Joseph Myers <joseph@codesourcery.com>
874
875 [BZ #16151]
876 * stdlib/strtod_l.c (round_and_return): Do not consider
877 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
878 exponent one less than half the least subnormal exponent.
879 * stdlib/test-strtod-round-data: Add more tests.
880 * stdlib/tst-strtod-round.c (tests): Regenerated.
881
882 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
883
884 [BZ #14143]
885 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
886 (__fe_mask_env): Likewise.
887 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
888 libm_hidden_proto and add function prototype.
889 (__fe_mask_env): Add function prototype.
890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
891 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
893 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
895 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
896
897 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
898
899 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
900 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
901
902 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
903
904 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
905 of htab_find_slot().
906
907 2013-11-11 David S. Miller <davem@davemloft.net>
908
909 [BZ #16150]
910 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
911 symbol in the non-vis3 case in static builds.
912 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
913 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
914 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
915 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
916
917 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
918
919 [BZ #387]
920 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
921 it is empty.
922
923 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924
925 * benchtests/Makefile: Add bench-strtod.
926 * benchtests/bench-strtod.c: New file: strtod benchtest
927
928 2013-11-11 Andreas Schwab <schwab@suse.de>
929
930 [BZ #16153]
931 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
932 terminating NUL in key length.
933
934 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
935
936 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
937 Add artificial ODP entry for vDSO symbol for PPC64.
938 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
939 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
940
941 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
942
943 [BZ #15374]
944 * nss/getent.c (services_keys): Recognize services starting with digit.
945
946 2013-11-06 David S. Miller <davem@davemloft.net>
947
948 [BZ #15985]
949 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
950 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
951
952 2013-11-06 Will Newton <will.newton@linaro.org>
953
954 * manual/memory.texi (Malloc Examples): Remove register
955 keyword from examples.
956
957 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
958
959 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
960
961 2013-11-04 Joseph Myers <joseph@codesourcery.com>
962
963 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
964 depending on [__GCC_IEC_559 > 0].
965 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
966 depending on [__GCC_IEC_559_COMPLEX > 0].
967
968 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
969
970 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
971 to iso-639.def.
972
973 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
974
975 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
976
977 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
978
979 [BZ #16112]
980 * malloc/malloc (malloc_info): Do not handle first bin as
981 special case.
982
983 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
984
985 * locale/iso-639.def: Add Central Nahuatl (nhn).
986
987 2013-11-01 Bruno Haible <bruno@clisp.org>
988
989 [BZ #7003]
990 * manual/math.texi (BSD Random): Specify range upper bound as
991 in POSIX.
992
993 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
994
995 * locale/iso-639.def: Add Meadow Mari (mhr).
996
997 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
998
999 [BZ #14752], [BZ #15763]
1000 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1001 Validate name.
1002 * rt/tst_shm.c: Add test for escaping directory.
1003
1004 2013-10-31 Andreas Schwab <schwab@suse.de>
1005
1006 [BZ #15917]
1007 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1008 followed by 'x' as part of digit sequence.
1009 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1010
1011 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1012
1013 [BZ #16037]
1014 * configure.ac: allow GNU Make 4.0 and greater.
1015 * configure: Regenerated.
1016
1017 2013-10-30 Will Newton <will.newton@linaro.org>
1018
1019 [BZ #16038]
1020 * malloc/hooks.c (memalign_check): Limit alignment to the
1021 maximum representable power of two.
1022 * malloc/malloc.c (__libc_memalign): Likewise.
1023 * malloc/tst-memalign.c (do_test): Add test for very
1024 large alignment values.
1025 * malloc/tst-posix_memalign.c (do_test): Likewise.
1026
1027 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1028
1029 [BZ #11087]
1030 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1031 (munmap_chunk): Likewise.
1032 (mremap_chunk): Likewise.
1033
1034 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1035
1036 [BZ #15799]
1037 * stdlib/div.c (div): Remove obsolete code.
1038 * stdlib/ldiv.c (ldiv): Likewise.
1039 * stdlib/lldiv.c (lldiv): Likewise.
1040
1041 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1042
1043 [BZ #16071]
1044 * nss/nss_files/files-XXX.c (get_contents_ret): New
1045 enumerator.
1046 (get_contents): New function.
1047 (internal_getent): Use it. Expand size of LINEBUFLEN.
1048
1049 2013-10-30 Mike Frysinger <vapier@gentoo.org>
1050
1051 * configure.in: Moved to ...
1052 * configure.ac: ... here. Change reference to configure.in
1053 to configure.ac.
1054 * sysdeps/arm/preconfigure.ac: ... here.
1055 configure.in to configure.ac.
1056 * sysdeps/gnu/configure.in: Moved to ...
1057 * sysdeps/gnu/configure.ac: ... here.
1058 * sysdeps/i386/configure.in: Moved to ...
1059 * sysdeps/i386/configure.ac: ... here.
1060 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1061 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1062 * sysdeps/mach/configure.in: Moved to ...
1063 * sysdeps/mach/configure.ac: ... here.
1064 * sysdeps/mach/hurd/configure.in: Moved to ...
1065 * sysdeps/mach/hurd/configure.ac: ... here.
1066 * sysdeps/powerpc/configure.in: Moved to ...
1067 * sysdeps/powerpc/configure.ac: ... here.
1068 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1069 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1070 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1071 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1072 * sysdeps/s390/s390-32/configure.in: Moved to ...
1073 * sysdeps/s390/s390-32/configure.ac: ... here.
1074 * sysdeps/s390/s390-64/configure.in: Moved to ...
1075 * sysdeps/s390/s390-64/configure.ac: ... here.
1076 * sysdeps/sh/configure.in: Moved to ...
1077 * sysdeps/sh/configure.ac: ... here.
1078 * sysdeps/sparc/configure.in: Moved to ...
1079 * sysdeps/sparc/configure.ac: ... here.
1080 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1081 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1082 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1083 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1084 * sysdeps/x86_64/configure.in: Moved to ...
1085 * sysdeps/x86_64/configure.ac: ... here.
1086 * sysdeps/x86_64/preconfigure.in: Moved to ...
1087 * sysdeps/x86_64/preconfigure.ac: ... here.
1088 * aclocal.m4: Change reference to configure.in to configure.ac.
1089 * config.h.in: Likewise.
1090 * manual/install.texi: Likewise.
1091 * manual/maint.texi: Likewise.
1092 * Makefile: Likewise.
1093 * malloc/Makefile: Likewise.
1094 * nscd/Makefile: Likewise.
1095 * Makeconfig: Change reference to configure.in and
1096 preconfigure.in to configure.ac and preconfigure.ac
1097 respectively.
1098 * INSTALL: Regenerated.
1099 * configure: Likewise.
1100 * sysdeps/gnu/configure: Likewise.
1101 * sysdeps/i386/configure: Likewise.
1102 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1103 * sysdeps/mach/configure: Likewise.
1104 * sysdeps/mach/hurd/configure: Likewise.
1105 * sysdeps/powerpc/configure: Likewise.
1106 * sysdeps/powerpc/powerpc32/configure: Likewise.
1107 * sysdeps/powerpc/powerpc64/configure: Likewise.
1108 * sysdeps/s390/s390-32/configure: Likewise.
1109 * sysdeps/s390/s390-64/configure: Likewise.
1110 * sysdeps/sh/configure: Likewise.
1111 * sysdeps/sparc/configure: Likewise.
1112 * sysdeps/unix/sysv/linux/configure: Likewise.
1113 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1114 * sysdeps/x86_64/configure: Likewise.
1115 * sysdeps/x86_64/preconfigure: Likewise.
1116
1117 2013-10-29 Andreas Schwab <schwab@suse.de>
1118
1119 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1120
1121 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1122
1123 * benchtests/pow-inputs: Add new inputs.
1124
1125 * benchtests/exp-inputs: Add new inputs.
1126
1127 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1128 conditional check for return value.
1129 (__cos32): Likewise.
1130
1131 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1132
1133 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1134 to provide a boost for large inputs with word alignment.
1135 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1136 implementation based on optimized PPC64 strcpy.
1137 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1138 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1139 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1140 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1141
1142 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1143
1144 [BZ #2801]
1145 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1146
1147 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1148
1149 [BZ #14876]
1150 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1151 * time/tst-strptime.c (day_tests): Add testcase.
1152
1153 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1154
1155 [BZ #14029]
1156 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1157
1158 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1159
1160 [BZ #16074]
1161 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1162 MAP_FAILED on error.
1163
1164 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1165
1166 [BZ #16072]
1167 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1168 heap for large requests.
1169
1170 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1171
1172 [BZ #9954]
1173 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1174 result if the result has no associated interface.
1175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1176 interface for all 127.X.Y.Z addresses.
1177
1178 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
1179
1180 * locale/iso-639.def: Add Ligurian (lij)
1181
1182 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
1183
1184 [BZ #15825]
1185 * sunrpc/rpc_main.c: Document rpcgen -5.
1186
1187 2013-10-19 Michael Stahl <mstahl@redhat.com>
1188
1189 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1190
1191 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1192
1193 [BZ #10278]
1194 * posix/glob.c: Match only directories when trailing slash is present.
1195 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1196 (main): Add testcase.
1197
1198 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1199
1200 [BZ #15670]
1201 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1202
1203 2013-10-18 Carlos O'Donell <carlos@redhat.com>
1204
1205 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1206 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1207 AUTH_DES and cindex for FIPS 140-2.
1208 (DES Encryption): Add cindex FIPS 46-3.
1209
1210 * locale/locarchive.h (struct locarhandle): Add fname.
1211 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1212 if an optional argument was specified to --list-archive,
1213 otherwise NULL.
1214 * locale/programs/locarchive.c (show_archive_content): Take new
1215 argument fname and pass it via ah.fname to open_archive.
1216 * locale/programs/localedef.h: Update decl.
1217 (open_archive): If AH->fname is non-null, open that file
1218 rather than the default file name, and don't ignore ENOENT.
1219 (create_archive): Set AH.fname to NULL.
1220 (delete_locales_from_archive): Likewise.
1221 (add_locales_to_archive): Likewise.
1222 * locale/programs/locfile.c (write_all_categories): Likewise.
1223
1224 2013-10-18 Joseph Myers <joseph@codesourcery.com>
1225 Aldy Hernandez <aldyh@redhat.com>
1226
1227 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1228 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1229 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1230 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1231 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1232 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1233 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1234 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1235 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1236 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1237 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1238 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1239 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1240 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1241 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1242 Likewise.
1243 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1244 Likewise.
1245 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1246 Likewise.
1247 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1248 Likewise.
1249 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1250 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1251 Likewise.
1252 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1253 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1254 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1255 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1256 Likewise.
1257 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1258 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1259 * sysdeps/powerpc/preconfigure: Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1261 Likewise.
1262 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1263 Replace contents of file by #include of <fenv_libc.h>.
1264 * sysdeps/powerpc/soft-fp/sfp-machine.h
1265 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1266 and <sys/prctl.h>.
1267 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1268 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1269 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1270 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1271 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1272 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1274 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1275 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1276 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1277 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1278 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1280 Allow copysignl PLT reference to be missing.
1281
1282 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1283 Joseph Myers <joseph@codesourcery.com
1284
1285 [BZ #15948]
1286 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1287 single character.
1288 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1289
1290 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1291
1292 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1293 * elf/tst-tls1.c: Likewise.
1294 * elf/tst-tls10.h: Likewise.
1295 * elf/tst-tls14.c: Likewise.
1296 * elf/tst-tls2.c: Likewise.
1297 * elf/tst-tls3.c: Likewise.
1298 * elf/tst-tls4.c: Likewise.
1299 * elf/tst-tls5.c: Likewise.
1300 * elf/tst-tls6.c: Likewise.
1301 * elf/tst-tls7.c: Likewise.
1302 * elf/tst-tls8.c: Likewise.
1303 * elf/tst-tls9.c: Likewise.
1304 * elf/tst-tlsmod1.c: Likewise.
1305 * elf/tst-tlsmod13.c: Likewise.
1306 * elf/tst-tlsmod13a.c: Likewise.
1307 * elf/tst-tlsmod14a.c: Likewise.
1308 * elf/tst-tlsmod16a.c: Likewise.
1309 * elf/tst-tlsmod16b.c: Likewise.
1310 * elf/tst-tlsmod2.c: Likewise.
1311 * elf/tst-tlsmod3.c: Likewise.
1312 * elf/tst-tlsmod4.c: Likewise.
1313 * elf/tst-tlsmod5.c: Likewise.
1314 * elf/tst-tlsmod6.c: Likewise.
1315
1316 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1317
1318 [BZ #12486]
1319 * malloc/malloc.c: remove checks for statistics.
1320
1321 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1322
1323 [BZ #15277]
1324 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1325 * inet/tst-network.c: Add testcase.
1326
1327 2013-10-17 Andreas Schwab <schwab@suse.de>
1328
1329 [BZ #15218]
1330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1331 to determine canonical name.
1332
1333 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1334
1335 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1336 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1338 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1340 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1341 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1342 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1343 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1344 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1345 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1346 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1347 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1348 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1349 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1350 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1352 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1353 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1354 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1357 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1358 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1359 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1360 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1361 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1362 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1364 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1365 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1367 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1369 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1370 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1371 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1372 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1373 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1393
1394 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1395
1396 [BZ #16041]
1397 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1398 make result into a quiet NaN.
1399
1400 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1401
1402 * soft-fp/adddf3.c: Fix horizontal whitespace.
1403 * soft-fp/addsf3.c: Likewise.
1404 * soft-fp/addtf3.c: Likewise.
1405 * soft-fp/divdf3.c: Likewise.
1406 * soft-fp/divsf3.c: Likewise.
1407 * soft-fp/divtf3.c: Likewise.
1408 * soft-fp/double.h: Likewise.
1409 * soft-fp/eqdf2.c: Likewise.
1410 * soft-fp/eqsf2.c: Likewise.
1411 * soft-fp/eqtf2.c: Likewise.
1412 * soft-fp/extenddftf2.c: Likewise.
1413 * soft-fp/extended.h: Likewise.
1414 * soft-fp/extendsfdf2.c: Likewise.
1415 * soft-fp/extendsftf2.c: Likewise.
1416 * soft-fp/extendxftf2.c: Likewise.
1417 * soft-fp/fixdfdi.c: Likewise.
1418 * soft-fp/fixdfsi.c: Likewise.
1419 * soft-fp/fixdfti.c: Likewise.
1420 * soft-fp/fixsfdi.c: Likewise.
1421 * soft-fp/fixsfsi.c: Likewise.
1422 * soft-fp/fixsfti.c: Likewise.
1423 * soft-fp/fixtfdi.c: Likewise.
1424 * soft-fp/fixtfsi.c: Likewise.
1425 * soft-fp/fixtfti.c: Likewise.
1426 * soft-fp/fixunsdfdi.c: Likewise.
1427 * soft-fp/fixunsdfsi.c: Likewise.
1428 * soft-fp/fixunsdfti.c: Likewise.
1429 * soft-fp/fixunssfdi.c: Likewise.
1430 * soft-fp/fixunssfsi.c: Likewise.
1431 * soft-fp/fixunssfti.c: Likewise.
1432 * soft-fp/fixunstfdi.c: Likewise.
1433 * soft-fp/fixunstfsi.c: Likewise.
1434 * soft-fp/fixunstfti.c: Likewise.
1435 * soft-fp/floatdidf.c: Likewise.
1436 * soft-fp/floatdisf.c: Likewise.
1437 * soft-fp/floatditf.c: Likewise.
1438 * soft-fp/floatsidf.c: Likewise.
1439 * soft-fp/floatsisf.c: Likewise.
1440 * soft-fp/floatsitf.c: Likewise.
1441 * soft-fp/floattidf.c: Likewise.
1442 * soft-fp/floattisf.c: Likewise.
1443 * soft-fp/floattitf.c: Likewise.
1444 * soft-fp/floatundidf.c: Likewise.
1445 * soft-fp/floatundisf.c: Likewise.
1446 * soft-fp/floatunditf.c: Likewise.
1447 * soft-fp/floatunsidf.c: Likewise.
1448 * soft-fp/floatunsisf.c: Likewise.
1449 * soft-fp/floatunsitf.c: Likewise.
1450 * soft-fp/floatuntidf.c: Likewise.
1451 * soft-fp/floatuntisf.c: Likewise.
1452 * soft-fp/floatuntitf.c: Likewise.
1453 * soft-fp/fmadf4.c: Likewise.
1454 * soft-fp/fmasf4.c: Likewise.
1455 * soft-fp/fmatf4.c: Likewise.
1456 * soft-fp/gedf2.c: Likewise.
1457 * soft-fp/gesf2.c: Likewise.
1458 * soft-fp/getf2.c: Likewise.
1459 * soft-fp/ledf2.c: Likewise.
1460 * soft-fp/lesf2.c: Likewise.
1461 * soft-fp/letf2.c: Likewise.
1462 * soft-fp/muldf3.c: Likewise.
1463 * soft-fp/mulsf3.c: Likewise.
1464 * soft-fp/multf3.c: Likewise.
1465 * soft-fp/negdf2.c: Likewise.
1466 * soft-fp/negsf2.c: Likewise.
1467 * soft-fp/negtf2.c: Likewise.
1468 * soft-fp/op-1.h: Likewise.
1469 * soft-fp/op-2.h: Likewise.
1470 * soft-fp/op-4.h: Likewise.
1471 * soft-fp/op-8.h: Likewise.
1472 * soft-fp/op-common.h: Likewise.
1473 * soft-fp/quad.h: Likewise.
1474 * soft-fp/single.h: Likewise.
1475 * soft-fp/soft-fp.h: Likewise.
1476 * soft-fp/sqrtdf2.c: Likewise.
1477 * soft-fp/sqrtsf2.c: Likewise.
1478 * soft-fp/sqrttf2.c: Likewise.
1479 * soft-fp/subdf3.c: Likewise.
1480 * soft-fp/subsf3.c: Likewise.
1481 * soft-fp/subtf3.c: Likewise.
1482 * soft-fp/truncdfsf2.c: Likewise.
1483 * soft-fp/trunctfdf2.c: Likewise.
1484 * soft-fp/trunctfsf2.c: Likewise.
1485 * soft-fp/trunctfxf2.c: Likewise.
1486 * soft-fp/unorddf2.c: Likewise.
1487 * soft-fp/unordsf2.c: Likewise.
1488 * soft-fp/unordtf2.c: Likewise.
1489
1490 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1491
1492 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1493 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1494
1495 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1496
1497 * elf/dl-libc.c: Clear initfini list after freeing.
1498
1499 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1500
1501 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1502 * soft-fp/addsf3.c: Likewise.
1503 * soft-fp/addtf3.c: Likewise.
1504 * soft-fp/divdf3.c: Likewise.
1505 * soft-fp/divsf3.c: Likewise.
1506 * soft-fp/divtf3.c: Likewise.
1507 * soft-fp/double.h: Likewise.
1508 * soft-fp/eqdf2.c: Likewise.
1509 * soft-fp/eqsf2.c: Likewise.
1510 * soft-fp/eqtf2.c: Likewise.
1511 * soft-fp/extenddftf2.c: Likewise.
1512 * soft-fp/extended.h: Likewise.
1513 * soft-fp/extendsfdf2.c: Likewise.
1514 * soft-fp/extendsftf2.c: Likewise.
1515 * soft-fp/extendxftf2.c: Likewise.
1516 * soft-fp/fixdfdi.c: Likewise.
1517 * soft-fp/fixdfsi.c: Likewise.
1518 * soft-fp/fixdfti.c: Likewise.
1519 * soft-fp/fixsfdi.c: Likewise.
1520 * soft-fp/fixsfsi.c: Likewise.
1521 * soft-fp/fixsfti.c: Likewise.
1522 * soft-fp/fixtfdi.c: Likewise.
1523 * soft-fp/fixtfsi.c: Likewise.
1524 * soft-fp/fixtfti.c: Likewise.
1525 * soft-fp/fixunsdfdi.c: Likewise.
1526 * soft-fp/fixunsdfsi.c: Likewise.
1527 * soft-fp/fixunsdfti.c: Likewise.
1528 * soft-fp/fixunssfdi.c: Likewise.
1529 * soft-fp/fixunssfsi.c: Likewise.
1530 * soft-fp/fixunssfti.c: Likewise.
1531 * soft-fp/fixunstfdi.c: Likewise.
1532 * soft-fp/fixunstfsi.c: Likewise.
1533 * soft-fp/fixunstfti.c: Likewise.
1534 * soft-fp/floatdidf.c: Likewise.
1535 * soft-fp/floatdisf.c: Likewise.
1536 * soft-fp/floatditf.c: Likewise.
1537 * soft-fp/floatsidf.c: Likewise.
1538 * soft-fp/floatsisf.c: Likewise.
1539 * soft-fp/floatsitf.c: Likewise.
1540 * soft-fp/floattidf.c: Likewise.
1541 * soft-fp/floattisf.c: Likewise.
1542 * soft-fp/floattitf.c: Likewise.
1543 * soft-fp/floatundidf.c: Likewise.
1544 * soft-fp/floatundisf.c: Likewise.
1545 * soft-fp/floatunsidf.c: Likewise.
1546 * soft-fp/floatunsisf.c: Likewise.
1547 * soft-fp/floatuntidf.c: Likewise.
1548 * soft-fp/floatuntisf.c: Likewise.
1549 * soft-fp/floatuntitf.c: Likewise.
1550 * soft-fp/fmadf4.c: Likewise.
1551 * soft-fp/fmasf4.c: Likewise.
1552 * soft-fp/fmatf4.c: Likewise.
1553 * soft-fp/gedf2.c: Likewise.
1554 * soft-fp/gesf2.c: Likewise.
1555 * soft-fp/getf2.c: Likewise.
1556 * soft-fp/ledf2.c: Likewise.
1557 * soft-fp/lesf2.c: Likewise.
1558 * soft-fp/letf2.c: Likewise.
1559 * soft-fp/muldf3.c: Likewise.
1560 * soft-fp/mulsf3.c: Likewise.
1561 * soft-fp/multf3.c: Likewise.
1562 * soft-fp/negdf2.c: Likewise.
1563 * soft-fp/negsf2.c: Likewise.
1564 * soft-fp/negtf2.c: Likewise.
1565 * soft-fp/op-1.h: Likewise.
1566 * soft-fp/op-2.h: Likewise.
1567 * soft-fp/op-4.h: Likewise.
1568 * soft-fp/op-8.h: Likewise.
1569 * soft-fp/op-common.h: Likewise.
1570 * soft-fp/quad.h: Likewise.
1571 * soft-fp/single.h: Likewise.
1572 * soft-fp/soft-fp.h: Likewise.
1573 * soft-fp/sqrtdf2.c: Likewise.
1574 * soft-fp/sqrtsf2.c: Likewise.
1575 * soft-fp/sqrttf2.c: Likewise.
1576 * soft-fp/subdf3.c: Likewise.
1577 * soft-fp/subsf3.c: Likewise.
1578 * soft-fp/subtf3.c: Likewise.
1579 * soft-fp/truncdfsf2.c: Likewise.
1580 * soft-fp/trunctfdf2.c: Likewise.
1581 * soft-fp/trunctfsf2.c: Likewise.
1582 * soft-fp/trunctfxf2.c: Likewise.
1583 * soft-fp/unorddf2.c: Likewise.
1584 * soft-fp/unordsf2.c: Likewise.
1585 * soft-fp/unordtf2.c: Likewise.
1586
1587 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1588
1589 [BZ #15672]
1590 * misc/error.c (error_tail): Fix possible buffer overflow.
1591
1592 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1593
1594 [BZ #13028]
1595 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1596 address.
1597
1598 2013-10-14 P. J. McDermott <pj@pehjota.net>
1599
1600 [BZ #832]
1601 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1602 testing pipefail option.
1603
1604 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1605
1606 * soft-fp/double.h: Indent preprocessor directives inside #if.
1607 * soft-fp/extended.h: Likewise.
1608 * soft-fp/op-2.h: Likewise.
1609 * soft-fp/op-4.h: Likewise.
1610 * soft-fp/op-common.h: Likewise.
1611 * soft-fp/quad.h: Likewise.
1612 * soft-fp/single.h: Likewise.
1613 * soft-fp/soft-fp.h: Likewise.
1614
1615 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1616
1617 * iconv/iconv_prog.c: Fix typos.
1618 * stdio-common/psiginfo-data.h: Likewise.
1619
1620 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1621
1622 [BZ #15764]
1623 * locale/setlocale.c: Fix typo.
1624
1625 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1626
1627 [BZ #16036]
1628 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1629 signaling NaN arguments.
1630 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1631 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1632
1633 [BZ #14910]
1634 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1635 unordered operands.
1636 * soft-fp/gesf2.c (__gesf2): Likewise.
1637 * soft-fp/getf2.c (__getf2): Likewise.
1638 * soft-fp/ledf2.c (__ledf2): Likewise.
1639 * soft-fp/lesf2.c (__lesf2): Likewise.
1640 * soft-fp/letf2.c (__letf2): Likewise.
1641
1642 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1643 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1644 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1645 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1646 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1647 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1648 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1649 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1650 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1651 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1652 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1653 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1654 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1655 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1656 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1657 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1658 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1659 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1660 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1661 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1662 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1663 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1664 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1665 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1666 * soft-fp/floattidf.c (__floattidf): Likewise.
1667 * soft-fp/floattisf.c (__floattisf): Likewise.
1668 * soft-fp/floattitf.c (__floattitf): Likewise.
1669 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1670 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1671 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1672 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1673 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1674 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1675 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1676 * soft-fp/gesf2.c (__gesf2): Likewise.
1677 * soft-fp/getf2.c (__getf2): Likewise.
1678 * soft-fp/ledf2.c (__ledf2): Likewise.
1679 * soft-fp/lesf2.c (__lesf2): Likewise.
1680 * soft-fp/letf2.c (__letf2): Likewise.
1681
1682 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1683 Undefine and redefine.
1684 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1685 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1686 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1687 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1688 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1689 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1690 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1691 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1692 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1693 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1694 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1695 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1696 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1697 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1698 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1699
1700 [BZ #16032]
1701 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1702 without decrementing exponent if mantissa >= that for the
1703 denominator, not >.
1704 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1705 denominator, not >. Decrement exponent in < case instead of
1706 incrementing in >= case.
1707 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1708 without decrementing exponent if mantissa >= that for the
1709 denominator, not >.
1710
1711 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1712 computing saturated result for unsigned overflow.
1713
1714 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1715 Jeff Law <law@redhat.com>
1716
1717 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1718 (atan2Mp): Add systemtap probe marker.
1719 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1720 (__ieee754_log): Add systemtap probe marker.
1721 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1722 (atanMp): Add systemtap probe marker.
1723 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1724 (tanMp): Add systemtap probe marker.
1725 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1726 (__slowexp): Add systemtap probe marker.
1727 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1728 (__slowpow): Add systemtap probe marker.
1729 * manual/probes.texi: Document probes.
1730
1731 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1732
1733 [BZ #15362]
1734 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1735 written.
1736 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1737 written.
1738 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1739 written to buffer but not flushed.
1740 * libio/iofwrite_u.c: Likewise.
1741 * libio/iopadn.c: Return bytes returned even if EOF was
1742 encountered.
1743 * libio/iowpadn.c: Likewise.
1744 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1745 if _IO_padn does not write the whole buffer.
1746 [!COMPILE_WPRINTF] (PAD): Likewise.
1747
1748 2013-10-10 David S. Miller <davem@davemloft.net>
1749
1750 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1751 directory block.
1752
1753 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1754
1755 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1756 instead of FSF address.
1757 * soft-fp/fixdfti.c: Likewise.
1758 * soft-fp/fixsfti.c: Likewise.
1759 * soft-fp/fixtfti.c: Likewise.
1760 * soft-fp/fixunsdfti.c: Likewise.
1761 * soft-fp/fixunssfti.c: Likewise.
1762 * soft-fp/fixunstfti.c: Likewise.
1763 * soft-fp/floattidf.c: Likewise.
1764 * soft-fp/floattisf.c: Likewise.
1765 * soft-fp/floattitf.c: Likewise.
1766 * soft-fp/floatuntidf.c: Likewise.
1767 * soft-fp/floatuntisf.c: Likewise.
1768 * soft-fp/floatuntitf.c: Likewise.
1769 * soft-fp/trunctfxf2.c: Likewise.
1770
1771 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1772 * soft-fp/fixdfti.c: Likewise.
1773 * soft-fp/fixsfti.c: Likewise.
1774 * soft-fp/fixtfti.c: Likewise.
1775 * soft-fp/fixunsdfti.c: Likewise.
1776 * soft-fp/fixunssfti.c: Likewise.
1777 * soft-fp/fixunstfti.c: Likewise.
1778 * soft-fp/floattidf.c: Likewise.
1779 * soft-fp/floattisf.c: Likewise.
1780 * soft-fp/floattitf.c: Likewise.
1781 * soft-fp/floatuntidf.c: Likewise.
1782 * soft-fp/floatuntisf.c: Likewise.
1783 * soft-fp/floatuntitf.c: Likewise.
1784 * soft-fp/trunctfxf2.c: Likewise.
1785
1786 2013-10-10 David S. Miller <davem@davemloft.net>
1787
1788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1789
1790 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1791
1792 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1793 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1794 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1795 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1796 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1797 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1798 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1799
1800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1801 for NaNs before doing comparisons on argument.
1802 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1803 Likewise.
1804
1805 2013-10-10 Will Newton <will.newton@linaro.org>
1806
1807 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1808 passed to _int_memalign does not overflow.
1809
1810 2013-10-10 Torvald Riegel <triegel@redhat.com>
1811
1812 * scripts/bench.pl: Add include-sources directive.
1813 * benchtests/README: Update documentation.
1814
1815 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1816
1817 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1818 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1819 instead of FP_INIT_ROUNDMODE.
1820 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1821 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1822
1823 [BZ #16034]
1824 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1825 copy class of input value.
1826 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1827 not handle exceptions.
1828 * soft-fp/negsf2.c (__negsf2): Likewise.
1829 * soft-fp/negtf2.c (__negtf2): Likewise.
1830 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1831
1832 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1833
1834 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1835 semicolon. From Linux kernel.
1836
1837 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1838
1839 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1840
1841 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1842
1843 [BZ #156]
1844 * manual/socket.texi: Added statement about buffer
1845 for gethostbyname2_r.
1846
1847 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1848
1849 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1850 Use .p2align directive instead, throughout.
1851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1852 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1853 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1856 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1857 * sysdeps/x86_64/strchr.S: Likewise.
1858 * sysdeps/x86_64/strrchr.S: Likewise.
1859
1860 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1861
1862 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1863
1864 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1865
1866 * sysdeps/generic/math_private.h (__mpsin1): Remove
1867 declaration.
1868 (__mpcos1): Likewise.
1869 (__mpsin): New argument __range_reduce.
1870 (__mpcos): Likewise.
1871 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1872 (slow): Use __mpsin and __mpcos.
1873 (slow1): Likewise.
1874 (slow2): Likewise.
1875 (sloww): Likewise.
1876 (sloww1): Likewise.
1877 (sloww2): Likewise.
1878 (bsloww): Likewise.
1879 (bsloww1): Likewise.
1880 (bsloww2): Likewise.
1881 (cslow2): Likewise.
1882 (csloww): Likewise.
1883 (csloww1): Likewise.
1884 (csloww2): Likewise.
1885 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1886 range_reduce. Merge in __mpsin1.
1887 (__mpcos): Likewise.
1888 (__mpsin1): Remove.
1889 (__mpcos1): Likewise.
1890
1891 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1892
1893 * locale/loadlocale.c (_nl_intern_locale_data): Use
1894 LOCFILE_ALIGNED_P.
1895 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1896 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1897 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1898 obstack data is appropriately aligned.
1899 (obstack_int32_grow_fast): Likewise.
1900 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1901 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1902 (add_locale_uint32_array): Likewise.
1903
1904 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1905
1906 * benchtests/Makefile: Remove ARGLIST and RET variables.
1907 ($(objpfx)bench-%.c): Pass only function name to the script.
1908 * benchtests/README: Update documentation.
1909 * benchtests/acos-inputs: Add new directives.
1910 * benchtests/acosh-inputs: Likewise.
1911 * benchtests/asin-inputs: Likewise.
1912 * benchtests/asinh-inputs: Likewise.
1913 * benchtests/atan-inputs: Likewise.
1914 * benchtests/atanh-inputs: Likewise.
1915 * benchtests/cos-inputs: Likewise.
1916 * benchtests/cosh-inputs: Likewise.
1917 * benchtests/exp-inputs: Likewise.
1918 * benchtests/log-inputs: Likewise.
1919 * benchtests/pow-inputs: Likewise.
1920 * benchtests/rint-inputs: Likewise.
1921 * benchtests/sin-inputs: Likewise.
1922 * benchtests/sinh-inputs: Likewise.
1923 * benchtests/tan-inputs: Likewise.
1924 * benchtests/tanh-inputs: Likewise.
1925 * scripts/bench.pl: Add support for new directives.
1926
1927 2013-10-07 Alan Modra <amodra@gmail.com>
1928
1929 * README: Fix careless merge.
1930
1931 2013-10-05 Alan Modra <amodra@gmail.com>
1932
1933 * NEWS: Mention powerpc64le support and bugs fixed.
1934 * README: Both big-endian and little-endian powerpc64 supported.
1935
1936 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1937
1938 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1939 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1940 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1941 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1942
1943 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1944
1945 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1946 match prototype.
1947
1948 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1949
1950 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1951 Move -mhard-float appending from
1952 ports/sysdeps/powerpc/powerpc32/Makefile.
1953 [$(with-fp) = yes] (ASFLAGS): Likewise.
1954 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1955 * sysdeps/powerpc/nofpu: Move directory from
1956 ports/sysdeps/powerpc/nofpu.
1957 * sysdeps/powerpc/soft-fp: Move directory from
1958 ports/sysdeps/powerpc/soft-fp.
1959 * sysdeps/powerpc/powerpc32/405: Move directory from
1960 ports/sysdeps/powerpc/powerpc32/405.
1961 * sysdeps/powerpc/powerpc32/440: Move directory from
1962 ports/sysdeps/powerpc/powerpc32/440.
1963 * sysdeps/powerpc/powerpc32/464: Move directory from
1964 ports/sysdeps/powerpc/powerpc32/464.
1965 * sysdeps/powerpc/powerpc32/476: Move directory from
1966 ports/sysdeps/powerpc/powerpc32/476.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1968 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1970 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1972 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1974 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1976 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1977 * README: Update for powerpc-*-linux-gnu software floating point
1978 support in libc.
1979
1980 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1981 case to powerpc/powerpc32*.
1982 * sysdeps/unix/sysv/linux/configure: Regenerated.
1983
1984 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1985 (_FPU_MASK_OM): Define as 0x04.
1986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1988 0x00c10080.
1989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1990 0x0000003c.
1991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1992
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1994 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1995 getcontext_e500.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1997 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1998 setcontext_e500.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2000 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2001 and setcontext_e500.
2002
2003 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2004
2005 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2006
2007 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2008
2009 * manual/threads.texi (Default Thread Attributes): Fix typo.
2010
2011 2013-10-04 Will Newton <will.newton@linaro.org>
2012
2013 * malloc/Makefile: Add tst-memalign.
2014 * malloc/tst-memalign.c: New file.
2015
2016 * malloc/tst-posix_memalign.c: Add comments.
2017 (do_test): Add comments and call free on all potentially
2018 allocated pointers. Add space after cast.
2019
2020 * malloc/tst-pvalloc.c: Add comments.
2021 (do_test): Add comments and call free on all potentially
2022 allocated pointers. Remove duplicate check for NULL pointer.
2023 Add space after cast.
2024
2025 * malloc/tst-valloc.c: Add comments.
2026 (do_test): Add comments and call free on all potentially
2027 allocated pointers. Remove duplicate check for NULL pointer.
2028 Add space after cast.
2029
2030 2013-10-04 Alan Modra <amodra@gmail.com>
2031
2032 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2033 Use stdint types in rather than __attribute__((mode())).
2034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2035
2036 2013-10-04 Alan Modra <amodra@gmail.com>
2037
2038 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2039 Correct handling of unaligned relocs for little-endian.
2040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2041
2042 2013-10-04 Alan Modra <amodra@gmail.com>
2043
2044 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2045 * configure: Regenerate.
2046 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2047 * shlib-versions: Likewise.
2048
2049 2013-10-04 Alan Modra <amodra@gmail.com>
2050
2051 * string/tester.c (test_memrchr): Increment reported test cycle.
2052
2053 2013-10-04 Alan Modra <amodra@gmail.com>
2054
2055 * string/test-memcpy.c (do_one_test): When reporting errors, print
2056 string address and don't overrun end of string.
2057
2058 2013-10-04 Alan Modra <amodra@gmail.com>
2059
2060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2061 insrdi. Make better use of reg selection to speed exit slightly.
2062 Schedule entry path a little better. Remove useless "are we done"
2063 checks on entry to main loop. Handle wrapping around zero address.
2064 Correct main loop count. Handle single left-over word from main
2065 loop inline rather than by using loop_small. Remove extra word
2066 case in loop_small caused by wrong loop count. Add little-endian
2067 support.
2068 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2069 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2070 cache hint.
2071 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2073 support. Avoid rlwimi.
2074 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2075
2076 2013-10-04 Alan Modra <amodra@gmail.com>
2077
2078 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2079 insrdi. Formatting.
2080 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2082 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2083 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2084 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2085 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2086
2087 2013-10-04 Alan Modra <amodra@gmail.com>
2088
2089 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2090 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2091 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2092 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2093 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2094 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2095 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2096 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2097 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2098 use of regs. Use power7 mtocrf. Tidy function tails.
2099
2100 2013-10-04 Alan Modra <amodra@gmail.com>
2101
2102 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2103 Formatting. Consistently use rXXX register defines or rN defines.
2104 Use early exit labels that avoid restoring unused non-volatile regs.
2105 Make cr field use more consistent with rWORDn compares. Rename
2106 regs used as shift registers for unaligned loop, using rN defines
2107 for short lifetime/multiple use regs.
2108 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2109 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2110 addi 1,1,64 to pop stack frame. Simplify return value code.
2111 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2112
2113 2013-10-04 Alan Modra <amodra@gmail.com>
2114
2115 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2116 support. Correct typos, formatting. Optimize tail. Use insrdi
2117 rather than rlwimi.
2118 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2119 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2120 little-endian support. Correct typos.
2121 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2122 rather than rlwimi.
2123 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2124 in loop and entry code to keep "and." results.
2125 (strchr): Add little-endian support. Comment. Move cntlzd
2126 earlier in tail.
2127 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2128
2129 2013-10-04 Alan Modra <amodra@gmail.com>
2130
2131 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2132 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2134 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2135
2136 2013-10-04 Alan Modra <amodra@gmail.com>
2137
2138 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2139 (rTMP): Define as r11.
2140 (strcmp): Add little-endian support. Optimise tail.
2141 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2142 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2143 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2144 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2145 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2146 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2148
2149 2013-10-04 Alan Modra <amodra@gmail.com>
2150
2151 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2152 little-endian support. Remove unnecessary "are we done" tests.
2153 Handle "s" wrapping around zero and extremely large "size".
2154 Correct main loop count. Handle single left-over word from main
2155 loop inline rather than by using small_loop. Correct comments.
2156 Delete "zero" tail, use "end_max" instead.
2157 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2158
2159 2013-10-04 Alan Modra <amodra@gmail.com>
2160
2161 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2162 support. Don't branch over align.
2163 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2164 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2165 support. Rearrange tmp reg use to suit. Comment.
2166 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2167
2168 2013-10-04 Alan Modra <amodra@gmail.com>
2169
2170 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2171
2172 2013-10-04 Alan Modra <amodra@gmail.com>
2173
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2175 conditional form of branch and link when obtaining pc.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2177
2178 2013-10-04 Alan Modra <amodra@gmail.com>
2179
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2181 HIWORD/LOWORD.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2184
2185 2013-10-04 Alan Modra <amodra@gmail.com>
2186
2187 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2188 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2189 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2190 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2191 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2192 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2193 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2194 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2195 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2196 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2197
2198 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2199 Alistair Popple <alistair@ozlabs.au.ibm.com>
2200 Alan Modra <amodra@gmail.com>
2201
2202 [BZ #15723]
2203 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2204 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2205 _dl_hwcap access for little-endian.
2206 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2207 destroy vmx regs when saving unaligned.
2208 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2209 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2210 destroy vmx regs when saving unaligned.
2211
2212 2013-10-04 Alan Modra <amodra@gmail.com>
2213
2214 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2215 Don't use a union to pack hi/low value.
2216
2217 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2218
2219 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2220 for little-endian.
2221 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2223 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2224 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2225 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2226
2227 2013-10-04 Alan Modra <amodra@gmail.com>
2228
2229 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2230 constants to usual value for .cst8 section, and remove redundant
2231 high address load.
2232 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2233 constant for 0x1p52. Load little-endian words of double from
2234 correct stack offsets.
2235
2236 2013-10-04 Alan Modra <amodra@gmail.com>
2237
2238 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2239 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2240 words of double from correct stack offsets.
2241 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2242 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2243 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2244 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2246 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2247 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2248 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2249 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2250 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2251 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2252 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2253 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2254 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2255 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2256 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2257 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2258
2259 2013-10-04 Alan Modra <amodra@gmail.com>
2260
2261 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2262 64-bit int/double union.
2263 (_FPU_SETCW): Likewise.
2264 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2265 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2266
2267 2013-10-04 Alan Modra <amodra@gmail.com>
2268
2269 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2270 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2271
2272 2013-10-04 Alan Modra <amodra@gmail.com>
2273
2274 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2275 use vector int constants.
2276 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2277
2278 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2279
2280 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2281 array with long long.
2282 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2283 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2284 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2285 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2286 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2287 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2288 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2289 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2290 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2291 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2292 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2293 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2294 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2295
2296 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2297
2298 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2299 (__signbit): Likewise. Correct for little-endian.
2300 (__signbitl): Call __signbit.
2301 (lrint): Correct for little-endian.
2302 (lrintf): Call lrint.
2303
2304 2013-10-04 Alan Modra <amodra@gmail.com>
2305
2306 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2307 union 32-bit int array member with 64-bit int array.
2308 (t515, tm256): Double rather than long double.
2309 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2310
2311 2013-10-04 Alan Modra <amodra@gmail.com>
2312
2313 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2314 Delete.
2315 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2317 version of math_ldbl.h.
2318
2319 2013-10-04 Alan Modra <amodra@gmail.com>
2320
2321 [BZ #15734], [BZ #15735]
2322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2323 all uses of ieee875 long double macros and unions. Simplify test
2324 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2325 ldbl_extract_mantissa value for ix,iy exponents. Properly
2326 normalize after ldbl_extract_mantissa, and don't add hidden bit
2327 already handled. Don't treat low word of ieee854 mantissa like
2328 low word of IBM long double and mask off bit when testing for
2329 zero.
2330 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2331 all uses of ieee875 long double macros and unions. Simplify tests
2332 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2333 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2334 two1022, instead use their values. Recognise that tests for large
2335 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2336 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2337 Rewrite all uses of ieee875 long double macros and unions. Simplify
2338 test for 0.0L and nan. Correct negation.
2339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2340 ieee875 long double macros and unions. Correct output for large
2341 magnitude x. Correct absolute value calculation.
2342 (__erfcl): Likewise.
2343 * math/libm-test.inc: Add tests for errors discovered in IBM long
2344 double versions of fmodl, remainderl, erfl and erfcl.
2345
2346 2013-10-04 Alan Modra <amodra@gmail.com>
2347
2348 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2349 all uses of ieee854 long double macros and unions. Simplify tests
2350 for long doubles that are fully specified by the high double.
2351 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2352 Likewise.
2353 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2354 Remove dead code too.
2355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2356 (__ieee754_ynl): Likewise.
2357 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2360 Remove dead code too.
2361 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2365 Simplify.
2366 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2367 Simplify.
2368 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2369 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2370 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2371 Comment on variable precision.
2372 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2373 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2374 Likewise.
2375 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2378 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2379 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2380
2381 2013-10-04 Alan Modra <amodra@gmail.com>
2382
2383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2384 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2385 all uses of ieee854 long double macros and unions.
2386 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2387 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2388 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2389 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2390 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2392 Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2394 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2395 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2396 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2397 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2398 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2399 Simplify sign and nan test too.
2400 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2401 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2402 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2403 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2404 Likewise.
2405 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2406 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2407 Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2414
2415 2013-10-04 Alan Modra <amodra@gmail.com>
2416
2417 * stdio-common/printf_size.c (__printf_size): Don't use
2418 union ieee854_long_double in fpnum union.
2419 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2420 signbit macro to retrieve sign from long double.
2421 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2422 retrieve sign from long double.
2423 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2424 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2425 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2426 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2427 * math/test-misc.c (main): Don't use union ieee854_long_double.
2428
2429 2013-10-04 Alan Modra <amodra@gmail.com>
2430
2431 [BZ #15680]
2432 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2433 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2434 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2435 calculation. Remove unnecessary test for denormal exponent.
2436 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2437 Correct handling of denormals. Avoid undefined shift behaviour.
2438 Correct normalisation of low mantissa when low double is denormal.
2439 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2440 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2441 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2442 Correct normalisation of low mantissa. Test for overflow of high
2443 mantissa and normalise.
2444 (ldbl_nearbyint): Use more readable constant for two52.
2445 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2446 (__mpn_construct_long_double): Fix test for overflow of high
2447 mantissa and correct normalisation. Avoid undefined shift.
2448
2449 2013-10-04 Alan Modra <amodra@gmail.com>
2450
2451 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2452 (union ibm_extended_long_double): Define as an array of ieee754_double.
2453 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2454 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2455 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2456 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2457 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2458 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2459 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2460 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2463 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2464
2465 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2466
2467 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2468 page size instead of calling getpagesize.
2469
2470 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2471 (LOCFILE_ALIGN_MASK): Likewise.
2472 (LOCFILE_ALIGN_UP): Likewise.
2473 (LOCFILE_ALIGNED_P): Likewise.
2474 * locale/programs/ld-collate.c (collate_output): Use the new
2475 macros instead of __alignof__ (int32_t).
2476 * locale/weight.h (findidx): Likewise.
2477
2478 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2479
2480 [BZ #431]
2481 * manual/string.texi: Fix strncat and wcsncat.
2482
2483 2013-10-03 Brooks Moses <bmoses@google.com>
2484
2485 [BZ #15915]
2486 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2487 * Makerules: ...here, and adjust associated comments.
2488
2489 2013-10-02 Will Newton <will.newton@linaro.org>
2490
2491 * malloc/Makefile: Add tst-pvalloc.
2492 * malloc/tst-pvalloc.c: New file.
2493
2494 2013-10-02 Will Newton <will.newton@linaro.org>
2495
2496 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2497 improve test coverage.
2498
2499 2013-10-02 Will Newton <will.newton@linaro.org>
2500
2501 * malloc/Makefile: Add tst-posix_memalign.
2502 * malloc/tst-posix_memalign.c: New file.
2503
2504 2013-10-01 Eric Blake <eblake@redhat.com>
2505
2506 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2507 Use __THROWNL rather than __THROW on static functions.
2508
2509 2013-09-30 Petr Machata <pmachata@redhat.com>
2510
2511 * elf/elf.h (R_AARCH64_ABS16): New macro.
2512 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2513 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2514 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2515 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2516 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2517 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2518 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2519 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2520 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2521 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2522 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2523 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2524 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2525 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2526 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2527 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2528 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2529 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2530 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2531 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2532 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2533 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2534 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2535 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2536 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2537 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2538 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2539 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2540 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2541 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2542 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2543 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2544 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2545 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2546 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2547 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2548 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2549 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2550 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2551 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2552 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2553 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2554 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2555 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2556 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2557 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2558 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2559 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2560 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2561 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2562 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2563 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2564 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2565 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2566 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2567 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2568 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2569 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2570 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2571 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2572 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2573 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2574 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2575 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2576 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2577 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2578 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2579 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2580 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2581 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2582 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2583 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2584 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2585 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2586 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2587 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2588 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2589 (R_AARCH64_TLSDESC_LDR): Likewise.
2590 (R_AARCH64_TLSDESC_ADD): Likewise.
2591 (R_AARCH64_TLSDESC_CALL): Likewise.
2592
2593 2013-09-30 Andreas Schwab <schwab@suse.de>
2594
2595 [BZ #15048]
2596 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2597 the nss database lookup.
2598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2600
2601 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2602
2603 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2604
2605 2013-09-28 P. J. McDermott <pj@pehjota.net>
2606
2607 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2608 ${Bash-specific parameter/pattern/string} parameter expansion.
2609 * sysdeps/unix/make-syscalls.sh: Likewise.
2610
2611 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2612
2613 * sysdeps/sh/stackguard-macros.h: New file.
2614
2615 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2616
2617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2619 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2620 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2621 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2622 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2623
2624 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2625
2626 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2627 Fix thread ID register.
2628
2629 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2630
2631 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2632 [POSIX || UNIX98]: Require rather than permitting all symbols from
2633 <time.h>.
2634 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2635 element of struct sched_param.
2636 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2637 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2638 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2639 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2640 constant.
2641
2642 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2643
2644 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2645 argument calculation.
2646
2647 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2648
2649 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2650 Expect macro.
2651 [POSIX] (pthread_attr_t): Do not require type.
2652 [POSIX] (pthread_cond_t): Likewise.
2653 [POSIX] (pthread_condattr_t): Likewise.
2654 [POSIX] (pthread_key_t): Likewise.
2655 [POSIX] (pthread_mutex_t): Likewise.
2656 [POSIX] (pthread_mutexattr_t): Likewise.
2657 [POSIX] (pthread_once_t): Likewise.
2658 [POSIX] (pthread_t): Likewise.
2659 [POSIX-based standards] (pthread_atfork): Expect function.
2660
2661 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2662 Richard Sandiford <richard@codesourcery.com>
2663
2664 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2665 (swap_endianness_p): New extern variable.
2666 (set_big_endian): New inline function.
2667 (maybe_swap_uint32): Likewise.
2668 (maybe_swap_uint32_array): Likewise.
2669 (maybe_swap_uint32_obstack): Likewise.
2670 * locale/programs/locfile.c: Include <stdbool.h>.
2671 (swap_endianness_p): New variable.
2672 (add_locale_uint32): Call maybe_swap_uint32.
2673 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2674 (write_locale_data): Call maybe_swap_uint32_array.
2675 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2676 maybe_swap_uint32.
2677 (obstack_int32_grow_fast): Likewise.
2678 (output_weightwc): Call maybe_swap_uint32_obstack.
2679 (collate_output): Likewise.
2680 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2681 (OPT_LITTLE_ENDIAN): Likewise.
2682 (options): Add --little-endian and --big-endian options.
2683 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2684 * locale/programs/locarchive.c: Include "locfile.h".
2685 (GET): New macro.
2686 (SET): Likewise.
2687 (INC): Likewise.
2688 (create_archive): Use the new macros to access fields of
2689 structures directly mapped from or written to locale archives.
2690 (oldlocrecentcmp): Likewise.
2691 (enlarge_archive): Likewise.
2692 (insert_name): Likewise.
2693 (add_alias): Likewise.
2694 (add_locale): Likewise.
2695 (delete_locales_from_archive): Likewise.
2696 (show_archive_content): Likewise.
2697 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2698 locale data.
2699
2700 2013-09-24 Roland McGrath <roland@hack.frob.com>
2701
2702 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2703 http://www.gnu.org/doc/freemanuals.texi.
2704 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2705
2706 2013-09-24 Will Newton <will.newton@linaro.org>
2707
2708 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2709 macro.
2710
2711 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2712
2713 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2714 unsigned char.
2715
2716 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2717
2718 * manual/threads.texi (POSIX Threads): Fix a typo.
2719
2720 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2721
2722 [BZ #14547]
2723 * string/tst-strcoll-overflow.c: New test case.
2724 * string/Makefile (xtests): Add tst-strcoll-overflow.
2725 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2726 cache if string sizes may cause integer overflow.
2727
2728 [BZ #14547]
2729 * string/strcoll_l.c (coll_seq): New members rule, idx,
2730 save_idx and back_us.
2731 (get_next_seq_nocache): New function.
2732 (do_compare_nocache): New function.
2733 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2734 when malloc fails.
2735
2736 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2737
2738 [BZ #15754]
2739 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2740 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2741 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2742
2743 [BZ #15754]
2744 * elf/Makefile (tests): Add tst-ptrguard1.
2745 (tests-static): Add tst-ptrguard1-static.
2746 (tst-ptrguard1-ARGS): Define.
2747 (tst-ptrguard1-static-ARGS): Define.
2748 * elf/tst-ptrguard1.c: New file.
2749 * elf/tst-ptrguard1-static.c: New file.
2750 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2751 * sysdeps/i386/stackguard-macros.h: Likewise.
2752 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2753 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2754 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2755 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2756 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2757 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2758
2759 2013-09-23 Hector Marco <hecmargi@upv.es>
2760 Ismael Ripoll <iripoll@disca.upv.es>
2761 Carlos O'Donell <carlos@redhat.com>
2762
2763 [BZ #15754]
2764 * sysdeps/generic/stackguard-macros.h: Define
2765 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2766 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2767 Define __pointer_chk_guard_local.
2768 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2769 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2770
2771 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2772
2773 [BZ #15859]
2774 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2775
2776 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2777
2778 * include/string.h (__ffs): Declare as hidden.
2779 * string/ffs.c (__ffs): Define as hidden.
2780 * sysdeps/i386/ffs.c (__ffs): Likewise.
2781 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2782 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2783 * sysdeps/s390/ffs.c (__ffs): Likewise.
2784 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2785
2786 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2787
2788 * NEWS: Mention malloc probes.
2789
2790 * malloc/arena.c (new_heap): New memory_heap_new probe.
2791 (grow_heap): New memory_heap_more probe.
2792 (shrink_heap): New memory_heap_less probe.
2793 (heap_trim): New memory_heap_free probe.
2794 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2795 (systrim): New memory_sbrk_less probe.
2796 * manual/probes.texi: Document them.
2797
2798 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2799 * manual/probes.texi: Document it.
2800
2801 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2802 (__libc_realloc): Add memory_realloc_retry probe.
2803 (__libc_memalign): Add memory_memalign_retry probe.
2804 (__libc_valloc): Add memory_valloc_retry probe.
2805 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2806 (__libc_calloc): Add memory_calloc_retry probe.
2807 * manual/probes.texi: Document them.
2808
2809 * malloc/arena.c (get_free_list): Add probe
2810 memory_arena_reuse_free_list.
2811 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2812 and memory_arena_reuse.
2813 (arena_get2) [!PER_THREAD]: Likewise.
2814 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2815 memory_arena_reuse_realloc.
2816 * manual/probes.texi: Document them.
2817
2818 * malloc/malloc.c (__libc_free): Add
2819 memory_mallopt_free_dyn_thresholds probe.
2820 (__libc_mallopt): Add multiple memory_mallopt probes.
2821 * manual/probes.texi: Document them.
2822
2823 * malloc/malloc.c: Include stap-probe.h.
2824 (__libc_mallopt): Add memory_mallopt probe.
2825 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2826 * manual/probes.texi: New.
2827 * manual/Makefile (chapters): Add probes.
2828 * manual/threads.texi: Set next node.
2829
2830 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2831
2832 [BZ #15963, #13985]
2833 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2834 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2835 Add `Chinese' to `nan' entry name.
2836
2837 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2838
2839 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2840 (POLYNOMIAL): Likewise.
2841 (TAYLOR_SINCOS): Likewise.
2842 (TAYLOR_SLOW): Likewise.
2843 (__sin): Use TAYLOR_SINCOS.
2844 (__cos): Likewise.
2845 (slow): Use TAYLOR_SLOW.
2846 (sloww): Likewise.
2847 (bsloww): Likewise.
2848 (csloww): Likewise.
2849
2850 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2851
2852 * stdlib/strtod_l.c: Fix buffer overrun.
2853
2854 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2855
2856 * benchtests/Makefile (bench): Add sincos.
2857 * benchtests/bench-sincos.c: New file.
2858
2859 * math/libm-test.inc (cos_test_data): New test inputs.
2860 (sin_test_data): Likewise.
2861
2862 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2863 macro.
2864 (__sin): Use it.
2865 (__cos): Likewise.
2866 (slow1): Likewise.
2867 (slow2): Likewise.
2868 (sloww1): Likewise.
2869 (sloww2): Likewise.
2870 (bsloww1): Likewise.
2871 (bsloww2): Likewise.
2872 (cslow2): Likewise.
2873 (csloww1): Likewise.
2874 (csloww2): Likewise.
2875
2876 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2877 function.
2878 (__sin): Use it.
2879 (__cos): Likewise.
2880
2881 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2882 gotos.
2883 (__cos): Likewise.
2884
2885 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2886
2887 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2888 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2889 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2890 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2891 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2892 * elf/cache.c (print_entry): Handle the new cache flags.
2893
2894 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2895 Aldy Hernandez <aldyh@redhat.com>
2896
2897 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2898 Change condition to [_SOFT_FLOAT].
2899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2904 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2909 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2911 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2912 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2913 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2914 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2915 declaration.
2916
2917 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2918
2919 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2920 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2921 (__longjmp): Use LOAD_GP to load saved GPRs.
2922 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2923 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2924 (__sigsetjmp): Use SAVE_GP to save GPRs.
2925
2926 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2927 Do not append -msoft-float.
2928 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2929
2930 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2931
2932 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2933
2934 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2935
2936 [BZ #15966]
2937 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2938 (_FPU_GETCW): Use initial "__" on variable and field names but not
2939 on macro parameter name.
2940 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2941 parentheses around reference to macro parameter.
2942
2943 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2944
2945 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2946 prototype.
2947 (ctype_startup): Use uint32_t in cast and sizeof for
2948 ctype->charnames.
2949
2950 2013-09-11 Jia Liu <proljc@gmail.com>
2951
2952 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2953 __daddr_t_defined.
2954 [__FreeBSD__]: Likewise.
2955
2956 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2957
2958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2959 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2960 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2961 (strchr): Remove __strchr_sse42 ifunc selection.
2962 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2963 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2964
2965 2013-09-11 Will Newton <will.newton@linaro.org>
2966
2967 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2968 parameter to RES. Remove hardcoded 1000 value.
2969 * benchtests/bench-skeleton.c (main): Pass RES parameter
2970 to TIMING_INIT and multiply result by 1000.
2971
2972 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2973
2974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2975
2976 2013-09-11 Andreas Schwab <schwab@suse.de>
2977
2978 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2979 if not defined.
2980 (O_TMPFILE) [__USE_GNU]: Define.
2981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2982 Define.
2983
2984 2013-09-11 Will Newton <will.newton@linaro.org>
2985
2986 [BZ #15857]
2987 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2988 does not overflow.
2989
2990 2013-09-11 Will Newton <will.newton@linaro.org>
2991
2992 [BZ #15856]
2993 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2994 does not overflow.
2995
2996 2013-09-11 Will Newton <will.newton@linaro.org>
2997
2998 [BZ #15855]
2999 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3000 does not overflow.
3001
3002 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
3003
3004 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3005 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3009
3010 2013-09-10 Allan McRae <allan@archlinux.org>
3011
3012 [BZ #15748]
3013 * manual/arith.texi (Parsing of Floats): Clarify
3014 cross-reference.
3015
3016 [BZ #15849]
3017 * manual/install.texi (Running make install): Mention
3018 --enable-pt-chown.
3019 * INSTALL: Regenerated.
3020
3021 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3022
3023 * csu/init-first.c (_init): Remove the !SHARED condition around
3024 FPU control word initialization.
3025 * elf/dl-support.c (_dl_fpu_control): New variable.
3026 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3027 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3028 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3029 * math/test-fpucw-static.c: New file.
3030 * math/test-fpucw-ieee.c: New file.
3031 * math/test-fpucw-ieee-static.c: New file.
3032 * math/Makefile (tests): Add `test-fpucw-ieee' and
3033 `$(tests-static)'.
3034 (tests-static): New variable.
3035 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3036 dependency to...
3037 [($(build-shared),yes)]
3038 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3039 ... this.
3040 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3041 New dependency.
3042
3043 2013-09-09 Allan McRae <allan@archlinux.org>
3044
3045 [BZ #15939]
3046 * manual/string.texi (Collation Functions): Fix typo in
3047 strcoll example.
3048 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3049
3050 [BZ #15893]
3051 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3052
3053 [BZ #15892]
3054 * libio/memstream.c (open_memstream): Fix memory leak.
3055 * libio/wmemstream.c (open_wmemstream): Likewise.
3056
3057 [BZ #15895]
3058 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3059
3060 2013-09-09 Will Newton <will.newton@linaro.org>
3061
3062 * malloc/Makefile: Add tst-realloc to tests.
3063 * malloc/tst-realloc.c: New file.
3064
3065 2013-09-09 Allan McRae <allan@archlinux.org>
3066
3067 [BZ #15844]
3068 * COPYING: Update from GNU website to fix FSF address.
3069 * COPYING.LIB: Likewise.
3070
3071 2013-09-06 David S. Miller <davem@davemloft.net>
3072
3073 * po/zh_TW.po: Update Chinese (traditional) translation from
3074 translation project.
3075
3076 2013-09-06 Richard Sandiford <richard@codesourcery.com>
3077 Joseph Myers <joseph@codesourcery.com>
3078
3079 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3080 "localeinfo.h".
3081 (obstack_chunk_alloc): New macro.
3082 (obstack_chunk_free): Likewise.
3083 (record_offset): New function.
3084 (init_locale_data): Likewise.
3085 (align_locale_data): Likewise.
3086 (add_locale_empty): Likewise.
3087 (add_locale_raw_data): Likewise.
3088 (add_locale_raw_obstack): Likewise.
3089 (add_locale_string): Likewise.
3090 (add_locale_wstring): Likewise.
3091 (add_locale_uint32): Likewise.
3092 (add_locale_uint32_array): Likewise.
3093 (add_locale_char): Likewise.
3094 (start_locale_structure): Likewise.
3095 (end_locale_structure): Likewise.
3096 (start_locale_prelude): Likewise.
3097 (end_locale_prelude): Likewise.
3098 (write_locale_data): Take locale_file structure rather than an
3099 iovec.
3100 * locale/programs/locfile.h: Include "obstack.h".
3101 (struct locale_file): Change to store locale file contents instead
3102 of header.
3103 (init_locale_data): New prototype.
3104 (align_locale_data): Likewise.
3105 (add_locale_empty): Likewise.
3106 (add_locale_raw_data): Likewise.
3107 (add_locale_raw_obstack): Likewise.
3108 (add_locale_string): Likewise.
3109 (add_locale_wstring): Likewise.
3110 (add_locale_uint32): Likewise.
3111 (add_locale_uint32_array): Likewise.
3112 (add_locale_char): Likewise.
3113 (start_locale_structure): Likewise.
3114 (end_locale_structure): Likewise.
3115 (start_locale_prelude): Likewise.
3116 (end_locale_prelude): Likewise.
3117 (write_locale_data): Update prototype.
3118 * locale/programs/3level.h (struct TABLE): Remove result field.
3119 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3120 Use new locale_file interface.
3121 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3122 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3123 * locale/programs/ld-address.c (address_output): Use new
3124 locale_file interface.
3125 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3126 NO_ADD_LOCALE.
3127 (collate_finish): Don't call collseq_table_finalize.
3128 (collate_output): Use new locale_file interface.
3129 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3130 in file.
3131 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3132 (TABLE): Move defines earlier in file.
3133 (ELEMENT): Likewise.
3134 (DEFAULT): Likewise.
3135 (wctrans_table_add): Move macro and inline function earlier in
3136 file.
3137 (struct wctype_table): Move type earlier in file.
3138 (add_locale_wctype_table): New static prototype.
3139 (struct locale_ctype_t): Use logical types instead of struct iovec
3140 pointers for members.
3141 (ctype_output): Use new locale_file interface.
3142 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3143 new locale_file interface.
3144 (allocate_arrays): Update for use of new locale_file interface.
3145 * locale/programs/ld-identification.c (identification_output): Use
3146 new locale_file interface.
3147 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3148 * locale/programs/ld-messages.c (messages_output): Likewise.
3149 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3150 * locale/programs/ld-name.c (name_output): Likewise.
3151 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3152 * locale/programs/ld-paper.c (paper_output): Likewise.
3153 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3154 * locale/programs/ld-time.c (time_output): Likewise.
3155
3156 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3157
3158 * benchtests/Makefile: Add memrchr benchmark.
3159 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3160 benchmark as memrchr.
3161 * benchtests/bench-memrchr-ifunc.c: New file.
3162 * benchtests/bench-memrchr.c: New file.
3163
3164 2013-09-06 Will Newton <will.newton@linaro.org>
3165
3166 * benchtests/Makefile (string-bench): Add memcpy.
3167
3168 2013-09-05 Carlos O'Donell <carlos@redhat.com>
3169 Cong Wang <amwang@redhat.com>
3170
3171 * sysdeps/unix/sysv/linux/bits/in.h
3172 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3173 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3174 before __USE_KERNEL_IPV6_DEFS uses.
3175 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3176 IPPROTO_BEETPH.
3177 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3178 sockaddr_in6, or ipv6_mreq.
3179
3180 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181
3182 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3183 memory access for final bytes in some large inputs.
3184 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3185
3186 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3187
3188 * string/test-memrchr.c: New file.
3189 * string/test-memrchr-ifunc.c: New file.
3190 * string/Makefile: Add new memrchr testcase.
3191
3192 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3193
3194 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3195 fanotify_init returns EPERM.
3196
3197 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3198
3199 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3200 errors.
3201 (top level): Treat second token from macro or constant entries for
3202 allowed headers as allowed.
3203 * include/complex.h: Condition internal declarations on
3204 [!_ISOMAC].
3205 * include/fenv.h: Condition include of <stdbool.h> and internal
3206 declarations on [!_ISOMAC].
3207
3208 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3209
3210 [BZ #15923]
3211 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3212
3213 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3214
3215 * configure.in (--enable-versioning): Remove configure option.
3216 (libc_cv_asm_symver_directive): Remove configure test.
3217 (libc_cv_ld_version_script_option): Likewise.
3218 (VERSIONING): Remove variable and AC_SUBST.
3219 (DO_VERSIONING): Remove AC_DEFINE.
3220 * configure: Regenerated.
3221 * config.h.in (DO_VERSIONING): Remove macro.
3222 * Makerules [$(versioning) = yes]: Change conditionals to
3223 [$(build-shared) = yes].
3224 * config.make.in (versioning): Remove variable.
3225 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3226 [$(build-shared) = yes].
3227 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3228 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3229 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3230 [$(build-shared) = yes].
3231 * extra-lib.mk [$(versioning) = yes]: Likewise.
3232 * hurd/Makefile [$(versioning) = yes]: Likewise.
3233 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3234 [SHARED].
3235 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3236 [SHARED].
3237 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3238 [SHARED && !NO_HIDDEN].
3239 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3240 [SHARED].
3241 [SHARED && DO_VERSIONING]: Likewise..
3242 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3243 [$(build-shared) = yes].
3244 * manual/install.texi (--disable-versioning): Remove
3245 documentation.
3246 * INSTALL: Regenerated.
3247 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3248 to [SHARED].
3249 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3250 [$(build-shared) = yes].
3251 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3252 * sysdeps/i386/i686/multiarch/strstr-c.c
3253 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3254 [SHARED && !NO_HIDDEN].
3255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3256 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3257 * sysdeps/powerpc/powerpc32/dl-machine.c
3258 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3259 * sysdeps/powerpc/powerpc32/sysdep.h
3260 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3261 to [SHARED && PIC && !NO_HIDDEN].
3262 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3263 conditional to [SHARED].
3264
3265 2013-09-04 Will Newton <will.newton@linaro.org>
3266
3267 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3268 * benchtests/bench-string.h: Include bench-timing.h instead
3269 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3270 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3271 call to HP_TIMING_DIFF_INIT.
3272 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3273 instead of hp-timing.h macros.
3274 * benchtests/bench-memchr.c: Likewise.
3275 * benchtests/bench-memcmp.c: Likewise.
3276 * benchtests/bench-memcpy.c: Likewise.
3277 * benchtests/bench-memmem.c: Likewise.
3278 * benchtests/bench-memmove.c: Likewise.
3279 * benchtests/bench-memset.c: Likewise.
3280 * benchtests/bench-rawmemchr.c: Likewise.
3281 * benchtests/bench-strcasecmp.c: Likewise.
3282 * benchtests/bench-strcasestr.c: Likewise.
3283 * benchtests/bench-strcat.c: Likewise.
3284 * benchtests/bench-strchr.c: Likewise.
3285 * benchtests/bench-strcmp.c: Likewise.
3286 * benchtests/bench-strcpy.c: Likewise.
3287 * benchtests/bench-strcpy_chk.c: Likewise.
3288 * benchtests/bench-strlen.c: Likewise.
3289 * benchtests/bench-strncasecmp.c: Likewise.
3290 * benchtests/bench-strncat.c: Likewise.
3291 * benchtests/bench-strncmp.c: Likewise.
3292 * benchtests/bench-strncpy.c: Likewise.
3293 * benchtests/bench-strnlen.c: Likewise.
3294 * benchtests/bench-strpbrk.c: Likewise.
3295 * benchtests/bench-strrchr.c: Likewise.
3296 * benchtests/bench-strspn.c: Likewise.
3297 * benchtests/bench-strstr.c: Likewise.
3298
3299 2013-09-04 Will Newton <will.newton@linaro.org>
3300
3301 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3302
3303 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3304
3305 [BZ #15427]
3306 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3307 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3308 * math/libm-test.inc (lgamma_test_data): Add more tests.
3309 * sysdeps/i386/fpu/libm-test-ulps: Update.
3310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3311
3312 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3313
3314 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3315 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3316 Add ifunc.
3317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3318 Add strcmp-sse2-unaligned
3319 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3320
3321 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3322
3323 * Versions.def (libc): Add GLIBC_2.19.
3324
3325 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3326
3327 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3328 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3329
3330 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3331
3332 [BZ #14155]
3333 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3334 intermediate calculations in recurrence.
3335 (__ieee754_ynf): Likewise.
3336 * math/libm-test.inc (jn_test_data): Do not allow spurious
3337 underflow exception. Add more tests.
3338 (yn_test_data): Add more tests.
3339 * sysdeps/i386/fpu/libm-test-ulps: Update.
3340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3341
3342 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3343
3344 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3345
3346 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3347
3348 * csu/init-first.c: Fix then/than typos.
3349 * locale/programs/ld-collate.c: Likewise.
3350 * locale/programs/linereader.h: Likewise.
3351 * manual/charset.texi: Likewise.
3352 * manual/filesys.texi: Likewise.
3353 * manual/stdio.texi: Likewise.
3354 * manual/string.texi: Likewise.
3355 * stdlib/fmtmsg.c: Likewise.
3356 * sysdeps/i386/stpncpy.S: Likewise.
3357 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3358 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3359 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3360 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3361
3362 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3363
3364 * elf/dl-open.c: Fix typos.
3365 * iconvdata/gbbig5.c: Likewise.
3366 * iconvdata/iso-2022-jp.c: Likewise.
3367 * iconv/gconv_int.h: Likewise.
3368 * iconv/loop.c: Likewise.
3369 * nis/rpcsvc/nis.h: Likewise.
3370 * resolv/ns_name.c: Likewise.
3371 * stdio-common/vfscanf.c: Likewise.
3372 * streams/stropts.h: Likewise.
3373 * sunrpc/rpc_thread.c: Likewise.
3374 * sysdeps/i386/strpbrk.S: Likewise.
3375 * sysdeps/ieee754/k_standard.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3378 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3379 * sysdeps/mach/hurd/profil.c: Likewise.
3380 * sysdeps/s390/dl-procinfo.h: Likewise.
3381 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3382 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3383 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3384 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3386
3387 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3388
3389 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3391
3392 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3393
3394 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3395 aix specific files.
3396 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3397 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3398 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3399 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3400 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3401 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3402 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3403 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3404
3405 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3406 Roland McGrath <roland@hack.frob.com>
3407
3408 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3409 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3410
3411 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3412
3413 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3414 __executable_start symbol instead of _start.
3415
3416 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3417
3418 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3419 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3420 Move macros to...
3421 * sysdeps/gnu/ldsodefs.h: ... this new file.
3422
3423 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3424 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3425 instead of ELFOSABI_LINUX.
3426
3427 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3428 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3429 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3430 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3431 Likewise.
3432 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3433 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3435 Likewise.
3436 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3437 (ibm_extended_long_double): Add ieee_nan member.
3438 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3439 (do_test): New function.
3440
3441 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3442 TEST_TRUNC.
3443 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3444 functions, renamed from truncdfsf_test, trunctfsf_test,
3445 trunctfdf_test.
3446 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3447 functions.
3448 (do_test): Run all these.
3449
3450 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3451
3452 * argp/argp-help.c: Fix typos.
3453 * argp/argp-parse.c: Likewise.
3454 * debug/backtracesyms.c: Likewise.
3455 * elf/elf.h: Likewise.
3456 * malloc/malloc.c: Likewise.
3457 * nis/nis_print.c: Likewise.
3458 * resolv/res_comp.c: Likewise.
3459 * stdlib/stdlib.h: Likewise.
3460 * sunrpc/clnt_tcp.c: Likewise.
3461 * sunrpc/clnt_udp.c: Likewise.
3462 * sunrpc/clnt_unix.c: Likewise.
3463 * sysdeps/unix/bsd/ptsname.c: Likewise.
3464 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3467 Likewise.
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3469 Likewise.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3471 Likewise.
3472 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3473
3474 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3475
3476 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3478
3479 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3480
3481 [BZ #15897]
3482 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3483 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3484 ($(objpfx)bug-dl-leaf): New rule.
3485 ($(objpfx)bug-dl-leaf.so): Likewise.
3486 ($(objpfx)bug-dl-leaf.out): Likewise.
3487 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3488 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3489 * dlfcn/bug-dl-leaf.c: New test.
3490 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3491 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3492 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3493 (dlclose): Likewise.
3494 (dlmopen): Likewise.
3495
3496 2013-08-27 Roland McGrath <roland@hack.frob.com>
3497
3498 * include/netdb.h [!_ISOMAC]:
3499 Don't include <tls.h>.
3500 (h_errno, __libc_h_errno): Move declaration and macros out of
3501 [_LIBC_REENTRANT].
3502
3503 * include/resolv.h [_RESOLV_H_]:
3504 Don't include <tls.h>.
3505 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3506 * resolv/res_libc.c: Don't include <tls.h>.
3507 (_res): Use __attribute__ ((nocommon)) in place of
3508 __attribute__ ((section (".bss"))).
3509
3510 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3511 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3512
3513 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3514
3515 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3516 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3517
3518 * resolv/res_mkquery.c: Include <sys/time.h>.
3519
3520 * inet/ifreq.c: Moved to ...
3521 * sysdeps/unix/ifreq.c: ... here.
3522 * inet/ifreq.c: New file, true stub version.
3523
3524 * socket/sa_len.c: New file.
3525 * socket/Makefile (aux): Add it.
3526 * sysdeps/unix/sysv/linux/Makefile
3527 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3528 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3529 and #include <socket/sa_len.c>.
3530 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3531 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3532
3533 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3534 * bits/socket.h: ... here.
3535
3536 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3537 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3538 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3539
3540 2013-08-27 Andreas Schwab <schwab@suse.de>
3541
3542 [BZ #15736]
3543 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3544 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3545 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3546 * string/test-strcasecmp.c (test_main): Run tests in several
3547 locales.
3548 * string/test-strncasecmp.c (test_main): Likewise.
3549
3550 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3551 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3552 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3554 (__strncasecmp_ssse3) [PIC]: Likewise.
3555
3556 2013-08-26 Roland McGrath <roland@hack.frob.com>
3557
3558 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3559
3560 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3561 instead of explicitly declaring xdecrypt.
3562 * nis/nss_nis/nis-publickey.c: Likewise.
3563
3564 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3565
3566 [BZ #15890]
3567 * nscd/aicache.c: Include res_hconf.h.
3568 (addhstaiX): Initialize res_hconf.
3569
3570 2013-08-26 Andreas Schwab <schwab@suse.de>
3571
3572 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3573 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3574
3575 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3576
3577 * nscd/aicache.c (addhstaiX): Fix indentation.
3578
3579 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3580
3581 * configure.ac: Quote $build_pt_chown test.
3582 * configure: Regenerated.
3583
3584 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3585
3586 [BZ #15532]
3587 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3588 * math/s_cexpf.c (__cexpf): Likewise.
3589 * math/s_cexpl.c (__cexpl): Likewise.
3590 * math/libm-test.inc (cexp_test_data): Correct expected return
3591 value for NaN + i0. Add another test.
3592
3593 2013-08-22 David S. Miller <davem@davemloft.net>
3594
3595 * po/ca.po: Update Catalan translation from translation project.
3596 * po/uk.po: Add Ukrainian translations from translation project.
3597
3598 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3599
3600 [BZ #15797]
3601 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3602 is infinite, not alongside NaN test.
3603 * math/s_fdimf.c (__fdimf): Likewise.
3604 * math/s_fdiml.c (__fdiml): Likewise.
3605 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3606 errno is unchanged.
3607
3608 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3609
3610 * argp/argp-help.c: Fix typos.
3611 * crypt/speeds.c: Likewise.
3612 * csu/check_fds.c: Likewise.
3613 * elf/dl-load.c: Likewise.
3614 * elf/dl-open.c: Likewise.
3615 * elf/reldep3.c: Likewise.
3616 * elf/reldep.c: Likewise.
3617 * elf/sprof.c: Likewise.
3618 * iconv/iconv_charmap.c: Likewise.
3619 * iconv/skeleton.c: Likewise.
3620 * iconv/strtab.c: Likewise.
3621 * io/lockf64.c: Likewise.
3622 * libio/libioP.h: Likewise.
3623 * resolv/gai_notify.c: Likewise.
3624 * resolv/ns_name.c: Likewise.
3625 * resolv/ns_samedomain.c: Likewise.
3626 * resolv/res_send.c: Likewise.
3627 * stdlib/random.c: Likewise.
3628 * sunrpc/rpc/xdr.h: Likewise.
3629 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3630 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3637 * sysdeps/mach/hurd/check_fds.c: Likewise.
3638 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3639 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3640 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3641 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3642 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3643 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3644 * sysdeps/pthread/aio_notify.c: Likewise.
3645 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3646 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3647 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3649 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3650
3651 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3652
3653 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3654 version if bit_Slow_SSE4_2 is set.
3655 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3656 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3657
3658 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3659
3660 [BZ #15867]
3661 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3662 trampoline stack frame information.
3663 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3664 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3665 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3666 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3667 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3668 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3669 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3670 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3671 sa_flags value.
3672 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3673 interrupting a syscall and set with option SA_SIGINFO.
3674
3675 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3676
3677 [BZ #15531]
3678 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3679 argument is infinite.
3680 * math/s_cprojf.c (__cprojf): Likewise.
3681 * math/s_cprojl.c (__cprojl): Likewise.
3682 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3683 * math/libm-test.inc (cproj_test_data): Add more tests.
3684
3685 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3686
3687 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3688 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3689 size. Use __ffs to determine corresponding shift.
3690
3691 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3692 Roland McGrath <roland@hack.frob.com>
3693
3694 * Makefile (INSTALL): Remove trailing blank lines from output of
3695 makeinfo.
3696
3697 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3698
3699 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3700 Align 32 bit compat elf_greg to 8 bytes.
3701
3702 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3703
3704 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3705
3706 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3707
3708 * string/strcoll_l.c (coll_seq): New structure.
3709 (get_next_seq_cached): New function.
3710 (get_next_seq): New function.
3711 (do_compare): New function.
3712 (STRCOLL): Use GNU style definition. Simplify implementation
3713 by using get_next_seq, get_next_seq_cached and do_compare.
3714
3715 2013-08-16 Florian Weimer <fweimer@redhat.com>
3716
3717 [BZ #14699]
3718 CVE-2013-4237
3719 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3720 member.
3721 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3722 member.
3723 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3724 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3725 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3726 conditional.
3727 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3728 GETDENTS_64BIT_ALIGNED.
3729 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3730 * manual/filesys.texi (Reading/Closing Directory): Document
3731 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3732 strongly.
3733 * manual/conf.texi (Limits for Files): Add portability note to
3734 NAME_MAX, PATH_MAX.
3735 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3736
3737 2013-08-13 Andreas Schwab <schwab@suse.de>
3738
3739 [BZ #15749]
3740 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3741 of fabs.
3742 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3743 LDBL_MAX_EXP >= 16384]: Add tests for it.
3744
3745 2013-08-12 David S. Miller <davem@davemloft.net>
3746
3747 * version.h (RELEASE): Set to "development".
3748 (VERSION): Set to "2.18.90".
3749 * NEWS: Add 2.19 section.
3750
3751 2013-08-03 David S. Miller <davem@davemloft.net>
3752
3753 * po/ko.po: Update Korean translation from translation project.
3754
3755 2013-08-01 David S. Miller <davem@davemloft.net>
3756
3757 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3758 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3759 Bilka.
3760
3761 2013-07-30 David S. Miller <davem@davemloft.net>
3762
3763 * po/fr.po: Update French translation from translation project.
3764
3765 2013-07-28 David S. Miller <davem@davemloft.net>
3766
3767 * po/cs.po: Update Czech translation from translation project.
3768
3769 * po/sv.po: Update Swedish translation from translation project.
3770
3771 2013-07-27 David S. Miller <davem@davemloft.net>
3772
3773 * po/eo.po: Update Esperanto translation from translation project.
3774
3775 * po/vi.po: Update Vietnamese translation from translation project.
3776
3777 * po/de.po: Update German translation from translation project.
3778
3779 2013-07-26 David S. Miller <davem@davemloft.net>
3780
3781 * po/bg.po: Update Bulgarian translation from translation project.
3782
3783 * po/nl.po: Update Dutch translation from translation project.
3784 * po/pl.po: Update Polish translation from translation project.
3785 * po/ru.po: Update Russian translation from translation project.
3786
3787 2013-07-24 David S. Miller <davem@davemloft.net>
3788
3789 * po/libc.pot: Update.
3790
3791 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3792
3793 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3794 variable page size.
3795 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3796 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3797 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3798
3799 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3800
3801 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3802
3803 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3804 Andreas Schwab <schwab@suse.de>
3805 Roland McGrath <roland@hack.frob.com>
3806 Joseph Myers <joseph@codesourcery.com>
3807 Carlos O'Donell <carlos@redhat.com>
3808
3809 [BZ #15755]
3810 * config.h.in: Define HAVE_PT_CHOWN.
3811 * config.make.in (build-pt-chown): New variable.
3812 * configure.in (--enable-pt_chown): New configure option.
3813 * configure: Regenerate.
3814 * login/Makefile: Include Makeconfig. Build pt_chown only if
3815 build-pt-chown is enabled.
3816 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3817 pt_chown to fix pty ownership.
3818 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3819 CLOSE_ALL_FDS.
3820 * manual/install.texi (Configuring and compiling): Mention
3821 --enable-pt_chown. Add @findex for grantpt.
3822 * INSTALL: Regenerate.
3823
3824 2013-07-20 David S. Miller <davem@davemloft.net>
3825
3826 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3827 difference between 32-bit and 64-bit.
3828
3829 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3830
3831 [BZ #15711]
3832 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3833 Avoid system header dependency with -ffreestanding.
3834 ($(objpfx)bits/syscall%d): Likewise.
3835
3836 2013-07-13 David S. Miller <davem@davemloft.net>
3837
3838 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3839 underflows from atanl/atan2l due to bug 15319.
3840 (casinh_test_data): Likewise.
3841
3842 2013-07-07 David S. Miller <davem@davemloft.net>
3843
3844 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3845
3846 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3847
3848 * sysdeps/i386/fpu/libm-test-ulps: Update.
3849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3850
3851 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3852
3853 * configure.in (--enable-lock-elision): Fix message text.
3854 * INSTALL: Regenerate.
3855 * configure: Regenerate.
3856
3857 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3858
3859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3860
3861 2013-07-03 Andreas Jaeger <aj@suse.de>
3862
3863 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3864 define.
3865 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3866 (ptrace_peeksiginfo_args): Add.
3867 (__ptrace_peeksiginfo_flags): Add.
3868 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3869 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3870 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3871
3872 2013-07-03 Allan McRae <allan@archlinux.org>
3873
3874 * sysdeps/i386/fpu/libm-test-ulps: Update.
3875
3876 2013-07-02 David S. Miller <davem@davemloft.net>
3877
3878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3879
3880 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3881
3882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3883
3884 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3885
3886 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3888
3889 2013-07-02 Andi Kleen <ak@linux.intel.com>
3890
3891 * config.h.in (ENABLE_LOCK_ELISION): Add.
3892 * configure.in (--enable-lock-elision): Add option.
3893 * manual/install.texi: Document --enable lock elision.
3894 * configure: Regenerate
3895 * INSTALL: Regenerate.
3896
3897 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3900 SSE4.2 strcasecmp for libc.a.
3901 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3902
3903 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3904
3905 [BZ #13304]
3906 * soft-fp/op-common.h (_FP_FMA): New macro.
3907 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3908 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3909 (_FP_MUL_MEAT_1_imm): ... here.
3910 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3911 (_FP_MUL_MEAT_1_wide): ... here.
3912 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3913 (_FP_MUL_MEAT_1_hard): ... here.
3914 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3915 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3916 (_FP_MUL_MEAT_2_wide): ... here.
3917 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3918 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3919 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3920 (_FP_MUL_MEAT_2_gmp): ... here.
3921 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3922 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3923 (_FP_MUL_MEAT_4_wide): ... here.
3924 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3925 (_FP_MUL_MEAT_4_gmp): ... here.
3926 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3927 (_FP_WFRACBITS_DW_S): Likewise.
3928 (_FP_WFRACXBITS_DW_S): Likewise.
3929 (_FP_HIGHBIT_DW_S): Likewise.
3930 (FP_FMA_S): Likewise.
3931 (_FP_FRAC_HIGH_DW_S): Likewise.
3932 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3933 (_FP_WFRACBITS_DW_D): Likewise.
3934 (_FP_WFRACXBITS_DW_D): Likewise.
3935 (_FP_HIGHBIT_DW_D): Likewise.
3936 (FP_FMA_D): Likewise.
3937 (_FP_FRAC_HIGH_DW_D): Likewise.
3938 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3939 (_FP_WFRACBITS_DW_E): Likewise.
3940 (_FP_WFRACXBITS_DW_E): Likewise.
3941 (_FP_HIGHBIT_DW_E): Likewise.
3942 (FP_FMA_E): Likewise.
3943 (_FP_FRAC_HIGH_DW_E): Likewise.
3944 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3945 (_FP_WFRACBITS_DW_Q): Likewise.
3946 (_FP_WFRACXBITS_DW_Q): Likewise.
3947 (_FP_HIGHBIT_DW_Q): Likewise.
3948 (FP_FMA_Q): Likewise.
3949 (_FP_FRAC_HIGH_DW_Q): Likewise.
3950 * soft-fp/fmasf4.c: New file.
3951 * soft-fp/fmadf4.c: Likewise.
3952 * soft-fp/fmatf4.c: Likewise.
3953
3954 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3955
3956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3957 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3958 Silvermont.
3959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3960 macro.
3961 (index_Slow_SSE4_2): Likewise.
3962 (index_Prefer_PMINUB_for_stringop): Likewise.
3963 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3964 bit_Slow_SSE4_2 is set.
3965 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3966 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3967
3968 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3969
3970 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3971 rtld_global._dl_hwcap2.
3972 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3973 POWER8.
3974 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3975 POWER8 feature descriptions defined in _dl_hwcap2.
3976 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3977 string handling for POWER8 feature bits.
3978 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3979 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3980 _dl_powerpc_cap_flags.
3981 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3982 * sysdeps/powerpc/rtld-global-offsets.sym
3983 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3984 _dl_hwcap2 in the rtld_global_ro structure.
3985
3986 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3987
3988 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3989 hardware capabilities in support of AT_HWCAP2.
3990 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3991 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3992 GLRO(dl_hwcap2).
3993 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3994 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3995 explicitly the unknown a_type display mechanism is used.
3996 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3997 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3998 struct member.
3999 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4000 to macro prototype for AT_HWCAP2 support.
4001 * sysdeps/i386/dl-procinfo.h: Likewise.
4002 * sysdeps/s390/dl-procinfo.h: Likewise.
4003 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4004 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4005 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4006 return -1 for unknown a_type display fallback.
4007 * sysdeps/sparc/dl-procinfo.h: Likewise.
4008 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4009 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4010
4011 2013-06-28 Joseph Myers <joseph@codesourcery.com>
4012
4013 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4014 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4015
4016 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4017
4018 [BZ #12492]
4019 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4020 mprotect making __stack_prot writable.
4021
4022 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4023 Joseph Myers <joseph@codesourcery.com>
4024
4025 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4026 as being properly aligned.
4027
4028 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4029
4030 * dlfcn/modstatic5.c: New file.
4031 * dlfcn/tststatic5.c: New file.
4032 * dlfcn/Makefile (tests): Add tststatic5.
4033 (tests-static): Likewise.
4034 (modules-names): Add modstatic5.
4035 (tststatic5-ENV): New variable.
4036 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4037
4038 [BZ #15022]
4039 * elf/dl-support.c (_dl_main_map): New variable.
4040 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4041 (_dl_nns, _dl_load_adds): Set to 1.
4042 (_dl_initial_searchlist): Refer to _dl_main_map.
4043 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4044 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4045 call to _dl_get_origin.
4046 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4047 around call_map.
4048 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4049 * dlfcn/modstatic3.c: New file.
4050 * dlfcn/tststatic3.c: New file.
4051 * dlfcn/tststatic4.c: New file.
4052 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4053 (tests-static): Likewise.
4054 (modules-names): Add modstatic3.
4055 (tststatic3-ENV, tststatic4-ENV): New variables.
4056 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4057 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4058
4059 2013-06-26 Joseph Myers <joseph@codesourcery.com>
4060
4061 * configure.in (CC): Require GCC version 4.4 or later.
4062 * configure: Regenerated.
4063 * manual/install.texi (Tools for Compilation): Update GCC version
4064 requirement.
4065 * INSTALL: Regenerated.
4066
4067 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4068
4069 [BZ #15674]
4070 * string/test-memcmp.c (check2): New.
4071 (main): Call check2.
4072
4073 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4074
4075 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4076
4077 [BZ #15022]
4078 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4079 over to...
4080 (dl_open_worker) [!SHARED]: ... here.
4081
4082 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4083
4084 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4085
4086 2013-06-25 Richard Henderson <rth@redhat.com>
4087
4088 * locale/programs/locarchive.c: Include <libc-internal.h>
4089
4090 2013-06-25 Joseph Myers <joseph@codesourcery.com>
4091
4092 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4093 trailing whitespace removed.
4094
4095 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4096
4097 [BZ #10283]
4098 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4099 * locale/programs/locarchive.c: Include libc-mmap.h.
4100 (prepare_address_space): Take two new outputs (the mmap base and len).
4101 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4102 values.
4103 (create_archive): Declare new mmap base and len values for
4104 prepare_address_space, and store the result in ah.
4105 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4106 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4107 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4108 Declare new mmap base and len values for
4109 prepare_address_space, and store the result in new_ah.
4110 (open_archive): Declare new mmap base and len values for
4111 prepare_address_space, and store the result in ah.
4112 (close_archive): If ah->mmap_base is not NULL, use that and
4113 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4114 * sysdeps/generic/libc-mmap.h: New file.
4115
4116 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4117
4118 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4119 (ALIGN_UP): Likewise.
4120 (PTR_ALIGN_DOWN): Likewise.
4121 (PTR_ALIGN_UP): Likewise.
4122
4123 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4124
4125 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4126 entry mapped to PPC_PLATFORM_POWER8.
4127 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4128 POWER8.
4129 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4130 (_dl_string_platform): Add case for exporting platform position for
4131 POWER8.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4133 search path to sysdeps/powerpc/powerpc32/power8 directory.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4135 search path to sysdeps/powerpc/powerpc64/power8 directory.
4136 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4137 power7 directories.
4138 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4139 power7 directories.
4140
4141 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4142
4143 * INSTALL: Regenerate.
4144
4145 * nscd/connections.c (nscd_init): Fix comment.
4146
4147 2013-06-22 Joseph Myers <joseph@codesourcery.com>
4148
4149 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4150
4151 [BZ #15667]
4152 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4153 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4154
4155 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4156
4157 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4158 DL_DST_REQ_STATIC.
4159 (DL_DST_REQ_STATIC): Remove macro.
4160
4161 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4162
4163 [BZ #7006]
4164 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4165 with a shift of 0 bits.
4166
4167 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4168
4169 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4170 $(tststatic-ENV).
4171
4172 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4173
4174 [BZ #15655]
4175 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4176
4177 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4178
4179 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4180 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4181 accepts -fno-tree-loop-distribute-patterns.
4182 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4183 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4184 recursive call.
4185 * string/memset.c (memset): Likewise.
4186 * string/test-memmove.c (simple_memmove): Disable loop transformation
4187 to library calls.
4188 * string/test-memset.c (simple_memset): Likewise.
4189 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4190 * benchtests/bench-memset.c (simple_memset): Likewise.
4191 * configure: Regenerated.
4192
4193 2013-06-20 Joseph Myers <joseph@codesourcery.com>
4194
4195 * math/test-misc.c (main): Ignore fesetround failure when failures
4196 of subsequent rounding tests would be ignored.
4197
4198 [BZ #15654]
4199 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4200 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4201 * math/fegetenv.c (__fegetenv): Return 0.
4202 * math/fegetexcept.c (fegetexcept): Return 0.
4203 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4204 FE_TONEAREST.
4205 * math/feholdexcpt.c (feholdexcept): Return 0.
4206 * math/fesetenv.c (__fesetenv): Return 0.
4207 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4208 argument FE_TONEAREST.
4209 * math/feupdateenv.c (__feupdateenv): Return 0.
4210 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4211
4212 2013-06-18 Roland McGrath <roland@hack.frob.com>
4213
4214 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4215 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4216 ($(objpfx)rtld-%.os rules): Use them.
4217
4218 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4219
4220 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4221 fields.
4222
4223 2013-06-17 Roland McGrath <roland@hack.frob.com>
4224
4225 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4226 length of target pattern, then descending length of dependency pattern.
4227 * configure.in (AWK): Require gawk 3.1.2 or newer.
4228 * manual/install.texi (Tools for Compilation): Say that we do.
4229 * configure: Regenerated.
4230
4231 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4232 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4233 * scripts/sysd-rules.awk: ... this new script.
4234 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4235 than a glob-style pattern.
4236
4237 2013-06-17 Joseph Myers <joseph@codesourcery.com>
4238
4239 * math/test-misc.c (main): Do not treat incorrectly rounded
4240 conversions as failure unless ROUNDING_TESTS passes.
4241
4242 2013-06-15 Joseph Myers <joseph@codesourcery.com>
4243
4244 [BZ #15631]
4245 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4246 restore exception state around main square root computation, then
4247 check for inexactness explicitly.
4248
4249 * math/libm-test.inc (fma_test_data): Add another test.
4250
4251 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4252
4253 * manual/threads.texi (Non-POSIX Extensions): New document
4254 node. Document pthread_getattr_default_np and
4255 pthread_setattr_default_np.
4256
4257 * Versions.def (libpthread): Add GLIBC_2.18.
4258 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4260 Likewise.
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4262 Likewise.
4263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4264 Likewise.
4265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4266 Likewise.
4267 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4268 Likewise.
4269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4270 Likewise.
4271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4272 Likewise.
4273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4274 Likewise.
4275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4276 Likewise.
4277
4278 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4279
4280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4281 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4282
4283 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4284 H.J. Lu <hjl.tools@gmail.com>
4285
4286 [BZ #15627]
4287 * sysdeps/x86_64/rtld-memset.c: Remove file.
4288 * sysdeps/x86_64/rtld-memset.S: New file.
4289
4290 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4291
4292 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4293 (test_in_one_mode): Take arguments for whether the rounding mode
4294 is supported for each floating-point type.
4295 (do_test): Pass new arguments to test_in_one_mode using
4296 ROUNDING_TESTS.
4297
4298 2013-06-13 Roland McGrath <roland@hack.frob.com>
4299
4300 * posix/tst-waitid.c (do_test): Distinguish different instances of
4301 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4302 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4303 before entering the kernel for waitpid.
4304
4305 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4306
4307 * NEWS: Fix note on clock function precision. Text by Roland
4308 McGrath.
4309
4310 2013-06-13 Roland McGrath <roland@hack.frob.com>
4311
4312 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4313 it into place only when and if the sanity check passes.
4314
4315 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4316
4317 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4318 output for whether conversion result is exact. Take argument
4319 indicating whether type is IBM long double.
4320 (round_for_all): Change need_exact field to ibm_ld.
4321 * stdlib/tst-strtod-round.c (struct exactness): New type.
4322 (struct test): Change bool ld_ok field to struct exactness exact.
4323 (TEST): Update all definitions for change to field.
4324 (tests): Regenerate array contents.
4325 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4326 field value. Check for IBM long double here.
4327 (do_test): Update calls to test_in_one_mode.
4328
4329 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4330
4331 [BZ #12515]
4332 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4333 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4334
4335 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4336
4337 [BZ #15605]
4338 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4339 generated by the compiler on loop optimizations.
4340 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4341 general definitions.
4342
4343 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4344
4345 * math/bug-nextafter.c: Include <math-tests.h>.
4346 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4347 the relevant type.
4348 * math/bug-nexttoward.c: Include <math-tests.h>.
4349 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4350 the relevant type.
4351 * math/test-misc.c: Include <math-tests.h>.
4352 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4353 the relevant type.
4354
4355 2013-06-12 Andreas Jaeger <aj@suse.de>
4356
4357 * po/ia.po: Update Interlingua translation from translation
4358 project.
4359
4360 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4361
4362 * include/fenv.h: Include stdbool.h.
4363 (struct rm_ctx): New structure.
4364 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4365 Define macro.
4366 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4367 (SET_RESTORE_ROUNDF): Likewise.
4368 (SET_RESTORE_ROUNDL): Likewise.
4369 (SET_RESTORE_ROUND_NOEX): Likewise.
4370 (SET_RESTORE_ROUND_NOEXF): Likewise.
4371 (SET_RESTORE_ROUND_NOEXL): Likewise.
4372 (SET_RESTORE_ROUND_53BIT): Likewise.
4373 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4374 (libc_feresetround_noexf_ctx): Likewise.
4375 (libc_feresetround_noexl_ctx): Likewise.
4376 (libc_feholdsetround_53bit_ctx): Likewise.
4377 (libc_feresetround_53bit_ctx): Likewise.
4378 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4379 (libc_feholdexcept_setround_sse_ctx): New function.
4380 (libc_fesetenv_sse_ctx): Likewise.
4381 (libc_feupdateenv_sse_ctx): Likewise.
4382 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4383 (libc_feholdexcept_setround_387_ctx): Likewise.
4384 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4385 (libc_feholdsetround_387_prec_ctx): Likewise.
4386 (libc_feholdsetround_387_ctx): Likewise.
4387 (libc_feholdsetround_387_53bit_ctx): Likewise.
4388 (libc_feholdsetround_sse_ctx): Likewise.
4389 (libc_feresetround_sse_ctx): Likewise.
4390 (libc_feresetround_387_ctx): Likewise.
4391 (libc_feupdateenv_387_ctx): Likewise.
4392 (libc_feholdexcept_setroundf_ctx): Define macro.
4393 (libc_fesetenvf_ctx): Likewise.
4394 (libc_feupdateenvf_ctx): Likewise.
4395 (libc_feholdsetroundf_ctx): Likewise.
4396 (libc_feresetroundf_ctx): Likewise.
4397 (libc_feholdexcept_setround_ctx): Likewise.
4398 (libc_fesetenv_ctx): Likewise.
4399 (libc_feupdateenv_ctx): Likewise.
4400 (libc_feholdsetround_ctx): Likewise.
4401 (libc_feresetround_ctx): Likewise.
4402 (libc_feholdexcept_setroundl_ctx): Likewise.
4403 (libc_feupdateenvl_ctx): Likewise.
4404 (libc_feholdsetroundl_ctx): Likewise.
4405 (libc_feresetroundl_ctx): Likewise.
4406 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4407 (libc_feresetround_53bit_ctx): Likewise.
4408
4409 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4410
4411 * locale/iso-639.def: Convert to UTF-8.
4412
4413 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4414
4415 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4416 (EXCEPTION_TESTS_double): Likewise.
4417 (EXCEPTION_TESTS_long_double): Likewise.
4418 (EXCEPTION_TESTS): Likewise.
4419 * math/libm-test.inc (test_exceptions): Only test exceptions if
4420 EXCEPTION_TESTS (FLOAT).
4421
4422 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4423
4424 * benchtests/Makefile (string-bench): Add strcpy_chk and
4425 stpcpy_chk.
4426 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4427 * benchtests/bench-stpcpy_chk.c: New file.
4428 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4429 * benchtests/bench-strcpy_chk.c: New file.
4430 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4431 code.
4432 (do_test): Likewise.
4433
4434 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4435
4436 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4437 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4438 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4439 with tabs where appropriate.
4440 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4441 dl-procinfo.h.
4442 [PPC_PLATFORM_PPC440]: Likewise.
4443 [PPC_PLATFORM_PPC464]: Likewise.
4444 [PPC_PLATFORM_PPC476]: Likewise.
4445 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4446 ppc464, and ppc476 platform strings merging from ports/
4447 dl-procinfo.h.
4448
4449 2013-06-11 Andreas Schwab <schwab@suse.de>
4450
4451 [BZ #14991]
4452 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4453 (from_ucs4_idx): Regenerate.
4454 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4455 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4456 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4457 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4458 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4459 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4460 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4461 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4462 from FROM_LOOP and TO_LOOP specific macros.
4463 (BODY): Handle combining characters.
4464 * iconvdata/BIG5HKSCS.irreversible: Update.
4465 * iconvdata/BIG5HKSCS.precomposed: New file.
4466 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4467 characters.
4468 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4469
4470 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4471
4472 * include/sys/time.h: Fix indentation and add copyright header.
4473
4474 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4475 (do_test): Likewise.
4476 * string/test-memchr.c (do_one_test): Likewise.
4477 (do_test): Likewise.
4478 * string/test-memcmp.c (do_one_test): Likewise.
4479 (do_test): Likewise.
4480 * string/test-memcpy.c (do_one_test): Likewise.
4481 (do_test): Likewise.
4482 * string/test-memmem.c (do_one_test): Likewise.
4483 (do_test): Likewise.
4484 (do_random_tests): Likewise.
4485 * string/test-memmove.c (do_one_test): Likewise.
4486 (do_test): Likewise.
4487 * string/test-memset.c (do_one_test): Likewise.
4488 (do_test): Likewise.
4489 * string/test-rawmemchr.c (do_one_test): Likewise.
4490 (do_test): Likewise.
4491 * string/test-strcasecmp.c (do_one_test): Likewise.
4492 (do_test): Likewise.
4493 * string/test-strcasestr.c (do_one_test): Likewise.
4494 (do_test): Likewise.
4495 * string/test-strcat.c (do_one_test): Likewise.
4496 (do_test): Likewise.
4497 * string/test-strchr.c (do_one_test): Likewise.
4498 (do_test): Likewise.
4499 * string/test-strcmp.c (do_one_test): Likewise.
4500 (do_test): Likewise.
4501 * string/test-strcpy.c (do_one_test): Likewise.
4502 (do_test): Likewise.
4503 * string/test-string.h: Likewise.
4504 (test_init): Likewise.
4505 * string/test-strlen.c (do_one_test): Likewise.
4506 (do_test): Likewise.
4507 * string/test-strncasecmp.c (do_one_test): Likewise.
4508 (do_test): Likewise.
4509 * string/test-strncat.c (do_one_test): Likewise.
4510 (do_test): Likewise.
4511 * string/test-strncmp.c (do_one_test): Likewise.
4512 (do_test_limit): Likewise.
4513 (do_test): Likewise.
4514 * string/test-strncpy.c (do_one_test): Likewise.
4515 (do_test): Likewise.
4516 * string/test-strnlen.c (do_one_test): Likewise.
4517 (do_test): Likewise.
4518 * string/test-strpbrk.c (do_one_test): Likewise.
4519 (do_test): Likewise.
4520 * string/test-strrchr.c (do_one_test): Likewise.
4521 (do_test): Likewise.
4522 * string/test-strspn.c (do_one_test): Likewise.
4523 (do_test): Likewise.
4524 * string/test-strstr.c (do_one_test): Likewise.
4525 (do_test): Likewise.
4526
4527 * benchtests/Makefile (string-bench): Add string benchmarks.
4528 * benchtests/bench-bcopy-ifunc.c: New file.
4529 * benchtests/bench-bcopy.c: New file.
4530 * benchtests/bench-bzero-ifunc.c: New file.
4531 * benchtests/bench-bzero.c: New file.
4532 * benchtests/bench-memccpy-ifunc.c: New file.
4533 * benchtests/bench-memccpy.c: New file.
4534 * benchtests/bench-memchr-ifunc.c: New file.
4535 * benchtests/bench-memchr.c: New file.
4536 * benchtests/bench-memcmp-ifunc.c: New file.
4537 * benchtests/bench-memcmp.c: New file.
4538 * benchtests/bench-memmem-ifunc.c: New file.
4539 * benchtests/bench-memmem.c: New file.
4540 * benchtests/bench-memmove-ifunc.c: New file.
4541 * benchtests/bench-memmove.c: New file.
4542 * benchtests/bench-mempcpy-ifunc.c: New file.
4543 * benchtests/bench-mempcpy.c: New file.
4544 * benchtests/bench-memset-ifunc.c: New file.
4545 * benchtests/bench-memset.c: New file.
4546 * benchtests/bench-rawmemchr-ifunc.c: New file.
4547 * benchtests/bench-rawmemchr.c: New file.
4548 * benchtests/bench-stpcpy-ifunc.c: New file.
4549 * benchtests/bench-stpcpy.c: New file.
4550 * benchtests/bench-stpncpy-ifunc.c: New file.
4551 * benchtests/bench-stpncpy.c: New file.
4552 * benchtests/bench-strcasecmp-ifunc.c: New file.
4553 * benchtests/bench-strcasecmp.c: New file.
4554 * benchtests/bench-strcasestr-ifunc.c: New file.
4555 * benchtests/bench-strcasestr.c: New file.
4556 * benchtests/bench-strcat-ifunc.c: New file.
4557 * benchtests/bench-strcat.c: New file.
4558 * benchtests/bench-strchr-ifunc.c: New file.
4559 * benchtests/bench-strchr.c: New file.
4560 * benchtests/bench-strchrnul-ifunc.c: New file.
4561 * benchtests/bench-strchrnul.c: New file.
4562 * benchtests/bench-strcmp-ifunc.c: New file.
4563 * benchtests/bench-strcmp.c: New file.
4564 * benchtests/bench-strcpy-ifunc.c: New file.
4565 * benchtests/bench-strcpy.c: New file.
4566 * benchtests/bench-strcspn-ifunc.c: New file.
4567 * benchtests/bench-strcspn.c: New file.
4568 * benchtests/bench-strlen-ifunc.c: New file.
4569 * benchtests/bench-strlen.c: New file.
4570 * benchtests/bench-strncasecmp-ifunc.c: New file.
4571 * benchtests/bench-strncasecmp.c: New file.
4572 * benchtests/bench-strncat-ifunc.c: New file.
4573 * benchtests/bench-strncat.c: New file.
4574 * benchtests/bench-strncmp-ifunc.c: New file.
4575 * benchtests/bench-strncmp.c: New file.
4576 * benchtests/bench-strncpy-ifunc.c: New file.
4577 * benchtests/bench-strncpy.c: New file.
4578 * benchtests/bench-strnlen-ifunc.c: New file.
4579 * benchtests/bench-strnlen.c: New file.
4580 * benchtests/bench-strpbrk-ifunc.c: New file.
4581 * benchtests/bench-strpbrk.c: New file.
4582 * benchtests/bench-strrchr-ifunc.c: New file.
4583 * benchtests/bench-strrchr.c: New file.
4584 * benchtests/bench-strspn-ifunc.c: New file.
4585 * benchtests/bench-strspn.c: New file.
4586 * benchtests/bench-strstr-ifunc.c: New file.
4587 * benchtests/bench-strstr.c: New file.
4588
4589 * benchtests/Makefile: Disable parallel execution of targets.
4590 (string-bench): Add memcpy.
4591 (benchset): New variable to store a list of benchmark sets.
4592 (bench-func): Renamed from bench.
4593 (bench-set): New target.
4594 (bench): Depend on bench-func and bench-set.
4595 * benchtests/README: Add section on benchmark sets.
4596 * benchtests/bench-memcpy-ifunc.c: New file.
4597 * benchtests/bench-memcpy.c: New file.
4598 * benchtests/bench-string.h: New file.
4599
4600 2013-06-11 Andreas Schwab <schwab@suse.de>
4601
4602 [BZ #15577]
4603 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4604 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4605 values in the triple.
4606 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4607 terminator in the group key.
4608
4609 2013-06-11 Andreas Jaeger <aj@suse.de>
4610
4611 * po/zh_TW.po: Update Chinese (traditional) translation from
4612 translation project.
4613
4614 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4615
4616 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4617 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4618 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4619 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4620 (clock_getcpuclockid): Likewise.
4621 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4622 Add weak_alias and libc_hidden_def.
4623 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4624 * rt/clock_gettime.c (clock_gettime): Rename to
4625 __clock_gettime. Add weak_alias and libc_hidden_def.
4626 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4627 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4628 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4629 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4630 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4631 Likewise.
4632 * rt/clock_settime.c (clock_settime): Rename to
4633 __clock_settime. Add weak_alias and libc_hidden_def.
4634 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4635
4636 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4637
4638 * mach/err_boot.sub: Remove trailing whitespace.
4639 * mach/err_ipc.sub: Likewise.
4640 * mach/err_mach.sub: Likewise.
4641
4642 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4643 (ROUNDING_TESTS_double): Likewise.
4644 (ROUNDING_TESTS_long_double): Likewise.
4645 (ROUNDING_TESTS): Likewise.
4646 * math/libm-test.inc: Include <math-tests.h>.
4647 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4648 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4649 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4650 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4651
4652 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4653
4654 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4655 of assigning.
4656
4657 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4658
4659 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4660 otherwise empty TRANS lines.
4661 * sysdeps/gnu/errlist.c: Regenerated.
4662
4663 * catgets/gencat.c (error_print): Use (void) in function
4664 definition.
4665 * crypt/crypt_util.c (__init_des): Likewise.
4666 * crypt/speeds.c (Stop): Likewise.
4667 (main): Likewise.
4668 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4669 * inet/ruserpass.c (token): Likewise.
4670 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4671 * intl/localealias.c (extend_alias_table): Likewise.
4672 * intl/plural-exp.c (init_germanic_plural): Likewise.
4673 * libio/fcloseall.c (__fcloseall): Likewise.
4674 * libio/genops.c (_IO_flush_all): Likewise.
4675 (_IO_flush_all_linebuffered): Likewise.
4676 (_IO_cleanup): Likewise.
4677 (_IO_iter_begin): Likewise.
4678 (_IO_iter_end): Likewise.
4679 (_IO_list_lock): Likewise.
4680 (_IO_list_unlock): Likewise.
4681 (_IO_list_resetlock): Likewise.
4682 * libio/getchar.c (getchar): Likewise.
4683 * libio/getchar_u.c (getchar_unlocked): Likewise.
4684 * libio/getwchar.c (getwchar): Likewise.
4685 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4686 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4687 * login/getpt.c (__getpt): Likewise.
4688 * login/tst-utmp.c (main): Likewise.
4689 * malloc/hooks.c (__malloc_check_init): Likewise.
4690 * malloc/malloc.c (__malloc_stats): Likewise.
4691 * malloc/mtrace.c (tr_break): Likewise.
4692 (mtrace): Likewise.
4693 (muntrace): Likewise.
4694 * misc/fstab.c (endfsent): Likewise.
4695 * misc/getclktck.c (__getclktck): Likewise.
4696 * misc/getdtsz.c (__getdtablesize): Likewise.
4697 * misc/gethostid.c (gethostid): Likewise.
4698 * misc/getpagesize.c (__getpagesize): Likewise.
4699 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4700 (__get_nprocs): Likewise.
4701 (__get_phys_pages): Likewise.
4702 (__get_avphys_pages): Likewise.
4703 * misc/getttyent.c (getttyent): Likewise.
4704 (setttyent): Likewise.
4705 (endttyent): Likewise.
4706 * misc/getusershell.c (getusershell): Likewise.
4707 (endusershell): Likewise.
4708 (setusershell): Likewise.
4709 (initshells): Likewise.
4710 * misc/hsearch.c (__hdestroy): Likewise.
4711 * misc/sync.c (sync): Likewise.
4712 * misc/syslog.c (closelog_internal): Likewise.
4713 (closelog): Likewise.
4714 * misc/ttyslot.c (ttyslot): Likewise.
4715 * misc/vhangup.c (vhangup): Likewise.
4716 * posix/fork.c (__fork): Likewise.
4717 * posix/getegid.c (__getegid): Likewise.
4718 * posix/geteuid.c (__geteuid): Likewise.
4719 * posix/getgid.c (__getgid): Likewise.
4720 * posix/getpid.c (__getpid): Likewise.
4721 * posix/getppid.c (__getppid): Likewise.
4722 * posix/getuid.c (__getuid): Likewise.
4723 * posix/pause.c (pause): Likewise.
4724 * posix/setpgrp.c (setpgrp): Likewise.
4725 * posix/setsid.c (__setsid): Likewise.
4726 * posix/test-vfork.c (noop): Likewise.
4727 * resolv/gethnamaddr.c (_endhtent): Likewise.
4728 (_gethtent): Likewise.
4729 (ht_endhostent): Likewise.
4730 (gethostent): Likewise.
4731 (dns_service): Likewise.
4732 * stdlib/drand48.c (drand48): Likewise.
4733 * stdlib/lrand48.c (lrand48): Likewise.
4734 * stdlib/mrand48.c (mrand48): Likewise.
4735 * stdlib/rand.c (rand): Likewise.
4736 * stdlib/random.c (__random): Likewise.
4737 * stdlib/setenv.c (clearenv): Likewise.
4738 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4739 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4740 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4741 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4742 (__get_nprocs): Likewise.
4743 (__get_phys_pages): Likewise.
4744 (__get_avphys_pages): Likewise.
4745 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4746 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4747 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4748 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4749 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4750 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4751 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4752 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4753 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4754 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4755 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4756 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4757 * sysdeps/posix/clock.c (clock): Likewise.
4758 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4759 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4760 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4761 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4762 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4763 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4764 (__get_nprocs_conf): Likewise.
4765 (__get_phys_pages): Likewise.
4766 (__get_avphys_pages): Likewise.
4767 * time/clock.c (clock): Likewise.
4768 * time/tzset.c (__tzname_max): Likewise.
4769
4770 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4771
4772 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4773 (__bswap_32): Do not use "register".
4774 * crypt/crypt.c (_ufc_doit_r): Likewise.
4775 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4776 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4777 * gmon/gmon.c (__monstartup): Likewise.
4778 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4779 * hurd/hurdmalloc.c (more_memory): Likewise.
4780 (malloc): Likewise.
4781 (free): Likewise.
4782 (realloc): Likewise.
4783 (malloc_fork_prepare): Likewise.
4784 (malloc_fork_parent): Likewise.
4785 (malloc_fork_child): Likewise.
4786 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4787 (_svcauth_des): Likewise.
4788 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4789 * inet/inet_net.c (inet_network): Likewise.
4790 * inet/inet_netof.c (inet_netof): Likewise.
4791 * inet/rcmd.c (__validuser2_sa): Likewise.
4792 * io/fts.c (fts_open): Likewise.
4793 (fts_load): Likewise.
4794 (fts_close): Likewise.
4795 (fts_read): Likewise.
4796 (fts_children): Likewise.
4797 (fts_build): Likewise.
4798 (fts_stat): Likewise.
4799 (fts_sort): Likewise.
4800 (fts_alloc): Likewise.
4801 (fts_lfree): Likewise.
4802 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4803 (_IO_file_xsgetn): Likewise.
4804 (_IO_file_xsgetn_mmap): Likewise.
4805 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4806 (_IO_cookie_write): Likewise.
4807 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4808 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4809 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4810 * malloc/obstack.c (_obstack_begin): Likewise.
4811 (_obstack_begin_1): Likewise.
4812 (_obstack_newchunk): Likewise.
4813 (_obstack_allocated_p): Likewise.
4814 (obstack_free): Likewise.
4815 (_obstack_memory_used): Likewise.
4816 * misc/getttyent.c (getttynam): Likewise.
4817 (getttyent): Likewise.
4818 (skip): Likewise.
4819 (value): Likewise.
4820 * misc/getusershell.c (initshells): Likewise.
4821 * misc/syslog.c (__vsyslog_chk): Likewise.
4822 * misc/ttyslot.c (ttyslot): Likewise.
4823 * nis/nis_hash.c (__nis_hash): Likewise.
4824 * posix/fnmatch_loop.c (FCT): Likewise.
4825 * posix/getconf.c (print_all): Likewise.
4826 (main): Likewise.
4827 * posix/getopt.c (exchange): Likewise.
4828 * posix/glob.c (globfree): Likewise.
4829 (prefix_array): Likewise.
4830 (__glob_pattern_type): Likewise.
4831 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4832 (NS_GET32): Likewise.
4833 (NS_PUT16): Likewise.
4834 (NS_PUT32): Likewise.
4835 * resolv/gethnamaddr.c (getanswer): Likewise.
4836 (gethostbyname2): Likewise.
4837 (gethostbyaddr): Likewise.
4838 (_gethtent): Likewise.
4839 (_gethtbyname2): Likewise.
4840 (_gethtbyaddr): Likewise.
4841 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4842 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4843 * resolv/res_init.c (__res_vinit): Likewise.
4844 (net_mask): Likewise.
4845 * resolv/res_mkquery.c (outchar): Likewise.
4846 (PRINT): Likewise.
4847 * stdio-common/printf_fp.c (outchar): Likewise.
4848 (PRINT): Likewise.
4849 * stdio-common/printf_fphex.c (outchar): Likewise.
4850 (PRINT): Likewise.
4851 * stdio-common/printf_size.c (outchar): Likewise.
4852 (PRINT): Likewise.
4853 * stdio-common/test_rdwr.c (main): Likewise.
4854 * stdio-common/tfformat.c (matches): Likewise.
4855 * stdio-common/vfprintf.c (outchar): Likewise.
4856 (printf_unknown): Likewise.
4857 (buffered_vfprintf): Likewise.
4858 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4859 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4860 (ReadFile): Likewise.
4861 * stdlib/qsort.c (SWAP): Likewise.
4862 (_quicksort): Likewise.
4863 * stdlib/setenv.c (__add_to_environ): Likewise.
4864 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4865 * stdlib/strtol_l.c (__strtol_l): Likewise.
4866 * stdlib/tst-strtod.c (main): Likewise.
4867 * stdlib/tst-strtol.c (main): Likewise.
4868 * stdlib/tst-strtoll.c (main): Likewise.
4869 * string/bits/string2.h (__strcmp_cc): Likewise.
4870 (__strcmp_cg): Likewise.
4871 (__strcspn_c1): Likewise.
4872 (__strcspn_c2): Likewise.
4873 (__strcspn_c3): Likewise.
4874 (__strspn_c1): Likewise.
4875 (__strspn_c2): Likewise.
4876 (__strspn_c3): Likewise.
4877 (__strsep_1c): Likewise.
4878 (__strsep_2c): Likewise.
4879 (__strsep_3c): Likewise.
4880 * string/memccpy.c (__memccpy): Likewise.
4881 * string/stpcpy.c (__stpcpy): Likewise.
4882 * string/strcmp.c (strcmp): Likewise.
4883 * string/strrchr.c (strrchr): Likewise.
4884 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4885 Likewise.
4886 * sysdeps/mach/hurd/getcwd.c
4887 (_hurd_canonicalize_directory_name_internal): Likewise.
4888 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4889 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4890 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4891 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4892 Likewise, in both definitions.
4893 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4894 definitions.
4895 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4896 64] (__bswap_64): Likewise.
4897 * time/test_time.c (main): Likewise.
4898 * time/tzfile.c (__tzfile_read): Likewise.
4899 (__tzfile_compute): Likewise.
4900 * time/tzset.c (__tzset_parse_tz): Likewise.
4901 (tzset_internal): Likewise.
4902 (compute_change): Likewise.
4903 * wcsmbs/wcscat.c (__wcscat): Likewise.
4904 * wcsmbs/wcschr.c (wcschr): Likewise.
4905 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4906 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4907 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4908 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4909 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4910 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4911 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4912 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4913 * wcsmbs/wmemset.c (wmemset): Likewise.
4914
4915 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4916
4917 * scripts/config.guess: Update to version 2013-05-16.
4918 * scripts/config.sub: Update to version 2013-04-24.
4919 * scripts/install-sh: Update to version 2011-11-20.07.
4920 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4921 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4922
4923 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4924
4925 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4926 * elf/sln.c: Likewise.
4927 * hurd/hurd/ioctl.h: Likewise.
4928 * hurd/hurdmalloc.c: Likewise.
4929 * hurd/xattr.c: Likewise.
4930 * include/shlib-compat.h: Likewise.
4931 * inet/ruserpass.c: Likewise.
4932 * libio/iofgets_u.c: Likewise.
4933 * libio/iofgetws_u.c: Likewise.
4934 * locale/programs/ld-identification.c: Likewise.
4935 * locale/programs/ld-time.c: Likewise.
4936 * mach/msg-destroy.c: Likewise.
4937 * nss/nss_files/files-netgrp.c: Likewise.
4938 * resolv/res_data.c: Likewise.
4939 * soft-fp/op-1.h: Likewise.
4940 * soft-fp/op-2.h: Likewise.
4941 * soft-fp/op-4.h: Likewise.
4942 * soft-fp/op-common.h: Likewise.
4943 * stdio-common/printf_fphex.c: Likewise.
4944 * stdlib/strtod_l.c: Likewise.
4945 * sunrpc/rpc/clnt.h: Likewise.
4946 * sysdeps/generic/framestate.c: Likewise.
4947 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4948 * sysdeps/i386/bsd-setjmp.S: Likewise.
4949 * sysdeps/i386/__longjmp.S: Likewise.
4950 * sysdeps/i386/setjmp.S: Likewise.
4951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4952 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4967 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4969 * sysdeps/ieee754/support.c: Likewise.
4970 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4971 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4972 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4973 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4974 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4975 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4976 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4977 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4978 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4979 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4980 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4981 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4982 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4983 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4984 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4985 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4986 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4988
4989 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4990
4991 * posix/transbug.c: Remove executable mode.
4992
4993 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4994
4995 * crypt/speeds.c: Remove trailing whitespace.
4996 * dlfcn/default.c: Likewise.
4997 * elf/ifuncdep2.c: Likewise.
4998 * elf/ifuncmain1.c: Likewise.
4999 * elf/ifuncmain1vis.c: Likewise.
5000 * elf/testobj.h: Likewise.
5001 * elf/tst-stackguard1.c: Likewise.
5002 * gmon/sys/gmon.h: Likewise.
5003 * hurd/hurdmsg.c: Likewise.
5004 * hurd/new-fd.c: Likewise.
5005 * hurd/ports-get.c: Likewise.
5006 * iconvdata/ibm1008_420.c: Likewise.
5007 * inet/tst-getni1.c: Likewise.
5008 * inet/tst-getni2.c: Likewise.
5009 * libio/ioungetc.c: Likewise.
5010 * libio/wfiledoalloc.c: Likewise.
5011 * manual/libm-err-tab.pl: Likewise.
5012 * math/w_dremf.c: Likewise.
5013 * misc/ftruncate.c: Likewise.
5014 * posix/bug-glob2.c: Likewise.
5015 * posix/tst-pcre.c: Likewise.
5016 * posix/wait4.c: Likewise.
5017 * resolv/README: Likewise.
5018 * resolv/res_debug.h: Likewise.
5019 * resolv/tst-inet_ntop.c: Likewise.
5020 * setjmp/bug269-setjmp.c: Likewise.
5021 * soft-fp/extended.h: Likewise.
5022 * soft-fp/op-1.h: Likewise.
5023 * soft-fp/op-2.h: Likewise.
5024 * soft-fp/op-4.h: Likewise.
5025 * soft-fp/op-8.h: Likewise.
5026 * soft-fp/testit.c: Likewise.
5027 * stdio-common/bug16.c: Likewise.
5028 * stdlib/random.c: Likewise.
5029 * sunrpc/rpcsvc/rquota.x: Likewise.
5030 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5031 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5032 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5033 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5034 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5035 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5036 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5037 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5038 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5039 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5040 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5043 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5044 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5048 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5049 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5050 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5052 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5054 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5055 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5056 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5057 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5058 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5059 * sysdeps/ieee754/s_lib_version.c: Likewise.
5060 * sysdeps/mach/hurd/check_fds.c: Likewise.
5061 * sysdeps/mach/hurd/getsockname.c: Likewise.
5062 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5063 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5064 * sysdeps/powerpc/bits/link.h: Likewise.
5065 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5066 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5067 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5068 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5069 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5070 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5071 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5072 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5073 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5074 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5075 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5076 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5077 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5078 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5079 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5080 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5081 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5083 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5084 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5085 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5086 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5087 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5088 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5089 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5092 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5093 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5094 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5097 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5098 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5099 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5100 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5101 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5102 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5103 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5104 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5105 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5106 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5107 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5109 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5110 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5112 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5113 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5114 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5117 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5118 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5119 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5120 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5121 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5122 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5123 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5124 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5125 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5126 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5127 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5128 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5129 * sysdeps/powerpc/sysdep.h: Likewise.
5130 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5131 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5132 * sysdeps/sh/dl-trampoline.S: Likewise.
5133 * sysdeps/sh/memset.S: Likewise.
5134 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5135 * sysdeps/sh/strlen.S: Likewise.
5136 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5137 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5138 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5139 * sysdeps/sparc/sparc32/rem.S: Likewise.
5140 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5141 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5142 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5143 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5144 * sysdeps/sparc/sparc32/urem.S: Likewise.
5145 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5146 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5147 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5148 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5149 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5150 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5151 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5152 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5153 * sysdeps/unix/bsd/times.c: Likewise.
5154 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5155 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5159 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5160 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5161 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5162 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5163 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5164 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5166 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5167 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5168 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5169 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5170 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5171 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5172 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5173 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5174 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5175 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5176 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5177 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5178 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5179 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5180 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5181 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5182 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5183 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5184 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5185 * sysdeps/x86_64/strcspn.S: Likewise.
5186
5187 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5188
5189 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5190 generated file. Regenerate properly from gen-translit.pl.
5191 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5192 locale/C-translit.h.
5193
5194 2013-06-05 Andreas Schwab <schwab@suse.de>
5195
5196 [BZ #15100]
5197 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5198 week as 6 instead of -1.
5199 * time/tst-strptime.c (day_tests): Add test case.
5200
5201 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5202
5203 * sysdeps/generic/math_private.h
5204 (libc_feholdexcept_setround_53bit): Replace with
5205 libc_feholdsetround_53bit.
5206 (libc_feupdateenv_53bit): Replace with
5207 libc_feresetround_53bit.
5208 (SET_RESTORE_ROUND_53BIT): Adjust.
5209
5210 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5211
5212 * string/test-strchrnul.c: Add copyright header.
5213
5214 * posix/tst-getaddrinfo4.c: Increase test timeout.
5215
5216 2013-06-03 Carlos O'Donell <carlos@redhat.com>
5217
5218 [BZ #15536]
5219 * math/libm-test.inc (MAX_EXP): Remove
5220 (MIN_EXP): Define.
5221 (ulp): Use MIN_EXP - MANT_DIG.
5222 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5223
5224 2013-05-31 Carlos O'Donell <carlos@redhat.com>
5225
5226 * po/be.po: Revert last change.
5227 * po/zh_CN.po: Likewise.
5228 * po/header.pot: Likewise.
5229
5230 2013-05-31 Joseph Myers <joseph@codesourcery.com>
5231
5232 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5233 link-libc-deps to empty as target-specific variable.
5234 * Makerules (link-libc-args): New variable.
5235 (libc-for-link): Likewise.
5236 (link-libc-deps): Likewise.
5237 (lib%.so): Depend on $(link-libc-deps). Link with
5238 $(link-libc-args).
5239 (build-module): Link with $(link-libc-args).
5240 (build-module-asneeded): Likewise.
5241 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5242 list of objects.
5243 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5244 target-specific variable.
5245 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5246 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5247 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5248 libc.
5249 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5250 libc and ld.so.
5251 ($(objpfx)libpcprofile.so): Likewise.
5252 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5253 libc_nonshared.a.
5254 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5255 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5256 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5257 $(link-libc-deps).
5258 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5259 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5260 * login/Makefile ($(objpfx)libutil.so): Likewise.
5261 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5262 * math/Makefile ($(objpfx)libm.so): Likewise.
5263 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5264 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5265 variable instead of depending directly on libc.
5266 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5267 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5268 $(link-libc-deps).
5269 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5270 libc.
5271 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5272 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5273 ($(objpfx)libanl.so): Likewise.
5274 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5275 ld.so.
5276 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5277 $(link-libc-deps).
5278 * sysdeps/i386/fpu/Makefile: Remove file.
5279 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5280 ($(objpfx)libm.so): Remove dependency on ld.so.
5281
5282 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5283
5284 [BZ # 15553]
5285 * nis/yp_xdr.c (XDRMAXNAME): Define.
5286 (XDRMAXRECORD): Define.
5287 (xdr_domainname): Use XDRMAXNAME.
5288 (xdr_mapname): Likewise.
5289 (xdr_peername): Likewise.
5290 (xdr_keydat): Use XDRMAXRECORD.
5291 (xdr_valdat): Likewise.
5292
5293 2013-05-30 Jeff Law <law@redhat.com>
5294
5295 [BZ #14256]
5296 * manual/errno.texi (ESTALE): Update to account for more than
5297 just NFS file systems.
5298 * sysdeps/gnu/errlist.c: Regenerated.
5299
5300 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5301
5302 [BZ #15465]
5303 * elf/Makefile (tests): Add tst-null-argv.
5304 (modules-names): Add tst-null-argv-lib.
5305 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5306 (tst-null-argv-ENV): Set environment for tst-null-argv.
5307 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5308 (RTLD_PROGNAME): New macro.
5309 * elf/tst-null-argv.c: New test case.
5310 * elf/tst-null-argv-lib.c: Library for test case.
5311 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5312 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5313 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5314 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5315 * elf/dl-init.c (call_init): Likewise.
5316 (_dl_init): Likewise.
5317 * elf/dl-load.c (print_search_path): Likewise.
5318 (_dl_map_object): Likewise.
5319 * elf/dl-lookup.c (do_lookup_x): Likewise.
5320 (add_dependency): Likewise.
5321 (_dl_lookup_symbol_x): Likewise.
5322 (_dl_debug_bindings): Likewise.
5323 * elf/dl-open.c (_dl_show_scope): Likewise.
5324 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5325 * elf/dl-version.c (match_symbol): Likewise.
5326 (_dl_check_map_versions): Likewise.
5327 * elf/rtld.c (dl_main): Likewise.
5328 (print_unresolved): Use RTLD_PROGNAME.
5329 (print_missing_version): Likewise.
5330 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5331 (elf_machine_rela): Likewise.
5332 * sysdeps/powerpc/powerpc32/dl-machine.c
5333 (__process_machine_rela): Likewise.
5334 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5335 Likewise.
5336 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5337 Likewise.
5338 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5339 Likewise.
5340 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5341 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5342 Likewise.
5343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5344 Likewise.
5345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5346
5347 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5348
5349 * po/be.po: Add descriptive title.
5350 * po/zh_CN.po: Likewise.
5351 * po/header.pot: Likewise.
5352
5353 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5354
5355 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5356 error message.
5357 (enlarge_archive): Likewise.
5358
5359 2013-05-28 Ben North <ben@redfrontdoor.org>
5360
5361 * manual/arith.texi (frexp): It is the magnitude of the return
5362 value which lies in [0.5, 1), not the return value itself.
5363
5364 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5365
5366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5367
5368 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5369
5370 * stdio-common/bug26.c (main): Correct fscanf template.
5371
5372 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5373 declare _dl_skip_args.
5374
5375 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5376 Don't declare.
5377
5378 * manual/platform.texi: Add missing @end deftypefun.
5379
5380 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5381
5382 [BZ #15529]
5383 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5384 bit of mantissa of 2^16382.
5385 * math/libm-test.inc (hypot_test_data): Add more tests.
5386
5387 * math/libm-test.inc: Add drem and pow10 to list of tested
5388 functions.
5389 (pow10_test): New function.
5390 (drem_test): Likewise.
5391 (drem_test_tonearest): Likewise.
5392 (drem_test_towardzero): Likewise.
5393 (drem_test_downward): Likewise.
5394 (drem_test_upward): Likewise.
5395 (main): Call the new functions.
5396
5397 * math/libm-test.inc (finite_test_data): Remove.
5398 (finite_test): Run tests from isfinite_test_data.
5399 (gamma_test_data): Remove.
5400 (gamma_test): Run tests from lgamma_test_data.
5401 * sysdeps/i386/fpu/libm-test-ulps: Update.
5402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5403
5404 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5405
5406 * manual/platform.texi: Add PowerPC PPR function set documentation.
5407 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5408 implementation.
5409
5410 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5411
5412 * math/libm-test.inc (MAX_EXP): Define.
5413 (ULPDIFF): Define.
5414 (ulp): New function.
5415 (check_float_internal): Use ULPDIFF.
5416 (cpow_test): Disable failing test.
5417 (check_ulp): Test ulp() implemetnation.
5418 (main): Call check_ulp before starting tests.
5419
5420 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5421
5422 * math/gen-libm-test.pl (generate_testfile): Do not handle
5423 START_DATA and END_DATA.
5424 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5425 END_DATA.
5426 (acos_tonearest_test_data): Likewise.
5427 (acos_towardzero_test_data): Likewise.
5428 (acos_downward_test_data): Likewise.
5429 (acos_upward_test_data): Likewise.
5430 (acosh_test_data): Likewise.
5431 (asin_test_data): Likewise.
5432 (asin_tonearest_test_data): Likewise.
5433 (asin_towardzero_test_data): Likewise.
5434 (asin_downward_test_data): Likewise.
5435 (asin_upward_test_data): Likewise.
5436 (asinh_test_data): Likewise.
5437 (atan_test_data): Likewise.
5438 (atanh_test_data): Likewise.
5439 (atan2_test_data): Likewise.
5440 (cabs_test_data): Likewise.
5441 (cacos_test_data): Likewise.
5442 (cacosh_test_data): Likewise.
5443 (carg_test_data): Likewise.
5444 (casin_test_data): Likewise.
5445 (casinh_test_data): Likewise.
5446 (catan_test_data): Likewise.
5447 (catanh_test_data): Likewise.
5448 (cbrt_test_data): Likewise.
5449 (ccos_test_data): Likewise.
5450 (ccosh_test_data): Likewise.
5451 (ceil_test_data): Likewise.
5452 (cexp_test_data): Likewise.
5453 (cimag_test_data): Likewise.
5454 (clog_test_data): Likewise.
5455 (clog10_test_data): Likewise.
5456 (conj_test_data): Likewise.
5457 (copysign_test_data): Likewise.
5458 (cos_test_data): Likewise.
5459 (cos_tonearest_test_data): Likewise.
5460 (cos_towardzero_test_data): Likewise.
5461 (cos_downward_test_data): Likewise.
5462 (cos_upward_test_data): Likewise.
5463 (cosh_test_data): Likewise.
5464 (cosh_tonearest_test_data): Likewise.
5465 (cosh_towardzero_test_data): Likewise.
5466 (cosh_downward_test_data): Likewise.
5467 (cosh_upward_test_data): Likewise.
5468 (cpow_test_data): Likewise.
5469 (cproj_test_data): Likewise.
5470 (creal_test_data): Likewise.
5471 (csin_test_data): Likewise.
5472 (csinh_test_data): Likewise.
5473 (csqrt_test_data): Likewise.
5474 (ctan_test_data): Likewise.
5475 (ctan_tonearest_test_data): Likewise.
5476 (ctan_towardzero_test_data): Likewise.
5477 (ctan_downward_test_data): Likewise.
5478 (ctan_upward_test_data): Likewise.
5479 (ctanh_test_data): Likewise.
5480 (ctanh_tonearest_test_data): Likewise.
5481 (ctanh_towardzero_test_data): Likewise.
5482 (ctanh_downward_test_data): Likewise.
5483 (ctanh_upward_test_data): Likewise.
5484 (erf_test_data): Likewise.
5485 (erfc_test_data): Likewise.
5486 (exp_test_data): Likewise.
5487 (exp_tonearest_test_data): Likewise.
5488 (exp_towardzero_test_data): Likewise.
5489 (exp_downward_test_data): Likewise.
5490 (exp_upward_test_data): Likewise.
5491 (exp10_test_data): Likewise.
5492 (exp2_test_data): Likewise.
5493 (expm1_test_data): Likewise.
5494 (fabs_test_data): Likewise.
5495 (fdim_test_data): Likewise.
5496 (finite_test_data): Likewise.
5497 (floor_test_data): Likewise.
5498 (fma_test_data): Likewise.
5499 (fma_towardzero_test_data): Likewise.
5500 (fma_downward_test_data): Likewise.
5501 (fma_upward_test_data): Likewise.
5502 (fmax_test_data): Likewise.
5503 (fmin_test_data): Likewise.
5504 (fmod_test_data): Likewise.
5505 (fpclassify_test_data): Likewise.
5506 (frexp_test_data): Likewise.
5507 (gamma_test_data): Likewise.
5508 (hypot_test_data): Likewise.
5509 (ilogb_test_data): Likewise.
5510 (isfinite_test_data): Likewise.
5511 (isgreater_test_data): Likewise.
5512 (isgreaterequal_test_data): Likewise.
5513 (isinf_test_data): Likewise.
5514 (isless_test_data): Likewise.
5515 (islessequal_test_data): Likewise.
5516 (islessgreater_test_data): Likewise.
5517 (isnan_test_data): Likewise.
5518 (isnormal_test_data): Likewise.
5519 (issignaling_test_data): Likewise.
5520 (isunordered_test_data): Likewise.
5521 (j0_test_data): Likewise.
5522 (j1_test_data): Likewise.
5523 (jn_test_data): Likewise.
5524 (ldexp_test_data): Likewise.
5525 (lgamma_test_data): Likewise.
5526 (lrint_test_data): Likewise.
5527 (lrint_tonearest_test_data): Likewise.
5528 (lrint_towardzero_test_data): Likewise.
5529 (lrint_downward_test_data): Likewise.
5530 (lrint_upward_test_data): Likewise.
5531 (llrint_test_data): Likewise.
5532 (llrint_tonearest_test_data): Likewise.
5533 (llrint_towardzero_test_data): Likewise.
5534 (llrint_downward_test_data): Likewise.
5535 (llrint_upward_test_data): Likewise.
5536 (log_test_data): Likewise.
5537 (log10_test_data): Likewise.
5538 (log1p_test_data): Likewise.
5539 (log2_test_data): Likewise.
5540 (logb_test_data): Likewise.
5541 (logb_downward_test_data): Likewise.
5542 (lround_test_data): Likewise.
5543 (llround_test_data): Likewise.
5544 (modf_test_data): Likewise.
5545 (nearbyint_test_data): Likewise.
5546 (nextafter_test_data): Likewise.
5547 (nexttoward_test_data): Likewise.
5548 (pow_test_data): Likewise.
5549 (pow_tonearest_test_data): Likewise.
5550 (pow_towardzero_test_data): Likewise.
5551 (pow_downward_test_data): Likewise.
5552 (pow_upward_test_data): Likewise.
5553 (remainder_test_data): Likewise.
5554 (remainder_tonearest_test_data): Likewise.
5555 (remainder_towardzero_test_data): Likewise.
5556 (remainder_downward_test_data): Likewise.
5557 (remainder_upward_test_data): Likewise.
5558 (remquo_test_data): Likewise.
5559 (rint_test_data): Likewise.
5560 (rint_tonearest_test_data): Likewise.
5561 (rint_towardzero_test_data): Likewise.
5562 (rint_downward_test_data): Likewise.
5563 (rint_upward_test_data): Likewise.
5564 (round_test_data): Likewise.
5565 (scalb_test_data): Likewise.
5566 (scalbn_test_data): Likewise.
5567 (scalbln_test_data): Likewise.
5568 (signbit_test_data): Likewise.
5569 (sin_test_data): Likewise.
5570 (sin_tonearest_test_data): Likewise.
5571 (sin_towardzero_test_data): Likewise.
5572 (sin_downward_test_data): Likewise.
5573 (sin_upward_test_data): Likewise.
5574 (sincos_test_data): Likewise.
5575 (sinh_test_data): Likewise.
5576 (sinh_tonearest_test_data): Likewise.
5577 (sinh_towardzero_test_data): Likewise.
5578 (sinh_downward_test_data): Likewise.
5579 (sinh_upward_test_data): Likewise.
5580 (sqrt_test_data): Likewise.
5581 (tan_test_data): Likewise.
5582 (tan_tonearest_test_data): Likewise.
5583 (tan_towardzero_test_data): Likewise.
5584 (tan_downward_test_data): Likewise.
5585 (tan_upward_test_data): Likewise.
5586 (tanh_test_data): Likewise.
5587 (tgamma_test_data): Likewise.
5588 (trunc_test_data): Likewise.
5589 (y0_test_data): Likewise.
5590 (y1_test_data): Likewise.
5591 (yn_test_data): Likewise.
5592 (significand_test_data): Likewise.
5593
5594 * math/gen-libm-test.pl (@functions): Remove variable.
5595 (generate_testfile): Don't handle START and END lines.
5596 * math/libm-test.inc (START): New macro.
5597 (END): Likewise.
5598 (END_COMPLEX): Likewise.
5599 (acos_test): Use END macro without arguments.
5600 (acos_test_tonearest): Likewise.
5601 (acos_test_towardzero): Likewise.
5602 (acos_test_downward): Likewise.
5603 (acos_test_upward): Likewise.
5604 (acosh_test): Likewise.
5605 (asin_test): Likewise.
5606 (asin_test_tonearest): Likewise.
5607 (asin_test_towardzero): Likewise.
5608 (asin_test_downward): Likewise.
5609 (asin_test_upward): Likewise.
5610 (asinh_test): Likewise.
5611 (atan_test): Likewise.
5612 (atanh_test): Likewise.
5613 (atan2_test): Likewise.
5614 (cabs_test): Likewise.
5615 (cacos_test): Use END_COMPLEX macro without arguments.
5616 (cacosh_test): Likewise.
5617 (carg_test): Use END macro without arguments.
5618 (casin_test): Use END_COMPLEX macro without arguments.
5619 (casinh_test): Likewise.
5620 (catan_test): Likewise.
5621 (catanh_test): Likewise.
5622 (cbrt_test): Use END macro without arguments.
5623 (ccos_test): Use END_COMPLEX macro without arguments.
5624 (ccosh_test): Likewise.
5625 (ceil_test): Use END macro without arguments.
5626 (cexp_test): Use END_COMPLEX macro without arguments.
5627 (cimag_test): Use END macro without arguments.
5628 (clog_test): Use END_COMPLEX macro without arguments.
5629 (clog10_test): Likewise.
5630 (conj_test): Likewise.
5631 (copysign_test): Use END macro without arguments.
5632 (cos_test): Likewise.
5633 (cos_test_tonearest): Likewise.
5634 (cos_test_towardzero): Likewise.
5635 (cos_test_downward): Likewise.
5636 (cos_test_upward): Likewise.
5637 (cosh_test): Likewise.
5638 (cosh_test_tonearest): Likewise.
5639 (cosh_test_towardzero): Likewise.
5640 (cosh_test_downward): Likewise.
5641 (cosh_test_upward): Likewise.
5642 (cpow_test): Use END_COMPLEX macro without arguments.
5643 (cproj_test): Likewise.
5644 (creal_test): Use END macro without arguments.
5645 (csin_test): Use END_COMPLEX macro without arguments.
5646 (csinh_test): Likewise.
5647 (csqrt_test): Likewise.
5648 (ctan_test): Likewise.
5649 (ctan_test_tonearest): Likewise.
5650 (ctan_test_towardzero): Likewise.
5651 (ctan_test_downward): Likewise.
5652 (ctan_test_upward): Likewise.
5653 (ctanh_test): Likewise.
5654 (ctanh_test_tonearest): Likewise.
5655 (ctanh_test_towardzero): Likewise.
5656 (ctanh_test_downward): Likewise.
5657 (ctanh_test_upward): Likewise.
5658 (erf_test): Use END macro without arguments.
5659 (erfc_test): Likewise.
5660 (exp_test): Likewise.
5661 (exp_test_tonearest): Likewise.
5662 (exp_test_towardzero): Likewise.
5663 (exp_test_downward): Likewise.
5664 (exp_test_upward): Likewise.
5665 (exp10_test): Likewise.
5666 (exp2_test): Likewise.
5667 (expm1_test): Likewise.
5668 (fabs_test): Likewise.
5669 (fdim_test): Likewise.
5670 (finite_test): Likewise.
5671 (floor_test): Likewise.
5672 (fma_test): Likewise.
5673 (fma_test_towardzero): Likewise.
5674 (fma_test_downward): Likewise.
5675 (fma_test_upward): Likewise.
5676 (fmax_test): Likewise.
5677 (fmin_test): Likewise.
5678 (fmod_test): Likewise.
5679 (fpclassify_test): Likewise.
5680 (frexp_test): Likewise.
5681 (gamma_test): Likewise.
5682 (hypot_test): Likewise.
5683 (ilogb_test): Likewise.
5684 (isfinite_test): Likewise.
5685 (isgreater_test): Likewise.
5686 (isgreaterequal_test): Likewise.
5687 (isinf_test): Likewise.
5688 (isless_test): Likewise.
5689 (islessequal_test): Likewise.
5690 (islessgreater_test): Likewise.
5691 (isnan_test): Likewise.
5692 (isnormal_test): Likewise.
5693 (issignaling_test): Likewise.
5694 (isunordered_test): Likewise.
5695 (j0_test): Likewise.
5696 (j1_test): Likewise.
5697 (jn_test): Likewise.
5698 (ldexp_test): Likewise.
5699 (lgamma_test): Likewise.
5700 (lrint_test): Likewise.
5701 (lrint_test_tonearest): Likewise.
5702 (lrint_test_towardzero): Likewise.
5703 (lrint_test_downward): Likewise.
5704 (lrint_test_upward): Likewise.
5705 (llrint_test): Likewise.
5706 (llrint_test_tonearest): Likewise.
5707 (llrint_test_towardzero): Likewise.
5708 (llrint_test_downward): Likewise.
5709 (llrint_test_upward): Likewise.
5710 (log_test): Likewise.
5711 (log10_test): Likewise.
5712 (log1p_test): Likewise.
5713 (log2_test): Likewise.
5714 (logb_test): Likewise.
5715 (logb_test_downward): Likewise.
5716 (lround_test): Likewise.
5717 (llround_test): Likewise.
5718 (modf_test): Likewise.
5719 (nearbyint_test): Likewise.
5720 (nextafter_test): Likewise.
5721 (nexttoward_test): Likewise.
5722 (pow_test): Likewise.
5723 (pow_test_tonearest): Likewise.
5724 (pow_test_towardzero): Likewise.
5725 (pow_test_downward): Likewise.
5726 (pow_test_upward): Likewise.
5727 (remainder_test): Likewise.
5728 (remainder_test_tonearest): Likewise.
5729 (remainder_test_towardzero): Likewise.
5730 (remainder_test_downward): Likewise.
5731 (remainder_test_upward): Likewise.
5732 (remquo_test): Likewise.
5733 (rint_test): Likewise.
5734 (rint_test_tonearest): Likewise.
5735 (rint_test_towardzero): Likewise.
5736 (rint_test_downward): Likewise.
5737 (rint_test_upward): Likewise.
5738 (round_test): Likewise.
5739 (scalb_test): Likewise.
5740 (scalbn_test): Likewise.
5741 (scalbln_test): Likewise.
5742 (signbit_test): Likewise.
5743 (sin_test): Likewise.
5744 (sin_test_tonearest): Likewise.
5745 (sin_test_towardzero): Likewise.
5746 (sin_test_downward): Likewise.
5747 (sin_test_upward): Likewise.
5748 (sincos_test): Likewise.
5749 (sinh_test): Likewise.
5750 (sinh_test_tonearest): Likewise.
5751 (sinh_test_towardzero): Likewise.
5752 (sinh_test_downward): Likewise.
5753 (sinh_test_upward): Likewise.
5754 (sqrt_test): Likewise.
5755 (tan_test): Likewise.
5756 (tan_test_tonearest): Likewise.
5757 (tan_test_towardzero): Likewise.
5758 (tan_test_downward): Likewise.
5759 (tan_test_upward): Likewise.
5760 (tanh_test): Likewise.
5761 (tgamma_test): Likewise.
5762 (trunc_test): Likewise.
5763 (y0_test): Likewise.
5764 (y1_test): Likewise.
5765 (yn_test): Likewise.
5766 (significand_test): Likewise.
5767
5768 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5769
5770 [BZ #15381]
5771 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5772
5773 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5774
5775 [BZ #14894]
5776 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5777 __ppc_mdoio and __ppc_mdoom.
5778 * manual/platform.texi: Document new functions __ppc_yield,
5779 __ppc_mdoio and __ppc_mdoom.
5780
5781 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5782
5783 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5784 (main): Mention "tls" pseudo-hwcap is legacy.
5785 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5786
5787 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5788
5789 * math/gen-libm-test.pl (parse_args): Output only string of
5790 arguments as text for test name, not full call or descriptions of
5791 tests for extra outputs.
5792 (generate_testfile): Do not pass function name to parse_args.
5793 Generate this_func variable from START.
5794 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5795 field to arg_str.
5796 (struct test_ff_f_data): Likewise.
5797 (test_ff_f_data_nexttoward): Likewise.
5798 (struct test_fi_f_data): Likewise.
5799 (struct test_fl_f_data): Likewise.
5800 (struct test_if_f_data): Likewise.
5801 (struct test_fff_f_data): Likewise.
5802 (struct test_c_f_data): Likewise.
5803 (struct test_f_f1_data): Likewise. Remove field extra_name.
5804 (struct test_fF_f1_data): Likewise.
5805 (struct test_ffI_f1_data): Likewise.
5806 (struct test_c_c_data): Rename test_name field to arg_str.
5807 (struct test_cc_c_data): Likewise.
5808 (struct test_f_i_data): Likewise.
5809 (struct test_ff_i_data): Likewise.
5810 (struct test_f_l_data): Likewise.
5811 (struct test_f_L_data): Likewise.
5812 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5813 and extra2_name.
5814 (COMMON_TEST_SETUP): New macro.
5815 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5816 (COMMON_TEST_CLEANUP): Likewise.
5817 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5818 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5819 macros.
5820 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5821 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5822 macros.
5823 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5824 (RUN_TEST_fff_f): Take argument string. Call new setup and
5825 cleanup macros.
5826 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5827 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5828 macros.
5829 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5830 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5831 macros.
5832 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5833 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5834 cleanup macros.
5835 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5836 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5837 cleanup macros.
5838 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5839 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5840 cleanup macros.
5841 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5842 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5843 macros.
5844 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5845 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5846 macros.
5847 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5848 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5849 macros.
5850 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5851 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5852 cleanup macros.
5853 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5854 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5855 cleanup macros.
5856 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5857 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5858 macros.
5859 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5860 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5861 cleanup macros.
5862 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5863 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5864 macros.
5865 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5866 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5867 macros.
5868 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5869 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5870 cleanup macros.
5871 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5872
5873 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5874
5875 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5876 to _sifields.sigfault.
5877 (si_addr_lsb): Define new macro.
5878 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5879 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5880 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5881
5882 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5883
5884 [BZ #15441]
5885 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5886 returns -1.
5887 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5888 null return -1.
5889 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5890 loading the domain.
5891
5892 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5893
5894 * math/gen-libm-test.pl (parse_args): Do not include expected
5895 result in test name.
5896 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5897 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5898 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5899 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5900 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5902
5903 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5904
5905 * benchtests/Makefile: Sort function entries.
5906
5907 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5908 tanh, asinh, acosh, atanh.
5909 * benchtests/acos-inputs: New file.
5910 * benchtests/acosh-inputs: New file.
5911 * benchtests/asin-inputs: New file.
5912 * benchtests/asinh-inputs: New file.
5913 * benchtests/atanh-inputs: New file.
5914 * benchtests/cosh-inputs: New file.
5915 * benchtests/log-inputs: New file.
5916 * benchtests/sinh-inputs: New file.
5917 * benchtests/tanh-inputs: New file.
5918
5919 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5920
5921 [BZ #15339]
5922 * posix/tst-getaddrinfo4.c: New test.
5923 * posix/Makefile (tests): Add it.
5924
5925 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5926
5927 [BZ #15339]
5928 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5929 when no services were used.
5930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5931 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5932
5933 2013-05-21 Andreas Schwab <schwab@suse.de>
5934
5935 [BZ #15014]
5936 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5937 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5938 successful.
5939 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5940 redundant variable declarations and reallocation of buffer when
5941 parsing as IPv6 address. Always set NSS status when called from
5942 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5943 buffer too small. Correct computation of needed size.
5944 * nss/Makefile (tests): Add test-digits-dots.
5945 * nss/test-digits-dots.c: New test.
5946
5947 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5948
5949 * benchtests/Makefile: Remove instructions for adding
5950 benchmark tests.
5951 * benchtests/README: New file to explain how to execute and
5952 enhance the benchmark tests.
5953
5954 2013-05-21 Andreas Schwab <schwab@suse.de>
5955
5956 [BZ #15493]
5957 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5958 * setjmp/tst-sigsetjmp.c: New test.
5959
5960 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5961
5962 * sysdeps/x86_64/memset.S (memset): New implementation.
5963 (__bzero): Likewise.
5964 (__memset_tail): New function.
5965
5966 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5967
5968 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5969 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5970 __memcpy_sse2_unaligned ifunc selection.
5971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5972 Add memcpy-sse2-unaligned.S.
5973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5974 Add: __memcpy_sse2_unaligned.
5975
5976 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5977
5978 [BZ #15490]
5979 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5980 math_force_eval before restoring floating-point envrionment.
5981 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5982 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5983 Likewise.
5984 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5985 <math_private.h>.
5986 (__nearbyintl): Use math_force_eval before restoring
5987 floating-point environment.
5988 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5989
5990 * math/gen-libm-test.pl (special_functions): Remove.
5991 (parse_args): Don't handle TEST_extra. Handle functions with no
5992 return value.
5993 * math/libm-test.inc (struct test_sincos_data): Replace with
5994 struct test_fFF_11_data.
5995 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5996 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5997 (sincos_test_data): Change element type to struct
5998 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5999 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6000 RUN_TEST_LOOP_sincos.
6001 * math/README.libm-test: Don't mention special handling of
6002 individual functions.
6003 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6004 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6005 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6006 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6007 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6009
6010 * math/gen-libm-test.pl (get_variable): Remove function.
6011 (parse_args): Don't show pointer parameters to call in test
6012 names. Use "extra output N" in test names for extra outputs
6013 rather than naming variables.
6014
6015 2013-05-18 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #15488]
6018 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6019 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6020 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6021 double tests.
6022 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6023 disable.
6024 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6025 check_long_double.
6026
6027 * math/gen-libm-test.pl (@tests): Remove variable.
6028 ($count): Likewise.
6029 (new_test): Remove function.
6030 (show_exceptions): New function.
6031 (special_functions): Use show_exceptions instead of new_test.
6032 (parse_args): Likewise.
6033 (generate_testfile): Pass only function name in generated call to
6034 print_max_error or print_complex_max_error.
6035 (get_ulps): Do not handle complex tests specially.
6036 (output_test): Rename to ...
6037 (get_all_ulps_for_test): ... this. Return a string rather than
6038 printing to a file. Require ulps to be present.
6039 (output_ulps): Generate arrays rather than #defines.
6040 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6041 (struct ulp_data): New type.
6042 (BUILD_COMPLEX_ULP): Remove macro.
6043 (compare_ulp_data): New function.
6044 (find_ulps): Likewise.
6045 (find_test_ulps): Likewise.
6046 (find_function_ulps): Likewise.
6047 (find_complex_function_ulps): Likewise.
6048 (print_max_error): Determine allowed ulps using
6049 find_function_ulps.
6050 (print_complex_max_error): Determine allowed ulps using
6051 find_complex_function_ulps.
6052 (check_float_internal): Determine max ulps using find_test_ulps.
6053 (check_float): Do not take max_ulp parameter. Update call to
6054 check_float_internal.
6055 (check_complex): Likewise.
6056 (check_int): Do not take max_ulp parameter.
6057 (check_long): Likewise.
6058 (check_bool): Likewise.
6059 (check_longlong): Likewise.
6060 (struct test_f_f_data): Remove max_ulp field.
6061 (struct test_ff_f_data): Likewise.
6062 (struct test_ff_f_data_nexttoward): Likewise.
6063 (struct test_fi_f_data): Likewise.
6064 (struct test_fl_f_data): Likewise.
6065 (struct test_if_f_data): Likewise.
6066 (struct test_fff_f_data): Likewise.
6067 (struct test_c_f_data): Likewise.
6068 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6069 (struct test_fF_f1_data): Likewise.
6070 (struct test_ffI_f1_data): Likewise.
6071 (struct test_c_c_data): Remove max_ulp field.
6072 (struct test_cc_c_data): Likewise.
6073 (struct test_f_i_data): Likewise.
6074 (struct test_ff_i_data): Likewise.
6075 (struct test_f_l_data): Likewise.
6076 (struct test_f_L_data): Likewise.
6077 (struct test_sincos_data): Likewise.
6078 (RUN_TEST_f_f): Do not handle ulps.
6079 (RUN_TEST_LOOP_f_f): Likewise.
6080 (RUN_TEST_2_f): Likewise.
6081 (RUN_TEST_LOOP_2_f): Likewise.
6082 (RUN_TEST_fff_f): Likewise.
6083 (RUN_TEST_LOOP_fff_f): Likewise.
6084 (RUN_TEST_c_f): Likewise.
6085 (RUN_TEST_LOOP_c_f): Likewise.
6086 (RUN_TEST_f_f1): Likewise.
6087 (RUN_TEST_LOOP_f_f1): Likewise.
6088 (RUN_TEST_fF_f1): Likewise.
6089 (RUN_TEST_LOOP_fF_f1): Likewise.
6090 (RUN_TEST_fI_f1): Likewise.
6091 (RUN_TEST_LOOP_fI_f1): Likewise.
6092 (RUN_TEST_ffI_f1): Likewise.
6093 (RUN_TEST_LOOP_ffI_f1): Likewise.
6094 (RUN_TEST_c_c): Likewise.
6095 (RUN_TEST_LOOP_c_c): Likewise.
6096 (RUN_TEST_cc_c): Likewise.
6097 (RUN_TEST_LOOP_cc_c): Likewise.
6098 (RUN_TEST_f_i): Likewise.
6099 (RUN_TEST_LOOP_f_i): Likewise.
6100 (RUN_TEST_f_i_tg): Likewise.
6101 (RUN_TEST_LOOP_f_i_tg): Likewise.
6102 (RUN_TEST_ff_i_tg): Likewise.
6103 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6104 (RUN_TEST_f_b): Likewise.
6105 (RUN_TEST_LOOP_f_b): Likewise.
6106 (RUN_TEST_f_b_tg): Likewise.
6107 (RUN_TEST_LOOP_f_b_tg): Likewise.
6108 (RUN_TEST_f_l): Likewise.
6109 (RUN_TEST_LOOP_f_l): Likewise.
6110 (RUN_TEST_f_L): Likewise.
6111 (RUN_TEST_LOOP_f_L): Likewise.
6112 (RUN_TEST_sincos): Likewise.
6113 (RUN_TEST_LOOP_sincos): Likewise.
6114
6115 2013-05-17 Joseph Myers <joseph@codesourcery.com>
6116
6117 [BZ #15480]
6118 [BZ #15485]
6119 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6120 main case of finite arguments, set rounding mode to FE_TONEAREST
6121 and discard exceptions.
6122 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6123 exceptions.
6124 (remainder_tonearest_test_data): New variable.
6125 (remainder_test_tonearest): New function.
6126 (remainder_towardzero_test_data): New variable.
6127 (remainder_test_towardzero): New function.
6128 (remainder_downward_test_data): New variable.
6129 (remainder_test_downward): New function.
6130 (remainder_upward_test_data): New variable.
6131 (remainder_test_upward): New function.
6132 (main): Call the new test functions.
6133
6134 * math/libm-test.inc (struct test_f_f1_data): Remove field
6135 extra_init.
6136 (struct test_fF_f1_data): Likewise.
6137 (struct test_ffI_f1_data): Likewise.
6138 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6139 based on value of EXTRA_EXPECTED.
6140 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6141 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6142 EXTRA_VAR based on value of EXTRA_EXPECTED.
6143 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6144 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6145 EXTRA_VAR based on value of EXTRA_EXPECTED.
6146 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6147 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6148 EXTRA_VAR based on value of EXTRA_EXPECTED.
6149 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6150 * math/gen-libm-test.pl (parse_args): Don't output initializers
6151 for extra output values.
6152
6153 * math/libm-test.inc (check_int): Expect result to be exactly
6154 equal to expected value and do not handle ulps.
6155 (check_long): Likewise.
6156 (check_longlong): Likewise.
6157
6158 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6159 exceptions.
6160 (cimag_test_data): Likewise.
6161 (conj_test_data): Likewise.
6162 (copysign_test_data): Likewise.
6163 (cproj_test_data): Likewise.
6164 (creal_test_data): Likewise.
6165 (fabs_test_data): Likewise.
6166 (fdim_test_data): Likewise.
6167 (finite_test_data): Likewise.
6168 (floor_test_data): Likewise.
6169 (fmax_test_data): Likewise.
6170 (fmin_test_data): Likewise.
6171 (fmod_test_data): Likewise.
6172 (fpclassify_test_data): Likewise.
6173 (frexp_test_data): Likewise.
6174 (ilogb_test_data): Likewise.
6175 (isfinite_test_data): Likewise.
6176 (isgreater_test_data): Likewise.
6177 (isgreaterequal_test_data): Likewise.
6178 (isinf_test_data): Likewise.
6179 (isless_test_data): Likewise.
6180 (islessequal_test_data): Likewise.
6181 (islessgreater_test_data): Likewise.
6182 (isnan_test_data): Likewise.
6183 (isnormal_test_data): Likewise.
6184 (issignaling_test_data): Likewise.
6185 (isunordered_test_data): Likewise.
6186 (ldexp_test_data): Likewise.
6187 (lrint_test_data): Likewise.
6188 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6189 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6190 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6191 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6192 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6193 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6194 test input.
6195 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6196 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6197 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6198 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6199 that test input.
6200 (lrint_downward_test_data): Test for "inexact" exceptions.
6201 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6202 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6203 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6204 test input.
6205 (lrint_upward_test_data): Test for "inexact" exceptions.
6206 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6207 test input.
6208 (llrint_test_data): Test for "inexact" exceptions.
6209 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6210 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6211 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6212 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6213 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6214 (llrint_downward_test_data): Test for "inexact" exceptions.
6215 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6216 (llrint_upward_test_data): Test for "inexact" exceptions.
6217 (logb_test_data): Likewise.
6218 (logb_downward_test_data): Likewise.
6219 (nextafter_test_data): Likewise.
6220 (nexttoward_test_data): Likewise.
6221 (remainder_test_data): Likewise.
6222 (remquo_test_data): Likewise.
6223 (scalbn_test_data): Likewise.
6224 (scalbln_test_data): Likewise.
6225 (signbit_test_data): Likewise.
6226 (sqrt_test_data): Likewise.
6227 (significand_test_data): Likewise.
6228
6229 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6230
6231 [BZ #15424]
6232 * benchtests/bench-modf.c (struct args): Mark arg0 as
6233 volatile.
6234 * scripts/bench.pl: Mark members of struct args as volatile.
6235
6236 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6237
6238 [BZ # 15497]
6239 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6240 negative infinity on POWER6 or lower.
6241 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6242
6243 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6244
6245 [BZ #15442]
6246 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6247 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6248 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6249 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6250 (_FP_SETQNAN): New macro.
6251 (_FP_SETQNAN_SEMIRAW): Likewise.
6252 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6253 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6254 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6255 (FP_EXTEND): Use _FP_FRAC_SNANP.
6256 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6257 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6258 into account.
6259 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6260 New macro.
6261 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6262 Likewise.
6263
6264 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6265
6266 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6267 with DIVIDE_BY_ZERO_EXCEPTION.
6268 (gamma_test_data): Likewise.
6269 (lgamma_test_data): Likewise.
6270 (log_test_data): Likewise.
6271 (log10_test_data): Likewise.
6272 (log2_test_data): Likewise.
6273 (tgamma_test_data): Likewise.
6274
6275 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6276 (acos_test_tonearest): Likewise.
6277 (acos_test_towardzero): Likewise.
6278 (acos_test_downward): Likewise.
6279 (acos_test_upward): Likewise.
6280 (acosh_test): Likewise.
6281 (asin_test): Likewise.
6282 (asin_test_tonearest): Likewise.
6283 (asin_test_towardzero): Likewise.
6284 (asin_test_downward): Likewise.
6285 (asin_test_upward): Likewise.
6286 (asinh_test): Likewise.
6287 (atan_test): Likewise.
6288 (atanh_test): Likewise.
6289 (atan2_test): Likewise.
6290 (cabs_test): Likewise.
6291 (cacos_test): Likewise.
6292 (cacosh_test): Likewise.
6293 (casin_test): Likewise.
6294 (casinh_test): Likewise.
6295 (catan_test): Likewise.
6296 (catanh_test): Likewise.
6297 (cbrt_test): Likewise.
6298 (ccos_test): Likewise.
6299 (ccosh_test): Likewise.
6300 (cexp_test): Likewise.
6301 (clog_test): Likewise.
6302 (clog10_test): Likewise.
6303 (cos_test): Likewise.
6304 (cos_test_tonearest): Likewise.
6305 (cos_test_towardzero): Likewise.
6306 (cos_test_downward): Likewise.
6307 (cos_test_upward): Likewise.
6308 (cosh_test): Likewise.
6309 (cosh_test_tonearest): Likewise.
6310 (cosh_test_towardzero): Likewise.
6311 (cosh_test_downward): Likewise.
6312 (cosh_test_upward): Likewise.
6313 (cpow_test): Likewise.
6314 (csin_test): Likewise.
6315 (csinh_test): Likewise.
6316 (csqrt_test): Likewise.
6317 (ctan_test): Likewise.
6318 (ctan_test_tonearest): Likewise.
6319 (ctan_test_towardzero): Likewise.
6320 (ctan_test_downward): Likewise.
6321 (ctan_test_upward): Likewise.
6322 (ctanh_test): Likewise.
6323 (ctanh_test_tonearest): Likewise.
6324 (ctanh_test_towardzero): Likewise.
6325 (ctanh_test_downward): Likewise.
6326 (ctanh_test_upward): Likewise.
6327 (erf_test): Likewise.
6328 (erfc_test): Likewise.
6329 (exp_test): Likewise.
6330 (exp_test_tonearest): Likewise.
6331 (exp_test_towardzero): Likewise.
6332 (exp_test_downward): Likewise.
6333 (exp_test_upward): Likewise.
6334 (exp10_test): Likewise.
6335 (exp2_test): Likewise.
6336 (expm1_test): Likewise.
6337 (fmod_test): Likewise.
6338 (gamma_test): Likewise.
6339 (hypot_test): Likewise.
6340 (j0_test): Likewise.
6341 (j1_test): Likewise.
6342 (jn_test): Likewise.
6343 (lgamma_test): Likewise.
6344 (log_test): Likewise.
6345 (log10_test): Likewise.
6346 (log1p_test): Likewise.
6347 (log2_test): Likewise.
6348 (logb_test_downward): Likewise.
6349 (pow_test): Likewise.
6350 (pow_test_tonearest): Likewise.
6351 (pow_test_towardzero): Likewise.
6352 (pow_test_downward): Likewise.
6353 (pow_test_upward): Likewise.
6354 (remainder_test): Likewise.
6355 (remquo_test): Likewise.
6356 (sin_test): Likewise.
6357 (sin_test_tonearest): Likewise.
6358 (sin_test_towardzero): Likewise.
6359 (sin_test_downward): Likewise.
6360 (sin_test_upward): Likewise.
6361 (sincos_test): Likewise.
6362 (sinh_test): Likewise.
6363 (sinh_test_tonearest): Likewise.
6364 (sinh_test_towardzero): Likewise.
6365 (sinh_test_downward): Likewise.
6366 (sinh_test_upward): Likewise.
6367 (sqrt_test): Likewise.
6368 (tan_test): Likewise.
6369 (tan_test_tonearest): Likewise.
6370 (tan_test_towardzero): Likewise.
6371 (tan_test_downward): Likewise.
6372 (tan_test_upward): Likewise.
6373 (tanh_test): Likewise.
6374 (tgamma_test): Likewise.
6375 (y0_test): Likewise.
6376 (y1_test): Likewise.
6377 (yn_test): Likewise.
6378
6379 * math/gen-libm-test.pl (adjust_arg): Remove function.
6380 (special_function): Remove argument $in_func. Only handle
6381 generating output for tables of tests, not inside functions.
6382 (parse_args): Likewise.
6383 (generate_testfile): Remove variable $in_func. Update call to
6384 parse_args.
6385 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6386 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6387 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6388 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6389 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6390 (MAX_VALUE_INIT): Rename macro to max_value.
6391 (MIN_VALUE_INIT): Rename macro to min_value.
6392 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6393 (plus_zero): Remove variable.
6394 (minus_zero): Likewise.
6395 (plus_infty): Likewise.
6396 (minus_infty): Likewise.
6397 (qnan_value): Likewise.
6398 (max_value): Likewise.
6399 (min_value): Likewise.
6400 (min_subnorm_value): Likewise.
6401
6402 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6403
6404 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6405 uint64_t or uint32_t usage.
6406 * crypt/sha256-block.c: Likewise.
6407 * crypt/sha256-crypt.c: Likewise.
6408 * crypt/sha256.c: Likewise.
6409 * crypt/sha512-block.c: Likewise.
6410 * crypt/sha512-crypt.c: Likewise.
6411 * crypt/sha512.c: Likewise.
6412 * debug/backtrace-tst.c: Likewise.
6413 * debug/pcprofiledump.c: Likewise.
6414 * elf/cache.c: Likewise.
6415 * elf/dl-cache.c: Likewise.
6416 * elf/dl-misc.c: Likewise.
6417 * elf/dl-profile.c: Likewise.
6418 * elf/dl-support.c: Likewise.
6419 * elf/ldconfig.c: Likewise.
6420 * elf/sprof.c: Likewise.
6421 * iconv/dummy-repertoire.c: Likewise.
6422 * iconv/iconv_charmap.c: Likewise.
6423 * iconv/skeleton.c: Likewise.
6424 * iconvdata/8bit-generic.c: Likewise.
6425 * iconvdata/cp737.h: Likewise.
6426 * iconvdata/cp775.h: Likewise.
6427 * iconvdata/ibm1008.h: Likewise.
6428 * iconvdata/ibm1025.h: Likewise.
6429 * iconvdata/ibm1046.h: Likewise.
6430 * iconvdata/ibm1097.h: Likewise.
6431 * iconvdata/ibm1112.h: Likewise.
6432 * iconvdata/ibm1122.h: Likewise.
6433 * iconvdata/ibm1123.h: Likewise.
6434 * iconvdata/ibm1124.h: Likewise.
6435 * iconvdata/ibm1129.h: Likewise.
6436 * iconvdata/ibm1130.h: Likewise.
6437 * iconvdata/ibm1132.h: Likewise.
6438 * iconvdata/ibm1133.h: Likewise.
6439 * iconvdata/ibm1137.h: Likewise.
6440 * iconvdata/ibm1140.h: Likewise.
6441 * iconvdata/ibm1141.h: Likewise.
6442 * iconvdata/ibm1142.h: Likewise.
6443 * iconvdata/ibm1143.h: Likewise.
6444 * iconvdata/ibm1144.h: Likewise.
6445 * iconvdata/ibm1145.h: Likewise.
6446 * iconvdata/ibm1146.h: Likewise.
6447 * iconvdata/ibm1147.h: Likewise.
6448 * iconvdata/ibm1148.h: Likewise.
6449 * iconvdata/ibm1149.h: Likewise.
6450 * iconvdata/ibm1153.h: Likewise.
6451 * iconvdata/ibm1154.h: Likewise.
6452 * iconvdata/ibm1155.h: Likewise.
6453 * iconvdata/ibm1156.h: Likewise.
6454 * iconvdata/ibm1157.h: Likewise.
6455 * iconvdata/ibm1158.h: Likewise.
6456 * iconvdata/ibm1160.h: Likewise.
6457 * iconvdata/ibm1161.h: Likewise.
6458 * iconvdata/ibm1162.h: Likewise.
6459 * iconvdata/ibm1163.h: Likewise.
6460 * iconvdata/ibm1164.h: Likewise.
6461 * iconvdata/ibm1166.h: Likewise.
6462 * iconvdata/ibm1167.h: Likewise.
6463 * iconvdata/ibm12712.h: Likewise.
6464 * iconvdata/ibm1390.h: Likewise.
6465 * iconvdata/ibm1399.h: Likewise.
6466 * iconvdata/ibm16804.h: Likewise.
6467 * iconvdata/ibm4517.h: Likewise.
6468 * iconvdata/ibm4899.h: Likewise.
6469 * iconvdata/ibm4909.h: Likewise.
6470 * iconvdata/ibm4971.h: Likewise.
6471 * iconvdata/ibm5347.h: Likewise.
6472 * iconvdata/ibm803.h: Likewise.
6473 * iconvdata/ibm856.h: Likewise.
6474 * iconvdata/ibm901.h: Likewise.
6475 * iconvdata/ibm902.h: Likewise.
6476 * iconvdata/ibm9030.h: Likewise.
6477 * iconvdata/ibm9066.h: Likewise.
6478 * iconvdata/ibm921.h: Likewise.
6479 * iconvdata/ibm922.h: Likewise.
6480 * iconvdata/ibm9448.h: Likewise.
6481 * iconvdata/isiri-3342.h: Likewise.
6482 * iconvdata/jis0201.h: Likewise.
6483 * include/link.h: Likewise.
6484 * include/netdb.h: Likewise.
6485 * inet/check_native.c: Likewise.
6486 * inet/check_pf.c: Likewise.
6487 * inet/getipv4sourcefilter.c: Likewise.
6488 * inet/getnameinfo.c: Likewise.
6489 * inet/getsourcefilter.c: Likewise.
6490 * inet/htonl.c: Likewise.
6491 * inet/setipv4sourcefilter.c: Likewise.
6492 * inet/setsourcefilter.c: Likewise.
6493 * inet/test-inet6_opt.c: Likewise.
6494 * inet/tst-network.c: Likewise.
6495 * locale/C-collate.c: Likewise.
6496 * locale/C-ctype.c: Likewise.
6497 * locale/C-time.c: Likewise.
6498 * locale/C-translit.h: Likewise.
6499 * locale/loadarchive.c: Likewise.
6500 * locale/programs/3level.h: Likewise.
6501 * locale/programs/charmap.c: Likewise.
6502 * locale/programs/charmap.h: Likewise.
6503 * locale/programs/ld-address.c: Likewise.
6504 * locale/programs/ld-collate.c: Likewise.
6505 * locale/programs/ld-ctype.c: Likewise.
6506 * locale/programs/ld-identification.c: Likewise.
6507 * locale/programs/ld-measurement.c: Likewise.
6508 * locale/programs/ld-messages.c: Likewise.
6509 * locale/programs/ld-monetary.c: Likewise.
6510 * locale/programs/ld-name.c: Likewise.
6511 * locale/programs/ld-numeric.c: Likewise.
6512 * locale/programs/ld-paper.c: Likewise.
6513 * locale/programs/ld-telephone.c: Likewise.
6514 * locale/programs/ld-time.c: Likewise.
6515 * locale/programs/linereader.c: Likewise.
6516 * locale/programs/locale.c: Likewise.
6517 * locale/programs/locarchive.c: Likewise.
6518 * locale/programs/locfile.h: Likewise.
6519 * locale/programs/repertoire.c: Likewise.
6520 * locale/programs/simple-hash.c: Likewise.
6521 * locale/programs/simple-hash.h: Likewise.
6522 * malloc/memusage.c: Likewise.
6523 * malloc/memusagestat.c: Likewise.
6524 * nis/nis_defaults.c: Likewise.
6525 * nis/nis_hash.c: Likewise.
6526 * nis/nis_print.c: Likewise.
6527 * nis/nis_xdr.c: Likewise.
6528 * nscd/connections.c: Likewise.
6529 * nscd/hstcache.c: Likewise.
6530 * nscd/nscd_gethst_r.c: Likewise.
6531 * nscd/nscd_getserv_r.c: Likewise.
6532 * nscd/nscd_helper.c: Likewise.
6533 * nscd/servicescache.c: Likewise.
6534 * nss/makedb.c: Likewise.
6535 * nss/nss_db/db-XXX.c: Likewise.
6536 * nss/nss_db/db-initgroups.c: Likewise.
6537 * nss/nss_db/db-netgrp.c: Likewise.
6538 * nss/nss_files/files-network.c: Likewise.
6539 * nss/nss_files/files-parse.c: Likewise.
6540 * posix/bug-regex5.c: Likewise.
6541 * posix/fnmatch_loop.c: Likewise.
6542 * posix/regcomp.c: Likewise.
6543 * posix/regexec.c: Likewise.
6544 * posix/tst-rfc3484-2.c: Likewise.
6545 * posix/tst-rfc3484-3.c: Likewise.
6546 * posix/tst-rfc3484.c: Likewise.
6547 * resolv/nss_dns/dns-canon.c: Likewise.
6548 * resolv/nss_dns/dns-network.c: Likewise.
6549 * resolv/res_init.c: Likewise.
6550 * resolv/res_mkquery.c: Likewise.
6551 * resolv/tst-aton.c: Likewise.
6552 * stdlib/cxa_atexit.c: Likewise.
6553 * stdlib/cxa_finalize.c: Likewise.
6554 * stdlib/gen-fpioconst.c: Likewise.
6555 * stdlib/strtol_l.c: Likewise.
6556 * string/tst-endian.c: Likewise.
6557 * sunrpc/auth_des.c: Likewise.
6558 * sunrpc/clnt_udp.c: Likewise.
6559 * sunrpc/rtime.c: Likewise.
6560 * sunrpc/svcauth_des.c: Likewise.
6561 * sunrpc/xdr.c: Likewise.
6562 * sunrpc/xdr_intXX_t.c: Likewise.
6563 * sunrpc/xdr_rec.c: Likewise.
6564 * sysdeps/generic/ldconfig.h: Likewise.
6565 * sysdeps/generic/ldsodefs.h: Likewise.
6566 * sysdeps/generic/memusage.h: Likewise.
6567 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6570 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6573 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6575 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6577 * sysdeps/posix/getaddrinfo.c: Likewise.
6578 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6579 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6580 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6581 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6582 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6583 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6584 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6585 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6586 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6588 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6589 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6590 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6591 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6592 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6593 * sysdeps/x86_64/dl-tls.h: Likewise.
6594 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6595 * time/alt_digit.c: Likewise.
6596 * time/era.c: Likewise.
6597 * wcsmbs/tst-c16c32-1.c: Likewise.
6598
6599 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6600
6601 * math/libm-test.inc (struct test_sincos_data): New type.
6602 (RUN_TEST_LOOP_sincos): New macro.
6603 (sincos_test_data): New variable.
6604 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6605
6606 2013-05-16 Richard Henderson <rth@redhat.com>
6607
6608 * math/atest-exp2.c (LIMB64): New macro.
6609 (CONSTSZ): New macro.
6610 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6611 (hexdig): Move ...
6612 (print_mpn_fp): ... to function scope.
6613 (read_mpn_hex): Remove.
6614 (get_log2): Remove.
6615 (exp2_mpn): Use mp_log2.
6616 (main): Use mp_exp1.
6617
6618 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6619
6620 * math/libm-test.inc: Remove comment about not testing "inexact"
6621 exceptions.
6622 (INEXACT_EXCEPTION): New macro.
6623 (NO_INEXACT_EXCEPTION): Likewise.
6624 (INVALID_EXCEPTION_OK): Update value.
6625 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6626 (OVERFLOW_EXCEPTION_OK): Likewise.
6627 (UNDERFLOW_EXCEPTION_OK): Likewise.
6628 (IGNORE_ZERO_INF_SIGN): Likewise.
6629 (ERRNO_UNCHANGED): Likewise.
6630 (ERRNO_EDOM): Likewise.
6631 (ERRNO_ERANGE): Likewise.
6632 (test_exceptions): Handle testing "inexact" exceptions.
6633 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6634 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6635 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6636 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6637 INEXACT_EXCEPTION.
6638 (rint_towardzero_test_data): Likewise.
6639 (rint_downward_test_data): Likewise.
6640 (rint_upward_test_data): Likewise.
6641
6642 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6643 with OVERFLOW_EXCEPTION.
6644 (exp10_test_data): Likewise.
6645 (exp2_test_data): Likewise.
6646 (expm1_test_data): Likewise.
6647 (lgamma_test_data): Likewise.
6648 (pow_test_data): Likewise.
6649 (tgamma_test_data): Likewise.
6650 (yn_test_data): Remove duplicate test of overflow.
6651
6652 * math/libm-test.inc (struct test_cc_c_data): New type.
6653 (RUN_TEST_LOOP_cc_c): New macro.
6654 (cpow_test_data): New variable.
6655 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6656
6657 * math/libm-test.inc (struct test_f_L_data): New type.
6658 (RUN_TEST_LOOP_f_L): New macro.
6659 (llrint_test_data): New variable.
6660 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6661 (llrint_tonearest_test_data): New variable.
6662 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6663 (llrint_towardzero_test_data): New variable.
6664 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6665 (llrint_downward_test_data): New variable.
6666 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6667 (llrint_upward_test_data): New variable.
6668 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6669 (llround_test_data): New variable.
6670 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6671
6672 2013-05-13 Peter Collingbourne <pcc@google.com>
6673
6674 * math/atest-exp2.c (get_log2): Remove const attribute.
6675
6676 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6677
6678 * math/libm-test.inc (struct test_f_l_data): New type.
6679 (RUN_TEST_LOOP_f_l): New macro.
6680 (lrint_test_data): New variable.
6681 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6682 (lrint_tonearest_test_data): New variable.
6683 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6684 (lrint_towardzero_test_data): New variable.
6685 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6686 (lrint_downward_test_data): New variable.
6687 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6688 (lrint_upward_test_data): New variable.
6689 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6690 (lround_test_data): New variable.
6691 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6692
6693 2013-05-15 Peter Collingbourne <pcc@google.com>
6694
6695 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6696 (EXTRACT_WORDS64) Use where appropriate.
6697 (INSERT_WORDS64) Likewise.
6698
6699 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6700 constraints with x constraints.
6701 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6702
6703 * malloc/obstack.c (_obstack_compat): Add initializer.
6704
6705 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6706
6707 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6708 si_trapno and add si_addr_lsb to _sifields.sigfault.
6709 (si_trapno): Remove macro.
6710 (si_addr_lsb): Define new macro.
6711 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6712
6713 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6714
6715 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6716 instead of TEST_f_l.
6717 (llrint_test_tonearest): Likewise.
6718 (llrint_test_towardzero): Likewise.
6719 (llrint_test_downward): Likewise.
6720 (llrint_test_upward): Likewise.
6721 (llround_test): Likewise.
6722
6723 * math/libm-test.inc (struct test_f_i_data): Add comment.
6724 (RUN_TEST_LOOP_f_b): New macro.
6725 (RUN_TEST_LOOP_f_b_tg): Likewise.
6726 (finite_test_data): New variable.
6727 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6728 (isfinite_test_data): New variable.
6729 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6730 (isinf_test_data): New variable.
6731 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6732 (isnan_test_data): New variable.
6733 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6734 (isnormal_test_data): New variable.
6735 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6736 (issignaling_test_data): New variable.
6737 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6738 (signbit_test_data): New variable.
6739 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6740
6741 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6742 with INVALID_EXCEPTION.
6743 (acosh_test_data): Likewise.
6744 (asin_test_data): Likewise.
6745 (atanh_test_data): Likewise.
6746 (fmod_test_data): Likewise.
6747 (log_test_data): Likewise.
6748 (log10_test_data): Likewise.
6749 (log2_test_data): Likewise.
6750 (pow_test_data): Likewise.
6751 (sqrt_test_data): Likewise.
6752 (y0_test_data): Likewise.
6753 (y1_test_data): Likewise.
6754 (yn_test_data): Likewise.
6755
6756 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6757 function contents.
6758
6759 * math/libm-test.inc (struct test_ff_i_data): New type.
6760 (RUN_TEST_LOOP_ff_i_tg): New macro.
6761 (isgreater_test_data): New variable.
6762 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6763 (isgreaterequal_test_data): New variable.
6764 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6765 (isless_test_data): New variable.
6766 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6767 (islessequal_test_data): New variable.
6768 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6769 (islessgreater_test_data): New variable.
6770 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6771 (isunordered_test_data): New variable.
6772 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6773
6774 2013-05-14 David S. Miller <davem@davemloft.net>
6775
6776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6777
6778 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6779
6780 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6781
6782 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6783 extra_test to int.
6784 (struct test_f_i_data): Change type of max_ulp to int.
6785
6786 * math/libm-test.inc (test_ffI_f1_data): New type.
6787 (RUN_TEST_LOOP_ffI_f1): New macro.
6788 (remquo_test_data): New variable.
6789 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6790
6791 * setjmp/tst-setjmp-fp.c: New file.
6792 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6793 (link-libm): New variable.
6794 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6795
6796 * math/libm-test.inc (struct test_f_i_data): New type.
6797 (RUN_TEST_LOOP_f_i): New macro.
6798 (RUN_TEST_LOOP_f_i_tg): Likewise.
6799 (fpclassify_test_data): New variable.
6800 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6801 (ilogb_test_data): New variable.
6802 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6803
6804 * math/libm-test.inc (scalbln_test): Correct function name in END
6805 call.
6806
6807 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6808 (RUN_TEST_LOOP_fI_f1): New macro.
6809 (frexp_test_data): New variable.
6810 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6811
6812 * math/libm-test.inc (struct test_fF_f1_data): New type.
6813 (RUN_TEST_LOOP_fF_f1): New macro.
6814 (modf_test_data): New variable.
6815 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6816
6817 * math/libm-test.inc (struct test_f_f1_data): New type.
6818 (RUN_TEST_LOOP_f_f1): New macro.
6819 (gamma_test_data): New variable.
6820 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6821 (lgamma_test_data): New variable.
6822 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6823
6824 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6825
6826 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6827 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6828 (main): Comment "tls" pseudo-hwcap.
6829
6830 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6831
6832 * math/libm-test.inc (struct test_fl_f_data): New type.
6833 (RUN_TEST_LOOP_fl_f): New variable.
6834 (scalbln_test_data): New variable.
6835 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6836
6837 * math/libm-test.inc (struct test_fi_f_data): New type.
6838 (RUN_TEST_LOOP_fi_f): New macro.
6839 (ldexp_test_data): New variable.
6840 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6841 (scalbn_test_data): New variable.
6842 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6843
6844 * math/libm-test.inc (struct test_c_f_data): New type.
6845 (RUN_TEST_LOOP_c_f): New macro.
6846 (cabs_test_data): New variable.
6847 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6848 (carg_test_data): New variable.
6849 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6850 (cimag_test_data): New variable.
6851 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6852 (creal_test_data): New variable.
6853 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6854
6855 * math/libm-test.inc (struct test_if_f_data): New type.
6856 (RUN_TEST_LOOP_if_f): New macro.
6857 (jn_test_data): New variable.
6858 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6859 (yn_test_data): New variable.
6860 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6861
6862 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6863
6864 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865
6866 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6867 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6868
6869 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6870
6871 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6872 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6873 (bench-deps): Add bench-timing.h.
6874 * benchtests-bench-skeleton.c: Include bench-timing.h.
6875 (main): Use TIMING_* macros instead of clock_gettime.
6876 * benchtests/bench-timing.h: New file.
6877
6878 [BZ #14582]
6879 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6880 Renamed from _LIB_VERSION.
6881 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6882
6883 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6884
6885 * math/libm-test.inc (struct test_fff_f_data): New type.
6886 (RUN_TEST_LOOP_fff_f): New macro.
6887 (fma_test_data): New variable.
6888 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6889 (fma_towardzero_test_data): New variable.
6890 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6891 (fma_downward_test_data): New variable.
6892 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6893 (fma_upward_test_data): New variable.
6894 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6895
6896 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6897 (struct test_c_c_data): New type.
6898 (RUN_TEST_LOOP_c_c): New macro.
6899 (cacos_test_data): New variable.
6900 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6901 (cacosh_test_data): New variable.
6902 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6903 (casin_test_data): New variable.
6904 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6905 (casinh_test_data): New variable.
6906 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6907 (catan_test_data): New variable.
6908 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6909 (catanh_test_data): New variable.
6910 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6911 (ccos_test_data): New variable.
6912 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6913 (ccosh_test_data): New variable.
6914 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6915 (cexp_test_data): New variable.
6916 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6917 (clog_test_data): New variable.
6918 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6919 (clog10_test_data): New variable.
6920 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6921 (conj_test_data): New variable.
6922 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6923 (cproj_test_data): New variable.
6924 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6925 (csin_test_data): New variable.
6926 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6927 (csinh_test_data): New variable.
6928 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6929 (csqrt_test_data): New variable.
6930 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6931 (ctan_test_data): New variable.
6932 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6933 (ctan_tonearest_test_data): New variable.
6934 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6935 (ctan_towardzero_test_data): New variable.
6936 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6937 (ctan_downward_test_data): New variable.
6938 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6939 (ctan_upward_test_data): New variable.
6940 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6941 (ctanh_test_data): New variable.
6942 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6943 (ctanh_tonearest_test_data): New variable.
6944 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6945 (ctanh_towardzero_test_data): New variable.
6946 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6947 (ctanh_downward_test_data): New variable.
6948 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6949 (ctanh_upward_test_data): New variable.
6950 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6951 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6952 of BUILD_COMPLEX.
6953
6954 * math/libm-test.inc (struct test_ff_f_data): New type.
6955 (struct test_ff_f_data_nexttoward): Likewise.
6956 (RUN_TEST_LOOP_2_f): New macro.
6957 (RUN_TEST_LOOP_ff_f): Likewise.
6958 (atan2_test_data): New variable.
6959 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6960 (copysign_test_data): New variable.
6961 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6962 (fdim_test_data): New variable.
6963 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6964 (fmax_test_data): New variable.
6965 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6966 (fmin_test_data): New variable.
6967 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6968 (fmod_test_data): New variable.
6969 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6970 (hypot_test_data): New variable.
6971 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6972 (nextafter_test_data): New variable.
6973 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6974 (nexttoward_test_data): New variable.
6975 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6976 (pow_test_data): New variable.
6977 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6978 (pow_tonearest_test_data): New variable.
6979 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6980 (pow_towardzero_test_data): New variable.
6981 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6982 (pow_downward_test_data): New variable.
6983 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6984 (pow_upward_test_data): New variable.
6985 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6986 (remainder_test_data): New variable.
6987 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6988 (scalb_test_data): New variable.
6989 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6990 * sysdeps/i386/fpu/libm-test-ulps: Update.
6991
6992 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6993
6994 * math/libm-test.inc (fma_test): Use max_value instead of local
6995 variable fltmax.
6996 (nextafter_test): Likewise.
6997
6998 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6999 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7000 (acos_downward_test_data): New variable.
7001 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7002 (acos_upward_test_data): New variable.
7003 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7004 (acosh_test_data): New variable.
7005 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7006 (asin_test_data): New variable.
7007 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7008 (asin_tonearest_test_data): New variable.
7009 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7010 (asin_towardzero_test_data): New variable.
7011 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7012 (asin_downward_test_data): New variable.
7013 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7014 (asin_upward_test_data): New variable.
7015 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7016 (asinh_test_data): New variable.
7017 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7018 (atan_test_data): New variable.
7019 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7020 (atanh_test_data): New variable.
7021 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7022 (cbrt_test_data): New variable.
7023 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7024 (ceil_test_data): New variable.
7025 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7026 (cos_test_data): New variable.
7027 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7028 (cos_tonearest_test_data): New variable.
7029 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7030 (cos_towardzero_test_data): New variable.
7031 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7032 (cos_downward_test_data): New variable.
7033 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7034 (cos_upward_test_data): New variable.
7035 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7036 (cosh_test_data): New variable.
7037 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7038 (cosh_tonearest_test_data): New variable.
7039 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7040 (cosh_towardzero_test_data): New variable.
7041 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7042 (cosh_downward_test_data): New variable.
7043 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7044 (cosh_upward_test_data): New variable.
7045 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7046 (erf_test_data): New variable.
7047 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7048 (erfc_test_data): New variable.
7049 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7050 (exp_test_data): New variable.
7051 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7052 (exp_tonearest_test_data): New variable.
7053 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7054 (exp_towardzero_test_data): New variable.
7055 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7056 (exp_downward_test_data): New variable.
7057 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7058 (exp_upward_test_data): New variable.
7059 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7060 (exp10_test_data): New variable.
7061 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7062 (exp2_test_data): New variable.
7063 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7064 (expm1_test_data): New variable.
7065 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7066 (fabs_test_data): New variable.
7067 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7068 (floor_test_data): New variable.
7069 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7070 (j0_test_data): New variable.
7071 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7072 (j1_test_data): New variable.
7073 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7074 (log_test_data): New variable.
7075 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7076 (log10_test_data): New variable.
7077 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7078 (log1p_test_data): New variable.
7079 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7080 (log2_test_data): New variable.
7081 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7082 (logb_test_data): New variable.
7083 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7084 (logb_downward_test_data): New variable.
7085 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7086 (nearbyint_test_data): New variable.
7087 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7088 (rint_test_data): New variable.
7089 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7090 (rint_tonearest_test_data): New variable.
7091 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7092 (rint_towardzero_test_data): New variable.
7093 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7094 (rint_downward_test_data): New variable.
7095 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7096 (rint_upward_test_data): New variable.
7097 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7098 (round_test_data): New variable.
7099 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7100 (sin_test_data): New variable.
7101 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7102 (sin_tonearest_test_data): New variable.
7103 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7104 (sin_towardzero_test_data): New variable.
7105 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7106 (sin_downward_test_data): New variable.
7107 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7108 (sin_upward_test_data): New variable.
7109 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7110 (sinh_test_data): New variable.
7111 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7112 (sinh_tonearest_test_data): New variable.
7113 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7114 (sinh_towardzero_test_data): New variable.
7115 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7116 (sinh_downward_test_data): New variable.
7117 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7118 (sinh_upward_test_data): New variable.
7119 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7120 (sqrt_test_data): New variable.
7121 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7122 (tan_test_data): New variable.
7123 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7124 (tan_tonearest_test_data): New variable.
7125 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7126 (tan_towardzero_test_data): New variable.
7127 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7128 (tan_downward_test_data): New variable.
7129 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7130 (tan_upward_test_data): New variable.
7131 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7132 (tanh_test_data): New variable.
7133 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7134 (tgamma_test_data): New variable.
7135 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7136 (trunc_test_data): New variable.
7137 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7138 (y0_test_data): New variable.
7139 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7140 (y1_test_data): New variable.
7141 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7142 (significand_test_data): New variable.
7143 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7144
7145 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7146
7147 [BZ #12387]
7148 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7149
7150 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7151
7152 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7153
7154 2013-05-10 Andreas Jaeger <aj@suse.de>
7155
7156 [BZ #15448]
7157 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7158 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7159
7160 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7161
7162 * math/gen-libm-test.pl (adjust_arg): New function.
7163 (special_functions): Handle generating output in both functions
7164 and arrays.
7165 (parse_args): Likewise.
7166 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7167 $in_func argument to parse_args.
7168 * math/libm-test.inc (struct test_f_f_data): New type.
7169 (IF_ROUND_INIT_): New macro.
7170 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7171 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7172 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7173 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7174 (ROUND_RESTORE_): Likewise.
7175 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7176 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7177 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7178 (ROUND_RESTORE_FE_UPWARD): Likewise.
7179 (RUN_TEST_LOOP_f_f): New macro.
7180 (acos_test_data): New variable.
7181 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7182 (acos_tonearest_test_data): New variable.
7183 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7184
7185 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7186
7187 * benchtests/bench-skeleton.c (startup): Fix coding style.
7188
7189 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7190
7191 [BZ #6809]
7192 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7193 negative infinity argument.
7194 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7195 negative infinity argument.
7196 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7197 negative infinity argument.
7198 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7199 domain errors.
7200
7201 2013-05-10 Florian Weimer <fweimer@redhat.com>
7202
7203 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7204 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7205 * iconv/iconv_prog.c (main): Likewise.
7206 * locale/programs/charmap-dir.c (charmap_readdir)
7207 (fopen_uncompressed): Likewise.
7208 * locale/programs/locfile.c (siblings_uncached)
7209 (write_locale_data): Use lstat64 instead of lstat.
7210 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7211 stat.
7212
7213 2013-05-10 Andreas Jaeger <aj@suse.de>
7214
7215 [BZ #15395]
7216 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7217 localization.
7218 Include <locale.h>.
7219
7220 2013-05-09 Carlos O'Donell <carlos@redhat.com>
7221
7222 * elf/dl-close.c (_dl_close_worker): Add comments.
7223
7224 2013-05-09 Joseph Myers <joseph@codesourcery.com>
7225
7226 [BZ #15359]
7227 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7228 high part of pi/2.
7229 (__ieee754_rem_pio2l): Update comments.
7230
7231 [BZ #15429]
7232 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7233 high part of pi/2.
7234 (__ieee754_rem_pio2l): Update comments.
7235
7236 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7237 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7238
7239 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7240 M_PI_4l.
7241
7242 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7243 (M_PI_34_LOG10El): Likewise.
7244 (M_PI2_LOG10El): Likewise.
7245 (M_PI4_LOG10El): Likewise.
7246 (M_PI_LOG10El): Likewise.
7247
7248 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7249
7250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7251
7252 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7253
7254 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7255 (MINUS_ZERO_INIT): Likewise.
7256 (PLUS_INFTY_INIT): Likewise.
7257 (MINUS_INFTY_INIT): Likewise.
7258 (QNAN_VALUE_INIT): Likewise.
7259 (MAX_VALUE_INIT): Likewise.
7260 (MIN_VALUE_INIT): Likewise.
7261 (MIN_SUBNORM_VALUE_INIT): Likewise.
7262 (plus_zero): Initialize with PLUS_ZERO_INIT.
7263 (minus_zero): Initialize with MINUS_ZERO_INIT.
7264 (plus_infty): Initialize with PLUS_INFTY_INIT.
7265 (minus_infty): Initialize with MINUS_INFTY_INIT.
7266 (qnan_value): Initialize with QNAN_VALUE_INIT.
7267 (max_value): Initialize with MAX_VALUE_INIT.
7268 (min_value): Initialize with MIN_VALUE_INIT.
7269 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7270
7271 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7272 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7273 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7274 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7275
7276 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7277 (RUN_TEST_2_f): Likewise.
7278 (RUN_TEST_ff_f): Likewise.
7279 (RUN_TEST_fi_f): Likewise.
7280 (RUN_TEST_fl_f): Likewise.
7281 (RUN_TEST_fff_f): Likewise.
7282 (RUN_TEST_c_f): Likewise.
7283 (RUN_TEST_f_f1): Likewise.
7284 (RUN_TEST_fF_f1): Likewise.
7285 (RUN_TEST_fI_f1): Likewise.
7286 (RUN_TEST_ffI_f1): Likewise.
7287 (RUN_TEST_c_c): Likewise.
7288 (RUN_TEST_cc_c): Likewise.
7289 (RUN_TEST_f_i): Likewise.
7290 (RUN_TEST_f_i_tg): Likewise.
7291 (RUN_TEST_ff_i_tg): Likewise.
7292 (RUN_TEST_f_b): Likewise.
7293 (RUN_TEST_f_b_tg): Likewise.
7294 (RUN_TEST_f_l): Likewise.
7295 (RUN_TEST_f_L): Likewise.
7296 (RUN_TEST_sincos): Likewise.
7297 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7298 whether to show exceptions. Do not include ");\n" in return
7299 value.
7300 (special_functions): Output call to RUN_TEST_sincos instead of
7301 check_float calls. Update calls to new_test.
7302 (parse_args): Output call to single RUN_TEST_* macro instead of
7303 check_* calls and other assignments. Update calls to new_test.
7304
7305 [BZ #2546]
7306 [BZ #2560]
7307 [BZ #5159]
7308 [BZ #15426]
7309 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7310 input to result for tgamma overflow.
7311 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7312 (gamma_coeff): New variable.
7313 (NCOEFF): New macro.
7314 (gamma_positive): New function.
7315 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7316 underflow here. Use gamma_positive instead of exp (lgamma) for
7317 other arguments.
7318 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7319 (gamma_coeff): New variable.
7320 (NCOEFF): New macro.
7321 (gammaf_positive): New function.
7322 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7323 underflow here. Use gamma_positive instead of exp (lgamma) for
7324 other arguments.
7325 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7326 (gamma_coeff): New variable.
7327 (NCOEFF): New macro.
7328 (gammal_positive): New function.
7329 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7330 underflow here. Use gamma_positive instead of exp (lgamma) for
7331 other arguments.
7332 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7333 (gamma_coeff): New variable.
7334 (NCOEFF): New macro.
7335 (gammal_positive): New function.
7336 (__ieee754_gammal_r): Handle positive infinity, overflow and
7337 underflow here. Handle NaN the same as positive infinity. Remove
7338 check x < 0xffffffff for negative integers. Use gamma_positive
7339 instead of exp (lgamma) for other arguments.
7340 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7341 (gamma_coeff): New variable.
7342 (NCOEFF): New macro.
7343 (gammal_positive): New function.
7344 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7345 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7349 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7350 * sysdeps/generic/math_private.h (__gamma_productf): New
7351 prototype.
7352 (__gamma_product): Likewise.
7353 (__gamma_productl): Likewise.
7354 * math/Makefile (libm-calls): Add gamma_product.
7355 * math/libm-test.inc (tgamma_test): Add more tests.
7356 * sysdeps/i386/fpu/libm-test-ulps: Update.
7357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7358
7359 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7360
7361 * benchtests/bench-skeleton.c (main): Preheat CPU.
7362
7363 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7364
7365 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7366
7367 2013-05-07 Roland McGrath <roland@hack.frob.com>
7368
7369 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7370 and _dl_skip_args_internal.
7371
7372 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7373
7374 * manual/message.texi (Message Translation): Talk about users.
7375 Message to key mapping impacts design.
7376
7377 2013-05-06 Roland McGrath <roland@hack.frob.com>
7378
7379 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7380
7381 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7382
7383 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7384 * sysdeps/wordsize-64/glob64.c: ... here.
7385
7386 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7387 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7388 New macros.
7389
7390 * debug/getlogin_r_chk.c: Moved to ...
7391 * login/getlogin_r_chk.c: ... here.
7392 * debug/Makefile (routines): Move getlogin_r_chk to ...
7393 * login/Makefile (routines): ... here.
7394 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7395 * login/Versions (libc: GLIBC_2.4): ... here.
7396
7397 * io/poll.c (__poll): Renamed from poll.
7398 Add libc_hidden_def.
7399 (poll): Define as weak alias.
7400
7401 * debug/ptsname_r_chk.c: Moved to ...
7402 * login/ptsname_r_chk.c: ... here.
7403 * debug/Makefile (routines): Move ptsname_r_chk to ...
7404 * login/Makefile (routines): ... here.
7405 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7406 * login/Versions (libc: GLIBC_2.4): ... here.
7407
7408 * posix/getlogin.c: Moved to ...
7409 * login/getlogin.c: ... here.
7410 * posix/getlogin_r.c: Moved to ...
7411 * login/getlogin_r.c: ... here.
7412 * posix/getlogin_r.c: Moved to ...
7413 * login/getlogin_r.c: ... here.
7414 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7415 * login/Makefile (routines): ... here.
7416 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7417 * login/Versions (libc: GLIBC_2.0): ... here.
7418
7419 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7420 (setrlimit): Define as weak alias.
7421
7422 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7423 Call __ names for open, ftruncate, and close.
7424 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7425 (truncate): Define as weak alias.
7426
7427 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7428
7429 * math/gen-libm-test.pl (parse_args): Initialize x before each
7430 test of frexp, modf and remquo.
7431
7432 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7433 test signgam value.
7434
7435 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7436
7437 [BZ #15418]
7438 [BZ #15419]
7439 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7440 internal tests.
7441 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7442
7443 2013-05-06 Roland McGrath <roland@hack.frob.com>
7444
7445 * elf/dl-writev.h: New file.
7446 * elf/dl-misc.c: Include it.
7447 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7448 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7449
7450 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7451
7452 * math/libm-test.inc (noXFails): Remove variable.
7453 (noXPasses): Likewise.
7454 (BUILD_COMPLEX_INT): Remove macro.
7455 (print_screen): Remove xfail argument.
7456 (print_screen_max_error): Likewise.
7457 (update_stats): Likewise.
7458 (print_max_error): Likewise. Update calls to other affected
7459 functions.
7460 (print_complex_max_error): Likewise.
7461 (test_single_exception): Update calls to print_screen.
7462 (test_single_errno): Likewise.
7463 (check_float_internal): Remove xfail argument. Update calls to
7464 other affected functions.
7465 (check_float): Likewise.
7466 (check_complex): Likewise.
7467 (check_int): Likewise.
7468 (check_long): Likewise.
7469 (check_bool): Likewise.
7470 (check_longlong): Likewise.
7471 (main): Don't print noXFails and noXPasses.
7472 * math/gen-libm-test.pl (top level): Don't mention expected
7473 failure handling in comment.
7474 (new_test): Don't handle expected failures.
7475 (parse_args): Don't mention expected failure handling in comment.
7476 (generate_testfile): Don't handle expected failures.
7477 (parse_ulps): Likewise.
7478 (print_ulps_file): Likewise.
7479 (get_failure): Remove function.
7480 (output_test): Don't handle expected failures.
7481 * make/README.libm-test: Don't mention expected failure handling.
7482
7483 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7484 (minus_zero): Likewise.
7485 (plus_infty): Likewise.
7486 (minus_infty): Likewise.
7487 (qnan_value): Likewise.
7488 (max_value): Likewise.
7489 (min_value): Likewise.
7490 (min_subnorm_value): Likewise.
7491 (initialize): Do not initialize those variables dynamically.
7492
7493 2013-05-03 Roland McGrath <roland@hack.frob.com>
7494
7495 * io/open.c (__open_2): Moved to ...
7496 * io/open_2.c: ... this new file.
7497 * io/open64.c (__open64_2): Moved to ...
7498 * io/open64_2.c: ... this new file.
7499 * io/openat.c (__openat_2): Moved to ...
7500 * io/openat_2.c: ... this new file.
7501 * io/openat64.c (__openat64_2): Moved to ...
7502 * io/openat64_2.c: ... this new file.
7503 * io/Makefile (routines): Add them.
7504 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7505 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7506 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7507 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7508 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7509 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7510 (__openat64): Add hidden_ver.
7511 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7512 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7513
7514 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7515 Separately conditionalize setting of GLRO(dl_sysinfo) so
7516 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7517 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7518
7519 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7520
7521 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7522 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7523 definition.
7524 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7525 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7526 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7527 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7528 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7529
7530 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7531
7532 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7533 test signgam value.
7534
7535 * math/libm-test.inc (hypot_test): Do not use
7536 IGNORE_ZERO_INF_SIGN.
7537
7538 2013-05-03 Andreas Jaeger <aj@suse.de>
7539
7540 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7541 Linux 3.9.
7542 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7543 (PF_MAX): Adjust for VSOCK change.
7544
7545 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7546
7547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7548
7549 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7550
7551 [BZ #15264]
7552 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7553 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7554 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7555
7556 2013-05-02 David S. Miller <davem@davemloft.net>
7557
7558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7559
7560 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7561
7562 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7563
7564 2013-05-01 Roland McGrath <roland@hack.frob.com>
7565
7566 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7567
7568 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7569
7570 [BZ #14952]
7571 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7572 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7573 Use __attribute__ ((__gnu_inline__)).
7574 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7575 Don't use __attribute__ ((__gnu_inline__)).
7576
7577 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7578
7579 [BZ #15423]
7580 * math/s_catan.c (__catan): Handle small real or imaginary part of
7581 input specially to avoid spurious underflow.
7582 * math/s_catanf.c (__catanf): Likewise.
7583 * math/s_catanh.c (__catanh): Likewise.
7584 * math/s_catanhf.c (__catanhf): Likewise.
7585 * math/s_catanhl.c (__catanhl): Likewise.
7586 * math/s_catanl.c (__catanl): Likewise.
7587 * math/libm-test.inc (catan_test): Add more tests.
7588 (catanh_test): Likewise.
7589 * sysdeps/i386/fpu/libm-test-ulps: Update.
7590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7591
7592 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7593
7594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7595
7596 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7597
7598 [BZ #15416]
7599 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7600 accurately for denominator in atan2.
7601 * math/s_catanf.c (__catanf): Likewise.
7602 * math/s_catanh.c (__catanh): Likewise.
7603 * math/s_catanhf.c (__catanhf): Likewise.
7604 * math/s_catanhl.c (__catanhl): Likewise.
7605 * math/s_catanl.c (__catanl): Likewise.
7606 * math/libm-test.inc (catan_test): Add more tests.
7607 (catanh_test): Likewise.
7608 * sysdeps/i386/fpu/libm-test-ulps: Update.
7609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610
7611 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7612
7613 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7614
7615 * benchtests/Makefile (bench): Remove slow benchmarks.
7616 * benchtests/atan-inputs: Add slow benchmark inputs.
7617 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7618 (BENCH_FUNC): Accept variant offset.
7619 (VARIANT): Define.
7620 * benchtests/bench-skeleton.c (main): Run benchmark for each
7621 variant.
7622 * benchtests/cos-inputs: Add slow benchmark inputs.
7623 * benchtests/exp-inputs: Likewise.
7624 * benchtests/pow-inputs: Likewise.
7625 * benchtests/sin-inputs: Likewise.
7626 * benchtests/slowatan-inputs: Remove.
7627 * benchtests/slowatan.c: Remove.
7628 * benchtests/slowcos-inputs: Remove.
7629 * benchtests/slowcos.c: Remove.
7630 * benchtests/slowexp-inputs: Remove.
7631 * benchtests/slowexp.c: Remove.
7632 * benchtests/slowpow-inputs: Remove.
7633 * benchtests/slowpow.c: Remove.
7634 * benchtests/slowsin-inputs: Remove.
7635 * benchtests/slowsin.c: Remove.
7636 * benchtests/slowtan-inputs: Remove.
7637 * benchtests/slowtan.c: Remove.
7638 * benchtests/tan-inputs: Add slow benchmark inputs.
7639 * scripts/bench.pl: Parse comments and directives.
7640
7641 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7642 in CPPFLAGS.
7643 ($(objpfx)bench-%.c): Remove *-ITER.
7644 * benchtests/bench-modf.c: Remove definition of ITER.
7645 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7646 (main): Loop for DURATION seconds instead of fixed number of
7647 iterations.
7648 * scripts/bench.pl: Don't expect iterations in parameters.
7649
7650 2013-04-29 Roland McGrath <roland@hack.frob.com>
7651
7652 * io/fchdir.c (__fchdir): Renamed from fchdir.
7653 (fchdir): Define as weak alias.
7654
7655 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7656
7657 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7658 (ERRNO_EDOM): Likewise.
7659 (ERRNO_ERANGE): Likewise.
7660 (noErrnoTests): New variable.
7661 (init_max_error): Set errno to 0.
7662 (test_single_errno): New function.
7663 (test_errno): Likewise.
7664 (check_float_internal): Call test_errno. Set errno to 0.
7665 (check_complex): Refer to errno tests in comment.
7666 (check_int): Call test_errno. Set errno to 0.
7667 (check_long): Likewise.
7668 (check_bool): Likewise.
7669 (check_longlong): Likewise.
7670 (cos_test): Use ERRNO_* flags for errno tests instead of
7671 check_int.
7672 (expm1_test): Likewise.
7673 (fmod_test): Likewise.
7674 (ilogb_test): Likewise.
7675 (lgamma_test): Likewise.
7676 (pow_test): Likewise.
7677 (remainder_test): Likewise.
7678 (sin_test): Likewise.
7679 (tan_test): Likewise.
7680 (yn_test): Likewise.
7681 (initialize): Set errno to 0.
7682 (main): Print number of errno tests.
7683 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7684
7685 2013-04-29 Andreas Jaeger <aj@suse.de>
7686
7687 [BZ #15084]
7688 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7689 and RES_USEVC.
7690
7691 [BZ #15085]
7692 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7693 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7694 unimplemented.
7695
7696 [BZ #15380]
7697 * stdlib/random.c (__initstate): Return NULL if
7698 __initstate fails.
7699
7700 [BZ #15086]
7701 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7702 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7703 RES_SNGLKUPREOP.
7704
7705 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7706
7707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7708
7709 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7710
7711 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7712 of individual tests.
7713 (casin_test): Likewise.
7714 (casinh_test): Likewise.
7715
7716 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7717
7718 [BZ #15409]
7719 * math/s_catan.c (__catan): Handle arguments with large real or
7720 imaginary part separately without squaring.
7721 * math/s_catanf.c (__catanf): Likewise.
7722 * math/s_catanh.c (__catanh): Likewise.
7723 * math/s_catanhf.c (__catanhf): Likewise.
7724 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7725 and redefine.
7726 (__catanhl): Handle arguments with large real or imaginary part
7727 separately without squaring.
7728 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7729 and redefine.
7730 (__catanl): Handle arguments with large real or imaginary part
7731 separately without squaring.
7732 * math/libm-test.inc (catan_test): Add more tests.
7733 (catanh_test): Likewise.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7736
7737 2013-04-27 Andreas Jaeger <aj@suse.de>
7738
7739 [BZ #15007]
7740 * stdlib/stdlib.h: Update guards for qecvt.
7741 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7742 <stdlib.h>.
7743
7744 2013-04-27 Allan McRae <allan@archlinux.org>
7745
7746 * sysdeps/i386/fpu/libm-test-ulps: Update.
7747
7748 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7749
7750 [BZ #15406]
7751 * math/s_catan.c: Include <float.h>.
7752 (__catan): Ensure underflow exception occurs for underflowed
7753 result.
7754 * math/s_catanf.c: Include <float.h>.
7755 (__catanf): Ensure underflow exception occurs for underflowed
7756 result.
7757 * math/s_catanh.c: Include <float.h>.
7758 (__catanh): Ensure underflow exception occurs for underflowed
7759 result.
7760 * math/s_catanhf.c: Include <float.h>.
7761 (__catanhf): Ensure underflow exception occurs for underflowed
7762 result.
7763 * math/s_catanhl.c: Include <float.h>.
7764 (__catanhl): Ensure underflow exception occurs for underflowed
7765 result.
7766 * math/s_catanl.c: Include <float.h>.
7767 (__catanl): Ensure underflow exception occurs for underflowed
7768 result.
7769 * math/libm-test.inc (catan_test): Add more tests.
7770 (catanh_test): Likewise.
7771
7772 [BZ #15405]
7773 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7774 underflowed result.
7775 * math/s_ccoshf.c (__ccoshf): Likewise.
7776 * math/s_ccoshl.c (__ccoshl): Likewise.
7777 * math/s_csin.c (__csin): Likewise.
7778 * math/s_csinf.c (__csinf): Likewise.
7779 * math/s_csinh.c (__csinh): Likewise.
7780 * math/s_csinhf.c (__csinhf): Likewise.
7781 * math/s_csinhl.c (__csinhl): Likewise.
7782 * math/s_csinl.c (__csinl): Likewise.
7783 * math/libm-test.inc (ccos_test): Add more tests.
7784 (ccosh_test): Likewise.
7785 (csin_test): Likewise.
7786 (csinh_test): Likewise.
7787
7788 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7789
7790 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7791 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7792 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7793 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7794 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7795 powerpc/power5+/fpu folders.
7796 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7797
7798
7799 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7800
7801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7802
7803 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7804
7805 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7806 additions to variable.
7807 [$(config-machine) = x86_64] (modules-names): Likewise.
7808 ($(objpfx)tst-audit3): Remove dependency.
7809 ($(objpfx)tst-audit3.out): Likewise.
7810 ($(objpfx)tst-audit4): Likewise.
7811 ($(objpfx)tst-audit4.out): Likewise.
7812 ($(objpfx)tst-audit5): Likewise.
7813 ($(objpfx)tst-audit5.out): Likewise.
7814 ($(objpfx)tst-audit6): Likewise.
7815 ($(objpfx)tst-audit6.out): Likewise.
7816 ($(objpfx)tst-audit7): Likewise.
7817 ($(objpfx)tst-audit7.out): Likewise.
7818 (tst-audit3-ENV): Remove variable.
7819 (tst-audit4-ENV): Likewise.
7820 (tst-audit5-ENV): Likewise.
7821 (tst-audit6-ENV): Likewise.
7822 (tst-audit7-ENV): Likewise.
7823 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7824 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7825 addition to variable.
7826 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7827 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7828 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7829 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7830 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7831 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7832 tst-audit3, tst-audit4 and tst-audit5.
7833 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7834 tst-audit6 and tst-audit7.
7835 [$(subdir) = elf] (modules-names): Add audit modules for those
7836 tests.
7837 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7838 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7839 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7840 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7841 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7842 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7843 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7844 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7845 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7846 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7847 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7848 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7849 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7850 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7851 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7852 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7853 Likewise.
7854 [$(subdir) = elf && $(config-cflags-avx) = yes]
7855 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7856 [$(subdir) = elf && $(config-cflags-avx) = yes]
7857 (CFLAGS-tst-auditmod4a.c): Likewise.
7858 [$(subdir) = elf && $(config-cflags-avx) = yes]
7859 (CFLAGS-tst-auditmod4b.c): Likewise.
7860 [$(subdir) = elf && $(config-cflags-avx) = yes]
7861 (CFLAGS-tst-auditmod6b.c): Likewise.
7862 [$(subdir) = elf && $(config-cflags-avx) = yes]
7863 (CFLAGS-tst-auditmod6c.c): Likewise.
7864 [$(subdir) = elf && $(config-cflags-avx) = yes]
7865 (CFLAGS-tst-auditmod7b.c): Likewise.
7866 * elf/tst-audit3.c: Move to ...
7867 * sysdeps/x86_64/tst-audit3.c: ... here.
7868 * elf/tst-audit4.c: Move to ...
7869 * sysdeps/x86_64/tst-audit4.c: ... here.
7870 * elf/tst-audit5.c: Move to ...
7871 * sysdeps/x86_64/tst-audit5.c: ... here.
7872 * elf/tst-audit6.c: Move to ...
7873 * sysdeps/x86_64/tst-audit6.c: ... here.
7874 * elf/tst-audit7.c: Move to ...
7875 * sysdeps/x86_64/tst-audit7.c: ... here.
7876 * elf/tst-auditmod3a.c: Move to ...
7877 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7878 * elf/tst-auditmod3b.c: Move to ...
7879 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7880 * elf/tst-auditmod4a.c: Move to ...
7881 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7882 * elf/tst-auditmod4b.c: Move to ...
7883 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7884 * elf/tst-auditmod5a.c: Move to ...
7885 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7886 * elf/tst-auditmod5b.c: Move to ...
7887 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7888 * elf/tst-auditmod6a.c: Move to ...
7889 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7890 * elf/tst-auditmod6b.c: Move to ...
7891 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7892 * elf/tst-auditmod6c.c: Move to ...
7893 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7894 * elf/tst-auditmod7a.c: Move to ...
7895 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7896 * elf/tst-auditmod7b.c: Move to ...
7897 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7898
7899 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7900
7901 [BZ #15366]
7902 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7903 define unconditionally.
7904 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7905 define unconditionally.
7906 (INT8_C, INT16_C, etc.): Likewise.
7907
7908 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7909
7910 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7911 __ehdr_start with hidden visibility.
7912
7913 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7914
7915 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7916
7917 * math/libm-test.inc (cos_test): Use accurate hex constants.
7918 (sincost_test): Likewise.
7919
7920 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7921
7922 * math/libm-test.inc (catan_test): Add more tests.
7923 (catanh_test): Likewise.
7924
7925 * math/s_catanf.c (__catanf): Use suffixed floating-point
7926 constants.
7927 * math/s_catanhf.c (__catanhf): Likewise.
7928 * math/s_catanhl.c (__catanhl): Likewise.
7929 * math/s_catanl.c (__catanl): Likewise.
7930
7931 [BZ #15394]
7932 * math/s_catan.c (__catan): Calculate imaginary part of result
7933 with log1p not log unless computing log of number close to 0.
7934 * math/s_catanf.c (__catanf): Likewise.
7935 * math/s_catanl.c (__catanl): Likewise.
7936 * math/s_catanh.c (__catanh): Calculate real part of result with
7937 log1p not log unless computing log of number close to 0.
7938 * math/s_catanhf.c (__catanhf): Likewise.
7939 * math/s_catanhl.c (__catanhl): Likewise.
7940 * math/libm-test.inc (catan_test): Add more tests.
7941 (catanh_test): Likewise.
7942 * sysdeps/i386/fpu/libm-test-ulps: Update.
7943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7944
7945 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7946
7947 * benchtests/Makefile: Mention files in which fast and slow
7948 paths of math functions are implemented.
7949
7950 2013-04-23 Roland McGrath <roland@hack.frob.com>
7951
7952 * sysdeps/posix/timespec_get.c: New file.
7953
7954 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7955
7956 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7957 POWER.
7958 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7959 for POWER.
7960 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7961 powerpc/power5/fpu folders.
7962 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7963 * benchtests/Makefile: Add modf testcase.
7964 * benchtests/bench-modf.c: New file: Benchmark test for mo
7965
7966 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7967
7968 [BZ #14888]
7969 * time/Makefile (tests): Add tst-strptime-whitespace.
7970 * time/strptime_l.c (get_number): Use ISSPACE.
7971 (__strptime_internal): Likewise.
7972 * time/tst-strptime-whitespace.c: New test case.
7973
7974 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7975
7976 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7977 member.
7978 (_nss_files_init): Set it here.
7979
7980 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7981
7982 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7983 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7984 unsigned.
7985
7986 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7987
7988 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7989
7990 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7991
7992 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7993 size just once.
7994
7995 2013-04-21 David S. Miller <davem@davemloft.net>
7996
7997 * po/ru.po: Update Russion translation from translation project.
7998
7999 2013-04-17 Adam Conrad <adconrad@0c3.net>
8000
8001 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8002 and setfsgid.
8003
8004 2013-04-17 Carlos O'Donell <carlos@redhat.com>
8005
8006 * configure.in: Remove i386 configure warning. Remove i386 case.
8007 * configure: Regenerate.
8008 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8009 Add example to error message.
8010 * sysdeps/i386/configure: Regenerate.
8011
8012 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8013
8014 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8015 slowtan.
8016 * benchtests/cos-inputs: New file.
8017 * benchtests/slowcos-inputs: New file.
8018 * benchtests/slowcos.c: New file.
8019 * benchtests/slowtan-inputs: New file.
8020 * benchtests/slowtan.c: New file.
8021 * benchtests/tan-inputs: New file.
8022
8023 2013-04-16 Roland McGrath <roland@hack.frob.com>
8024
8025 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8026 considered kosher.
8027
8028 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8029
8030 * benchtests/Makefile: Include cppflags-iterator.mk to add
8031 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8032
8033 * Makefile.in (bench-clean): New target.
8034 * benchtests/Makefile (bench-clean): Likewise.
8035
8036 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8037
8038 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8039
8040 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8041
8042 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8043
8044 2013-04-15 Andreas Schwab <schwab@suse.de>
8045
8046 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8047 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8048 * nscd/pwdcache.c (cache_addpw): Likewise.
8049 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8050 more than recsize.
8051
8052 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8053
8054 * benchtests/Makefile (bench): Write all output to
8055 bench-out.tmp together.
8056
8057 2013-04-15 Andreas Schwab <schwab@suse.de>
8058
8059 * nscd/nscd.c (main): Don't fork again after closing files.
8060
8061 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8062
8063 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8064
8065 * benchtests/Rules (bench-deps): Collect dependencies into a
8066 single variable. Add Makefile to dependencies.
8067 ($(objpfx)bench-%.c): Depend on bench-deps.
8068
8069 2013-04-12 Roland McGrath <roland@hack.frob.com>
8070 Xavier Roche <roche+kml2@exalead.com>
8071
8072 [BZ #15361]
8073 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8074 just that it's a file descriptor.
8075 * manual/llio.texi (Synchronizing AIO Operations): Update description
8076 for EBADF error from aio_fsync.
8077
8078 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8079
8080 * Rules (bench): Move target definition...
8081 * benchtests/Makefile: ... here.
8082
8083 2013-04-11 Carlos O'Donell <carlos@redhat.com>
8084
8085 * math/libm-test.inc (cos_test): Fix PI/2 test.
8086 (sincos_test): Likewise.
8087 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8088 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8089
8090 2013-04-11 Andreas Schwab <schwab@suse.de>
8091
8092 [BZ #13988]
8093 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8094 accept exponent character only when digits were seen.
8095 * stdio-common/Makefile (tests): Add bug26.
8096 * stdio-common/bug26.c: New file.
8097
8098 [BZ #14293]
8099 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8100 non-freeable.
8101
8102 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8103
8104 * Makeconfig (rtld-prefix): Define built linker prefix.
8105 * Rules (run-bench): Use it.
8106 * math/Makefile (run-regen-ulps): Likewise.
8107
8108 * Rules (bench): Remove eval.
8109
8110 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8111 Roland McGrath <roland@hack.frob.com>
8112 Ondrej Bilka <neleai@seznam.cz>
8113
8114 [BZ #15346]
8115 * time/getdate.c: Include ctype.h and alloca.h.
8116 (__getdate_r): Trim leading and trailing spaces of input.
8117 * time/tst-getdate.c (tests): Add tests with leading and
8118 trailing spaces.
8119
8120 2013-04-08 Roland McGrath <roland@hack.frob.com>
8121
8122 [BZ #14280]
8123 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8124 when computing value.
8125
8126 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8127
8128 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8129 Use testrun.sh to run libm tests.
8130
8131 [BZ #15309]
8132 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8133
8134 2013-04-06 Marko Myllynen <myllynen@redhat.com>
8135
8136 [BZ #15264]
8137 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8138
8139 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8140
8141 * Makefile.in (regen-ulps): New target.
8142 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8143 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8144 [ifneq (no,$(PERL)] (regen-ulps): New target.
8145 [ifeq (no,$(PERL)] (regen-ulps): New target.
8146 * math/libm-test.inc (ulps_file_name): Define.
8147 (output_dir): New variable.
8148 (options): Add "output-dir" option.
8149 (parse_opt): Handle 'o' case.
8150 (main): If output_dir is non-NULL use it as a prefix
8151 otherwise use "".
8152 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8153
8154 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8155
8156 [BZ #10060, #10062]
8157 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8158 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8159 fail configure if __sync_val_compare_and_swap is not inlined.
8160 * sysdeps/i386/configure: Regenerate.
8161 * configure.in: Build for i686 when configured for i386.
8162 * configure: Regenerate.
8163 * README: Remove i386 reference.
8164
8165 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8166
8167 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8169
8170 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8171
8172 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8173 (lmsnanval): New variables.
8174 (F): Add conversion tests.
8175 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8176 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8177
8178 * stdio-common/tstdiomisc.c (F): Properly collect individual
8179 tests' results.
8180
8181 [BZ #14686, #15336]
8182 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8183 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8184 Instead, use input NaN values or generate a qNaN by arithmetic
8185 operation. Also fix bugs to comply with the standard.
8186 * math/libm-test.inc (remainder_test): Add more tests.
8187
8188 [BZ #15335, #15342]
8189 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8191 input NaN values or generate a qNaN by arithmetic operation.
8192
8193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8194 unreachable code.
8195
8196 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8197 definitions.
8198
8199 2013-04-03 Joseph Myers <joseph@codesourcery.com>
8200
8201 [BZ #14478]
8202 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8203 underflowed result.
8204 * math/s_cexpf.c (__cexpf): Likewise.
8205 * math/s_cexpl.c (__cexpl): Likewise.
8206 * math/libm-test.inc (cexp_test): Add more tests.
8207
8208 2013-04-03 Andreas Schwab <schwab@suse.de>
8209
8210 [BZ #15330]
8211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8212 order arrays from heap if bigger than alloca cutoff.
8213
8214 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8215
8216 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8217 (SNAN_TESTS_double): Refer to GCC PR56831.
8218 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8219 GCC PR56828.
8220
8221 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8222
8223 * Rules (bench): Move bench.out after the run is complete.
8224
8225 * Rules (bench): Echo currently running benchmark.
8226
8227 * benchtests/Makefile (bench): Add atan and slowatan.
8228 * benchtests/atan-inputs: New file.
8229 * benchtests/slowatan-inputs: New file.
8230 * benchtests/slowatan.c: New file.
8231
8232 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8233 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8234 its value.
8235
8236 [BZ #15305]
8237 * sysdeps/unix/sysv/linux/kernel-features.h
8238 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8239 __ASSUME_XFS_RESTRICTED_CHOWN.
8240 * sysdeps/unix/sysv/linux/pathconf.c
8241 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8242 Save and restore errno.
8243
8244 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8245
8246 [BZ #15327]
8247 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8248 arguments using __kernel_casinh.
8249 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8250 arguments using __kernel_casinhf.
8251 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8252 arguments using __kernel_casinhl.
8253 * math/libm-test.inc (cacosh_test): Add more tests.
8254 * sysdeps/i386/fpu/libm-test-ulps: Update.
8255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8256
8257 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8258
8259 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8261
8262 * bench/Makefile (bench): Add sin and slowsin.
8263 * benchtests/sin-inputs: New file.
8264 * benchtests/slowsin-inputs: New file.
8265 * benchtests/slowsin.c: New file.
8266
8267 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8268 (bench): Add slowexp and slowpow.
8269 (exp-ITER): Increase iterations.
8270 (pow-ITER): Likewise.
8271 * benchtests/exp-inputs: Change input.
8272 * benchtests/pow-inputs: Likewise.
8273 * benchtests/slowexp-inputs: New file.
8274 * benchtests/slowexp.c: New file.
8275 * benchtests/slowpow-inputs: New file.
8276 * benchtests/slowpow.c: New file.
8277
8278 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8279
8280 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8281 instructions.
8282 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8283 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8284 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8285 * benchtests/Makefile: Add rint benchtest.
8286 * benchtests/rint-inputs: Input for rint benchtest.
8287
8288 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8289
8290 * Versions.def (libm): Add GLIBC_2.18.
8291 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8292 hidden libm prototypes.
8293 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8294 * math/Makefile (libm-calls): Add s_issignaling.
8295 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8296 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8297 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8298 declaration.
8299 * math/math.h [__USE_GNU] (issignaling): New macro.
8300 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8301 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8303 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8306 * manual/arith.texi (issignaling): New section.
8307 * manual/libm-err-tab.pl (@all_functions): Update comment.
8308 * math/gen-libm-test.pl (parse_args): Apply special handling for
8309 issignaling.
8310 * math/libm-test.inc (print_float, issignaling_test): New
8311 functions.
8312 (check_float_internal): Add issignaling checks.
8313 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8314 default definition.
8315 * sysdeps/powerpc/math-tests.h: New file.
8316 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8317 tests.
8318 * math/test-snan.c (TEST_FUNC): Likewise.
8319
8320 2013-03-30 David S. Miller <davem@davemloft.net>
8321
8322 * po/de.po: Update from translation team.
8323
8324 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8325
8326 [BZ #10357]
8327 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8328 imaginary part less than 1.0 and real part less than 0.5
8329 specially.
8330 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8331 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8332 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8333 (cacos_test): Add more tests.
8334 (casin_test): Likewise.
8335 (casinh_test): Likewise.
8336 * sysdeps/i386/fpu/libm-test-ulps: Update.
8337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8338
8339 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8340
8341 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8342 ONE with its value.
8343
8344 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8345 (__pow_mp): Replace ONE and MONE with their values.
8346 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8347 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8348 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8349 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8350 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8351 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8352
8353 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8354
8355 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8356 (__pow_mp): Replace ZERO and MZERO with their values.
8357 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8358 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8361 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8362 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8363 (__sqr): Likewise.
8364
8365 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8366
8367 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8368
8369 2013-03-28 Roland McGrath <roland@hack.frob.com>
8370
8371 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8372 Declare with __attribute__ ((weak)).
8373 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8374 Call __call_tls_dtors only if it's not NULL.
8375
8376 2013-03-28 Roland McGrath <roland@hack.frob.com>
8377
8378 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8379 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8380 magic __ehdr_start linker symbol if it's defined.
8381 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8382 them up here if it was already done.
8383
8384 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8385 (_dl_aux_init): Use const in cast when setting it.
8386 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8387 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8388 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8389
8390 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8391 Declare them here.
8392 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8393 * csu/libc-tls.c: Nor here.
8394 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8395
8396 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8397 (__libc_message): Never call vsyslog.
8398
8399 2013-03-28 Alan Modra <amodra@gmail.com>
8400
8401 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8402 Define as empty.
8403 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8404 Likewise.
8405
8406 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8407
8408 [BZ #15214]
8409 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8410 underflow.
8411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8412
8413 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8414
8415 [BZ #15304]
8416 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8417 Don't add gid passed as argument.
8418
8419 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8420
8421 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8422
8423 [BZ #15307]
8424 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8425 imaginary part between 1.0 and 1.5 and real part less than 0.5
8426 specially.
8427 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8428 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8429 * math/libm-test.inc (cacos_test): Add more tests.
8430 (casin_test): Likewise.
8431 (casinh_test): Likewise.
8432 * sysdeps/i386/fpu/libm-test-ulps: Update.
8433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8434
8435 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8436
8437 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8438 constants.
8439 (norm): Likewise.
8440 (denorm): Likewise.
8441 (__dbl_mp): Likewise.
8442 (add_magnitudes): Likewise.
8443 (sub_magnitudes): Likewise.
8444 (__add): Likewise.
8445 (__sub): Likewise.
8446 (__mul): Likewise.
8447 (__sqr): Likewise.
8448 (__inv): Likewise.
8449 (__dvd): Likewise.
8450
8451 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8452 commented code.
8453 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8454 (__dubcos): Likewise.
8455 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8456 (__ieee754_acos): Likewise.
8457 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8458 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8459 (__exp1): Likewise.
8460 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8462 (log1): Likewise.
8463 (my_log2): Likewise.
8464 (checkint): Likewise.
8465 * sysdeps/ieee754/dbl-64/e_remainder.c
8466 (__ieee754_remainder): Likewise.
8467 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8469 (bsloww): Likewise.
8470 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8471
8472 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8473 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8474 MANTISSA_STORE_T to store computations on mantissa. Use
8475 macros for rounding and division.
8476 (denorm): Likewise.
8477 (__dbl_mp): Likewise.
8478 (add_magnitudes): Likewise.
8479 (sub_magnitudes): Likewise.
8480 (__mul): Likewise.
8481 (__sqr): Likewise.
8482 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8483 powers of two in terms of TWOPOW macro.
8484 (mp_no): Make type of mantissa as MANTISSA_T.
8485 [!RADIXI]: Define RADIXI.
8486 [!TWO52]: Define TWO52.
8487 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8488
8489 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8490
8491 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8492 llroundl symbol when building for PPC32.
8493
8494 2013-03-24 Mark H Weaver <mhw@netris.org>
8495
8496 * manual/arith.texi (Normalization Functions): Fix prototypes for
8497 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8498
8499 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8500
8501 [BZ #13889]
8502 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8503 high value to check if expl overflow.
8504 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8505 to check for underflow and overflow.
8506 * math/libm-test.inc: Add exp test.
8507
8508 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8509
8510 [BZ #11120]
8511 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8512 with NOT_IN_libc.
8513
8514 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8515
8516 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8517 symbol.
8518
8519 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8520
8521 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8522 wrap blocks consisting of several statements.
8523
8524 * sysdeps/generic/math-tests.h: New file.
8525 * sysdeps/i386/fpu/math-tests.h: Likewise.
8526 * math/test-snan.c: Include it.
8527 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8528
8529 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8530
8531 [BZ #15285]
8532 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8533 (__ieee754_j0l): Do not improve calculations using cos of twice
8534 input for inputs above LDBL_MAX / 2.0L.
8535 (__ieee754_y0l): Likewise.
8536 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8537 (__ieee754_j1l): Do not improve calculations using cos of twice
8538 input for inputs above LDBL_MAX / 2.0L.
8539 (__ieee754_y1l): Likewise.
8540 * math/libm-test.inc (j0_test): Add another test.
8541 (j1_test): Likewise.
8542 (y0_test): Likewise.
8543 (y1_test): Likewise.
8544 * sysdeps/i386/fpu/libm-test-ulps: Update.
8545
8546 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8547
8548 * Rules ($(objpfx)bench-%.c): Include code from a C source
8549 file.
8550
8551 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8552
8553 [BZ #15287]
8554 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8555 imaginary part 1.0 and real part less than 0.5 specially.
8556 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8557 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8558 * math/libm-test.inc (cacos_test): Add more tests.
8559 (casin_test): Likewise.
8560 (casinh_test): Likewise.
8561 * sysdeps/i386/fpu/libm-test-ulps: Update.
8562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8563
8564 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8565
8566 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8567 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8568
8569 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8570
8571 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8572 * config.make.in (config-cflags-sse4): Remove variable.
8573 (config-cflags-avx): Likewise.
8574 (config-cflags-sse2avx): Likewise.
8575 (config-cflags-novzeroupper): Likewise.
8576 (config-asflags-i686): Likewise.
8577 (have-mfma4): Likewise.
8578 (have-as-vis3): Likewise.
8579 (MIG): Likewise.
8580 * configure.in (MIG): Do not AC_SUBST.
8581 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8582 (libc_cv_cc_sse4): Do not AC_SUBST.
8583 (libc_cv_cc_avx): Likewise.
8584 (libc_cv_cc_sse2avx): Likewise.
8585 (libc_cv_cc_novzeroupper): Likewise.
8586 (libc_cv_cc_fma4): Likewise.
8587 (libc_cv_as_i686): Likewise.
8588 (libc_cv_sparc_as_vis3): Likewise.
8589 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8590 LIBC_CONFIG_VAR.
8591 (config-asflags-i686): Likewise.
8592 (config-cflags-avx): Likewise.
8593 (config-cflags-sse2avx): Likewise.
8594 (have-mfma4): Likewise.
8595 (config-cflags-novzeroupper): Likewise.
8596 * sysdeps/mach/configure.in (MIG): Likewise.
8597 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8598 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8599 LIBC_CONFIG_VAR.
8600 (config-cflags-avx): Likewise.
8601 (config-cflags-sse2avx): Likewise.
8602 (have-mfma4): Likewise.
8603 (config-cflags-novzeroupper): Likewise.
8604 * configure: Regenerated.
8605 * sysdeps/i386/configure: Likewise.
8606 * sysdeps/mach/configure: Likewise.
8607 * sysdeps/sparc/configure: Likewise.
8608 * sysdeps/x86_64/configure: Likewise.
8609
8610 2013-03-20 Roland McGrath <roland@hack.frob.com>
8611
8612 [BZ #14812]
8613 * locale/programs/localedef.c (options): Put N_ translation marker
8614 on argument names, not just descriptions.
8615
8616 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8617
8618 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8619
8620 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8621
8622 [BZ #14176]
8623 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8624
8625 2013-03-19 Roland McGrath <roland@hack.frob.com>
8626
8627 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8628 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8629 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8630 [!BEFORE_ABORT] (before_abort): New function.
8631 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8632 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8633 (writev_for_fatal): New function.
8634 (WRITEV_FOR_FATAL): New macro; call that.
8635 (backtrace_and_maps): New function.
8636 (BEFORE_ABORT): New macro; call that.
8637 (struct str_list): Type removed.
8638 (__libc_message, __libc_fatal): Functions removed.
8639 Include <sysdeps/posix/libc_fatal.c> instead.
8640
8641 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8642
8643 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8644 constants.
8645 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8646 double constants.
8647
8648 2013-03-19 Andreas Schwab <schwab@suse.de>
8649
8650 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8651 * sysdeps/gnu/configure: Regenerate.
8652
8653 * configure.in: Substitute libc_cv_rtlddir.
8654 * configure: Regenerate.
8655 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8656 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8657 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8658 * elf/Makefile (install-others, CFLAGS-interp.c)
8659 (ldso_install, common-ldd-rewrite): Likewise.
8660 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8661 $(inst_slibdir)/$(rtld-installed-name).
8662 * scripts/rellns-sh: Add -p option.
8663 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8664 for source.
8665
8666 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8667
8668 * manual/nptl.texi: Renamed to ...
8669 * manual/threads.texi: ... this.
8670 * manual/Makefile (chapters): Update.
8671
8672 2013-03-18 Roland McGrath <roland@hack.frob.com>
8673
8674 [BZ #14812]
8675 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8676 on argument names, not just descriptions.
8677 * malloc/memusagestat.c (options): Likewise.
8678 * nss/getent.c (options): Likewise.
8679
8680 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8681
8682 [BZ #14812]
8683 * iconv/iconv_prog.c (options): Put N_ translation marker
8684 on argument names, not just descriptions.
8685 * iconv/iconvconfig.c (options): Likewise.
8686
8687 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8688
8689 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8690 implementation which is faster on all x86_64 architectures.
8691 Tested on AMD, Intel Nehalem, SNB, IVB.
8692 * sysdeps/x86_64/strnlen.S: Likewise.
8693
8694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8695 Remove all multiarch strlen and strnlen versions.
8696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8697 Remove strlen and strnlen related parts.
8698
8699 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8700 Inline strlen part.
8701 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8702
8703 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8704 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8705 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8706 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8707 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8708 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8709
8710 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8711
8712 * manual/memory.texi (Malloc Tunable Parameters):
8713 Sort parameters alphabetically. Add comments for missing entries.
8714
8715 2013-03-17 David S. Miller <davem@davemloft.net>
8716
8717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8718
8719 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8720
8721 [BZ #15283]
8722 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8723 for arguments at most half maximum finite value.
8724 * math/libm-test.inc (j0_test): Add more tests.
8725 (j1_test): Likewise.
8726 (y0_test): Likewise.
8727 (y1_test): Likewise.
8728 * sysdeps/i386/fpu/libm-test-ulps: Update.
8729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8730
8731 [BZ #14155]
8732 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8733 1 / x and functions P and Q for arguments above 0x1p256L.
8734 (__ieee754_y0l): Likewise.
8735 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8736 (__ieee754_y1l): Likewise.
8737 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8738 (j1_test): Likewise.
8739 (y0_test): Likewise.
8740 (y1_test): Likewise.
8741
8742 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8743
8744 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8745 variable.
8746
8747 2013-03-15 Roland McGrath <roland@hack.frob.com>
8748
8749 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8750 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8751 zero since it's initialized to EXEC_PAGESIZE.
8752
8753 * sysdeps/unix/sysv/linux/ldsodefs.h
8754 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8755 * sysdeps/generic/ldsodefs.h: ... here.
8756
8757 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8758
8759 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8760
8761 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8762 math/test-snan.c.
8763 * math/test-snan.c: Renamed from
8764 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8765 * math/Makefile (tests): Add test-snan.
8766 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8767 test-powerpc-snan.
8768
8769 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8770 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8771 functions.
8772 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8773 __builtin_nan family of functions.
8774 * math/libm-test.inc (initialize): Initialize qnan_value with
8775 __builtin_nan family of functions.
8776 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8777 Remove variables.
8778 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8779 Remove functions.
8780 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8781 storage class. Initialize qNaN_var and sNaN_var with
8782 __builtin_nan and __builtin_nans families of functions,
8783 respectively.
8784
8785 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8786 (sqrt_test): Remove duplicate test with qNaN input.
8787 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8788 (round_test, signbit_test, significand_test): Note missing +/-Inf
8789 as well as qNaN tests.
8790
8791 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8792 qNaN_var. Fix a few strings, too.
8793 * math/libm-test.inc (nan_value): Rename to qnan_value.
8794 * math/gen-libm-test.pl (%beautify): Adjust to that.
8795 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8796 * math/test-misc.c (main): Likewise.
8797 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8798 to __qnan_bytes, and __qnan_union, respectively.
8799 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8800 Likewise.
8801 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8802 and lqnanval, respectively.
8803 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8804 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8805 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8806 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8807
8808 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8809 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8810 doubles.
8811
8812 * math/test-misc.c (main): Fix copy'n'pastos.
8813 * misc/tst-efgcvt.c (special): Likewise.
8814
8815 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8816 Remove declarations.
8817
8818 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8819
8820 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8821 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8822 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8823 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8824
8825 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8826
8827 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8828 macro to return vdso values correctly in IFUNC implementations.
8829 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8830 Optimization by using IFUNC.
8831
8832 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8833 Richard Henderson <rth@redhat.com>
8834 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8835
8836 * Makefile.in (bench): New target.
8837 * NEWS: Mention the benchmark framework.
8838 * Rules (bench): Likewise.
8839 (binaries-bench): Generate binaries for functions to
8840 benchmark.
8841 * benchtests/Makefile: New makefile for benchmark tests.
8842 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8843 programs.
8844 * benchtests/exp-inputs: New input file for EXP function.
8845 * benchtests/pow-inputs: New input file for POW function.
8846 * scripts/bench.pl: New script to generate source files for
8847 benchmark programs.
8848
8849 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8850
8851 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8852 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8853 computations on mantissa. Use macros for rounding and
8854 division.
8855 (denorm): Likewise.
8856 (__dbl_mp): Likewise.
8857 (add_magnitudes): Likewise.
8858 (sub_magnitudes): Likewise.
8859 (__mul): Likewise.
8860 (__sqr): Likewise.
8861 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8862 powers of two in terms of TWOPOW macro.
8863 (mp_no): Make type of mantissa as MANTISSA_T.
8864 [!RADIXI]: Define RADIXI.
8865 [!TWO52]: Define TWO52.
8866 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8867
8868 * manual/nptl.texi (cindex): Modify threads to pthreads.
8869
8870 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8871
8872 * sysdeps/x86_64/preconfigure: Regenerated.
8873
8874 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8875
8876 [BZ #14155]
8877 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8878 0x1p28 and above.
8879 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8880 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8881 0x1p28 and above.
8882 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8883 * math/libm-test.inc (j0_test): Do not allow one spurious
8884 underflow exception.
8885 (y1_test): Likewise.
8886
8887 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8888
8889 * manual/Makefile (chapters): Add nptl.
8890 * manual/debug.texi (Debugging Support): Add link to Threads
8891 chapter.
8892 * manual/nptl.texi: New file.
8893
8894 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8895
8896 2013-03-14 Petr Baudis <pasky@ucw.cz>
8897
8898 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8899 for non-NULL pointer before the memory validity test. Pointed
8900 out by Holger Brunck <holger.brunck@keymile.com>.
8901
8902 2013-03-13 Andreas Schwab <schwab@suse.de>
8903
8904 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8905 instead of .os.
8906
8907 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8908
8909 * timezone/zic.c: Update from tzcode 2013b.
8910
8911 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8912
8913 * manual/install.texi (Configuring and compiling):
8914 Mention i686 and i586.
8915 * INSTALL: Regenerate.
8916
8917 2013-03-12 Roland McGrath <roland@hack.frob.com>
8918
8919 * sysdeps/init_array/elf-init.c: New file.
8920 * csu/elf-init.c
8921 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8922 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8923
8924 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8925 __gmon_start__ as global, but as static with a .preinit_array pointer.
8926 * sysdeps/init_array/gmon-start.c: New file. Use that.
8927 * sysdeps/init_array/crti.S: New file, empty except for comments.
8928 * sysdeps/init_array/crtn.S: Likewise.
8929
8930 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8931
8932 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8933 definining bcopy.
8934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8935 Remove Prefer_SSE_for_memop.
8936 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8937 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8938 HAS_PREFER_SSE_FOR_MEMOP.
8939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8940 memset-x86-64.
8941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8942 Remove bzero, memset ifunc support.
8943 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8944 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8945 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8946 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8947
8948 2013-03-11 Andreas Schwab <schwab@suse.de>
8949
8950 [BZ #15234]
8951 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8952 by SHLIB_COMPAT.
8953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8954 (GLIBC_2.16): Remove pthread_atfork.
8955
8956 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8957
8958 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8959 (ptestcases.h): Likewise.
8960
8961 2013-03-08 Roland McGrath <roland@hack.frob.com>
8962
8963 * Makeconfig ($(common-objpfx)config.status): Depend on
8964 sysdeps/*/preconfigure{,.in} too.
8965
8966 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8967
8968 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8969 (__free_hook): Use void * instead of __malloc_ptr_t.
8970 (__malloc_hook): Likewise.
8971 (__realloc_hook): Likewise.
8972 (__memalign_hook): Likewise.
8973 (__after_morecore_hook): Likewise.
8974 * malloc/arena.c (save_malloc_hook): Likewise.
8975 (save_free_hook): Likewise.
8976 * malloc/hooks.c (malloc_hook_ini): Likewise.
8977 (realloc_hook_ini): Likewise.
8978 (memalign_hook_ini): Likewise.
8979 * malloc/malloc.c (malloc_hook_ini): Likewise.
8980 (realloc_hook_ini): Likewise.
8981 (memalign_hook_ini): Likewise.
8982 (__free_hook): Likewise.
8983 (__malloc_hook): Likewise.
8984 (__realloc_hook): Likewise.
8985 (__memalign_hook): Likewise.
8986 (__libc_malloc): Likewise.
8987 (__libc_free): Likewise.
8988 (__libc_realloc): Likewise.
8989 (__libc_memalign): Likewise.
8990 (__libc_valloc): Likewise.
8991 (__libc_pvalloc): Likewise.
8992 (__libc_calloc): Likewise.
8993 (__posix_memalign): Likewise.
8994 * malloc/morecore.c (__sbrk): Likewise.
8995 (__default_morecore): Likewise.
8996
8997 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8998
8999 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9000 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9001 __malloc_ptrdiff_t.
9002
9003 * malloc/malloc.h (__malloc_size_t): Remove macro.
9004 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9005 __malloc_size_t.
9006 (old_memalign_hook): Likewise.
9007 (old_realloc_hook): Likewise.
9008 (struct hdr): Likewise.
9009 (flood): Likewise.
9010 (mallochook): Likewise.
9011 (memalignhook): Likewise.
9012 (reallochook): Likewise.
9013 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9014 (tr_old_realloc_hook): Likewise.
9015 (tr_old_memalign_hook): Likewise.
9016 (tr_mallochook): Likewise.
9017 (tr_reallochook): Likewise.
9018 (tr_memalignhook): Likewise.
9019
9020 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9021
9022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9023 default_ldbl_pack and using as default implementation.
9024 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9025 implementation.
9026 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9027 redundant definition.
9028 (ldbl_insert_mantissa): Likewise.
9029 (ldbl_canonicalize): Likewise.
9030 (ldbl_nearbyint): Likewise.
9031 (ldbl_pack): Rename to ldbl_pack_ppc.
9032 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9033 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9034 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9035
9036 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9037
9038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9039 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9040 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9041 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9044 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9045 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9046
9047 2013-03-07 Andreas Jaeger <aj@suse.de>
9048
9049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9050 bits/mman-linux.h.
9051
9052 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9053
9054 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9055 Include mpa.h and declare __MPEXP.
9056 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9057 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9058 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9059 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9060 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9061 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9062 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9063
9064 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9065 (__slowpow): Use long double EXPL and LOGL functions to
9066 compute POW.
9067 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9068 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9069 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9070 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9071 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9072 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9073
9074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9075 intermediate variable to calculate exponent.
9076 (__sqr): Likewise.
9077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9078 Likewise.
9079 (__sqr): Likewise.
9080
9081 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9082 [!NO__SQR]: Define __sqr.
9083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9084 and NO__SQR. Remove all code except __mul and __sqr. Include
9085 sysdeps/ieee754/dbl-64/mpa.c.
9086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9087
9088 [BZ #12723]
9089 * posix/Makefile (tests): Add tst-pathconf.
9090 * posix/tst-pathconf.c: New test case.
9091 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9092 _PC_PIPE_BUF.
9093 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9094
9095 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
9096
9097 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9098
9099 2013-03-06 Andreas Jaeger <aj@suse.de>
9100
9101 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9102 definition via __MAP_ANONYMOUS.
9103
9104 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9105 it's not part of Linux headers.
9106
9107 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9108 (MAP_HUGE_MASK): Define.
9109
9110 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9111 Define.
9112 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9114 Define.
9115 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9116 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9117 Define.
9118 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9119 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9120 Define.
9121 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9122
9123 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9124 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9125 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9126 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9127 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9128 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9129
9130 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9131 Handle f2fs.
9132
9133 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9134 Handle f2fs and efivarfs.
9135
9136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9137 f2fs.
9138
9139 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9140 (EFIVARFS_MAGIC): Add.
9141 (F2FS_LINK_MAX): Add.
9142
9143 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9144
9145 * stdio-common/vfprintf.c: Replace __builtin_expect with
9146 __glibc_unlikely.
9147
9148 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9149
9150 [BZ #13550]
9151 * sysdeps/generic/bp-sym.h: Remove file.
9152 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9153 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9154 <bp-sym.h> and <bp-asm.h>.
9155 (__longjmp): Don't use BP_SYM.
9156 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9157 and <bp-asm.h>.
9158 (memcpy): Don't use BP_SYM.
9159 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9160 <bp-sym.h> and <bp-asm.h>.
9161 (memcpy): Don't use BP_SYM.
9162 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9163 <bp-asm.h>.
9164 (memcpy): Don't use BP_SYM.
9165 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9166 <bp-asm.h>.
9167 (memset): Don't use BP_SYM.
9168 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9169 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9170 (__bzero): Don't use BP_SYM.
9171 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9172 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9173 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9174 <bp-sym.h> and <bp-asm.h>.
9175 (memcmp): Don't use BP_SYM. Remove comment about bounded
9176 pointers.
9177 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9178 <bp-sym.h> and <bp-asm.h>.
9179 (memcpy): Don't use BP_SYM.
9180 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9181 <bp-sym.h> and <bp-asm.h>.
9182 (memset): Don't use BP_SYM.
9183 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9184 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9185 (__bzero): Don't use BP_SYM.
9186 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9187 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9188 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9189 <bp-sym.h> and <bp-asm.h>.
9190 (strncmp): Don't use BP_SYM. Remove comment about bounded
9191 pointers.
9192 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9193 <bp-sym.h> and <bp-asm.h>.
9194 (memcpy): Don't use BP_SYM.
9195 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9196 <bp-sym.h> and <bp-asm.h>.
9197 (memset): Don't use BP_SYM.
9198 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9199 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9200 (__bzero): Don't use BP_SYM.
9201 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9202 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9203 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9204 <bp-sym.h> and <bp-asm.h>.
9205 (__memchr): Don't use BP_SYM.
9206 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9207 <bp-sym.h> and <bp-asm.h>.
9208 (memcmp): Don't use BP_SYM. Remove comment about bounded
9209 pointers.
9210 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9211 <bp-sym.h> and <bp-asm.h>.
9212 (memcpy): Don't use BP_SYM.
9213 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9214 <bp-sym.h> and <bp-asm.h>.
9215 (__mempcpy): Don't use BP_SYM.
9216 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9217 <bp-sym.h> and <bp-asm.h>.
9218 (__memrchr): Don't use BP_SYM.
9219 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9220 <bp-sym.h> and <bp-asm.h>.
9221 (memset): Don't use BP_SYM.
9222 (__bzero): Likewise.
9223 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9224 <bp-sym.h> and <bp-asm.h>.
9225 (__rawmemchr): Don't use BP_SYM.
9226 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9227 <bp-sym.h> and <bp-asm.h>.
9228 (__STRCMP): Don't use BP_SYM.
9229 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9230 <bp-sym.h> and <bp-asm.h>.
9231 (strchr): Don't use BP_SYM.
9232 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9233 <bp-sym.h> and <bp-asm.h>.
9234 (__strchrnul): Don't use BP_SYM.
9235 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9236 <bp-sym.h> and <bp-asm.h>.
9237 (strlen): Don't use BP_SYM.
9238 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9239 <bp-sym.h> and <bp-asm.h>.
9240 (strncmp): Don't use BP_SYM. Remove comment about bounded
9241 pointers.
9242 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9243 <bp-sym.h> and <bp-asm.h>.
9244 (__strnlen): Don't use BP_SYM.
9245 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9246 <bp-sym.h> and <bp-asm.h>.
9247 (__GI__setjmp): Don't use BP_SYM.
9248 (_setjmp): Likewise.
9249 (__sigsetjmp): Likewise.
9250 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9251 (L(start_addresses)): Don't use BP_SYM.
9252 (_start): Likewise.
9253 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9254 <bp-asm.h>.
9255 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9256 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9257 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9258 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9259 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9260 <bp-asm.h>.
9261 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9262 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9263 about bounded pointers.
9264 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9265 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9266 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9267 <bp-asm.h>.
9268 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9269 about bounded pointers. Remove GKM FIXME comments.
9270 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9271 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9272 <bp-asm.h>.
9273 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9274 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9275 Remove GKM FIXME comments.
9276 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9277 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9278 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9279 <bp-asm.h>.
9280 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9281 about bounded pointers. Remove GKM FIXME comment.
9282 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9283 and <bp-asm.h>.
9284 (strncmp): Don't use BP_SYM. Remove comment about bounded
9285 pointers.
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9287 <bp-sym.h> and <bp-asm.h>.
9288 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9290 <bp-sym.h> and <bp-asm.h>.
9291 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9292 comment.
9293
9294 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9295
9296 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9297 call free(NULL).
9298
9299 2013-03-05 David S. Miller <davem@davemloft.net>
9300
9301 * po/es.po: Update from translation team.
9302
9303 2013-03-05 Andreas Jaeger <aj@suse.de>
9304
9305 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9306 <bits/mman-linux.h>.
9307 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9308 is fine.
9309 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9310 <bits/mman-linux.h> to end of file.
9311 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9312 is fine.
9313 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9314 <bits/mman-linux.h> to end of file.
9315 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9316 is fine.
9317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9318 <bits/mman-linux.h> to end of file.
9319
9320 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9321 (MCL_CURRENT, MCL_FUTURE): Define here.
9322
9323 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9324
9325 [BZ #15232]
9326 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9327 attribute_hidden.
9328 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9329
9330 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9331
9332 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9333 fourth parameter needed for rt_sigprocmask syscall.
9334 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9335 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9336 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9337 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9338 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9339 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9340
9341 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9342
9343 [BZ #13550]
9344 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9345 comment about bounded pointers.
9346 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9347 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9348
9349 2013-03-04 Andreas Jaeger <aj@suse.de>
9350
9351 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9352 common definitions.
9353
9354 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9355 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9356 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9357 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9358 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9359 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9360
9361 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9362
9363 [BZ #15055]
9364 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9365 __ieee754_sqrl instead of __sqrl.
9366
9367 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9368
9369 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9370 * sysdeps/powerpc/fpu_control.h: ... here.
9371 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9372 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9373 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9374 * sysdeps/powerpc/bits/mathinline.h: ... here.
9375
9376 2013-03-01 Roland McGrath <roland@hack.frob.com>
9377
9378 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9379 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9380 to just [NEED_DL_SYSINFO_DSO].
9381 * elf/dl-support.c: Likewise.
9382 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9383 * elf/rtld.c (dl_main): Likewise.
9384 * elf/setup-vdso.h (setup_vdso): Likewise.
9385 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9386 * sysdeps/unix/sysv/linux/dl-sysdep.c
9387 (_dl_discover_osversion): Likewise.
9388
9389 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9390
9391 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9392 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9393
9394 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9395
9396 * NEWS: Mention libm performance improvements and non-x86 PI
9397 futex support.
9398
9399 * csu/libc-start.c (__pthread_initialize_minimal): Change
9400 function arguments.
9401 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9402
9403 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9404
9405 [BZ #13550]
9406 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9407 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9408 <bp-sym.h> and <bp-asm.h>.
9409 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9410 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9411 and <bp-asm.h>.
9412 (memcpy): Don't use BP_SYM.
9413 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9414 <bp-asm.h>.
9415 (__mpn_add_n): Don't use BP_SYM.
9416 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9417 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9418 and <bp-asm.h>.
9419 (__mpn_addmul_1): Don't use BP_SYM.
9420 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9421 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9422 <bp-sym.h>.
9423 (_setjmp): Don't use BP_SYM.
9424 (__novmx_setjmp): Likewise.
9425 (__GI__setjmp): Likewise.
9426 (__vmx_setjmp): Likewise.
9427 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9428 <bp-sym.h>.
9429 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9430 (__bzero): Don't use BP_SYM.
9431 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9432 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9433 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9434 <bp-sym.h> and <bp-asm.h>.
9435 (memcpy): Don't use BP_SYM.
9436 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9437 <bp-sym.h> and <bp-asm.h>.
9438 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9439 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9440 <bp-sym.h> and <bp-asm.h>.
9441 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9442 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9443 <bp-asm.h>.
9444 (__mpn_lshift): Don't use BP_SYM.
9445 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9446 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9447 <bp-asm.h>.
9448 (memset): Don't use BP_SYM.
9449 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9450 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9451 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9452 <bp-asm.h>.
9453 (__mpn_mul_1): Don't use BP_SYM.
9454 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9455 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9456 <bp-sym.h> and <bp-asm.h>.
9457 (memcmp): Don't use BP_SYM.
9458 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9459 <bp-sym.h> and <bp-asm.h>.
9460 (memcpy): Don't use BP_SYM.
9461 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9462 <bp-sym.h> and <bp-asm.h>.
9463 (memset): Don't use BP_SYM.
9464 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9465 <bp-sym.h> and <bp-asm.h>.
9466 (strncmp): Don't use BP_SYM.
9467 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9468 <bp-sym.h> and <bp-asm.h>.
9469 (memcpy): Don't use BP_SYM.
9470 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9471 <bp-sym.h> and <bp-asm.h>.
9472 (memset): Don't use BP_SYM.
9473 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9474 <bp-sym.h> and <bp-asm.h>.
9475 (__memchr): Don't use BP_SYM.
9476 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9477 <bp-sym.h> and <bp-asm.h>.
9478 (memcmp): Don't use BP_SYM.
9479 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9480 <bp-sym.h> and <bp-asm.h>.
9481 (memcpy): Don't use BP_SYM.
9482 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9483 <bp-sym.h> and <bp-asm.h>.
9484 (__mempcpy): Don't use BP_SYM.
9485 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9486 <bp-sym.h> and <bp-asm.h>.
9487 (__memrchr): Don't use BP_SYM.
9488 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9489 <bp-sym.h> and <bp-asm.h>.
9490 (memset): Don't use BP_SYM.
9491 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9492 <bp-sym.h> and <bp-asm.h>.
9493 (__rawmemchr): Don't use BP_SYM.
9494 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9495 <bp-sym.h> and <bp-asm.h>.
9496 (__STRCMP): Don't use BP_SYM.
9497 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9498 <bp-sym.h> and <bp-asm.h>.
9499 (strchr): Don't use BP_SYM.
9500 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9501 <bp-sym.h> and <bp-asm.h>.
9502 (__strchrnul): Don't use BP_SYM.
9503 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9504 <bp-sym.h> and <bp-asm.h>.
9505 (strlen): Don't use BP_SYM.
9506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9507 <bp-sym.h> and <bp-asm.h>.
9508 (strncmp): Don't use BP_SYM.
9509 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9510 <bp-sym.h> and <bp-asm.h>.
9511 (__strnlen): Don't use BP_SYM.
9512 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9513 <bp-asm.h>.
9514 (__mpn_rshift): Don't use BP_SYM.
9515 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9516 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9517 <bp-sym.h> and <bp-asm.h>.
9518 (__sigsetjmp): Don't use BP_SYM.
9519 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9520 (L(start_addresses)): Don't use BP_SYM.
9521 (_start): Likewise.
9522 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9523 <bp-asm.h>.
9524 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9525 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9526 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9527 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9528 <bp-asm.h>.
9529 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9530 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9531 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9532 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9533 <bp-asm.h>.
9534 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9535 comments.
9536 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9537 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9538 <bp-asm.h>.
9539 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9540 FIXME comments.
9541 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9542 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9543 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9544 <bp-asm.h>.
9545 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9546 comment.
9547 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9548 and <bp-asm.h>.
9549 (strncmp): Don't use BP_SYM,
9550 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9551 <bp-asm.h>.
9552 (__mpn_sub_n): Don't use BP_SYM.
9553 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9554 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9555 and <bp-asm.h>.
9556 (__mpn_submul_1): Don't use BP_SYM.
9557 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9559 <bp-sym.h> and <bp-asm.h>.
9560 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9562 <bp-sym.h> and <bp-asm.h>.
9563 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9564 comment.
9565
9566 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9567
9568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9569 Use ZK to minimize writes to Z.
9570 (sub_magnitudes): Simplify code a bit.
9571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9572 Use ZK to minimize writes to Z.
9573 (sub_magnitudes): Simplify code a bit.
9574
9575 2013-02-27 Roland McGrath <roland@hack.frob.com>
9576
9577 * csu/gmon-start.c: Add special exception to license text.
9578
9579 2013-02-27 Richard Henderson <rth@redhat.com>
9580
9581 * scripts/config.guess: Update from config.git.
9582 * scripts/config.sub: Likewise.
9583
9584 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9585
9586 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9587
9588 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9589
9590 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9591
9592 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9593
9594 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9595
9596 2013-02-26 Roland McGrath <roland@hack.frob.com>
9597
9598 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9599 [$(build-shared = yes].
9600
9601 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9602
9603 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9604 (__mul): Reduce iterations for calculating mantissa.
9605
9606 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9607 MPTWO.
9608 (__mpranred): Likewise.
9609
9610 [BZ #15160]
9611 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9612 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9613
9614 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9615
9616 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9617 Define __attribute__.
9618
9619 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9620
9621 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9622 unused.
9623 * posix/regex_internal.h (__attribute): Remove.
9624 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9625 (re_string_context_at): Likewise.
9626 (bitset_not): Use __attribute__ and mark function as possibly
9627 unused.
9628 (bitset_merge): Likewise.
9629 (bitset_mask): Likewise.
9630 (re_string_char_size_at): Likewise.
9631 (re_string_wchar_at): Likewise.
9632 (re_string_elem_size_at): Likewise.
9633
9634 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9635
9636 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9637 code.
9638 (cc32): Likewise.
9639
9640 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9641 (__acr): Likewise.
9642 (__cpy): Likewise.
9643 (norm): Likewise.
9644 (denorm): Likewise.
9645 (__dbl_mp): Likewise.
9646 (add_magnitudes): Likewise.
9647 (sub_magnitudes): Likewise.
9648 (__mul): Likewise.
9649 (__inv): Likewise.
9650
9651 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9652 style.
9653
9654 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9655 style.
9656
9657 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9658 code.
9659
9660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9661 up changes with default code.
9662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9663 Likewise.
9664
9665 2013-02-24 Allan McRae <allan@archlinux.org>
9666
9667 * manual/socket.texi (The Internet Namespace): Order menu items
9668 to match that in the file.
9669
9670 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9671 node listing of the info page menu.
9672
9673 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9674
9675 [BZ #13550]
9676 * sysdeps/i386/bp-asm.h: Remove file.
9677 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9678 (PARMS): Do not use macros from bp-asm.h.
9679 (S1): Likewise.
9680 (S2): Likewise.
9681 (SIZE): Likewise.
9682 (__mpn_add_n): Do not use BP_SYM
9683 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9684 "bp-asm.h".
9685 (PARMS): Do not use macros from bp-asm.h.
9686 (S1): Likewise.
9687 (SIZE): Likewise.
9688 (__mpn_addmul_1): Do not use BP_SYM
9689 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9690 "bp-asm.h".
9691 (PARMS): Do not use macros from bp-asm.h.
9692 (SIGMSK): Likewise.
9693 (_setjmp): Likewise. Do not use BP_SYM.
9694 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9695 "bp-asm.h".
9696 (PARMS): Do not use macros from bp-asm.h.
9697 (SIGMSK): Likewise.
9698 (setjmp): Likewise. Do not use BP_SYM.
9699 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9700 "bp-asm.h".
9701 (PARMS): Do not use macros from bp-asm.h.
9702 (__frexp): Do not use BP_SYM.
9703 (frexp): Likewise.
9704 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9705 "bp-asm.h".
9706 (PARMS): Do not use macros from bp-asm.h.
9707 (__frexpf): Do not use BP_SYM.
9708 (frexpf): Likewise.
9709 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9710 "bp-asm.h".
9711 (PARMS): Do not use macros from bp-asm.h.
9712 (__frexpl): Do not use BP_SYM.
9713 (frexpl): Likewise.
9714 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9715 "bp-asm.h".
9716 (PARMS): Do not use macros from bp-asm.h.
9717 (__remquo): Do not use BP_SYM.
9718 (remquo): Likewise.
9719 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9720 "bp-asm.h".
9721 (PARMS): Do not use macros from bp-asm.h.
9722 (__remquof): Do not use BP_SYM.
9723 (remquof): Likewise.
9724 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9725 "bp-asm.h".
9726 (PARMS): Do not use macros from bp-asm.h.
9727 (__remquol): Do not use BP_SYM.
9728 (remquol): Likewise.
9729 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9730 "bp-asm.h".
9731 (PARMS): Do not use macros from bp-asm.h.
9732 (DEST): Likewise.
9733 (SRC): Likewise.
9734 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9735 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9736 "bp-asm.h".
9737 (PARMS): Do not use macros from bp-asm.h.
9738 (strlen): Do not use BP_SYM.
9739 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9740 "bp-asm.h".
9741 (PARMS): Do not use macros from bp-asm.h.
9742 (S1): Likewise.
9743 (S2): Likewise.
9744 (SIZE): Likewise.
9745 (__mpn_add_n): Do not use BP_SYM.
9746 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9747 "bp-asm.h".
9748 (PARMS): Do not use macros from bp-asm.h.
9749 (S1): Likewise.
9750 (SIZE): Likewise.
9751 (__mpn_addmul_1): Do not use BP_SYM.
9752 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9753 weak_alias.
9754 (bzero): Likewise.
9755 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9756 "bp-asm.h".
9757 (PARMS): Do not use macros from bp-asm.h.
9758 (S): Likewise.
9759 (SIZE): Likewise.
9760 (__mpn_lshift): Do not use BP_SYM.
9761 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9762 "bp-asm.h".
9763 (PARMS): Do not use macros from bp-asm.h.
9764 (DEST): Likewise.
9765 (SRC): Likewise.
9766 (LEN): Likewise.
9767 (memcpy): Likewise. Do not use BP_SYM.
9768 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9769 libc_hidden_def and weak_alias.
9770 (mempcpy): Do not use BP_SYM in weak_alias.
9771 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9772 "bp-asm.h".
9773 (PARMS): Do not use macros from bp-asm.h.
9774 (DEST): Likewise.
9775 (LEN): Likewise.
9776 [!BZERO_P] (CHR): Likewise.
9777 (memset): Likewise. Do not use BP_SYM.
9778 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9779 "bp-asm.h".
9780 (PARMS): Do not use macros from bp-asm.h.
9781 (S1): Likewise.
9782 (SIZE): Likewise.
9783 (__mpn_mul_1): Do not use BP_SYM.
9784 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9785 "bp-asm.h".
9786 (PARMS): Do not use macros from bp-asm.h.
9787 (S): Likewise.
9788 (SIZE): Likewise.
9789 (__mpn_rshift): Do not use BP_SYM.
9790 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9791 "bp-asm.h".
9792 (PARMS): Do not use macros from bp-asm.h.
9793 (STR): Likewise.
9794 (CHR): Likewise.
9795 (strchr): Likewise. Do not use BP_SYM.
9796 (index): Do not use BP_SYM in weak_alias.
9797 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9798 "bp-asm.h".
9799 (PARMS): Do not use macros from bp-asm.h.
9800 (DEST): Likewise.
9801 (SRC): Likewise.
9802 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9803 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9804 "bp-asm.h".
9805 (PARMS): Do not use macros from bp-asm.h.
9806 (strlen): Do not use BP_SYM.
9807 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9808 "bp-asm.h".
9809 (PARMS): Do not use macros from bp-asm.h.
9810 (S1): Likewise.
9811 (S2): Likewise.
9812 (SIZE): Likewise.
9813 (__mpn_sub_n): Do not use BP_SYM.
9814 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9815 "bp-asm.h".
9816 (PARMS): Do not use macros from bp-asm.h.
9817 (S1): Likewise.
9818 (SIZE): Likewise.
9819 (__mpn_submul_1): Do not use BP_SYM.
9820 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9821 "bp-asm.h".
9822 (PARMS): Do not use macros from bp-asm.h.
9823 (S1): Likewise.
9824 (S2): Likewise.
9825 (SIZE): Likewise.
9826 (__mpn_add_n): Do not use BP_SYM.
9827 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9828 weak_alias.
9829 (bzero): Likewise.
9830 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9831 "bp-asm.h".
9832 (PARMS): Do not use macros from bp-asm.h.
9833 (BLK2): Likewise.
9834 (LEN): Likewise.
9835 (memcmp): Do not use BP_SYM.
9836 (bcmp): Do not use BP_SYM in weak_alias.
9837 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9838 "bp-asm.h".
9839 (PARMS): Do not use macros from bp-asm.h.
9840 (DEST): Likewise.
9841 (SRC): Likewise.
9842 (LEN): Likewise.
9843 (memcpy): Likewise. Do not use BP_SYM.
9844 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9845 "bp-asm.h".
9846 (PARMS): Do not use macros from bp-asm.h.
9847 (DEST): Likewise.
9848 (SRC): Likewise.
9849 (LEN): Likewise.
9850 (memmove): Likewise. Do not use BP_SYM.
9851 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9852 "bp-asm.h".
9853 (PARMS): Do not use macros from bp-asm.h.
9854 (DEST): Likewise.
9855 (SRC): Likewise.
9856 (LEN): Likewise.
9857 (__mempcpy): Likewise. Do not use BP_SYM.
9858 (mempcpy): Do not use BP_SYM in weak_alias.
9859 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9860 "bp-asm.h".
9861 (PARMS): Do not use macros from bp-asm.h.
9862 (DEST): Likewise.
9863 (LEN): Likewise.
9864 [!BZERO_P] (CHR): Likewise.
9865 (memset): Likewise. Do not use BP_SYM.
9866 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9867 "bp-asm.h".
9868 (PARMS): Do not use macros from bp-asm.h.
9869 (STR2): Likewise.
9870 (strcmp): Do not use BP_SYM.
9871 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9872 "bp-asm.h".
9873 (PARMS): Do not use macros from bp-asm.h.
9874 (STR): Likewise.
9875 (DELIM): Likewise.
9876 [USE_AS_STRTOK_R] (SAVE): Likewise.
9877 (FUNCTION): Likewise. Do not use BP_SYM.
9878 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9879 aliases.
9880 (strtok_r): Likewise.
9881 (__GI___strtok_r): Likewise.
9882 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9883 (PARMS): Do not use macros from bp-asm.h.
9884 (S): Likewise.
9885 (SIZE): Likewise.
9886 (__mpn_lshift): Do not use BP_SYM.
9887 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9888 (PARMS): Do not use macros from bp-asm.h.
9889 (STR): Likewise.
9890 (CHR): Likewise.
9891 (__memchr): Do not use BP_SYM.
9892 (memchr): Do not use BP_SYM in weak_alias.
9893 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9894 (PARMS): Do not use macros from bp-asm.h.
9895 (BLK2): Likewise.
9896 (LEN): Likewise.
9897 (memcmp): Do not use BP_SYM.
9898 (bcmp): Do not use BP_SYM in weak_alias.
9899 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9900 (PARMS): Do not use macros from bp-asm.h.
9901 (S1): Likewise.
9902 (SIZE): Likewise.
9903 (__mpn_mul_1): Do not use BP_SYM.
9904 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9905 "bp-asm.h".
9906 (PARMS): Do not use macros from bp-asm.h.
9907 (STR): Likewise.
9908 (CHR): Likewise.
9909 (__rawmemchr): Do not use BP_SYM.
9910 (rawmemchr): Do not use BP_SYM in weak_alias.
9911 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9912 (PARMS): Do not use macros from bp-asm.h.
9913 (S): Likewise.
9914 (SIZE): Likewise.
9915 (__mpn_rshift): Do not use BP_SYM.
9916 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9917 (PARMS): Do not use macros from bp-asm.h.
9918 (SIGMSK): Likewise.
9919 (__sigsetjmp): Likewise. Do not use BP_SYM.
9920 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9921 (_start): Do not use BP_SYM.
9922 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9923 (PARMS): Do not use macros from bp-asm.h.
9924 (DEST): Likewise.
9925 (SRC): Likewise.
9926 (__stpcpy): Likewise. Do not use BP_SYM.
9927 (stpcpy): Do not use BP_SYM in weak_alias.
9928 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9929 "bp-asm.h".
9930 (PARMS): Do not use macros from bp-asm.h.
9931 (DEST): Likewise.
9932 (SRC): Likewise.
9933 (LEN): Likewise.
9934 (__stpncpy): Likewise. Do not use BP_SYM.
9935 (stpncpy): Do not use BP_SYM in weak_alias.
9936 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9937 (PARMS): Do not use macros from bp-asm.h.
9938 (STR): Likewise.
9939 (CHR): Likewise.
9940 (strchr): Likewise. Do not use BP_SYM.
9941 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9942 "bp-asm.h".
9943 (PARMS): Do not use macros from bp-asm.h.
9944 (STR): Likewise.
9945 (CHR): Likewise.
9946 (__strchrnul): Likewise. Do not use BP_SYM.
9947 (strchrnul): Do not use BP_SYM in weak_alias.
9948 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9949 "bp-asm.h".
9950 (PARMS): Do not use macros from bp-asm.h.
9951 (STOP): Likewise.
9952 (strcspn): Do not use BP_SYM.
9953 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9954 "bp-asm.h".
9955 (PARMS): Do not use macros from bp-asm.h.
9956 (STR): Likewise.
9957 (STOP): Likewise.
9958 (strpbrk): Likewise. Do not use BP_SYM.
9959 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9960 "bp-asm.h".
9961 (PARMS): Do not use macros from bp-asm.h.
9962 (STR): Likewise.
9963 (CHR): Likewise.
9964 (strrchr): Likewise. Do not use BP_SYM.
9965 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9966 (PARMS): Do not use macros from bp-asm.h.
9967 (SKIP): Likewise.
9968 (strspn): Do not use BP_SYM.
9969 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9970 (PARMS): Do not use macros from bp-asm.h.
9971 (STR): Likewise.
9972 (DELIM): Likewise.
9973 (SAVE): Likewise.
9974 (FUNCTION): Likewise. Do not use BP_SYM.
9975 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9976 aliases.
9977 (strtok_r): Likewise.
9978 (__GI___strtok_r): Likewise.
9979 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9980 (PARMS): Do not use macros from bp-asm.h.
9981 (S1): Likewise.
9982 (S2): Likewise.
9983 (SIZE): Likewise.
9984 (__mpn_sub_n): Do not use BP_SYM.
9985 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9986 "bp-asm.h".
9987 (PARMS): Do not use macros from bp-asm.h.
9988 (S1): Likewise.
9989 (SIZE): Likewise.
9990 (__mpn_submul_1): Do not use BP_SYM.
9991 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9992 <bp-sym.h>.
9993 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9994 and <bp-asm.h>.
9995 (PARMS): Do not use macros from bp-asm.h.
9996 (FLAGS): Likewise.
9997 (PTID): Likewise.
9998 (TLS): Likewise.
9999 (CTID): Likewise.
10000 (__clone): Do not use BP_SYM.
10001 (clone): Do not use BP_SYM in weak_alias.
10002 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10003 and <bp-asm.h>.
10004 (PARMS): Do not use macros from bp-asm.h.
10005 (LEN): Likewise.
10006 (__mmap64): Do not use BP_SYM.
10007 (mmap64): Do not use BP_SYM in weak_alias.
10008 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10009 <bp-sym.h> and <bp-asm.h>.
10010 (PARMS): Do not use macros from bp-asm.h.
10011 (__posix_fadvise64_l64): Do not use BP_SYM.
10012 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10013 (PARMS): Do not use macros from bp-asm.h.
10014 (NSOPS): Likewise.
10015 (semtimedop): Do not use BP_SYM.
10016 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10017 and <bp-asm.h>.
10018
10019 2013-02-21 Allan McRae <allan@archlinux.org>
10020
10021 * manual/message.texi (Charset conversion in gettext):
10022 Move @end statement to beginning of line.
10023
10024 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10025
10026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10027 static.
10028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10029 Likewise.
10030
10031 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10032 (denorm): Likewise.
10033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10035
10036 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10037
10038 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10039 tail-call to the resolved function if pltexit isn't needed.
10040
10041 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10042
10043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10044 or Y being zero as being unlikely.
10045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10046 Likewise.
10047
10048 2013-02-20 Carlos O'Donell <carlos@redhat.com>
10049
10050 * manual/nss.texi (System Databases and Name Service Switch):
10051 Remove frobnicate @pxref.
10052
10053 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10054
10055 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10056 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10057
10058 2013-02-20 Petr Machata <pmachata@redhat.com>
10059
10060 * elf/elf.h (R_ARM_TARGET1): New macro.
10061 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10062 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10063 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10064 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10065 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10066 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10067 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10068 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10069 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10070 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10071 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10072 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10073 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10074 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10075 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10076 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10077 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10078 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10079 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10080 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10081 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10082 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10083 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10084 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10085 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10086 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10087 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10088 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10089 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10090 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10091 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10092 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10093 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10094 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10095 (R_ARM_THM_GOT_BREL12): Likewise.
10096 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10097 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10098 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10099 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10100 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10101 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10102 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10103 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10104 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10105
10106 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10107
10108 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10109 __attribute_used__ to __attribute__ ((unused)).
10110
10111 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10112
10113 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10114 powerpc mpa.c.
10115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10116 comment formatting.
10117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10118
10119 2013-02-19 Joseph Myers <joseph@codesourcery.com>
10120
10121 [BZ #13550]
10122 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10123 Remove macro.
10124 (ENTER): Remove both macro definitions.
10125 (LEAVE): Likewise.
10126 (CHECK_BOUNDS_LOW): Likewise.
10127 (CHECK_BOUNDS_HIGH): Likewise.
10128 (CHECK_BOUNDS_BOTH): Likewise.
10129 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10130 (RETURN_BOUNDED_POINTER): Likewise.
10131 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10132 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10133 (POP_ERRNO_LOCATION_RETURN): Likewise.
10134 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10135 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10136 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10137 macros.
10138 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10139 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10140 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10141 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10142 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10143 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10144 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10145 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10146 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10147 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10148 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10149 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10150 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10151 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10152 removed macros.
10153 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10154 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10155 macros.
10156 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10157 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10158 * sysdeps/i386/i586/memset.S (memset): Likewise.
10159 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10160 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10161 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10162 macros.
10163 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10164 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10165 Change uses of L(2) to L(out).
10166 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10167 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10168 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10169 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10170 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10171 removed macros.
10172 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10173 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10174 macros.
10175 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10176 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10177 (RETURN): Do not use macro LEAVE.
10178 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10179 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10180 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10181 * sysdeps/i386/i686/memset.S (memset): Likewise.
10182 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10183 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10184 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10185 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10186 Likewise.
10187 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10188 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10189 L(1_2) and L(1_3) into L(1).
10190 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10191 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10192 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10193 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10194 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10195 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10196 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10197 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10198 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10199 macros.
10200 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10201 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10202 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10203 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10204 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10205 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10206 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10207 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10208 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10209 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10210 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10211 * sysdeps/i386/strspn.S (strspn): Likewise.
10212 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10213 conditional code.
10214 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10215 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10216 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10217 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10218 L(1_3) into L(1_1).
10219 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10220 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10221 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10222 macros.
10223 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10224
10225 2013-02-19 Jakub Jelinek <jakub@redhat.com>
10226
10227 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10228 macro.
10229
10230 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10231
10232 * math/atest-exp.c (exp_mpn): Remove ROUND.
10233 * math/atest-exp2.c (exp_mpn): Likewise.
10234 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10235
10236 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10237 * stdlib/tst-tls-atexit-lib.c: Likewise.
10238 * stdlib/tst-tls-atexit.c: Likewise.
10239
10240 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10241
10242 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10243 and __attribute_alloc_size__.
10244
10245 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10246
10247 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10248 __attribute_alloc_size__.
10249 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10250 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10251
10252 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10253
10254 * include/programs/xmalloc.h: New file.
10255 * catgets/gencat.c: Include it.
10256 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10257 * elf/pldd.c: Likewise.
10258 * iconv/iconv_charmap.c: Likewise.
10259 * iconv/iconvconfig.c: Likewise.
10260 * iconv/strtab.c: Likewise.
10261 * locale/programs/locale.c: Likewise.
10262 * locale/programs/localedef.h: Likewise.
10263 * locale/programs/simple-hash.c: Likewise.
10264 * nscd/nscd.h: Likewise.
10265 * nss/makedb.c: Likewise.
10266 * sysdeps/generic/ldconfig.h: Likewise.
10267
10268 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10269
10270 * Versions.def: Add GLIBC_2.18.
10271 * include/link.h (struct link_map): New member l_tls_dtor_count.
10272 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10273 (__call_tls_dtors): Likewise.
10274 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10275 __cxa_thread_atexit_impl.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10277 Likewise.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10279 Likewise.
10280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10281 Likewise.
10282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10283 Likewise.
10284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10286 Likewise.
10287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10288 Likewise.
10289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10291 Likewise.
10292 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10293 (tests): Add test case tst-tls-atexit.
10294 (modules-names): Add shared library for tst-tls-atexit.
10295 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10296 (GLIBC_PRIVATE): Add __call_tls_dtors.
10297 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10298 for libstdc++.
10299 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10300 * stdlib/tst-tls-atexit.c: New test case.
10301 * stdlib/tst-tls-atexit-lib.c: New test case.
10302
10303 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10304
10305 * elf/Versions (ld): Add _dl_find_dso_for_object.
10306 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10307 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10308 (dl_open_worker): Use _dl_find_dso_for_object.
10309 * elf/dl-sym.c (do_sym): Likewise.
10310 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10311
10312 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10313
10314 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10315 Syntactic changes only.
10316 (_dl_runtime_profile): Do a tail-call to the resolved function.
10317
10318 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10319
10320 [BZ #13550]
10321 * sysdeps/x86_64/bp-asm.h: Remove file.
10322 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10323 <bp-sym.h> and <bp-asm.h>.
10324 (__clone): Do not use BP_SYM.
10325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10326 <bp-sym.h> and <bp-asm.h>.
10327 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10328 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10329 "bp-asm.h".
10330 (_setjmp): Do not use BP_SYM.
10331 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10332 "bp-asm.h".
10333 (setjmp): Do not use BP_SYM.
10334 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10335 libc_hidden_def.
10336 (mempcpy): Do not use BP_SYM in weak_alias.
10337 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10338 "bp-asm.h".
10339 (strchr): Do not use BP_SYM.
10340 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10341 "bp-asm.h".
10342 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10343 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10344 (_start): Do not use BP_SYM.
10345 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10346 "bp-asm.h".
10347 (strcat): Do not use BP_SYM.
10348 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10349 "bp-asm.h".
10350 (STRCMP): Do not use BP_SYM.
10351 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10352 "bp-asm.h".
10353 (STRCPY): Do not use BP_SYM.
10354 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10355 "bp-asm.h".
10356 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10357 "bp-asm.h".
10358 (FUNCTION): Do not use BP_SYM.
10359 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10360 weak_alias.
10361 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10362
10363 2013-02-17 Andreas Jaeger <aj@suse.de>
10364
10365 * time/Versions: Sort entries.
10366 * string/Versions: Likewise.
10367 * resolv/Versions: Likewise.
10368 * posix/Versions: Likewise.
10369 * iconv/Versions: Likewise.
10370 * elf/Versions: Likewise.
10371 * wcsmbs/Versions: Likewise.
10372
10373 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10374
10375 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10376 loop termination condition.
10377
10378 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10379 variable to calculate EZ.
10380 (__sqr): Likewise.
10381
10382 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10383 the lower precision input.
10384
10385 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10386
10387 [BZ #13550]
10388 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10389 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10390 (run-via-rtld-prefix): Do not handle %-bp tests.
10391 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10392 (all-object-suffixes): Remove .ob.
10393 (bppfx): Remove variable.
10394 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10395 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10396 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10397 [$(build-bounded) = yes] (libtype.ob): Likewise.
10398 * Makerules (elide-routines.ob): Remove variable.
10399 (do-tests-clean): Do not handle *-bp.out.
10400 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10401 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10402 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10403 (tests): Do not include $(tests-bp.out).
10404 (xtests): Do not include $(xtests-bp.out).
10405 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10406 [$(build-bounded) = yes] ($(addprefix
10407 $(objpfx),$(binaries-bounded))): Remove rule.
10408 ($(objpfx)%-bp.out): Remove rule.
10409 * config.make.in (build-bounded): Remove variable.
10410 * crypt/Makefile [$(build-bounded) = yes]
10411 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10412 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10413 append to variable.
10414 [$(build-bounded) = yes] (install-lib): Likewise.
10415 [$(build-bounded) = yes] (generated): Likewise.
10416 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10417 Remove rule.
10418 * intl/Makefile [$(build-bounded) = yes]
10419 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10420 * math/Makefile [$(build-bounded) = yes]
10421 ($(tests:%=$(objpfx)%-bp): Likewise.
10422 * misc/Makefile [$(build-bounded) = yes]
10423 ($(objpfx)tst-tsearch-bp): Likewise.
10424 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10425 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10426 Remove dependency.
10427 * string/Makefile (o-objects.ob): Remove variable.
10428 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10429 (CFLAGS-.ob): Remove variable.
10430 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10431 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10432 both definitions of variable.
10433 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10434 (ASFLAGS-.ob): Remove variable.
10435
10436 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10437
10438 [BZ #13550]
10439 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10440 Remove __BOUNDED_POINTERS__ from condition.
10441 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10442 * string/bits/string2.h [!__NO_STRING_INLINES &&
10443 !__BOUNDED_POINTERS__]: Likewise.
10444 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10445 Likewise.
10446 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10447 Remove conditional code.
10448 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10449 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10450 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10451 condition.
10452
10453 [BZ #13550]
10454 * csu/libc-start.c: Do not include <bp-sym.h>.
10455 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10456 * elf/dl-open.c: Do not include <bp-sym.h>.
10457 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10458 * math/fegetenv.c: Do not include <bp-sym.h>.
10459 (fegetenv): Do not use BP_SYM in versioned symbols.
10460 * nptl/sysdeps/pthread/bits/libc-lockP.h
10461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10462 <bp-sym.h>.
10463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10464 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10466 (__pthread_mutex_destroy): Likewise.
10467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10468 (__pthread_mutex_lock): Likewise.
10469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10470 (__pthread_mutex_trylock): Likewise.
10471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10472 (__pthread_mutex_unlock): Likewise.
10473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10474 (__pthread_mutexattr_init): Likewise.
10475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10476 (__pthread_mutexattr_destroy): Likewise.
10477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10478 (__pthread_mutexattr_settype): Likewise.
10479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10480 (__pthread_rwlock_init): Likewise.
10481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10482 (__pthread_rwlock_destroy): Likewise.
10483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10484 (__pthread_rwlock_rdlock): Likewise.
10485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10486 (__pthread_rwlock_tryrdlock): Likewise.
10487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10488 (__pthread_rwlock_wrlock): Likewise.
10489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10490 (__pthread_rwlock_trywrlock): Likewise.
10491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10492 (__pthread_rwlock_unlock): Likewise.
10493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10494 (__pthread_key_create): Likewise.
10495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10496 (__pthread_setspecific): Likewise.
10497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10498 (__pthread_getspecific): Likewise.
10499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10500 Likewise.
10501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10502 (_pthread_cleanup_push_defer): Likewise.
10503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10504 (_pthread_cleanup_pop_restore): Likewise.
10505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10506 (pthread_setcancelstate): Likewise.
10507 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10508 <bp-sym.h>.
10509 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10510 (memchr): Do not use BP_SYM in weak_alias.
10511 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10512 (fegetenv): Do not use BP_SYM in versioned symbols.
10513 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10514 (fesetenv): Do not use BP_SYM in versioned symbols.
10515 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10516 (feupdateenv): Do not use BP_SYM in versioned symbols.
10517 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10518 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10519 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10520 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10521 (open64): Do not use BP_SYM in weak_alias.
10522 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10523 (fegetenv): Do not use BP_SYM in versioned symbols.
10524 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10525 (fesetenv): Do not use BP_SYM in versioned symbols.
10526 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10527 (feupdateenv): Do not use BP_SYM in versioned symbols.
10528 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10529 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10530 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10531 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10532 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10533 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10534 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10535 <bp-sym.h>.
10536 (__libc_start_main): Do not use BP_SYM.
10537
10538 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10539
10540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10541 redundant return line.
10542 (norm): Likewise.
10543 (denorm): Likewise.
10544 (dbl_mp): Likewise.
10545 (sub_magnitudes): Likewise.
10546 (__add): Likewise.
10547 (__sub): Likewise.
10548 (__mul): Likewise.
10549 (__inv): Likewise.
10550 (__dvd): Likewise.
10551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10552 (norm): Likewise.
10553 (denorm): Likewise.
10554 (dbl_mp): Likewise.
10555 (sub_magnitudes): Likewise.
10556 (__add): Likewise.
10557 (__sub): Likewise.
10558 (__mul): Likewise.
10559 (__inv): Likewise.
10560 (__dvd): Likewise.
10561
10562 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10563 instead of __mul.
10564 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10565 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10566 (cc32): Likewise.
10567
10568 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10569 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10571 of __mul for squares.
10572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10573 function
10574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10575 Likewise.
10576 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10577 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10578
10579 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10580
10581 [BZ #13550]
10582 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10583 code.
10584 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10585 prototype or function definition. Rename ubp_* variables and
10586 parameters. Remove argv definitions conditional on
10587 [__BOUNDED_POINTERS__].
10588 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10589 * elf/dl-runtime.c (_dl_fixup): Likewise.
10590 * include/set-hooks.h (RUN_HOOK): Likewise.
10591 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10592 definition.
10593 * string/strcpy.c (strcpy): Do not use __unbounded.
10594 * sysdeps/generic/frame.h (struct layout): Likewise.
10595 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10596 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10597 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10598 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10599 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10600 (__backtrace): Likewise.
10601 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10602 use __ptrvalue.
10603 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10604 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10605 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10606 Likewise.
10607 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10608 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10609 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10610 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10611 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10612 Do not use __unbounded.
10613 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10614 Rename __unboundedrlimits parameter to rlimits in prototype.
10615 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10616 Do not use __unbounded.
10617 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10618 not use __ptrvalue.
10619 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10620 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10621 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10622 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10623 __ptrvalue or __unbounded.
10624 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10625 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10626 use __unbounded.
10627 (__new_msgctl): Do not use __ptrvalue.
10628 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10629 __unbounded.
10630 (__libc_msgrcv): Do not use __ptrvalue.
10631 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10632 startup_info): Do not use __unbounded.
10633 (__libc_start_main): Likewise. Rename ubp_* variables and
10634 parameters. Remove argv definitions conditional on
10635 [__BOUNDED_POINTERS__].
10636 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10637 __ptrvalue.
10638 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10639 use __unbounded.
10640 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10641 or __ptrvalue.
10642 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10643 use __unbounded.
10644 (__new_shmctl): Do not use __ptrvalue.
10645 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10646 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10647 Likewise.
10648 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10650 (__libc_sigaction): Likewise.
10651 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10652 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10653 Likewise.
10654 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10655
10656 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10657
10658 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10659
10660 * string/mempcpy.c: Implement by calling memcpy.
10661
10662 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10663
10664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10665
10666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10667 evaluation.
10668
10669 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10670 values in the mantissa.
10671
10672 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10673 minimize writes to Z.
10674 (sub_magnitudes): Simplify code a bit.
10675
10676 2013-02-12 Roland McGrath <roland@hack.frob.com>
10677
10678 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10679 from the message. The linker prefixes all warnings with that already.
10680
10681 2013-02-12 Andreas Schwab <schwab@suse.de>
10682
10683 [BZ #15078]
10684 * posix/regexec.c (extend_buffers): Add parameter min_len.
10685 (check_matching): Pass minimum needed length.
10686 (clean_state_log_if_needed): Likewise.
10687 (get_subexp): Likewise.
10688 * posix/Makefile (tests): Add bug-regex34.
10689 (bug-regex34-ENV): Define.
10690 * posix/bug-regex34.c: New file.
10691
10692 [BZ #11561]
10693 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10694 elements compare against the byte sequence of it, not its name.
10695 * posix/Makefile (tests): Add bug-regex35.
10696 (bug-regex35-ENV): Define.
10697 * posix/bug-regex35.c: New file.
10698
10699 2013-02-11 Tom de Vries <tom@codesourcery.com>
10700
10701 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10702 comment.
10703 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10704 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10705 (CHECK_EOL): Add undef.
10706
10707 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10708
10709 * bits/stdlib-bsearch.h: New file.
10710 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10711 * stdlib/stdlib.h: Likewise.
10712
10713 2013-02-11 Roland McGrath <roland@hack.frob.com>
10714
10715 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10716 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10717 declaration.
10718 * manual/search.texi (Array Search Function): Add missing const in
10719 lfind prototype.
10720 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10721 declaration to use rlim_t.
10722 (Basic Scheduling Functions): Remove erroneous const from
10723 sched_getparam prototype. Remove erroneous * from
10724 sched_get_priority_max and sched_get_priority_min prototypes.
10725 (Resource Usage): Fix summary @comment on vtimes to refer to
10726 sys/vtimes.h rather than vtimes.h.
10727 Add missing *s in vtimes prototype.
10728 (Limits on Resources): Fix ulimit prototype to return long int.
10729 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10730 prototypes to use long int rather than double.
10731 (BSD Random): Fix initstate and setstate to use char *, not void *.
10732 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10733 prototype to make second argument 'struct aiocb64 *const[]'.
10734 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10735 (Status of AIO Operations): Remove erroneous const in aio_return and
10736 aio_return64 prototypes.
10737 (Synchronizing I/O): Fix sync prototype to return void.
10738 * manual/startup.texi (Suboptions): Remove an erroneous const in
10739 getsubopt prototype.
10740 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10741 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10742 use size_t rather than int.
10743 (Scanning All Users): Likewise for getpwent_r.
10744 (Setting Groups): Add missing const to setgroups prototype.
10745 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10746 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10747 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10748 'const void *' rather than 'const char *'.
10749 (Host Address Functions): Likewise for inet_ntop.
10750 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10751 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10752 ssize_t for return value.
10753 (Sending Data): Likewise for send, sendto, sendmsg.
10754 (Socket Option Functions): Add a missing const in setsockopt prototype.
10755 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10756 use wchar_t for the argument.
10757 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10758 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10759 take no arguments.
10760 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10761 double/float/long double for second argument.
10762 Fix return types of significand, significandf, significandl.
10763 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10764 argument in fchmod prototype.
10765 (File Owner): Use uid_t and gid_t in fchown prototype.
10766 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10767 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10768 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10769 use 'const struct dirent **' as argument types to CMP function pointer
10770 argument.
10771 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10772 (File Times): Fix summary magic @comment for struct utimbuf and utime
10773 to refer to utime.h, not time.h.
10774 * manual/string.texi (Argz Functions): Add missing const in
10775 argz_extract and argz_next prototypes.
10776 (Finding Tokens in a String): Likewise for basename.
10777 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10778 (Copying and Concatenation): Fix typo in wmemmove prototype.
10779 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10780 (Signal Stack): Remove erroneous const in sigstack prototype.
10781 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10782 prototype.
10783 (Simple Calendar Time): Likewise for stime.
10784 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10785 prototype.
10786 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10787 say sys/sysctl.h instead.
10788 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10789 and vsyslog prototypes.
10790
10791 2013-02-11 Tom de Vries <tom@codesourcery.com>
10792
10793 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10794 Remove.
10795
10796 2013-02-11 Roland McGrath <roland@hack.frob.com>
10797
10798 * misc/sys/mman.h: Fix typo in mremap comment.
10799
10800 2013-02-08 Roland McGrath <roland@hack.frob.com>
10801
10802 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10803 the '\0' terminator.
10804
10805 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10806
10807 [BZ #13550]
10808 * debug/segfault.c: Don't include <bp-checks.h>.
10809 * sysdeps/generic/bp-checks.h: Remove file.
10810 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10811 (__GETDENTS): Don't use CHECK_N.
10812 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10813 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10814 (__getgroups): Don't use CHECK_N.
10815 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10816 (setgroups): Don't use CHECK_N.
10817 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10818 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10819 (__libc_msgrcv): Don't use CHECK_N.
10820 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10821 (__libc_msgsnd): Don't use CHECK_N.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10823 <bp-checks.h>.
10824 (__libc_pread): Don't use CHECK_N.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10826 include <bp-checks.h>.
10827 (__libc_pread64): Don't use CHECK_N.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10829 include <bp-checks.h>.
10830 (__libc_pwrite): Don't use CHECK_N.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10832 include <bp-checks.h>.
10833 (__libc_pwrite64): Don't use CHECK_N.
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10835 <bp-checks.h>.
10836 (__libc_pread): Don't use CHECK_N.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10838 include <bp-checks.h>.
10839 (__libc_pread64): Don't use CHECK_N.
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10841 include <bp-checks.h>.
10842 (__libc_pwrite): Don't use CHECK_N.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10844 include <bp-checks.h>.
10845 (__libc_pwrite64): Don't use CHECK_N.
10846 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10847 (do_pread): Don't use CHECK_N.
10848 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10849 (do_pread64): Don't use CHECK_N.
10850 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10851 (do_pwrite): Don't use CHECK_N.
10852 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10853 (do_pwrite64): Don't use CHECK_N.
10854 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10855 (__libc_readv): Don't use CHECK_N.
10856 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10857 (semop): Don't use CHECK_N.
10858 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10859 <bp-checks.h>.
10860 (semtimedop): Don't use CHECK_N.
10861 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10862 (__libc_pread): Don't use CHECK_N.
10863 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10864 <bp-checks.h>.
10865 (__libc_pread64): Don't use CHECK_N.
10866 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10867 <bp-checks.h>.
10868 (__libc_pwrite): Don't use CHECK_N.
10869 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10870 <bp-checks.h>.
10871 (__libc_pwrite64): Don't use CHECK_N.
10872 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10873 <bp-checks.h>.
10874 (__libc_msgrcv): Don't use CHECK_N.
10875 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10876 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10877 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10878 (__libc_writev): Don't use CHECK_N.
10879
10880 2013-02-08 Roland McGrath <roland@hack.frob.com>
10881
10882 * string/strcpy.c: Removed unused variable.
10883
10884 * Makeconfig (+sysdep-includes): Define with := rather than =.
10885 Use an existing include/ subdir of each sysdeps dir before it.
10886
10887 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10888
10889 * nscd/connection.c (register_traced_file): Comment function.
10890 [HAVE_INOTIFY] (union __inev): Define.
10891 [HAVE_INOTIFY] (inotify_check_files): New function.
10892 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10893 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10894 clear_db_cache.
10895 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10896
10897 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10898
10899 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10900 loaded if not already and that a failure is permanent.
10901
10902 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10903
10904 [BZ #15006]
10905 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10906 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10907
10908 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10909
10910 [BZ #13550]
10911 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10912 (CHECK_1_NULL_OK): Likewise.
10913 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10914 (__fxstat): Do not use CHECK_1.
10915 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10916 <bp-checks.h>.
10917 (___fxstat64): Do not use CHECK_1.
10918 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10919 <bp-checks.h>.
10920 (__fxstatat): Do not use CHECK_1.
10921 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10922 <bp-checks.h>.
10923 (__fxstatat64): Do not use CHECK_1.
10924 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10925 <bp-checks.h>.
10926 (__fxstat): Do not use CHECK_1.
10927 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10928 <bp-checks.h>.
10929 (__fxstatat): Do not use CHECK_1.
10930 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10931 <bp-checks.h>.
10932 (__getresgid): Do not use CHECK_1.
10933 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10934 <bp-checks.h>.
10935 (__getresuid): Do not use CHECK_1.
10936 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10937 <bp-checks.h>.
10938 (__lxstat): Do not use CHECK_1.
10939 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10940 <bp-checks.h>.
10941 (__old_msgctl): Do not use CHECK_1.
10942 (__new_msgctl): Likewise.
10943 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10944 <bp-checks.h>.
10945 (__new_setrlimit): Do not use CHECK_1.
10946 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10947 <bp-checks.h>.
10948 (__old_shmctl): Do not use CHECK_1.
10949 (__new_shmctl): Likewise.
10950 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10951 <bp-checks.h>.
10952 (__xstat): Do not use CHECK_1.
10953 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10954 (__lxstat): Do not use CHECK_1.
10955 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10956 <bp-checks.h>.
10957 (___lxstat64): Do not use CHECK_1.
10958 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10959 (__old_msgctl): Do not use CHECK_1.
10960 (__new_msgctl): Likewise.
10961 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10962 <bp-checks.h>.
10963 (__gettimeofday): Do not use CHECK_1.
10964 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10965 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10966 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10967 <bp-checks.h>.
10968 (__gettimeofday): Do not use CHECK_1.
10969 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10970 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10971 (__new_shmctl): Do not use CHECK_1.
10972 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10973 <bp-checks.h>.
10974 (do_sigtimedwait): Do not use CHECK_1.
10975 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10976 <bp-checks.h>.
10977 (do_sigwaitinfo): Do not use CHECK_1.
10978 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10979 <bp-checks.h>.
10980 (msgctl): Do not use CHECK_1.
10981 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10982 <bp-checks.h>.
10983 (shmctl): Do not use CHECK_1.
10984 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10985 (ustat): Do not use CHECK_1.
10986 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10987 <bp-checks.h>.
10988 (__fxstat): Do not use CHECK_1.
10989 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10990 <bp-checks.h>.
10991 (__fxstatat): Do not use CHECK_1.
10992 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10993 <bp-checks.h>.
10994 (__lxstat): Do not use CHECK_1.
10995 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10996 <bp-checks.h>.
10997 (__xstat): Do not use CHECK_1.
10998 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10999 (__xstat): Do not use CHECK_1.
11000 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11001 (___xstat64): Do not use CHECK_1.
11002
11003 [BZ #13550]
11004 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11005 definitions.
11006 (CHECK_BOUNDS_HIGH): Likewise.
11007 * string/strcpy.c: Do not include <bp-checks.h>.
11008 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11009
11010 2013-02-07 Roland McGrath <roland@hack.frob.com>
11011
11012 * nscd/nscd-client.h (__nscd_drop_map_ref):
11013 Add __attribute__ ((unused)).
11014 * nis/nss-nisplus.h (niserr2nss): Likewise.
11015
11016 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11017 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11018
11019 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11020 Remove inline keyword.
11021 * include/rounding-mode.h (round_away): Likewise.
11022 * libio/wfileops.c (adjust_wide_data): Likewise.
11023 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11024 (__m128i_strloadu_tolower): Likewise.
11025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11026 (__m128i_strloadu_tolower): Likewise.
11027 * time/mktime.c (ydhms_diff): Likewise.
11028 * locale/elem-hash.h (elem_hash): Likewise.
11029 * locale/setlocale.c (setdata): Likewise.
11030 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11031 (re_string_wchar_at): Likewise.
11032 (bitset_not, bitset_merge, bitset_mask): Likewise.
11033 [!(__GNUC__ > 3)] (inline): Remove macro.
11034 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11035 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11036 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11037 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11038 * string/memcmp.c (memcmp_bytes): Likewise.
11039 * locale/programs/locarchive.c (compute_hashval): Likewise.
11040 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11041 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11042 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11043 * nss/getent.c (print_rpc, print_protocols): Likewise.
11044 (print_passwd, print_group, print_aliases): Likewise.
11045 * nis/nss-nisplus.h (niserr2nss): Likewise.
11046 * nscd/connections.c (restart_p): Likewise.
11047 Change return type to bool.
11048
11049 2013-02-05 Roland McGrath <roland@hack.frob.com>
11050
11051 * Makeconfig (all-Depend-files): Add existing
11052 $(sorted-subdirs:=/Depend) files.
11053 (all-subdirs): Remove nss.
11054 * sysdeps/unix/inet/Subdirs: Add it here instead.
11055 * hesiod/Depend: New file.
11056
11057 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11058 instead of calling alloca.
11059
11060 * io/lseek.c (__lseek): Rename to __libc_lseek.
11061 Define __lseek as an alias.
11062
11063 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11064
11065 2013-02-04 Carlos O'Donell <carlos@redhat.com>
11066
11067 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11068 else clause and remove check for non-standard endianness.
11069
11070 2013-02-04 David S. Miller <davem@davemloft.net>
11071
11072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11073
11074 2013-02-04 Joseph Myers <joseph@codesourcery.com>
11075
11076 [BZ #13550]
11077 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11078 (__ubp_memchr): Remove prototype.
11079 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11080 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11081 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11082 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11083 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11084 Remove alias.
11085 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11086 (__ubp_memchr): Likewise.
11087 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11088 (__ubp_memchr): Likewise.
11089 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11090 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11091 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11092 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11093 CHECK_STRING.
11094 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11095 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11096 (__getcwd): Do not use CHECK_STRING.
11097 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11098 <bp-checks.h>.
11099 (__real_chown): Do not use CHECK_STRING.
11100 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11101 <bp-checks.h>.
11102 (fchownat): Do not use CHECK_STRING.
11103 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11104 CHECK_STRING.
11105 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11106 <bp-checks.h>.
11107 (__lchown): Do not use CHECK_STRING.
11108 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11109 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11110 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11111 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11113 include <bp-checks.h>.
11114 (truncate64): Do not use CHECK_STRING.
11115 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11116 <bp-checks.h>.
11117 (__real_chown): Do not use CHECK_STRING.
11118 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11119 <bp-checks.h>.
11120 (__lchown): Do not use CHECK_STRING.
11121 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11122 <bp-checks.h>.
11123 (__chown): Do not use CHECK_STRING.
11124 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11125 <bp-checks.h>.
11126 (truncate64): Do not use CHECK_STRING.
11127 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11128 Likewise.
11129 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11130 (__xmknod): Do not use CHECK_STRING.
11131 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11132 <bp-checks.h>.
11133 (__xmknodat): Do not use CHECK_STRING.
11134 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11135 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11136
11137 2013-02-04 Andreas Schwab <schwab@suse.de>
11138
11139 [BZ #14142]
11140 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11141 * include/netdb.h: Likewise for h_errno.
11142 * elf/tst-stackguard1.c: Include <tls.h>.
11143
11144 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11145
11146 * elf/link.h (struct link_map): Extend the l_addr comment.
11147 * include/link.h (struct link_map): Likewise.
11148
11149 2013-02-01 Joseph Myers <joseph@codesourcery.com>
11150
11151 [BZ #13550]
11152 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11153 (BOUNDED_1): Remove macro.
11154 * debug/backtrace.c: Don't include <bp-checks.h>.
11155 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11156 (__backtrace): Likewise.
11157 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11158 <bp-checks.h>.
11159 (__backtrace): Don't use BOUNDED_1.
11160 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11161 <bp-checks.h>.
11162 (__backtrace): Don't use BOUNDED_1.
11163 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11164 (__backtrace): Don't use BOUNDED_1.
11165 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11166 (shmat): Don't use BOUNDED_N.
11167
11168 2013-01-31 Joseph Myers <joseph@codesourcery.com>
11169
11170 [BZ #13550]
11171 * sysdeps/generic/bp-start.h: Remove file.
11172 * csu/libc-start.c: Don't include <bp-start.h>.
11173 (LIBC_START_MAIN): Set up __environ directly instead of using
11174 INIT_ARGV_and_ENVIRON.
11175 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11176 <bp-start.h>.
11177
11178 [BZ #13550]
11179 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11180 definitions.
11181 (CHECK_FCNTL): Likewise.
11182 (CHECK_N_PAGES): Likewise.
11183
11184 [BZ #13550]
11185 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11186 definitions.
11187 (CHECK_SIGSET_NULL_OK): Likewise.
11188 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11189 <bp-checks.h>.
11190 (sigpending): Don't use CHECK_SIGSET.
11191 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11192 <bp-checks.h>.
11193 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11194 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11195 <bp-checks.h>.
11196 (do_sigsuspend): Don't use CHECK_SIGSET.
11197 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11198 use CHECK_SIGSET.
11199 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11200 (do_sigwait): Don't use CHECK_SIGSET.
11201 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11202 use CHECK_SIGSET.
11203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11204 include <bp-checks.h>.
11205 (sigpending): Don't use CHECK_SIGSET.
11206 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11207 include <bp-checks.h>.
11208 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11209 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11210 <bp-checks.h>.
11211 (sigpending): Don't use CHECK_SIGSET.
11212 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11213 <bp-checks.h>.
11214 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11215
11216 [BZ #13550]
11217 * sysdeps/generic/bp-semctl.h: Remove file.
11218 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11219 <bp-checks.h> and <bp-semctl.h>.
11220 (__old_semctl): Don't use CHECK_SEMCTL.
11221 (__new_semctl): Likewise.
11222 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11223 and <bp-semctl.h>.
11224 (__old_semctl): Don't use CHECK_SEMCTL.
11225 (__new_semctl): Likewise.
11226 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11227 <bp-checks.h> and <bp-semctl.h>.
11228 (__old_semctl): Don't use CHECK_SEMCTL.
11229 (__new_semctl): Likewise.
11230 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11231 <bp-checks.h> and <bp-semctl.h>.
11232 (semctl): Don't use CHECK_SEMCTL.
11233
11234 [BZ #13550]
11235 * Makerules (elide-bp-thunks): Remove variable.
11236 (elide-routines.oS): Don't use $(elide-bp-thunks).
11237 (elide-routines.os): Likewise.
11238 (elide-routines.o): Likewise.
11239 (elide-routines.op): Likewise.
11240 (elide-routines.og): Likewise.
11241 (objects): Don't use $(bp-thunks).
11242 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11243 include.
11244 (common-generated): Do not add s-proto-bp.d.
11245 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11246 (int): Likewise.
11247 (typ): Likewise.
11248 Do not generate makefile rules for bounded-pointer thunks.
11249 * sysdeps/generic/bp-thunks.h: Remove file.
11250 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11251 * sysdeps/unix/s-proto-bp.S: Likewise.
11252
11253 [BZ #15062]
11254 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11255 parts of result separately when argument is not close to line from
11256 -i to i and one part of argument is small.
11257 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11258 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11259 * math/libm-test.inc (cacos_test): Add more tests.
11260 (casin_test): Likewise.
11261 (casinh_test): Likewise.
11262 * sysdeps/i386/fpu/libm-test-ulps: Update.
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11264
11265 2013-01-31 David S. Miller <davem@davemloft.net>
11266
11267 * po/de.po: Update from translation team.
11268
11269 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11270
11271 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11272
11273 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11274
11275 * configure.in (_AC_PROG_CC_C89): New definition.
11276 * configure: Regenerate.
11277
11278 * configure.in (AC_PROG_CPP): New definition.
11279 * configure: Regenerate.
11280
11281 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11282
11283 * debug/tst-backtrace.h: New file.
11284 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11285 (ret): Remove variable.
11286 (x): Likewise.
11287 (FAIL): Remove macro.
11288 (NO_INLINE): Likewise.
11289 (fn1): Use match function instead of strstr.
11290 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11291 (ret): Remove variable.
11292 (x): Likewise.
11293 (FAIL): Remove macro.
11294 (NO_INLINE): Likewise.
11295 (fn): Use match function instead of strstr.
11296 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11297 (ret): Remove variable.
11298 (x): Likewise.
11299 (FAIL): Remove macro.
11300 (NO_INLINE): Likewise.
11301 (handle_signal): Use match function instead of strstr.
11302 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11303 (ret): Remove variable.
11304 (x): Likewise.
11305 (FAIL): Remove macro.
11306 (NO_INLINE): Likewise.
11307 (handle_signal): Use match function instead of strstr.
11308
11309 2013-01-23 Roland McGrath <roland@hack.frob.com>
11310
11311 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11312
11313 2013-01-23 David S. Miller <davem@davemloft.net>
11314
11315 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11316 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11317 argument of CAS if possible.
11318 * sysdeps/sparc/sparc64/bits/atomic.h
11319 (__arch_compare_and_exchange_val_32_acq): Likewise.
11320 (__arch_compare_and_exchange_val_64_acq): Likewise.
11321
11322 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11323
11324 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11325 * sysdeps/posix/ulimit.c: ... this.
11326 Include <limits.h>.
11327 * sysdeps/unix/bsd/ulimit.c: Remove file.
11328
11329 2013-01-23 Adam Conrad <adconrad@0c3.net>
11330
11331 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11332 (LDFLAGS-tst-array5): Likewise.
11333
11334 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11335
11336 [BZ #15036]
11337 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11338 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11339 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11340 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11341
11342 2013-01-21 David S. Miller <davem@davemloft.net>
11343
11344 * sysdeps/sparc/backtrace.c: New file.
11345 * sysdeps/sparc/sparc32/backtrace.h: New file.
11346 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11347 * sysdeps/sparc/sparc64/backtrace.h: New file.
11348 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11349 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11350 -funwind-tables.
11351
11352 2013-01-21 Andreas Schwab <schwab@suse.de>
11353
11354 [BZ #15020]
11355 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11356 closed its stdout.
11357
11358 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11359
11360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11361 "mpa2.h".
11362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11363
11364 2013-01-18 Joseph Myers <joseph@codesourcery.com>
11365 Mark Mitchell <mark@codesourcery.com>
11366 Tom de Vries <tom@codesourcery.com>
11367 Paul Pluzhnikov <ppluzhnikov@google.com>
11368
11369 * debug/tst-backtrace2.c: New file.
11370 * debug/tst-backtrace3.c: Likewise.
11371 * debug/tst-backtrace4.c: Likewise.
11372 * debug/tst-backtrace5.c: Likewise.
11373 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11374 (CFLAGS-tst-backtrace3.c): Likewise.
11375 (CFLAGS-tst-backtrace4.c): Likewise.
11376 (CFLAGS-tst-backtrace5.c): Likewise.
11377 (LDFLAGS-tst-backtrace2): Likewise.
11378 (LDFLAGS-tst-backtrace3): Likewise.
11379 (LDFLAGS-tst-backtrace4): Likewise.
11380 (LDFLAGS-tst-backtrace5): Likewise.
11381 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11382 tst-backtrace4 and tst-backtrace5.
11383
11384 2013-01-18 Anton Blanchard <anton@samba.org>
11385 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11386
11387 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11388 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11389 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11390 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11392 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11393 "+r" and remove output regs list as redundant. Add explicit inline
11394 asm to specify register of return val to work around compiler codegen
11395 bug. Remove (int) cast on return value. Add return type parameter to
11396 use in macro so that this macro does not truncate return value for
11397 64-bit values.
11398 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11399 pass to INTERNAL_VSYSCALL_NCS.
11400 (INLINE_VSYSCALL): Add 'long int' as return type to
11401 INTERNAL_VSYSCALL_NCS macro invocation.
11402 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11403 INTERNAL_VSYSCALL_NCS macro invocation.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11405
11406 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11407
11408 [BZ #14496]
11409 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11410 Fix application of SIMD FP exception mask.
11411
11412 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11413 mp_no from a power of two.
11414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11415 __mpexp_twomm1. Use __pow_mp.
11416
11417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11418 multiplication.
11419
11420 2013-01-17 David S. Miller <davem@davemloft.net>
11421
11422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11423
11424 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11425
11426 [BZ #15023]
11427 * include/complex.h: Condition contents on [!_COMPLEX_H].
11428 (__kernel_casinhf): New prototype.
11429 (__kernel_casinh): Likewise.
11430 (__kernel_casinhl): Likewise.
11431 * math/Makefile (libm_calls): Add k_casinh.
11432 * math/k_casinh.c: New file.
11433 * math/k_casinhf.c: Likewise.
11434 * math/k_casinhl.c: Likewise.
11435 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11436 finite nonzero arguments.
11437 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11438 finite nonzero arguments.
11439 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11440 finite nonzero arguments.
11441 * math/s_casinh.c: Do not include <float.h>.
11442 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11443 * math/s_casinhf.c: Do not include <float.h>.
11444 (__casinhf): Move code for finite nonzero arguments to
11445 k_casinhf.c.
11446 * math/s_casinhl.c: Do not include <float.h>.
11447 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11448 redefine.
11449 (__casinhl): Move code for finite nonzero arguments to
11450 k_casinhl.c.
11451 * math/libm-test.inc (cacos_test): Add more tests.
11452 * sysdeps/i386/fpu/libm-test-ulps: Update.
11453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11454
11455 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11456
11457 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11458 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11459 [!HAVE_MREMAP]: Remove [defined linux] case.
11460 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11461
11462 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11463
11464 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11465
11466 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11467
11468 * elf/elf.h (R_386_SIZE32): New relocation.
11469 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11470 R_386_SIZE32.
11471 (elf_machine_rela): Likewise.
11472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11473 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11474
11475 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11476
11477 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11478 (FP_FAST_FMA): Do not define.
11479 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11480 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11481 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11482 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11483 !_SOFT_FLOAT]: Likewise.
11484 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11485 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11486 value.
11487 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11488 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11489 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11490 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11491 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11492 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11493 file.
11494
11495 2013-01-16 Andreas Schwab <schwab@suse.de>
11496
11497 [BZ #14327]
11498 * include/stdlib.h (__mktemp): Add declaration.
11499 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11500 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11501
11502 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11503
11504 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11505 definitions.
11506 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11507 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11508 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11509 definitions here.
11510 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11511 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11512 definitions.
11513 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11514 and ONE.
11515 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11516 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11517 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11518 definitions.
11519 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11520 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11521 definitions.
11522 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11523
11524 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11525
11526 2013-01-15 David S. Miller <davem@davemloft.net>
11527
11528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11529 trunc{,f} to libm-sysdep_routes.
11530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11532 file.
11533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11535 file.
11536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11537 file.
11538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11540 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11541 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11542 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11543 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11544 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11545 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11546
11547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11548 nearbyint{,f} to libm-sysdep_routes.
11549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11551 New file.
11552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11553 file.
11554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11555 New file.
11556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11557 file.
11558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11560 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11561 file.
11562 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11563 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11564 file.
11565 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11566 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11567 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11568
11569 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11570 libc_feholdexcept and libc_fesetenv.
11571
11572 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11573
11574 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11575
11576 2013-01-14 David S. Miller <davem@davemloft.net>
11577
11578 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11579 (SPARC_ASM_VIS2_IFUNC): Likewise.
11580 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11582 use of 'siam' instruction.
11583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11584 Likewise.
11585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11586 Likewise.
11587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11588 Likewise.
11589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11594 file.
11595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11596 file.
11597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11598 file.
11599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11600 file.
11601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11606 new VIS2 routines.
11607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11610 Likewise.
11611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11616 routines to libm-sysdep_routines.
11617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11618
11619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11620 fdim/fdimf to libm-sysdep_routines.
11621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11622 file.
11623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11625 file.
11626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11629 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11630 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11631 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11632 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11633
11634 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11635
11636 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11637 to optimize copies.
11638
11639 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11642
11643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11644 local variable MPTWO.
11645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11646 Likewise.
11647
11648 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11649
11650 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11651 GLOB_NOESCAPE.
11652
11653 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11654
11655 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11656
11657 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11658
11659 * manual/pattern.texi (glob_t): Document gl_flags.
11660 (glob64_t): Likewise.
11661
11662 2013-01-11 David S. Miller <davem@davemloft.net>
11663
11664 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11665 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11666 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11667 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11668 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11669 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11670 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11671 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11672 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11673 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11674 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11675 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11676 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11677
11678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11679 sparc V9 rather than using V8 code.
11680 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11681 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11682
11683 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11684 Move to...
11685 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11686 Here.
11687
11688 2013-01-11 Roland McGrath <roland@hack.frob.com>
11689
11690 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11691 not in the main loop.
11692 * configure: Regenerated.
11693
11694 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11695
11696 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11697 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11698 to just #else.
11699 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11700 [!__GLIBC_HAVE_LONG_LONG] case.
11701 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11702 condition to just #else.
11703 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11704 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11705 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11706 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11707 unconditional.
11708 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11709 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11710 #elif condition to just #else.
11711 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11712 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11713 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11714 #elif condition to just #else.
11715
11716 2013-01-11 Steve Ellcey <sellcey@mips.com>
11717
11718 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11719 (EF_MIPS_ARCH_64): Fix value.
11720 (EF_MIPS_ARCH_32R2): New.
11721 (EF_MIPS_ARCH_64R2): New.
11722
11723 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * Makeconfig (+link-pie-before-libc): New.
11726 (+link-pie-after-libc): Likewise.
11727 (+link-pie-tests): Likewise.
11728 (+link-pie): Rewritten.
11729 (link-before-libc): Remove $(config-LDFLAGS).
11730 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11731 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11732 (config-LDFLAGS): Renamed to ...
11733 (rtld-LDFLAGS): This.
11734 (rtld-tests-LDFLAGS): New macro.
11735 (link-libc-rpath-link): Likewise.
11736 (link-libc-tests-rpath-link): Likewise.
11737 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11738 (link-libc): Prepand $(link-libc-rpath-link).
11739 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11740 (test-program-prefix): New macro.
11741 (test-via-rtld-prefix): Likewise.
11742 (test-program-cmd): Likewise.
11743 (host-test-program-cmd): Likewise.
11744 * Makefile ($(common-objpfx)testrun.sh): Replace
11745 $(run-program-prefix) with $(test-program-prefix).
11746 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11747 $(rtld-LDFLAGS).
11748 ($(common-objpfx)shlib.lds): Likewise.
11749 (build-module-helper): Likewise.
11750 ($(common-objpfx)format.lds): Likewise.
11751 * Rules (binaries-pie-tests): New.
11752 (binaries-pie-notests): Likewise.
11753 (binaries-pie): Rewritten.
11754 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11755 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11756 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11757 (make-test-out): Replace $(host-built-program-cmd) with
11758 $(host-test-program-cmd).
11759 * config.make.in (build-hardcoded-path-in-tests): New variable.
11760 * configure.in (--enable-hardcoded-path-in-tests): New configure
11761 option.
11762 (hardcoded_path_in_tests): New AC_SUBST.
11763 * configure: Regenerated.
11764 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11765 $(built-program-cmd) with $(test-program-cmd).
11766 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11767 (test_program_cmd): This.
11768 * elf/Makefile ($(objpfx)order.out): Run test with
11769 $(test-program-prefix).
11770 ($(objpfx)order2.out): Likewise.
11771 ($(objpfx)tst-initorder.out): Likewise.
11772 ($(objpfx)tst-initorder2.out): Likewise.
11773 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11774 $(test-program-cmd).
11775 ($(objpfx)tst-array1-static.out): Likewise.
11776 ($(objpfx)tst-array2.out): Likewise.
11777 ($(objpfx)tst-array3.out): Likewise.
11778 ($(objpfx)tst-array4.out): Likewise.
11779 ($(objpfx)tst-array5.out): Likewise.
11780 ($(objpfx)tst-array5-static.out): Likewise.
11781 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11782 $(test-program-cmd).
11783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11784 $(run-program-prefix) with $(test-program-prefix).
11785 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11786 (test_program_prefix): This.
11787 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11788 $(run-program-prefix) with $(test-program-prefix).
11789 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11790 (test_program_prefix): This.
11791 * iconvdata/tst-tables.sh: Likewise.
11792 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11793 $(run-program-prefix) with $(test-program-prefix).
11794 ($(objpfx)tst-translit.out): Likewise.
11795 ($(objpfx)tst-gettext2.out): Likewise.
11796 ($(objpfx)tst-gettext4.out): Likewise.
11797 ($(objpfx)tst-gettext6.out): Likewise.
11798 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11799 (test_program_prefix): This.
11800 * intl/tst-gettext2.sh: Likewise.
11801 * intl/tst-gettext4.sh Likewise.
11802 * intl/tst-gettext6.sh: Likewise.
11803 * intl/tst-translit.sh: Likewise.
11804 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11805 with $(test-program-cmd).
11806 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11807 $(run-program-prefix) with $(test-program-prefix).
11808 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11809 (test_program_prefix): This.
11810 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11811 $(run-program-prefix) with $(test-program-prefix).
11812 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11813 (test_program_prefix): This.
11814 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11815 * posix/Makefile ($(objpfx)globtest.out): Replace
11816 $(run-via-rtld-prefix) and $(test-wrapper) with
11817 $(test-program-prefix) and $(test-via-rtld-prefix).
11818 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11819 $(test-program-prefix).
11820 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11821 $(host-test-program-cmd).
11822 (tst-spawn-ARGS): Likewise.
11823 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11824 $(test-program-prefix).
11825 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11826 (test_via_rtld_prefix): This.
11827 (test_wrapper): Renamed to ...
11828 (test_program_prefix): This.
11829 (run_program_prefix): Replaced by test_program_prefix.
11830 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11831 (test_program_prefix): This.
11832 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11833 with $(host-test-program-cmd).
11834 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11835 $(run-program-prefix) with $(test-program-prefix).
11836 ($(objpfx)tst-printf.out): Likewise.
11837 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11838 $(test-program-cmd).
11839 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11840 (test_program_prefix): This.
11841 * stdio-common/tst-unbputc.sh: Likewise.
11842 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11843 $(run-program-prefix) with $(test-program-prefix).
11844 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11845 (test_program_prefix): This.
11846 * string/Makefile ($(objpfx)tst-svc.out): Replace
11847 $(built-program-cmd) with $(test-program-cmd).
11848
11849 2013-01-11 Andreas Jaeger <aj@suse.de>
11850
11851 [BZ #15003]
11852 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11853 value. Sync with Linux 3.7.
11854
11855 2013-01-10 David S. Miller <davem@davemloft.net>
11856
11857 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11858 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11859 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11860
11861 2013-01-10 Roland McGrath <roland@hack.frob.com>
11862
11863 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11864 never set.
11865 * configure: Regenerated.
11866
11867 2013-01-10 David S. Miller <davem@davemloft.net>
11868
11869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11870 sparc V9 rather than using V8 code.
11871 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11872 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11873
11874 2013-01-10 Roland McGrath <roland@hack.frob.com>
11875
11876 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11877 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11878 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11879 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11880 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11881 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11882 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11883 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11884 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11885 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11886 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11887 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11888 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11889 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11890 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11891 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11892 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11893 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11894 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11895 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11896 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11897 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11898 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11899 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11900 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11901 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11902 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11903
11904 2013-01-10 David S. Miller <davem@davemloft.net>
11905
11906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11907
11908 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11909
11910 * posix/Makefile (tests-static): New variable.
11911 (tests): Add $(tests-static).
11912 (tst-exec-static-ARGS): New variable.
11913 (tst-spawn-static-ARGS): Likewise.
11914 * posix/tst-exec-static.c: New file.
11915 * posix/tst-spawn-static.c: Likewise.
11916 * posix/tst-exec.c: Support run directly.
11917 * posix/tst-spawn.c: Likewise.
11918
11919 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11920
11921 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11922 long.
11923 * math/bits/mathcalls.h (llrint): Likewise.
11924 (llround): Likewise.
11925 * stdlib/stdlib.h (struct drand48_data): Likewise.
11926 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11927 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11928 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11929 Likewise.
11930 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11931 Likewise.
11932 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11933 (elf_greg_t): Likewise.
11934 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11935 (__jmp_buf): Likewise.
11936 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11937 definitions.
11938 (llrint): Likewise, for all definitions.
11939 (llrintl): Likewise.
11940
11941 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11942 Remove [__GNUC__] condition.
11943 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11944 condition to just [__USE_ISOC99].
11945 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11946
11947 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 [BZ #14200]
11950 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11951 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11952 defined.
11953 (_POSIX_V6_ILP32_OFF32): Likewise.
11954 (_XBS5_ILP32_OFF32): Likewise.
11955 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11956 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11957
11958 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11959
11960 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11961
11962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11963 doubles __mpexp_twomm1. Adjust usage.
11964 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11965 Remove.
11966
11967 2013-01-10 Andreas Schwab <schwab@suse.de>
11968
11969 [BZ #14964]
11970 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11971 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11972
11973 2013-01-09 David S. Miller <davem@davemloft.net>
11974
11975 [BZ #15003]
11976 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11977 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11978 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11979 TCP_FASTOPEN): Define.
11980 (tcp_repair_opt): New structure.
11981 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11982 enum values.
11983 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11984 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11985 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11986 (tcp_cookie_transactions): New structure.
11987
11988 2013-01-09 Anton Blanchard <anton@samba.org>
11989
11990 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11991 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11993 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11994
11995 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11996
11997 * include/features.h (__USE_ANSI): Remove.
11998
11999 2013-01-09 Roland McGrath <roland@hack.frob.com>
12000
12001 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12002
12003 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12004
12005 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12006
12007 * sysdeps/s390/fpu/libm-test-ulps: Update.
12008
12009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12010
12011 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12012 (__acr): Likewise.
12013 (__cpy): Likewise.
12014 (norm): Likewise.
12015 (denorm): Likewise.
12016 (__mp_dbl): Likewise.
12017 (__dbl_mp): Likewise.
12018 (add_magnitudes): Likewise.
12019 (sub_magnitudes): Likewise.
12020 (__add): Likewise.
12021 (__sub): Likewise.
12022 (__mul): Likewise.
12023 (__inv): Likewise.
12024 (__dvd): Likewise.
12025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12026 (__acr): Likewise.
12027 (__cpy): Likewise.
12028 (norm): Likewise.
12029 (denorm): Likewise.
12030 (__mp_dbl): Likewise.
12031 (__dbl_mp): Likewise.
12032 (add_magnitudes): Likewise.
12033 (sub_magnitudes): Likewise.
12034 (__add): Likewise.
12035 (__sub): Likewise.
12036 (__mul): Likewise.
12037 (__inv): Likewise.
12038 (__dvd): Likewise.
12039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12040 (__acr): Likewise.
12041 (__cpy): Likewise.
12042 (norm): Likewise.
12043 (denorm): Likewise.
12044 (__mp_dbl): Likewise.
12045 (__dbl_mp): Likewise.
12046 (add_magnitudes): Likewise.
12047 (sub_magnitudes): Likewise.
12048 (__add): Likewise.
12049 (__sub): Likewise.
12050 (__mul): Likewise.
12051 (__inv): Likewise.
12052 (__dvd): Likewise.
12053
12054 2013-01-08 Joseph Myers <joseph@codesourcery.com>
12055
12056 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12057 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12058 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12059 2 && __USE_EXTERN_INLINES]: Likewise.
12060
12061 2013-01-08 Andreas Jaeger <aj@suse.de>
12062
12063 [BZ# 14985]
12064 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12065 Remove.
12066 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12067 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12068
12069 2013-01-07 Anton Blanchard <anton@samba.org>
12070
12071 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12072 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12073 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12074 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12075 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12076 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12077 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12078 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12080 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12081 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12082 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12084 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12085 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12086 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12087 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12088 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12089 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12090 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12091 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12092 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12094 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12095 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12096 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12097 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12098 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12099 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12100 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12101 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12103 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12104 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12105 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12106 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12107 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12108 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12109 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12111 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12113 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12114
12115 2013-01-07 Joseph Myers <joseph@codesourcery.com>
12116
12117 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12118 (__MALLOC_PMT): Likewise.
12119 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12120 [__GNUC__], only on [_LIBC].
12121 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12122 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12123 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12124 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12125 forward declaration.
12126 (realloc_hook_ini): Likewise.
12127 (memalign_hook_ini): Likewise.
12128 (__libc_memalign): Do not use __MALLOC_PMT in variable
12129 declaration.
12130 (__libc_valloc): Likewise.
12131 (__libc_pvalloc): Likewise.
12132 (__libc_calloc): Likewise.
12133 (__posix_memalign): Likewise.
12134
12135 [BZ #14996]
12136 * math/s_casinh.c: Include <float.h>.
12137 (__casinh): Do not do computation with squaring and square root
12138 for large arguments.
12139 * math/s_casinhf.c: Include <float.h>.
12140 (__casinhf): Do not do computation with squaring and square root
12141 for large arguments.
12142 * math/s_casinhl.c: Include <float.h>.
12143 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12144 (__casinhl): Do not do computation with squaring and square root
12145 for large arguments.
12146 * math/libm-test.inc (casin_test): Add more tests.
12147 (casinh_test): Likewise.
12148 * sysdeps/i386/fpu/libm-test-ulps: Update.
12149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12150
12151 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12152
12153 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12154 (__x86_64_raw_data_cache_size): Likewise.
12155 (__x86_64_data_cache_size_half): Likewise.
12156 (__x86_64_raw_data_cache_size_half): Likewise.
12157 (__x86_64_shared_cache_size): Likewise.
12158 (__x86_64_raw_shared_cache_size): Likewise.
12159 (__x86_64_shared_cache_size_half): Likewise.
12160 (__x86_64_raw_shared_cache_size_half): Likewise.
12161 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12162 to ...
12163 (__x86_data_cache_size): This.
12164 (__x86_64_raw_data_cache_size): Renamed to ...
12165 (__x86_raw_data_cache_size): This.
12166 (__x86_64_data_cache_size_half): Renamed to ...
12167 (__x86_data_cache_size_half): This.
12168 (__x86_64_raw_data_cache_size_half): Renamed to ...
12169 (__x86_raw_data_cache_size_half): This.
12170 (__x86_64_shared_cache_size): Renamed to ...
12171 (__x86_shared_cache_size): This.
12172 (__x86_64_raw_shared_cache_size): Renamed to ...
12173 (__x86_raw_shared_cache_size): This.
12174 (__x86_64_shared_cache_size_half): Renamed to ...
12175 (__x86_shared_cache_size_half): This.
12176 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12177 (__x86_raw_shared_cache_size_half): This.
12178 * sysdeps/x86_64/memcpy.S: Updated.
12179 * sysdeps/x86_64/memset.S: Likewise.
12180 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12183
12184 2013-01-04 David S. Miller <davem@davemloft.net>
12185
12186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12187
12188 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12189
12190 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12191 1 to avoid redefinition warning.
12192 (__USE_GNU): Don't define.
12193 (init_signaling_nan): Protoize.
12194
12195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12196
12197 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12198
12199 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12201 (__cpymn): Likewise.
12202 (norm): Remove commented code.
12203 (denorm): Likewise.
12204 (__mp_dbl): Likewise.
12205 (__inv): Likewise.
12206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12207 (__cpymn): Likewise.
12208 (norm): Remove commented code.
12209 (denorm): Likewise.
12210 (__mp_dbl): Likewise.
12211 (__inv): Likewise.
12212
12213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12214 mp_no value for 1.0 and 2.0.
12215 (norm): Use RADIXI instead of radixi.d.
12216 (denorm): Likewise.
12217 (__mul): Use 0.0 instead of zero.d.
12218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12219 mp_no value for 1.0 and 2.0.
12220 (norm): Use RADIXI instead of radixi.d.
12221 (denorm): Likewise.
12222 (__mul): Use 0.0 instead of zero.d.
12223
12224 2013-01-04 Joseph Myers <joseph@codesourcery.com>
12225
12226 [BZ #14994]
12227 * math/s_casinh.c (__casinh): Reduce finite argument to first
12228 quadrant then set signs of results at the end.
12229 * math/s_casinhf.c (__casinhf): Likewise.
12230 * math/s_casinhl.c (__casinhl): Likewise.
12231 * math/libm-test.inc (casin_test): Add more tests.
12232 (casinh_test): Likewise.
12233 * sysdeps/i386/fpu/libm-test-ulps: Update.
12234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12235
12236 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12237
12238 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12239
12240 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12241
12242 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12243 declarations.
12244 (denorm): Likewise.
12245 (__mp_dbl): Likewise.
12246 (__inv): Likewise.
12247
12248 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12249 and adjust the header comment.
12250
12251 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12252 variable name from declaration.
12253
12254 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12255
12256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12257 Initialize COMMON_CPUID_INDEX_7 element.
12258 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12259 (CPUID_RTM): Likewise.
12260 (HAS_RTM): Likewise.
12261 (COMMON_CPUID_INDEX_7): New enum.
12262
12263 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12264
12265 [BZ #14981]
12266 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12267 size is zero, record memory as freed.
12268
12269 2013-01-03 Andreas Jaeger <aj@suse.de>
12270
12271 * po/ia.po: Add new Interlingua translation.
12272
12273 2012-01-03 Allan McRae <allan@archlinux.org>
12274
12275 * locale/programs/localedef.c: Fix description of '--posix' flag.
12276
12277 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12278
12279 * NEWS: Update dates in second copyright notice.
12280 * README: Update copyright dates in example.
12281 * manual/libc.texinfo: Update copyright dates.
12282 * scripts/test-installation.pl: Update copyright date in --version
12283 output.
12284
12285 * hurd/ctty-input.c: Fix copyright notice formatting.
12286 * hurd/ctty-output.c: Likewise.
12287 * hurd/dtable.c: Likewise.
12288 * hurd/hurd-raise.c: Likewise.
12289 * hurd/hurdprio.c: Likewise.
12290 * hurd/msgportdemux.c: Likewise.
12291 * misc/sys/file.h: Likewise.
12292 * misc/sys/ioctl.h: Likewise.
12293 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12294 * sysdeps/mach/hurd/chdir.c: Likewise.
12295 * sysdeps/mach/hurd/fchdir.c: Likewise.
12296 * sysdeps/mach/hurd/rename.c: Likewise.
12297 * sysdeps/mach/hurd/rmdir.c: Likewise.
12298 * sysdeps/mach/hurd/seekdir.c: Likewise.
12299 * sysdeps/mach/hurd/setsid.c: Likewise.
12300 * sysdeps/posix/wait3.c: Likewise.
12301
12302 * All files with FSF copyright notices: Update copyright dates
12303 using scripts/update-copyrights.
12304 * intl/plural.c: Regenerated.
12305 * locale/programs/charmap-kw.h: Likewise.
12306 * locale/programs/locfile-kw.h: Likewise.
12307
12308 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12309
12310 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12311 four values.
12312
12313 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12314 calculation loop and add branch prediction.
12315
12316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12317 check access beyond bounds of m1np.
12318
12319 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12320 MPTWO.
12321 (__inv): Remove local variable MPTWO to use the global
12322 constant.
12323 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12324 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12325 variable MPTWO.
12326 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12327 MP3HALFS static const.
12328
12329 2013-01-01 David S. Miller <davem@davemloft.net>
12330
12331 * po/ca.po: Update from translation team.
12332
12333 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12334
12335 * scripts/update-copyrights: New file.
12336 * Makeconfig: Reformat copyright notice.
12337 * ctype/ctype.h: Likewise.
12338 * debug/swprintf_chk.c: Likewise.
12339 * elf/dl-cache.c: Likewise.
12340 * elf/dl-debug.c: Likewise.
12341 * elf/dl-object.c: Likewise.
12342 * grp/initgroups.c: Likewise.
12343 * hurd/Makefile: Likewise.
12344 * hurd/hurd/signal.h: Likewise.
12345 * hurd/hurdfault.c: Likewise.
12346 * hurd/hurdioctl.c: Likewise.
12347 * hurd/hurdlookup.c: Likewise.
12348 * hurd/intr-msg.c: Likewise.
12349 * iconv/gconv_open.c: Likewise.
12350 * libio/swprintf.c: Likewise.
12351 * locale/lc-ctype.c: Likewise.
12352 * locale/nl_langinfo.c: Likewise.
12353 * mach/Machrules: Likewise.
12354 * mach/Makefile: Likewise.
12355 * malloc/obstack.h: Likewise.
12356 * manual/Makefile: Likewise.
12357 * manual/tsort.awk: Likewise.
12358 * misc/bits/stab.def: Likewise.
12359 * nis/nis_print_group_entry.c: Likewise.
12360 * nis/nis_table.c: Likewise.
12361 * nis/nss_compat/compat-pwd.c: Likewise.
12362 * nis/nss_compat/compat-spwd.c: Likewise.
12363 * po/Makefile: Likewise.
12364 * posix/fnmatch.c: Likewise.
12365 * posix/regex.h: Likewise.
12366 * resolv/Makefile: Likewise.
12367 * resolv/nss_dns/dns-network.c: Likewise.
12368 * resolv/res_hconf.c: Likewise.
12369 * scripts/gen-sorted.awk: Likewise.
12370 * soft-fp/soft-fp.h: Likewise.
12371 * stdio-common/printf.h: Likewise.
12372 * stdlib/monetary.h: Likewise.
12373 * stdlib/random.c: Likewise.
12374 * stdlib/random_r.c: Likewise.
12375 * sysdeps/generic/Makefile: Likewise.
12376 * sysdeps/gnu/Makefile: Likewise.
12377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12384 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12387 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12388 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12403 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12404 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12405 * sysdeps/mach/hurd/errnos.awk: Likewise.
12406 * sysdeps/mach/hurd/fork.c: Likewise.
12407 * sysdeps/mach/hurd/getcwd.c: Likewise.
12408 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12409 * sysdeps/mach/hurd/mmap.c: Likewise.
12410 * sysdeps/mach/hurd/utimes.c: Likewise.
12411 * sysdeps/mach/hurd/xmknod.c: Likewise.
12412 * sysdeps/posix/profil.c: Likewise.
12413 * sysdeps/posix/readdir_r.c: Likewise.
12414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12415 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12416 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12417 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12420 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12421 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12423 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12424 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12425 * sysdeps/pthread/lio_listio.c: Likewise.
12426 * sysdeps/sparc/dl-procinfo.h: Likewise.
12427 * sysdeps/unix/i386/sysdep.S: Likewise.
12428 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12429 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12430 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12431 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12433 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12434 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12435 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12436 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12437 * sysdeps/wordsize-32/divdi3.c: Likewise.
12438 * time/sys/time.h: Likewise.
12439 * wcsmbs/Makefile: Likewise.
12440
12441 2013-01-01 David S. Miller <davem@davemloft.net>
12442
12443 * po/fr.po: Update from translation team.
12444
12445 * catgets/gencat.c: Update copyright year.
12446 * csu/version.c: Likewise.
12447 * debug/catchsegv.sh: Likewise.
12448 * debug/pcprofiledump.c: Likewise.
12449 * debug/xtrace.sh: Likewise.
12450 * elf/ldconfig.c: Likewise.
12451 * elf/ldd.bash.in: Likewise.
12452 * elf/pldd.c: Likewise.
12453 * elf/sotruss.ksh: Likewise.
12454 * elf/sprof.c: Likewise.
12455 * iconv/iconv_prog.c: Likewise.
12456 * iconv/iconvconfig.c: Likewise.
12457 * locale/programs/locale.c: Likewise.
12458 * locale/programs/localedef.c: Likewise.
12459 * login/programs/pt_chown.c: Likewise.
12460 * malloc/memusage.sh: Likewise.
12461 * malloc/memusagestat.c: Likewise.
12462 * malloc/mtrace.pl: Likewise.
12463 * nscd/nscd.c: Likewise.
12464 * nss/getent.c: Likewise.
12465 * nss/makedb.c: Likewise.
12466 * posix/getconf.c: Likewise.
12467
12468 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12469
12470 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12471 numbers.
12472
12473 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12474
12475 * math/bits/mathcalls.h (modf): Use __nonnull.
12476
12477 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12478
12479 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12480 (split): Use macro CN instead of the bare value.
12481 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12482 could be used.
12483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12484 instead of the bare value.
12485 (power1): Likewise.
12486
12487 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12488
12489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12490 __ATAN_TWOM.
12491 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12492
12493 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12494 their values.
12495 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12496 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12497 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12498 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12499
12500 2012-12-28 Andreas Jaeger <aj@suse.de>
12501
12502 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12503 values are from Linux 3.7.
12504
12505 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12506 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12507
12508 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12509
12510 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12511 TRUE case.
12512
12513 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12514 (norm): Likewise.
12515 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12516 variables with preprocessor constants.
12517 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12518 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12519 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12520
12521 2012-12-27 Bruno Haible <bruno@clisp.org>
12522
12523 [BZ #14317]
12524 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12525 only if needed.
12526
12527 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12528
12529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12530 and use variable directly.
12531 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12532
12533 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12534 MPONE.
12535 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12537 variable MPONE.
12538 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12540 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12541 include directive. Remove local variable MPONE.
12542 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12543 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12545
12546 2012-12-25 David S. Miller <davem@davemloft.net>
12547
12548 * version.h (RELEASE): Set to "development".
12549 (VERSION): Set to "2.17.90".
12550 * NEWS: Add 2.18 section.
12551
12552 2012-12-21 David S. Miller <davem@davemloft.net>
12553
12554 * po/hr.po: Update from translation team.
12555
12556 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12557
12558 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12559
12560 2012-12-19 Steve Ellcey <sellcey@mips.com>
12561
12562 * NEWS: Mention new memcpy for MIPS.
12563
12564 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12565
12566 * manual/contrib.texi (Contributors): Spelling correction.
12567
12568 2012-12-15 David S. Miller <davem@davemloft.net>
12569
12570 * po/ru.po: Update from translation team.
12571
12572 2012-12-13 David S. Miller <davem@davemloft.net>
12573
12574 * NEWS: Mention IFUNC testsuite enhancements.
12575
12576 * po/pl.po: Update from translation team.
12577 * po/bg.po: Likewise.
12578
12579 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12580 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12581
12582 2012-12-11 David S. Miller <davem@davemloft.net>
12583
12584 * po/sv.po: Update from translation team.
12585
12586 * po/vi.po: Update from translation team.
12587
12588 * po/cs.po: Update from translation team.
12589
12590 * po/de.po: Update from translation team.
12591 * po/eo.po: Likewise.
12592 * po/nl.po: Likewise.
12593
12594 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12595
12596 [BZ #14246]
12597 * manual/argp.texi (Argp Helper Functions): Move node to follow
12598 Argp Parsing State.
12599
12600 [BZ #14872]
12601 * manual/conf.texi (Limits on File System Capacity): Mention if
12602 terminating null is included in the max size.
12603
12604 2012-12-10 Andreas Jaeger <aj@suse.de>
12605
12606 * po/cs.po: Update from translation team.
12607
12608 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12609
12610 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12611 void pointer and cast to uintptr_t.
12612 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12613 path.
12614 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12615 * sysdeps/s390/s390-64/memset.S: Likewise.
12616
12617 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12618
12619 [BZ #14833]
12620 * menual/message.texi (Message Translation): Fix typos.
12621 (Helper programs for gettext): Likewise.
12622
12623 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12624
12625 [BZ #14898]
12626 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12627 Change to -1.
12628
12629 2012-12-07 David S. Miller <davem@davemloft.net>
12630
12631 * po/libc.pot: Update.
12632
12633 2012-12-07 Richard Henderson <rth@redhat.com>
12634
12635 [BZ #10114]
12636 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12637 normal/normal case to before the switch.
12638 (_FP_DIV): Likewise.
12639
12640 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12641 Mike Frysinger <vapier@gentoo.org>
12642
12643 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12644 check for __NR_fadvise64_64.
12645
12646 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12647
12648 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12649 0, not just to plain "0" as a statement.
12650 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12651 with cw.
12652
12653 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12654
12655 * NEWS: Use sourceware.org in Bugzilla URL.
12656
12657 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12658
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12660 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12661
12662 * stdio-common/tst-put-error.c (do_test): Add newline to the
12663 padded test to ensure flush.
12664
12665 2012-12-05 Jeff Law <law@redhat.com>
12666
12667 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12668
12669 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12670
12671 * README: Don't refer to ports add-on as distributed separately.
12672 Mention AArch64 in list of systems supported in the ports add-on.
12673
12674 * LICENSES: Add more non-FSF copyright and license notices.
12675
12676 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12677 ((unused)).
12678
12679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12680
12681 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12682 10000 as width of padded output.
12683
12684 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12685
12686 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12687
12688 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12689 variable LX with __attribute__ ((unused)).
12690 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12691 Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12695 with __attribute__ ((unused)).
12696
12697 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12698
12699 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12700
12701 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12702
12703 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12704 (CFLAGS-nldbl-acos.c): New variable.
12705 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12706 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12707 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12708 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12709 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12710 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12711 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12712 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12713 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12714 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12715 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12716 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12717 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12718 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12719 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12720 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12721 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12722 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12723 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12724 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12725 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12726 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12727 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12728 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12729 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12730 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12731 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12732 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12733 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12734 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12735 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12736 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12737 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12738 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12739 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12740 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12741 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12742 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12743 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12744 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12745 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12746 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12747 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12748 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12749 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12750 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12751 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12752 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12753 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12754 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12755 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12756 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12757 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12758 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12759 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12760 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12761 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12762 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12763 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12764 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12765 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12766 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12767 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12768 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12769 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12770 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12771 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12772 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12773 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12774 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12775 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12776 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12777 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12778 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12779 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12780 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12781 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12782 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12783 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12784 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12785 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12786 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12787 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12788 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12789 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12790 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12791 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12792 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12793 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12794 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12795 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12796 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12797 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12798 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12799 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12800 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12801 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12802
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12804 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12805
12806 [BZ #14914]
12807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12808 whole low double instead of just low 47 bits when splitting values
12809 into two parts.
12810
12811 2012-12-03 Allan McRae <allan@archlinux.org>
12812
12813 * manual/stdio.texi (Predefined Printf Handlers): Remove
12814 @hsep and @vsep usage.
12815
12816 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12817
12818 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12819 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12820
12821 2012-12-03 Jeff Law <law@redhat.com>
12822
12823 * time/sys/time.h (settimeofday): Do not mark TV argument
12824 as __nonnull.
12825
12826 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12827
12828 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12829 when currently writing and seek to current position when not.
12830 * libio/Makefile (tests): Remove bug-fclose1.
12831 * libio/bug-fclose1.c: Delete.
12832
12833 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12834
12835 * manual/arith.texi (feenableexcept): Fix typo.
12836 (fedisableexcept): Likewise.
12837
12838 2012-11-30 Roland McGrath <roland@hack.frob.com>
12839
12840 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12841 second, differently-typed declaration, rather than a cast.
12842
12843 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12844
12845 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12846 * include/rpc/svc.h: ... here.
12847
12848 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12849
12850 [BZ #13013]
12851 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12852 depending n and resplen2 to catch cases where answer
12853 equals answerp2.
12854
12855 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12856
12857 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12858 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12859
12860 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12861
12862 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12863
12864 2012-11-29 Roland McGrath <roland@hack.frob.com>
12865
12866 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12867
12868 2012-11-28 Jeff Law <law@redhat.com>
12869
12870 [BZ #13761]
12871 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12872 dataset_temporary. Track alloca usage into alloca_used.
12873 If dataset is large allocate and release it via malloc/free.
12874
12875 2012-06-04 Florian Weimer <fweimer@redhat.com>
12876
12877 [BZ #14197]
12878 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12879
12880 2012-11-28 David S. Miller <davem@davemloft.net>
12881
12882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12883
12884 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12885
12886 [BZ #14803]
12887 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12888 of pi/2 rounded to nearest to 64 bits.
12889 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12890 nearest to 64 bits.
12891 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12892 bits.
12893
12894 2012-11-28 Jeff Law <law@redhat.com>
12895 Martin Osvald <mosvald@redhat.com>
12896
12897 [BZ #14889]
12898 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12899 * sunrpc/svc.c: Include time.h.
12900 (__svc_accept_failed): New function.
12901 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12902 any reason other than EINTR, call __svc_accept_failed.
12903 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12904 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12905
12906 2012-11-28 Andreas Schwab <schwab@suse.de>
12907
12908 * scripts/abilist.awk: Also handle indirect functions in .opd
12909 section.
12910
12911 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12912
12913 [BZ #13881]
12914 * sysdeps/x86/fpu/powl_helper.c: New file.
12915 * sysdeps/x86/fpu/Makefile: Likewise.
12916 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12917 (p3): New object.
12918 (__ieee754_powl): Use __powl_helper for finite arguments except
12919 integer exponents below 8.
12920 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12921 (p3): New object.
12922 (__ieee754_powl): Use __powl_helper for finite arguments except
12923 integer exponents below 8.
12924 * math/libm-test.inc (pow_test): Add more tests and enable some
12925 previously disabled tests.
12926 * sysdeps/i386/fpu/libm-test-ulps: Update.
12927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12928
12929 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12930 Carlos O'Donell <carlos_odonell@mentor.com>
12931
12932 * nss/makedb.c (is_prime): Assert that input is odd and greater
12933 than 4. Note that fact in a comment too.
12934 (next_prime): Add 4 to input.
12935
12936 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12937
12938 [BZ #11741]
12939 * libio/Makefile (tests): Add test case tst-fwrite-error.
12940 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12941 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12942 * libio/tst-fwrite-error.c: New test case.
12943
12944 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12945
12946 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12947 before casting to void *.
12948 * include/libc-internal.h (__pointer_type): New macro.
12949 (__integer_if_pointer_type_sub): Likewise.
12950 (__integer_if_pointer_type): Likewise.
12951 (cast_to_integer): Likewise.
12952 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12953 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12954 before casting to atomic64_t.
12955 (atomic_exchange_acq): Likewise.
12956 (__arch_exchange_and_add_body): Likewise.
12957 (__arch_add_body): Likewise.
12958 (atomic_add_negative): Likewise.
12959 (atomic_add_zero): Likewise.
12960
12961 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12962
12963 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12964 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12965 (add_fdes): Likewise.
12966 (linear_search_fdes): Likewise.
12967 (binary_search_unencoded_fdes): Likewise.
12968
12969 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12970
12971 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12972
12973 2012-11-24 Adam Conrad <adconrad@0c3.net>
12974
12975 * configure.in: Autodetect C++ header directories.
12976 * configure: Regenerated.
12977
12978 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12979
12980 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12981
12982 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12983
12984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12985
12986 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12987
12988 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12989 LDBL_MANT_DIG == 106]: Disable some tests.
12990 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12991 Likewise.
12992 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12993 Likewise.
12994
12995 [BZ #14871]
12996 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12997 input for small inputs. Return +/- pi/2 for large inputs.
12998 * math/libm-test.inc (atan_test): Add more tests.
12999
13000 * sysdeps/generic/unwind-dw2-fde-glibc.c
13001 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13002 __attribute__ ((unused)).
13003
13004 [BZ #14645]
13005 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13006 x * y if x and y are nonzero and z is zero.
13007
13008 [BZ #14811]
13009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13010 nonzero exponents with absolute value below 0x1p-117 to +/-
13011 0x1p-117.
13012
13013 [BZ #14869]
13014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13015 up arguments below 2**-450, not just those below 2**-500.
13016 * math/libm-test.inc (hypot_test): Add another test.
13017
13018 [BZ #14868]
13019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13020 Return a+b for ratio over 2**120, not 2**60.
13021 * math/libm-test.inc (hypot_test): Add another test.
13022
13023 * math/libm-test.inc (clog_test): Use
13024 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13025 (clog10_test): Likewise.
13026
13027 [BZ #6778]
13028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13029
13030 2012-11-22 Andreas Schwab <schwab@suse.de>
13031
13032 * sysdeps/i386/fpu/libm-test-ulps: Update.
13033
13034 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13035
13036 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13037 printf output with newline.
13038
13039 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 [BZ #14865]
13042 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13043 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13044 -z nodlopen, -z initfirst and -z execstack support.
13045 * configure: Regenerated.
13046
13047 * elf/elf.h (DF_1_NODIRECT): New macro.
13048 (DF_1_IGNMULDEF): Likewise.
13049 (DF_1_NOKSYMS): Likewise.
13050 (DF_1_NOHDR): Likewise.
13051 (DF_1_EDITED): Likewise.
13052 (DF_1_NORELOC): Likewise.
13053 (DF_1_SYMINTPOSE): Likewise.
13054 (DF_1_GLOBAUDIT): Likewise.
13055 (DF_1_SINGLETON): Likewise.
13056 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13057 DT_1_SUPPORTED_MASK bits.
13058 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13059
13060 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13061
13062 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13063
13064 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13065
13066 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13067 macro.
13068
13069 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13070 (sendmmsg): Move declarations...
13071 * socket/sys/socket.h: ... here.
13072 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13073 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13074 include it from...
13075 * socket/recvmmsg.c: ... this new file.
13076 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13077 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13078 definition of __sendmmsg hidden.
13079 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13080 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13081 Move ENOSYS stub into and include it from...
13082 * socket/sendmmsg.c: ... this new file.
13083 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13084 (sysdep_routines): Move recvmmsg and sendmmsg...
13085 * socket/Makefile (routines): ... here.
13086 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13087 (GLIBC_PRIVATE): Add __sendmmsg.
13088 * include/sys/socket.h (__sendmmsg): Add declarations.
13089 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13090 sendmmsg.
13091
13092 2012-11-20 Joseph Myers <joseph@codesourcery.com>
13093
13094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13095 variable I1 with __attribute__ ((unused)).
13096 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13097
13098 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13099
13100 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13101 DUMMY variables with __attribute__ ((unused)).
13102
13103 * bits/byteswap.h: Include <bits/types.h>.
13104 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13105
13106 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13107
13108 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13109 string_t. Do not manually set errno.
13110 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13111 length with __strnlen. Make sure to both set errno and return it on
13112 failure.
13113
13114 2012-11-19 David S. Miller <davem@davemloft.net>
13115
13116 With help from Joseph Myers.
13117 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13118 very large arguments properly.
13119 * math/libm-test.inc (atan_test): New tests.
13120 (atan2_test): New tests.
13121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13123
13124 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13125
13126 [BZ #14856]
13127 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13128 Define to 3.
13129
13130 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13131 [POSIX] (EADDRNOTAVAIL): Likewise.
13132 [POSIX] (EAFNOSUPPORT): Likewise.
13133 [POSIX] (EALREADY): Likewise.
13134 [POSIX] (ECONNABORTED): Likewise.
13135 [POSIX] (ECONNREFUSED): Likewise.
13136 [POSIX] (ECONNRESET): Likewise.
13137 [POSIX] (EDESTADDRREQ): Likewise.
13138 [POSIX] (EDQUOT): Likewise.
13139 [POSIX] (EHOSTUNREACH): Likewise.
13140 [POSIX] (EIDRM): Likewise.
13141 [POSIX] (EISCONN): Likewise.
13142 [POSIX] (ELOOP): Likewise.
13143 [POSIX] (EMULTIHOP): Likewise.
13144 [POSIX] (ENETDOWN): Likewise.
13145 [POSIX] (ENETUNREACH): Likewise.
13146 [POSIX] (ENOBUFS): Likewise.
13147 [POSIX] (ENODATA): Likewise.
13148 [POSIX] (ENOLINK): Likewise.
13149 [POSIX] (ENOMSG): Likewise.
13150 [POSIX] (ENOPROTOOPT): Likewise.
13151 [POSIX] (ENOSR): Likewise.
13152 [POSIX] (ENOSTR): Likewise.
13153 [POSIX] (ENOTCONN): Likewise.
13154 [POSIX] (ENOTSOCK): Likewise.
13155 [POSIX] (EOPNOTSUPP): Likewise.
13156 [POSIX] (EOVERFLOW): Likewise.
13157 [POSIX] (EPROTO): Likewise.
13158 [POSIX] (EPROTONOSUPPORT): Likewise.
13159 [POSIX] (EPROTOTYPE): Likewise.
13160 [POSIX] (ESTALE): Likewise.
13161 [POSIX] (ETIME): Likewise.
13162 [POSIX] (ETXTBSY): Likewise.
13163 [POSIX] (EWOULDBLOCK): Likewise.
13164 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13165 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13166 [POSIX] (SEEK_CUR): Likewise.
13167 [POSIX] (SEEK_END): Likewise.
13168 [POSIX || UNIX98] (mode_t): Do not require.
13169 [POSIX] (off_t): Likewise.
13170 [POSIX] (pid_t): Likewise.
13171 [POSIX] (sys/stat.h): Do not allow header.
13172 [POSIX] (unistd.h): Likewise.
13173 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13174 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13175 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13176 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13177 require.
13178 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13179 sigevent): Specify elements.
13180 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13181 entry.
13182 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13183 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13184
13185 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13186 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13187 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13188 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13189 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13190 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13191 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13192 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13193 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13194 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13195 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13196 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13197 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13198 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13199 Likewise.
13200 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13201 Likewise.
13202 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13203 Likewise.
13204 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13205 Likewise.
13206 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13207 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13208 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13209 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13210 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13211 Specify lower bound on value.
13212 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13213 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13214 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13215 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13216 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13217 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13218 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13219 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13220 value.
13221 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13222 as optional.
13223 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13224 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13225 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13226 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13227 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13228 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13229 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13230 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13231 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13232 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13233 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13234 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13235 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13236 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13237 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13238 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13239 entry.
13240 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13241 optional.
13242 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13243 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13244 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13245 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13246 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13247 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13248 Likewise.
13249 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13250 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13251 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13252 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13253 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13254 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13255 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13256 as optional.
13257 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13258 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13259 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13260 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13261 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13262 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13263 specify as optional.
13264 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13265 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13266 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13267 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13268 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13269 [XPG3] (NL_LANGMAX): Likewise.
13270 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13271 [POSIX || XPG3] (NL_NMAX): Likewise.
13272 [POSIX || XPG3] (NL_SETMAX): Likewise.
13273 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13274 [XPG3] (NZERO): Likewise.
13275 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13276 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13277 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13278 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13279 (REG_ERANGE): Expect.
13280 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13281 optional-constant.
13282 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13283 Use (void) in prototype.
13284 [POSIX] (*_t): Allow.
13285 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13286 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13287 (WRDE_BADVAL): Expect.
13288
13289 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13290 expect.
13291 [XPG3 || XPG4] (O_RSYNC): Likewise.
13292 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13293 Likewise.
13294 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13295 [XPG3 || XPG4] (sigqueue): Likewise.
13296 [XPG3 || XPG4] (sigtimedwait): Likewise.
13297 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13298 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13299 [XPG3 || XPG4] (vsnprintf): Likewise.
13300 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13301 Likewise.
13302 [XPG3 || XPG4] (blksize_t): Likewise.
13303 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13304 Likewise.
13305 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13306 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13307 [XPG3 || XPG4] (struct itimerspec): Likewise.
13308 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13309 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13310 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13311 [XPG3 || XPG4] (clockid_t): Likewise.
13312 [XPG3 || XPG4] (timer_t): Likewise.
13313 [XPG3 || XPG4] (clock_getres): Likewise.
13314 [XPG3 || XPG4] (clock_gettime): Likewise.
13315 [XPG3 || XPG4] (clock_settime): Likewise.
13316 [XPG3 || XPG4] (nanosleep): Likewise.
13317 [XPG3 || XPG4] (timer_create): Likewise.
13318 [XPG3 || XPG4] (timer_delete): Likewise.
13319 [XPG3 || XPG4] (timer_gettime): Likewise.
13320 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13321 [XPG3 || XPG4] (timer_settime): Likewise.
13322 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13323 [XPG3 || XPG4] (getlogin_r): Likewise.
13324 [XPG3 || XPG4] (pread): Likewise.
13325 [XPG3 || XPG4] (pthread_atfork): Likewise.
13326 [XPG3 || XPG4] (pwrite): Likewise.
13327
13328 [BZ #14835]
13329 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13330 <bits/siginfo.h>.
13331
13332 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13333
13334 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13335 finalizing MALLSTREAM.
13336
13337 * sysdeps/mach/hurd/syncfs.c: New file.
13338
13339 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13340
13341 [BZ #14719]
13342 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13343 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13344 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13345 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13346 (_nss_dns_gethostbyname4_r): Likewise.
13347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13348 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13349
13350 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13351
13352 [BZ #13763]
13353 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13354
13355 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13356
13357 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13358 * elf/cache.c (print_entry): Print ",AArch64" for
13359 FLAG_AARCH64_LIB64
13360
13361 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13362 * elf/cache.c (print_entry): Print ",hard-float" for
13363 FLAG_ARM_LIBHF.
13364
13365 2012-11-18 David S. Miller <davem@davemloft.net>
13366
13367 With help from Joseph Myers.
13368 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13369 cutoff to 2**-13.
13370 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13371 cutoff to 2**-25.
13372 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13373 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13374 small.
13375 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13376 * math/libm-test.inc (y0_test): New tests.
13377 (y1_test): New tests.
13378 * sysdeps/i386/fpu/libm-test-ulps: Update.
13379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13381
13382 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13383
13384 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13385 64-bit targets.
13386 * configure: Regenerated.
13387
13388 2012-11-17 David S. Miller <davem@davemloft.net>
13389
13390 [BZ #14811]
13391 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13392 nonzero exponents with absolute value below 0x1p-128 to +/-
13393 0x1p-128.
13394
13395 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13396
13397 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13398
13399 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13400
13401 * posix/getconf-speclist.c: New file.
13402 * posix/posix-envs.def: Likewise.
13403 * posix/confstr.c (START_ENV_GROUP): New macro.
13404 (END_ENV_GROUP): Likewise.
13405 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13406 (KNOWN_PRESENT_ENV_STRING): Likewise.
13407 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13408 (UNKNOWN_ENVIRONMENT): Likewise.
13409 (confstr): Include posix-envs.def instead of handling
13410 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13411 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13412 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13413 (END_ENV_GROUP): Likewise.
13414 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13415 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13416 (UNKNOWN_ENVIRONMENT): Likewise.
13417 (__sysconf): Include posix-envs.def instead of handling associated
13418 cases directly here.
13419 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13420 preprocessing getconf-speclist.c rather than running getconf or
13421 generating empty file.
13422
13423 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13424
13425 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13426
13427 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13428
13429 [BZ #14672]
13430 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13431
13432 2012-11-16 David S. Miller <davem@davemloft.net>
13433
13434 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13435 smaller than LDBL_EPSILON/2.0L, just return xm1.
13436
13437 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13438
13439 * elf/tst-array1.c (init): Set constructor priority to 1000.
13440 (fini): Set destructor priority to 1000.
13441 * elf/tst-array2dep.c: Likewise.
13442
13443 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13444
13445 [BZ #11741]
13446 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13447 (_IO_new_file_xsputn): Also return EOF if none of the input
13448 data was written when overflow failed.
13449 * libio/iopadn.c (_IO_padn): Likewise.
13450 * libio/iowpadn.c (_IO_wpadn): Likewise.
13451 * stdio-common/tst-put-error.c: Add copyright notice.
13452 (do_test): Add case for printing padded string.
13453 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13454 _IO_padn returned error.
13455 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13456 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13457 return EOF.
13458
13459 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13460
13461 * libio/libioP.h: Add comment note that the references to C++
13462 bits are now obsolete.
13463
13464 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13465
13466 * math/libm-test.inc (check_complex): Use asprintf.
13467
13468 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13469
13470 * debug/pcprofiledump.c (print_version): Update copyright year.
13471 * malloc/memusagestat.c (print_version): Likewise.
13472
13473 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13474
13475 [BZ #14831]
13476 * elf/Makefile (tests): Add tst-audit8.
13477 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13478 ($(objpfx)tst-audit8.out): New target.
13479 (tst-audit8-ENV): New variable.
13480 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13481 audit if l_reloc_result is NULL.
13482 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13483 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13484 * elf/tst-audit8.c: New file.
13485
13486 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13487
13488 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13489 * misc/Makefile (CFLAGS-select.c): Define.
13490 * posix/Makefile (CFLAGS-pause.c): Define.
13491
13492 2012-11-13 David S. Miller <davem@davemloft.net>
13493
13494 * crypt/Makefile: Move test targets after toplevel Rules
13495 inclusion. Grab any necessary sysdep routines when linking.
13496 * crypt/md5.c (md5_process_block): Remove define, we will always
13497 name it __md5_process_block.
13498 (md5_finish_ctx): Update md5_process_block call.
13499 (md5_stream): Likewise.
13500 (md5_process_bytes): Likewise.
13501 (md5_process_block): Rename to __md5_process_block and move to ...
13502 * crypt/md5-block.c: ... here.
13503 * crypt/sha256.c (sha256_process_block): Move to ...
13504 * crypt/sha256-block.c: ... here.
13505 * crypt/sha512.c (sha512_process_block): Move to ...
13506 * crypt/sha512-block.c: ... here.
13507 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13508 path.
13509 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13510 * sysdeps/sparc/sparc64/multiarch/Makefile
13511 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13512 crypt subdir.
13513 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13514 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13515 multiarch changes.
13516 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13517 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13518 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13519 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13520 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13521 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13522 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13523 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13524 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13525 file.
13526 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13527 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13528 file.
13529 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13530
13531 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13532
13533 * timezone/tzselect.ksh: Update from tzcode git revision
13534 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13535 * timezone/zdump.c: Likewise.
13536 * timezone/zic.c: Likewise.
13537 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13538 in TZVERSION setting, not $(PKGVERSION).
13539 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13540 REPORT_BUGS_TO settings.
13541
13542 [BZ #14838]
13543 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13544 macro.
13545
13546 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13547
13548 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13549 detection to immediately after _FP_ROUND().
13550 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13551 bits are 0.
13552
13553 2012-11-11 David S. Miller <davem@davemloft.net>
13554
13555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13556 inttypes.h
13557 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13558 __close rather than their public counterparts.
13559
13560 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13561
13562 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13563 file.
13564 [UNIX98] (sem_timedwait): Do not expect.
13565 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13566 [XPG4 || UNIX98] (sockatmark): Do not expect.
13567 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13568 (clock_getcpuclockid): Do not expect.
13569 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13570 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13571 Do not expect.
13572 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13573 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13574 [UNIX98] (vwscanf): Likewise.
13575 [UNIX98] (vswscanf): Likewise.
13576
13577 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13578
13579 * timezone/version.h: Remove file.
13580 * timezone/README: Do not refer to version.h.
13581 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13582 $(objpfx)version.h.
13583 ($(objpfx)zdump.o): Likewise.
13584 ($(objpfx)version.h): New target.
13585
13586 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13587 2012i.
13588 * timezone/README: Don't mention modification to tzselect.ksh.
13589 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13590 work on unmodified tzselect.ksh. Substitute version numbers in
13591 tzselect.ksh.
13592
13593 * Makefile (format-me): Remove.
13594 (INSTALL): Adjust indentation. Use commands directly instead of
13595 using $(format-me).
13596
13597 * aclocal.m4 (ACX_PKGVERSION): New macro.
13598 (ACX_BUGURL): Likewise.
13599 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13600 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13601 (REPORT_BUGS_TO): Likewise.
13602 * configure: Regenerated.
13603 * config.h.in (PKGVERSION): New macro.
13604 (REPORT_BUGS_TO): Likewise.
13605 * config.make.in (PKGVERSION): New variable.
13606 (PKGVERSION_TEXI): Likewise.
13607 (REPORT_BUGS_TO): Likewise.
13608 (REPORT_BUGS_TEXI): Likewise.
13609 * Makefile (format-me): Use -I$(common-objpfx)manual.
13610 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13611 ($(common-objpfx)manual/%): New target.
13612 (manual/%): Remove target.
13613 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13614 (print_version): Use PKGVERSION.
13615 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13616 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13617 and REPORT_BUGS_TO.
13618 ($(objpfx)xtrace): Likewise.
13619 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13620 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13621 (print_version): Use PKGVERSION.
13622 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13623 (do_version): Use PKGVERSION.
13624 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13625 REPORT_BUGS_TO.
13626 (common-ldd-rewrite): Likewise.
13627 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13628 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13629 (print_version): Use PKGVERSION.
13630 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13631 * elf/pldd.c (argp_program_bug_address): Remove variable.
13632 (more_help): New function.
13633 (argp): Use more_help.
13634 (print_version): Use PKGVERSION.
13635 * elf/sln.c (main): Use PKGVERSION.
13636 (usage): Use REPORT_BUGS_TO.
13637 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13638 (top level): Use PKGVERSION.
13639 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13640 (print_version): Use PKGVERSION.
13641 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13642 (print_version): Use PKGVERSION.
13643 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13644 (print_version): Use PKGVERSION.
13645 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13646 (print_version): Use PKGVERSION.
13647 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13648 (print_version): Use PKGVERSION.
13649 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13650 (print_version): Use PKGVERSION.
13651 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13652 and BUGURL.
13653 ($(objpfx)memusage): Likewise.
13654 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13655 (do_version): Use PKGVERSION.
13656 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13657 (print_version): Use PKGVERSION.
13658 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13659 ($PKGVERSION): New variable.
13660 ($REPORT_BUGS_TO): Likewise.
13661 (usage): Use $REPORT_BUGS_TO.
13662 (top level): Use $PKGVERSION.
13663 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13664 ($(objpfx)pkgvers.texi): New rule.
13665 ($(objpfx)stamp-pkgvers): Likewise.
13666 * manual/install.texi: Include pkgvers.texi.
13667 (--with-pkgversion): Document new configure option.
13668 (--with-bugurl): Likewise.
13669 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13670 than necessarily for this particular distribution. Use
13671 REPORT_BUGS_TO for where to report bugs.
13672 * INSTALL: Regenerated.
13673 * manual/libc.texinfo: Include pkgvers.texi.
13674 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13675 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13676 (print_version): Use PKGVERSION.
13677 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13678 (print_version): Use PKGVERSION.
13679 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13680 (print_version): Use PKGVERSION.
13681 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13682 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13683 macro.
13684 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13685 (print_version): Use PKGVERSION.
13686 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13687 (print_version): Use PKGVERSION.
13688 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13689 and PKGVERSION.
13690
13691 * timezone/checktab.awk: Update from tzcode 2012i.
13692 * timezone/ialloc.c: Likewise.
13693 * timezone/private.h: Likewise.
13694 * timezone/scheck.c: Likewise.
13695 * timezone/tzfile.h: Likewise.
13696 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13697 (TZVERSION): Hardcode tzcode version number.
13698 * timezone/zdump.c: Update from tzcode 2012i.
13699 * timezone/zic.c: Likewise.
13700 * timezone/version.h: New file.
13701 * timezone/README: Describe version.h. Update upstream location.
13702
13703 [BZ #14824]
13704 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13705 (mktemp): Enable declaration.
13706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13709 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13710 Likewise.
13711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13712 Likewise.
13713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13714 Likewise.
13715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13716 Likewise.
13717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13718 Likewise.
13719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13720 Likewise.
13721
13722 [BZ #14821]
13723 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13724 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13725 for copies of such integer values.
13726 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13727 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13728
13729 2012-11-09 Andreas Jaeger <aj@suse.de>
13730
13731 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13732 definitions and declarations that are provided by
13733 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13734
13735 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13736
13737 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13738 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13739 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13740 definition.
13741
13742 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13743
13744 * elf/elf.h: Update comment before AArch64 relocations.
13745
13746 2012-11-07 David S. Miller <davem@davemloft.net>
13747
13748 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13750 (__start_context): Declare.
13751 (__makecontext_ret): Delete.
13752 (__makecontext): Hook up __start_context instead of
13753 __makecontext_ret.
13754 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13755 (sysdep_routines): Add __start_context when in stdlib.
13756
13757 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13758
13759 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13760 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13761 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13762 hardcoded "nm".
13763 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13764 (READELF): New variable. Use it instead of hardcoded "readelf".
13765
13766 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13767
13768 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13769 * sysdeps/x86/Makefile: Here.
13770 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13771 * sysdeps/x86/tst-xmmymm.sh: This.
13772
13773 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13774
13775 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13776 expectations.
13777 [UNIX98] (pthread_barrier_t): Do not expect.
13778 [UNIX98] (pthread_barrierattr_t): Likewise.
13779 [UNIX98] (pthread_spinlock_t): Likewise.
13780 [UNIX98] (pthread_barrier_destroy): Likewise.
13781 [UNIX98] (pthread_barrier_init): Likewise.
13782 [UNIX98] (pthread_barrier_wait): Likewise.
13783 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13784 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13785 [UNIX98] (pthread_barrierattr_init): Likewise.
13786 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13787 [UNIX98] (pthread_getcpuclockid): Likewise.
13788 [UNIX98] (pthread_mutex_timedlock): Likewise.
13789 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13790 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13791 [UNIX98] (pthread_sigmask): Likewise.
13792 [UNIX98] (pthread_spin_destroy): Likewise.
13793 [UNIX98] (pthread_spin_init): Likewise.
13794 [UNIX98] (pthread_spin_lock): Likewise.
13795 [UNIX98] (pthread_spin_trylock): Likewise.
13796 [UNIX98] (pthread_spin_unlock): Likewise.
13797 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13798 Do not expect.
13799 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13801 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13802 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13803 [XPG3 || XPG4] (pthread_key_t): Likewise.
13804 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13805 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13806 [XPG3 || XPG4] (pthread_once_t): Likewise.
13807 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13808 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13810 [XPG3 || XPG4] (pthread_t): Likewise.
13811
13812 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13813 not expect.
13814 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13815
13816 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13817 Change function return type to int.
13818
13819 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13820 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13821 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13822 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13823 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13824 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13825 [!POSIX] (posix_madvise): Likewise.
13826 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13827 && !UNIX98].
13828 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13829 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13830 (mode_t): Likewise.
13831 (posix_mem_offset): Likewise.
13832 (posix_typed_mem_get_info): Likewise.
13833 (posix_typed_mem_open): Likewise.
13834
13835 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13836 Change condition to [XOPEN2K8].
13837
13838 * conform/conformtest.pl: Preprocess allow-header data with -x c
13839 instead of from stdin.
13840 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13841 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13842 [C99-based standards] (cerfc): Likewise.
13843 [C99-based standards] (cexp2): Likewise.
13844 [C99-based standards] (cexpm1): Likewise.
13845 [C99-based standards] (clog10): Likewise.
13846 [C99-based standards] (clog1p): Likewise.
13847 [C99-based standards] (clog2): Likewise.
13848 [C99-based standards] (clgamma): Likewise.
13849 [C99-based standards] (ctgamma): Likewise.
13850 [C99-based standards] (cerff): Likewise.
13851 [C99-based standards] (cerfcf): Likewise.
13852 [C99-based standards] (cexp2f): Likewise.
13853 [C99-based standards] (cexpm1f): Likewise.
13854 [C99-based standards] (clog10f): Likewise.
13855 [C99-based standards] (clog1pf): Likewise.
13856 [C99-based standards] (clog2f): Likewise.
13857 [C99-based standards] (clgammaf): Likewise.
13858 [C99-based standards] (ctgammaf): Likewise.
13859 [C99-based standards] (cerfl): Likewise.
13860 [C99-based standards] (cerfcl): Likewise.
13861 [C99-based standards] (cexp2l): Likewise.
13862 [C99-based standards] (cexpm1l): Likewise.
13863 [C99-based standards] (clog10l): Likewise.
13864 [C99-based standards] (clog1pl): Likewise.
13865 [C99-based standards] (clog2l): Likewise.
13866 [C99-based standards] (clgammal): Likewise.
13867 [C99-based standards] (ctgammal): Likewise.
13868 * conform/data/inttypes.h-data [C99-based standards]: Include
13869 stdint.h-data. Remove all expectations for stdint.h contents.
13870 [C99-based standards] (PRI*): Do not allow.
13871 [C99-based standards] (SCN*): Likewise.
13872 [C99-based standards] (*_t): Likewise.
13873 [C99-based-standards] (PRId8): Expect macro.
13874 [C99-based-standards] (PRIi8): Likewise.
13875 [C99-based-standards] (PRIo8): Likewise.
13876 [C99-based-standards] (PRIu8): Likewise.
13877 [C99-based-standards] (PRIx8): Likewise.
13878 [C99-based-standards] (PRIX8): Likewise.
13879 [C99-based-standards] (SCNd8): Likewise.
13880 [C99-based-standards] (SCNi8): Likewise.
13881 [C99-based-standards] (SCNo8): Likewise.
13882 [C99-based-standards] (SCNu8): Likewise.
13883 [C99-based-standards] (SCNx8): Likewise.
13884 [C99-based-standards] (PRIdLEAST8): Likewise.
13885 [C99-based-standards] (PRIiLEAST8): Likewise.
13886 [C99-based-standards] (PRIoLEAST8): Likewise.
13887 [C99-based-standards] (PRIuLEAST8): Likewise.
13888 [C99-based-standards] (PRIxLEAST8): Likewise.
13889 [C99-based-standards] (PRIXLEAST8): Likewise.
13890 [C99-based-standards] (SCNdLEAST8): Likewise.
13891 [C99-based-standards] (SCNiLEAST8): Likewise.
13892 [C99-based-standards] (SCNoLEAST8): Likewise.
13893 [C99-based-standards] (SCNuLEAST8): Likewise.
13894 [C99-based-standards] (SCNxLEAST8): Likewise.
13895 [C99-based-standards] (PRIdFAST8): Likewise.
13896 [C99-based-standards] (PRIiFAST8): Likewise.
13897 [C99-based-standards] (PRIoFAST8): Likewise.
13898 [C99-based-standards] (PRIuFAST8): Likewise.
13899 [C99-based-standards] (PRIxFAST8): Likewise.
13900 [C99-based-standards] (PRIXFAST8): Likewise.
13901 [C99-based-standards] (SCNdFAST8): Likewise.
13902 [C99-based-standards] (SCNiFAST8): Likewise.
13903 [C99-based-standards] (SCNoFAST8): Likewise.
13904 [C99-based-standards] (SCNuFAST8): Likewise.
13905 [C99-based-standards] (SCNxFAST8): Likewise.
13906 [C99-based-standards] (PRId16): Likewise.
13907 [C99-based-standards] (PRIi16): Likewise.
13908 [C99-based-standards] (PRIo16): Likewise.
13909 [C99-based-standards] (PRIu16): Likewise.
13910 [C99-based-standards] (PRIx16): Likewise.
13911 [C99-based-standards] (PRIX16): Likewise.
13912 [C99-based-standards] (SCNd16): Likewise.
13913 [C99-based-standards] (SCNi16): Likewise.
13914 [C99-based-standards] (SCNo16): Likewise.
13915 [C99-based-standards] (SCNu16): Likewise.
13916 [C99-based-standards] (SCNx16): Likewise.
13917 [C99-based-standards] (PRIdLEAST16): Likewise.
13918 [C99-based-standards] (PRIiLEAST16): Likewise.
13919 [C99-based-standards] (PRIoLEAST16): Likewise.
13920 [C99-based-standards] (PRIuLEAST16): Likewise.
13921 [C99-based-standards] (PRIxLEAST16): Likewise.
13922 [C99-based-standards] (PRIXLEAST16): Likewise.
13923 [C99-based-standards] (SCNdLEAST16): Likewise.
13924 [C99-based-standards] (SCNiLEAST16): Likewise.
13925 [C99-based-standards] (SCNoLEAST16): Likewise.
13926 [C99-based-standards] (SCNuLEAST16): Likewise.
13927 [C99-based-standards] (SCNxLEAST16): Likewise.
13928 [C99-based-standards] (PRIdFAST16): Likewise.
13929 [C99-based-standards] (PRIiFAST16): Likewise.
13930 [C99-based-standards] (PRIoFAST16): Likewise.
13931 [C99-based-standards] (PRIuFAST16): Likewise.
13932 [C99-based-standards] (PRIxFAST16): Likewise.
13933 [C99-based-standards] (PRIXFAST16): Likewise.
13934 [C99-based-standards] (SCNdFAST16): Likewise.
13935 [C99-based-standards] (SCNiFAST16): Likewise.
13936 [C99-based-standards] (SCNoFAST16): Likewise.
13937 [C99-based-standards] (SCNuFAST16): Likewise.
13938 [C99-based-standards] (SCNxFAST16): Likewise.
13939 [C99-based-standards] (PRId32): Likewise.
13940 [C99-based-standards] (PRIi32): Likewise.
13941 [C99-based-standards] (PRIo32): Likewise.
13942 [C99-based-standards] (PRIu32): Likewise.
13943 [C99-based-standards] (PRIx32): Likewise.
13944 [C99-based-standards] (PRIX32): Likewise.
13945 [C99-based-standards] (SCNd32): Likewise.
13946 [C99-based-standards] (SCNi32): Likewise.
13947 [C99-based-standards] (SCNo32): Likewise.
13948 [C99-based-standards] (SCNu32): Likewise.
13949 [C99-based-standards] (SCNx32): Likewise.
13950 [C99-based-standards] (PRIdLEAST32): Likewise.
13951 [C99-based-standards] (PRIiLEAST32): Likewise.
13952 [C99-based-standards] (PRIoLEAST32): Likewise.
13953 [C99-based-standards] (PRIuLEAST32): Likewise.
13954 [C99-based-standards] (PRIxLEAST32): Likewise.
13955 [C99-based-standards] (PRIXLEAST32): Likewise.
13956 [C99-based-standards] (SCNdLEAST32): Likewise.
13957 [C99-based-standards] (SCNiLEAST32): Likewise.
13958 [C99-based-standards] (SCNoLEAST32): Likewise.
13959 [C99-based-standards] (SCNuLEAST32): Likewise.
13960 [C99-based-standards] (SCNxLEAST32): Likewise.
13961 [C99-based-standards] (PRIdFAST32): Likewise.
13962 [C99-based-standards] (PRIiFAST32): Likewise.
13963 [C99-based-standards] (PRIoFAST32): Likewise.
13964 [C99-based-standards] (PRIuFAST32): Likewise.
13965 [C99-based-standards] (PRIxFAST32): Likewise.
13966 [C99-based-standards] (PRIXFAST32): Likewise.
13967 [C99-based-standards] (SCNdFAST32): Likewise.
13968 [C99-based-standards] (SCNiFAST32): Likewise.
13969 [C99-based-standards] (SCNoFAST32): Likewise.
13970 [C99-based-standards] (SCNuFAST32): Likewise.
13971 [C99-based-standards] (SCNxFAST32): Likewise.
13972 [C99-based-standards] (PRId64): Likewise.
13973 [C99-based-standards] (PRIi64): Likewise.
13974 [C99-based-standards] (PRIo64): Likewise.
13975 [C99-based-standards] (PRIu64): Likewise.
13976 [C99-based-standards] (PRIx64): Likewise.
13977 [C99-based-standards] (PRIX64): Likewise.
13978 [C99-based-standards] (SCNd64): Likewise.
13979 [C99-based-standards] (SCNi64): Likewise.
13980 [C99-based-standards] (SCNo64): Likewise.
13981 [C99-based-standards] (SCNu64): Likewise.
13982 [C99-based-standards] (SCNx64): Likewise.
13983 [C99-based-standards] (PRIdLEAST64): Likewise.
13984 [C99-based-standards] (PRIiLEAST64): Likewise.
13985 [C99-based-standards] (PRIoLEAST64): Likewise.
13986 [C99-based-standards] (PRIuLEAST64): Likewise.
13987 [C99-based-standards] (PRIxLEAST64): Likewise.
13988 [C99-based-standards] (PRIXLEAST64): Likewise.
13989 [C99-based-standards] (SCNdLEAST64): Likewise.
13990 [C99-based-standards] (SCNiLEAST64): Likewise.
13991 [C99-based-standards] (SCNoLEAST64): Likewise.
13992 [C99-based-standards] (SCNuLEAST64): Likewise.
13993 [C99-based-standards] (SCNxLEAST64): Likewise.
13994 [C99-based-standards] (PRIdFAST64): Likewise.
13995 [C99-based-standards] (PRIiFAST64): Likewise.
13996 [C99-based-standards] (PRIoFAST64): Likewise.
13997 [C99-based-standards] (PRIuFAST64): Likewise.
13998 [C99-based-standards] (PRIxFAST64): Likewise.
13999 [C99-based-standards] (PRIXFAST64): Likewise.
14000 [C99-based-standards] (SCNdFAST64): Likewise.
14001 [C99-based-standards] (SCNiFAST64): Likewise.
14002 [C99-based-standards] (SCNoFAST64): Likewise.
14003 [C99-based-standards] (SCNuFAST64): Likewise.
14004 [C99-based-standards] (SCNxFAST64): Likewise.
14005 [C99-based-standards] (PRIdMAX): Likewise.
14006 [C99-based-standards] (PRIiMAX): Likewise.
14007 [C99-based-standards] (PRIoMAX): Likewise.
14008 [C99-based-standards] (PRIuMAX): Likewise.
14009 [C99-based-standards] (PRIxMAX): Likewise.
14010 [C99-based-standards] (PRIXMAX): Likewise.
14011 [C99-based-standards] (SCNdMAX): Likewise.
14012 [C99-based-standards] (SCNiMAX): Likewise.
14013 [C99-based-standards] (SCNoMAX): Likewise.
14014 [C99-based-standards] (SCNuMAX): Likewise.
14015 [C99-based-standards] (SCNxMAX): Likewise.
14016 [C99-based-standards] (PRIdPTR): Likewise.
14017 [C99-based-standards] (PRIiPTR): Likewise.
14018 [C99-based-standards] (PRIoPTR): Likewise.
14019 [C99-based-standards] (PRIuPTR): Likewise.
14020 [C99-based-standards] (PRIxPTR): Likewise.
14021 [C99-based-standards] (PRIXPTR): Likewise.
14022 [C99-based-standards] (SCNdPTR): Likewise.
14023 [C99-based-standards] (SCNiPTR): Likewise.
14024 [C99-based-standards] (SCNoPTR): Likewise.
14025 [C99-based-standards] (SCNuPTR): Likewise.
14026 [C99-based-standards] (SCNxPTR): Likewise.
14027 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14028 allow.
14029 * conform/data/stdint.h-data: Update comments to clarify
14030 requirements.
14031 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14032 type.
14033 [C99-based standards] (INT8_MAX): Likewise.
14034 [C99-based standards] (INT16_MIN): Likewise.
14035 [C99-based standards] (INT16_MAX): Likewise.
14036 [C99-based standards] (INT32_MIN): Likewise.
14037 [C99-based standards] (INT32_MAX): Likewise.
14038 [C99-based standards] (INT64_MIN): Likewise.
14039 [C99-based standards] (INT64_MAX): Likewise.
14040 [C99-based standards] (UINT8_MAX): Likewise.
14041 [C99-based standards] (UINT16_MAX): Likewise.
14042 [C99-based standards] (UINT32_MAX): Likewise.
14043 [C99-based standards] (UINT64_MAX): Likewise.
14044 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14045 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14046 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14047 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14048 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14049 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14050 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14051 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14052 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14053 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14054 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14055 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14056 [C99-based standards] (INT_FAST8_MIN): Likewise.
14057 [C99-based standards] (INT_FAST8_MAX): Likewise.
14058 [C99-based standards] (INT_FAST16_MIN): Likewise.
14059 [C99-based standards] (INT_FAST16_MAX): Likewise.
14060 [C99-based standards] (INT_FAST32_MIN): Likewise.
14061 [C99-based standards] (INT_FAST32_MAX): Likewise.
14062 [C99-based standards] (INT_FAST64_MIN): Likewise.
14063 [C99-based standards] (INT_FAST64_MAX): Likewise.
14064 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14065 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14066 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14067 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14068 [C99-based standards] (INTPTR_MIN): Likewise.
14069 [C99-based standards] (INTPTR_MAX): Likewise.
14070 [C99-based standards] (UINTPTR_MAX): Likewise.
14071 [C99-based standards] (INTMAX_MIN): Likewise.
14072 [C99-based standards] (INTMAX_MAX): Likewise.
14073 [C99-based standards] (UINTMAX_MAX): Likewise.
14074 [C99-based standards] (PTRDIFF_MIN): Likewise.
14075 [C99-based standards] (PTRDIFF_MAX): Likewise.
14076 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14077 [C99-based standards] (SIZE_MAX): Likewise.
14078 [C99-based standards] (WCHAR_MAX): Likewise.
14079 [C99-based standards] (WINT_MAX): Likewise.
14080 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14081 constraint on value.
14082 [C99-based standards] (WCHAR_MIN): Likewise.
14083 [C99-based standards] (WINT_MIN): Likewise.
14084 [C99-based standards] (*_t): Allow.
14085 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14086 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14087 Include math.h-data and complex.h-data. Remove all expectations
14088 of math.h and complex.h contents.
14089 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14090 at end of line.
14091 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14092 (struct tm): Expect tag.
14093 [C99-based-standards] (wcstof): Expect function.
14094 [C99-based-standards] (wcstold): Likewise.
14095 [C99-based-standards] (wcstoll): Likewise.
14096 [C99-based-standards] (wcstoull): Likewise.
14097 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14098 macro-int-constant. Specify type.
14099 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14100 constraint on value.
14101 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14102 Specify type.
14103 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14104 Specify value.
14105 [ISO C standards]: Do not allow headers.
14106 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14107 wcs[abcdefghijklmnopqrstuvwxyz]*.
14108 [ISO C standards] (*_t): Do not allow.
14109 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14110 Expect function.
14111 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14112 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14113 Specify type.
14114 [ISO C standards]: Do not allow headers.
14115 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14116 is[abcdefghijklmnopqrstuvwxyz]*.
14117 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14118 to[abcdefghijklmnopqrstuvwxyz]*.
14119 [ISO C standards] (*_t): Do not allow.
14120 * conform/data/stdalign.h-data: New file.
14121 * conform/data/stdbool.h-data: Likewise.
14122 * conform/data/stdnoreturn.h-data: Likewise.
14123
14124 2012-11-07 Roland McGrath <roland@hack.frob.com>
14125
14126 [BZ #14815]
14127 * manual/filesys.texi (Directory Entries): Typo fix.
14128 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14129
14130 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14131
14132 * elf/elf.h (EM_AARCH64): New macro.
14133 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14134 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14135 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14136 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14137 (R_AARCH64_TLSDESC): Likewise.
14138 (NT_ARM_TLS): Likewise.
14139 (NT_ARM_HW_BREAK): Likewise.
14140 (NT_ARM_HW_WATCH): Likewise.
14141
14142 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14143
14144 [BZ #14811]
14145 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14146 (__ieee754_powl): Saturate nonzero exponents with absolute value
14147 below 0x1p-79 to +/- 0x1p-79.
14148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14149 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14150 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14151 nonzero exponents with absolute value below 0x1p-32 to +/-
14152 0x1p-32.
14153 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14154 (__ieee754_powl): Saturate nonzero exponents with absolute value
14155 below 0x1p-79 to +/- 0x1p-79.
14156 * math/libm-test.inc (pow_test): Add more tests.
14157
14158 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14159
14160 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14161 _dl_s390_cap_flags with kernel. Increase string length.
14162 (_dl_s390_platforms): Add z196 and zEC12.
14163
14164 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14165
14166 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14167 Change XOPEN21K to XOPEN2K.
14168
14169 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14170
14171 * string/memmove.c: Use memcpy when possible.
14172
14173 2012-11-06 Andreas Jaeger <aj@suse.de>
14174
14175 * po/eo.po: Update from translation team.
14176
14177 2012-11-06 Joseph Myers <joseph@codesourcery.com>
14178
14179 [BZ #14793]
14180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14181 exponent and small x and y exponents, scale x or y up. Increase
14182 by 2 the exponent used in scaling up.
14183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14185 * math/libm-test.inc (fma_test): Add more tests.
14186 (fma_test_towardzero): Likewise.
14187 (fma_test_downward): Likewise.
14188 (fma_test_upward): Likewise.
14189
14190 2012-11-05 Joseph Myers <joseph@codesourcery.com>
14191
14192 [BZ #14805]
14193 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14194 fenv_t *.
14195
14196 [BZ #14801]
14197 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14198 namespace for names of struct fields.
14199 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14200 fenv_t fields.
14201 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14202 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14203
14204 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14205
14206 [BZ #3665]
14207 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14208
14209 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14210
14211 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14212 PTR_DEMANGLE.
14213
14214 [BZ #5246]
14215 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14216 PTR_DEMANGLE.
14217
14218 2012-11-04 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #14797]
14221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14222 definitely overflow as x * y not x * y + z.
14223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14224 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14225 * math/libm-test.inc (fma_test): Add more tests.
14226 (fma_test_towardzero): Likewise.
14227 (fma_test_downward): Likewise.
14228 (fma_test_upward): Likewise.
14229
14230 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14231
14232 [BZ #157]
14233
14234 * include/stub-tag.h: Remove file.
14235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14236 '#include' of it.
14237 * manual/maint.texi (Porting): Don't reference it.
14238 * Makerules ($(objpfx)stubs): Likewise.
14239 * dirent/closedir.c: Don't include <stub-tag.h>.
14240 * dirent/dirfd.c: Likewise.
14241 * dirent/fdopendir.c: Likewise.
14242 * dirent/getdents.c: Likewise.
14243 * dirent/getdents64.c: Likewise.
14244 * dirent/opendir.c: Likewise.
14245 * dirent/readdir.c: Likewise.
14246 * dirent/readdir64.c: Likewise.
14247 * dirent/readdir64_r.c: Likewise.
14248 * dirent/readdir_r.c: Likewise.
14249 * dirent/rewinddir.c: Likewise.
14250 * dirent/seekdir.c: Likewise.
14251 * dirent/telldir.c: Likewise.
14252 * gmon/profil.c: Likewise.
14253 * grp/setgroups.c: Likewise.
14254 * inet/if_index.c: Likewise.
14255 * io/access.c: Likewise.
14256 * io/chdir.c: Likewise.
14257 * io/chmod.c: Likewise.
14258 * io/chown.c: Likewise.
14259 * io/close.c: Likewise.
14260 * io/dup.c: Likewise.
14261 * io/dup2.c: Likewise.
14262 * io/dup3.c: Likewise.
14263 * io/euidaccess.c: Likewise.
14264 * io/faccessat.c: Likewise.
14265 * io/fchdir.c: Likewise.
14266 * io/fchmod.c: Likewise.
14267 * io/fchmodat.c: Likewise.
14268 * io/fchown.c: Likewise.
14269 * io/fchownat.c: Likewise.
14270 * io/fcntl.c: Likewise.
14271 * io/flock.c: Likewise.
14272 * io/fstatfs.c: Likewise.
14273 * io/fstatfs64.c: Likewise.
14274 * io/fstatvfs.c: Likewise.
14275 * io/fstatvfs64.c: Likewise.
14276 * io/futimens.c: Likewise.
14277 * io/fxstat.c: Likewise.
14278 * io/fxstat64.c: Likewise.
14279 * io/fxstatat.c: Likewise.
14280 * io/fxstatat64.c: Likewise.
14281 * io/getcwd.c: Likewise.
14282 * io/isatty.c: Likewise.
14283 * io/lchmod.c: Likewise.
14284 * io/lchown.c: Likewise.
14285 * io/link.c: Likewise.
14286 * io/linkat.c: Likewise.
14287 * io/lseek.c: Likewise.
14288 * io/lseek64.c: Likewise.
14289 * io/lxstat64.c: Likewise.
14290 * io/mkdir.c: Likewise.
14291 * io/mkdirat.c: Likewise.
14292 * io/mkfifo.c: Likewise.
14293 * io/mkfifoat.c: Likewise.
14294 * io/open.c: Likewise.
14295 * io/open64.c: Likewise.
14296 * io/openat.c: Likewise.
14297 * io/openat64.c: Likewise.
14298 * io/pipe.c: Likewise.
14299 * io/pipe2.c: Likewise.
14300 * io/poll.c: Likewise.
14301 * io/posix_fadvise.c: Likewise.
14302 * io/posix_fadvise64.c: Likewise.
14303 * io/posix_fallocate.c: Likewise.
14304 * io/posix_fallocate64.c: Likewise.
14305 * io/read.c: Likewise.
14306 * io/readlink.c: Likewise.
14307 * io/readlinkat.c: Likewise.
14308 * io/rmdir.c: Likewise.
14309 * io/sendfile.c: Likewise.
14310 * io/sendfile64.c: Likewise.
14311 * io/statfs.c: Likewise.
14312 * io/statfs64.c: Likewise.
14313 * io/statvfs.c: Likewise.
14314 * io/statvfs64.c: Likewise.
14315 * io/symlink.c: Likewise.
14316 * io/symlinkat.c: Likewise.
14317 * io/ttyname.c: Likewise.
14318 * io/ttyname_r.c: Likewise.
14319 * io/umask.c: Likewise.
14320 * io/unlink.c: Likewise.
14321 * io/unlinkat.c: Likewise.
14322 * io/utime.c: Likewise.
14323 * io/utimensat.c: Likewise.
14324 * io/write.c: Likewise.
14325 * io/xmknod.c: Likewise.
14326 * io/xmknodat.c: Likewise.
14327 * io/xstat.c: Likewise.
14328 * io/xstat64.c: Likewise.
14329 * login/getpt.c: Likewise.
14330 * login/grantpt.c: Likewise.
14331 * login/unlockpt.c: Likewise.
14332 * math/e_acoshl.c: Likewise.
14333 * math/e_acosl.c: Likewise.
14334 * math/e_asinl.c: Likewise.
14335 * math/e_atan2l.c: Likewise.
14336 * math/e_atanhl.c: Likewise.
14337 * math/e_coshl.c: Likewise.
14338 * math/e_expl.c: Likewise.
14339 * math/e_fmodl.c: Likewise.
14340 * math/e_gammal_r.c: Likewise.
14341 * math/e_hypotl.c: Likewise.
14342 * math/e_j0l.c: Likewise.
14343 * math/e_j1l.c: Likewise.
14344 * math/e_jnl.c: Likewise.
14345 * math/e_lgammal_r.c: Likewise.
14346 * math/e_log10l.c: Likewise.
14347 * math/e_log2l.c: Likewise.
14348 * math/e_logl.c: Likewise.
14349 * math/e_powl.c: Likewise.
14350 * math/e_rem_pio2l.c: Likewise.
14351 * math/e_sinhl.c: Likewise.
14352 * math/e_sqrtl.c: Likewise.
14353 * math/fclrexcpt.c: Likewise.
14354 * math/fedisblxcpt.c: Likewise.
14355 * math/feenablxcpt.c: Likewise.
14356 * math/fegetenv.c: Likewise.
14357 * math/fegetexcept.c: Likewise.
14358 * math/fegetround.c: Likewise.
14359 * math/feholdexcpt.c: Likewise.
14360 * math/fesetenv.c: Likewise.
14361 * math/fesetround.c: Likewise.
14362 * math/feupdateenv.c: Likewise.
14363 * math/fgetexcptflg.c: Likewise.
14364 * math/fraiseexcpt.c: Likewise.
14365 * math/fsetexcptflg.c: Likewise.
14366 * math/ftestexcept.c: Likewise.
14367 * math/k_cosl.c: Likewise.
14368 * math/k_rem_pio2l.c: Likewise.
14369 * math/k_sinl.c: Likewise.
14370 * math/k_tanl.c: Likewise.
14371 * math/s_asinhl.c: Likewise.
14372 * math/s_atanl.c: Likewise.
14373 * math/s_cbrtl.c: Likewise.
14374 * math/s_erfl.c: Likewise.
14375 * math/s_expm1l.c: Likewise.
14376 * math/s_log1pl.c: Likewise.
14377 * math/s_tanhl.c: Likewise.
14378 * misc/acct.c: Likewise.
14379 * misc/brk.c: Likewise.
14380 * misc/chflags.c: Likewise.
14381 * misc/chroot.c: Likewise.
14382 * misc/fchflags.c: Likewise.
14383 * misc/fgetxattr.c: Likewise.
14384 * misc/flistxattr.c: Likewise.
14385 * misc/fremovexattr.c: Likewise.
14386 * misc/fsetxattr.c: Likewise.
14387 * misc/fsync.c: Likewise.
14388 * misc/ftruncate.c: Likewise.
14389 * misc/futimes.c: Likewise.
14390 * misc/futimesat.c: Likewise.
14391 * misc/getdomain.c: Likewise.
14392 * misc/getdtsz.c: Likewise.
14393 * misc/gethostid.c: Likewise.
14394 * misc/gethostname.c: Likewise.
14395 * misc/getloadavg.c: Likewise.
14396 * misc/getpagesize.c: Likewise.
14397 * misc/getsysstats.c: Likewise.
14398 * misc/getxattr.c: Likewise.
14399 * misc/gtty.c: Likewise.
14400 * misc/ioctl.c: Likewise.
14401 * misc/lgetxattr.c: Likewise.
14402 * misc/listxattr.c: Likewise.
14403 * misc/llistxattr.c: Likewise.
14404 * misc/lremovexattr.c: Likewise.
14405 * misc/lsetxattr.c: Likewise.
14406 * misc/lutimes.c: Likewise.
14407 * misc/madvise.c: Likewise.
14408 * misc/mincore.c: Likewise.
14409 * misc/mlock.c: Likewise.
14410 * misc/mlockall.c: Likewise.
14411 * misc/mmap.c: Likewise.
14412 * misc/mprotect.c: Likewise.
14413 * misc/msync.c: Likewise.
14414 * misc/munlock.c: Likewise.
14415 * misc/munlockall.c: Likewise.
14416 * misc/munmap.c: Likewise.
14417 * misc/preadv.c: Likewise.
14418 * misc/preadv64.c: Likewise.
14419 * misc/ptrace.c: Likewise.
14420 * misc/pwritev.c: Likewise.
14421 * misc/pwritev64.c: Likewise.
14422 * misc/readv.c: Likewise.
14423 * misc/reboot.c: Likewise.
14424 * misc/remap_file_pages.c: Likewise.
14425 * misc/removexattr.c: Likewise.
14426 * misc/revoke.c: Likewise.
14427 * misc/select.c: Likewise.
14428 * misc/setdomain.c: Likewise.
14429 * misc/setegid.c: Likewise.
14430 * misc/seteuid.c: Likewise.
14431 * misc/sethostid.c: Likewise.
14432 * misc/sethostname.c: Likewise.
14433 * misc/setregid.c: Likewise.
14434 * misc/setreuid.c: Likewise.
14435 * misc/setxattr.c: Likewise.
14436 * misc/sstk.c: Likewise.
14437 * misc/stty.c: Likewise.
14438 * misc/swapoff.c: Likewise.
14439 * misc/swapon.c: Likewise.
14440 * misc/sync.c: Likewise.
14441 * misc/syncfs.c: Likewise.
14442 * misc/syscall.c: Likewise.
14443 * misc/truncate.c: Likewise.
14444 * misc/ualarm.c: Likewise.
14445 * misc/usleep.c: Likewise.
14446 * misc/ustat.c: Likewise.
14447 * misc/utimes.c: Likewise.
14448 * misc/vhangup.c: Likewise.
14449 * misc/writev.c: Likewise.
14450 * posix/_exit.c: Likewise.
14451 * posix/alarm.c: Likewise.
14452 * posix/execve.c: Likewise.
14453 * posix/fexecve.c: Likewise.
14454 * posix/fork.c: Likewise.
14455 * posix/fpathconf.c: Likewise.
14456 * posix/getaddrinfo.c: Likewise.
14457 * posix/getegid.c: Likewise.
14458 * posix/geteuid.c: Likewise.
14459 * posix/getgid.c: Likewise.
14460 * posix/getgroups.c: Likewise.
14461 * posix/getlogin.c: Likewise.
14462 * posix/getlogin_r.c: Likewise.
14463 * posix/getpgid.c: Likewise.
14464 * posix/getpid.c: Likewise.
14465 * posix/getppid.c: Likewise.
14466 * posix/getresgid.c: Likewise.
14467 * posix/getresuid.c: Likewise.
14468 * posix/getsid.c: Likewise.
14469 * posix/getuid.c: Likewise.
14470 * posix/glob64.c: Likewise.
14471 * posix/nanosleep.c: Likewise.
14472 * posix/pathconf.c: Likewise.
14473 * posix/pause.c: Likewise.
14474 * posix/posix_madvise.c: Likewise.
14475 * posix/pread.c: Likewise.
14476 * posix/pread64.c: Likewise.
14477 * posix/pwrite.c: Likewise.
14478 * posix/pwrite64.c: Likewise.
14479 * posix/sched_getaffinity.c: Likewise.
14480 * posix/sched_getp.c: Likewise.
14481 * posix/sched_gets.c: Likewise.
14482 * posix/sched_primax.c: Likewise.
14483 * posix/sched_primin.c: Likewise.
14484 * posix/sched_rr_gi.c: Likewise.
14485 * posix/sched_setaffinity.c: Likewise.
14486 * posix/sched_setp.c: Likewise.
14487 * posix/sched_sets.c: Likewise.
14488 * posix/sched_yield.c: Likewise.
14489 * posix/setgid.c: Likewise.
14490 * posix/setlogin.c: Likewise.
14491 * posix/setpgid.c: Likewise.
14492 * posix/setresgid.c: Likewise.
14493 * posix/setresuid.c: Likewise.
14494 * posix/setsid.c: Likewise.
14495 * posix/setuid.c: Likewise.
14496 * posix/sleep.c: Likewise.
14497 * posix/spawni.c: Likewise.
14498 * posix/sysconf.c: Likewise.
14499 * posix/times.c: Likewise.
14500 * posix/wait.c: Likewise.
14501 * posix/wait3.c: Likewise.
14502 * posix/wait4.c: Likewise.
14503 * posix/waitpid.c: Likewise.
14504 * resolv/gai_sigqueue.c: Likewise.
14505 * resource/getpriority.c: Likewise.
14506 * resource/getrlimit.c: Likewise.
14507 * resource/getrusage.c: Likewise.
14508 * resource/nice.c: Likewise.
14509 * resource/setpriority.c: Likewise.
14510 * resource/setrlimit.c: Likewise.
14511 * resource/ulimit.c: Likewise.
14512 * rt/aio_cancel.c: Likewise.
14513 * rt/aio_fsync.c: Likewise.
14514 * rt/aio_read.c: Likewise.
14515 * rt/aio_sigqueue.c: Likewise.
14516 * rt/aio_suspend.c: Likewise.
14517 * rt/aio_write.c: Likewise.
14518 * rt/clock_getres.c: Likewise.
14519 * rt/clock_gettime.c: Likewise.
14520 * rt/clock_nanosleep.c: Likewise.
14521 * rt/clock_settime.c: Likewise.
14522 * rt/lio_listio.c: Likewise.
14523 * rt/mq_close.c: Likewise.
14524 * rt/mq_getattr.c: Likewise.
14525 * rt/mq_notify.c: Likewise.
14526 * rt/mq_open.c: Likewise.
14527 * rt/mq_receive.c: Likewise.
14528 * rt/mq_send.c: Likewise.
14529 * rt/mq_setattr.c: Likewise.
14530 * rt/mq_timedreceive.c: Likewise.
14531 * rt/mq_timedsend.c: Likewise.
14532 * rt/mq_unlink.c: Likewise.
14533 * rt/shm_open.c: Likewise.
14534 * rt/shm_unlink.c: Likewise.
14535 * rt/timer_create.c: Likewise.
14536 * rt/timer_delete.c: Likewise.
14537 * rt/timer_getoverr.c: Likewise.
14538 * rt/timer_gettime.c: Likewise.
14539 * rt/timer_settime.c: Likewise.
14540 * setjmp/__longjmp.c: Likewise.
14541 * setjmp/setjmp.c: Likewise.
14542 * signal/kill.c: Likewise.
14543 * signal/killpg.c: Likewise.
14544 * signal/raise.c: Likewise.
14545 * signal/sigaction.c: Likewise.
14546 * signal/sigaltstack.c: Likewise.
14547 * signal/sigblock.c: Likewise.
14548 * signal/sigignore.c: Likewise.
14549 * signal/sigintr.c: Likewise.
14550 * signal/signal.c: Likewise.
14551 * signal/sigpause.c: Likewise.
14552 * signal/sigpending.c: Likewise.
14553 * signal/sigqueue.c: Likewise.
14554 * signal/sigreturn.c: Likewise.
14555 * signal/sigset.c: Likewise.
14556 * signal/sigsetmask.c: Likewise.
14557 * signal/sigstack.c: Likewise.
14558 * signal/sigsuspend.c: Likewise.
14559 * signal/sigtimedwait.c: Likewise.
14560 * signal/sigvec.c: Likewise.
14561 * signal/sigwait.c: Likewise.
14562 * signal/sigwaitinfo.c: Likewise.
14563 * signal/sysv_signal.c: Likewise.
14564 * socket/accept.c: Likewise.
14565 * socket/accept4.c: Likewise.
14566 * socket/bind.c: Likewise.
14567 * socket/connect.c: Likewise.
14568 * socket/getpeername.c: Likewise.
14569 * socket/getsockname.c: Likewise.
14570 * socket/getsockopt.c: Likewise.
14571 * socket/isfdtype.c: Likewise.
14572 * socket/listen.c: Likewise.
14573 * socket/recv.c: Likewise.
14574 * socket/recvfrom.c: Likewise.
14575 * socket/recvmsg.c: Likewise.
14576 * socket/send.c: Likewise.
14577 * socket/sendmsg.c: Likewise.
14578 * socket/sendto.c: Likewise.
14579 * socket/setsockopt.c: Likewise.
14580 * socket/shutdown.c: Likewise.
14581 * socket/sockatmark.c: Likewise.
14582 * socket/socket.c: Likewise.
14583 * socket/socketpair.c: Likewise.
14584 * stdio-common/ctermid.c: Likewise.
14585 * stdio-common/cuserid.c: Likewise.
14586 * stdio-common/remove.c: Likewise.
14587 * stdio-common/rename.c: Likewise.
14588 * stdio-common/renameat.c: Likewise.
14589 * stdio-common/tempname.c: Likewise.
14590 * stdlib/getcontext.c: Likewise.
14591 * stdlib/makecontext.c: Likewise.
14592 * stdlib/setcontext.c: Likewise.
14593 * stdlib/swapcontext.c: Likewise.
14594 * stdlib/system.c: Likewise.
14595 * streams/fattach.c: Likewise.
14596 * streams/fdetach.c: Likewise.
14597 * streams/getmsg.c: Likewise.
14598 * streams/getpmsg.c: Likewise.
14599 * streams/putmsg.c: Likewise.
14600 * streams/putpmsg.c: Likewise.
14601 * sysdeps/unix/bsd/getpt.c: Likewise.
14602 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14603 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14604 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14606 Likewise.
14607 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14608 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14609 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14610 * sysvipc/msgctl.c: Likewise.
14611 * sysvipc/msgget.c: Likewise.
14612 * sysvipc/msgrcv.c: Likewise.
14613 * sysvipc/msgsnd.c: Likewise.
14614 * sysvipc/semctl.c: Likewise.
14615 * sysvipc/semget.c: Likewise.
14616 * sysvipc/semop.c: Likewise.
14617 * sysvipc/semtimedop.c: Likewise.
14618 * sysvipc/shmat.c: Likewise.
14619 * sysvipc/shmctl.c: Likewise.
14620 * sysvipc/shmdt.c: Likewise.
14621 * sysvipc/shmget.c: Likewise.
14622 * termios/tcdrain.c: Likewise.
14623 * termios/tcflow.c: Likewise.
14624 * termios/tcflush.c: Likewise.
14625 * termios/tcgetattr.c: Likewise.
14626 * termios/tcgetpgrp.c: Likewise.
14627 * termios/tcsendbrk.c: Likewise.
14628 * termios/tcsetattr.c: Likewise.
14629 * termios/tcsetpgrp.c: Likewise.
14630 * time/adjtime.c: Likewise.
14631 * time/clock.c: Likewise.
14632 * time/getitimer.c: Likewise.
14633 * time/gettimeofday.c: Likewise.
14634 * time/setitimer.c: Likewise.
14635 * time/settimeofday.c: Likewise.
14636 * time/stime.c: Likewise.
14637 * time/time.c: Likewise.
14638
14639 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14640
14641 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14642 /usr/old/bin.
14643
14644 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14645 instead of spaces.
14646 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14647
14648 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14649
14650 [BZ #14796]
14651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14652 FE_TONEAREST before applying Dekker multiplication and Knuth
14653 addition. Clear inexact exceptions and check for exact zero
14654 results afterwards.
14655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14656 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14657 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14658 * math/libm-test.inc (fma_test): Add more tests.
14659 (fma_test_towardzero): Likewise.
14660 (fma_test_downward): Likewise.
14661 (fma_test_upward): Likewise.
14662 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14663 function.
14664 (libc_fesetround): New macro.
14665 (libc_fesetroundf): Likewise.
14666 (libc_fesetroundl): Likewise.
14667 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14668 function.
14669 (libc_fesetround_387): Likewise.
14670 (libc_fesetroundf): New macro.
14671 (libc_fesetround): Likewise.
14672 (libc_fesetroundl): Likewise.
14673 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14674 function.
14675 (libc_fesetroundf): New macro.
14676 (libc_fesetround): Likewise.
14677 (libc_fesetroundl): Likewise.
14678 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14679 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14680 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14681 libm_hidden_ver.
14682 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14683 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14684 libm_hidden_def.
14685 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14686 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14687 libm_hidden_ver.
14688 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14689 libm_hidden_def.
14690
14691 [BZ #3439]
14692 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14693 integer constant usable in #if and use that to give value to enum
14694 constant.
14695 (FE_DIVBYZERO): Likewise.
14696 (FE_UNDERFLOW): Likewise.
14697 (FE_OVERFLOW): Likewise.
14698 (FE_INVALID): Likewise.
14699 (FE_INVALID_SNAN): Likewise.
14700 (FE_INVALID_ISI): Likewise.
14701 (FE_INVALID_IDI): Likewise.
14702 (FE_INVALID_ZDZ): Likewise.
14703 (FE_INVALID_IMZ): Likewise.
14704 (FE_INVALID_COMPARE): Likewise.
14705 (FE_INVALID_SOFTWARE): Likewise.
14706 (FE_INVALID_SQRT): Likewise.
14707 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14708 (FE_TONEAREST): Likewise.
14709 (FE_TOWARDZERO): Likewise.
14710 (FE_UPWARD): Likewise.
14711 (FE_DOWNWARD): Likewise.
14712 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14713 (FE_DIVBYZERO): Likewise.
14714 (FE_OVERFLOW): Likewise.
14715 (FE_UNDERFLOW): Likewise.
14716 (FE_INEXACT): Likewise.
14717 (FE_TONEAREST): Likewise.
14718 (FE_DOWNWARD): Likewise.
14719 (FE_UPWARD): Likewise.
14720 (FE_TOWARDZERO): Likewise.
14721 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14722 (FE_UNDERFLOW): Likewise.
14723 (FE_OVERFLOW): Likewise.
14724 (FE_DIVBYZERO): Likewise.
14725 (FE_INVALID): Likewise.
14726 (FE_TONEAREST): Likewise.
14727 (FE_TOWARDZERO): Likewise.
14728 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14729 (FE_OVERFLOW): Likewise.
14730 (FE_UNDERFLOW): Likewise.
14731 (FE_DIVBYZERO): Likewise.
14732 (FE_INEXACT): Likewise.
14733 (FE_TONEAREST): Likewise.
14734 (FE_TOWARDZERO): Likewise.
14735 (FE_UPWARD): Likewise.
14736 (FE_DOWNWARD): Likewise.
14737 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14738 (FE_DIVBYZERO): Likewise.
14739 (FE_OVERFLOW): Likewise.
14740 (FE_UNDERFLOW): Likewise.
14741 (FE_INEXACT): Likewise.
14742 (FE_TONEAREST): Likewise.
14743 (FE_DOWNWARD): Likewise.
14744 (FE_UPWARD): Likewise.
14745 (FE_TOWARDZERO): Likewise.
14746
14747 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14748
14749 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14750
14751 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14752
14753 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14754 commands. Quote $PWD.
14755 (blacklist_exports): Don't use remove_newlines. Replace "declare
14756 -x" by "export".
14757 (remove_newlines): Remove.
14758
14759 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14760
14761 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14762 * stdlib/stdlib.h (atof): Moved to ...
14763 * include/bits/stdlib-float.h: Here. New file.
14764 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14765 * stdlib/bits/stdlib-float.h: New file.
14766 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14767 -mno-sse -mno-mmx.
14768 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14769 <xmmintrin.h>.
14770
14771 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14772
14773 * conform/conformtest.pl (@headers): Add fenv.h.
14774 * conform/data/fenv.h-data: New file.
14775 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14776 include of <math/fenv.h>.
14777
14778 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14779 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14780 && !UNIX98]. Enables tests for XOPEN2K8.
14781 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14782 POSIX2008]: Likewise.
14783
14784 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14785 (struct rusage): Do not expect type or its members.
14786
14787 [BZ #3439]
14788 * math/math.h (FP_NAN): Define macro to integer constant usable in
14789 #if and use that to give value to enum constant.
14790 (FP_INFINITE): Likewise.
14791 (FP_ZERO): Likewise.
14792 (FP_SUBNORMAL): Likewise.
14793 (FP_NORMAL): Likewise.
14794
14795 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14796
14797 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14798 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14799 arguments.
14800
14801 2012-11-02 Roland McGrath <roland@hack.frob.com>
14802
14803 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14804 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14805 autoconf-time if not.
14806 * configure.in: Remove AC_PREREQ.
14807
14808 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14809
14810 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14811 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14812 of the internal implementation.
14813
14814 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14815
14816 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14817 except include of <misc/sys/syslog.h>.
14818
14819 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14820
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14822 function returns with a NULL context exit with zero.
14823
14824 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14825
14826 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14827
14828 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14829
14830 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14831 (run_program_cmd): This.
14832 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14833 (tst_langinfo): New variable. Use it.
14834
14835 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14836
14837 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14838 floating point opcodes.
14839
14840 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14841
14842 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14843 variable.
14844
14845 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14846
14847 * sysdeps/mach/hurd/powerpc: Remove directory.
14848 * sysdeps/mach/powerpc: Likewise.
14849
14850 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14851
14852 * scripts/check-local-headers.sh: Ignore c++ headers.
14853
14854 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14855
14856 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14857 __libc_cleanup_region_start argument.
14858
14859 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14860
14861 [BZ #14784]
14862 [BZ #14785]
14863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14864 x * y using scaling, not as x * y + z.
14865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14867 * math/libm-test.inc (fma_test): Add more tests.
14868 (fma_test_towardzero): Likewise.
14869 (fma_test_downward): Likewise.
14870 (fma_test_upward): Likewise.
14871
14872 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14873
14874 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14875
14876 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14877
14878 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14879 New variable.
14880
14881 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14882
14883 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14884
14885 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14886
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14888 Fix sort order.
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14890 Likewise.
14891
14892 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14893
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14895 Fix the order of the list for glibc 2.17.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14897 Likewise.
14898
14899 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14900
14901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14902
14903 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14904
14905 [BZ #14610]
14906 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14907 for low part of x being zero before using __atanl (y).
14908 * math/libm-test.inc (atan2_test): Add another test.
14909
14910 * manual/install.texi (Configuring and compiling): Document
14911 general use of test-wrapper and test-wrapper-env.
14912 * INSTALL: Regenerated.
14913
14914 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14915 (__fma): Do not extract and scale down low bits on after-rounding
14916 systems when result rounded to normal precision would have normal
14917 exponent.
14918 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14919 (__fmal): Do not extract and scale down low bits on after-rounding
14920 systems when result rounded to normal precision would have normal
14921 exponent.
14922 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14923 (__fmal): Do not extract and scale down low bits on after-rounding
14924 systems when result rounded to normal precision would have normal
14925 exponent.
14926 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14927 macro.
14928 (fma_test): Add more tests.
14929 (fma_test_towardzero): Likewise.
14930 (fma_test_downward): Likewise.
14931 (fma_test_upward): Likewise.
14932
14933 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14934
14935 * sysdeps/i386/tininess.h: Renamed to ...
14936 * sysdeps/x86/tininess.h: This.
14937 * sysdeps/x86_64/tininess.h: Removed.
14938
14939 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14940
14941 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14942 input. Use $(build-program-cmd).
14943 ($(objpfx)tst-array1-static.out): Likewise.
14944 ($(objpfx)tst-array2.out): Likewise.
14945 ($(objpfx)tst-array3.out): Likewise.
14946 ($(objpfx)tst-array4.out): Likewise.
14947 ($(objpfx)tst-array5.out): Likewise.
14948 ($(objpfx)tst-array5-static.out): Likewise.
14949
14950 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14951
14952 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14953 if defined.
14954
14955 * nss/nsswitch.h (nss_interface_function): Provide new
14956 macro for use with NSS functions.
14957 * grp/initgroups.c: Use new macro.
14958 * nss/getXXbyYY.c: Likewise.
14959 * nss/getXXbyYY_r.c: Likewise.
14960 * nss/getXXent.c: Likewise.
14961 * nss/getXXent_r.c: Likewise.
14962 * sysdeps/posix/getaddrinfo.c: Likewise.
14963
14964 2012-10-30 Andreas Jaeger <aj@suse.de>
14965
14966 * po/ru.po: Update Russion translation from translation project.
14967
14968 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14969
14970 [BZ #14152]
14971 [BZ #14783]
14972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14973 result and shift together with sticky bit instead of replicating
14974 round-to-nearest rounding.
14975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14977 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14978 missing underflow exceptions.
14979 (fma_test_towardzero): Add more tests.
14980 (fma_test_downward): Likewise.
14981 (fma_test_upward): Likewise.
14982
14983 [BZ #14047]
14984 * sysdeps/generic/tininess.h: New file.
14985 * sysdeps/i386/tininess.h: Likewise.
14986 * sysdeps/sh/tininess.h: Likewise.
14987 * sysdeps/x86_64/tininess.h: Likewise.
14988 * stdlib/tst-strtod-underflow.c: Likewise.
14989 * stdlib/tst-tininess.c: Likewise.
14990 * stdlib/strtod_l.c: Include <tininess.h>.
14991 (round_and_return): Do not set errno for exact underflow cases.
14992 Force an underflow exception when setting errno for underflow.
14993 Determine underflow based on rounding to normal precision if
14994 TININESS_AFTER_ROUNDING.
14995 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14996 ERANGE for exact underflow cases.
14997 * stdlib/Makefile (tests): Add tst-tininess and
14998 tst-strtod-underflow.
14999 ($(objpfx)tst-tininess): Use $(link-libm).
15000 ($(objpfx)tst-strtod-underflow): Likewise.
15001
15002 2012-10-30 Andreas Jaeger <aj@suse.de>
15003
15004 [BZ#14767]
15005 * elf/Makefile (tests): Remove conditional for have-initfini-array
15006 since this is now always required and the variable does not exist
15007 anymore.
15008 (tests-static): Likewise.
15009 (modules-names): Likewise.
15010
15011 * po/eo.po: Add Esperanto translation from translation project.
15012
15013 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15014 merged with constructor/destructor.
15015 (init_array): Likewise.
15016 * elf/tst-array2dep.c (fini_array): Likewise.
15017 (init_array): Likewise.
15018
15019 2012-10-29 Mike Frysinger <vapier@gentoo.org>
15020
15021 * manual/message.texi: Delete @cartouche tags.
15022
15023 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15024
15025 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15026 EOPNOTSUPP.
15027 * sysdeps/mach/hurd/fsync.c: Likewise.
15028
15029 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15030 [_POSIX_REALTIME_SIGNALS]: Change condition to
15031 [_POSIX_REALTIME_SIGNALS > 0].
15032
15033 2012-10-27 Andreas Jaeger <aj@suse.de>
15034
15035 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15036 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15038 [__WORDSIZE != 64]: Likewise.
15039
15040 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15041
15042 * iconvdata/tst-table.sh: Remove ${SHELL}.
15043 * iconvdata/tst-tables.sh: Likewise.
15044
15045 2012-10-25 David S. Miller <davem@davemloft.net>
15046
15047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15048 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15049 of strtoull.
15050
15051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15052 ifunc-impl-list.c
15053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15054 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15055 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15056 file.
15057
15058 2012-10-25 Roland McGrath <roland@hack.frob.com>
15059
15060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15061 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15062 __getdirentries.
15063
15064 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15065 Jim Blandy <jimb@codesourcery.com>
15066
15067 * scripts/cross-test-ssh.sh: New file.
15068 * manual/install.texi (Configuring and compiling): Document use of
15069 cross-test-ssh.sh.
15070 * INSTALL: Regenerated.
15071
15072 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15073
15074 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15075 EOPNOTSUPP.
15076
15077 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15078
15079 * Makeconfig (run-program-prefix): Fix comment.
15080
15081 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15082 Jim Blandy <jimb@codesourcery.com>
15083
15084 * Makeconfig (test-wrapper): New variable,
15085 (test-wrapper-env): Likewise.
15086 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15087 (run-built-tests): Define to yes.
15088 (run-program-prefix): Use $(test-wrapper).
15089 (built-program-cmd): Likewise.
15090 * Rules (make-test-out): Use $(test-wrapper-env) and
15091 $(host-built-program-cmd).
15092 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15093 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15094 tst-pathopt.sh.
15095 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15096 $(test-wrapper-env) to tst-rtld-load-self.sh.
15097 ($(objpfx)order2.out): Use $(test-wrapper).
15098 ($(objpfx)tst-initorder.out): Likewise.
15099 ($(objpfx)tst-initorder2.out): Likewise.
15100 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15101 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15102 (test_wrapper_env): New variable. Use it to run ld.so.
15103 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15104 Use it to run ld.so.
15105 (test_wrapper_env): Likewise.
15106 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15107 $(test-wrapper) to run-iconv-test.sh.
15108 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15109 (ICONV): Use $test_wrapper.
15110 * posix/Makefile ($(objpfx)globtest.out): Pass
15111 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15112 globtest.sh, not $(run-program-prefix).
15113 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15114 (test_wrapper): Likewise.
15115 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15116 set together with run_via_rtld_prefix.
15117 (run_program_prefix): Define in terms of test_wrapper and
15118 run_via_rtld_prefix.
15119
15120 2012-10-24 Roland McGrath <roland@hack.frob.com>
15121
15122 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15123 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15124 Targets removed.
15125
15126 [BZ #14743]
15127 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15128 Declare __clock_getres, __clock_gettime, __clock_settime,
15129 __clock_nanosleep, and __clock_getcpuclockid.
15130 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15131 Remove librt_hidden_def (clock_gettime).
15132 * sysdeps/unix/clock_gettime.c: Likewise.
15133 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15134 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15135 * rt/clock_getres.c: Define __clock_getres as an alias.
15136 * sysdeps/posix/clock_getres.c: Likewise.
15137 * rt/clock_settime.c: Define __clock_settime as an alias.
15138 * sysdeps/unix/clock_settime.c: Likewise.
15139 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15140 * sysdeps/unix/clock_nanosleep.c: Likewise.
15141 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15142 * rt/clock-compat.c: New file.
15143 * rt/Makefile (librt-routines): Add clock-compat and move
15144 $(clock-routines) to ...
15145 (routines): ... here, new variable.
15146 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15147 Don't add get_clockfreq here.
15148 * rt/Versions (libc: GLIBC_2.17): New version set.
15149 Add clock_* symbols here.
15150 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15151 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15152 (GLIBC_2.17): Add clock_* symbols.
15153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15157 Likewise.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15159 Likewise.
15160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15164 * NEWS: Mention the move.
15165
15166 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15167 Use __open, __read, __close rather than their public counterparts.
15168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15169 (__get_clockfreq_via_cpuinfo): Likewise.
15170 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15171 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15172
15173 * config.h.in (HAVE_IFUNC): New #undef.
15174 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15175 was successful.
15176 * configure: Regenerated.
15177
15178 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15179
15180 * configure.in: Move READELF check to start of file.
15181 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15182 libc_cv_asm_gnu_indirect_function in the process.
15183 * configure: Regenerated.
15184
15185 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15186
15187 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15188 send the output to /dev/null.
15189 (libc_cv_cc_with_libunwind): Likewise.
15190 (libc_cv_as_noexecstack): Likewise.
15191 * configure: Regenerate.
15192
15193 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15194
15195 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15196
15197 * posix/globtest.sh (TMPDIR): Do not set.
15198 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15199 (testout): Likewise.
15200
15201 2012-10-24 Andreas Jaeger <aj@suse.de>
15202
15203 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15204 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15205 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15206 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15207 posix_fadvise64, posix_fallocate64.
15208
15209 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15210 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15211 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15212 Likewise.
15213 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15214 Likewise.
15215 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15216
15217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15218 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15219 <bits/fcntl-linux.h>.
15220 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15221
15222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15223 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15224 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15225 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15226 [__WORDSIZE != 64]: Likewise.
15227
15228 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15229
15230 * Makeconfig (run-built-tests): New variable.
15231 * Rules [$(cross-compiling) = yes]: Change condition to
15232 [$(run-built-tests) = no].
15233 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15234 to [$(run-built-tests) = yes].
15235 * elf/Makefile [$(cross-compiling) = no]: Likewise
15236 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15237 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15238 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15239 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15240 * io/Makefile [$(cross-compiling) = no]: Likewise.
15241 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15242 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15243 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15244 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15245 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15246 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15247 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15248 * string/Makefile [$(cross-compiling) = no]: Likewise.
15249
15250 * posix/Makefile ($(objpfx)globtest.out): Pass
15251 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15252 $(rtld-installed-name).
15253 * posix/globtest.sh (elf_objpfx): Remove variable.
15254 (rtld_installed_name): Likewise.
15255 (library_path): Likewise.
15256 (run_program_prefix): New variable. Use for running globtest
15257 binary.
15258
15259 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15260 Joseph Myers <joseph@codesourcery.com>
15261
15262 * Makeconfig (host-built-program-cmd): New variable.
15263 * elf/Makefile (tst-stackguard1-ARGS): Use
15264 $(host-built-program-cmd).
15265 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15266 (tst-spawn-ARGS): Likewise.
15267 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15268
15269 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15270 Jim Blandy <jimb@codesourcery.com>
15271
15272 * Makeconfig (run-via-rtld-prefix): New variable.
15273 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15274 (built-program-cmd): Likewise.
15275
15276 2012-10-22 Andreas Jaeger <aj@suse.de>
15277
15278 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15279 __O_RSYNC if it exists, otherwise to O_SYNC.
15280
15281 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15282 Joseph Myers <joseph@codesourcery.com>
15283
15284 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15285 /dev/null.
15286 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15287 from /dev/null
15288 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15289 /dev/null.
15290
15291 2012-10-22 Andreas Jaeger <aj@suse.de>
15292
15293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15294 Define always.
15295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15296
15297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15298 bits/fcntl-linux.h.
15299
15300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15301 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15302
15303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15304 to __O_LARGEFILE.
15305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15306 to __O_LARGEFILE.
15307
15308 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15309 Joseph Myers <joseph@codesourcery.com>
15310
15311 * config.make.in (NM): New variable.
15312
15313 2012-10-21 Andreas Jaeger <aj@suse.de>
15314
15315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15316 definitions and declarations that are provided by
15317 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15318
15319 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15320
15321 [BZ #14683]
15322 * elf/Makefile (tests-static): Add tst-leaks1-static.
15323 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15324 ($(objpfx)tst-leaks1-static): New rule.
15325 ($(objpfx)tst-leaks1-static-mem): Likewise.
15326 (tst-leaks1-static-ENV): New macro.
15327 * elf/dl-open.c (dl_open_worker): Check the main application
15328 only if SHARED is defined.
15329 * elf/tst-leaks1-static.c: New file.
15330
15331 2012-10-20 Andreas Jaeger <aj@suse.de>
15332
15333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15334 generic values for Linux.
15335 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15336 and declarations that are provided by <bits/fcntl-linux.h> and
15337 include <bits/fcntl-linux.h>.
15338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15340
15341 2012-10-20 Roland McGrath <roland@hack.frob.com>
15342
15343 * io/fcntl.h: Move include of <bits/types.h> to the top and
15344 include it unconditionally.
15345
15346 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15347
15348 * wcsmbs/Makefile (tests-ifunc): New variable.
15349 (tests): Add $(tests-ifunc).
15350 * wcsmbs/test-wcschr-ifunc.c: New file.
15351 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15352 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15353 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15354 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15355 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15356
15357 * string/Makefile (tests-ifunc): New variable.
15358 (tests): Add $(tests-ifunc).
15359 * string/test-memccpy.c (TEST_NAME): New macro.
15360 * string/test-memchr.c (TEST_NAME): Likewise.
15361 * string/test-memcmp.c (TEST_NAME): Likewise.
15362 * string/test-memcpy.c (TEST_NAME): Likewise.
15363 * string/test-memmem.c (TEST_NAME): Likewise.
15364 * string/test-memmove.c (TEST_NAME): Likewise.
15365 * string/test-memset.c (TEST_NAME): Likewise.
15366 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15367 * string/test-stpcpy.c (TEST_NAME): Likewise.
15368 * string/test-stpncpy.c (TEST_NAME): Likewise.
15369 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15370 * string/test-strcasestr.c (TEST_NAME): Likewise.
15371 * string/test-strcat.c (TEST_NAME): Likewise.
15372 * string/test-strchr.c (TEST_NAME): Likewise.
15373 * string/test-strcmp.c(TEST_NAME): Likewise.
15374 * string/test-strcpy.c (TEST_NAME): Likewise.
15375 * string/test-strcspn.c (TEST_NAME): Likewise.
15376 * string/test-strlen.c (TEST_NAME): Likewise.
15377 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15378 * string/test-strncmp.c (TEST_NAME): Likewise.
15379 * string/test-strncpy.c (TEST_NAME): Likewise.
15380 * string/test-strnlen.c (TEST_NAME): Likewise.
15381 * string/test-strpbrk.c (TEST_NAME): Likewise.
15382 * string/test-strrchr.c (TEST_NAME): Likewise.
15383 * string/test-strspn.c (TEST_NAME): Likewise.
15384 * string/test-strstr.c (TEST_NAME): Likewise.
15385 * string/test-bcopy-ifunc.c: New file.
15386 * string/test-bzero-ifunc.c: Likewise.
15387 * string/test-memccpy-ifunc.c: Likewise.
15388 * string/test-memchr-ifunc.c: Likewise.
15389 * string/test-memcmp-ifunc.c: Likewise.
15390 * string/test-memcpy-ifunc.c: Likewise.
15391 * string/test-memmem-ifunc.c: Likewise.
15392 * string/test-memmove-ifunc.c: Likewise.
15393 * string/test-mempcpy-ifunc.c: Likewise.
15394 * string/test-memset-ifunc.c: Likewise.
15395 * string/test-rawmemchr-ifunc.c: Likewise.
15396 * string/test-stpcpy-ifunc.c: Likewise.
15397 * string/test-stpncpy-ifunc.c: Likewise.
15398 * string/test-strcasecmp-ifunc.c: Likewise.
15399 * string/test-strcasestr-ifunc.c: Likewise.
15400 * string/test-strcat-ifunc.c: Likewise.
15401 * string/test-strchr-ifunc.c: Likewise.
15402 * string/test-strchrnul-ifunc.c: Likewise.
15403 * string/test-strcmp-ifunc.c: Likewise.
15404 * string/test-strcpy-ifunc.c: Likewise.
15405 * string/test-strcspn-ifunc.c: Likewise.
15406 * string/test-strlen-ifunc.c: Likewise.
15407 * string/test-strncasecmp-ifunc.c: Likewise.
15408 * string/test-strncat-ifunc.c: Likewise.
15409 * string/test-strncmp-ifunc.c: Likewise.
15410 * string/test-strncpy-ifunc.c: Likewise.
15411 * string/test-strnlen-ifunc.c: Likewise.
15412 * string/test-strpbrk-ifunc.c: Likewise.
15413 * string/test-strrchr-ifunc.c: Likewise.
15414 * string/test-strspn-ifunc.c: Likewise.
15415 * string/test-strstr-ifunc.c: Likewise.
15416
15417 * debug/Makefile (tests-ifunc): New variable.
15418 (tests): Add $(tests-ifunc).
15419 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15420 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15421 * debug/test-stpcpy_chk-ifunc.c: New file.
15422 * debug/test-strcpy_chk-ifunc.c: Likewise.
15423
15424 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15425
15426 [BZ #13601]
15427 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15428 header is not read in.
15429
15430 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15431
15432 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15433 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15434 directly. Pass built executable to script as
15435 $(built-program-cmd).
15436 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15437 $testprogram without using LD_LIBRARY_PATH and $ldso.
15438
15439 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15440 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15441 $(rtld-installed-name).
15442 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15443 (rtld_installed_name): Likewise.
15444 (library_path): Likewise.
15445 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15446 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15447 $(run-program-prefix) to tst-tables.sh.
15448 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15449 it to run tst-table-from and tst-table-to.
15450 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15451 Pass it to tst-table.sh.
15452 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15453 $(run-program-prefix) to tst-gettext.sh.
15454 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15455 tst-translit.sh.
15456 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15457 tst-gettext2.sh.
15458 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15459 to run tst-gettext.
15460 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15461 to run tst-gettext2.
15462 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15463 to run tst-translit.
15464 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15465 $(run-program-prefix) to tst-mtrace.sh.
15466 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15467 to run tst-mtrace.
15468 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15469 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15470 $(rtld-installed-name).
15471 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15472 (rtld_installed_name): Likewise.
15473 (run_program_prefix): New variable. Use it to run wordexp-test.
15474
15475 * Makeconfig (ARCH): Remove all definitions.
15476 (machine): Likewise.
15477 [ARCH]: Remove conditional code.
15478 [!objdir]: Give error.
15479 [!objdir] (objpfx): Remove.
15480 [!objdir] (common-objpfx): Likewise.
15481 [!objdir] (common-objdir): Likewise.
15482 * configure.in (config_makefile): Remove. Hardcode Makefile in
15483 AC_CONFIG_FILES call.
15484 * configure: Regenerated.
15485
15486 [BZ #13888]
15487 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15488 or TMPDIR.
15489 (testout): Likewise.
15490
15491 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15492 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15493 $(rtld-installed-name).
15494 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15495 (rtld_installed_name): Likwise.
15496 (runit): Remove function.
15497 (run_getconf): New variable, Use it for running getconf binary.
15498
15499 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15500
15501 [BZ #14716]
15502 * string/test-memmem.c (check_result): New function.
15503 (do_one_test): Use it.
15504 (check1): New function.
15505 (test_main): Use it.
15506
15507 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15508
15509 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15510
15511 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15512
15513 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15514 (_G_LSEEK64): Likewise.
15515 (_G_MMAP64): Likewise.
15516 (_G_FSTAT64): Likewise.
15517 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15518 (_G_LSEEK64): Likewise.
15519 (_G_MMAP64): Likewise.
15520 (_G_FSTAT64): Likewise.
15521 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15522 unconditional. Call __mmap64 directly.
15523 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15524 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15525 __lseek64 directly.
15526 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15527 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15528 __mmap64 directly.
15529 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15530 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15531 __lseek64 directly.
15532 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15533 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15534 __lseek64 directly.
15535 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15536 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15537 __lseek64 directly.
15538 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15539 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15540 __fxstat64 directly.
15541 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15542 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15543 unconditional.
15544 (freopen64) [!_G_OPEN64]: Remove conditional code.
15545 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15546 unconditional.
15547 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15548 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15549 unconditional.
15550 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15551 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15552 unconditional.
15553 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15554 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15555 unconditional.
15556 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15557 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15558 unconditional.
15559 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15560 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15561 unconditional.
15562 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15563 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15564 unconditional.
15565 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15566
15567 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15568
15569 [BZ #12140]
15570 * manual/memory.texi (Malloc Tunable Parameters): Add note
15571 about free list pointers overwriting some perturb bytes.
15572 Wording suggested by Roland McGrath.
15573
15574 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15575
15576 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15577 (lgamma_test): Likewise.
15578 (tgamma_test): Likewise.
15579
15580 2012-10-16 Florian Weimer <fweimer@redhat.com>
15581
15582 [BZ #14700]
15583 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15584 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15585
15586 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15587
15588 * NEWS: Mention BZ #14716.
15589 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15590 when removing AVAILABLE1_USES_J macro.
15591
15592 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15593
15594 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15595 (__bswap_64): __uint64_t for unsigned 64-bit int.
15596
15597 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15598
15599 * include/string.h (memmem): Declare libc hidden alias.
15600 * string/memmem.c (memmem): Define libc hidden alias.
15601 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15602 __read, __close instead of open, read, close.
15603
15604 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15605
15606 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15607 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15608 global and hidden.
15609 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15610 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15611 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15612 Likewise.
15613 (__rawmemchr_sse2): Likewise.
15614 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15615 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15616 (__strchr_sse2): Likewise.
15617 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15618 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15619 (__strcasecmp_sse2): Likewise.
15620 (__strncasecmp_sse2): Likewise.
15621 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15622 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15623 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15624 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15625 (__strrchr_sse2): Likewise.
15626 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15627 ifunc-impl-list.c.
15628 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15629 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15630 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15631 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15632 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15633 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15634 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15635 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15636 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15637 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15638 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15639 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15640 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15641 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15642 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15643 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15644 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15645 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15646 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15647 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15648 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15649 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15650 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15651 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15652 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15653 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15654 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15655 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15656 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15657 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15658
15659 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15660 global and hidden.
15661 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15662 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15663 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15664 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15665 Likewise.
15666 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15667 Likewise.
15668 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15669 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15670 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15671 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15672 ifunc-impl-list.c.
15673 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15674 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15675 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15676 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15677 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15678 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15679 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15680 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15681 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15682 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15683 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15684 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15685 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15686 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15687 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15688 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15689 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15690 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15691 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15692 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15693 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15694 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15695 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15696 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15697 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15698 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15699 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15700 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15701 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15702 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15703 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15704 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15705 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15706 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15707 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15708 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15709 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15710 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15711 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15712 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15713 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15714
15715 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15716 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15717 * include/ifunc-impl-list.h: New file.
15718 * misc/ifunc-impl-list.c: Likewise.
15719 * misc/Makefile (routines): Add ifunc-impl-list.
15720 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15721 * string/test-string.h: Include <ifunc-impl-list.h>.
15722 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15723 impl_array): New variables.
15724 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15725 are defined.
15726 (test_init): Call __libc_ifunc_impl_list to initialize
15727 func_list if TEST_IFUNC and TEST_NAME are defined.
15728
15729 * string/Makefile (strop-tests): Add bcopy and bzero.
15730 * string/test-bcopy.c: New file.
15731 * string/test-bzero.c: Likewise.
15732 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15733 defined.
15734 * string/test-memset.c: Support bzero test if TEST_BZERO is
15735 defined.
15736 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15737 __libc_memmove.
15738 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15739 __libc_memset.
15740 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15741 of memset.
15742
15743 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15744
15745 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15746 * configure: Regenerated.
15747
15748 * Makeconfig (+link-static-before-libc): Don't include
15749 $(link-static-libc).
15750
15751 * libio/libio.h (_IO_pos_t): Remove.
15752
15753 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15754
15755 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15756 McGrath.
15757
15758 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15759
15760 * crypt/crypt-entry.c: Include fips-private.h.
15761 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15762 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15763 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15764 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15765
15766 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15767
15768 * crypt/crypt-private.h: Include stdbool.h.
15769 (_ufc_setup_salt_r): Return bool.
15770 * crypt/crypt-entry.c: Include errno.h.
15771 (__crypt_r): Return NULL with EINVAL for bad salt.
15772 * crypt/crypt_util.c (bad_for_salt): New.
15773 (_ufc_setup_salt_r): Check that salt is long enough and within
15774 the specified alphabet.
15775 * crypt/badsalttest.c: New file.
15776 * crypt/Makefile (tests): Add it.
15777 ($(objpfx)badsalttest): New.
15778
15779 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15780
15781 * NEWS: Add entry for BZ #14602.
15782
15783 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15784
15785 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15786 type-generic.
15787 * math/libm-test.inc: Update comment listing what functions and
15788 macros are tested.
15789 (isgreater_test): New function.
15790 (isgreaterequal_test): Likewise.
15791 (isless_test): Likewise.
15792 (islessequal_test): Likewise.
15793 (islessgreater_test): Likewise.
15794 (isunordered_test): Likewise.
15795 (main): Call the new functions.
15796
15797 2012-10-09 Roland McGrath <roland@hack.frob.com>
15798
15799 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15800 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15801 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15802 * sysdeps/i386/configure: Regenerated.
15803 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15804 * sysdeps/mach/configure: Regenerated.
15805 * sysdeps/mach/hurd/configure: Regenerated.
15806 * sysdeps/powerpc/configure: Regenerated.
15807 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15808 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15809 * sysdeps/s390/s390-32/configure: Regenerated.
15810 * sysdeps/s390/s390-64/configure: Regenerated.
15811 * sysdeps/sh/configure: Regenerated.
15812 * sysdeps/sparc/configure: Regenerated.
15813 * sysdeps/unix/sysv/linux/configure: Regenerated.
15814 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15815 * sysdeps/x86_64/configure: Regenerated.
15816
15817 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15818 defined. Don't check if MAP is NULL.
15819
15820 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15821
15822 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15823 (_G_stat64): Likewise.
15824 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15825 (_G_stat64): Likewise.
15826 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15827 instead of struct _G_stat64.
15828 * libio/fileops.c (mmap_remap_check): Likewise.
15829 (decide_maybe_mmap): Likewise.
15830 (_IO_new_file_seekoff): Likewise.
15831 (_IO_file_stat): Likewise.
15832 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15833 _G_off64_t.
15834 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15835 instead of struct _G_stat64.
15836 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15837
15838 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15839
15840 [BZ #14602]
15841 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15842 Replace with ...
15843 (CHECK_EOL): New macro.
15844 (two_way_short_needle): Check beginning of haystack for EOL. Use
15845 CHECK_EOL.
15846 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15847 Replace with CHECK_EOL.
15848 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15849 Replace with CHECK_EOL.
15850
15851 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15852
15853 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15854 type-generic.
15855 * math/libm-test.inc: Update comment listing what functions and
15856 macros are tested.
15857 (finite_test): New function.
15858 (isinf_test): Likewise.
15859 (isnan_test): Likewise.
15860 (fpclassify_test): Test subnormal input.
15861 (isfinite_test): Likewise.
15862 (isnormal_test): Likewise.
15863 (main): Call the new functions.
15864
15865 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15866
15867 [BZ #14660]
15868 * Makerules (%.dynsym): Force C locale when running
15869 $(OBJDUMP) --dynamic-syms.
15870
15871 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15872
15873 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15874 <stdint.h>.
15875
15876 2012-10-06 David S. Miller <davem@davemloft.net>
15877
15878 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15879 upper 32-bits of the length value in %o2 since we use branch-on-register
15880 tests which consider the entire 64-bit register.
15881
15882 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15883
15884 * string/test-strstr.c (check2): Add a test for page boundary.
15885
15886 2012-10-05 David S. Miller <davem@davemloft.net>
15887
15888 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15889 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15890 file.
15891 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15892 sysdep_routines.
15893 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15894 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15895 and bzero when HWCAP_SPARC_CRYPTO is present.
15896
15897 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15898
15899 [BZ #14602]
15900 * string/test-strstr.c (check2): New function.
15901 (test_main): Call check2.
15902
15903 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15904 and bug-strchr1.
15905 * string/bug-strcasestr1.c (do_test): Moved to ...
15906 * string/test-strcasestr.c (check1): Here. New function.
15907 (do_one_test): Break out result checking code into ...
15908 (check_result): This. New function.
15909 (do_one_test): Call check_result.
15910 (test_main): Call check1.
15911 * string/bug-strchr1.c (do_test): Moved to ...
15912 * string/test-strchr.c (check1): Here. New function.
15913 (do_one_test): Break out result checking code into ...
15914 (check_result): This. New function.
15915 (do_one_test): Call check_result.
15916 (test_main): Call check1.
15917 * string/bug-strstr1.c (main): Moved to ...
15918 * string/test-strstr.c (check1): Here. New function.
15919 (do_one_test): Break out result checking code into ...
15920 (check_result): This. New function.
15921 (do_one_test): Call check_result.
15922 (test_main): Call check1.
15923 * string/bug-strcasestr1.c: Removed.
15924 * string/bug-strchr1.c: Likewise.
15925 * string/bug-strstr1.c: Likewise.
15926
15927 * elf/Makefile (dl-routines): Add hwcaps.
15928 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15929 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15930 (_dl_important_hwcaps): Moved to ...
15931 * elf/dl-hwcaps.c: Here. New file.
15932 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15933
15934 [BZ #14557]
15935 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15936 if IS_IN_rtld isn't defined.
15937
15938 * elf/dl-support.c (_dl_sysinfo_map): New.
15939 Include "get-dynamic-info.h" and "setup-vdso.h".
15940 (_dl_non_dynamic_init): Call setup_vdso.
15941 * elf/dynamic-link.h: Don't include <assert.h>.
15942 (elf_get_dynamic_info): Moved to ...
15943 * elf/get-dynamic-info.h: Here. New file.
15944 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15945 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15946 * elf/setup-vdso.h: Here. New file.
15947 * elf/rtld.c: Include "setup-vdso.h".
15948 (dl_main): Call setup_vdso.
15949
15950 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15951
15952 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15953 creal in comment listing functions tested. List finite, isinf,
15954 isnan, isless, islessequal, isgreater, isgreaterequal,
15955 islessgreater, isunordered, lgamma_r and pow10 as functions and
15956 macros not tested. Mention which functions not tested are aliases
15957 for other functions. Fix typo. Note that signs of NaNs are not
15958 tested.
15959
15960 * scripts/config.guess: Update from config.git.
15961 * scripts/config.sub: Likewise.
15962
15963 2012-10-04 Roland McGrath <roland@hack.frob.com>
15964
15965 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15966 * misc/madvise.c (madvise): Renamed to __madvise.
15967 Make madvise a weak alias.
15968 * include/sys/mman.h: Declare __madvise.
15969 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15970 * sysdeps/unix/syscalls.list
15971 (madvise): Make __madvise the strong name, and madvise a weak alias.
15972 * sysdeps/unix/sysv/linux/syscalls.list
15973 (madvise, mmap): Remove redundant entries.
15974 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15975 * malloc/malloc.c (mtrim): Likewise.
15976 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15977
15978 2012-10-03 Roland McGrath <roland@hack.frob.com>
15979
15980 * sysdeps/mach/hurd/dl-cache.c: File removed.
15981 * config.h.in (USE_LDCONFIG): New #undef.
15982 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15983 * configure: Regenerated.
15984 * elf/Makefile (dl-routines): Add dl-cache only under
15985 [$(use-ldconfig) = yes].
15986 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15987 cache on [USE_LDCONFIG].
15988 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15989 [USE_LDCONFIG].
15990 * elf/rtld.c (dl_main): Likewise.
15991
15992 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15993
15994 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15995 _SC_LEVEL4_CACHE_LINESIZE.
15996
15997 2012-10-03 Roland McGrath <roland@hack.frob.com>
15998
15999 * sysdeps/unix/bsd/confstr.h: File removed.
16000
16001 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
16002
16003 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16004 sys/sdt-config.h.
16005
16006 2012-10-02 Roland McGrath <roland@hack.frob.com>
16007
16008 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16009 Make 'mapoff' field ElfW(Off) rather than off_t.
16010
16011 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16012
16013 * nscd/Makefile: Remove nscd-cflags and all its users.
16014 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16015 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16016
16017 [BZ #10631]
16018 * malloc.c (malloc_printerr): Clarify error message.
16019
16020 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16021
16022 [BZ #14648]
16023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16024 Set bit_FMA_Usable if FMA is supported.
16025 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16026 macro.
16027 (bit_FMA4_Usable): Updated.
16028 (index_FMA_Usable): New macro.
16029 (CPUID_FMA): Likewise
16030 (HAS_FMA): Defined with bit_FMA_Usable.
16031
16032 2012-10-01 Roland McGrath <roland@hack.frob.com>
16033
16034 * bits/types.h (__swblk_t): Type removed.
16035 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16036 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16038 (__SWBLK_T_TYPE): Likewise.
16039 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16040 (__SWBLK_T_TYPE): Likewise.
16041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16042 (__SWBLK_T_TYPE): Likewise.
16043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16044 (__SWBLK_T_TYPE): Likewise.
16045
16046 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
16047 Honza Horak <hhorak@redhat.com>
16048
16049 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16050 (xdr_mapname): Use YPMAXMAP as maxsize.
16051 (xdr_peername): Use YPMAXPEER as maxsize.
16052 (xdr_keydat): Use YPAXRECORD as maxsize.
16053 (xdr_valdat): Use YPMAXRECORD as maxsize.
16054
16055 2012-10-01 Roland McGrath <roland@hack.frob.com>
16056
16057 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16058
16059 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16060 * csu/init-first.c: ... here.
16061 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16062 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16065 * sysdeps/i386/init-first.c: File removed.
16066 * sysdeps/sh/init-first.c: File removed.
16067
16068 2012-10-01 Joseph Myers <joseph@codesourcery.com>
16069
16070 [BZ #14645]
16071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16072 if x * y might underflow to zero and z is zero.
16073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16075 * math/libm-test.inc (min_subnorm_value): New variable.
16076 (fma_test): Add more tests.
16077 (fma_test_towardzero): Likewise.
16078 (fma_test_downward): Likewise
16079 (fma_test_upward): Likewise.
16080 (initialize): Set min_subnorm_value.
16081
16082 2012-09-29 Joseph Myers <joseph@codesourcery.com>
16083
16084 [BZ #14638]
16085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16086 0 + 0.
16087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16088 mode for addition resulting in exact zero.
16089 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16091 exact 0 + 0.
16092 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16093 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16094 * math/libm-test.inc (fma_test): Add more tests.
16095 (fma_test_towardzero): New function.
16096 (fma_test_downward): Likewise.
16097 (fma_test_upward): Likewise.
16098 (main): Call the new functions.
16099
16100 2012-09-28 David S. Miller <davem@davemloft.net>
16101
16102 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16103
16104 2012-09-28 Roland McGrath <roland@hack.frob.com>
16105
16106 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16107 instead of SIGALRM.
16108
16109 * sysdeps/gnu/_G_config.h: Moved to ...
16110 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16111 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16112 * sysdeps/generic/_G_config.h: ... here.
16113
16114 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16115
16116 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16117
16118 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16119 Conditionalize target on [libnss_test1.so-version].
16120
16121 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16122
16123 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16124 (elfobjdir): Move out of conditionals.
16125
16126 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16127 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16128 (__nss_lookup_function): Conditionalize label remove_from_tree on
16129 [!DO_STATIC_NSS || SHARED], matching its only use.
16130
16131 2012-09-28 David S. Miller <davem@davemloft.net>
16132
16133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16134 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16135 file.
16136 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16137 sysdep_routines.
16138 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16140 when HWCAP_SPARC_CRYPTO is present.
16141
16142 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16143
16144 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16145
16146 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16147
16148 [BZ #6530]
16149 * stdio-common/vfprintf.c (process_string_arg): Revert
16150 2000-07-22 change.
16151
16152 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16153
16154 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16155 for testcase.
16156 * stdio-common/tst-sprintf.c: Include <locale.h>
16157 (main): Test sprintf's handling of incomplete multibyte
16158 characters.
16159
16160 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16161
16162 * elf/dl-runtime.c (VERSYMIDX): Removed.
16163 * elf/dl-version.c (VERSYMIDX): Likewise.
16164 * elf/do-rel.h (VERSYMIDX): Likewise.
16165 (VALIDX): Likewise.
16166 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16167 * elf/rtld.c (VALIDX): Likewise.
16168 (ADDRIDX): Likewise.
16169 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16170 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16171 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16172 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16173 (VALIDX): Likewise.
16174 (ADDRIDX): Likewise.
16175
16176 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16177
16178 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16179
16180 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16181
16182 [BZ #11438]
16183 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16184 to global scope.
16185 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16186 addresses are in the same scope as 192.0.2/24.
16187 * posix/gai.conf: Document new scope table defaults.
16188
16189 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16190
16191 [BZ #5298]
16192 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16193 for ftell. Compute offsets from write pointers instead.
16194 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16195
16196 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16197
16198 [BZ #14543]
16199 * libio/Makefile (tests): New test case tst-fseek.
16200 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16201 combination works in wide mode.
16202 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16203 state when the external buffer state changes.
16204
16205 2012-09-27 David S. Miller <davem@davemloft.net>
16206
16207 [BZ #14376]
16208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16209 pass reloc->r_addend in as the 'high' argument to
16210 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16211
16212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16213
16214 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16215
16216 * rt/tst-aio2.c: Include <pthread.h>.
16217 * rt/tst-aio3.c: Likewise.
16218
16219 2012-09-27 Steve Ellcey <sellcey@mips.com>
16220
16221 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16222
16223 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16224
16225 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16226 contents on [SHARED].
16227
16228 2012-09-26 Marek Polacek <polacek@redhat.com>
16229
16230 [BZ #14530]
16231 [BZ #13741]
16232 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16233 for C++ and GCC <4.3 as well as for non GCC compilers.
16234
16235 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16236
16237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16238
16239 2012-09-25 Roland McGrath <roland@hack.frob.com>
16240
16241 * Makefile.in (all, install): Declare with .PHONY.
16242 Reported by Michael Hope <michael.hope@linaro.org>.
16243
16244 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16245
16246 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16247 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16248 system header.
16249 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16250 Likewise.
16251 (sydep_routines): Add the new and the internal functions.
16252 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16253 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16255 (GLIBC_2.17): Add the new function.
16256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16257 (GLIBC_2.17): Likewise.
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16259 (GLIBC_2.17): Likewise.
16260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16261 (GLIBC_2.17): Likewise.
16262 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16263
16264 2012-09-25 Alan Modra <amodra@gmail.com>
16265
16266 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16267 Add release barrier before setting once_control to say
16268 initialisation is done. Add hints on lwarx. Use macro in
16269 place of isync.
16270 (clear_once_control): Add release barrier.
16271
16272 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16273
16274 [BZ #13629]
16275 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16276 specially.
16277 * math/s_clog10.c (__clog10): Likewise.
16278 * math/s_clog10f.c (__clog10f): Likewise.
16279 * math/s_clog10l.c (__clog10l): Likewise.
16280 * math/s_clogf.c (__clogf): Likewise.
16281 * math/s_clogl.c (__clogl): Likewise.
16282 * math/Makefile (libm-calls): Add x2y2m1.
16283 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16284 (__x2y2m1): Likewise.
16285 (__x2y2m1l): Likewise.
16286 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16287 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16290 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16291 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16292 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16293 * sysdeps/i386/fpu/libm-test-ulps: Update.
16294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16295
16296 [BZ #14621]
16297 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16298 int as type of variable DEPTH.
16299 (glob): Use size_t instead of int as type of variables NEWCOUNT
16300 and OLD_PATHC.
16301
16302 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16303
16304 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16305 Add s_sincosf-sse2.
16306 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16307 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16308 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16309 macros for using routine as __sincosf_ia32.
16310 Use macro for function declaration and weak_alias.
16311 * sysdeps/i386/fpu/libm-test-ulps: Update.
16312
16313 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16315
16316 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16317 subnormal argument.
16318 * math/s_cexpf.c (__cexpf): Likewise.
16319 * math/s_csinf.c (__csinf): Likewise.
16320 * math/s_csinhf.c (__csinhf): Likewise.
16321 * math/s_ctanf.c (__ctanf): Likewise.
16322 * math/s_ctanhf.c (__ctanhf): Likewise.
16323 * math/s_ccosh.c (__ccoshf): Likewise.
16324 * math/s_cexp.c (__cexpl): Likewise.
16325 * math/s_csin.c (__csin): Likewise.
16326 * math/s_csinh.c (__csinh): Likewise.
16327 * math/s_ctan.c (__ctan): Likewise.
16328 * math/s_ctanh.c (ctanh): Likewise.
16329 * math/s_ccoshl.c (__ccoshl): Likewise.
16330 * math/s_cexpl.c (__cexpl): Likewise.
16331 * math/s_csinl.c (__csinl): Likewise.
16332 * math/s_csinhl.c (__csinhl): Likewise.
16333 * math/s_ctanl.c (__ctanl): Likewise.
16334 * math/s_ctanhl.c (__ctanhl): Likewise.
16335
16336 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16337
16338 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16339 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16340 (_IO_off_t): Define to __off_t, not _G_off_t.
16341 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16342 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16343 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16344 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16345 type of __dummy and __dummy2 fields.
16346 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16347 (_G_ssize_t): Likewise.
16348 (_G_off_t): Likewise.
16349 (_G_pid_t): Likewise.
16350 (_G_uid_t): Likewise.
16351 (_G_wchar_t): Likewise.
16352 (_G_wint_t): Likewise.
16353 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16354 (_G_ssize_t): Likewise.
16355 (_G_off_t): Likewise.
16356 (_G_pid_t): Likewise.
16357 (_G_uid_t): Likewise.
16358 (_G_wchar_t): Likewise.
16359 (_G_wint_t): Likewise.
16360 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16361 (_G_ssize_t): Likewise.
16362 (_G_off_t): Likewise.
16363 (_G_pid_t): Likewise.
16364 (_G_uid_t): Likewise.
16365 (_G_wchar_t): Likewise.
16366 (_G_wint_t): Likewise.
16367
16368 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16369
16370 * malloc/arena.c: Include malloc-sysdep.h.
16371 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16372 is sufficient to shrink the heap or an unmap is needed.
16373 * sysdeps/generic/malloc-sysdep.h: New file. Define
16374 new function check_may_shrink_heap.
16375 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16376 new function check_may_shrink_heap.
16377
16378 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16379
16380 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16381 comments.
16382
16383 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16384
16385 * catgets/test-gencat.sh: Add "set -e".
16386 * elf/tst-pathopt.sh: Likewise.
16387 * grp/tst_fgetgrent.sh: Likewise.
16388 * iconvdata/run-iconv-test.sh: Likewise.
16389 * intl/tst-gettext.sh: Likewise.
16390 * intl/tst-gettext2.sh: Likewise.
16391 * intl/tst-gettext4.sh: Likewise.
16392 * intl/tst-gettext6.sh: Likewise.
16393 * intl/tst-translit.sh: Likewise.
16394 * io/ftwtest-sh: Likewise.
16395 * libio/test-freopen.sh: Likewise.
16396 * malloc/tst-mtrace.sh: Likewise.
16397 * posix/globtest.sh: Likewise.
16398 * posix/tst-getconf.sh: Likewise.
16399 * posix/wordexp-tst.sh: Likewise.
16400 * stdio-common/tst-printf.sh: Likewise.
16401 * stdio-common/tst-unbputc.sh: Likewise.
16402 * stdlib/tst-fmtmsg.sh: Likewise.
16403 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16404 * catgets/Makefile: Do not specify -e option when running
16405 testsuite shell scripts.
16406 * elf/Makefile: Likewise.
16407 * grp/Makefile: Likewise.
16408 * iconvdata/Makefile: Likewise.
16409 * intl/Makefile: Likewise.
16410 * io/Makefile: Likewise.
16411 * libio/Makefile: Likewise.
16412 * malloc/Makefile: Likewise.
16413 * posix/Makefile: Likewise.
16414 * stdio-common/Makefile: Likewise.
16415 * stdlib/Makefile: Likewise.
16416 * sysdeps/x86_64/Makefile: Likewise.
16417
16418 * io/ftwtest-sh: Add copyright header.
16419 * posix/globtest.sh: Likewise.
16420 * posix/tst-getconf.sh: Likewise.
16421 * posix/wordexp-tst.sh: Likewise.
16422 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16423
16424 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16425
16426 [BZ #13679]
16427 * Makeconfig (+link): Defined as $(+link-static) if
16428 $(build-shared) isn't yes.
16429 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16430 isn't yes.
16431 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16432
16433 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16434
16435 [BZ #14562]
16436 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16437 new chunk size with MALLOC_ALIGN_MASK.
16438
16439 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16440
16441 [BZ #5044]
16442 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16443 <rounding-mode.h>.
16444 (__printf_fphex): Determine rounding using get_rounding_mode and
16445 round_away.
16446 * stdio-common/tst-printf-round.c (struct hex_test): New
16447 structure.
16448 (hex_tests): New variable.
16449 (test_hex_in_one_mode): New function.
16450 (do_test): Also run tests for hex float output.
16451
16452 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16453
16454 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16455 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16456 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16457 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16458 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16459 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16460 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16461 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16462
16463 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16464
16465 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16466 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16467 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16468 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16469
16470 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16471
16472 [BZ #14579]
16473 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16474 mode only.
16475 * elf/tst-rtld-load-self.sh: New test.
16476 * elf/Makefile: Run it.
16477
16478 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16479
16480 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16481 (tst-writev-ENV): Remove.
16482 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16483
16484 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16485
16486 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16487
16488 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16489
16490 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16491 unconditional.
16492 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16493 Likewise.
16494 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16495 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16496 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16497 Likewise.
16498
16499 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16500
16501 [BZ #14587]
16502 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16503 * config.make.in (have-cpp-asm-debuginfo): Removed.
16504 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16505 * configure: Regenerated.
16506
16507 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16508
16509 [BZ #5044]
16510 * stdio-common/printf_fp.c: Include <stdbool.h> and
16511 <rounding-mode.h>.
16512 (___printf_fp): Determine rounding using get_rounding_mode and
16513 round_away.
16514 * stdio-common/tst-printf-round.c: New file.
16515 * stdio-common/Makefile (tests): Add tst-printf-round.
16516 (link-libm): New variable.
16517 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16518
16519 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16520
16521 [BZ #14576]
16522 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16523 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16524 Likewise.
16525 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16526 Likewise.
16527
16528 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16529
16530 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16531 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16532 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16533 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16534
16535 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16536
16537 [BZ #14518]
16538 * include/rounding-mode.h: New file.
16539 * sysdeps/generic/get-rounding-mode.h: Likewise.
16540 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16541 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16542 (MAX_VALUE): New macro.
16543 (MIN_VALUE): Likewise.
16544 (overflow_value): New function.
16545 (underflow_value): Likewise.
16546 (round_and_return): Use overflow_value and underflow_value to
16547 determine return values in overflow and underflow cases. Use
16548 round_away to determine rounding depending on rounding mode.
16549 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16550 determine return values in overflow and underflow cases.
16551 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16552 (struct test_results): New structure.
16553 (struct test): Use struct test_results to store expected results
16554 for all rounding modes.
16555 (TEST): Include expected results for all rounding modes.
16556 (test_in_one_mode): New function.
16557 (do_test): Use test_in_one_mode to compute and check results.
16558 Check results for all rounding modes.
16559 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16560 $(link-libm).
16561
16562 2012-12-09 Allan McRae <allan@archlinux.org>
16563
16564 * sysdeps/i386/fpu/libm-test-ulps: Update
16565
16566 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16567
16568 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16569 (_G_int32_t): Likewise.
16570 (_G_uint16_t): Likewise.
16571 (_G_uint32_t): Likewise.
16572 (_G_HAVE_BOOL): Likewise.
16573 (_G_HAVE_ATEXIT): Likewise.
16574 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16575 (_G_HAVE_IO_FILE_OPEN): Likewise.
16576 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16577 (_G_int32_t): Likewise.
16578 (_G_uint16_t): Likewise.
16579 (_G_uint32_t): Likewise.
16580 (_G_HAVE_BOOL): Likewise.
16581 (_G_HAVE_ATEXIT): Likewise.
16582 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16583 (_G_HAVE_IO_FILE_OPEN): Likewise.
16584 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16585 (_G_int32_t): Likewise.
16586 (_G_uint16_t): Likewise.
16587 (_G_uint32_t): Likewise.
16588 (_G_HAVE_BOOL): Likewise.
16589 (_G_HAVE_ATEXIT): Likewise.
16590 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16591 (_G_HAVE_IO_FILE_OPEN): Likewise.
16592
16593 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16594
16595 * csu/libc-tls.c: Update copyright years.
16596
16597 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16598
16599 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16600 [!_G_USING_THUNKS]: Remove conditional code.
16601 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16602 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16603
16604 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16605 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16606 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16607 (_G_VTABLE_LABEL_PREFIX): Likewise.
16608 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16609 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16610 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16611 (_G_VTABLE_LABEL_PREFIX): Likewise.
16612 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16613 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16614 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16615 (_G_VTABLE_LABEL_PREFIX): Likewise.
16616 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16617
16618 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16619
16620 * libio/Makefile: Include ../Makeconfig before tests.
16621 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16622 only if $(build-shared) is yes.
16623
16624 * iconv/gconv_db.c: Update copyright years.
16625
16626 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16627
16628 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16629 unwind info if defined PIC. Fix special cases description.
16630 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16631
16632 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16633 DP_HI_MASK entry.
16634 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16635
16636 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16637
16638 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16639
16640 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16641 is NULL.
16642
16643 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16644 (LDLIBS-tst-chk4): This.
16645 (LDFLAGS-tst-chk5): Renamed to ...
16646 (LDLIBS-tst-chk5): This.
16647 (LDFLAGS-tst-chk6): Renamed to ...
16648 (LDLIBS-tst-chk6): This.
16649 (LDFLAGS-tst-lfschk4): Renamed to ...
16650 (LDLIBS-tst-lfschk4): This.
16651 (LDFLAGS-tst-lfschk5): Renamed to ...
16652 (LDLIBS-tst-lfschk5): This.
16653 (LDFLAGS-tst-lfschk6): Renamed to ...
16654 (LDLIBS-tst-lfschk6): This.
16655
16656 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16657 on $(common-objpfx)soversions.mk.
16658
16659 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16660
16661 [BZ #10014]
16662 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16663 example host name.
16664
16665 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16666
16667 * malloc/arena.c (arena_get_retry): New function that gets
16668 another arena for the caller to try its request on.
16669 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16670 current arena cannot fulfill the request.
16671 (__libc_memalign): Likewise.
16672 (__libc_memalign): Likewise.
16673 (__libc_pvalloc): Likewise.
16674 (__libc_calloc): Likewise.
16675
16676 2012-09-05 John Tobey <john.tobey@gmail.com>
16677
16678 [BZ #13542]
16679 * manual/arith.texi (Operations on Complex): Fix description
16680 of carg branch cut.
16681
16682 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16683
16684 [BZ #10014]
16685 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16686 host name.
16687
16688 [BZ #10038]
16689 * manual/memory.texi (Memory): Make order of menu items match
16690 order of sections.
16691
16692 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16693
16694 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16695 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16696 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16697
16698 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16699
16700 * csu/libc-tls.c (static_dtv): Renamed to ...
16701 (_dl_static_dtv): This. Make it global.
16702 (_dl_initial_dtv): Removed.
16703 (__libc_setup_tls): Updated.
16704 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16705 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16706 DL_INITIAL_DTV.
16707
16708 2012-09-06 Petr Machata <pmachata@redhat.com>
16709
16710 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16711 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16712 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16713 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16714
16715 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16716
16717 [BZ #14545]
16718 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16719 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16720 freeing dtv[-1].
16721
16722 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16723
16724 [BZ #14544]
16725 * Makeconfig (link-static-before-libc): Replace $(+prector)
16726 with $(+prectorT).
16727 (link-static-after-libc): Replace $(+postctor) with
16728 $(+postctorT).
16729 (link-bounded): Replace $(+prector)/$(+postctor) with
16730 $(+prectorT)/$(+postctorT).
16731 (+prectorT): New macro.
16732 (+postctorT): Likewise.
16733
16734 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16735
16736 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16737 (round_str): Handle values above the maximum for IBM long double
16738 as inexact.
16739 * stdlib/tst-strtod-round.c (tests): Regenerated.
16740
16741 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16742
16743 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16744 assembler flag.
16745 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16746 zarch_nohighgprs around the zarch optimized routines.
16747 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16748 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16749 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16750 for zarch.
16751
16752 2012-09-05 David S. Miller <davem@davemloft.net>
16753
16754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16755
16756 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16757 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16758 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16759 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16760 entries.
16761
16762 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16763
16764 * malloc/arena.c: Fold copyright years.
16765 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16766
16767 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16768
16769 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16770
16771 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16772
16773 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16774
16775 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16776
16777 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16778 change internal state upon failure.
16779
16780 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16781
16782 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16783 * malloc/memusage.c (mmap): Likewise.
16784 (mmap64, mremap): Likewise. Adjust name in comment.
16785
16786 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16787
16788 * libio/fileops.c: Fix typos in comments.
16789 * libio/oldfileops.c: Likewise.
16790 * libio/wfileops.c: Likewise.
16791
16792 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16793
16794 [BZ #1349]
16795 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16796 (tst-malloc-usable-ENV): Set environment for test case.
16797 * malloc/hooks.c (malloc_check_get_size): New function to get
16798 requested size.
16799 * malloc/malloc.c (musable): Use malloc_check_get_size.
16800 * malloc/tst-malloc-usable.c: New test case.
16801
16802 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16803
16804 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16805
16806 2012-09-05 Allan McRae <allan@archlinux.org>
16807
16808 [BZ #13966]
16809 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16810 determine header location.
16811 * configure: Regenerated.
16812
16813 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16814
16815 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16816 float format.
16817 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16818 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16819 format.
16820 (test): Regenerate.
16821
16822 2012-09-04 David S. Miller <davem@davemloft.net>
16823
16824 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16825 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16826 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16827
16828 2012-09-04 Florian Weimer <fweimer@redhat.com>
16829
16830 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16831 failures.
16832
16833 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16834
16835 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16836
16837 [BZ #9914]
16838 * libio/iogetdelim.c: Include <limits.h>.
16839 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16840 + len + 1 would overflow.
16841
16842 2012-09-03 Andreas Jaeger <aj@suse.de>
16843
16844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16845 * sysdeps/i386/fpu/libm-test-ulps: Update.
16846
16847 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16848
16849 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16850 Add s_sinf-sse2, s_conf-sse2.
16851
16852 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16853 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16854 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16855 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16856
16857 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16858 for using routine as __sinf_ia32.
16859 Use macro for function declaration and weak_alias.
16860 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16861 for using routine as __cosf_ia32.
16862 Use macro for function declaration and weak_alias.
16863
16864 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16865 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16866
16867 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16868 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16870
16871 * math/libm-test.inc (cos_test): Add more test cases.
16872 (sin_test): Likewise.
16873 (sincos_test): Likewise.
16874
16875 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16876
16877 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16878 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16879 hidden.
16880 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16881
16882 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16883
16884 [BZ #14538]
16885 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16886 first element of the GOT.
16887 (elf_machine_load_address): Return the difference between
16888 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16889
16890 2012-09-01 Allan McRae <allan@archlinux.org>
16891
16892 [BZ #13412]
16893 * configure.in (AWK): Require gawk version 3.0 or later.
16894 * configure: Regenerated.
16895
16896 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16897
16898 * sysdeps/unix/sysv/linux/kernel-features.h
16899 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16900 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16901 [__NR_clock_getres]: Make code unconditional.
16902 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16903 (clock_getcpuclockid): Remove code left unreachable by removal of
16904 conditionals.
16905 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16906 code unconditional.
16907 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16908 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16909 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16910 Make code unconditional.
16911 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16912 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16913 * sysdeps/unix/sysv/linux/clock_settime.c
16914 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16915 conditional code.
16916 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16918
16919 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16920
16921 [BZ #14476]
16922 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16923 scripts/test-installation.pl.
16924
16925 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16926 and $ld_so_version if it is set.
16927
16928 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16929
16930 [BZ #14516]
16931 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16932 failure if reading from procfs failed.
16933 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16934
16935 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16936
16937 * sysdeps/unix/sysv/linux/kernel-features.h
16938 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16939 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16940 Remove conditional code.
16941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16942 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16943 Remove conditional code.
16944 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16945 * sysdeps/unix/sysv/linux/i386/fxstat.c
16946 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16948 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16949 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16951 * sysdeps/unix/sysv/linux/i386/lxstat.c
16952 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16954 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16955 Remove conditional code.
16956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16957 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16958 Remove conditional code.
16959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16960 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16961 <kernel-features.h>.
16962 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16963 Remove.
16964 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16965 Remove conditional code.
16966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16967 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16968 Remove conditional.
16969
16970 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16971
16972 [BZ #5400]
16973 * NEWS: Add fixed bug number.
16974
16975 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16976
16977 [BZ #14519]
16978 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16979 underflowing exponent in case of negative sign.
16980 * stdlib/tst-strtod-round-data: Add more tests.
16981 * stdlib/tst-strtod-round.c (tests): Regenerated.
16982
16983 [BZ #3479]
16984 * stdlib/strtod_l.c (NDIG): Remove.
16985 (HEXNDIG): Likewise.
16986 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16987 smallest representable value.
16988 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16989 lie within an exact representation of 1/2 ulp of the result.
16990 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16991 unconditionally.
16992 (TENS_P9_IDX): Define unconditionally.
16993 (TENS_P9_SIZE): Likewise.
16994 (TENS_P10_IDX): Likewise.
16995 (TENS_P10_SIZE): Likewise.
16996 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16997 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16998 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16999 entries for 10^2^13 and 10^2^14.
17000 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17001 (TENS_P13_IDX): Define.
17002 (TENS_P13_SIZE): Likewise.
17003 (TENS_P14_IDX): Likewise.
17004 (TENS_P14_SIZE): Likewise.
17005 (_fpioconst_pow10): Change array size to
17006 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17007 unconditional.
17008 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17009 1024]: Add entries for 10^2^13 and 10^2^14.
17010 [LAST_POW10 > _LAST_POW10]: Remove #error.
17011 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17012 (_fpioconst_pow10): Change array size to
17013 FPIOCONST_POW10_ARRAY_SIZE.
17014 * stdlib/gen-fpioconst.c: New file.
17015 * stdlib/gen-tst-strtod-round.c: Likewise.
17016 * stdlib/tst-strtod-round-data: Likewise.
17017 * stdlib/tst-strtod-round.c: Likewise.
17018 * stdlib/Makefile (tests): Add tst-strtod-round.
17019
17020 [BZ #14459]
17021 * stdlib/strtod_l.c: Include <stdint.h>.
17022 (NDEBUG): Do not define.
17023 (round_and_return): Change EXPONENT parameter to type intmax_t.
17024 Rearrange calculations to avoid internal overflow possibilities.
17025 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17026 Rearrange calculations to avoid internal overflow possibilities.
17027 Assert that number fits inside MPNSIZE limbs.
17028 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17029 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17030 calculations and add assertions to avoid internal overflow
17031 possibilities. Add casts to avoid signed/unsigned operations.
17032 * stdlib/tst-strtod-overflow.c: New file.
17033 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17034
17035 2012-08-25 Marek Polacek <polacek@redhat.com>
17036
17037 * time/time.h: Fix some typos in comments.
17038
17039 2012-08-23 Roland McGrath <roland@hack.frob.com>
17040
17041 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17042 * posix/tst-rfc3484-2.c: Likewise.
17043 * posix/tst-rfc3484-3.c: Likewise.
17044
17045 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17046
17047 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17048 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17049
17050 2012-08-23 Joseph Myers <joseph@codesourcery.com>
17051
17052 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17053 #include of fxstatat64.c.
17054
17055 2012-08-22 Roland McGrath <roland@hack.frob.com>
17056
17057 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17058 * shadow/getspent_r.c: Likewise.
17059 * shadow/getspnam.c: Likewise.
17060 * shadow/getspnam_r.c: Likewise.
17061 * gshadow/getsgent.c: Likewise.
17062 * gshadow/getsgent_r.c: Likewise.
17063 * gshadow/getsgnam.c: Likewise.
17064 * gshadow/getsgnam_r.c: Likewise.
17065 * inet/getnetbyad.c: Likewise.
17066 * inet/getnetbyad_r.c: Likewise.
17067 * inet/getnetbynm.c: Likewise.
17068 * inet/getnetbynm_r.c: Likewise.
17069 * inet/getnetent.c: Likewise.
17070 * inet/getnetent_r.c: Likewise.
17071 * inet/getproto.c: Likewise.
17072 * inet/getproto_r.c: Likewise.
17073 * inet/getprtent.c: Likewise.
17074 * inet/getprtent_r.c: Likewise.
17075 * inet/getprtname.c: Likewise.
17076 * inet/getprtname_r.c: Likewise.
17077 * inet/getrpcbyname.c: Likewise.
17078 * inet/getrpcbyname_r.c: Likewise.
17079 * inet/getrpcbynumber.c: Likewise.
17080 * inet/getrpcbynumber_r.c: Likewise.
17081 * inet/getrpcent.c: Likewise.
17082 * inet/getrpcent_r.c: Likewise.
17083 * inet/getaliasent.c: Likewise.
17084 * inet/getaliasent_r.c: Likewise.
17085 * inet/getaliasname.c: Likewise.
17086 * inet/getaliasname_r.c: Likewise.
17087 * nscd/getgrgid_r.c: Likewise.
17088 * nscd/getgrnam_r.c: Likewise.
17089 * nscd/gethstbyad_r.c: Likewise.
17090 * nscd/gethstbynm3_r.c: Likewise.
17091 * nscd/getpwnam_r.c: Likewise.
17092 * nscd/getpwuid_r.c: Likewise.
17093 * nscd/getsrvbynm_r.c: Likewise.
17094 * nscd/getsrvbypt_r.c: Likewise.
17095 * nscd/gai.c: Likewise.
17096
17097 * configure.in (build_nscd): New substituted variable, set
17098 by --disable-build-nscd and defaults to $use_nscd.
17099 * configure: Regenerated.
17100 * config.make.in (build-nscd): New substituted variable.
17101 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17102 Change conditional to require [$(build-nscd) = yes] as well.
17103 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17104
17105 [BZ# 13696]
17106 * configure.in (use_nscd): New substituted variable, set by
17107 --disable-nscd. If enabled, define USE_NSCD.
17108 * configure: Regenerated.
17109 * config.h.in: Add USE_NSCD.
17110 * config.make.in (use-nscd): New substituted variable.
17111 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17112 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17113 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17114 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17115 (CFLAGS-getgrnam_r.c): Likewise.
17116 (CFLAGS-initgroups.c): Likewise.
17117 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17118 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17119 Variables removed.
17120 * inet/getnetgrent_r.c
17121 (nscd_setnetgrent): New function, broken out of ...
17122 (setnetgrent): ... here. Call it.
17123 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17124 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17125 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17126 * nscd/Makefile (routines, aux): Move definitions after include of
17127 Makeconfig. Conditionalize on [$(use-nscd) != no].
17128 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17129 Conditionalize on [USE_NSCD].
17130 (is_nscd, nscd_init_cb): Likewise.
17131 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17132 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17133 * nss/nss_db/db-init.c: Likewise.
17134 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17135 [USE_NSCD].
17136 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17137 (make_request): Use it.
17138 (cache_valid_p): New function.
17139 (__check_pf): Use it.
17140 * NEWS: Add item for --disable-nscd.
17141
17142 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17143
17144 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17145 to support sed >= 4.2.1-20-ga9bf076.
17146 * configure: Regenerated.
17147
17148 2012-08-22 Roland McGrath <roland@hack.frob.com>
17149
17150 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17151 Conditionalize whole body on [IREL].
17152
17153 2012-08-22 Jeff Law <law@redhat.com>
17154
17155 [BZ #14505]
17156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17157 if the family is PF_UNSPEC.
17158
17159 2012-08-22 Mike Frysinger <vapier@gentoo.org>
17160
17161 * Makerules (lib-version): Rename from V.
17162 (install-lib-nosubdir): Change V to lib-version.
17163
17164 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17165
17166 [BZ #14252]
17167 * powerpc32/power6/wcschr.c: New file.
17168 * powerpc32/power6/wcscpy.c: New file.
17169 * powerpc32/power6/wcsrchr.c: New file.
17170 * powerpc64/power6/wcschr.c: New file.
17171 * powerpc64/power6/wcscpy.c: New file.
17172 * powerpc64/power6/wcsrchr.c: New file.
17173
17174 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17175
17176 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17177 (two_way_short_needle): Use it.
17178 * string/strstr.c (AVAILABLE1_USES_J): Define.
17179 * string/strcasestr.c: Likewise.
17180
17181 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17182 array references.
17183 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17184
17185 [BZ #11607]
17186 * NEWS: Add an entry.
17187 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17188 define their defaults.
17189 (two_way_short_needle): Detect end-of-string on-the-fly.
17190 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17191 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17192 * string/bug-strcasestr1.c: New test.
17193 * string/Makefile: Run it.
17194
17195 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17196
17197 [BZ #11607]
17198 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17199 the first character.
17200
17201 2012-08-21 Roland McGrath <roland@hack.frob.com>
17202
17203 * csu/elf-init.c (__libc_csu_irel): Function removed.
17204 * csu/libc-start.c (apply_irel): New function.
17205 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17206
17207 2012-08-21 Joseph Myers <joseph@codesourcery.com>
17208
17209 * sysdeps/unix/sysv/linux/kernel-features.h
17210 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17211 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17212 <kernel-features.h>.
17213 [__NR_fadvise64_64]: Make code unconditional.
17214 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17215 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17216 !__NR_fadvise64_64)]: Likewise.
17217 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17218 !__NR_fadvise64_64))]: Likewise.
17219 [__NR_fadvise64]: Make code unconditional.
17220 [!__NR_fadvise64]: Remove conditional code.
17221 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17222 <kernel-features.h>.
17223 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17224 unconditional.
17225 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17226 conditional code.
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17228 not include <kernel-features.h>.
17229 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17230 unconditional.
17231 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17232 conditional code.
17233 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17234 include <kernel-features.h>.
17235 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17236 unconditional.
17237 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17238 conditional code.
17239
17240 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17241
17242 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17243 slight instruction rearrangements per scrollpipe analysis.
17244 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17245
17246 2012-08-20 Roland McGrath <roland@hack.frob.com>
17247
17248 * manual/syslog.texi (syslog; vsyslog, closelog):
17249 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17250 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17251
17252 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17253 DSOCAPS to match condition on defining it.
17254
17255 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17256
17257 * sysdeps/unix/sysv/linux/kernel-features.h
17258 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17260 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17261 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17263 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17264 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17266 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17267 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17268
17269 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17270 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17271
17272 * sysdeps/unix/sysv/linux/kernel-features.h
17273 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17274 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17275 unconditional.
17276 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17277 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17278 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17279 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17280 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17281 Make code unconditional.
17282 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17283 (__mmap64) [!__NR_mmap2]: Likewise.
17284 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17285 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17286 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17287 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17288 [__NR_mmap2]: Make code unconditional.
17289 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17290 (__mmap64) [!__NR_mmap2]: Likewise.
17291
17292 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17293
17294 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17295
17296 2012-08-18 Andreas Jaeger <aj@suse.de>
17297
17298 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17299
17300 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17301
17302 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17303 * include/unistd.h (__have_sock_cloexec): Likewise.
17304 (__have_pipe2): Likewise.
17305 (__have_dup3): Likewise.
17306
17307 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17308
17309 [BZ #9685]
17310 * include/unistd.h (__have_pipe2): Change define into an extern int.
17311 (__have_dup3): Likewise.
17312 * socket/have_sock_cloexec.c: Include fcntl.h.
17313 (__have_pipe2): New variable.
17314 (__have_dup3): Likewise.
17315
17316 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17317
17318 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17319
17320 2012-08-17 Marek Polacek <polacek@redhat.com>
17321
17322 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17323 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17324
17325 2012-08-17 Roland McGrath <roland@hack.frob.com>
17326
17327 * configure.in: Add AC_SUBST for sysheaders.
17328 * configure: Regenerated.
17329 * config.make.in (sysheaders): New substituted variable.
17330
17331 * sysdeps/unix/mkfifo.c: Moved ...
17332 * sysdeps/posix/mkfifo.c: ... here.
17333 * sysdeps/unix/mkfifoat.c: Moved ...
17334 * sysdeps/posix/mkfifoat.c: ... here.
17335
17336 * sysdeps/unix/utime.c: Moved ...
17337 * sysdeps/posix/utime.c: ... here.
17338
17339 * sysdeps/unix/time.c: Moved ...
17340 * sysdeps/posix/time.c: ... here.
17341 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17342 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17343
17344 * sysdeps/unix/nice.c: Moved ...
17345 * sysdeps/posix/nice.c: ... here.
17346
17347 * sysdeps/unix/alarm.c: Moved ...
17348 * sysdeps/posix/alarm.c: ... here.
17349
17350 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17351
17352 2012-08-17 Jeff Law <law@redhat.com>
17353
17354 * intl/Makefile (codeset_mo): New variable.
17355 ($(codeset_mo)): New target.
17356 (tst-codeset.out): Depend on that. Remove explicit rule.
17357 (tst-gettext3.out, tst-gettext5.out): Likewise.
17358 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17359 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17360 * intl/tst-codeset.sh: Remove.
17361 * intl/tst-gettext3.sh: Likewise.
17362 * intl/tst-gettext5.sh: Likewise.
17363
17364 2012-08-17 Roland McGrath <roland@hack.frob.com>
17365
17366 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17367 * sysdeps/unix/syscalls.list: ... here.
17368
17369 * sysdeps/posix/getaddrinfo.c
17370 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17371 (gaiconf_init, gaiconf_reload): Use them.
17372 [!_STATBUF_ST_NSEC]
17373 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17374 Define using time_t rather than struct timespec.
17375
17376 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17377 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17378 Macros removed.
17379 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17380 [!NO_THREADS].
17381 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17382 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17383 Likewise.
17384
17385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17386 __libc_cleanup_push argument.
17387
17388 * bits/param.h: New file.
17389 * misc/sys/param.h: New file.
17390 * include/sys/param.h: New file.
17391 * misc/Makefile (headers): Add bits/param.h.
17392 * sysdeps/generic/sys/param.h: File removed.
17393 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17394 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17395 * sysdeps/mach/hurd/bits/param.h: New file.
17396 * sysdeps/mach/hurd/sys/param.h: File removed.
17397
17398 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17399 last change.
17400
17401 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17402 [_IO_MTSAFE_IO].
17403 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17404 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17405 New macros.
17406
17407 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17408 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17409 rather than -D_IO_MTSAFE_IO conditionally.
17410 * stdio-common/Makefile (CPPFLAGS): Likewise.
17411 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17412 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17413 Use $(libio-mtsafe).
17414 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17415 of -D_IO_MTSAFE_IO.
17416 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17417 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17418 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17419 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17420 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17421 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17422 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17423 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17424 (CFLAGS-fread_u_chk.c): Likewise.
17425 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17426 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17427 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17428 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17429 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17430 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17431 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17432 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17433 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17434
17435 * libio/Makefile: Test [$(libc-reentrant) = yes]
17436 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17437
17438 * Makeconfig
17439 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17440 * sysdeps/pthread/configure: File removed.
17441 * sysdeps/pthread/Makeconfig: New file.
17442 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17443 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17444
17445 2012-08-16 Gary Benson <gbenson@redhat.com>
17446
17447 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17448 unmapping the first object in a namespace.
17449
17450 2012-08-16 Roland McGrath <roland@hack.frob.com>
17451
17452 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17453 (__internal_setnetgrent): ... this. Add internal_function to
17454 definition. Add libc_hidden_def.
17455 (setnetgrent): Update caller.
17456 (internal_endnetgrent): Renamed to ...
17457 (__internal_endnetgrent): ... this. Add internal_function to
17458 definition. Add libc_hidden_def.
17459 (endnetgrent): Update caller.
17460 (internal_getnetgrent_r): Renamed to ...
17461 (__internal_getnetgrent_r): ... this. Add internal_function to
17462 definition. Add libc_hidden_def.
17463 (__getnetgrent_r): Update caller.
17464 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17465
17466 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17467
17468 * stdlib/longlong.h: Update from GCC.
17469
17470 2012-08-16 Roland McGrath <roland@hack.frob.com>
17471
17472 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17473 on _QL, which is set by umul_ppmm but never used.
17474 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17475 variables, which are set by GMP macros but never used.
17476 * stdio-common/_itowa.c (_itowa): Likewise.
17477 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17478 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17479
17480 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17481
17482 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17483 struct La_sh_regs is not constant.
17484 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17485 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17486 and struct La_sparc64_regs are not constant.
17487
17488 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17489
17490 * sysdeps/unix/sysv/linux/kernel-features.h
17491 (__ASSUME_POSIX_TIMERS): Remove.
17492 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17493 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17494 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17495 Make code unconditional.
17496 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17497 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17498 Make code unconditional.
17499 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17500 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17501 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17503 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17504 Make code unconditional.
17505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17506 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17507 (__libc_missing_posix_timers): Remove.
17508
17509 2012-08-15 Roland McGrath <roland@hack.frob.com>
17510
17511 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17512 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17513
17514 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17515
17516 * elf/dl-sym.c: Include <stdlib.h>.
17517
17518 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17519 constants, which avoids warnings in 32-bit builds.
17520
17521 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17522 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17523
17524 * misc/lseek.c: File moved to ...
17525 * io/lseek.c: ... here.
17526
17527 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17528
17529 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17530 shifting LEN more than 31 bits at once.
17531
17532 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17533
17534 [BZ #14195]
17535 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17536 segmentation fault for a case of two empty input strings.
17537 * string/test-strncasecmp.c (check1): Renamed to...
17538 (bz12205): ...this.
17539 (bz14195): Add new testcase for two empty input strings and N > 0.
17540 (test_main): Call new testcase, adapt for renamed function.
17541
17542 2012-08-15 Andreas Jaeger <aj@suse.de>
17543
17544 [BZ #14090]
17545 * crypt/md5test2.c: New test, based on test supplied by Serge
17546 Belyshev <belyshev@depni.sinp.msu.ru>.
17547 * crypt/Makefile (xtests): Add md5test-giant..
17548 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17549
17550 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17551
17552 [BZ #14090]
17553 * crypt/md5.c (md5_process_block): Don't assume the buffer
17554 length is less than 2**32.
17555 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17556 length is less than 2**64.
17557
17558 2012-08-15 Roland McGrath <roland@hack.frob.com>
17559
17560 * string/str-two-way.h: Include <sys/param.h>.
17561 (MAX): Macro removed.
17562
17563 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17564 Move #define and #undef of memmove to just before and after
17565 including <string.h>.
17566
17567 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17568 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17569 and after including <string.h>. Move declarations of
17570 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17571 to before #include "string/memmove.c".
17572
17573 * include/dirent.h: Declare __getdirentries.
17574
17575 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17576 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17577
17578 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17579
17580 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17581 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17582 * sysdeps/i386/configure: Regenerated.
17583 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17584 STABS_CURRENT_FILE, and STABS_FUN.
17585 (END): Remove call to STABS_FUN_END.
17586 (STABS_CURRENT_FILE1): Delete.
17587 (STABS_CURRENT_FILE): Likewise.
17588 (STABS_FUN): Likewise.
17589 (STABS_FUN_END): Likewise.
17590 (STABS_FUN2): Likewise.
17591 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17592 * sysdeps/x86_64/configure: Regenerated.
17593
17594 2012-08-14 Roland McGrath <roland@hack.frob.com>
17595
17596 * elf/dl-open.c: Include <atomic.h>.
17597 * elf/dl-lookup.c: Likewise.
17598
17599 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17600
17601 * sysdeps/unix/sysv/linux/kernel-features.h
17602 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17603 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17604 unconditionally.
17605 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17606 unconditionally.
17607 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17608 condition on __ASSUME_CLONE_THREAD_FLAGS.
17609
17610 2012-08-14 Andreas Jaeger <aj@suse.de>
17611
17612 * sysdeps/i386/fpu/libm-test-ulps: Update.
17613
17614 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17615
17616 * include/atomic.h (atomic_exchange_and_add): Split into ...
17617 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17618 New atomic macros.
17619
17620 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17621
17622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17623
17624 2012-08-13 Jeff Law <law@redhat.com>
17625
17626 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17627 null byte in the output string.
17628
17629 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17630
17631 * sysdeps/unix/sysv/linux/kernel-features.h
17632 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17633 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17634 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17635 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17636 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17637 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17638 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17639
17640 2012-08-09 Jeff Law <law@redhat.com>
17641
17642 [BZ #13939]
17643 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17644 When avoid_arena is set, don't retry in the that arena. Pick the
17645 next one, whatever it might be.
17646 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17647 (arena_lock): Pass in new parameter to arena_get2.
17648 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17649 arena_get2.
17650 (__libc_malloc): Unify retrying after main arena failure with
17651 __libc_memalign version.
17652 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17653
17654 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17655
17656 [BZ #14166]
17657 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17658 to __redirect_strstr.
17659 (__strstr_sse42): Use typeof __redirect_strstr.
17660 (__strstr_ia32): Likewise.
17661 (__libc_strstr): New prototype.
17662 (strstr): Renamed to ...
17663 (__libc_strstr): This.
17664 (strstr): New strong alias of __libc_strstr.
17665 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17666 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17667 __redirect_time.
17668 Include <time.h>.
17669 (__libc_time): New prototype.
17670 (time_ifunc): Replace time with __libc_time.
17671 (time): New strong alias and hidden definition of __libc_time.
17672 (__GI_time): Remove strong alias.
17673 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17674 Include <stddef.h>.
17675 (memmove): Redefined to __redirect_memmove.
17676 (__memmove_sse2): Use typeof __redirect_memmove.
17677 (__memmove_ssse3): Likewise.
17678 (__memmove_ssse3_back): Likewise.
17679 (__libc_memmove): New prototype.
17680 (memmove): Renamed to ...
17681 (__libc_memmove): This.
17682 (memmove): New strong alias of __libc_memmove.
17683
17684 2012-08-08 Mark Salter <msalter@redhat.com>
17685
17686 * elf/elf.h
17687 (R_MN10300_TLS_GD): Define.
17688 (R_MN10300_TLS_LD): Likewise.
17689 (R_MN10300_TLS_LDO): Likewise.
17690 (R_MN10300_TLS_GOTIE): Likewise.
17691 (R_MN10300_TLS_IE): Likewise.
17692 (R_MN10300_TLS_LE): Likewise.
17693 (R_MN10300_TLS_DTPMOD): Likewise.
17694 (R_MN10300_TLS_DTPOFF): Likewise.
17695 (R_MN10300_TLS_TPOFF): Likewise.
17696 (R_MN10300_SYM_DIFF): Likewise.
17697 (R_MN10300_ALIGN): Likewise.
17698 (R_MN10300_NUM): Update.
17699
17700 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17701
17702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17703 Remove.
17704
17705 2012-08-08 Roland McGrath <roland@hack.frob.com>
17706
17707 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17708
17709 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17710 sysdeps/unix -> sysdeps/posix move.
17711 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17712
17713 2012-08-07 Allan McRae <allan@archlinux.org>
17714
17715 [BZ #14303]
17716 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17717 (SUNOS_CPP): Likewise.
17718 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17719 not found.
17720 (open_input): Call CPP using execvp.
17721
17722 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17723
17724 * sysdeps/unix/sysv/linux/kernel-features.h
17725 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17726 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17727 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17728 (__ASSUME_WAITID_SYSCALL): Likewise.
17729 * sysdeps/unix/sysv/linux/dl-execstack.c
17730 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17731 code unconditional.
17732 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17733 conditional code.
17734 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17735 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17736 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17737 code.
17738 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17739 unconditional.
17740 [__ASSUME_WAITID_SYSCALL]: Likewise.
17741 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17742
17743 2012-08-07 Roland McGrath <roland@hack.frob.com>
17744
17745 * sysdeps/unix/closedir.c: Renamed to ...
17746 * sysdeps/posix/closedir.c: ... here.
17747 * sysdeps/unix/dirfd.c: Renamed to ...
17748 * sysdeps/posix/dirfd.c: ... here.
17749 * sysdeps/unix/dirstream.h: Renamed to ...
17750 * sysdeps/posix/dirstream.h: ... here.
17751 * sysdeps/unix/fdopendir.c: Renamed to ...
17752 * sysdeps/posix/fdopendir.c: ... here.
17753 * sysdeps/unix/opendir.c: Renamed to ...
17754 * sysdeps/posix/opendir.c: ... here.
17755 * sysdeps/unix/readdir.c: Renamed to ...
17756 * sysdeps/posix/readdir.c: ... here.
17757 * sysdeps/unix/readdir_r.c: Renamed to ...
17758 * sysdeps/posix/readdir_r.c: ... here.
17759 * sysdeps/unix/rewinddir.c: Renamed to ...
17760 * sysdeps/posix/rewinddir.c: ... here.
17761 * sysdeps/unix/seekdir.c: Renamed to ...
17762 * sysdeps/posix/seekdir.c: ... here.
17763 * sysdeps/unix/telldir.c: Renamed to ...
17764 * sysdeps/posix/telldir.c: ... here.
17765 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17766 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17767 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17768 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17769
17770 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17771 * bits/fcntl.h: ... here.
17772
17773 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17774 not 0.
17775 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17776 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17777 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17778 (struct flock): Move l_start, l_len to the beginning.
17779 Use __pid_t for l_pid.
17780 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17781 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17782 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17783 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17784 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17785 [__USE_LARGEFILE64] (struct flock64): New type.
17786 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17787
17788 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17789 * bits/dirent.h: ... here.
17790
17791 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17792 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17793
17794 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17795
17796 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17797 Change from 2.6.0 to 2.6.16.
17798 * sysdeps/unix/sysv/linux/configure: Regenerated.
17799 * sysdeps/unix/sysv/linux/kernel-features.h
17800 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17801 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17802 version.
17803 (__ASSUME_UTIMES): Likewise.
17804 (__ASSUME_CLONE_STOPPED): Remove.
17805 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17806 architectures, not kernel version.
17807 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17808 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17809 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17810 (__ASSUME_WAITID_SYSCALL): Likewise.
17811 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17812 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17813 * README: State 2.6.16 as minimum Linux kernel version. Do not
17814 refer to older versions.
17815
17816 2012-08-06 Roland McGrath <roland@hack.frob.com>
17817
17818 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17819 Define alphasort64 as an alias.
17820 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17821 Define versionsort64 as an alias.
17822 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17823 Define scandir64 as an alias.
17824 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17825 Define scandirat64 as an alias.
17826 * dirent/alphasort64.c (alphasort64):
17827 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17828 * dirent/versionsort64.c: Likewise.
17829 * dirent/scandir64.c: Likewise.
17830 * dirent/scandirat64.c: Likewise.
17831 * sysdeps/wordsize-64/alphasort.c: File removed.
17832 * sysdeps/wordsize-64/alphasort64.c: File removed.
17833 * sysdeps/wordsize-64/scandir.c: File removed.
17834 * sysdeps/wordsize-64/scandir64.c: File removed.
17835 * sysdeps/wordsize-64/scandirat.c: File removed.
17836 * sysdeps/wordsize-64/scandirat64.c: File removed.
17837 * sysdeps/wordsize-64/versionsort.c: File removed.
17838 * sysdeps/wordsize-64/versionsort64.c: File removed.
17839 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17842 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17844 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17847
17848 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17850 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17852 [defined __arch64__ || defined __sparcv9]
17853 (__INO_T_MATCHES_INO64_T): New macro.
17854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17855 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17856 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17857 * sysdeps/unix/sysv/linux/bits/dirent.h
17858 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17859 (_DIRENT_MATCHES_DIRENT64): New macro.
17860
17861 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17862 Define lockf64 as an alias.
17863 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17864 Define fseeko64 as an alias.
17865 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17866 Define ftello64 as an alias.
17867 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17868 Define _IO_fgetpos64 and fgetpos64 as aliases.
17869 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17870 Define _IO_fsetpos64 and fsetpos64 as aliases.
17871 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17872 Conditionalize body on this.
17873 * libio/fseeko64.c: Likewise.
17874 * libio/ftello64.c: Likewise.
17875 * libio/iofgetpos64.c: Likewise.
17876 * libio/iofsetpos64.c: Likewise.
17877 * sysdeps/wordsize-64/lockf.c: File removed.
17878 * sysdeps/wordsize-64/lockf64.c: File removed.
17879 * sysdeps/wordsize-64/fseeko.c: File removed.
17880 * sysdeps/wordsize-64/fseeko64.c: File removed.
17881 * sysdeps/wordsize-64/ftello.c: File removed.
17882 * sysdeps/wordsize-64/ftello64.c: File removed.
17883 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17884 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17885 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17886 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17887 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17888 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17889 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17890 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17891 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17892 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17894 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17895 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17896 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17897
17898 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17900 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17902 [defined __arch64__ || defined __sparcv9]
17903 (__OFF_T_MATCHES_OFF64_T): New macro.
17904 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17905 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17907 (__OFF_T_MATCHES_OFF64_T): New macro.
17908
17909 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17910
17911 * stdlib/secure-getenv.c (__secure_getenv): Replace
17912 GLIBC_2_16 with GLIBC_2_17.
17913
17914 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17915
17916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17917 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17918
17919 2012-08-03 David S. Miller <davem@davemloft.net>
17920
17921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17922
17923 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17924
17925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17926 Remove.
17927 (__ASSUME_CORRECT_SI_PID): Likewise.
17928 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17929 (__ASSUME_TMPFS_NAME): Likewise.
17930 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17931 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17932 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17933 (HAVE_AUX_SECURE): Make definition unconditional.
17934 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17935 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17936
17937 2012-08-03 Roland McGrath <roland@hack.frob.com>
17938
17939 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17940 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17941 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17942 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17943 __eloop_threshold instead of SYMLOOP_MAX.
17944
17945 * sysdeps/generic/eloop-threshold.h: New file.
17946 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17947 of MAXSYMLINKS.
17948 * elf/chroot_canon.c (chroot_canon): Likewise.
17949
17950 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17951
17952 [BZ #13717]
17953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17954 Change to 2.6.0 everywhere.
17955 * sysdeps/unix/sysv/linux/configure: Regenerated.
17956 * sysdeps/unix/sysv/linux/kernel-features.h
17957 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17958 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17959 kernel versions.
17960 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17961 (__ASSUME_FUTEX_REQUEUE): Remove.
17962 (__ASSUME_STATFS64): Define unconditionally.
17963 (__ASSUME_AT_SECURE): Likewise.
17964 (__ASSUME_CORRECT_SI_PID): Likewise.
17965 (__ASSUME_TGKILL): Define without depending on kernel version for
17966 i386.
17967 (__ASSUME_UTIMES): Likewise.
17968 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17969 kernel version.
17970 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17971 (__ASSUME_TMPFS_NAME): Likewise.
17972 * README: Update reference to Linux kernel versions.
17973
17974 2012-08-02 Marek Polacek <polacek@redhat.com>
17975
17976 [BZ# 14150]
17977 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17978 libc_cv_asm_type_prefix with %.
17979 * configure: Regenerated.
17980 * include/libc-symbols.h: Remove comment about
17981 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17982 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17983 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17984 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17985 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17986 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17987 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17988 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17989 * elf/tst-unique2mod1.c: Likewise.
17990 * elf/tst-unique1mod2.c: Likewise.
17991 * elf/tst-unique1mod1.c: Likewise.
17992 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17993 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17994 Replace ASM_TYPE_DIRECTIVE with .type.
17995 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17996 * sysdeps/i386/sysdep.h: Likewise.
17997 * sysdeps/x86_64/sysdep.h: Likewise.
17998 * sysdeps/sh/sysdep.h: Likewise.
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18000 Do not define ASM_TYPE_DIRECTIVE.
18001 * sysdeps/powerpc/sysdep.h: Likewise.
18002 * sysdeps/powerpc/powerpc32/sysdep.h:
18003 Replace ASM_TYPE_DIRECTIVE with .type.
18004 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18005 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18006 * sysdeps/i386/fpu/e_powf.S: Likewise.
18007 * sysdeps/i386/fpu/e_expl.S: Likewise.
18008 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18009 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18010 * sysdeps/i386/fpu/e_pow.S: Likewise.
18011 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18012 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18013 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18014 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18015 * sysdeps/i386/fpu/e_log2.S: Likewise.
18016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18018 * sysdeps/i386/fpu/e_powl.S: Likewise.
18019 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18020 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18021 * sysdeps/i386/fpu/e_logl.S: Likewise.
18022 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18023 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18024 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18025 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18026 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18027 * sysdeps/i386/fpu/e_log.S: Likewise.
18028 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18029 * sysdeps/i386/fpu/e_logf.S: Likewise.
18030 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18031 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18033 * sysdeps/i386/fpu/e_log10.S: Likewise.
18034 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18035 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18036 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18037 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18038 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18039 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18041 * sysdeps/i386/i686/strtok.S: Likewise.
18042 * sysdeps/i386/i386-mcount.S: Likewise.
18043 * sysdeps/i386/strtok.S: Likewise.
18044 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18045 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18046 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18047 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18048 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18049 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18050 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18051 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18052 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18053 * sysdeps/x86_64/_mcount.S: Likewise.
18054 * sysdeps/x86_64/strtok.S: Likewise.
18055 * sysdeps/sh/_mcount.S: Likewise.
18056
18057 2012-08-01 Roland McGrath <roland@hack.frob.com>
18058
18059 * libio/iofopen.c: Include <fcntl.h>.
18060 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18061 (_IO_fopen64, fopen64): Define as aliases.
18062 * libio/iofopen64.c: Include <fcntl.h>.
18063 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18064 Conditionalize body on this.
18065 * sysdeps/wordsize-64/iofopen.c: File removed.
18066 * sysdeps/wordsize-64/iofopen64.c: File removed.
18067
18068 2012-08-01 Marek Polacek <polacek@redhat.com>
18069
18070 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18071 Use dlfcn directly instead of a variable.
18072 (binfmt-subdir): Do not define.
18073 (dlfcn): Likewise.
18074
18075 2012-08-01 Joseph Myers <joseph@codesourcery.com>
18076
18077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18078 Remove all definitions.
18079 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18080 <kernel-features.h>.
18081 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18082 (miss_F_GETOWN_EX): Remove all definitions.
18083 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18084 macro definition.
18085 [!__ASSUME_FCNTL64]: Remove conditional code.
18086 [__ASSUME_FCNTL64]: Make code unconditional.
18087 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18088 <kernel-features.h>.
18089 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18090 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18091 (lockf64) [__NR_fcntl64]: Make code unconditional.
18092 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18093
18094 * sysdeps/unix/sysv/linux/kernel-features.h
18095 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18096 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18097 Make code unconditional.
18098 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18099 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18101 [__NR_vfork]: Make code unconditional.
18102 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18103 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18105 [__NR_vfork]: Make code unconditional.
18106 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18107 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18108
18109 2012-08-01 Roland McGrath <roland@hack.frob.com>
18110
18111 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18112 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18113
18114 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18115 Define mkstemp64 as an alias.
18116 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18117 Define mkstemps64 as an alias.
18118 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18119 Define mkostemp64 as an alias.
18120 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18121 Define mkostemps64 as an alias.
18122 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18123 Conditionalize body on this.
18124 * misc/mkostemp64.c: Likewise.
18125 * misc/mkostemps64.c: Likewise.
18126 * misc/mkstemps64.c: Likewise.
18127 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18128 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18129 * sysdeps/wordsize-64/mkostemp.c: File removed.
18130 * sysdeps/wordsize-64/mkstemp.c: File removed.
18131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18133 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18135
18136 [BZ #14138]
18137 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18138 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18139 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18140 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18141
18142 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18143 compat_symbol macros from <shlib-compat.h> rather than the underlying
18144 default_symbol_version and symbol_version macros, so that DEFAULT
18145 lines in shlib-versions are respected.
18146 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18147
18148 2012-08-01 Florian Weimer <fweimer@redhat.com>
18149
18150 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18151 Declare with warn_unused_result.
18152 (setgid, setregid, setegid, setresgid): Likewise.
18153 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18154 Likewise.
18155 * WUR-REPORT: Remove set*id functions.
18156
18157 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18158
18159 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18160
18161 2012-07-31 Roland McGrath <roland@hack.frob.com>
18162
18163 [BZ #10191]
18164 * include/sys/socket.h (__libc_accept, __libc_accept4):
18165 Add attribute_hidden.
18166 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18167
18168 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18169 use of PTR_MANGLE.
18170 * inet/getnetgrent_r.c (setup): Likewise.
18171
18172 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18173
18174 2012-07-31 David S. Miller <davem@davemloft.net>
18175
18176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18177
18178 2012-07-31 Joseph Myers <joseph@codesourcery.com>
18179
18180 [BZ #13629]
18181 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18182 value between 1.0 and 2.0 and smaller part has absolute value less
18183 than 1.0.
18184 * math/s_clog10.c (__clog10): Likewise.
18185 * math/s_clog10f.c (__clog10f): Likewise.
18186 * math/s_clog10l.c (__clog10l): Likewise.
18187 * math/s_clogf.c (__clogf): Likewise.
18188 * math/s_clogl.c (__clogl): Likewise.
18189 * math/libm-test.inc (clog_test): Add more tests.
18190 (clog10_test): Likewise.
18191 * sysdeps/i386/fpu/libm-test-ulps: Update.
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193
18194 2012-07-31 Florian Weimer <fweimer@redhat.com>
18195
18196 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18197 Exit with zero in case no suitable GID is found, and write a
18198 message to standard error.
18199
18200 2012-07-30 Roland McGrath <roland@hack.frob.com>
18201
18202 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18203 rather than to 1.
18204 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18205 (MAXPATHLEN): Removed.
18206 (NOGROUP, NODEV): New macros.
18207 (setbit, clrbit, isset, isclr): New macros.
18208 (howmany, roundup, powerof2): New macros.
18209 (DEV_BSIZE): New macro.
18210
18211 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18212 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18213
18214 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18215 definition on [!__NO_LONG_DOUBLE_MATH].
18216
18217 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18218 PTR_MANGLE and PTR_DEMANGLE.
18219
18220 * socket/accept4.c (accept4): Rename to __libc_accept4.
18221 Define accept4 as a weak alias.
18222
18223 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18224 on [_DIRENT_HAVE_D_TYPE].
18225 * io/ftw.c (ftw_dir): Likewise.
18226
18227 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18228
18229 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18230
18231 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18232 Use the BSD numbers rather than the arbitrary ones we had.
18233 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18234 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18235 (SIGXCPU, SIGXFSZ): New macros.
18236 (_NSIG): Now 32.
18237
18238 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18239 initializer on [_LIBC_REENTRANT].
18240
18241 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18242 definitions inside [_POSIX_MAPPED_FILES].
18243
18244 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18245
18246 * dirent/opendir.c: Include <fcntl.h>.
18247
18248 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18249 (__libc_getspecific): Likewise.
18250 (__libc_key_create): Likewise.
18251
18252 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18253 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18254 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18255 (tmpfile64): Define as alias.
18256 * sysdeps/wordsize-64/tmpfile.c: File removed.
18257 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18258 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18260
18261 * stdio-common/vfscanf.c: Include <stdbool.h>.
18262 * nss/makedb.c: Likewise.
18263 * stdio-common/_i18n_number.h: Likewise.
18264 * argp/argp-help.c: Likewise.
18265 * posix/wordexp.c: Likewise.
18266 * sysdeps/posix/spawni.c: Likewise.
18267 * nss/nss_files/files-initgroups.c: Likewise.
18268 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18269 * nss/nss_files/files-initgroups.c: Likewise.
18270 * nss/nss_db/db-netgrp.c: Likewise.
18271 * nss/nss_db/db-initgroups.c: Likewise.
18272 * io/fchmodat.c: Include <sys/stat.h>.
18273
18274 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18275 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18276
18277 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18278 [HAVE_MMAP].
18279
18280 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18281 Add multiple inclusion protection.
18282
18283 2012-07-27 David S. Miller <davem@davemloft.net>
18284
18285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18286
18287 2012-07-27 Gary Benson <gbenson@redhat.com>
18288
18289 [BZ #14298]
18290 * elf/rtld.c: Include <stap-probe.h>.
18291 (dl_main): Added static probes "init_start" and "init_complete".
18292 * elf/dl-load.c: Include <stap-probe.h>.
18293 (lose): Take new parameter "nsid".
18294 Added static probe "map_failed".
18295 (_dl_map_object_from_fd): Pass namespace id to lose.
18296 Added static probe "map_start".
18297 (open_verify): Pass namespace id to lose.
18298 * elf/dl-open.c: Include <stap-probe.h>.
18299 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18300 and "reloc_complete".
18301 * elf/dl-close.c: Include <stap-probe.h>.
18302 (_dl_close_worker): Added static probes "unmap_start" and
18303 "unmap_complete".
18304 * elf/rtld-debugger-interface.txt: New file documenting the above.
18305
18306 2012-07-26 Roland McGrath <roland@hack.frob.com>
18307
18308 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18309 rather than a string variable.
18310 * sunrpc/rpc_main.c (h_output): Likewise.
18311 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18312
18313 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18314
18315 * inet/check_native.c: New file.
18316
18317 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18318
18319 [BZ #13629]
18320 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18321 if larger part has absolute value 1.0.
18322 * math/s_clog10.c (__clog10): Likewise.
18323 * math/s_clog10f.c (__clog10f): Likewise.
18324 * math/s_clog10l.c (__clog10l): Likewise.
18325 * math/s_clogf.c (__clogf): Likewise.
18326 * math/s_clogl.c (__clogl): Likewise.
18327 * math/libm-test.inc (clog_test): Add more tests.
18328 (clog10_test): Likewise.
18329 * sysdeps/i386/fpu/libm-test-ulps: Update.
18330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18331
18332 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18333 (pltexit): Likewise.
18334 (La_regs): Likewise.
18335 (La_retval): Likewise.
18336 (int_retval): Likewise.
18337 Update #error for removed macros to refer only to definitions in
18338 tst-audit.h.
18339 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18340 macro.
18341 (pltexit): Likewise.
18342 (La_regs): Likewise.
18343 (La_retval): Likewise.
18344 (int_retval): Likewise.
18345 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18346 macro.
18347 (pltexit): Likewise.
18348 (La_regs): Likewise.
18349 (La_retval): Likewise.
18350 (int_retval): Likewise.
18351 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18352 macro.
18353 (pltexit): Likewise.
18354 (La_regs): Likewise.
18355 (La_retval): Likewise.
18356 (int_retval): Likewise.
18357 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18358 macro.
18359 (pltexit): Likewise.
18360 (La_regs): Likewise.
18361 (La_retval): Likewise.
18362 (int_retval): Likewise.
18363 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18364 macro.
18365 (pltexit): Likewise.
18366 (La_regs): Likewise.
18367 (La_retval): Likewise.
18368 (int_retval): Likewise.
18369 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18370 macro.
18371 (pltexit): Likewise.
18372 (La_regs): Likewise.
18373 (La_retval): Likewise.
18374 (int_retval): Likewise.
18375 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18376 macro definitions in tst-audit.h.
18377 * sysdeps/i386/tst-audit.h: New file.
18378 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18379 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18380 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18381 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18382 * sysdeps/sh/tst-audit.h: Likewise.
18383 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18384 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18385 * sysdeps/x86_64/tst-audit.h: Likewise.
18386
18387 2012-07-26 Andreas Jaeger <aj@suse.de>
18388
18389 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18390 ptrace.
18391
18392 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18393 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18394 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18395 PTRACE_O_MASK.
18396 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18397 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18398 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18399
18400 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18401 value.
18402
18403 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18404 _sigsys.
18405 (si_call_addr, si_syscall, si_arch): Define new macro.
18406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18407 _sigsys.
18408 (si_call_addr, si_syscall, si_arch): Define new marcro.
18409 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18410 _sigsys.
18411 (si_call_addr, si_syscall, si_arch): Define new macro.
18412 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18413 _sigsys.
18414 (si_call_addr, si_syscall, si_arch): Define new macro.
18415
18416 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18417
18418 [BZ #13717]
18419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18420 Change to 2.4.21 where previously 2.4.1.
18421 * sysdeps/unix/sysv/linux/configure: Regenerated.
18422 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18423 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18424 Linux kernel version.
18425 (__ASSUME_STD_AUXV): Remove.
18426 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18427 kernel version.
18428 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18429 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18430 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18431 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18432 (__ASSUME_NETLINK_SUPPORT): Likewise.
18433 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18434 (__no_netlink_support): Remove conditional definition.
18435 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18436 Remove.
18437 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18438 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18439 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18440 (if_nameindex_ioctl): Remove.
18441 (if_nameindex_netlink): Do not handle __no_netlink_support.
18442 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18443 code.
18444 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18445 Remove conditional code.
18446 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18447 code.
18448 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18449 unconditional.
18450 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18451 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18452 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18453 Remove.
18454 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18455 [!__ASSUME_STD_AUXV]: Remove conditional code.
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18457 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18458 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18460 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18461 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18462 code.
18463 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18465 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18466 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18467 conditional code.
18468 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18470 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18471 code.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18473 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18474 conditional code.
18475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18476 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18477 code unconditional.
18478 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18479 conditional code.
18480 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18481 unconditional.
18482 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18483 conditional code.
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18485 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18486 unconditional.
18487 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18488 conditional code.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18490 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18491 code unconditional.
18492 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18493 conditional code.
18494 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18495 unconditional.
18496 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18497 conditional code.
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18499 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18500 code unconditional.
18501 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18502 conditional code.
18503 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18504 unconditional.
18505 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18506 conditional code.
18507
18508 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18509
18510 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18511 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18512 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18513 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18514 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18515 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18516 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18517 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18518 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18519 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18520 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18521 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18522 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18523 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18524 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18525 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18526 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18527 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18528 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18530 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18531 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18532 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18533
18534 2012-07-25 Florian Weimer <fweimer@redhat.com>
18535
18536 * Versions.def: Add GLIBC_2.17.
18537 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18538 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18539 Introduce __libc_secure_getenv.
18540 * stdlib/Versions (2.17): Add secure_getenv
18541 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18542 * stdlib/secure-getenv.c: Rename __secure_getenv to
18543 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18544 symbol __secure_getenv for GLIBC_2.0.
18545 * stdlib/tst-secure-getenv.c: New.
18546 * stdlib/Makefile (tests): Add testcase.
18547 * manual/startup.texi (Environment Access): Document
18548 secure_getenv.
18549 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18550 __libc_secure_getenv.
18551 * inet/ruserpass.c (ruserpass): Likewise.
18552 * malloc/mtrace.c (mtrace): Likewise.
18553 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18554 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18555 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18556 * sysdeps/posix/tempname.c: Likewise. Evaluate
18557 HAVE_SECURE_GETENV.
18558 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18559 __secure_getenv to __libc_secure_getenv.
18560 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18562 Likewise.
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18564 Likewise.
18565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18572
18573 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18574
18575 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18576 (struct La_i86_retval): Likewise.
18577 (struct La_x86_64_regs): Likewise.
18578 (struct La_x86_64_retval): Likewise.
18579 (struct La_x32_regs): Likewise.
18580 (struct La_x32_retval): Likewise.
18581 (struct La_ppc32_regs): Likewise.
18582 (struct La_ppc32_retval): Likewise.
18583 (struct La_ppc64_regs): Likewise.
18584 (struct La_ppc64_retval): Likewise.
18585 (struct La_sh_regs): Likewise.
18586 (struct La_sh_retval): Likewise.
18587 (struct La_s390_32_regs): Likewise.
18588 (struct La_s390_32_retval): Likewise.
18589 (struct La_s390_64_regs): Likewise.
18590 (struct La_s390_64_retval): Likewise.
18591 (struct La_sparc32_regs): Likewise.
18592 (struct La_sparc32_retval): Likewise.
18593 (struct La_sparc64_regs): Likewise.
18594 (struct La_sparc64_retval): Likewise.
18595 (struct audit_ifaces): Remove architecture-specific pltenter and
18596 pltexit members.
18597 * sysdeps/i386/ldsodefs.h: New file.
18598 * sysdeps/powerpc/ldsodefs.h: Likewise.
18599 * sysdeps/s390/ldsodefs.h: Likewise.
18600 * sysdeps/sh/ldsodefs.h: Likewise.
18601 * sysdeps/sparc/ldsodefs.h: Likewise.
18602 * sysdeps/x86_64/ldsodefs.h: Likewise.
18603
18604 2012-07-25 Marek Polacek <polacek@redhat.com>
18605
18606 [BZ #6808]
18607 * math/libm-test.inc (yn_test): Add another test.
18608 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18609 to ERANGE when the result is +-Inf.
18610 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18611 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18612 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18613 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18614
18615 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18616
18617 * conform/data/time.h-data (NULL): Use macro-constant. Require
18618 equal to 0.
18619 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18620 clock_t.
18621 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18622
18623 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18624
18625 * configure.in <sysdeps resolving>: Correct printing
18626 Implies_before.
18627 * configure: Regenerate.
18628
18629 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18630
18631 * math/w_ilogb.c: Include <limits.h>.
18632 * math/w_ilogbl.c: Likewise.
18633
18634 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18635
18636 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18637 va_copy. Document allowing for unavailable va_copy only as
18638 pre-C99 compatibility.
18639 * manual/string.texi (Copying and Concatenation): Use va_copy
18640 instead of __va_copy in concat example.
18641
18642 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18643
18644 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18645 (__sendto): Use create_address_port. Initialize APORT and deallocate
18646 it if not null.
18647
18648 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18649 with O_NOLINK passed to __file_name_lookup.
18650
18651 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18652 with O_NOLINK passed to __file_name_lookup.
18653
18654 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18655 negative N or less than NGIDS.
18656
18657 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18658 type to string_t. Set ERANGE as errno and return it if NAME is not big
18659 enough. Use memcpy instead of strncpy.
18660
18661 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18662
18663 * elf/Makefile (check-data): Remove.
18664 (localplt.data): New vpath directive.
18665 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18666 instead of $(check-data).
18667 * scripts/data/localplt-generic.data: Move to ...
18668 * sysdeps/generic/localplt.data: ... here.
18669 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18670 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18671 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18673 ... here.
18674 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18676 ... here.
18677 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18679 ... here.
18680 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18682 ... here.
18683 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18685 ... here.
18686 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18688 ... here.
18689
18690 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18691
18692 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18693 PPC32 and PPC64 files.
18694 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18695 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18696
18697 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18698
18699 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18700 __makecontext_ret to ...
18701 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18702 ... here and call exit if uc_link is NULL. New file.
18703 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18704 __makecontext_ret.S.
18705 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18706 __makecontext_ret to ...
18707 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18708 ... here and call exit if uc_link is NULL. New file.
18709 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18710 __makecontext_ret.S.
18711
18712 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18713
18714 * elf/elf.h (R_390_IRELATIVE): New definition.
18715 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18716 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18717 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18718 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18719 (elf_machine_lazy_rel): Likewise.
18720 * sysdeps/s390/dl-irel.h: New file.
18721 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18722 * sysdeps/s390/s390-64/memset.S: New asm code.
18723 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18724 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18725 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18726 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18727 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18728 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18729 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18730 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18731 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18732 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18733 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18734 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18735 * sysdeps/s390/s390-32/memset.S: New asm code.
18736 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18737
18738 2012-07-17 Marek Polacek <polacek@redhat.com>
18739
18740 [BZ #14349]
18741 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18742 * sysdeps/s390/s390-64/configure.in: Likewise.
18743 * sysdeps/sparc/configure.in: Likewise.
18744 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18745 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18746 * sysdeps/i386/configure.in: Likewise.
18747 * sysdeps/x86_64/configure.in: Likewise.
18748 * sysdeps/sh/configure.in: Likewise.
18749 * sysdeps/s390/s390-32/configure: Regenerated.
18750 * sysdeps/s390/s390-64/configure: Likewise.
18751 * sysdeps/x86_64/configure: Likewise.
18752 * sysdeps/sh/configure: Likewise.
18753 * sysdeps/powerpc/powerpc64/configure: Likewise.
18754 * sysdeps/powerpc/powerpc32/configure: Likewise.
18755 * sysdeps/sparc/configure: Likwise.
18756 * sysdeps/i386/configure: Likewise.
18757
18758 * elf/dl-open.c: Comment fixes.
18759
18760 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18761
18762 * Makefile [CXX] (check-data): Remove.
18763 [CXX] (c++-types.data): New vpath directive.
18764 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18765 vpath. Do not allow for C++ type data being missing.
18766 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18767 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18768 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18769 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18770 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18771 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18772 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18774 ... here.
18775 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18777 ... here.
18778 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18780 ... here.
18781 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18783 ... here.
18784 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18786 ... here.
18787 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18789 ... here.
18790 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18792 ... here.
18793 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18795
18796 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18797 definitions to architecture-specific files.
18798 (TLS_IE): Likewise.
18799 (TLS_LD): Likewise.
18800 (TLS_GD): Likewise.
18801 * sysdeps/i386/tls-macros.h: New file.
18802 * sysdeps/powerpc/tls-macros.h: Likewise.
18803 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18804 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18805 * sysdeps/sh/tls-macros.h: Likewise.
18806 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18807 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18808 * sysdeps/x86_64/tls-macros.h: Likewise.
18809
18810 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18811
18812 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18813 zero value for regular exit case.
18814
18815 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18816 (__start_context): Preserve zero value for regular exit case.
18817
18818 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18819 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18820
18821 * manual/setjmp.texi (setcontext): Clarify normal process
18822 termination when uc_link is the null pointer.
18823 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18824 exit call.
18825
18826 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18827
18828 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18829 preprocessor. Test for each exception mask separately.
18830
18831 2012-07-16 Andreas Jaeger <aj@suse.de>
18832
18833 * po/ru.po: Update from translation team.
18834
18835 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18836
18837 * conform/data/string.h-data (NULL): Use macro-constant. Require
18838 equal to 0.
18839 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18840 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18841 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18842 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18844
18845 2012-07-13 Andreas Jaeger <aj@suse.de>
18846
18847 * po/fr.po: Update from translation team.
18848
18849 2012-07-12 Marek Polacek <polacek@redhat.com>
18850
18851 [BZ #14173]
18852 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18853 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18854 loop condition.
18855
18856 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18857
18858 [BZ #13717]
18859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18860 Change to 2.4.1 where previously 2.4.0.
18861 * sysdeps/unix/sysv/linux/configure: Regenerated.
18862 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18863 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18864 version.
18865 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18866 (__ASSUME_AT_CLKTCK): Remove.
18867 (__ASSUME_AT_PAGESIZE): Likewise.
18868 (__ASSUME_AT_XID): Likewise.
18869 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18870 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18871 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18872 unconditionally.
18873 (HAVE_AUX_PAGESIZE): Likewise.
18874 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18875 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18876 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18877
18878 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18879
18880 [BZ #14307]
18881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18882 the temporary buffer used to invoke __gethostbyname2_r,
18883 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18884 host_data / struct gaih_addrtuple.
18885 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18886 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18887 header file nss/nsswitch.h.
18888 * nss/nsswitch.h (global scope): Add definition of implementation
18889 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18890 resolv/nss_dns/dns-host.c).
18891
18892 2012-07-11 Andreas Jaeger <aj@suse.de>
18893
18894 * po/fr.po: Update from translation team.
18895
18896 * po/sv.po: Update from translation team
18897 * po/fr.po: Another update from translation team.
18898
18899 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18900
18901 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18902 for subnormals or multiply small sinh result by itself.
18903 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18905
18906 2012-07-11 David S. Miller <davem@davemloft.net>
18907
18908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18909
18910 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18911
18912 [BZ #14347]
18913 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18914 (INTERNAL_MARK): Shift it here.
18915
18916 2012-07-10 Marek Polacek <polacek@redhat.com>
18917
18918 [BZ #14151]
18919 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18920 libc_cv_asm_global_directive with .globl.
18921 * configure: Regenerated.
18922 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18923 with .globl.
18924 * sysdeps/i386/configure: Regenerated.
18925 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18926 with .globl.
18927 * sysdeps/x86_64/configure: Regenerated.
18928 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18929 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18930 * elf/tst-unique2mod2.c: Likewise.
18931 * elf/tst-unique2mod1.c: Likewise.
18932 * elf/tst-unique1mod2.c: Likewise.
18933 * elf/tst-unique1mod1.c: Likewise.
18934 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18935 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18937 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18938 * sysdeps/mach/sysdep.h: Likewise.
18939 * sysdeps/i386/sysdep.h: Likewise.
18940 * sysdeps/i386/i386-mcount.S: Likewise.
18941 * sysdeps/x86_64/_mcount.S: Likewise.
18942 * sysdeps/x86_64/sysdep.h: Likewise.
18943 * sysdeps/sh/_mcount.S: Likewise.
18944 * sysdeps/sh/sysdep.h: Likewise.
18945 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18946 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18947 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18948 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18949 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18950 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18951 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18952 * locale/localeinfo.h: Likewise.
18953 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18954 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18955
18956 2012-07-09 Roland McGrath <roland@hack.frob.com>
18957
18958 [BZ #14336]
18959 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18960 system".
18961 * manual/message.texi (The Uniforum approach): Likewise.
18962 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18963 (glibc iconv Implementation): Likewise.
18964
18965 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18966
18967 [BZ #14337]
18968 * math/s_clog.c (__clog): Avoid scaling a value down where that
18969 could result in underflow.
18970 * math/s_clog10.c (__clog10): Likewise.
18971 * math/s_clog10f.c (__clog10f): Likewise.
18972 * math/s_clog10l.c (__clog10l): Likewise.
18973 * math/s_clogf.c (__clogf): Likewise.
18974 * math/s_clogl.c (__clogl): Likewise.
18975 * math/libm-test.inc (clog_test): Add more tests.
18976 (clog10_test): Likewise.
18977 * sysdeps/i386/fpu/libm-test-ulps: Update.
18978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18979
18980 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18981
18982 [BZ #14283]
18983 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18984 by 7 not 8 to examine high bit of fractional part.
18985
18986 [BZ #14042]
18987 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18988 for call to __mcount_internal.
18989 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18990 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18991 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18992
18993 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18994
18995 [BZ #14154]
18996 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18997 approximation for values within 0x1p-13f of an odd multiple of
18998 pi/4.
18999 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19000 exception. Add more tests.
19001 * sysdeps/i386/fpu/libm-test-ulps: Update.
19002
19003 [BZ #6778]
19004 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19005 inputs and return -1 for them. Do not check for +Inf in case not
19006 reachable for +Inf.
19007 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19008 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19009 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19010 and return -1 for them. Do not check for +Inf in case not
19011 reachable for +Inf.
19012 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19013 define.
19014 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19015 and return -1 for them. Do not check for +Inf in case not
19016 reachable for +Inf.
19017 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19018 spurious underflow.
19019 * sysdeps/i386/fpu/libm-test-ulps: Update.
19020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19021
19022 2012-07-06 Mike Frysinger <vapier@gentoo.org>
19023
19024 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19025
19026 2012-07-05 Joseph Myers <joseph@codesourcery.com>
19027
19028 [BZ #14157]
19029 [BZ #14331]
19030 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19031 could result in spurious underflow. Scale down values above
19032 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19033 * math/s_csqrtf.c (__csqrtf): Likewise.
19034 * math/s_csqrtl.c (__csqrtl): Likewise.
19035 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19036 spurious underflow.
19037 * sysdeps/i386/fpu/libm-test-ulps: Update.
19038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19039
19040 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19041
19042 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19043 xopen-msg.sed.
19044 * catgets/xopen-msg.awk: New file.
19045 * catgets/xopen-msg.sed: Removed.
19046
19047 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19048 po2text.sed.
19049 * intl/po2test.awk: New file.
19050 * intl/po2test.sed: Removed.
19051
19052 2012-07-04 Joseph Myers <joseph@codesourcery.com>
19053
19054 [BZ #14328]
19055 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19056 or multiply small sinh result by itself.
19057 * math/s_ctanf.c (__ctanf): Likewise.
19058 * math/s_ctanh.c (__ctanh): Likewise.
19059 * math/s_ctanhf.c (__ctanhf): Likewise.
19060 * math/s_ctanhl.c (__ctanhl): Likewise.
19061 * math/s_ctanl.c (__ctanl): Likewise.
19062 * math/libm-test.inc (ctan_test_tonearest): New function.
19063 (ctan_test_towardzero): Likewise.
19064 (ctan_test_downward): Likewise.
19065 (ctan_test_upward): Likewise.
19066 (ctanh_test_tonearest): Likewise.
19067 (ctanh_test_towardzero): Likewise.
19068 (ctanh_test_downward): Likewise.
19069 (ctanh_test_upward): Likewise.
19070 (main): Call these new functions.
19071 * sysdeps/i386/fpu/libm-test-ulps: Update.
19072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19073
19074 2012-07-03 Mike Frysinger <vapier@gentoo.org>
19075
19076 * .gitignore: Delete /ports entry.
19077
19078 2012-07-03 Andreas Jaeger <aj@suse.de>
19079
19080 * po/bg.po: Update from translation team.
19081 * po/cs.po: Likewise.
19082 * po/de.po: Likewise.
19083 * po/hr.po: Likewise.
19084 * po/nl.pl: Likewise.
19085 * po/pl.po: Likewise.
19086 * po/vi.po: Likewise.
19087
19088 2012-07-03 Joseph Myers <joseph@codesourcery.com>
19089
19090 * Makeconfig [!+link] (+link-before-libc): New variable.
19091 [!+link] (+link-after-libc): Likewise.
19092 [!+link] (+link-tests): Likewise.
19093 [!+link] (+link): Define in terms of $(+link-before-libc) and
19094 $(+link-after-libc).
19095 [!+link-static] (+link-static-before-libc): New variable.
19096 [!+link-static] (+link-static-after-libc): Likewise.
19097 [!+link-static] (+link-static-tests): Likewise.
19098 [!+link-static] (+link-static): Define in terms of
19099 $(+link-static-before-libc) and $(+link-static-after-libc).
19100 [build-shared] (link-libc-before-gnulib): New variable.
19101 [build-shared] (link-libc-tests): Likewise.
19102 [build-shared] (link-libc): Define in terms of
19103 $(link-libc-before-gnulib).
19104 [!build-shared] (link-libc-tests): New variable.
19105 (link-libc-static-tests): New variable.
19106 [!gnulib] (gnulib-arch): New variable.
19107 [!gnulib] (gnulib-tests): Likewise.
19108 [!gnulib] (static-gnulib-arch): Likewise.
19109 [!gnulib] (static-gnulib-tests): Likewise.
19110 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19111 Define with "=" instead of ":=".
19112 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19113 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19114 * Rules (binaries-all-notests): New variable.
19115 (binaries-all-tests): Likewise.
19116 (binaries-static-notests): Likewise.
19117 (binaries-static-tests): Likewise.
19118 (binaries-all): Define using $(binaries-all-notests) and
19119 $(binaries-all-tests).
19120 (binaries-static): Define using $(binaries-static-notests) and
19121 $(binaries-static-tests).
19122 (binaries-shared-tests): New variable.
19123 (binaries-shared-notests): Likewise.
19124 (binaries-shared): Remove variable.
19125 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19126 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19127 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19128 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19129 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19130 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19131 * elf/Makefile (sln-modules): New variable.
19132 (extra-objs): Add $(sln-modules:=.o).
19133 (ldconfig-modules): Add static-stubs.
19134 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19135 * elf/static-stubs.c: New file.
19136
19137 [BZ #14283]
19138 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19139 by 7 not 8 to examine high bit of fractional part. Use volatile
19140 variables when splitting into final array of floats if
19141 __FLT_EVAL_METHOD__ != 0.
19142 * math/libm-test.inc (cos_test): Add another test.
19143 (sin_test): Likewise.
19144 * sysdeps/i386/fpu/libm-test-ulps: Update.
19145
19146 [BZ #14273]
19147 * math/libm-test.inc (cosh_test): Add more tests.
19148
19149 * version.h (RELEASE): Set to "development".
19150 (VERSION): Set to "2.16.90".
19151
19152 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19153
19154 * NEWS: Update copyright. Remove last-updated date.
19155 Mention math library bug fixes and timezone data changes.
19156 * README: Mention GNU/Hurd, x32, and HPPA support status.
19157
19158 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19159
19160 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19161
19162 2012-06-27 Andreas Jaeger <aj@suse.de>
19163
19164 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19165
19166 2012-06-25 Andreas Jaeger <aj@suse.de>
19167
19168 * sysdeps/s390/fpu/libm-test-ulps: Update.
19169
19170 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19171 Thomas Schwinge <thomas@codesourcery.com>
19172
19173 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19174 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19175 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19176 fanotify_mark.
19177
19178 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19179
19180 * sysdeps/mach/start.c: Remove file.
19181 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19182 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19183 * sysdeps/sh/init-first.c: Likewise.
19184
19185 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19186 registers for frame unwinding purposes, add CFI directives.
19187 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19188 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19189 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19190 Likewise.
19191
19192 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19193 __fortify_fail returning.
19194 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19195
19196 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19197 sysdeps/sh/____longjmp_chk.S.
19198 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19199 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19200 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19201 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19202
19203 * sysdeps/sh/abort-instr.h: New file.
19204 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19205 process in case exit returns.
19206
19207 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19208 initialize the GOT register before use.
19209
19210 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19211 calculation of ARGC > 4.
19212
19213 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19214 meaningful names to some local labels.
19215
19216 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19217 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19218
19219 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19220 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19221 (__arch_compare_and_exchange_val_16_acq): Likewise.
19222 (__arch_compare_and_exchange_val_32_acq): Likewise.
19223 (atomic_exchange_and_add): Fix gUSA sequence.
19224 (atomic_add): Likewise.
19225 (atomic_add_negative): Likewise.
19226 (atomic_add_zero): Likewise.
19227 (atomic_bit_test_set): Likewise.
19228
19229 2012-06-22 Andreas Schwab <schwab@redhat.com>
19230
19231 [BZ #13579]
19232 * include/link.h (struct link_map): Add l_free_initfini.
19233 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19234 l_initfini.
19235 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19236 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19237 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19238 set.
19239
19240 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19241
19242 * configure.in: Use AC_LANG_SOURCE.
19243 * configure: Regenerate.
19244
19245 2012-06-22 Roland McGrath <roland@hack.frob.com>
19246
19247 * configure.in (libc_cv_localstatedir): New substituted variable.
19248 * configure: Regenerated.
19249 * config.make.in (localstatedir): New variable, substituted from
19250 libc_cv_localstatedir.
19251 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19252 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19253 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19254 * sysdeps/gnu/configure: Regenerated.
19255
19256 2012-06-21 Jeff Law <law@redhat.com>
19257
19258 [BZ #14277]
19259 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19260 free. Simplify list management for _LIBC case.
19261
19262 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19263
19264 [BZ #14273]
19265 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19266 Clear sign bit of 64-bit integer value before comparing against
19267 overflow value.
19268
19269 * sysdeps/mach/configure: Regenerated.
19270
19271 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19272
19273 [BZ #14278]
19274 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19275
19276 2012-06-21 Jeff Law <law@redhat.com>
19277
19278 [BZ #13882]
19279 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19280 uint16_t for elements in the "seen" array to avoid char overflows.
19281 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19282 * elf/dl-open.c (dl_open_worker): Likewise.
19283
19284 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19285
19286 * scripts/list-sources.sh: Scan PORTS for translations.
19287 * po/libc.pot: Regenerated.
19288
19289 2012-06-21 Andreas Jaeger <aj@suse.de>
19290
19291 [BZ #12194]
19292 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19293 warning.
19294 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19295 * bits/byteswap-16.h (__bswap_16): Likewise.
19296 * bits/byteswap.h (__bswap_constant_16): Likewise.
19297
19298 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19299
19300 [BZ #14117]
19301 * sysdeps/i386/fpu_control.h: Removed.
19302 * sysdeps/x86_64/fpu_control.h: Moved to ...
19303 * sysdeps/x86/fpu_control.h: Here.
19304
19305 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19306 (_FPU_SETCW): Likewise.
19307
19308 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19309
19310 [BZ #14117]
19311 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19312 * sysdeps/x86/fpu/bits/mathinline.h: This.
19313 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19314
19315 [BZ #14050]
19316 [BZ #14117]
19317 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19318 functions if __x86_64__ is defined.
19319
19320 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19321
19322 * string/endian.h: Add !__ASSEMBLER__ condition for including
19323 conversion interfaces.
19324
19325 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19326
19327 [BZ #14241]
19328 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19329 of ABS(x) in calculating zero to negative powers other than odd
19330 integers.
19331 * math/libm-test.inc (pow_test): Add more tests.
19332
19333 2012-06-15 Andreas Jaeger <aj@suse.de>
19334
19335 * manual/contrib.texi (Contributors): Update entry of Liubov
19336 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19337 Machado Filho.
19338
19339 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19340
19341 * string/string.h: Add __wur to GNU version of strerror_r.
19342
19343 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19344
19345 [BZ #14229]
19346 * string/Makefile (tests): Add tst-strtok_r.
19347 * string/tst-strtok_r.c: New file.
19348 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19349 RAX_LP/RDX_LP on SAVE_PTR.
19350
19351 2012-06-14 Roland McGrath <roland@hack.frob.com>
19352
19353 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19354
19355 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19356
19357 * libm_test.inc (csqrt_test): Allow more spurious underflow
19358 exceptions.
19359 (j0_test): Likewise.
19360 (j1_test): Likewise.
19361 (y0_test): Likewise.
19362 (y1_test): Likewise.
19363
19364 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19365
19366 * po/Makefile (libc.pot): Use UTF-8 charset.
19367
19368 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19369
19370 [BZ #14210]
19371 Suppress sign-conversion warning from FD_SET.
19372 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19373 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19374 not unsigned long int.
19375 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19376
19377 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19378
19379 [BZ #14050]
19380 [BZ #14117]
19381 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19382 __extern_always_inline instead of __extern_inline.
19383 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19384 (__signbit): Likewise.
19385 (__signbitl): Support C++ namespace.
19386 (lrintf): New inline function.
19387 (lrint): Likewise.
19388 (llrintf): Likewise.
19389 (llrint): Likewise.
19390 (fmaxf): Likewise.
19391 (fmax): Likewise.
19392 (fminf): Likewise.
19393 (fmin): Likewise.
19394 (rint): Likewise.
19395 (rintf): Likewise.
19396 (ceil): Likewise.
19397 (ceilf): Likewise.
19398 (floor): Likewise.
19399 (floorf): Likewise.
19400 (nearbyint): Likewise.
19401 (nearbyintf): Likewise.
19402
19403 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19404
19405 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19406 non-default versions.
19407
19408 2012-06-11 Roland McGrath <roland@hack.frob.com>
19409
19410 [BZ #14218]
19411 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19412
19413 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19414
19415 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19416 (FE_UPWARD, FE_DOWNWARD): Don't define.
19417 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19418 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19419
19420 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19421 reading it.
19422 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19423 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19424
19425 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19426
19427 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19429 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19430 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19431
19432 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19433
19434 [BZ #14117]
19435 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19436 * sysdeps/i386/fpu/Implies: New file.
19437 * sysdeps/x86_64/fpu/Implies: Likewise.
19438 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19439 * sysdeps/x86/fpu/bits/fenv.h: This.
19440
19441 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19442 __SSE_MATH__.
19443
19444 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19445
19446 [BZ #14134]
19447 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19448 character 0xffff that matches the last element of the
19449 conversion table.
19450
19451 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19452
19453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19454 fmodl commit.
19455
19456 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19457
19458 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19459 values higher than 25.6283.
19460
19461 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19462
19463 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19464 subnormal exponent extraction and add some __builtin_expect.
19465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19466 Fix for subnormal mantissa calculation.
19467
19468 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19469
19470 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19471 cpu2 is -1 and errno is not ENOSYS.
19472
19473 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19474
19475 [BZ #14117]
19476 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19477 * sysdeps/x86/bits/string.h: This.
19478 * sysdeps/x86_64/bits/string.h: Removed.
19479
19480 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19481 if not compiling for x86-64, but compiling for >= i486.
19482
19483 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19484 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19485
19486 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19487 New macro from Linux kernel 3.4.0.
19488 (FP_XSTATE_MAGIC2): Likewise.
19489 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19490 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19491 (struct _fpx_sw_bytes): New struct.
19492 (struct _xsave_hdr): Likewise.
19493 (struct _ymmh_state): Likewise.
19494 (struct _xstate): Likewise.
19495
19496 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19497 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19498 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19499 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19500 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19501 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19502
19503 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19504 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19505 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19506 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19507 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19508 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19509
19510 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19511
19512 [BZ #13743]
19513 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19514 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19515 (sysdep_headers): Include sys/platform/ppc.h.
19516 * sysdeps/powerpc/test-gettimebase.c: Test for
19517 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19518 * manual/Makefile (appendices): Include platform.texi.
19519 * manual/contrib.texi (Contributors): Update @node pointers.
19520 * manual/maint.texi (Maintenance): Likewise.
19521 (Platform): New node.
19522 * manual/platform.texi: New file. Document the new features.
19523
19524 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19525 Jakub Jelinek <jakub@redhat.com>
19526
19527 [BZ #14188]
19528 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19529 where __builtin_expect is unavailable.
19530
19531 2012-06-03 David S. Miller <davem@davemloft.net>
19532
19533 * stdlib/longlong.h: Updated from GCC.
19534
19535 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19536
19537 [BZ #14042]
19538 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19539 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19540 __mcount_internal.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19542 (GLIBC_2.16): Likewise.
19543
19544 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19545
19546 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19547
19548 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19549
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19551 (default-abi): New variable.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19553 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19554 variable.
19555 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19556 Likewise.
19557 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19558 Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19560 Likewise.
19561
19562 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19563 definition. Document in comment.
19564
19565 2012-06-01 David S. Miller <davem@davemloft.net>
19566
19567 * stdlib/longlong.h: Updated from GCC.
19568
19569 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19570
19571 [BZ #14117]
19572 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19573 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19574 sys/debugreg.h sys/io.h here.
19575 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19576 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19577 sys/io.h.
19578 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19579 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19580 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19581 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19582 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19583 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19584
19585 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19586 Define only if __x86_64__ is defined.
19587
19588 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19589
19590 [BZ #14048]
19591 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19592 Use int64_t for variable i.
19593 * math/libm-test.inc (fmod_test): Add more tests.
19594
19595 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19596 z computation is not scheduled after fetestexcept.
19597 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19598 Use math_force_eval instead of asm to ensure calculation scheduled
19599 before exception test.
19600 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19601 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19602
19603 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19604
19605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19606 computation is not scheduled after fetestexcept.
19607
19608 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19609
19610 [BZ #14117]
19611 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19612 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19613
19614 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19615
19616 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19617 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19618
19619 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19620
19621 [BZ #14117]
19622 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19623 <bits/wordsize.h>.
19624 (__WCHAR_MIN): Support __WORDSIZE == 64.
19625 (__WCHAR_MAX): Likewise.
19626
19627 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19628 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19629
19630 [BZ #14183]
19631 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19632 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19633
19634 [BZ #14117]
19635 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19636 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19637
19638 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19639 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19640
19641 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19642 Defined to 1 if __x86_64__ isn't defined.
19643 (_STAT_VER_LINUX_OLD): New.
19644 (st_atime): Remove duplicate.
19645 (st_mtime): Likewise.
19646 (st_ctime): Likewise.
19647
19648 2012-05-31 David S. Miller <davem@davemloft.net>
19649
19650 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19651 entries.
19652
19653 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19654
19655 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19656 gen-libm-test.pl.
19657
19658 [BZ #14132]
19659 * elf/dl-reloc.c: Include <_itoa.h>.
19660 (_dl_reloc_bad_type): Remove use of INTUSE.
19661 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19662 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19663 * stdio-common/psiginfo.c (psiginfo): Likewise.
19664 * stdio-common/psignal.c (psignal): Likewise.
19665 * string/strsignal.c (strsignal): Likewise.
19666 * include/signal.h (_sys_siglist): Declare hidden proto.
19667 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19668 INTVARDEF with libc_hidden_data_def.
19669 * stdio-common/itoa-udigits.c: Likewise.
19670 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19671 (_itoa_lower_digits_internal): Remove declaration.
19672 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19673 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19674 (_sys_sigabbrev_internal): Remove aliases.
19675 (_sys_siglist): Define hidden alias.
19676
19677 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19678
19679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19680 bits/sysctl.h.
19681
19682 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19683
19684 [BZ #14117]
19685 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19686 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19687
19688 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19689 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19690 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19691 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19692 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19693 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19694
19695 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19696 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19697 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19698
19699 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19700 with __addr.
19701 (insw): Likewise.
19702 (insl): Likewise.
19703 (outsb): Likewise.
19704 (outsw): Likewise.
19705 (outsl): Likewise.
19706
19707 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19708 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19709 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19710
19711 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19712 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19713 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19714 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19715 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19716 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19717
19718 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19719 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19720
19721 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19722 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19723
19724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19725 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19726 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19727
19728 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19729 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19730 to ...
19731 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19732
19733 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19734 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19735 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19736
19737 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19738 for x86-64.
19739 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19740
19741 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19742
19743 * math/math.h (M_El): Use two more decimal places.
19744 (M_LOG2El): Likewise.
19745 (M_LOG10El): Likewise.
19746 (M_LN2l): Likewise.
19747 (M_LN10l): Likewise.
19748 (M_PIl): Likewise.
19749 (M_PI_2l): Likewise.
19750 (M_PI_4l): Likewise.
19751 (M_1_PIl): Likewise.
19752 (M_2_PIl): Likewise.
19753 (M_2_SQRTPIl): Likewise.
19754 (M_SQRT2l): Likewise.
19755 (M_SQRT1_2l): Likewise.
19756
19757 2012-05-31 David S. Miller <davem@davemloft.net>
19758
19759 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19760 values between float registers.
19761 * sysdeps/sparc/sparc64/memset.S: Likewise.
19762 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19763
19764 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19765
19766 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19767 -D_FORTIFY_SOURCE=1.
19768 (CPPFLAGS-tst-longjmp_chk.c): Define.
19769 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19770 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19771 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19772 CFLAGS-tst-wchar-h.c.
19773
19774 2012-05-31 Marek Polacek <polacek@redhat.com>
19775
19776 [BZ #14132]
19777 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19778 __endmntent_internal): Remove declaration.
19779 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19780 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19781 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19782
19783 2012-05-30 David S. Miller <davem@davemloft.net>
19784
19785 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19786 (___Q_simulate_exceptions): Use real FP ops rather than writing
19787 into the %fsr.
19788 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19789 Likewise.
19790
19791 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 [BZ #14117]
19794 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19795 * sysdeps/x86/bits/xtitypes.h: This.
19796
19797 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19798 * sysdeps/x86/bits/wordsize.h: This.
19799
19800 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19801 * sysdeps/x86/bits/huge_vall.h: This.
19802
19803 * sysdeps/i386/bits/select.h: Removed.
19804 * sysdeps/x86_64/bits/select.h: Renamed to ...
19805 * sysdeps/x86/bits/select.h: This.
19806
19807 * sysdeps/i386/bits/setjmp.h: Removed.
19808 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19809 * sysdeps/x86/bits/setjmp.h: This.
19810
19811 * sysdeps/i386/bits/mathdef.h: Removed.
19812 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19813 * sysdeps/x86/bits/mathdef.h: This.
19814
19815 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19816
19817 [BZ #14132]
19818 * include/sys/socket.h (__connect_internal)
19819 (__libc_sa_len_internal): Remove declaration.
19820 (__connect, __libc_sa_len): Declare hidden_proto.
19821 (SA_LEN): Remove use of INTUSE.
19822 * socket/connect.c: Add libc_hidden_def.
19823 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19824 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19825 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19826 alias.
19827 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19828 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19829 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19830 of adding _internal alias.
19831
19832 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19833
19834 [BZ #14117]
19835 * sysdeps/i386/bits/link.h: Removed.
19836 * sysdeps/i386/bits/linkmap.h: Likewise.
19837 * sysdeps/x86_64/bits/link.h: Renamed to ...
19838 * sysdeps/x86/bits/link.h: This.
19839 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19840 * sysdeps/x86/bits/linkmap.h: This.
19841
19842 * sysdeps/i386/bits/endian.h: Removed.
19843 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19844 * sysdeps/x86/bits/endian.h: This.
19845
19846 * sysdeps/i386/bits/byteswap.h: Removed.
19847 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19848 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19849 * sysdeps/x86/bits/byteswap.h: This.
19850 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19851 * sysdeps/x86/bits/byteswap-16.h: This.
19852 * sysdeps/i386/Implies: Add x86.
19853 * sysdeps/x86_64/Implies: Likewise.
19854
19855 2012-05-30 David S. Miller <davem@davemloft.net>
19856
19857 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19858 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19859 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19860 (FP_TRAPPING_EXCEPTIONS): Define.
19861 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19862 (FP_TRAPPING_EXCEPTIONS): Define.
19863 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19864 subnormals only when inexact has been signalled or underflow
19865 exceptions are enabled.
19866 (_FP_PACK_CANONICAL): Likewise.
19867
19868 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19869
19870 [BZ #14183]
19871 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19872 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19873
19874 2012-05-30 Richard Henderson <rth@twiddle.net>
19875
19876 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19877 with #ifndef NOT_IN_libc.
19878
19879 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19880 marked to avoid plt entry.
19881
19882 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19883
19884 [BZ #14112]
19885 * Makeconfig (default-abi): New macro.
19886 (abi-includes): Likewise.
19887 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19888 $(abi-$(default-abi)-lib-soname) for soname if defined.
19889 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19890 abi-variants.
19891 * Makefile (installed-stubs): Likewise.
19892 * include/stubs-biarch.h: Removed.
19893 * scripts/lib-names.awk: Only handle one library at a time.
19894 * scripts/soversions.awk: Remove WORDSIZE support.
19895 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19896 entries.
19897 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19898 Removed.
19899 (syscall-list-default-condition): Likewise.
19900 (syscall-list-default-condition): Likewise.
19901 (syscall-list-includes): Likewise.
19902 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19903 syscall-list-* with abi-*. Handle undefined abi-variants.
19904 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19905 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19906 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19907 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19908 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19909 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19910 Removed.
19911 (syscall-list-32-options): Likewise.
19912 (syscall-list-32-condition): Likewise.
19913 (syscall-list-64-options): Likewise.
19914 (syscall-list-64-condition): Likewise.
19915 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19916 macro.
19917 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19918 Renamed to ...
19919 (abi-*): This.
19920 (abi-64-ld-soname): New macro.
19921 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19922 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19923 Renamed to ...
19924 (abi-*): This.
19925 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19926 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19927
19928 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19929
19930 * sysdeps/unix/sysv/linux/kernel-features.h
19931 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19932 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19933 include <kernel-features.h>.
19934 [!__NR_ftruncate64]: Remove conditional code.
19935 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19936 [__NR_ftruncate64]: Make code unconditional.
19937 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19938 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19939 include <kernel-features.h>.
19940 [!__NR_ftruncate64]: Remove conditional code.
19941 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19942 [__NR_ftruncate64]: Make code unconditional.
19943 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19945 include <kernel-features.h>.
19946 [!__NR_ftruncate64]: Remove conditional code.
19947 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19948 [__NR_ftruncate64]: Make code unconditional.
19949 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19951 include <kernel-features.h>.
19952 [!__NR_ftruncate64]: Remove conditional code.
19953 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19954 [__NR_ftruncate64]: Make code unconditional.
19955 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19956
19957 * configure.in (libc_cv_fpie): Weaken to a compile test using
19958 LIBC_TRY_CC_OPTION.
19959 * configure: Regenerated.
19960
19961 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19962
19963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19967 Refreshed.
19968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19974 Refreshed.
19975
19976 2012-05-27 David S. Miller <davem@davemloft.net>
19977
19978 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19979 (___Q_zero): New.
19980 (__Q_simulate_exceptions): Return void. Change to simulate
19981 exceptions by writing into the %fsr.
19982 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19983 (__Qp_handle_exceptions): Likewise.
19984 (numbers): Delete.
19985 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19986 __Qp_handle_exceptions.
19987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19988 __Qp_handle_exceptions.
19989 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19990 as unused and give dummy FP_RND_NEAREST initializer.
19991 (FP_INHIBIT_RESULTS): Define.
19992 (___Q_simulate_exceptions): Update declaration.
19993 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19994 formatting.
19995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19996 as unused and give dummy FP_RND_NEAREST initializer.
19997 (__Qp_handle_exceptions): Update declaration.
19998 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19999 formatting.
20000
20001 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20002
20003 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20004 the temporary FPU control word.
20005 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20006 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20007 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20008 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20009 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20010 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20011 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20012 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20013 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20014 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20015 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20016
20017 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20018
20019 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20020 fields.
20021
20022 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20023
20024 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20025 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20026 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20027 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20028 Likewise.
20029 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20030 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20031 Likewise.
20032
20033 2012-05-27 Ulrich Drepper <drepper@gmail.com>
20034
20035 * po/h.po: Update from translation team.
20036
20037 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20038
20039 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20040
20041 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20042 handling of denormals.
20043 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20044 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20045 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20046 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20049 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20050 Likewise.
20051
20052 2012-05-26 Marek Polacek <polacek@redhat.com>
20053
20054 [BZ #14152]
20055 * math/libm-test.inc (fma_test): Don't always expect underflow
20056 exception.
20057
20058 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20059
20060 [BZ #12416]
20061 * elf/tst-execstack.c: Include stackinfo.h.
20062 (do_test): Adjust test case to ensure that pthread_getattr_np
20063 behaviour remains the same after marking stack executable.
20064
20065 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20066
20067 * sysdeps/unix/sysv/linux/kernel-features.h
20068 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20069 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20070 kernel-features.h.
20071 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20072 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20073 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20074 kernel-features.h.
20075 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20076 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20077
20078 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20079
20080 * configure.in: Define the default includes to being none.
20081 * configure: Regenerated.
20082
20083 2012-05-25 Roland McGrath <roland@hack.frob.com>
20084
20085 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20086 * sysdeps/x86_64/setjmp.S: Likewise.
20087 * sysdeps/i386/bsd-setjmp.S: Likewise.
20088 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20089 * sysdeps/i386/setjmp.S: Likewise.
20090 * sysdeps/i386/__longjmp.S: Likewise.
20091 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20092 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20093
20094 * include/stap-probe.h: New file.
20095 * configure.in: Handle --enable-systemtap.
20096 * configure: Regenerated.
20097 * config.h.in (USE_STAP_PROBE): New #undef.
20098 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20099 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20100 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20101
20102 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20103
20104 [BZ #13717]
20105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20106 to 2.4.0 where earlier.
20107 * sysdeps/unix/sysv/linux/configure: Regenerated.
20108 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20109 <kernel-features.h>.
20110 [__ASSUME_32BITUIDS]: Make code unconditional.
20111 [!__ASSUME_32BITUIDS]: Remove conditional code.
20112 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20113 <kernel-features.h>.
20114 [__ASSUME_32BITUIDS]: Make code unconditional.
20115 [!__ASSUME_32BITUIDS]: Remove conditional code.
20116 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20117 [__ASSUME_32BITUIDS]: Make code unconditional.
20118 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20119 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20120 <kernel-features.h>.
20121 [__ASSUME_32BITUIDS]: Make code unconditional.
20122 [!__ASSUME_32BITUIDS]: Remove conditional code.
20123 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20124 <kernel-features.h>.
20125 [__ASSUME_32BITUIDS]: Make code unconditional.
20126 [!__ASSUME_32BITUIDS]: Remove conditional code.
20127 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20128 <kernel-features.h>.
20129 [__ASSUME_32BITUIDS]: Make code unconditional.
20130 [!__ASSUME_32BITUIDS]: Remove conditional code.
20131 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20132 <kernel-features.h>.
20133 [__ASSUME_32BITUIDS]: Make code unconditional.
20134 [!__ASSUME_32BITUIDS]: Remove conditional code.
20135 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20136 <kernel-features.h>.
20137 [__ASSUME_32BITUIDS]: Make code unconditional.
20138 [!__ASSUME_32BITUIDS]: Remove conditional code.
20139 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20140 <kernel-features.h>.
20141 [__ASSUME_32BITUIDS]: Make code unconditional.
20142 [!__ASSUME_32BITUIDS]: Remove conditional code.
20143 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20144 <kernel-features.h>.
20145 [__ASSUME_32BITUIDS]: Make code unconditional.
20146 [!__ASSUME_32BITUIDS]: Remove conditional code.
20147 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20148 <kernel-features.h>.
20149 [__ASSUME_32BITUIDS]: Make code unconditional.
20150 [!__ASSUME_32BITUIDS]: Remove conditional code.
20151 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20152 <kernel-features.h>.
20153 [__ASSUME_32BITUIDS]: Make code unconditional.
20154 [!__ASSUME_32BITUIDS]: Remove conditional code.
20155 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20156 <kernel-features.h>.
20157 [__ASSUME_32BITUIDS]: Make code unconditional.
20158 [!__ASSUME_32BITUIDS]: Remove conditional code.
20159 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20160 <kernel-features.h>.
20161 [__NR_setresgid] (__setresgid): Do not declare.
20162 [__ASSUME_32BITUIDS]: Make code unconditional.
20163 [!__ASSUME_32BITUIDS]: Remove conditional code.
20164 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20165 <kernel-features.h>.
20166 [__NR_setresuid] (__setresuid): Do not declare.
20167 [__ASSUME_32BITUIDS]: Make code unconditional.
20168 [!__ASSUME_32BITUIDS]: Remove conditional code.
20169 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20170 <kernel-features.h>.
20171 [__ASSUME_32BITUIDS]: Make code unconditional.
20172 [!__ASSUME_32BITUIDS]: Remove conditional code.
20173 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20174 <kernel-features.h>.
20175 [__ASSUME_32BITUIDS]: Make code unconditional.
20176 [!__ASSUME_32BITUIDS]: Remove conditional code.
20177 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20178 <kernel-features.h>.
20179 [__ASSUME_32BITUIDS]: Make code unconditional.
20180 [!__ASSUME_32BITUIDS]: Remove conditional code.
20181 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20182 <kernel-features.h>.
20183 [__ASSUME_32BITUIDS]: Make code unconditional.
20184 [!__ASSUME_32BITUIDS]: Remove conditional code.
20185 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20186 <kernel-features.h>.
20187 [__ASSUME_32BITUIDS]: Make code unconditional.
20188 [!__ASSUME_32BITUIDS]: Remove conditional code.
20189 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20190 <kernel-features.h>.
20191 [__ASSUME_32BITUIDS]: Make code unconditional.
20192 [!__ASSUME_32BITUIDS]: Remove conditional code.
20193 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20194 <kernel-features.h>.
20195 [__ASSUME_32BITUIDS]: Make code unconditional.
20196 [!__ASSUME_32BITUIDS]: Remove conditional code.
20197 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20198 <kernel-features.h>.
20199 [__ASSUME_32BITUIDS]: Make code unconditional.
20200 [!__ASSUME_32BITUIDS]: Remove conditional code.
20201 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20202 <kernel-features.h>.
20203 [__ASSUME_32BITUIDS]: Make code unconditional.
20204 [!__ASSUME_32BITUIDS]: Remove conditional code.
20205 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20206 <kernel-features.h>.
20207 [__ASSUME_32BITUIDS]: Make code unconditional.
20208 [!__ASSUME_32BITUIDS]: Remove conditional code.
20209 * sysdeps/unix/sysv/linux/kernel-features.h
20210 (__ASSUME_SETRESUID_SYSCALL): Remove.
20211 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20212 (__ASSUME_32BITUIDS): Likewise.
20213 (__ASSUME_LDT_WORKS): Likewise.
20214 (__ASSUME_O_DIRECTORY): Likewise.
20215 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20216 architecture but not kernel version.
20217 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20218 (__ASSUME_MMAP2_SYSCALL): Likewise.
20219 (__ASSUME_STAT64_SYSCALL): Likewise.
20220 (__ASSUME_IPC64): Likewise.
20221 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20222 <kernel-features.h>.
20223 [__ASSUME_32BITUIDS]: Make code unconditional.
20224 [!__ASSUME_32BITUIDS]: Remove conditional code.
20225 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20226 <kernel-features.h>.
20227 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20228 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20229 132096]: Remove conditional code.
20230 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20231 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20232 <kernel-features.h>.
20233 [__ASSUME_32BITUIDS]: Make code unconditional.
20234 [!__ASSUME_32BITUIDS]: Remove conditional code.
20235 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20236 <kernel-features.h>.
20237 [__ASSUME_32BITUIDS]: Make code unconditional.
20238 [!__ASSUME_32BITUIDS]: Remove conditional code.
20239 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20240 <kernel-features.h>.
20241 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20242 unconditional.
20243 (__setresgid): Do not declare.
20244 [__ASSUME_32BITUIDS]: Make code unconditional.
20245 [!__ASSUME_32BITUIDS]: Remove conditional code.
20246 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20247 <kernel-features.h>.
20248 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20249 unconditional.
20250 (__setresuid): Do not declare.
20251 [__ASSUME_32BITUIDS]: Make code unconditional.
20252 [!__ASSUME_32BITUIDS]: Remove conditional code.
20253 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20254 <kernel-features.h>.
20255 [__ASSUME_32BITUIDS]: Make code unconditional.
20256 [!__ASSUME_32BITUIDS]: Remove conditional code.
20257 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20258 <kernel-features.h>.
20259 [__ASSUME_32BITUIDS]: Make code unconditional.
20260 [!__ASSUME_32BITUIDS]: Remove conditional code.
20261
20262 2012-05-25 Richard Henderson <rth@twiddle.net>
20263
20264 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20265 dl_hwcap to ifunc resolver.
20266 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20267 elf_ifunc_invoke.
20268 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20269 dl_hwcap to ifunc resolver.
20270 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20271
20272 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20273
20274 [BZ #14153]
20275 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20276 for |x| <= 2**-26, not 2**-57.
20277 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20278 exception.
20279
20280 2012-05-24 Jeff Law <law@redhat.com>
20281
20282 * stdio-common/Makefile (tests): Add bug25.
20283 * stdio-common/bug25.c: New test.
20284
20285 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20286
20287 [BZ #13576]
20288 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20289 multiple of MALLOC_ALIGNMENT in size.
20290 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20291
20292 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20293
20294 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20295 Require >= 256.
20296 (FILENAME_MAX): Use macro-int-constant.
20297 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20298 (_IOFBF): Use macro-int-constant.
20299 (_IOLBF): Likewise.
20300 (_IONBF): Likewise.
20301 (SEEK_CUR): Likewise.
20302 (SEEK_END): Likewise.
20303 (SEEK_SET): Likewise.
20304 (TMP_MAX): Likewise.
20305 (EOF): Use macro-int-constant. Require < 0.
20306 (NULL): Use macro-constant. Require == 0.
20307 (stdin): Require type to be FILE *.
20308 (stdout): Likewise.
20309 (stderr): Likewise.
20310 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20311 macro-int-constant.
20312 (EXIT_SUCCESS): Likewise.
20313 (NULL): Use macro-constant. Require == 0.
20314 (RAND_MAX): Use macro-int-constant.
20315 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20316 [C99-based standards] (strtof): Require function.
20317 [C99-based standards] (strtold): Likewise.
20318 [C99-based standards] (strtoll): Likewise.
20319 [C99-based standards] (strtoull): Likewise.
20320 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20321 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20322 [ISO || ISO99 || ISO11] (math.h): Likewise.
20323 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20324 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20326
20327 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20328
20329 [BZ #14132]
20330 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20331 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20332 * intl/dgettext.c (DCGETTEXT): Likewise.
20333 * intl/gettext.c (DCGETTEXT): Likewise.
20334 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20335 * posix/regex_internal.h (gettext): Likewise.
20336 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20337 Remove declaration.
20338 * include/argz.h (__argz_count_internal)
20339 (__argz_stringify_internal): Remove declaration.
20340 (__argz_count, __argz_stringify): Declare hidden proto.
20341 * intl/dcgettext.c: Remove use of INTDEF.
20342 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20343 * string/argz-stringify.c: Likewise.
20344 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20345 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20346 Declare hidden proto.
20347 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20348 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20349 Declare hidden proto.
20350 * include/stdio.h (__asprintf_internal): Don't declare.
20351 (__asprintf): Don't define as macro. Declare hidden proto.
20352 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20353 (__fsetlocking): Declare hidden proto.
20354 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20355 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20356 hidden proto.
20357 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20358 (_IO_setlinebuf): Remove use of INTUSE.
20359 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20360 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20361 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20362 Remove declaration.
20363 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20364 (_IO_do_flush): Remove use of INTUSE.
20365 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20366 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20367 (_IO_adjust_column, _IO_least_wmarker)
20368 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20369 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20370 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20371 (_IO_default_doallocate, _IO_wdefault_doallocate)
20372 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20373 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20374 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20375 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20376 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20377 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20378 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20379 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20380 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20381 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20382 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20383 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20384 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20385 proto.
20386 (_IO_flush_all_internal, _IO_adjust_column_internal)
20387 (_IO_default_uflow_internal, _IO_default_finish_internal)
20388 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20389 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20390 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20391 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20392 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20393 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20394 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20395 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20396 (_IO_file_close_internal, _IO_file_close_it_internal)
20397 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20398 (_IO_file_init_internal, _IO_file_attach_internal)
20399 (_IO_file_fopen_internal, _IO_file_read_internal)
20400 (_IO_file_sync_internal, _IO_file_seek_internal)
20401 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20402 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20403 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20404 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20405 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20406 (_IO_list_all_internal, _IO_link_in_internal)
20407 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20408 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20409 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20410 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20411 (_IO_do_write_internal, _IO_padn_internal)
20412 (_IO_getline_info_internal, _IO_getline_internal)
20413 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20414 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20415 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20416 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20417 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20418 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20419 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20420 with libc_hidden_ver, remove use of INTUSE.
20421 * libio/genops.c: Likewise.
20422 * libio/freopen.c: Likewise.
20423 * libio/freopen64.c: Likewise.
20424 * libio/iofclose.c: Likewise.
20425 * libio/iofdopen.c: Likewise.
20426 * libio/iofflush.c: Likewise.
20427 * libio/iofflush_u.c: Likewise.
20428 * libio/iofgets.c: Likewise.
20429 * libio/iofgets_u.c: Likewise.
20430 * libio/iofopen.c: Likewise.
20431 * libio/iofopncook.c: Likewise.
20432 * libio/iofread.c: Likewise.
20433 * libio/iofread_u.c: Likewise.
20434 * libio/ioftell.c: Likewise.
20435 * libio/iofwrite.c: Likewise.
20436 * libio/iogetline.c: Likewise.
20437 * libio/iogets.c: Likewise.
20438 * libio/iogetwline.c: Likewise.
20439 * libio/iopadn.c: Likewise.
20440 * libio/iopopen.c: Likewise.
20441 * libio/ioseekoff.c: Likewise.
20442 * libio/ioseekpos.c: Likewise.
20443 * libio/iosetbuffer.c: Likewise.
20444 * libio/iosetvbuf.c: Likewise.
20445 * libio/ioungetc.c: Likewise.
20446 * libio/ioungetwc.c: Likewise.
20447 * libio/iovdprintf.c: Likewise.
20448 * libio/iovsprintf.c: Likewise.
20449 * libio/iovsscanf.c: Likewise.
20450 * libio/memstream.c: Likewise.
20451 * libio/obprintf.c: Likewise.
20452 * libio/oldfileops.c: Likewise.
20453 * libio/oldiofclose.c: Likewise.
20454 * libio/oldiofdopen.c: Likewise.
20455 * libio/oldiofopen.c: Likewise.
20456 * libio/oldiopopen.c: Likewise.
20457 * libio/oldstdfiles.c: Likewise.
20458 * libio/putc.c: Likewise.
20459 * libio/setbuf.c: Likewise.
20460 * libio/setlinebuf.c: Likewise.
20461 * libio/stdfiles.c: Likewise.
20462 * libio/strops.c: Likewise.
20463 * libio/vasprintf.c: Likewise.
20464 * libio/vscanf.c: Likewise.
20465 * libio/vsnprintf.c: Likewise.
20466 * libio/vswprintf.c: Likewise.
20467 * libio/wfiledoalloc.c: Likewise.
20468 * libio/wfileops.c: Likewise.
20469 * libio/wgenops.c: Likewise.
20470 * libio/wmemstream.c: Likewise.
20471 * libio/wstrops.c: Likewise.
20472 * libio/__fpurge.c: Likewise.
20473 * libio/__fsetlocking.c: Likewise.
20474 * assert/assert.c: Likewise.
20475 * debug/fgets_chk.c: Likewise.
20476 * debug/fgets_u_chk.c: Likewise.
20477 * debug/fread_chk.c: Likewise.
20478 * debug/fread_u_chk.c: Likewise.
20479 * debug/gets_chk.c: Likewise.
20480 * debug/obprintf_chk.c: Likewise.
20481 * debug/vasprintf_chk.c: Likewise.
20482 * debug/vdprintf_chk.c: Likewise.
20483 * debug/vsnprintf_chk.c: Likewise.
20484 * debug/vsprintf_chk.c: Likewise.
20485 * malloc/mtrace.c: Likewise.
20486 * misc/error.c: Likewise.
20487 * misc/syslog.c: Likewise.
20488 * stdio-common/asprintf.c: Likewise.
20489 * stdio-common/fxprintf.c: Likewise.
20490 * stdio-common/getw.c: Likewise.
20491 * stdio-common/isoc99_fscanf.c: Likewise.
20492 * stdio-common/isoc99_scanf.c: Likewise.
20493 * stdio-common/isoc99_vfscanf.c: Likewise.
20494 * stdio-common/isoc99_vscanf.c: Likewise.
20495 * stdio-common/isoc99_vsscanf.c: Likewise.
20496 * stdio-common/printf-prs.c: Likewise.
20497 * stdio-common/printf_fp.c: Likewise.
20498 * stdio-common/printf_fphex.c: Likewise.
20499 * stdio-common/printf_size.c: Likewise.
20500 * stdio-common/putw.c: Likewise.
20501 * stdio-common/scanf.c: Likewise.
20502 * stdio-common/sprintf.c: Likewise.
20503 * stdio-common/tmpfile.c: Likewise.
20504 * stdio-common/vfprintf.c: Likewise.
20505 * stdio-common/vfscanf.c: Likewise.
20506 * stdlib/strfmon_l.c: Likewise.
20507 * sunrpc/openchild.c: Likewise.
20508 * sunrpc/xdr_stdio.c: Likewise.
20509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20510 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20511
20512 2012-05-24 Roland McGrath <roland@hack.frob.com>
20513
20514 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20515
20516 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20517 in the third column, to generate for the shared library an IFUNC
20518 that uses _dl_vdso_vsym.
20519 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20520 * Makeconfig (object-suffixes-noshared): New variable.
20521
20522 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20523 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20524 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20525 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20526
20527 [BZ #14132]
20528 * include/sys/time.h (__gettimeofday): Remove macro.
20529 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20530 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20531 Remove INTDEF.
20532 (__gettimeofday): Add libc_hidden_def.
20533 (gettimeofday): Add libc_hidden_weak.
20534 * sysdeps/mach/gettimeofday.c: Likewise.
20535 * sysdeps/posix/gettimeofday.c: Likewise.
20536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20537 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20539 (__gettimeofday_internal): Remove strong_alias.
20540 (__gettimeofday): Add libc_hidden_def.
20541 (gettimeofday): Add libc_hidden_weak.
20542 * sysdeps/unix/syscalls.list (gettimeofday):
20543 Remove __gettimeofday_internal alias.
20544
20545 2012-05-24 Daniel Jacobowitz <drow@false.org>
20546 H.J. Lu <hongjiu.lu@intel.com>
20547
20548 [BZ #12495]
20549 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20550 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20551 (largebin_index_32_big): New.
20552 (largebin_index): Use it for 16-byte alignment.
20553 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20554 correction with front_misalign.
20555
20556 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20557
20558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20560 Likewise.
20561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20562 Likewise.
20563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20564 Likewise.
20565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20566 Likewise.
20567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20568 Likewise.
20569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20570 Likewise.
20571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20572 Likewise.
20573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20574 Likewise.
20575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20576 Likewise.
20577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20578 Likewise.
20579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20580 Likewise.
20581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20582 Likewise.
20583
20584 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20585 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20586
20587 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20588
20589 [BZ #10846]
20590 [BZ #14036]
20591 * math/libm-test.inc (exp_test): Add test from bug 14036.
20592 (pow_test): Add test from bug 10846.
20593
20594 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20595 and other flags.
20596 (special_function): Do not include flags in test name.
20597 (parse_args): Likewise.
20598 * sysdeps/i386/fpu/libm-test-ulps: Update.
20599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20600 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20601 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20603
20604 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20605 exceptions.
20606 * math/libm-test.inc ("Philosophy"): Update comment about
20607 exception testing.
20608 (UNDERFLOW_EXCEPTION): New macro.
20609 (UNDERFLOW_EXCEPTION_OK): Likewise.
20610 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20611 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20612 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20613 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20614 (INVALID_EXCEPTION_OK): Update value.
20615 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20616 (OVERFLOW_EXCEPTION_OK): Likewise.
20617 (IGNORE_ZERO_INF_SIGN): Likewise.
20618 (test_exceptions): Handle underflow exceptions.
20619 (acos_test): Update for underflow exception expectations.
20620 (cexp_test): Likewise.
20621 (clog_test): Likewise.
20622 (clog10_test): Likewise.
20623 (csqrt_test): Likewise.
20624 (ctan_test): Likewise.
20625 (ctanh_test): Likewise.
20626 (exp_test): Likewise.
20627 (exp10_test): Likewise.
20628 (exp2_test): Likewise.
20629 (expm1_test): Likewise.
20630 (fma_test): Likewise.
20631 (j0_test): Likewise.
20632 (jn_test): Likewise.
20633 (nexttoward_test): Likewise.
20634 (pow_test): Likewise.
20635 (scalbn_test): Likewise.
20636 (scalbln_test): Likewise.
20637 (tan_test): Likewise.
20638 (y1_test): Likewise.
20639 * sysdeps/i386/fpu/libm-test-ulps: Update.
20640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20641
20642 2012-05-23 David S. Miller <davem@davemloft.net>
20643
20644 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20645 (__libc_sigaction): Remove unused local variables.
20646
20647 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20648
20649 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20650
20651 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20652
20653 mktime: avoid signed integer overflow
20654 * time/mktime.c (__mktime_internal): Do not mishandle the case
20655 where diff == INT_MIN.
20656
20657 mktime: simplify computation of average
20658 * time/mktime.c (ranged_convert): Use new time_t_avg function
20659 instead of rolling our own (probably-slower) code.
20660
20661 mktime: do not assume signed right shift propagates sign bit
20662 * time/mktime.c (isdst_differ): New static function.
20663 (__mktime_internal): No need to normalize tm_isdst now.
20664 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20665 tm_isdst values.
20666
20667 mktime: merge another wrapv change from gnulib
20668 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20669 from some compilers.
20670
20671 mktime: remove incorrect attempt at unusual arithmetics
20672 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20673 The code didn't really work on such machines anyway.
20674 (TYPE_MINIMUM): Assume two's complement.
20675 (twos_complement_arithmetic): Verify that long_int and time_t
20676 are two's complement (or unsigned, in the latter case).
20677
20678 mktime: check signed shifts on long_int and time_t, too
20679 * time/mktime.c (SHR): Check that shifts work as desired
20680 on the types long_int and time_t too, as SHR is used on
20681 such types.
20682
20683 mktime: do not assume 'long' is wide enough
20684 * time/mktime.c (verify): Move decl up.
20685 (long_int): New type.
20686 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20687 to remove assumption in the code that 'long' is wide enough to
20688 store year values. This assumption is not true on x32 and on
20689 some non-glibc platforms.
20690
20691 mktime: merge wrapv change from gnulib
20692 * time/mktime.c (WRAPV): New macro.
20693 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20694 (guess_time_tm, __mktime_internal): Do not assume that signed
20695 integer overflow wraps around; modern compilers generate code
20696 where this assumption is no longer valid.
20697
20698 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20699
20700 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20701 Replace "jmp L(pseudo_end)" with "ret".
20702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20703 Likewise.
20704
20705 2012-05-23 Andreas Jaeger <aj@suse.de>
20706
20707 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20708 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20709
20710 2012-05-23 Andreas Jaeger <aj@suse.de>
20711 Maximilian Attems <max@stro.at>
20712
20713 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20714 New macros.
20715
20716 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20717
20718 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20719 code so that pseudo_end is just ret and the stack pointer is
20720 correct also for static library in error case.
20721
20722 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20723
20724 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20725 move to syscalls.list.
20726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20730
20731 * manual/install.texi (Running make install): Do not mention Linux
20732 kernel version for which pt_chown is not needed.
20733 (Linux): Do not mention problems with nscd with 2.0 kernels.
20734 * INSTALL: Regenerated.
20735
20736 2012-05-23 Andreas Jaeger <aj@suse.de>
20737
20738 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20739 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20740 macro.
20741 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20742 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20743 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20744 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20745 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20746 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20748 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20749 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20750 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20751 * sysdeps/unix/sysv/linux/bits/in.h
20752 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20753
20754 2012-05-22 Roland McGrath <roland@hack.frob.com>
20755
20756 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20757 (PREPARE_VERSION): Just use assert instead, it will be elided
20758 under [NDEBUG] anyway.
20759
20760 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20761
20762 * sysdeps/unix/sysv/linux/Makefile: Include
20763 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20764 (sysdep_routines): Remove sysctl.
20765 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20766 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20767 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20768 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20769 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20770
20771 2012-05-22 Andreas Jaeger <aj@suse.de>
20772
20773 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20774 that pseudo_end is just ret and the stack pointer is correct also
20775 for static library in error case.
20776
20777 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20778
20779 [BZ #14122]
20780 * nss/nsswitch.c (defconfig_entries): New variable.
20781 (__nss_database_lookup): Don't leak defconfig entries.
20782 (nss_parse_service_list): Don't leak on error paths.
20783 (free_database_entries): New function.
20784 (free_defconfig): New function.
20785 (free_mem): Move common code to free_database_entries.
20786
20787 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20788
20789 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20790 Add arch_prctl.
20791 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20792
20793 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20794 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20796 New macro.
20797 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20798 (INTERNAL_SYSCALL_TYPES): Likewise.
20799 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20800 (LOAD_REGS_TYPES_[1-6]): Likewise.
20801 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20802 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20803
20804 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20805
20806 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20807 copysignl for GLIBC_2_0.
20808 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20809 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20811 logbl for GLIBC_2_0.
20812 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20813 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20814
20815 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20816
20817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20818 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20819
20820 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20821 Use "neg %eax".
20822
20823 * time/mktime.c: Update copyright years.
20824
20825 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20826
20827 mktime: merge comment-quoting-style change from gnulib
20828 * time/mktime.c: Quote 'like this' in comments.
20829 The GNU coding standards suggest that we no longer quote `like this',
20830 as "`" and "'" are typically rendered asymmetrically nowadays.
20831 The typical gnulib style is to quote 'like this' when quoting
20832 code, and "like this" when quoting English.
20833
20834 * time/mktime.c (compile-command): Add "-I.".
20835
20836 mktime: merge mktime-internal.h change from gnulib
20837 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20838
20839 mktime: merge time_r change from gnulib
20840 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20841
20842 mktime: merge DEBUG change from gnulib
20843 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20844 case system <time.h> has a #define.
20845
20846 mktime: merge <sys/types.h> change from gnulib
20847 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20848 since <time.t> is now guaranteed to define time_t.
20849
20850 mktime: merge HAVE_CONFIG_H change from gnulib
20851 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20852
20853 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20854
20855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20856 Use "neg %eax".
20857
20858 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20859 __rlim_t cast.
20860 (struct rusage): Use anonymous union to pad each field to
20861 __syscall_slong_t.
20862
20863 2012-05-21 David S. Miller <davem@davemloft.net>
20864
20865 * Makefules (o-iterator): Remove .s cases.
20866 (compile-command.s): Delete.
20867 (COMPILE.s): Delete.
20868 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20869
20870 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20871
20872 * configure.in (libc_cv_predef_stack_protector): Only consider
20873 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20874 * configure: Regenerated.
20875
20876 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20879 New macro. Use R*LP on int and pointer.
20880 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20881 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20882 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20883 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20884
20885 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20886 [__WORDSIZE_TIME64_COMPAT32] instead of
20887 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20888 (struct utmp): Likewise.
20889 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20890 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20891 Renamed to ...
20892 (__WORDSIZE_TIME64_COMPAT32): This.
20893 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20894 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20895 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20896 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20897 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20898 (__WORDSIZE_TIME64_COMPAT32): New macro.
20899
20900 2012-05-21 Andreas Jaeger <aj@suse.de>
20901
20902 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20903 only if [SHARED]. Add prototype for __wcschr_ia32.
20904
20905 2012-05-21 Roland McGrath <roland@hack.frob.com>
20906
20907 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20908 of %rbp unmolested in the jmp_buf while mangling the low bits.
20909 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20910 unmolested high bits of %rbp while demangling the low bits.
20911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20912
20913 2012-05-21 Andreas Jaeger <aj@suse.de>
20914
20915 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20916 * sunrpc/svc_simple.c: Use it for registerrpc.
20917 * sunrpc/xcrypt.c: Use it for passwd2des.
20918
20919 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20920
20921 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20922
20923 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20924 Don't define if [__SYSCALL_WORDSIZE != 32].
20925 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20926 New macro.
20927
20928 2012-05-21 Bruno Haible <bruno@clisp.org>
20929 Andreas Jaeger <aj@suse.de>
20930
20931 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20932 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20933 inptr and inend for must_buffer_ch.
20934 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20935 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20936 * stdio-common/Makefile (tests): Remove bug15.
20937 (bug15-ENV): Remove macro.
20938 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20939 anymore.
20940
20941 2012-05-19 Andreas Jaeger <aj@suse.de>
20942 Roland McGrath <roland@hack.frob.com>
20943
20944 * manual/contrib.texi: Completely rewritten. It contains now an
20945 alphabetical list of contributors and their contributions.
20946
20947 2012-05-21 Richard Henderson <rth@twiddle.net>
20948
20949 * misc/getauxval.c (__getauxval): Use unsigned long int.
20950 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20951 (getauxval): Use unsigned long int.
20952
20953 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20954
20955 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20956
20957 2012-05-21 Roland McGrath <roland@hack.frob.com>
20958
20959 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20960 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20961 __alignof__ (long double).
20962
20963 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20964
20965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20966
20967 2012-05-20 Richard Henderson <rth@twiddle.net>
20968
20969 * misc/getauxval.c: New file.
20970 * misc/sys/auxv.h: New file.
20971 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20972 (routines): Add getauxval.
20973 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20974 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20975 * elf/dl-sysdep.c (_dl_auxv): Remove.
20976 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20977 * elf/dl-support.c (_dl_auxv): New variable.
20978 (_dl_aux_init): Initialize it.
20979 * manual/startup.texi (Auxiliary Vector): New node.
20980 * sysdeps/generic/bits/hwcap.h: New file.
20981 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20982 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20983 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20984 * sysdeps/sparc/sysdep.h: ... here. Include it.
20985 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20986 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20988 Update.
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20997
20998 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20999
21000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21001
21002 2012-05-19 David S. Miller <davem@davemloft.net>
21003
21004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21005
21006 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21007
21008 [BZ #14123]
21009 * math/s_ccosh.c: Include <float.h>
21010 (__ccosh): Avoid internal overflow calculating sinh and cosh
21011 values before multiplying by sin and cos values.
21012 * math/s_ccoshf.c: Likewise.
21013 * math/s_ccoshl.c: Likewise.
21014 * math/s_csin.c: Likewise.
21015 * math/s_csinf.c: Likewise.
21016 * math/s_csinl.c: Likewise.
21017 * math/s_csinh.c: Likewise.
21018 * math/s_csinhf.c: Likewise.
21019 * math/s_csinhl.c: Likewise.
21020 * math/libm-test.inc (ccos_test): Add more tests.
21021 (ccosh_test): Likewise.
21022 (csin_test): Likewise.
21023 (csinh_test): Likewise.
21024 * sysdeps/i386/fpu/libm-test-ulps: Update.
21025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21026
21027 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21028
21029 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21030 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21031
21032 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21033
21034 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21035
21036 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21037 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21038 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21039 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21040 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21041 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21042 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21043 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21044 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21045 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21046 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21047 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21048 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21049 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21050 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21051 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21052 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21053 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21054 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21055 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21056 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21057 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21058 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21059 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21060 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21061 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21062 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21063 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21064 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21065 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21066 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21067
21068 2012-05-18 Andreas Jaeger <aj@suse.de>
21069
21070 * csu/.gitignore: Delete.
21071
21072 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21073
21074 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21075 (timex): Use __syscall_slong_t.
21076
21077 2012-05-18 Andreas Jaeger <aj@suse.de>
21078 Carlos O'Donell <carlos_odonell@mentor.com>
21079
21080 * manual/install.texi (Configuring and compiling): Update
21081 description about files modified in the source directory.
21082 * INSTALL: Regenerated.
21083
21084 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21085
21086 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21087 value. Use "or" to set return value to -1.
21088 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21089 negate return value.
21090
21091 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21092
21093 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21094 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21095 failure if the compiler has Graphite support disabled.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21097 Likewise.
21098 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21099 CFLAGS-memmove.c): Likewise.
21100 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21101 Likewise.
21102
21103 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21104
21105 * sysdeps/x86_64/x32/_itoa.h: New file.
21106
21107 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21108 getdents system call only if kernel and user dirents have the
21109 same d_ino and d_off.
21110
21111 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21112 LLONG_MAX != LONG_MAX.
21113 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21114 (_fitoa_word): Likewise.
21115
21116 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21117 years.
21118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21119 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21120 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21121
21122 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21123 include <bits/wordsize.h>. Check __x86_64__ instead of
21124 __WORDSIZE.
21125 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21126 if __x86_64__ is defined. Use anonymous union on fpstate.
21127
21128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21129 anonymous union.
21130
21131 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21132
21133 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21134 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21135 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21136 Refer to _rtld_local_ro instead of _rtld_global_ro.
21137 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21138 Likewise.
21139 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21140 Likewise.
21141 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21142 Likewise.
21143 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21144 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21145 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21146
21147 * sysdeps/powerpc/powerpc32/dl-machine.c
21148 (__elf_machine_runtime_setup) [PROF]: Don't reference
21149 _dl_prof_resolve.
21150
21151 2012-05-18 Andreas Jaeger <aj@suse.de>
21152
21153 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21154 function only available for GCCs before 3.4 since GCC 3.4
21155 introduced a builtin.
21156 (lrint): Likewise.
21157 (llrintf): Likewise.
21158 (llrint): Likewise.
21159 (fmaxf): Likewise.
21160 (fmax): Likewise.
21161 (fminf): Likewise.
21162 (fmin): Likewise.
21163 (rint): Likewise.
21164 (rintf): Likewise.
21165 (nearbyint): Likewise.
21166 (nearbyintf): Likewise.
21167 (ceil): Likewise.
21168 (ceilf): Likewise.
21169 (floor): Likewise.
21170 (floorf): Likewise.
21171
21172 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21173
21174 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21175 on both fields and cast pointer to __syscall_ulong_t.
21176
21177 * bits/types.h (__fsword_t): New type.
21178 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21179 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21181 (__FSWORD_T_TYPE): Likewise.
21182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21183 (__FSWORD_T_TYPE): Likewise.
21184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21185 (__FSWORD_T_TYPE): Likewise.
21186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21187 (__FSWORD_T_TYPE): Likewise.
21188 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21189 __SWORD_TYPE with __fsword_t.
21190 (statfs64): Likewise.
21191
21192 2012-05-17 David S. Miller <davem@davemloft.net>
21193
21194 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21195
21196 2012-05-17 Andreas Jaeger <aj@suse.de>
21197
21198 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21199 warning.
21200
21201 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21202
21203 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21204
21205 2012-05-17 Andreas Jaeger <aj@suse.de>
21206
21207 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21208 when it is used.
21209
21210 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21211
21212 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21213
21214 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21215
21216 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21217 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21218
21219 2012-05-17 Andreas Jaeger <aj@suse.de>
21220 Carlos O'Donell <carlos_odonell@mentor.com>
21221
21222 [BZ #14059]
21223 * sysdeps/x86_64/multiarch/init-arch.h
21224 (bit_YMM_Usable): Rename to...
21225 (bit_AVX_Usable): ... this.
21226 (bit_FMA4_Usable): New macro.
21227 (bit_XMM_state): New macro.
21228 (bit_YMM_state): New macro.
21229 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21230 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21231 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21232 (CPUID_OSXSAVE): New macro.
21233 (CPUID_AVX): New macro.
21234 (CPUID_FMA4): New macro.
21235 (index_YMM_Usable): Rename to...
21236 (index_AVX_Usable): ... this.
21237 (HAS_AVX): Use HAS_ARCH_FEATURE.
21238 (HAS_FMA4): Likewise.
21239 (HAS_YMM_USABLE): Remove.
21240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21241 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21242 are present.
21243 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21244 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21245 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21246 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21247 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21248
21249 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21250
21251 * math/libm-test.c: Support platforms without multiple rounding modes.
21252 * math/bug-nextafter.c: Support platforms without FP exceptions.
21253 * math/bug-nexttoward.c: Likewise.
21254 * math/test-fenv.c: Likewise.
21255 * math/test-misc.c: Likewise.
21256 * stdlib/bug-getcontext.c: Likewise.
21257
21258 2012-05-17 Andreas Jaeger <aj@suse.de>
21259
21260 * manual/examples/search.c (critter_cmp): Change signature to
21261 avoid warnings.
21262 * manual/string.texi (Collation Functions): Likewise.
21263
21264 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21265
21266 * bits/types.h: Fold copyright years.
21267 * bits/typesizes.h: Likewise.
21268 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21271 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21272 * time/time.h: Likewise.
21273
21274 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21275
21276 [BZ #208]
21277 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21278 in instead of returning them. Return void.
21279 (__libc_mallinfo): Accumulate over all arenas.
21280 (__malloc_stats): Adjust for change in int_mallinfo interface.
21281
21282 2012-05-16 Roland McGrath <roland@hack.frob.com>
21283
21284 [BZ #10375]
21285 * configure.in (NM): Add AC_CHECK_TOOL for it.
21286 (libc_extra_cflags): New substituted variable.
21287 Check for -fstack-protector being used implicitly.
21288 * configure: Regenerated.
21289 * config.make.in (config-extra-cflags): New variable,
21290 gets @libc_extra_cflags@.
21291 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21292
21293 [BZ #10375]
21294 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21295 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21296 * configure: Regenerated.
21297 * config.make.in (CPPUNDEFS): New substituted variable.
21298 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21299 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21300 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21301
21302 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21303
21304 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21305 (mq_attr): Use __syscall_slong_t.
21306
21307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21308
21309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21310 Check __x86_64__ instead of __WORDSIZE.
21311 (_STAT_VER_LINUX): Likewise.
21312 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21313 __syscall_ulong_t and __syscall_slong_t.
21314 (stat64): Likewise.
21315
21316 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21317
21318 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21319
21320 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21321
21322 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21323
21324 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21325
21326 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21327 __syscall_ulong_t.
21328
21329 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21330 include <bits/wordsize.h>. Check __x86_64__ instead of
21331 __WORDSIZE.
21332 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21333 defined.
21334 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21335
21336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21337 include <bits/wordsize.h>. Check __x86_64__ instead of
21338 __WORDSIZE.
21339 (user_regs_struct): Use "__extension__ unsigned long long"
21340 instead of "unsigned long" if __x86_64__ is defined.
21341 (user): Likewise. Pad after pointer field if __ILP32__ is
21342 defined.
21343
21344 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21345
21346 * configure.in (makeinfo): Require version 4.5 or later. Allow
21347 versions 5 to 9.
21348 * configure: Regenerated.
21349 * manual/install.texi (texinfo): Increase version requirement to
21350 4.5 or later.
21351 * INSTALL: Regenerated.
21352
21353 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21354
21355 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21356
21357 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21358
21359 * sysdeps/x86_64/x32/ffs.c: New file.
21360
21361 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21362 __syscall_ulong_t.
21363 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21364 defined. Use __syscall_ulong_t.
21365 (shminfo): Use __syscall_ulong_t.
21366 (shm_info): Likewise.
21367
21368 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21369 __syscall_ulong_t.
21370
21371 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21372 <bits/wordsize.h>.
21373 (msgqnum_t): Use __syscall_ulong_t.
21374 (msglen_t): Likewise.
21375 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21376 __syscall_ulong_t.
21377
21378 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21379 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21380
21381 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21382
21383 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21384 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21385
21386 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21387 __syscall_slong_t.
21388
21389 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21390 include <bits/wordsize.h>. Check __x86_64__ instead of
21391 __WORDSIZE.
21392
21393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21394 "unsigned long long int" if __x86_64__ is defined.
21395 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21396
21397 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21398 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21399 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21400
21401 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21402 <stdint.h>.
21403 (GET_PC): Cast to uintptr_t first.
21404 (GET_FRAME): Likewise.
21405 (GET_STACK): Likewise.
21406
21407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21408 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21410 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21413 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21414 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21415 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21416 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21417 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21419 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21421 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21423 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21424 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21425 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21426 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21427 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21429 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21431 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21433 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21434 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21435 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21436
21437 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21438
21439 * Makerules (+depfiles): Also collect depfiles from .oS in
21440 $(extra-objs).
21441 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21442 .oS, $(libnldbl-routines)).
21443
21444 * Makerules (native-compile-mkdep-flags): Define.
21445 * sunrpc/Makefile (extra-objs): Add $(addprefix
21446 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21447 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21448 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21449 calling $(make-target-directory).
21450
21451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21452
21453 * bits/types.h (__snseconds_t): Removed.
21454 * time/time.h (struct timespec): Replace __snseconds_t with
21455 __syscall_slong_t.
21456 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21457 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21458 Likewise.
21459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21460 (__SNSECONDS_T_TYPE): Likewise.
21461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21462 (__SNSECONDS_T_TYPE): Likewise.
21463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21464 (__SNSECONDS_T_TYPE): Likewise.
21465
21466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21467
21468 * sysdeps/mach/hurd/bits/typesizes.h
21469 (__SYSCALL_SLONG_TYPE): New macro.
21470 (__SYSCALL_ULONG_TYPE): Likewise.
21471
21472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21473
21474 * bits/types.h (__syscall_slong_t): New type.
21475 (__syscall_ulong_t): Likewise.
21476
21477 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21478 (__SYSCALL_ULONG_TYPE): Likewise.
21479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21480 (__SYSCALL_SLONG_TYPE): Likewise.
21481 (__SYSCALL_ULONG_TYPE): Likewise.
21482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21483 (__SYSCALL_SLONG_TYPE): Likewise.
21484 (__SYSCALL_ULONG_TYPE): Likewise.
21485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21486 (__SYSCALL_SLONG_TYPE): Likewise.
21487 (__SYSCALL_ULONG_TYPE): Likewise.
21488
21489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21490
21491 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21492 Add sigaltstack-offsets.sym.
21493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21494 <sigaltstack-offsets.h>.
21495 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21496 longjmp_msg pointer.
21497 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21498 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21499 signal stack.
21500 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21501
21502 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21503
21504 * elf/stackguard-macros.h: Remove file.
21505 * sysdeps/generic/stackguard-macros.h: New file.
21506 * sysdeps/i386/stackguard-macros.h: Likewise.
21507 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21508 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21509 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21510 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21511 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21512 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21513 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21514 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21515 <elf/stackguard-macros.h>.
21516
21517 [BZ #14109]
21518 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21519 __aligned__ in attribute.
21520 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21521 (gregset_t): Likewise.
21522
21523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21524
21525 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21526 * sysdeps/x86_64/64/Implies-after: Here. New file.
21527 * sysdeps/x86_64/x32/Implies-after: New file.
21528
21529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21530
21531 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21532 and access return value for _dl_profile_fixup. Use R10_LP to
21533 load frame size.
21534
21535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21536
21537 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21538
21539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21540
21541 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21542 * sysdeps/x86_64/x32/sysdep.h: New file.
21543
21544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21545
21546 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21547 * sysdeps/x86_64/setjmp.S: Likewise.
21548
21549 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21550
21551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21552 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21553 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21555 remove unused global constant.
21556
21557 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21558
21559 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21560 include of <not-cancel.h>.
21561
21562 2012-05-15 Roland McGrath <roland@hack.frob.com>
21563
21564 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21565
21566 2012-05-15 Jeff Law <law@redhat.com>
21567 Andreas Jaeger <aj@suse.de>
21568
21569 [BZ #13594]
21570 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21571 out from...
21572 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21573 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21574 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21575 code changing __hst_map_handle.map.
21576
21577 2012-05-15 Roland McGrath <roland@hack.frob.com>
21578
21579 * configure.in (sysnames): Look for Implies-before and Implies-after
21580 files.
21581 * configure: Regenerated.
21582
21583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21584
21585 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21586 8-byte data alignment with LP_SIZE alignment.
21587
21588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21589
21590 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21591 into R10_LP.
21592
21593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21594
21595 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21596
21597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21600 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21601 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21602 Likewise.
21603 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21604
21605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21606
21607 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21608 (stackinfo_sub_sp): Likewise.
21609
21610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21611
21612 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21613 RAX_LP.
21614
21615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21616
21617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21618 into R*_LP.
21619
21620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21621
21622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21623 sizes into R*_LP.
21624
21625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21626
21627 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21628
21629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21630
21631 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21632 into R11_LP and load __x86_64_shared_cache_size_half into
21633 R8_LP.
21634
21635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21636
21637 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21638 R8_LP.
21639
21640 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21641
21642 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21643 logb for POWER7.
21644 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21645 logbf for POWER7.
21646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21647 logbl for POWER7.
21648 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21649 powerpc32/power7/fpu/s_logb.c via #include.
21650 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21651 powerpc32/power7/fpu/s_logbf.c via #include.
21652 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21653 powerpc32/power7/fpu/s_logbl.c via #include.
21654
21655 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21656
21657 * README.libm: Remove file.
21658
21659 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21660
21661 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21662 count for x32. Use R*_LP and omit operand-size suffix.
21663
21664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21665
21666 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21667 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21668 * sysdeps/x86_64/x32/shlib-versions: New file.
21669
21670 2012-05-14 Roland McGrath <roland@hack.frob.com>
21671
21672 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21673 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21674 Use _dl_fatal_printf instead.
21675
21676 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21677
21678 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21679 set if not set by the user. Do not allow for being unset.
21680 * sysdeps/unix/sysv/linux/configure: Regenerated.
21681
21682 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21683
21684 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21685 the `q' suffix from lea and replace .quad with ASM_ADDR.
21686
21687 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21688
21689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21690 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21691 instead of $17.
21692 (PTR_DEMANGLE): Likewise.
21693
21694 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21695
21696 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21697 (LP_OP): Likewise.
21698 (ASM_ADDR): Likewise.
21699 (RAX_LP): Likewise.
21700 (RBP_LP): Likewise.
21701 (RBX_LP): Likewise.
21702 (RCX_LP): Likewise.
21703 (RDI_LP): Likewise.
21704 (RSI_LP): Likewise.
21705 (RSP_LP): Likewise.
21706 (R8_LP): Likewise.
21707 (R9_LP): Likewise.
21708 (R10_LP): Likewise.
21709 (R10_LP): Likewise.
21710 (R11_LP): Likewise.
21711 (R12_LP): Likewise.
21712 (R13_LP): Likewise.
21713 (R14_LP): Likewise.
21714 (R15_LP): Likewise.
21715
21716 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21717
21718 * sysdeps/x86_64/x32/dl-machine.h: New file.
21719
21720 2012-05-14 Andreas Jaeger <aj@suse.de>
21721
21722 * manual/Makefile (subdir): Remove export of subdir.
21723 (all): Remove target.
21724 (.PHONY): Remove all from list.
21725 (mkinstalldirs): Remove.
21726 (.PHONY): Remove installdirs from list.
21727 ($(inst_infodir)/libc.info): Use make-target-directory.
21728 (installdirs): Remove.
21729 (subdir_%): Remove.
21730 (glibc-targets): Remove.
21731 (lib): Remove.
21732 (stubs): Remove.
21733 ($(objpfx)stubs ../po/manual.pot): Remove.
21734 ($(objpfx)stamp%): Remove.
21735 (make-target-directory): Remove.
21736 (subdir_install): Remove.
21737 (routines): Remove.
21738 (aux): Remove.
21739 (sources): Remove.
21740 (objects): Remove.
21741 (headers): Remove.
21742
21743 [BZ #13750]
21744 * manual/.gitignore: Remove, it's not needed anymore.
21745 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21746 all files in it.
21747 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21748 directory.
21749 (texis): Renamed to $(objpfx)texis.
21750 (texis-path): New, contains path to generated files.
21751 (chapters.%): Use texis-path for complete path, add extra argument
21752 libc-texinfo.sh.
21753 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21754 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21755 (summary,texi, stamp-summary): Use complete path of
21756 files. Generate files in build dir.
21757 (dir-add.texi): Build in build dir.
21758 (libm-err.texi,stamp-libm-err): Likewise.
21759 (version.texi, stamp-version): Likewise.
21760 (.%c.texi): Likewise.
21761 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21762 (mostlyclean): Remove target.
21763 (realclean): Remove target.
21764 (generated): Add new variable with contents from mostlyclean and
21765 realclean, remove entries duplicated in common-mostlyclean, add
21766 stamp-libm-err and stamp-version.
21767 (generated-dirs): Add libc directory.
21768 ($(inst_infodir)/libc.info): Install files from build dir.
21769
21770 * manual/install.texi (Configuring and compiling): Adjust since
21771 the info files are not part of the tar ball anymore.
21772
21773 2012-05-14 Andreas Jaeger <aj@suse.de>
21774
21775 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21776 variable.
21777
21778 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21779
21780 [BZ #13717]
21781 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21782 to 2.2.0 where earlier.
21783 * sysdeps/unix/sysv/linux/configure: Regenerated.
21784 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21785 Remove conditional code.
21786 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21787 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21788 Remove conditional code.
21789 [!__NR_lchown]: Likewise.
21790 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21791 [__NR_lchown]: Likewise.
21792 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21793 comment referencing __ASSUME_LCHOWN_SYSCALL.
21794 * sysdeps/unix/sysv/linux/i386/sigaction.c
21795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21797 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21798 Remove conditional code.
21799 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21800 (__protocol_available): Remove #if 0 code.
21801 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21802 conditional code.
21803 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21804 * sysdeps/unix/sysv/linux/kernel-features.h
21805 (__ASSUME_GETCWD_SYSCALL): Don't define.
21806 (__ASSUME_REALTIME_SIGNALS): Likewise.
21807 (__ASSUME_PREAD_SYSCALL): Likewise.
21808 (__ASSUME_PWRITE_SYSCALL): Likewise.
21809 (__ASSUME_POLL_SYSCALL): Likewise.
21810 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21811 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21812 non-SPARC.
21813 (__ASSUME_SIOCGIFNAME): Don't define.
21814 (__ASSUME_MSG_NOSIGNAL): Likewise.
21815 (__ASSUME_SENDFILE): Define unconditionally.
21816 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21817 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21818 conditional code.
21819 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21820 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21821 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21822 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21823 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21824 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21825 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21827 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21830 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21833 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21850 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21851 Remove conditional code.
21852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21853 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21854 Remove conditional code.
21855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21856 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21857 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21858 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21859 Remove conditional code.
21860 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21861 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21862 Remove conditional code.
21863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21864 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21865 Remove conditional code.
21866 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21867 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21868 Remove conditional code.
21869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21870 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21871 Remove conditional code.
21872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21873 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21874 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21876 * sysdeps/unix/sysv/linux/sigaction.c
21877 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21878 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21879 * sysdeps/unix/sysv/linux/sigpending.c
21880 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21881 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21882 * sysdeps/unix/sysv/linux/sigprocmask.c
21883 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21884 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21885 * sysdeps/unix/sysv/linux/sigsuspend.c
21886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21888 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21889 (__libc_missing_rt_sigs): Remove.
21890 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21891 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21892 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21893 Remove conditional code.
21894 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21895 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21896 return 1.
21897 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21898 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21899 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21900 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21901
21902 2012-05-14 Andreas Jaeger <aj@suse.de>
21903
21904 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21905 it's not used in glibc.
21906 (__coshm1): Likewise.
21907 (__acosh1p): Likewise.
21908 (__sgn): Likewise.
21909
21910 * manual/string.texi (Copying and Concatenation): Add missing
21911 variable in concat example.
21912 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21913
21914 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21915
21916 [BZ #14103]
21917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21918 __builtin_clzl with __builtin_clzll.
21919
21920 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21921
21922 [BZ #14104]
21923 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21924 libc_freeres_ptr.
21925
21926 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21927
21928 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21929 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21930 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21931 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21932
21933 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21934
21935 * NEWS: Update ia64 info.
21936
21937 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21938
21939 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21940 used as bcopy.
21941
21942 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21943
21944 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21945 * sysdeps/unix/syscalls.list (dup3): Likewise.
21946 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21947 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21948
21949 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21950
21951 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21952 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21953
21954 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21955
21956 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21957 thread pointer.
21958 (TLS_IE): Use mov/add instead of movq/addq to load thread
21959 pointer.
21960 (TLS_GD_PREFIX): New.
21961 (TLS_GD): Use it.
21962
21963 2012-05-11 David S. Miller <davem@davemloft.net>
21964
21965 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21966 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21967 (_FPU_SETCW): Likewise.
21968
21969 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21970
21971 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21972 is 32-byte aligned.
21973
21974 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21975
21976 [BZ #11837]
21977 * iconvdata/gb18030.c: Update tables.
21978 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21979 characters specially.
21980 (BODY for TO_LOOP): Add encoding of missing ranges.
21981
21982 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21983
21984 [BZ #13673]
21985 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21986 * sysdeps/mach/hurd/dup3.c: Likewise.
21987 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21988 * sysdeps/powerpc/memmove.c:: Likewise.
21989
21990 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21991
21992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21993 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21994
21995 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21996
21997 * elf/elf.h (R_X86_64_RELATIVE64): New.
21998 (R_X86_64_NUM): Updated.
21999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22000 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22001 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22002 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22003 tst-quad1pie tst-quad2pie
22004 (modules-names): Add tst-quadmod1 tst-quadmod2.
22005 ($(objpfx)tst-quad1): New dependency.
22006 ($(objpfx)tst-quad2): Likewise.
22007 ($(objpfx)tst-quad1pie): Likewise.
22008 ($(objpfx)tst-quad2pie): Likewise.
22009 * sysdeps/x86_64/tst-quad1.c: New file.
22010 * sysdeps/x86_64/tst-quad1pie.c: New file.
22011 * sysdeps/x86_64/tst-quad2.c: Likewise.
22012 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22013 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22014 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22015 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22016 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22017
22018 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22019
22020 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22021 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22022 * streams/stropts.h (t_scalar_t): Define type.
22023
22024 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22025 (_PATH_PRESERVE): Set to "/var/lib".
22026 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22027
22028 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22029 instead of int.
22030
22031 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22032 if __dir_mkfile succeeded.
22033
22034 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22035 checking for _hurd_dtablesize. Unlock it right after having
22036 finished _hurd_dtable allocation.
22037
22038 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22039
22040 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22041 * sysdeps/mach/hurd/configure: Regenerated.
22042 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22043 special-casing to...
22044 * sysdeps/gnu/configure.in: ... this new file.
22045 * sysdeps/unix/sysv/linux/configure: Regenerated.
22046 * sysdeps/gnu/configure: New generated file.
22047
22048 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22049 for Linux: use nsec instead of usec, as well as:
22050 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22051 members of type struct timespec.
22052 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22053 New macros.
22054 (struct stat64): Likewise.
22055 (_STATBUF_ST_NSEC): New macro.
22056 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22057
22058 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22059 __strtoul_internal rather than strtoul.
22060
22061 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22062
22063 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22064 and reject them.
22065
22066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22067
22068 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22069 which preserves existing values.
22070 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22071
22072 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22073
22074 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22075 TIMEOUT values. Return EINVAL for NFDS values either negative or
22076 greater than FD_SETSIZE.
22077
22078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22079
22080 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22081 allocated, call __vm_protect to finish enabling the existing space, and
22082 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22083 allocate the remainder.
22084
22085 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22086
22087 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22088 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22089
22090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22091
22092 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22093 sysdeps/mach/hurd/readlink.c.
22094
22095 * posix/tst-sysconf.c (posix_options): Only use
22096 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22097 _POSIX_SYNCHRONIZED_IO when they are defined
22098 * sysdeps/mach/hurd/bits/posix_opt.h:
22099 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22100 (_XOPEN_REALTIME): Undefine macro.
22101 (_XOPEN_REALTIME_THREADS): Undefine macro.
22102 (_XOPEN_SHM): Undefine macro.
22103 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22104 macro to -1.
22105 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22106 macro to -1.
22107 (_POSIX_ASYNC_IO): Undefine macro.
22108 (_POSIX_PRIORITIZED_IO): Undefine macro.
22109 (_POSIX_SPIN_LOCKS): Define macro to -1.
22110
22111 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22112 SA_NODEFER, SA_RESETHAND.
22113 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22114 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22115 F_DUPFD_CLOEXEC.
22116
22117 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22118
22119 * elf/Makefile (pldd-modules): Define unconditionally.
22120
22121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22122
22123 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22124
22125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22126
22127 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22128 Return ENOENT when name is empty.
22129 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22130
22131 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22132
22133 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22134
22135 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22136
22137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22138
22139 Fix mlock in all cases except non-readable pages.
22140 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22141 instead of VM_PROT_ALL as parameter to __vm_wire function.
22142
22143 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22144 (__mkdir): When path is `/', just fail with EEXIST.
22145 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22146
22147 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22148
22149 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22150 <sys/uio.h> (for writev).
22151 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22152 and <sys/param.h> (for MIN).
22153
22154 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22155
22156 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22157 REQUESTED_TIME. Properly set the remaining time and return EINTR
22158 if interrupted.
22159
22160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22161
22162 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22163 Depend on against $(link-rpcuserlibs).
22164
22165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22166
22167 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22168 (__libc_stack_end): Do not use attribute_relro.
22169 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22170 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22171 to libthread-provided value.
22172 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22173 attribute_relro.
22174
22175 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22176
22177 [BZ #3748]
22178 * bits/libc-lock.h (__libc_once_get): New macro.
22179 * sysdeps/mach/bits/libc-lock.h: Likewise.
22180 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22182 instead of using implementation details.
22183
22184 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22185 * libio/freopen.c: Likewise.
22186 * libio/freopen64.c: Likewise.
22187 * misc/syslog.c: Likewise.
22188 * nscd/connections.c: Likewise.
22189 * nscd/netgroupcache.c: Likewise.
22190 * sysdeps/posix/getcwd.c: Likewise.
22191
22192 2012-05-10 Roland McGrath <roland@hack.frob.com>
22193
22194 * math/w_ilogbf.c: Add #include <limits.h>.
22195
22196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22197
22198 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22199 path instead of returning without unlocking.
22200
22201 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22202 immediate-write ioctls.
22203 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22204
22205 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22206
22207 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22208 __builtin_frame_address instead of making assumptions about the
22209 location of the return address relative to DATA. Force early load of
22210 the return address.
22211 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22212 __builtin_frame_address.
22213
22214 dup3 for GNU Hurd.
22215 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22216 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22217 implement dup3 and do some further code clean-ups.
22218 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22219 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22220
22221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22222
22223 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22224
22225 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22226 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22227 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22228 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22229 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22230 d->port.lock.
22231
22232 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22233 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22234 when handler == SIG_ERR, not when handler != SIG_ERR.
22235
22236 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22237
22238 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22239 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22240 definitions.
22241
22242 accept4 for GNU Hurd.
22243 * include/sys/socket.h (__libc_accept4): New prototype.
22244 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22245 to implement __libc_accept4.
22246 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22247 __libc_accept4.
22248 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22249
22250 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22251 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22252 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22253 signal-defines.sym.
22254
22255 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22256
22257 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22258
22259 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22260
22261 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22262 assertion on O_CLOEXEC flag.
22263 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22264 * hurd/intern-fd.c: Likewise.
22265 * hurd/port2fd.c: Likewise.
22266
22267 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22268
22269 [BZ #3906]
22270 * bits/in.h (IPV6_PKTINFO): Define new macro.
22271 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22272
22273 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22274
22275 [BZ #13954]
22276 [BZ #13955]
22277 [BZ #13956]
22278 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22280 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22281 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22282 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22283 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22284 * math/libm-test.inc (logb_test) : Additional logb tests.
22285
22286 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22287 Andreas Jaeger <aj@suse.de>
22288
22289 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22290 * configure: Regenerated.
22291 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22292 * config.make.in (link-obsolete-rpc): New substituted variable.
22293 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22294 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22295 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22296 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22297 so that libc.a contains the symbols.
22298 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22299 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22300 * sunrpc/auth_none.c: Likewise.
22301 * sunrpc/auth_unix.c: Likewise.
22302 * sunrpc/authdes_prot.c: Likewise.
22303 * sunrpc/authuxprot.c: Likewise.
22304 * sunrpc/clnt_gen.c: Likewise.
22305 * sunrpc/clnt_perr.c: Likewise.
22306 * sunrpc/clnt_raw.c: Likewise.
22307 * sunrpc/clnt_simp.c: Likewise.
22308 * sunrpc/clnt_tcp.c: Likewise.
22309 * sunrpc/clnt_udp.c: Likewise.
22310 * sunrpc/clnt_unix.c: Likewise.
22311 * sunrpc/des_crypt.c: Likewise.
22312 * sunrpc/des_soft.c: Likewise.
22313 * sunrpc/get_myaddr.c: Likewise.
22314 * sunrpc/key_call.c: Likewise.
22315 * sunrpc/key_prot.c: Likewise.
22316 * sunrpc/netname.c: Likewise.
22317 * sunrpc/pm_getmaps.c: Likewise.
22318 * sunrpc/pm_getport.c: Likewise.
22319 * sunrpc/pmap_clnt.c: Likewise.
22320 * sunrpc/pmap_prot.c: Likewise.
22321 * sunrpc/pmap_prot2.c: Likewise.
22322 * sunrpc/pmap_rmt.c: Likewise.
22323 * sunrpc/publickey.c: Likewise.
22324 * sunrpc/rpc_cmsg.c: Likewise.
22325 * sunrpc/rpc_common.c: Likewise.
22326 * sunrpc/rpc_dtable.c: Likewise.
22327 * sunrpc/rpc_prot.c: Likewise.
22328 * sunrpc/rpc_thread.c: Likewise.
22329 * sunrpc/rtime.c: Likewise.
22330 * sunrpc/svc.c: Likewise.
22331 * sunrpc/svc_auth.c: Likewise.
22332 * sunrpc/svc_raw.c: Likewise.
22333 * sunrpc/svc_run.c: Likewise.
22334 * sunrpc/svc_tcp.c: Likewise.
22335 * sunrpc/svc_udp.c: Likewise.
22336 * sunrpc/svc_unix.c: Likewise.
22337 * sunrpc/svcauth_des.c: Likewise.
22338 * sunrpc/xcrypt.c: Likewise.
22339 * sunrpc/xdr.c: Likewise.
22340 * sunrpc/xdr_array.c: Likewise.
22341 * sunrpc/xdr_float.c: Likewise.
22342 * sunrpc/xdr_intXX_t.c: Likewise.
22343 * sunrpc/xdr_mem.c: Likewise.
22344 * sunrpc/xdr_rec.c: Likewise.
22345 * sunrpc/xdr_ref.c: Likewise.
22346 * sunrpc/xdr_sizeof.c: Likewise.
22347 * sunrpc/xdr_stdio.c: Likewise.
22348
22349 2012-05-10 Roland McGrath <roland@hack.frob.com>
22350
22351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22352 change. Update copyright years.
22353
22354 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22355
22356 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22357
22358 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22359 Joseph Myers <joseph@codesourcery.com>
22360 Paul Pluzhnikov <ppluzhnikov@google.com>
22361
22362 [BZ #14012]
22363 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22364 requiring rpcgen.
22365 [cross-compiling] (extra-libs): Likewise.
22366 [cross-compiling] (extra-libs-others): Likewise.
22367 [cross-compiling] (librpcsvc-routines): Likewise.
22368 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22369 [cross-compiling] (omit-deps): Likewise.
22370 (sunrpc-CPPFLAGS): New variable.
22371 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22372 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22373 (cross-rpcgen-objs): New variable.
22374 (extra-objs): Append $(cross-rpcgen-objs).
22375 ($(cross-rpcgen-objs)): New rule.
22376 ($(objpfx)cross-rpcgen): Likewise.
22377 (rpcgen-cmd): Define to use $(built-program-file). Expand
22378 comment.
22379 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22380 ($(objpfx)x%.stmp): Likewise.
22381 * sunrpc/proto.h [IS_IN_build] (_): Define.
22382 [IS_IN_build] (_libc_intl_domainname): Likewise.
22383
22384 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22385
22386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22387 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22388 and R_X86_64_TPOFF64.
22389
22390 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22391
22392 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22393 sysdeps/unix/sysv/syscalls.list.
22394 (stime): Likewise.
22395 (utime): Likewise.
22396 * sysdeps/unix/sysv/syscalls.list: Remove file.
22397
22398 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22399
22400 [BZ #3440]
22401 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22402 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22403 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22404 (__LC_IDENTIFICATION): Make these macros useful in #if
22405 expressions, as required by C99.
22406
22407 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22408
22409 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22410 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22411 after this.
22412
22413 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22414
22415 * stdlib/longlong.h: Updated from GCC.
22416
22417 2012-05-09 Andreas Jaeger <aj@suse.de>
22418
22419 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22420 default is first entry.
22421 (run_mode): Set type.
22422 (main): Remove informal message about syslog.
22423 (options): Fix typo.
22424
22425 [BZ #14053]
22426 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22427 to asm.
22428 (lrint): Likewise.
22429 (llrintf): Likewise.
22430 (llrint): Likewise.
22431 (rint): Likewise.
22432 (rintf): Likewise.
22433 (nearbyint): Likewise.
22434 (nearbyintf): Likewise.
22435
22436 2012-05-09 Andreas Jaeger <aj@suse.de>
22437 Pedro Alves <palves@redhat.com>
22438
22439 * nscd/nscd.c (run_mode): Use enum.
22440 (main): Cleanup coding style issue.
22441
22442 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22443 Andreas Jaeger <aj@suse.de>
22444
22445 * nscd/nscd.c (go_background): Replaced with...
22446 (run_mode): ... this.
22447 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22448 (options): Add -F --foreground.
22449 (main): Implement it.
22450 (parse_opt): Parse it.
22451
22452 2012-05-09 Andreas Jaeger <aj@suse.de>
22453
22454 [BZ #14083]
22455 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22456 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22457 -Wconversion warning.
22458 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22459 Likewise.
22460
22461 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22462
22463 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22464 == 0.
22465 (LC_ALL): Use macro-int-constant.
22466 (LC_COLLATE): Likewise.
22467 (LC_CTYPE): Likewise.
22468 (LC_MESSAGES): Likewise.
22469 (LC_MONETARY): Likewise.
22470 (LC_NUMERIC): Likewise.
22471 (LC_TIME): Likewise.
22472 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22473 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22475 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22476 Specify type.
22477 [C99-based standards] (float_t): Expect type.
22478 [C99-based standards] (double_t): Expect type.
22479 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22480 type.
22481 [C99-based standards] (HUGE_VALL): Likewise.
22482 [C99-based standards] (INFINITY): Likewise.
22483 [C99-based standards] (NAN): Likewise.
22484 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22485 [C99-based standards] (FP_NAN): Likewise.
22486 [C99-based standards] (FP_NORMAL): Likewise.
22487 [C99-based standards] (FP_SUBNORMAL): Likewise.
22488 [C99-based standards] (FP_ZERO): Likewise.
22489 [C99-based standards] (FP_FAST_FMA): Use
22490 optional-macro-int-constant. Specify type. Require == 1.
22491 [C99-based standards] (FP_FAST_FMAF): Likewise.
22492 [C99-based standards] (FP_FAST_FMAL): Likewise.
22493 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22494 [C99-based standards] (FP_ILOGBNAN): Likewise.
22495 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22496 Specify type.
22497 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22498 [C99-based standards] (math_errhandling): Specify type.
22499 [ISO99 || ISO11] (signgam): Do not allow.
22500 [non-C99-based standards] (copysignf): Do not allow.
22501 [non-C99-based standards] (exp2f): Likewise.
22502 [non-C99-based standards] (log2f): Likewise.
22503 [non-C99-based standards] (modff): Allow.
22504 [non-C99-based standards] (erff): Do not allow.
22505 [non-C99-based standards] (erfcf): Likewise.
22506 [non-C99-based standards] (gammaf): Likewise.
22507 [non-C99-based standards] (hypotf): Likewise.
22508 [non-C99-based standards] (j0f): Likewise.
22509 [non-C99-based standards] (j1f): Likewise.
22510 [non-C99-based standards] (jnf): Likewise.
22511 [non-C99-based standards] (lgammaf): Likewise.
22512 [non-C99-based standards] (tgammaf): Likewise.
22513 [non-C99-based standards] (y0f): Likewise.
22514 [non-C99-based standards] (y1f): Likewise.
22515 [non-C99-based standards] (ynf): Likewise.
22516 [non-C99-based standards] (isnanf): Likewise.
22517 [non-C99-based standards] (acoshf): Likewise.
22518 [non-C99-based standards] (asinhf): Likewise.
22519 [non-C99-based standards] (atanhf): Likewise.
22520 [non-C99-based standards] (cbrtf): Likewise.
22521 [non-C99-based standards] (expm1f): Likewise.
22522 [non-C99-based standards] (ilogbf): Likewise.
22523 [non-C99-based standards] (log1pf): Likewise.
22524 [non-C99-based standards] (logbf): Likewise.
22525 [non-C99-based standards] (nextafterf): Likewise.
22526 [non-C99-based standards] (remainderf): Likewise.
22527 [non-C99-based standards] (rintf): Likewise.
22528 [non-C99-based standards] (scalbf): Likewise.
22529 [non-C99-based standards] (copysignl): Likewise.
22530 [non-C99-based standards] (exp2l): Likewise.
22531 [non-C99-based standards] (log2l): Likewise.
22532 [non-C99-based standards] (modfl): Allow.
22533 [non-C99-based standards] (erfl): Do not allow.
22534 [non-C99-based standards] (erfcl): Likewise.
22535 [non-C99-based standards] (gammal): Likewise.
22536 [non-C99-based standards] (hypotl): Likewise.
22537 [non-C99-based standards] (j0l): Likewise.
22538 [non-C99-based standards] (j1l): Likewise.
22539 [non-C99-based standards] (jnl): Likewise.
22540 [non-C99-based standards] (lgammal): Likewise.
22541 [non-C99-based standards] (tgammal): Likewise.
22542 [non-C99-based standards] (y0l): Likewise.
22543 [non-C99-based standards] (y1l): Likewise.
22544 [non-C99-based standards] (ynl): Likewise.
22545 [non-C99-based standards] (isnanl): Likewise.
22546 [non-C99-based standards] (acoshl): Likewise.
22547 [non-C99-based standards] (asinhl): Likewise.
22548 [non-C99-based standards] (atanhl): Likewise.
22549 [non-C99-based standards] (cbrtl): Likewise.
22550 [non-C99-based standards] (expm1l): Likewise.
22551 [non-C99-based standards] (ilogbl): Likewise.
22552 [non-C99-based standards] (log1pl): Likewise.
22553 [non-C99-based standards] (logbl): Likewise.
22554 [non-C99-based standards] (nextafterl): Likewise.
22555 [non-C99-based standards] (remainderl): Likewise.
22556 [non-C99-based standards] (rintl): Likewise.
22557 [non-C99-based standards] (scalbl): Likewise.
22558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22559 [non-C99-based standards] (FP_*): Do not allow.
22560 [C99-based standards] (FP_*): Change to
22561 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22562 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22563 allow.
22564 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22565 (SIG_ERR): Likewise.
22566 [X/Open-based standards] (SIG_HOLD): Likewise.
22567 (SIG_IGN): Likewise.
22568 (SIGABRT): Use macro-int-constant. Specify type. Require
22569 positive value.
22570 (SIGFPE): Likewise.
22571 (SIGILL): Likewise.
22572 (SIGINT): Likewise.
22573 (SIGSEGV): Likewise.
22574 (SIGTER): Likewise.
22575 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22576 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22577 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22578 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22579 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22580 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22581 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22582 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22583 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22584 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22585 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22586 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22587 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22588 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22589 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22590 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22591 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22592 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22593 [X/Open-based standards] (SIGTRAP): Likewise.
22594 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22595 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22596 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22597 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22598 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22599 allow.
22600
22601 2012-05-08 Ian Wienand <ianw@vmware.com>
22602
22603 [BZ #14080]
22604 * time/tzset.c (__tzset_parse_tz): Update default rules for
22605 daylight time changes in the Energy Policy Act of 2005.
22606
22607 2012-05-09 Andreas Jaeger <aj@suse.de>
22608
22609 [BZ #13983]
22610 * elf/ldconfig.c (parse_conf): Change string to make clear that
22611 ldconfig only issued a warning if ld.so.conf does not exist.
22612
22613 2012-05-08 David S. Miller <davem@davemloft.net>
22614
22615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22616 movxtod instead of popping the value on the stack.
22617
22618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22619
22620 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22621
22622 * config.h.in: Add HAVE_ARM_PCS_VFP.
22623
22624 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22625
22626 [BZ #13979]
22627 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22628 checking but the checks are disabled for any reason.
22629
22630 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22631
22632 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22633 and ELF64_R_TYPE with ELFW(R_TYPE).
22634
22635 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22636
22637 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22638 (ulimit): Likewise.
22639
22640 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22641 (settimeofday): Likewise.
22642
22643 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22644
22645 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22646 a struct th_u2 inside the union, and move tu_block/tu_code into
22647 a new th_u3 union of tu_block/tu_code inside of that. Move
22648 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22649 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22650 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22651 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22652 (th_stuff): Change to th_u1.tu_stuff.
22653 (th_data): Define.
22654 (th_msg): Change to th_u1.th_u2.tu_data.
22655
22656 2012-05-07 David S. Miller <davem@davemloft.net>
22657
22658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22659
22660 [BZ #14074]
22661 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22662 (SETUP_PIC_REG): Use it.
22663 (SETUP_PIC_REG_LEAF): Use it.
22664
22665 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22666
22667 [BZ #13885]
22668 [BZ #13923]
22669 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22670 USE_AS_EXPM1L.
22671 (EXPL_FINITE): Likewise.
22672 (FLDLOG): Likewise.
22673 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22674 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22675 e_expl.S.
22676 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22677 USE_AS_EXPM1L.
22678 (EXPL_FINITE): Likewise.
22679 (FLDLOG): Likewise.
22680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22681 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22682 e_expl.S.
22683 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22684 test of -max_value argument for long double.
22685 * sysdeps/i386/fpu/libm-test-ulps: Update.
22686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22687
22688 2012-05-06 David S. Miller <davem@davemloft.net>
22689
22690 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22691 quad soft-float symbols whose references which are compiler
22692 generated.
22693 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22694
22695 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22696
22697 [BZ #13884]
22698 [BZ #13914]
22699 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22700 USE_AS_EXP10L.
22701 (EXPL_FINITE): Likewise.
22702 (FLDLOG): Likewise.
22703 (c0): Likewise.
22704 (c1): Likewise.
22705 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22706 Adjust comments for base varying.
22707 (__expl_finite): Change alias to EXPL_FINITE.
22708 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22709 e_expl.S.
22710 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22711 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22712 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22713 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22715 USE_AS_EXP10L.
22716 (EXPL_FINITE): Likewise.
22717 (FLDLOG): Likewise.
22718 (c0): Likewise.
22719 (c1): Likewise.
22720 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22721 Adjust comments for base varying.
22722 (__expl_finite): Change alias to EXPL_FINITE.
22723 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22724 tests for bugs.
22725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22726
22727 [BZ #14064]
22728 * math/libm-test.inc (check_float_internal): Correct ulp
22729 calculation for subnormal expected results.
22730
22731 2012-05-06 Andreas Jaeger <aj@suse.de>
22732
22733 * Makeconfig (+math-flags): New, set to -frounding-math.
22734 (+cflags): Add +math-flags so that all of glibc gets compiled with
22735 it.
22736
22737 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22738
22739 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22740
22741 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22742 Disable one test.
22743
22744 [BZ #13787]
22745 [BZ #13922]
22746 [BZ #14036]
22747 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22748 (__ieee754_expl): Allow for and saturate large arguments.
22749 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22750 (u_threshold): Likewise.
22751 (__exp): Call __ieee754_exp before checking for overflow and
22752 underflow.
22753 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22754 (u_threshold): Likewise.
22755 (__expf): Call __ieee754_expf before checking for overflow and
22756 underflow.
22757 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22758 (u_threshold): Likewise.
22759 (__expl): Call __ieee754_expl before checking for overflow and
22760 underflow.
22761 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22762 (__ieee754_expl): Allow for and saturate large arguments.
22763 * math/libm-test.inc (exp_test): Add another test. Do not allow
22764 missing overflow exception on overflow.
22765 (expm1_test): Do not allow missing overflow exception on overflow.
22766
22767 * sysdeps/i386/fpu/e_expl.c: Move to ...
22768 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22769 rather than using inline asm.
22770 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22771 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22772 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22773
22774 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22775 (nice): Likewise.
22776 (poll): Likewise.
22777 (signal): Likewise.
22778 (time): Likewise.
22779 (times): Likewise.
22780
22781 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22782
22783 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22784 sysdeps/unix/common/syscalls.list.
22785 (fchmod): Likewise.
22786 (fchown): Likewise.
22787 (ftruncate): Likewise.
22788 (getrusage): Likewise.
22789 (gettimeofday): Likewise.
22790 (setpgid): Likewise.
22791 (setregid): Likewise.
22792 (setreuid): Likewise.
22793 (sigaction): Likewise.
22794 (truncate): Likewise.
22795 (vhangup): Likewise.
22796 * sysdeps/unix/common/syscalls.list: Remove file.
22797 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22798 * sysdeps/unix/sysv/linux/Implies: Likewise.
22799
22800 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22801
22802 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22804 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22805 Moved to ...
22806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22807 Here.
22808 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22809 to ...
22810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22811 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22812 to ...
22813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22814 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22815 to ...
22816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22817 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22818 to ...
22819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22820 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22821 to ...
22822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22823 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22824 to ...
22825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22826 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22827 to ...
22828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22829 Here.
22830 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22831 to ...
22832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22833 Here.
22834 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22835 to ...
22836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22837 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22838 Moved to ...
22839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22840 Here.
22841 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22842 to ...
22843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22844
22845 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22846
22847 * sysdeps/unix/common/bits/dirent.h: Remove file.
22848 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22849
22850 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22851 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22852 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22853 * sysdeps/unix/bsd/isatty.c: Likewise.
22854 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22855 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22856 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22857
22858 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22859
22860 [BZ #13563]
22861 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22862 long double comparison inaccuracies.
22863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22865
22866 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22867
22868 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22869 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22870
22871 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22872
22873 [BZ #14049]
22874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22875 nonzero digits before rounding a hex value.
22876 * stdlib/tst-strtod.c (tests): Add another test.
22877
22878 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22879
22880 * sysdeps/s390/fpu/libm-test-ulps: Update.
22881
22882 2012-05-03 Andreas Jaeger <aj@suse.de>
22883
22884 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22885 does not get optimized out.
22886 (malloc_opt_barrier): New.
22887
22888 2012-05-03 Andreas Jaeger <aj@suse.de>
22889 Roland McGrath <roland@hack.frob.com>
22890
22891 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22892 intermediate file deletion.
22893 (generated): Add .symlist files.
22894
22895 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22896
22897 [BZ #13775]
22898 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22899 Redirect under this condition.
22900 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22901 [__USE_GNU] (__dprintf_chk): Not under this condition.
22902 [__USE_GNU] (__vdprintf_chk): Likewise.
22903 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22904 under this condition.
22905 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22906 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22907 [__USE_XOPEN2K8] (vdprintf): Likewise.
22908 [__USE_GNU] (__dprintf_chk): Not under this condition.
22909 [__USE_GNU] (__vdprintf_chk): Likewise.
22910 [__USE_GNU] (dprintf): Likewise.
22911 [__USE_GNU] (vdprintf): Likewise.
22912
22913 2012-05-03 Roland McGrath <roland@hack.frob.com>
22914
22915 * elf/Makefile (common-generated): Set this instead of generated for
22916 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22917 $(all-built-dso)-derived lists.
22918
22919 2012-05-03 Andreas Jaeger <aj@suse.de>
22920
22921 * sysdeps/i386/fpu/libm-test-ulps: Update.
22922
22923 * FAQ: Removed.
22924 * FAQ.in: Likewise.
22925 * scripts/gen-FAQ.pl: Likewise.
22926 * manual/install.texi (Installation): Point to online location of
22927 FAQ.
22928 * Makefile (files-for-dist): Remove FAQ.
22929 (FAQ): Remove.
22930
22931 2012-05-02 Allan McRae <allan@archlinux.org>
22932
22933 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22934 (LDFLAGS-reldepmod5.so): Likewise.
22935 (LDFLAGS-reldep6mod1.so): Likewise.
22936 (LDFLAGS-reldep6mod4.so): Likewise.
22937 (LDFLAGS-reldep8mod3.so): Likewise.
22938 (LDFLAGS-unload4mod1.so): Likewise.
22939 (LDFLAGS-unload4mod2.so): Likewise.
22940 (LDFLAGS-tst-initorder): Likewise.
22941 (LDFLAGS-tst-initordera2.so): Likewise.
22942 (LDFLAGS-tst-initordera3.so): Likewise.
22943 (LDFLAGS-tst-initordera4.so): Likewise.
22944 (LDFLAGS-tst-initorderb2.so): Likewise.
22945 (LDFLAGS-noload): Likewise.
22946 (LDFLAGS-next): Likewise.
22947 (LDFLAGS-order2mod1.so): Likewise.
22948 (LDFLAGS-order2mod2.so): Likewise.
22949 (LDFLAGS-tst-initorder2): Likewise.
22950 (LDFLAGS-tst-initorder2a.so): Likewise.
22951 (LDFLAGS-tst-initorder2b.so): Likewise.
22952 (LDFLAGS-tst-initorder2c.so): Likewise.
22953 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22954
22955 2012-05-02 David S. Miller <davem@davemloft.net>
22956
22957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22958
22959 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22960
22961 [BZ #14055]
22962 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22963
22964 2012-05-02 Andreas Jaeger <aj@suse.de>
22965
22966 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22967 since we manipulate rounding mode.
22968 (CPPFLAGS-test-idouble.c): Likewise.
22969 (CPPFLAGS-test-ifloat.c): Likewise.
22970 (CFLAGS-test-ldouble.c): Likewise.
22971 (CFLAGS-test-double.c): Likewise.
22972 (CFLAGS-test-float.c): Likewise.
22973 (CFLAGS-test-misc.c): Likewise.
22974 (CFLAGS-test-test-fenv.c): Likewise.
22975
22976 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22977
22978 [BZ #2550]
22979 [BZ #2570]
22980 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22981 comparisons to determine direction to adjust input.
22982
22983 2012-05-01 Roland McGrath <roland@hack.frob.com>
22984
22985 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22986 output to the target.
22987
22988 * scripts/localplt.awk: New file.
22989 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22990 (check-localplt-CFLAGS): Variable removed.
22991 ($(all-built-dso:=.jmprel)): New static pattern rule.
22992 (generated): Add those targets.
22993 (localplt-built-dso): New variable.
22994 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22995
22996 * elf/check-localplt.c: File removed.
22997
22998 * scripts/check-execstack.awk: New file.
22999 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23000 (check-execstack-CFLAGS): Variable removed.
23001 ($(objpfx)check-execstack.h): Target removed.
23002 ($(objpfx)execstack-default): New target.
23003 (generated): Add that instead of check-execstack.h.
23004 ($(all-built-dso:=.phdr)): New static pattern rule.
23005 (generated): Add those targets.
23006 * elf/check-execstack.c: File removed.
23007
23008 * scripts/check-textrel.awk: New file.
23009 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23010 (check-textrel-CFLAGS): Variable removed.
23011 (all-built-dso): Use := to define.o
23012 ($(all-built-dso:=.dyn)): New static pattern rule.
23013 (generated): Add those targets.
23014 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23015 * config.make.in (READELF): New substituted variable.
23016 * elf/check-textrel.c: File removed.
23017
23018 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23019
23020 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23021 allow.
23022 * conform/data/ctype.h-data [C99-based standards] (isblank):
23023 Expect function.
23024 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23025 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23027 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23028 Specify type. Require positive value.
23029 (EILSEQ): Likewise.
23030 (ERANGE): Likewise.
23031 [ISO || POSIX] (EILSEQ): Do not expect.
23032 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23033 Specify type. Require positive value.
23034 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23035 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23036 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23037 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23038 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23039 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23040 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23041 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23042 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23043 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23044 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23045 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23046 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23047 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23048 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23049 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23050 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23051 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23052 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23053 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23054 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23055 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23056 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23057 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23058 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23059 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23060 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23061 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23062 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23063 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23064 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23065 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23066 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23067 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23068 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23069 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23070 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23071 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23072 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23073 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23074 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23075 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23076 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23077 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23078 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23079 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23080 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23081 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23082 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23083 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23084 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23085 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23086 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23087 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23088 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23089 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23090 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23091 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23092 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23093 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23094 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23095 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23096 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23097 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23098 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23099 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23100 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23101 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23102 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23103 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23104 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23105 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23106 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23107 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23108 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23109 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23110 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23111 Require >= 2.
23112 (FLT_ROUNDS): Expect as macro, not constant.
23113 (FLT_MANT_DIG): Use macro-int-constant.
23114 (DBL_MANT_DIG): Likewise.
23115 (LDBL_MANT_DIG): Likewise.
23116 (FLT_DIG): Likewise.
23117 (DBL_DIG): Likewise.
23118 (LDBL_DIG): Likewise.
23119 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23120 (DBL_MIN_EXP): Likewise.
23121 (LDBL_MIN_EXP): Likewise.
23122 (FLT_MAX_EXP): Use macro-int-constant.
23123 (DBL_MAX_EXP): Likewise.
23124 (LDBL_MAX_EXP): Likewise.
23125 (FLT_MAX_10_EXP): Likewise.
23126 (DBL_MAX_10_EXP): Likewise.
23127 (LDBL_MAX_10_EXP): Likewise.
23128 (FLT_MAX): Use macro-constant.
23129 (DBL_MAX): Likewise.
23130 (LDBL_MAX): Likewise.
23131 (FLT_EPSILON): Use macro-constant. Give upper bound.
23132 (DBL_EPSILON): Likewise.
23133 (LDBL_EPSILON): Likewise.
23134 (FLT_MIN): Likewise.
23135 (DBL_MIN): Likewise.
23136 (LDBL_MIN): Likewise.
23137 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23138 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23139 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23140 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23141 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23142 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23143 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23144 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23145 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23146 [ISO11] (FLT_TRUE_MIN): Likewise.
23147 [ISO11] (LDBL_TRUE_MIN): Likewise.
23148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23149 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23150 (SCHAR_MIN): Use macro-int-constant. Specify type.
23151 (SCHAR_MAX): Likewise.
23152 (UCHAR_MAX): Likewise.
23153 (CHAR_MIN): Likewise.
23154 (CHAR_MAX): Likewise.
23155 (MB_LEN_MAX): Use macro-int-constant.
23156 (SHRT_MIN): Use macro-int-constant. Specify type.
23157 (SHRT_MAX): Likewise.
23158 (USHRT_MAX): Likewise.
23159 (INT_MAX): Likewise.
23160 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23161 bound negative.
23162 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23163 bound with "U".
23164 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23165 bound with "L".
23166 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23167 bound negative. Suffix upper bound with "L".
23168 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23169 bound with "UL".
23170 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23171 Specify type.
23172 [C99-based standards] (LLONG_MAX): Likewise.
23173 [C99-based standards] (ULLONG_MAX): Likewise.
23174 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23175 == 0.
23176 [ISO11] (max_align_t): Require type.
23177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23178
23179 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23180 from $CFLAGS, without defining away __attribute__ calls.
23181 (checknamespace): Use $CFLAGS_namespace.
23182
23183 * conform/conformtest.pl (@keywords): Only include C99 keywords
23184 for standards based on C99 or C11.
23185
23186 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23187 Disable tests.
23188 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23189 UNIX98]: Likewise.
23190
23191 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23192 usability of symbols in #if.
23193
23194 * conform/conformtest.pl: If macro or constant types start
23195 "promoted:", expect the symbol to be of the following type
23196 promoted by the integer promotions.
23197
23198 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23199 in one place. Also handle "macro-constant".
23200
23201 * conform/conformtest.pl: Only accept expected macro values with
23202 "==". Parse all "macro" lines in one place.
23203 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23204
23205 * conform/conformtest.pl: Handle braced types on "constant" lines
23206 instead of handling "typed-constant".
23207 * conform/data/signal.h-data: Use "constant" instead of
23208 "typed-constant".
23209
23210 * conform/conformtest.pl: Handle "optional-" at start of lines in
23211 one place rather than duplicating several cases. Handle each
23212 format of "macro" line with initial "optional-".
23213
23214 * conform/conformtest.pl: Only accept expected constant or
23215 optional-constant values with "==". Parse all "constant" lines in
23216 one place. Parse all "optional-constant" lines in one place.
23217 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23218 * conform/data/fmtmsg.h-data: Likewise.
23219 * conform/data/netinet/in.h-data: Likewise.
23220 * conform/data/tar.h-data: Likewise.
23221 * conform/data/limits.h-data: Use "==" form on "constant" and
23222 "optional-constant" lines.
23223
23224 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23225 Use -std=c99 for XOPEN2K.
23226 (@knownproblems): Remove.
23227 (newtoken): Don't check %isknown.
23228
23229 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23230 Do not expect macro.
23231 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23233 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23234 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23235 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23243 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23244 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23251 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23252 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23253 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23254 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23255 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23256 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23257 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23258 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23259 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23261 [XPG3] (acosh): Likewise.
23262 [XPG3] (asinh): Likewise.
23263 [XPG3] (atanh): Likewise.
23264 [XPG3] (cbrt): Likewise.
23265 [XPG3] (expm1): Likewise.
23266 [XPG3] (ilogb): Likewise.
23267 [XPG3] (log1p): Likewise.
23268 [XPG3] (logb): Likewise.
23269 [XPG3] (nextafter): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23272 [XPG3] (remainder): Likewise.
23273 [XPG3] (rint): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23281 [UNIX98 || XOPEN2K] (scalb): Expect.
23282 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23283 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23300 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23301 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23302 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23303 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23304 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23307 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23308 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23311 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23312 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23316 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23317 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23318 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23320 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23321 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23322 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23323 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23324 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23325 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23326 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23327 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23328 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23329 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23330 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23331 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23332 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23333 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23334 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23335 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23336 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23337 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23338 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23339 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23340 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23341 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23342 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23343 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23344 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23345 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23346 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23347 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23348 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23349 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23350 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23351 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23352 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23353 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23354 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23355 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23356 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23357 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23358 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23359 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23360 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23361 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23362 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23363 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23364 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23365 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23366 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23367 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23368 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23369 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23370 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23371 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23372 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23373 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23374 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23375 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23376 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23377 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23378 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23379 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23380 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23381 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23382 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23383 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23384 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23385 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23386 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23387 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23388 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23389 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23390 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23391 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23392 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23393 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23394 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23395 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23396 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23397 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23398 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23399 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23400 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23401 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23402 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23403 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23404 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23405 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23406 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23407 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23408 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23409 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23410 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23411 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23412 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23413 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23414 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23415 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23416 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23417 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23418 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23419
23420 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23421 _XOPEN_SOURCE_EXTENDED for XPG4.
23422
23423 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23424
23425 * Makeconfig (localtime): Remove variable.
23426 (inst_localtime-file): Likewise.
23427
23428 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23429
23430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23431 Update.
23432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23433 Update.
23434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23435 Update.
23436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23437 Update.
23438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23439 Update.
23440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23441 Update.
23442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23443 Update.
23444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23445 Update.
23446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23447 Update.
23448
23449 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23450
23451 [BZ #2550]
23452 [BZ #2570]
23453 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23454 comparisons to determine direction to adjust input.
23455 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23456 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23457 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23458 Likewise.
23459 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23460 Likewise.
23461 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23462 Likewise.
23463 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23464 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23465 Likewise.
23466 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23467 Likewise.
23468 * math/libm-test.inc (nexttoward_test): Add more tests.
23469
23470 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23471
23472 [BZ #14040]
23473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23474 in version GLIBC_2.1, not GLIBC_2.0.
23475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23476 Likewise.
23477
23478 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23479
23480 [BZ #13942]
23481 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23482 (1 - x) * (1 + x).
23483 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23484 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23485 * math/libm-test.inc (acos_test): Add more tests.
23486 (asin_test): Likewise.
23487 * sysdeps/i386/fpu/libm-test-ulps: Update.
23488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23489
23490 [BZ #14034]
23491 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23492 of square root.
23493 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23494 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23495 * math/libm-test.inc (acos_test_tonearest): New function.
23496 (acos_test_towardzero): Likewise.
23497 (acos_test_downward): Likewise.
23498 (acos_test_upward): Likewise.
23499 (asin_test_tonearest): Likewise.
23500 (asin_test_towardzero): Likewise.
23501 (asin_test_downward): Likewise.
23502 (asin_test_upward): Likewise.
23503 (main): Call the new functions.
23504 * sysdeps/i386/fpu/libm-test-ulps: Update.
23505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23506
23507 [BZ #13884]
23508 [BZ #13924]
23509 * math/e_exp10.c: Include <float.h>.
23510 (__ieee754_exp10): Handle underflow here rather than multiplying
23511 large negative argument by M_LN10.
23512 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23513 of __ieee754_expf.
23514 * math/e_exp10l.c: Include <float.h>.
23515 (__ieee754_exp10l): Handle underflow here rather than multiplying
23516 large negative argument by M_LN10l.
23517 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23518 spurious overflow exception on underflow.
23519
23520 2012-04-29 Marek Polacek <polacek@redhat.com>
23521
23522 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23523 (__fortify_function): New macro.
23524 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23525 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23526 __extern_always_inline.
23527 * libio/bits/stdio2.h: Likewise.
23528 * libio/bits/stdio.h: Likewise.
23529 * string/string.h: Likewise.
23530 * string/bits/string3.h: Likewise.
23531 * include/stdio.h: Likewise.
23532 * stdlib/bits/stdlib.h: Likewise.
23533 * stdlib/stdlib.h: Likewise.
23534 * rt/bits/mqueue2.h: Likewise.
23535 * rt/mqueue.h: Likewise.
23536 * posix/bits/unistd.h: Likewise.
23537 * posix/unistd.h: Likewise.
23538 * io/bits/poll2.h: Likewise.
23539 * io/bits/fcntl2.h: Likewise.
23540 * io/fcntl.h: Likewise.
23541 * io/sys/poll.h: Likewise.
23542 * misc/bits/syslog.h: Likewise.
23543 * misc/bits/syslog-ldbl.h: Likewise.
23544 * misc/sys/syslog.h: Likewise.
23545 * socket/bits/socket2.h: Likewise.
23546 * socket/sys/socket.h: Likewise.
23547 * debug/tst-chk1.c: Likewise.
23548 * wcsmbs/bits/wchar2.h: Likewise.
23549 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23550 * wcsmbs/wchar.h: Likewise.
23551
23552 2012-04-29 Andreas Jaeger <aj@suse.de>
23553
23554 * Makerules (tests): Remove enable-check-abi protection.
23555 (check-abi-warn): Remove.
23556 (check-abi-%): Remove check-abi-warn usage.
23557
23558 * configure.in: Remove check-abi configure option.
23559 * configure: Regenerated.
23560 * config.make.in (enable-check-abi): Remove.
23561
23562 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23563
23564 [BZ #14033]
23565 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23566 double functions to double *_finite functions.
23567
23568 [BZ #13941]
23569 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23570 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23571 LDBL_MIN_EXP.
23572 * stdio-common/Makefile (tests): Add tst-sprintf3.
23573 * stdio-common/tst-sprintf3.c: New file.
23574
23575 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23576 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23577
23578 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23579
23580 * conform/conformtest.pl: Remove duplicate typed-constant
23581 handling.
23582
23583 2012-04-28 David S. Miller <davem@davemloft.net>
23584
23585 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23586 (check-abi-%): Remove AWK script prerequisite and explicit
23587 abilist directory.
23588 (check-abi): Rewrite to just diff the symlist with the abilist.
23589 (config-tls, config-abi-config): Delete, no longer used.
23590 (update-abi-%): Remove AWK script and explicit abilist directory.
23591 (update-abi): Rewrite to simply compare and conditionally copy the
23592 symlist and the sysdep abilist file. Remove update-abi-config
23593 checks.
23594 * abilist/ld.abilist: Remove.
23595 * abilist/libBrokenLocale.abilist: Remove.
23596 * abilist/libanl.abilist: Remove.
23597 * abilist/libcrypt.abilist: Remove.
23598 * abilist/libdl.abilist: Remove.
23599 * abilist/librt.abilist: Remove.
23600 * abilist/libthread_db.abilist: Remove.
23601 * abilist/libutil.abilist: Remove.
23602 * scripts/extract-abilist.awk: Remove.
23603 * scripts/merge-abilist.awk: Remove.
23604 * sysdeps/generic/libcidn.abilist: New file.
23605 * sysdeps/generic/libnss_compat.abilist: New file.
23606 * sysdeps/generic/libnss_db.abilist: New file.
23607 * sysdeps/generic/libnss_dns.abilist: New file.
23608 * sysdeps/generic/libnss_files.abilist: New file.
23609 * sysdeps/generic/libnss_hesiod.abilist: New file.
23610 * sysdeps/generic/libnss_nis.abilist: New file.
23611 * sysdeps/generic/libnss_nisplus.abilist: New file.
23612 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23613 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23614 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23615 file.
23616 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23617 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23618 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23619 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23620 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23621 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23622 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23623 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23624 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23625 file.
23626 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23627 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23628 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23629 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23630 file.
23631 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23632 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23633 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23634 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23635 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23636 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23637 file.
23638 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23639 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23640 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23641 file.
23642 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23644 New file.
23645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23646 New file.
23647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23648 New file.
23649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23650 New file.
23651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23652 New file.
23653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23654 New file.
23655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23656 New file.
23657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23658 New file.
23659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23660 New file.
23661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23662 New file.
23663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23664 New file.
23665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23666 New file.
23667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23668 New file.
23669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23670 file.
23671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23672 New file.
23673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23674 New file.
23675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23676 file.
23677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23678 New file.
23679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23680 New file.
23681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23682 file.
23683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23684 New file.
23685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23686 New file.
23687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23688 New file.
23689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23690 New file.
23691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23692 New file.
23693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23694 New file.
23695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23697 file.
23698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23699 New file.
23700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23701 file.
23702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23703 file.
23704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23705 file.
23706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23707 file.
23708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23709 file.
23710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23711 New file.
23712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23713 file.
23714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23715 file.
23716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23717 New file.
23718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23719 file.
23720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23722 file.
23723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23724 New file.
23725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23726 file.
23727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23728 file.
23729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23730 file.
23731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23732 file.
23733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23734 file.
23735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23736 New file.
23737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23738 file.
23739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23740 file.
23741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23742 New file.
23743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23744 file.
23745 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23746 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23747 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23748 file.
23749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23750 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23751 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23752 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23753 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23754 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23755 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23756 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23757 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23758 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23761 file.
23762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23763 New file.
23764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23765 file.
23766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23767 file.
23768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23769 file.
23770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23771 file.
23772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23773 file.
23774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23775 New file.
23776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23777 New file.
23778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23779 file.
23780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23781 New file.
23782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23783 file.
23784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23786 file.
23787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23788 New file.
23789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23790 file.
23791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23792 file.
23793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23794 file.
23795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23796 file.
23797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23798 file.
23799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23800 New file.
23801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23802 New file.
23803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23804 file.
23805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23806 New file.
23807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23808 file.
23809
23810 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23811
23812 * conform/conformtest.pl: Fix typo in handling typed-constant from
23813 allow-header.
23814
23815 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23816
23817 * README: Cut down references to pre-2.6 Linux kernels and
23818 Linuxthreads. Update lists of configurations in libc and ports
23819 and sort alphabetically. Say "or newer" with Linux kernel version
23820 requirements.
23821
23822 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23823
23824 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23825
23826 [BZ #887]
23827 * math/libm-test.inc (logb_test_downward): New test to expose
23828 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23829 rounding mode.
23830
23831 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23832
23833 [BZ #14027]
23834 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23835 to be done.
23836 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23837 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23838
23839 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23840
23841 * sysdeps/unix/i386/brk.S: Remove file.
23842 * sysdeps/unix/i386/dl-brk.S: Likewise.
23843 * sysdeps/unix/i386/pipe.S: Likewise.
23844 * sysdeps/unix/i386/sigreturn.S: Likewise.
23845 * sysdeps/unix/i386/syscall.S: Likewise.
23846 * sysdeps/unix/i386/vfork.S: Likewise.
23847 * sysdeps/unix/i386/wait.S: Likewise.
23848
23849 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23850 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23851
23852 * configure.in (arm*-none*): Do not allow without
23853 --enable-hacker-mode.
23854 (netbsd*): Remove case setting base_os.
23855 (386bsd*): Likewise.
23856 (freebsd*): Likewise.
23857 (bsdi*): Likewise.
23858 (osf*): Likewise.
23859 (sunos*): Likewise.
23860 (ultrix*): Likewise.
23861 (newsos*): Likewise.
23862 (dynix*): Likewise.
23863 (*bsd*): Likewise.
23864 (sysv*): Likewise.
23865 (isc*): Likewise.
23866 (esix*): Likewise.
23867 (sco*): Likewise.
23868 (minix*): Likewise.
23869 (irix4*): Likewise.
23870 (irix6*): Likewise.
23871 (solaris[2-9]*): Likewise.
23872 (none): Likewise.
23873 * configure: Regenerated.
23874
23875 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23876
23877 [BZ #11521]
23878 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23879 overflow or cancellation in calculating denominator.
23880 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23881 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23882 down expression to avoid unexpected rounding in newer GCCs.
23883 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23884
23885 2012-04-26 David S. Miller <davem@davemloft.net>
23886
23887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23888 long-double compat symbols.
23889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23902
23903 2012-04-25 David S. Miller <davem@davemloft.net>
23904
23905 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23906 HWCAP_* values only after the memory barriers have been defined.
23907 (atomic_full_barrier): Define.
23908 (atomic_read_barrier): Define.
23909 (atomic_write_barrier): Define.
23910
23911 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23912
23913 * shlib-versions: Add libgcc_s version information.
23914 * sysdeps/generic/libgcc_s.h: Remove.
23915 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23916 libgcc_s.h.
23917 * sysdeps/gnu/unwind-resume.c: Likewise.
23918 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23919
23920 2012-04-25 David S. Miller <davem@davemloft.net>
23921
23922 * sysdeps/unix/sparc/brk.S: Delete.
23923 * sysdeps/unix/sparc/dl-brk.S: Delete.
23924 * sysdeps/unix/sparc/pipe.S: Delete.
23925 * sysdeps/unix/sparc/sysdep.S: Delete.
23926 * sysdeps/unix/sparc/sysdep.h: Delete.
23927 * sysdeps/unix/sparc/vfork.S: Delete.
23928 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23929 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23930 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23931 ret_ERRVAL, r0, r1, MOVE): Define.
23932 (JUMPTARGET): Remove.
23933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23934 sysdeps/unix/sparc/sysdep.h
23935 (ENTRY, END): Remove.
23936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23937
23938 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23939
23940 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23941 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23942 -DIS_IN_build.
23943
23944 * timezone/README: Update upstream location and email address for
23945 tzcode and tzdata.
23946 * timezone/zdump.c: Update from tzcode 2012b.
23947 * timezone/zic.c: Likewise.
23948
23949 * configure.in (libc_cv_as_needed): Remove test.
23950 * configure: Regenerated.
23951 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23952 conditional definition.
23953 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23954 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23955 * config.make.in (have-as-needed): Remove variable.
23956
23957 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23958 Paul Pluzhnikov <ppluzhnikov@google.com>
23959
23960 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23961 strings correctly.
23962
23963 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23964
23965 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23966 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23967 * sysdeps/sh/strlen.S: Likewise.
23968
23969 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23970
23971 * sysdeps/unix/fork.S: Remove file.
23972 * sysdeps/unix/i386/fork.S: Likewise.
23973 * sysdeps/unix/sparc/fork.S: Likewise.
23974
23975 * sysdeps/unix/system.c: Remove file.
23976 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23977
23978 * sysdeps/unix/getegid.S: Remove file.
23979 * sysdeps/unix/geteuid.S: Likewise.
23980
23981 2012-04-24 Roland McGrath <roland@hack.frob.com>
23982
23983 * scripts/check-localplt.awk: New file.
23984 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23985 of diff.
23986 * scripts/data/localplt-generic.data: Add a comment.
23987
23988 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23989 NODE when __dir_mkfile failed.
23990 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23991 Reported by Ludovic Courtès <ludo@gnu.org>.
23992
23993 2012-04-24 Andreas Jaeger <aj@suse.de>
23994
23995 * Makerules (common-clean): Also remove gen-as-const-headers
23996 files.
23997
23998 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23999
24000 * Makerules (native-compile): Do not change working directory for
24001 build. Use $(OUTPUT_OPTION) in command.
24002 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24003
24004 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24005
24006 [BZ #13886]
24007 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24008 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24009 * math/libm-test.inc (floor_test): Add more tests.
24010 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24011
24012 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24013
24014 * sysdeps/unix/getdents.c: Remove file.
24015 * sysdeps/unix/sysv/getdents.c: Likewise.
24016 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24017
24018 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24019 sysdeps/unix/mman/syscalls.list.
24020 (mmap): Likewise.
24021 (mprotect): Likewise.
24022 (msync): Likewise.
24023 (munmap): Likewise.
24024 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24025 * sysdeps/unix/mman/syscalls.list: Remove.
24026 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24027
24028 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24029 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24030 * configure: Regenerated.
24031 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24032 $(libgcc_s_suffix).
24033 * config.make.in (libgcc_s_suffix): Remove variable.
24034
24035 2012-04-23 Joseph Myers <joseph@codesourcery.com>
24036
24037 * sysdeps/unix/sysv/gethostname.c: Move to ...
24038 * sysdeps/posix/gethostname.c: ... here.
24039
24040 * sysdeps/unix/execve.S: Remove file.
24041
24042 * sysdeps/unix/_exit.S: Remove file.
24043
24044 2012-04-23 Andreas Jaeger <aj@suse.de>
24045
24046 [BZ #13739]
24047 * manual/Makefile: Remove make dist support, there's no
24048 need for a stand-alone documentation tar ball.
24049 (TEXI2DVI): Define always, it's not in Makeconfig.
24050 (dist): Removed.
24051 (tar-it): Removed.
24052 (edition): Removed.
24053 (glibc-doc-$(edition).tar): Removed
24054 (%.Z): Removed.
24055 (%.gz): Removed.
24056 (%.uu): Removed.
24057 (ETAGS): Remove, it's in Makeconfig.
24058 (move-if-change): Remove, it's in Makeconfig.
24059
24060 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
24061
24062 [BZ #13970]
24063 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24064 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24065 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24066 (strtod_l, strtof_l, strtold_l): Remove __wur.
24067 It is not necessarily an error to ignore strtol's return value.
24068 One can reliably look at the stored endptr to decide whether
24069 the number had valid syntax.
24070
24071 2012-04-21 Andreas Jaeger <aj@suse.de>
24072
24073 [BZ #13739]
24074 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24075
24076 2012-04-21 Joseph Myers <joseph@codesourcery.com>
24077
24078 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24079 * sysdeps/unix/sysv/Versions: Remove file.
24080
24081 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24082
24083 [BZ #13927]
24084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24085
24086 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
24087
24088 [BZ #7064]
24089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24090 version from __vm86.
24091
24092 2012-04-20 Joseph Myers <joseph@codesourcery.com>
24093
24094 * sysdeps/unix/common/lxstat.c: Remove file.
24095 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24096
24097 * sysdeps/unix/sysv/Makefile: Remove file.
24098
24099 * sysdeps/unix/sysv/direct.h: Remove file.
24100
24101 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24102 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24103 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24104 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24105 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24106 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24107 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24108
24109 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24110
24111 * sysdeps/unix/xmknod.c: Remove file.
24112 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24113
24114 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24115
24116 * sysdeps/unix/sysv/i386/time.S: Remove file.
24117
24118 * sysdeps/unix/fxstat.c: Remove file.
24119 * sysdeps/unix/xstat.c: Likewise.
24120 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24121
24122 * sysdeps/unix/sysv/sigaction.c: Remove file.
24123
24124 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24125 (sysdep_headers): Remove variable.
24126 [termio.h not in sysdep_headers] (generated): Likewise.
24127 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24128 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24129 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24130 * sysdeps/unix/sysv/tcflow.c: Likewise.
24131 * sysdeps/unix/sysv/tcflush.c: Likewise.
24132 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24133 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24134 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24135 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24136 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24137
24138 * sysdeps/unix/siglist.c: Remove file.
24139
24140 * sysdeps/unix/getppid.S: Remove file.
24141
24142 * sysdeps/unix/mkdir.c: Remove file.
24143 * sysdeps/unix/rmdir.c: Likewise.
24144
24145 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24146
24147 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24148 ERR_MAX value.
24149 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24150 errlist-compat value.
24151
24152 2012-04-18 David S. Miller <davem@davemloft.net>
24153
24154 * sysdeps/generic/memcopy.h (reg_char): Delete.
24155 * debug/strcat_chk.c: Use char, not reg_char.
24156 * debug/strcpy_chk.c: Likewise.
24157 * debug/strncat_chk.c: Likewise.
24158 * debug/strncpy_chk.c: Likewise.
24159 * string/memchr.c: Likewise.
24160 * string/memrchr.c: Likewise.
24161 * string/rawmemchr.c: Likewise.
24162 * string/strcat.c: Likewise.
24163 * string/strchr.c: Likewise.
24164 * string/strchrnul.c: Likewise.
24165 * string/strcmp.c: Likewise.
24166 * string/strcpy.c: Likewise.
24167 * string/strncat.c: Likewise.
24168 * string/strncmp.c: Likewise.
24169 * string/strncpy.c: Likewise.
24170
24171 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24172
24173 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24174 __builtin_memcopy is called when src and dest ranges are known to not
24175 overlap.
24176
24177 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24178
24179 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24180 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24181 fwd_align_merge macro call.
24182 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24183 bwd_align_merge macro call.
24184 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24185
24186 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24187
24188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24189 bwd_align_merge macros.
24190 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24191 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24192 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24193
24194 2012-04-18 David S. Miller <davem@davemloft.net>
24195
24196 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24197
24198 2012-04-18 Andreas Jaeger <aj@suse.de>
24199
24200 [BZ# 6794]
24201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24202 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24203 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24204
24205 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24206 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24207 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24208
24209 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24210 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24211 Adjust for changed ldbl-128 files.
24212
24213 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24214 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24215 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24216
24217 2012-04-17 David S. Miller <davem@davemloft.net>
24218
24219 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24220
24221 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24222
24223 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24224 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24225 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24226 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24227 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24228 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24229
24230 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24231
24232 [BZ #6794]
24233 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24234 * math/libm-test.inc: Add ilogb errno and exception tests.
24235 * math/w_ilogb.c: New file: ilogb wrapper.
24236 * math/w_ilogbf.c: New file: ilogbf wrapper.
24237 * math/w_ilogbl.c: New file: ilogbl wrapper.
24238 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24239 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24240 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24241 exception being thrown with 0.0 as argument.
24242 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24243 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24244 exception being thrown with 0.0 as argument.
24245 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24246 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24247 exception being thrown with 0.0 as argument.
24248 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24249 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24250 exception being thrown with 0.0 as argument.
24251 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24252 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24254 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24255 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24256 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24257 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24258 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24259 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24260
24261 2012-04-17 Petr Baudis <pasky@ucw.cz>
24262
24263 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24264 with altivec.
24265
24266 2012-04-16 Marek Polacek <polacek@redhat.com>
24267
24268 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24269
24270 2012-04-16 Marek Polacek <polacek@redhat.com>
24271
24272 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24273 operands of fdivp instruction.
24274
24275 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24276
24277 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24278 * elf/tst-auditmod3b.c: Likewise.
24279 * elf/tst-auditmod4b.c: Likewise.
24280 * elf/tst-auditmod5b.c: Likewise.
24281 * elf/tst-auditmod6b.c: Likewise.
24282 * elf/tst-auditmod6c.c: Likewise.
24283 * elf/tst-auditmod7b.c: Likewise.
24284 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24285 * sysdeps/x86_64/preconfigure.in: Likewise.
24286 * sysdeps/x86_64/preconfigure: Regenerated.
24287
24288 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24289
24290 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24291 __ILP32__.
24292
24293 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24294
24295 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24296 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24297
24298 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24299
24300 [BZ #13973]
24301 * locale/iso-639.def: Fix gl language name. Spotted by
24302 Yaron Shahrabani.
24303
24304 2012-04-12 Roland McGrath <roland@hack.frob.com>
24305
24306 [BZ #2074]
24307 * libio/libio.h (__io_write_fn): Update comment.
24308
24309 2012-04-12 Petr Baudis <pasky@ucw.cz>
24310
24311 [BZ #2074]
24312 * stdio.texi (Hook Functions): The user provided writer function
24313 is not allowed to return -1.
24314
24315 2012-04-11 David S. Miller <davem@davemloft.net>
24316
24317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24318
24319 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24320
24321 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24322 Add a leading slash to rtkaio.
24323
24324 2012-04-11 Jim Meyering <meyering@redhat.com>
24325
24326 [BZ #11959]
24327 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24328 It is not necessarily an error to ignore fwrite's return
24329 value. One can reliably use ferror to test for errors after
24330 the fact.
24331
24332 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24333
24334 * bits/types.h (__snseconds_t): New type.
24335 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24336
24337 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24339 (__SNSECONDS_T_TYPE): Likewise.
24340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24341 (__SNSECONDS_T_TYPE): Likewise.
24342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24343 (__SNSECONDS_T_TYPE): Likewise.
24344
24345 2012-04-10 Andreas Jaeger <aj@suse.de>
24346
24347 [BZ #2636]
24348 * manual/time.texi (Processor Time): Return type of times is
24349 elapsed real time since an arbitrary point in the past.
24350 (CPU Time): Move CLK_TCK from here...
24351 (Processor Time): ...to here. Correct description.
24352 * manual/conf.texi (Constants for Sysconf): Correct description of
24353 _SC_CLK_TCK.
24354
24355 2012-04-10 David S. Miller <davem@davemloft.net>
24356
24357 [BZ #13967]
24358 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24359 where the is a gap between DT_REL(A) and DT_JMPREL.
24360
24361 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24362
24363 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24364 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24365 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24366
24367 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24368
24369 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24370 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24371 (dl_main): Handle --inhibit-cache.
24372 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24373 _dl_inhibit_cache.
24374 * elf/dl-load.c (_dl_map_object): Use it.
24375 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24376
24377 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24378
24379 [BZ #13872]
24380 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24381 (__ieee754_powl): Saturate large exponents rather than testing for
24382 overflow of y*log2(x).
24383 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24384 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24385 exceptions.
24386
24387 [BZ #11521]
24388 * math/s_ctan.c: Include <float.h>.
24389 (__ctan): Avoid internal overflow or cancellation in calculating
24390 denominator.
24391 * math/s_ctanf.c: Likewise.
24392 * math/s_ctanl.c: Likewise.
24393 * math/s_ctanh.c: Likewise.
24394 * math/s_ctanhf.c: Likewise.
24395 * math/s_ctanhl.c: Likewise.
24396 * math/libm-test.inc (ctan_test): Add more tests.
24397 (ctanh_test): Likewise.
24398 * sysdeps/i386/fpu/libm-test-ulps: Update.
24399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24400
24401 2012-04-09 Andreas Jaeger <aj@suse.de>
24402
24403 [BZ #6894]
24404 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24405 is an optional BSD extension.
24406
24407 [BZ #10254]
24408 * manual/stdio.texi (Opening Streams): Document additional fopen
24409 parameters.
24410
24411 2012-04-09 Roland McGrath <roland@hack.frob.com>
24412
24413 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24414 %eax without telling the compiler.
24415
24416 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24417
24418 [BZ # 13963]
24419 * manual/install.texi: Use sourceware.org.
24420
24421 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24422
24423 [BZ #13873]
24424 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24425 (__ieee754_pow): Generate overflow and underflow using huge*huge
24426 and tiny*tiny rather than just returning constant infinity or zero
24427 for large exponents.
24428 * math/libm-test.inc (pow_test): Require overflow exceptions for
24429 applicable cases of large exponents.
24430
24431 [BZ #706]
24432 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24433 (__ieee754_pow): Use iterative multiplication algorithm only for
24434 integer exponents with absolute value below 1024. Check for odd
24435 integer exponents when using algorithm for real exponents.
24436 * math/libm-test.inc (pow_test): Add more tests.
24437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24438
24439 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24440
24441 [BZ #13705]
24442 * math/libm-test.inc (exp_test): Do not allow overflow exception
24443 on underflow test.
24444
24445 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24446
24447 [BZ #13705]
24448 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24449 instead of __kernel_standard_f.
24450
24451 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24452
24453 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24454 * sysdeps/x86_64/memset_chk.S: Likewise.
24455
24456 2012-04-08 Andreas Jaeger <aj@suse.de>
24457
24458 [BZ #10153]
24459 * manual/startup.texi (Environment Access): Describe return value
24460 for putenv and setenv.
24461
24462 [BZ #6895]
24463 * manual/filesys.texi (Directory Entries): Add description for
24464 DT_LNK.
24465
24466 [BZ #6890]
24467 * manual/filesys.texi (Directory Entries): Clarify that it's file
24468 system not operating system in the description of DT_UNKNOWN.
24469
24470 [BZ #6578]
24471 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24472
24473 2012-04-08 Stephen Compall <s11@member.fsf.org>
24474
24475 [BZ #6649]
24476 * manual/llio.texi (Opening and Closing Files): Add cross
24477 reference to explain mode argument.
24478
24479 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24480
24481 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24482 * sysdeps/x86_64/memset_chk.S: Likewise.
24483
24484 2012-04-07 David S. Miller <davem@davemloft.net>
24485
24486 * elf/elf.h (R_SPARC_WDISP10): Define.
24487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24488 R_SPARC_SIZE32.
24489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24490 R_SPARC_SIZE64 and R_SPARC_H34.
24491
24492 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24493
24494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24495 conditions and remove no longer applicable assertion.
24496
24497 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24498
24499 * bits/byteswap.h: Include <features.h>.
24500 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24501 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24502
24503 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24504
24505 * bits/byteswap.h (__bswap_16): Removed.
24506 Include <bits/byteswap-16.h> to get __bswap_16.
24507 * sysdeps/i386/bits/byteswap.h: Likewise.
24508 * sysdeps/s390/bits/byteswap.h: Likewise.
24509 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24510 * bits/byteswap-16.h: New file.
24511 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24512 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24513 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24514 * string/Makefile (headers): Add bits/byteswap-16.h.
24515
24516 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24517
24518 [BZ #13895]
24519 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24520 extra indirection.
24521 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24522 * nss/tst-nss-static.c: New.
24523
24524 2012-04-06 Robert Millan <rmh@gnu.org>
24525
24526 [BZ #6486]
24527 * manual/llio.texi (File Position Primitive): lseek
24528 refers to WHENCE when it really means OFFSET.
24529
24530 2012-04-06 Andreas Jaeger <aj@suse.de>
24531
24532 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24533 strncmp declarations.
24534
24535 * abilist/libc.abilist: Add __poll and __ppoll.
24536
24537 2012-04-05 David S. Miller <davem@davemloft.net>
24538
24539 * scripts/check-local-headers.sh: Accept a host triplet in the
24540 path matched by the exclude regexp.
24541
24542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24543 definition.
24544 * sysdeps/powerpc/powerpc32/dl-machine.h
24545 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24546 * sysdeps/s390/s390-32/dl-machine.h
24547 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24548 * sysdeps/sparc/sparc32/dl-machine.h
24549 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24550 * sysdeps/sparc/sparc64/dl-machine.h
24551 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24552
24553 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24554 lazy binding.
24555 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24556 undefined symbol errors.
24557
24558 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24559 DT_NEEDED entries.
24560
24561 2012-04-05 Michael Matz <matz@suse.de>
24562
24563 [BZ #13592]
24564 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24565
24566 2012-04-05 Andreas Jaeger <aj@suse.de>
24567
24568 [BZ #13908]
24569 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24570 comment.
24571
24572 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24573
24574 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24575 which ROUND is no valid rounding mode.
24576
24577 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24578
24579 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24580 read again.
24581 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24582
24583 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24584
24585 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24586 an exception using FPU order intentionally.
24587
24588 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24589
24590 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24591 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24592 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24593 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24594
24595 2012-04-05 Simon Josefsson <simon@josefsson.org>
24596
24597 [BZ #12340]
24598 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24599 EINVAL when BUFLEN is too smal.
24600
24601 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24602
24603 [BZ #13553]
24604 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24605 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24606
24607 2012-04-03 Andreas Jaeger <aj@suse.de>
24608
24609 [BZ #13938]
24610 * manual/setjmp.texi (System V contexts): Fix sentence.
24611
24612 [BZ #13926]
24613 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24614 New macro for this case.
24615 [!__GNUC__] (__bswap_64): New inline function for this case.
24616 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24617 * bits/byteswap.h: Likewise.
24618 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24619 ull, guard with __GLIBC_HAVE_LONG_LONG.
24620
24621 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24622 __GLIBC_HAVE_LONG_LONG.
24623
24624 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24625 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24626
24627 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24628
24629 [BZ #13691]
24630 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24631 inptr and inend, rather than using last_ch.
24632
24633 2012-04-02 David S. Miller <davem@davemloft.net>
24634
24635 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24636 * stdio-common/printf-parse.h (read_int): Change return type to
24637 'int', return -1 on INT_MAX overflow.
24638 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24639 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24640 overflows INT_MAX. Check for overflow of in-format-string precision
24641 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24642 SIZE_MAX not INT_MAX for integer overflow test.
24643 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24644 skip the construct in the format string but do not record anything.
24645 * stdio-common/bug22.c: Adjust to test both width/prevision
24646 INT_MAX overflow as well as total length INT_MAX overflow. Check
24647 explicitly for proper errno values.
24648
24649 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24650
24651 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24652 CHAR_MAX.
24653 * string/test-strcmp.c [! WIDE]: Likewise.
24654 * time/tst-mktime2.c: Likewise for INT_MAX.
24655 * string/test-string.h: #include <sys/param.h> for MIN.
24656
24657 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24658 * sysdeps/i386/init-first.c (init): Likewise.
24659 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24660 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24661 * sysdeps/sh/init-first.c (init): Likewise.
24662
24663 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24664
24665 * po/ru.po: Update from translation team.
24666 * po/vi.po: Likewise.
24667
24668 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24669
24670 * resolv/nss_dns/dns-host.c: Merge copyright years.
24671
24672 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24673
24674 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24675 Optimize memcpy with prefetch if
24676 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24677 src, dst pointers have unequal 16 byte alignments.
24678
24679 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24680
24681 [BZ #13928]
24682 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24683 from a CNAME entry and return the minimum ttl for the query.
24684 (gaih_getanswer_slice): Likewise.
24685
24686 2012-03-30 Jeff Law <law@redhat.com>
24687
24688 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24689 due to long keys.
24690 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24691 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24692
24693 * resolv/nss_dns/dns-host.c: Update copyright year.
24694
24695 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24696
24697 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24698 requests to save a system call. Fix check that all bytes are sent.
24699
24700 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24701 comments for sendmmsg.
24702
24703 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24704
24705 [BZ #13691]
24706 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24707 with only 1 character between 0x0041 and 0x01b0.
24708 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24709 * wcsmbs/tst-mbsnrtowcs.c: New file.
24710
24711 2012-03-29 David S. Miller <davem@davemloft.net>
24712
24713 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24714 small copies by hand.
24715
24716 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24717
24718 [BZ #13761]
24719 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24720 _nss_compat_initgroups_dyn): Fall back to malloc/free
24721 for large group memberships.
24722
24723 2012-03-28 David S. Miller <davem@davemloft.net>
24724
24725 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24726 that branches into memcpy.
24727 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24729 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24730 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24732 bits.
24733 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24734 implementation too.
24735 * sysdeps/sparc/mempcpy.S: New file.
24736
24737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24738 the IFUNC routine in the libc case.
24739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24740
24741 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24742 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24743 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24744 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24745 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24746 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24747 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24748 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24749
24750 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24751 loop to 256 bytes instead of 64 bytes and fix test signedness.
24752
24753 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24754 * sysdeps/sparc/sparc32/Makefile: rather than here...
24755 * sysdeps/sparc/sparc64/Makefile: and here.
24756
24757 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24758
24759 * malloc/mallocbug.c: Avoid warnings about unused variables.
24760
24761 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24762
24763 [BZ #13760]
24764 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24765 in the right place. Discard and retry query if response is
24766 larger than input buffer size.
24767
24768 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24769
24770 [BZ #369]
24771 [BZ #2678]
24772 [BZ #3866]
24773 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24774 x for large integer exponent.
24775 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24776 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24777 sign of result as needed afterwards.
24778 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24779 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24780 result for underflowing pow the same as for overflow.
24781 (__kernel_standard_l): Handle powl overflow and underflow here
24782 rather than calling __kernel_standard.
24783 * math/libm-test.inc (pow_test): Add more tests.
24784
24785 [BZ #3868]
24786 [BZ #13879]
24787 [BZ #13910]
24788 [BZ #13911]
24789 [BZ #13912]
24790 [BZ #13913]
24791 [BZ #13915]
24792 [BZ #13916]
24793 [BZ #13917]
24794 [BZ #13918]
24795 [BZ #13919]
24796 [BZ #13920]
24797 [BZ #13921]
24798 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24799 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24800 (__kernel_standard_l): New function.
24801 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24802 __kernel_standard.
24803 * math/w_acosl.c (__acosl): Likewise.
24804 * math/w_asinl.c (__asinl): Likewise.
24805 * math/w_atan2l.c (__atan2l): Likewise.
24806 * math/w_atanhl.c (__atanhl): Likewise.
24807 * math/w_coshl.c (__coshl): Likewise.
24808 * math/w_exp10l.c (__exp10l): Likewise.
24809 * math/w_exp2l.c (__exp2l): Likewise.
24810 * math/w_fmodl.c (__fmodl): Likewise.
24811 * math/w_hypotl.c (__hypotl): Likewise.
24812 * math/w_j0l.c (__j0l, __y0l): Likewise.
24813 * math/w_j1l.c (__j1l, __y1l): Likewise.
24814 * math/w_jnl.c (__jnl, __ynl): Likewise.
24815 * math/w_lgammal.c (__lgammal): Likewise.
24816 * math/w_log10l.c (__log10l): Likewise.
24817 * math/w_log2l.c (__log2l): Likewise.
24818 * math/w_logl.c (__logl): Likewise.
24819 * math/w_powl.c (__powl): Likewise.
24820 * math/w_remainderl.c (__remainderl): Likewise.
24821 * math/w_scalbl.c (sysv_scalbl): Likewise.
24822 * math/w_sinhl.c (__sinhl): Likewise.
24823 * math/w_sqrtl.c (__sqrtl): Likewise.
24824 * math/w_tgammal.c (__tgammal): Likewise.
24825 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24826 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24827 * math/libm-test.inc (acos_test): Add more tests.
24828 (acosh_test): Likewise.
24829 (asin_test): Likewise.
24830 (atanh_test): Likewise.
24831 (exp_test): Likewise.
24832 (exp10_test): Likewise.
24833 (exp2_test): Likewise.
24834 (expm1_test): Likewise.
24835 (lgamma_test): Likewise.
24836 (log_test): Likewise.
24837 (log10_test): Likewise.
24838 (log1p_test): Likewise.
24839 (log2_test): Likewise.
24840 (pow_test): Do not allow some spurious overflow exceptions.
24841 (sqrt_test): Add more tests.
24842 (tgamma_test): Likewise.
24843 (y0_test): Likewise.
24844 (y1_test): Likewise.
24845 (yn_test): Likewise.
24846
24847 2012-03-27 Anton Blanchard <anton@samba.org>
24848
24849 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24850 MAP_HUGETLB.
24851 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24852 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24854
24855 2012-03-27 David S. Miller <davem@davemloft.net>
24856
24857 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24858
24859 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24860 have-as-vis3 check.
24861
24862 2012-03-27 Andreas Jaeger <aj@suse.de>
24863
24864 * sysdeps/x86_64/elf/configure.in: Moved to ...
24865 * sysdeps/x86_64/configure.in: ... here.
24866 * sysdeps/x86_64/elf/start.S: Moved to ...
24867 * sysdeps/x86_64/start.S: ... here.
24868 * sysdeps/x86_64/elf/configure: Delete.
24869
24870 * sysdeps/x86_64/configure.in: Merge contents from
24871 sysdeps/i386/configure.in (without i686 check).
24872
24873 * sysdeps/i386/elf/Versions: Merge into ...
24874 * sysdeps/i386/Versions: ... this.
24875 * sysdeps/i386/elf/Versions: Delete file.
24876 * sysdeps/i386/elf/start.S: Moved to ...
24877 * sysdeps/i386/start.S: ...here.
24878 * sysdeps/i386/elf/configure.in: Merge into...
24879 * sysdeps/i386/configure.in: ...here.
24880 * sysdeps/i386/elf/configure.in: Delete file.
24881 * sysdeps/i386/elf/configure: Delete file.
24882
24883 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24884 * debug/backtracesyms.c: ... here.
24885 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24886 * debug/backtracesymsfd.c: ... here.
24887 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24888 * sysdeps/generic/ifunc-sel.h: ... here.
24889
24890 * sysdeps/unix/i386/start.c: Delete file.
24891 * sysdeps/unix/sparc/start.c: Delete file.
24892 * sysdeps/unix/start.c: Delete file.
24893
24894 * sysdeps/sh/elf/configure.in: Moved to ...
24895 * sysdeps/sh/configure.in: ... here.
24896 * sysdeps/sh/elf/start.S: Moved to ...
24897 * sysdeps/sh/start.S: ... here.
24898 * sysdeps/sh/elf/configure: Delete file.
24899
24900 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24901 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24902 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24903 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24904 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24905 * sysdeps/powerpc/powerpc64/start.S: here.
24906 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24907 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24908 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24909 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24910 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24911
24912 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24913 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24914 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24915 * sysdeps/powerpc/powerpc32/start.S: ... here.
24916 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24917 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24918 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24919
24920 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24921 * sysdeps/powerpc/ifunc-sel.h: ... here.
24922 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24923 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24924
24925 * sysdeps/sparc/elf/configure.in: Moved to ...
24926 * sysdeps/sparc/configure.in: ... here.
24927 * sysdeps/sparc/elf/configure: Delete file.
24928 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24929 * sysdeps/sparc/sparc32/start.S: ... here.
24930 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24931 * sysdeps/sparc/sparc64/start.S: ... here.
24932 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24933 * sysdeps/sparc/sparc32/Makefile: ... this.
24934 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24935 * sysdeps/sparc/sparc64/Makefile: ... this.
24936
24937 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24938 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24939 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24940 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24941 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24942 * sysdeps/s390/s390-32/setjmp.S: ... here.
24943 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24944 * sysdeps/s390/s390-32/configure.in: ... here.
24945 * sysdeps/s390/s390-32/elf/configure: Delete file.
24946 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24947 * sysdeps/s390/s390-32/start.S: ... here.
24948
24949 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24950 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24951 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24952 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24953 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24954 * sysdeps/s390/s390-64/setjmp.S: ... here.
24955 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24956 * sysdeps/s390/s390-64/configure.in: ... here
24957 * sysdeps/s390/s390-64/elf/configure: Delete file.
24958 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24959 * sysdeps/s390/s390-64/start.S: ... here.
24960 * sysdeps/s390/s390-64/elf/configure: Delete.
24961
24962 * configure.in: Remove support for elf directories in sysdeps.
24963
24964 * configure: Regenerated.
24965 * sysdeps/i386/configure: Regenerated.
24966 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24967 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24968 * sysdeps/s390/s390-32/configure: Regenerated.
24969 * sysdeps/s390/s390-64/configure: Regenerated.
24970 * sysdeps/sh/configure: Regenerated.
24971 * sysdeps/sparc/configure: Regenerated.
24972 * sysdeps/x86_64/configure: Regenerated.
24973
24974 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24975
24976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24977
24978 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24979 denormal result into account.
24980
24981 2012-03-25 Roland McGrath <roland@hack.frob.com>
24982
24983 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24984 Reported by Allan McRae <allan@archlinux.org>.
24985
24986 2012-03-23 Jeff Law <law@redhat.com>
24987
24988 * nss/getnssent.c (__nss_getent): Fix typo.
24989
24990 2012-03-23 David S. Miller <davem@davemloft.net>
24991
24992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24993
24994 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24995
24996 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24997 to pad to uint64_t for each field.
24998 (dl_tls_index): Replace unsigned long with uint64_t.
24999
25000 2012-03-23 Daniel Jacobowitz <dmj@google.com>
25001 Paul Pluzhnikov <ppluzhnikov@google.com>
25002
25003 [BZ #6528]
25004 * grp/Makefile (otherlibs): Don't set it.
25005 * inet/Makefile (otherlibs): Likewise.
25006 * login/Makefile (otherlibs): Likewise.
25007 * nscd/Makefile (otherlibs): Likewise.
25008 * posix/Makefile (otherlibs): Likewise.
25009 * pwd/Makefile (otherlibs): Likewise.
25010 * rt/Makefile (otherlibs): Likewise.
25011 * sunrpc/Makefile (otherlibs): Likewise.
25012 * nss/Makefile (otherlibs): Likewise.
25013 Add libnss_files to routines and static-only-routines.
25014 ($(objpfx)getent): Remove rule.
25015 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25016 static-only-routines.
25017
25018 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25019
25020 [BZ #13892]
25021 * math/s_cexp.c: Include <float.h>.
25022 (__cexp): Handle exp result overflowing not necessarily
25023 overflowing both real and imaginary parts of result.
25024 * math/s_cexpf.c: Likewise.
25025 * math/s_cexpl.c: Likewise.
25026 * math/libm-test.inc (cexp_test): Add more tests.
25027 * sysdeps/i386/fpu/libm-test-ulps: Update.
25028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25029
25030 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25031
25032 * include/link.h (ELFW): New macro.
25033 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25034 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25035
25036 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25037
25038 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25039 with uint64_t.
25040
25041 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25042
25043 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25044 declaration.
25045 (struct La_x32_retval): Likewise.
25046
25047 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25048
25049 * sysdeps/x86_64/preconfigure.in: New file.
25050 * sysdeps/x86_64/preconfigure: New generated file.
25051
25052 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25053
25054 [BZ #13824]
25055 * math/e_exp2l.c: Include <float.h>.
25056 (__ieee754_exp2l): Handle overflow and underflow cases
25057 separately. Only pass fractional part of argument to
25058 __ieee754_expl.
25059 * math/libm-test.inc (exp2_test): Add more tests.
25060
25061 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25062 negating x to take absolute value.
25063 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25064 Likewise.
25065 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25066 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25067 Likewise.
25068 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25069 computing low part if x was negated.
25070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25071
25072 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25073
25074 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25075 la_x32_gnu_pltexit.
25076 (pltexit): Cast int_retval to ptrdiff_t.
25077 * elf/tst-auditmod3b.c: Likewise.
25078 * elf/tst-auditmod4b.c: Likewise.
25079 * elf/tst-auditmod5b.c: Likewise.
25080 * elf/tst-auditmod6b.c: Likewise.
25081 * elf/tst-auditmod6c.c: Likewise.
25082 * elf/tst-auditmod7b.c: Likewise.
25083
25084 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25085 and x32_gnu_pltexit.
25086
25087 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25088 __ELF_NATIVE_CLASS.
25089 (La_x32_regs): New macro.
25090 (La_x32_retval): Likewise.
25091 (la_x32_gnu_pltenter): New function prototype.
25092 (la_x32_gnu_pltexit): Likewise.
25093
25094 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25095
25096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25097 exponent.
25098
25099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25100
25101 * configure.in (libc_cv_cc_nofma): Check for option to disable
25102 generation of FMA instructions.
25103 * configure: Regenerate.
25104 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25105 * sysdeps/ieee754/dbl-64/Makefile: New file.
25106 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25107 Remove brandred-fma4.
25108 (CFLAGS-brandred-fma4.c): Remove.
25109 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25110 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25111 define.
25112 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25113 define.
25114
25115 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25116
25117 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25118 LLONG_MAX != LONG_MAX.
25119 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25120 (_fitoa_word): Likewise.
25121 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25122 LLONG_MAX != LONG_MAX.
25123 * stdio-common/_itowa.h: Include <_itoa.h>.
25124 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25125 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25126 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25127 only if not defined.
25128 (_ITOA_WORD_TYPE): Likewise.
25129 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25130 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25131
25132 2012-03-21 David S. Miller <davem@davemloft.net>
25133
25134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25135
25136 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25137
25138 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25139 of x86_64 when setting libc_cv_slibdir, libdir and
25140 libc_cv_localedir.
25141 * sysdeps/unix/sysv/linux/configure: Regenerated.
25142
25143 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25144
25145 * manual/lang.texi (Old Varargs): Remove section.
25146 (How Variadic): Update menu.
25147 (va_start): Do not mention varargs.h.
25148
25149 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25150 Joseph Myers <joseph@codesourcery.com>
25151
25152 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25153 link test.
25154 * configure: Regenerated.
25155
25156 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25157
25158 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25159 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25160 conformtest.pl
25161
25162 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25163
25164 * NOTES: Remove.
25165 * Makefile (files-for-dist): Remove NOTES.
25166 (NOTES): Remove rule.
25167 * README: Don't refer to NOTES.
25168 * manual/creature.texi: Don't include macros.texi.
25169 * manual/intro.texi (creature.texi): Remove comment referring to
25170 NOTES.
25171
25172 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25173 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25174 * configure: Regenerated.
25175 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25176 LIBC_TRY_CC_OPTION.
25177 (libc_cv_as_i686): Likewise.
25178 (libc_cv_cc_avx): Likewise.
25179 (libc_cv_cc_sse2avx): Likewise.
25180 (libc_cv_cc_fma4): Likewise.
25181 (libc_cv_cc_novzeroupper): Likewise.
25182 * sysdeps/i386/configure: Regenerated.
25183
25184 [BZ #13883]
25185 * sysdeps/i386/fpu/s_cexp.S: Remove.
25186 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25187 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25188 * math/libm-test.inc (cexp_test): Add more tests.
25189 * sysdeps/i386/fpu/libm-test-ulps: Update.
25190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25191
25192 2012-03-21 Allan McRae <allan@archlinux.org>
25193
25194 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25195
25196 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25197
25198 [BZ #13871]
25199 * math/w_exp2.c: Do not include <float.h>.
25200 (o_threshold, u_threshold): Remove.
25201 (__exp2): Calculate result before checking finiteness and calling
25202 __kernel_standard.
25203 * math/w_exp2f.c: Likewise.
25204 * math/w_exp2l.c: Likewise.
25205 * math/libm-test.inc (exp2_test): Require overflow exception for
25206 1e6 input.
25207
25208 [BZ #3866]
25209 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25210 range of signed 64-bit integers before using fistpll. Remove
25211 checks for whether integers fit in mantissa bits.
25212 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25213 the range of signed 32-bit integers before using fistpl. Remove
25214 checks for whether integers fit in mantissa bits.
25215 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25216 (__ieee754_powl): Test for y outside the range of signed 64-bit
25217 integers before using fistpll. Reduce 64-bit values to 63-bit
25218 ones as needed.
25219 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25220 divide-by-zero is raised for zero to large negative powers.
25221 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25222 (__ieee754_powl): Test for y outside the range of signed 64-bit
25223 integers before using fistpll. Reduce 64-bit values to 63-bit
25224 ones as needed.
25225 * math/libm-test.inc (pow_test): Add more tests.
25226
25227 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25228
25229 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25230 <stdio-common/_itoa.h>.
25231 * debug/segfault.c: Likewise.
25232 * elf/dl-cache.c: Likewise.
25233 * elf/dl-minimal.c: Likewise.
25234 * elf/dl-misc.c: Likewise.
25235 * elf/dl-sysdep.c: Likewise.
25236 * elf/dl-version.c: Likewise.
25237 * elf/rtld.c: Likewise.
25238 * hurd/hurdsock.c: Likewise.
25239 * hurd/lookup-retry.c: Likewise.
25240 * malloc/malloc.c: Likewise.
25241 * malloc/mtrace.c: Likewise.
25242 * nscd/nscd_getgr_r.c: Likewise.
25243 * nscd/nscd_getpw_r.c: Likewise.
25244 * nscd/nscd_getserv_r.c: Likewise.
25245 * posix/getopt_init.c: Likewise.
25246 * posix/wordexp.c: Likewise.
25247 * stdio-common/_itoa.c: Likewise.
25248 * stdio-common/printf_fphex.c: Likewise.
25249 * stdio-common/vfprintf.c: Likewise.
25250 * string/_strerror.c: Likewise.
25251 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25252 * sysdeps/i386/i686/hp-timing.h: Likewise.
25253 * sysdeps/mach/_strerror.c: Likewise.
25254 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25255 * sysdeps/mach/hurd/sethostid.c: Likewise.
25256 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25257 * sysdeps/mach/xpg-strerror.c: Likewise.
25258 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25259 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25260 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25261 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25262 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25263 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25264 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25265 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25266 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25267 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25268 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25269 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25270 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25271 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25272 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25273 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25274 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25275 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25276 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25277 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25278 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25279
25280 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25281
25282 * stdio-common/_itoa.h: Moved to ...
25283 * sysdeps/generic/_itoa.h: Here.
25284
25285 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25286
25287 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25288 instead of "_itoa.h" and "_itowa.h".
25289 * stdio-common/vfprintf.: Likewise.
25290
25291 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25292
25293 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25294 <bits/wordsize.h>.
25295 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25296 (__signbit): Likwise.
25297 (llrintf): Likwise.
25298 (llrint): Likwise.
25299
25300 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25301
25302 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25303 __WORDSIZE != 64.
25304
25305 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25306
25307 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25308 OVERFLOW_EXCEPTION_OK.
25309 * math/libm-test.inc ("Philosophy"): Update comment about
25310 exception testing.
25311 (OVERFLOW_EXCEPTION): Define.
25312 (OVERFLOW_EXCEPTION_OK): Likewise.
25313 (INVALID_EXCEPTION_OK): Renumber.
25314 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25315 (IGNORE_ZERO_INF_SIGN): Likewise.
25316 (test_exceptions): Handle FE_OVERFLOW.
25317 (exp10_test): Expect overflow exceptions.
25318 (exp2_test): Likewise.
25319 (expm1_test): Likewise.
25320 (nextafter_test): Likewise.
25321 (pow_test): Likewise.
25322 (scalbn_test): Likewise.
25323 (scalbln_test): Likewise.
25324
25325 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25326
25327 * sysdeps/x86_64/bits/atomic.h
25328 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25329 64bit integer.
25330 (atomic_exchange_acq): Likewise.
25331 (__arch_exchange_and_add_body): Likewise.
25332 (__arch_add_body): Likewise.
25333 (atomic_add_negative): Likewise.
25334 (atomic_add_zero): Likewise.
25335
25336 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25337
25338 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25339 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25340
25341 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25342
25343 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25344 Check __x86_64__ instead of __WORDSIZE.
25345
25346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25347
25348 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25349
25350 2012-03-19 David S. Miller <davem@davemloft.net>
25351
25352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25353
25354 * sysdeps/sparc/fpu/fenv_private.h: New file.
25355 * sysdeps/sparc/fpu/math_private.h: Use it.
25356 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25357 Remove.
25358 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25359 (libc_feholdexcept_setroundl): Remove.
25360 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25361 Remove.
25362 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25363 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25364
25365 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25366
25367 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25368 int64_t instead of long int.
25369 (INSERT_WORDS64): Likwise.
25370
25371 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25372
25373 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25374 _Unwind_GetCFA return to _Unwind_Ptr first.
25375
25376 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25377
25378 [BZ #13629]
25379 * math/s_clog.c: Include <float.h>.
25380 (__clog): Scale large or subnormal inputs.
25381 * math/s_clogf.c: Likewise.
25382 * math/s_clogl.c: Likewise.
25383 * math/s_clog10.c: Include <float.h>.
25384 (M_LOG10_2): Define.
25385 (__clog10): Scale large or subnormal inputs.
25386 * math/s_clog10f.c: Likewise.
25387 * math/s_clog10l.c: Likewise.
25388 * math/libm-test.inc (clog_test): Add more tests.
25389 (clog10_test): Likewise.
25390 * sysdeps/i386/fpu/libm-test-ulps: Update.
25391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25392
25393 [BZ #11451]
25394 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25395 x and y.
25396 * math/libm-test.inc (atan2_test): Add another test.
25397
25398 * Makerules (common-objdir-compile): Remove.
25399 * sysdeps/unix/Makefile (config-generated): Do not add
25400 $(unix-generated) to variable.
25401 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25402 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25403 Remove rule.
25404 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25405 Likewise.
25406 [generic bits/local_lim.h] (before-compile): Do not append to
25407 variable.
25408 [generic bits/local_lim.h] (common-generated): Likewise.
25409 [generic sys/param.h] (before-compile): Do not append to variable.
25410 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25411 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25412 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25413 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25414 include.
25415 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25416 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25417 [generic sys/param.h] ($(addprefix
25418 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25419 [generic sys/param.h] (common-generated): Do not append to
25420 variable.
25421 [generic sys/param.h] (sysdep_headers): Likewise.
25422 [generic bits/errno.h] (before-compile): Do not append to
25423 variable.
25424 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25425 rule.
25426 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25427 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25428 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25429 [generic bits/errno.h] (common-generated): Do not append to
25430 variable.
25431 [generic bits/ioctls.h] (before-compile): Do not append to
25432 variable.
25433 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25434 rule.
25435 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25436 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25437 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25438 rule.
25439 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25440 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25441 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25442 [generic bits/ioctls.h] (common-generated): Do not append to
25443 variable.
25444 [generic sys/syscall.h] (syscall.h): Remove variable.
25445 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25446 rule.
25447 [generic sys/syscall.h] (before-compile): Do not append to
25448 variable.
25449 [generic sys/syscall.h] (common-generated): Likewise.
25450 * sysdeps/unix/errnos-tmpl.c: Remove file.
25451 * sysdeps/unix/errnos.awk: Likewise.
25452 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25453 * sysdeps/unix/ioctls.awk: Likewise.
25454 * sysdeps/unix/mk-local_lim.c: Likewise.
25455 * sysdeps/unix/snarf-ioctls: Likewise.
25456
25457 2012-03-19 Richard Henderson <rth@twiddle.net>
25458
25459 * sysdeps/i386/fpu/fenv_private.h: New file.
25460 * sysdeps/i386/fpu/math_private.h: Use it.
25461 (math_opt_barrier, math_force_eval): Remove.
25462 (libc_feholdexcept_setround_53bit): Remove.
25463 (libc_feupdateenv_53bit): Remove.
25464 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25465 (math_opt_barrier, math_force_eval): Remove.
25466 (libc_feholdexcept): Remove.
25467 (libc_feholdexcept_setround): Remove.
25468 (libc_fetestexcept, libc_fesetenv): Remove.
25469 (libc_feupdateenv_test): Remove.
25470 (libc_feupdateenv, libc_feholdsetround): Remove.
25471 (libc_feresetround): Remove.
25472
25473 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25474 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25475
25476 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25477 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25478 (libc_feupdateenv_testl): New.
25479 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25480 (libc_feupdateenv_testf): New.
25481 (libc_feupdateenv): Use libc_feupdateenv_test.
25482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25483 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25484
25485 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25486 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25487 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25488 (libc_feresetround_noex): New.
25489 (libc_feresetround_noexf): New.
25490 (libc_feresetround_noexl): New.
25491 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25492 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25493 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25494 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25495 SET_RESTORE_ROUND.
25496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25497 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25498 (__cos): Likewise.
25499 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25500 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25501 SET_RESTORE_ROUND_NOEX.
25502 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25503 SET_RESTORE_ROUND_NOEXF.
25504 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25505 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25506 (libc_feholdsetroundf): New.
25507 (libc_feresetround, libc_feresetroundf): New.
25508
25509 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25510 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25511 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25512
25513 * sysdeps/generic/math_private.h: Include <fenv.h>.
25514 (default_libc_feholdexcept): New.
25515 (default_libc_feholdexcept_setround): New.
25516 (default_libc_fesetenv, default_libc_feupdateenv): New.
25517 (libc_feholdexcept): Only define if undefined.
25518 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25519 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25520 (libc_feholdexcept_setroundl): Likewise.
25521 (libc_feholdexcept_setround_53bit): Likewise.
25522 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25523 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25524 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25525 (libc_feupdateenv_53bit): Likewise.
25526 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25527 (libc_feholdexcept): Convert from macro to inline function.
25528 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25529 (libc_fesetenv, libc_feupdateenv): Likewise.
25530
25531 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25532 not previously defined.
25533 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25534 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25535 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25536 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25537 * sysdeps/ieee754/flt-32/math_private.h: New file.
25538 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25539 math_private.h below SET_FLOAT_WORD.
25540 (__isnan, __isinf_ns, __finite): Remove.
25541 (__isnanf, __isinf_nsf, __finitef): Remove.
25542
25543 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25544
25545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25546
25547 2012-03-17 David S. Miller <davem@davemloft.net>
25548
25549 [BZ #6471]
25550 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25551 for 2.16.
25552
25553 2012-03-16 David S. Miller <davem@davemloft.net>
25554
25555 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25556 warnings.
25557
25558 [BZ #6471]
25559 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25560 properly.
25561 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25562 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25563 sysdep_routines when subdir is sysvipc.
25564 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25565 __getshmlba helper.
25566
25567 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25568
25569 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25570
25571 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25572 [__LP64__].
25573
25574 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25575
25576 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25577 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25578 (__lround): Renamed to ...
25579 (__llround): This. Replace long int with long long int.
25580 Define lround functions as aliases of llround functions.
25581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25582
25583 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25584
25585 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25586 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25587 adresses to uintptr_t. Replace "long int" and "unsigned long
25588 int" with "greg_t" on va_arg.
25589
25590 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25591
25592 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25593 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25594
25595 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25596 Move e_machine check before EI_CLASS check. Handle x32
25597 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25598 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25599 SKIP_EM_IA_64 and include
25600 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25601
25602 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25603 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25604 (add_system_dir): New macro.
25605
25606 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25607 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25608
25609 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25610
25611 [BZ #2551]
25612 [BZ #2552]
25613 [BZ #2553]
25614 [BZ #2554]
25615 [BZ #2562]
25616 [BZ #2563]
25617 [BZ #2565]
25618 [BZ #2566]
25619 [BZ #2576]
25620 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25621 (y0): Likewise.
25622 * math/w_j0f.c (j0f): Likewise.
25623 (y0f): Likewise.
25624 * math/w_j0l.c (__j0l): Likewise.
25625 (__y0l): Likewise.
25626 * math/w_j1.c (j1): Likewise.
25627 (y1): Likewise.
25628 * math/w_j1f.c (j1f): Likewise.
25629 (y1f): Likewise.
25630 * math/w_j1l.c (__j1l): Likewise.
25631 (__y1l): Likewise.
25632 * math/w_jn.c (jn): Likewise.
25633 (yn): Likewise.
25634 * math/w_jnf.c (jnf): Likewise.
25635 (ynf): Likewise.
25636 * math/w_jnl.c (__jnl): Likewise.
25637 (__ynl): Likewise.
25638 * math/libm-test.inc (j0_test): Add more tests.
25639 (j1_test): Likewise.
25640 (jn_test): Likewise. Add trailing semicolon to existing test.
25641 (y0_test): Likewise.
25642 (y1_test): Likewise.
25643 * sysdeps/i386/fpu/libm-test-ulps: Update.
25644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25645
25646 [BZ #13851]
25647 [BZ #13854]
25648 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25649 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25650 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25651 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25652 (__tanl): Set errno for infinite argument.
25653 * sysdeps/i386/fpu/mptan.c: Remove.
25654 * sysdeps/i386/fpu/s_tan.S: Likewise.
25655 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25656 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25657 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25658 * math/libm-test.inc (tan_test): Add more tests and enable more
25659 tests for double and long double.
25660 * sysdeps/i386/fpu/libm-test-ulps: Update.
25661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25662
25663 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25664
25665 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25666 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25667
25668 2012-03-16 Roland McGrath <roland@hack.frob.com>
25669
25670 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25671 * configure.in: Use it for both main tree and add-ons.
25672 * configure: Regenerated.
25673
25674 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25675
25676 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25677
25678 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25679
25680 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25681 in comment.
25682
25683 [BZ #13851]
25684 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25685 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25687 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25689 infinite argument.
25690 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25692 != 0 for prec == 2.
25693 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25694 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25695 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25696 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25697 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25698 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25699 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25700 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25701 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25702 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25703 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25704 * math/libm-test.inc (cos_test): Add more tests and enable more
25705 tests for long double.
25706 (sin_test): Likewise.
25707 (sincos_test): Likewise.
25708 * sysdeps/i386/fpu/libm-test-ulps: Update.
25709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25710
25711 2012-03-16 David S. Miller <davem@davemloft.net>
25712
25713 * sysdeps/sparc/fpu/math_private.h: New file.
25714
25715 2012-03-15 David S. Miller <davem@davemloft.net>
25716
25717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25718 file.
25719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25721 file.
25722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25728 sysdep routines.
25729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25730
25731 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25732 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25733
25734 * sysdeps/sparc/sparc-ifunc.h: New file.
25735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25736 sparc-ifunc.h
25737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25739 Likewise.
25740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25741 Likewise.
25742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25746 Likewise.
25747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25752 Likewise.
25753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25754 Likewise.
25755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25779
25780 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25781
25782 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25783 scaling.
25784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25785
25786 2012-03-15 Andreas Jaeger <aj@suse.de>
25787
25788 [BZ #13852]
25789 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25790 ieee754/flt-32 implementation for sin, cos and sincos.
25791 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25792 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25793 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25794 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25795 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25796 ieee754/flt-32 implementation for tan.
25797
25798 * math/libm-test.inc (cos_test): Enable some large input tests for
25799 float as well
25800 (sin_test): Likewise.
25801 (sincos_test): Likewise.
25802 (tan_test): Add tests for large input.
25803
25804 * sysdeps/i386/fpu/libm-test-ulps: Update.
25805
25806 2012-03-15 Andreas Jaeger <aj@suse.de>
25807
25808 [BZ #13658]
25809 * math/libm-test.inc (cos_test): Add more test cases.
25810 (sin_test): Likewise.
25811 (sincos_test): Likewise.
25812
25813 2012-03-15 Andreas Jaeger <aj@suse.de>
25814
25815 [BZ #13837]
25816 * math/libm-test.inc (cos_test): Add a test case for large input
25817 value.
25818 (sin_test): Likewise.
25819 (sincos_test): Likewise.
25820
25821 2012-03-15 Andreas Jaeger <aj@suse.de>,
25822 Joseph Myers <joseph@codesourcery.com>
25823
25824 [BZ #13658]
25825 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25826 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25827 * sysdeps/i386/fpu/branred.c: Likewise.
25828 * sysdeps/i386/fpu/dosincos.c: Likewise.
25829 * sysdeps/i386/fpu/mpa.c: Likewise.
25830 * sysdeps/i386/fpu/s_cos.S: Likewise.
25831 * sysdeps/i386/fpu/s_sin.S: Likewise.
25832 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25833 * sysdeps/i386/fpu/sincos32.c: Likewise.
25834
25835 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25836 Define.
25837 (libc_feupdateenv_53bit): Define.
25838 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25839 Define.
25840 (libc_feupdateenv_53bit): Define.
25841
25842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25843 53 bit (without extend i386 double precision).
25844
25845 * math/libm-test.inc (sincos_test): Add tests for large input.
25846 (sin): Likewise.
25847 (cos): Likewise.
25848
25849 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25850
25851 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25852
25853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25854
25855 2012-03-15 David S. Miller <davem@davemloft.net>
25856
25857 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25858 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25859 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25860 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25873 file.
25874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25876 file.
25877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25879 file.
25880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25882 file.
25883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25885 fmin/fmax sysdep routines.
25886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25887
25888 2012-03-14 David S. Miller <davem@davemloft.net>
25889
25890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25919 routines.
25920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25921 file.
25922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25924 file.
25925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25927 file.
25928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25930 file.
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25933 file.
25934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25936 file.
25937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25938 file.
25939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25940 file.
25941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25942 file.
25943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25944 New file.
25945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25946 file.
25947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25948 file.
25949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25951 file.
25952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25954 file.
25955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25957 file.
25958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25960 VIS3 routines.
25961
25962 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25963 New file.
25964
25965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25966
25967 * sysdeps/sparc/configure.in: New file.
25968 * sysdeps/sparc/configure: Generate.
25969 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25970 * configure: Regenerate.
25971 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25972 * config.make.in (have-as-vis3): New.
25973 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25974 available use -Av9d instead of -Av9a.
25975 * sysdeps/sparc/sparc64/Makefile: Likewise.
25976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25978 New file.
25979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25980 file.
25981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25982 New file.
25983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25984 file.
25985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25990
25991 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25992 fzeros/fnegs to load 0x80000000 into a float register instead of
25993 using the stack.
25994 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25995
25996 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25997
25998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25999 bits/syscall.h.
26000 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26001 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26002 ($(inst_includedir)/bits/syscall.h): Remove rule.
26003 ($(objpfx)bits/syscall.d): Include instead of
26004 $(objpfx)syscall-list.d.
26005 (generated): Change syscall-list.h and syscall-list.d to
26006 bits/syscall.h and bits/syscall.d.
26007
26008 2012-03-14 Roland McGrath <roland@hack.frob.com>
26009
26010 [BZ #13846]
26011 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26012
26013 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26014
26015 [BZ #13841]
26016 * math/s_csqrt.c: Include <float.h>.
26017 (__csqrt): Scale large or subnormal inputs.
26018 * math/s_csqrtf.c: Likewise.
26019 * math/s_csqrtl.c: Likewise.
26020 * math/libm-test.inc (csqrt_test): Add more tests.
26021 * sysdeps/i386/fpu/libm-test-ulps: Update.
26022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26023
26024 [BZ #13840]
26025 * math/libm-test.inc (hypot_test): Add more tests.
26026
26027 2012-03-13 David S. Miller <davem@davemloft.net>
26028
26029 [BZ #13840]
26030 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26031 double-precision for the calculation instead of scaling.
26032
26033 2012-03-13 Joseph Myers <joseph@codesourcery.com>
26034
26035 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26036 manipulate bits before adding and subtracting TWO52[sx].
26037 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26039 Likewise.
26040 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26041
26042 2012-03-13 David S. Miller <davem@davemloft.net>
26043
26044 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26045 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26047 rtld-global-offsets.h
26048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26049
26050 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26051 large parameters.
26052
26053 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26054
26055 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26056 'err' in the ifdef scope in which it is actually used.
26057
26058 * nss/nss_db/db-init.c: Include string.h
26059
26060 2012-03-12 David S. Miller <davem@davemloft.net>
26061
26062 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26063 masking out of the most significant byte of random value used.
26064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26065 Fix coding style in previous change.
26066
26067 * sysdeps/unix/sysv/linux/kernel-features.h
26068 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26069 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26070 expression.
26071 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26072 later.
26073
26074 2012-03-11 David S. Miller <davem@davemloft.net>
26075
26076 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26077 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26078 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26079 for 'resultvar' otherwise things get truncated on 64-bit.
26080
26081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26082 Fix masking out of the most significant byte of random value used.
26083
26084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26085
26086 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26087
26088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26089
26090 2012-03-09 David S. Miller <davem@davemloft.net>
26091
26092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26093 variables with appropriate CPP guards.
26094 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26095 frame pointer, not the stack pointer. Correct layout comments. Fix test
26096 on resulting framesize and the management of the outregs buffer for pltexit.
26097 Preserve floating point return values across _dl_call_pltexit call.
26098 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26099 framesize and the management of the outregs buffer for pltexit.
26100 Preserve floating point return values across _dl_call_pltexit
26101 call.
26102 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26103 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26104 (print_exit): Fix format string for return register value.
26105
26106 2012-03-10 Joseph Myers <joseph@codesourcery.com>
26107
26108 * sunrpc/Makefile (others): Add rpcgen.
26109 ($(objpfx)rpcgen): Remove special build rule and dependency on
26110 libc.
26111 * sunrpc/rpcgen.c: New file.
26112
26113 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26114
26115 [BZ #13673]
26116 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26117 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26118 * sysdeps/i386/crti.S: Likewise.
26119 * sysdeps/i386/crtn.S: Likewise.
26120 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26121 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26122 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26123 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26124 * sysdeps/sh/crti.S: Likewise.
26125 * sysdeps/sh/crtn.S: Likewise.
26126 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26127
26128 [BZ #13673]
26129 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26130 with URL.
26131 * locale/programs/locfile-kw.gperf: Likewise.
26132 * locale/programs/charmap-kw.h: Regenerated.
26133 * locale/programs/locfile-kw.h: Likewise.
26134
26135 [BZ #13673]
26136 * intl/plural.y: Replace FSF snail mail address with URL.
26137 * intl/plural.c: Regenerated.
26138
26139 2012-03-09 Richard Henderson <rth@twiddle.net>
26140
26141 * include/math_private.h: Remove file.
26142 * math/math_private.h: Move file ...
26143 * sysdeps/generic/math_private.h: ... here.
26144
26145 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26146 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26147 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26148
26149 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26150 and <math_private.h>.
26151 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26152 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26153 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26154 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26155 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26156 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26172 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26173 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26176 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26177 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26178 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26181 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26183 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26184 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26187 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26188 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26189 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26218 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26219 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26222 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26230 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26231 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26232 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26234 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26235 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26239 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26240 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26241 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26242 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26243 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26244 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26245 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26246 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26247 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26248 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26249 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26250 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26251 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26252 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26253 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26254 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26255 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26256 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26257 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26258 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26259 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26260 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26261 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26262 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26263 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26264 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26265 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26266 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26267 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26268 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26270 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26271 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26272 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26273 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26274 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26275 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26276 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26277 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26278 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26279 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26280 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26281 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26282 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26283 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26284 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26285 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26286 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26287 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26288 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26289 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26290 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26291 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26292 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26293 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26294 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26295 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26296 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26297 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26298 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26299 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26300 * sysdeps/ieee754/k_standard.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26332 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26334 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26372 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26373 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26374 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26375 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26376 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26378 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26384 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26385 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26387 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26390 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26391 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26392 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26400 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26402 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26404 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26405 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26408 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26409 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26410 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26411 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26412 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26413 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26414 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26415 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26416 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26417 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26418 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26419 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26420 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26423 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26424 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26426 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26427 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26428 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26429 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26430 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26431 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26432 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26433 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26434 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26435 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26436 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26438 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26439 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26440 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26441 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26442 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26443 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26445 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26447 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26449 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26450 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26451 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26452 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26454 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26455 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26456 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26457 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26458 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26459 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26460 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26461 * sysdeps/ieee754/s_lib_version.c: Likewise.
26462 * sysdeps/ieee754/s_matherr.c: Likewise.
26463 * sysdeps/ieee754/s_signgam.c: Likewise.
26464 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26465 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26466 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26467 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26468 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26469 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26470 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26471 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26472 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26473 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26474 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26475 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26476 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26477 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26478 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26479 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26481 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26482 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26485
26486 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26487
26488 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26489 * sunrpc/rpc_main.c: Likewise.
26490 * sunrpc/rpc_svcout.c: Likewise.
26491
26492 2012-03-09 David S. Miller <davem@davemloft.net>
26493
26494 * include/math_private.h: New file.
26495
26496 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26497
26498 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26499 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26500 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26501 from <bits/socket_type.h>.
26502 (enum __socket_type): Don't define here.
26503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26505 bits/socket_type.h.
26506
26507 [BZ #13566]
26508 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26509 checking __USE_GNU.
26510
26511 * Makerules ($(inst_includedir)/%.h): New rule.
26512 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26513 (install-others): Remove variable setting.
26514 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26515
26516 2012-03-08 Richard Henderson <rth@twiddle.net>
26517
26518 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26519 from macro to inline function; merge with the
26520 !__LIBC_INTERNAL_MATH_INLINES version.
26521 (__ieee754_sqrtf): Likewise.
26522
26523 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26524 to inline function.
26525 (__rintf, __floor, __floorf): Likewise.
26526
26527 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26528 macro to inline function.
26529 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26530
26531 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26532 not <math/math_private.h>.
26533
26534 2012-03-08 David S. Miller <davem@davemloft.net>
26535
26536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26537 copyright year.
26538 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26539
26540 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26541
26542 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26543 normalization.
26544 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26545 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26546
26547 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26548
26549 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26550 be defined individually, they must be defined as a block. Define
26551 S for printing a string instead of hidint the different by using a
26552 macro for adding the 'l'.
26553 * stdio-common/tst-fphex-wide.c: Adjust.
26554
26555 2012-03-07 Marek Polacek <polacek@redhat.com>
26556
26557 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26558
26559 2012-03-08 Marek Polacek <polacek@redhat.com>
26560
26561 [BZ #13806]
26562 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26563 * stdio-common/tst-fphex.c: Define a few macros to make the
26564 test reusable. Use them.
26565 * stdio-common/tst-fphex-wide.c: New file.
26566
26567 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26568
26569 [BZ #6911]
26570 * manual/macros.texi (gnusystems): New macro.
26571 (nongnusystems): Likewise.
26572 (gnulinuxhurdsystems): Likewise.
26573 (gnuhurdsystems): Likewise..
26574 (gnulinuxsystems): Likewise.
26575 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26576 variants of the GNU system, not "GNU system".
26577 * manual/conf.texi: Likewise.
26578 * manual/errno.texi: Likewise. Update example of errno macro
26579 expansion.
26580 * manual/filesys.texi: Likewise.
26581 (getumask): Document as specific to GNU/Hurd.
26582 * manual/install.texi: Likewise. Reword some references to
26583 GNU/Linux.
26584 * manual/intro.texi: Likewise.
26585 * manual/io.texi: Likewise.
26586 (File Name Portability): Detail which constraints are inapplicable
26587 to all GNU systems and which are only inapplicable to GNU/Hurd.
26588 * manual/job.texi: Likewise.
26589 * manual/llio.texi: Likewise.
26590 (O_NOCTTY): Document as present on GNU/Linux.
26591 * manual/maint.texi: Likewise.
26592 * manual/memory.texi: Likewise.
26593 * manual/pattern.texi: Likewise.
26594 * manual/pipe.texi: Likewise.
26595 * manual/process.texi: Likewise.
26596 * manual/resource.texi: Likewise.
26597 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26598 child on GNU/Hurd.
26599 * manual/setjmp.texi: Likewise.
26600 * manual/signal.texi: Likewise.
26601 * manual/startup.texi: Likewise.
26602 * manual/stdio.texi: Likewise.
26603 * manual/terminal.texi: Likewise.
26604 (ONLCR): Document as POSIX.
26605 (OXTABS): Document availability on GNU/Linux as XTABS.
26606 (ONOEOT): Document availability separately from other bits.
26607 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26608 * manual/time.texi: Likewise.
26609 * manual/users.texi: Likewise.
26610 * INSTALL: Regenerated.
26611 * sysdeps/gnu/errlist.c: Regenerated.
26612
26613 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26614 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26615 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26616 puts.
26617 * configure: Regenerated.
26618
26619 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26620
26621 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26622 default includes instead of AC_HEADER_CHECK.
26623 * sysdeps/i386/configure: Regenerated.
26624
26625 [BZ #10716]
26626 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26627 * math/s_cacoshf.c (__cacoshf): Likewise.
26628 * math/s_cacoshl.c (__cacoshl): Likewise.
26629 * math/s_casinh.c (__casinh): Set signs of result from argument.
26630 * math/s_casinhf.c (__casinhf): Likewise.
26631 * math/s_casinhl.c (__casinhl): Likewise.
26632 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26633 (casinh_test): Add more tests.
26634 * sysdeps/i386/fpu/libm-test-ulps: Update.
26635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26636
26637 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26638
26639 * po/zh_TW.po: Update from translation team.
26640
26641 * login/Makefile (distribute): Remove variable.
26642 * catgets/Makefile: Likewise.
26643 * mach/Makefile: Likewise.
26644 * malloc/Makefile: Likewise.
26645 * misc/Makefile: Likewise.
26646 * iconv/Makefile: Likewise.
26647 * nscd/Makefile: Likewise.
26648 * hurd/Makefile: Likewise.
26649 * manual/Makefile: Likewise.
26650 * locale/Makefile: Likewise.
26651 * intl/Makefile: Likewise.
26652 * conform/Makefile: Likewise.
26653 * nss/Makefile: Likewise.
26654 * time/Makefile: Likewise.
26655 * soft-fp/Makefile: Likewise.
26656 * dirent/Makefile: Likewise.
26657 * gmon/Makefile: Likewise.
26658 * po/Makefile: Likewise.
26659 * rt/Makefile: Likewise.
26660 * socket/Makefile: Likewise.
26661 * math/Makefile: Likewise.
26662 * signal/Makefile: Likewise.
26663 * debug/Makefile: Likewise.
26664 * elf/Makefile: Likewise.
26665 * timezone/Makefile: Likewise.
26666 * stdlib/Makefile: Likewise.
26667 * iconvdata/Makefile: Likewise.
26668 * sunrpc/Makefile: Likewise.
26669 * io/Makefile: Likewise.
26670 * argp/Makefile: Likewise.
26671 * inet/Makefile: Likewise.
26672 * hesiod/Makefile: Likewise.
26673 * grp/Makefile: Likewise.
26674 * csu/Makefile: Likewise.
26675 * wctype/Makefile: Likewise.
26676 * crypt/Makefile: Likewise.
26677 * libio/Makefile: Likewise.
26678 * string/Makefile: Likewise.
26679 * nis/Makefile: Likewise.
26680 * resolv/Makefile: Likewise.
26681 * stdio-common/Makefile: Likewise.
26682 * wcsmbs/Makefile: Likewise.
26683 * dlfcn/Makefile: Likewise.
26684 * posix/Makefile: Likewise.
26685
26686 [BZ #6959]
26687 * timezone/Makefile: Don't install timezone files, just the programs
26688 and scripts.
26689
26690 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26691
26692 * nss/databases.def: Add missing gshadow entry.
26693
26694 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26695
26696 2012-03-06 Marek Polacek <polacek@redhat.com>
26697
26698 [BZ #13726]
26699 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26700 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26701 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26702 * stdio-common/tst-long-dbl-fphex.c: New file.
26703
26704 2012-03-06 David S. Miller <davem@davemloft.net>
26705
26706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26707 (set_obp_int): New function.
26708 (get_obp_int): New function.
26709 (__get_clockfreq_via_dev_openprom): Likewise.
26710 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26711 Avoid unused variable warnings on 'val' and use builtin_expect.
26712 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26713 __builtin_expect.
26714 (INLINE_CLONE_SYSCALL): Likewise.
26715
26716 2012-03-05 David S. Miller <davem@davemloft.net>
26717
26718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26719
26720 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26721
26722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26723
26724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26725 only for |x| >= 40.
26726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26727
26728 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26729
26730 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26731 Replace gettimeofday with __vdso_gettimeofday.
26732
26733 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26734 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26735 __vdso_clock_gettime and __vdso_getcpu.
26736
26737 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26738 time with __vdso_time.
26739
26740 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26741
26742 * manual/lang.texi (size_t): Note types to which size_t may be
26743 equivalent with the GNU C Library, but do not describe when
26744 differences between them are significant.
26745
26746 2012-03-05 Andreas Jaeger <aj@suse.de>
26747
26748 * sysdeps/i386/fpu/libm-test-ulps: Update.
26749
26750 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26751
26752 [BZ #3976]
26753 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26754 (__ieee754_pow): Save and restore rounding mode and use
26755 round-to-nearest for main computations.
26756 * math/libm-test.inc (pow_test_tonearest): New function.
26757 (pow_test_towardzero): Likewise.
26758 (pow_test_downward): Likewise.
26759 (pow_test_upward): Likewise.
26760 (main): Call the new functions.
26761 * sysdeps/i386/fpu/libm-test-ulps: Update.
26762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26763
26764 [BZ #3976]
26765 * math/libm-test.inc (cosh_test_tonearest): New function.
26766 (cosh_test_towardzero): Likewise.
26767 (cosh_test_downward): Likewise.
26768 (cosh_test_upward): Likewise.
26769 (sinh_test_tonearest): Likewise.
26770 (sinh_test_towardzero): Likewise.
26771 (sinh_test_downward): Likewise.
26772 (sinh_test_upward): Likewise.
26773 (main): Call the new functions.
26774 * sysdeps/i386/fpu/libm-test-ulps: Update.
26775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26776
26777 2012-03-05 Tom de Vries <tom@codesourcery.com>
26778
26779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26780 default stack guard is set in last bytes.
26781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26782
26783 2012-03-05 Kees Cook <keescook@chromium.org>
26784
26785 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26786
26787 [BZ #13656]
26788 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26789 possibly allocate from heap instead of stack.
26790 * stdio-common/bug-vfprintf-nargs.c: New file.
26791 * stdio-common/Makefile (tests): Add nargs overflow test.
26792
26793 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26794
26795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26796
26797 2012-03-03 Marek Polacek <polacek@redhat.com>
26798
26799 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26800 * math/math_private.h: Likewise.
26801 * stdlib/tst-strtod.c: Likewise.
26802 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26803 * sysdeps/x86_64/bits/atomic.h: Likewise.
26804
26805 2012-03-02 David S. Miller <davem@davemloft.net>
26806
26807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26811 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26812 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26813 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26814 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26815
26816 2012-03-02 Roland McGrath <roland@hack.frob.com>
26817
26818 [BZ #13792]
26819 * manual/examples/README: New file, says the example source files
26820 can be used under GPL>=2.
26821 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26822 line containing just "*/".
26823 * manual/examples/add.c: Add copyright header (GPL>=2).
26824 * manual/examples/argp-ex1.c: Likewise.
26825 * manual/examples/argp-ex2.c: Likewise.
26826 * manual/examples/argp-ex3.c: Likewise.
26827 * manual/examples/argp-ex4.c: Likewise.
26828 * manual/examples/atexit.c: Likewise.
26829 * manual/examples/db.c: Likewise.
26830 * manual/examples/dir.c: Likewise.
26831 * manual/examples/dir2.c: Likewise.
26832 * manual/examples/execinfo.c: Likewise.
26833 * manual/examples/filecli.c: Likewise.
26834 * manual/examples/filesrv.c: Likewise.
26835 * manual/examples/fmtmsgexpl.c: Likewise.
26836 * manual/examples/genpass.c: Likewise.
26837 * manual/examples/inetcli.c: Likewise.
26838 * manual/examples/inetsrv.c: Likewise.
26839 * manual/examples/isockad.c: Likewise.
26840 * manual/examples/longopt.c: Likewise.
26841 * manual/examples/memopen.c: Likewise.
26842 * manual/examples/memstrm.c: Likewise.
26843 * manual/examples/mkfsock.c: Likewise.
26844 * manual/examples/mkisock.c: Likewise.
26845 * manual/examples/mygetpass.c: Likewise.
26846 * manual/examples/pipe.c: Likewise.
26847 * manual/examples/popen.c: Likewise.
26848 * manual/examples/rprintf.c: Likewise.
26849 * manual/examples/search.c: Likewise.
26850 * manual/examples/select.c: Likewise.
26851 * manual/examples/setjmp.c: Likewise.
26852 * manual/examples/sigh1.c: Likewise.
26853 * manual/examples/sigusr.c: Likewise.
26854 * manual/examples/stpcpy.c: Likewise.
26855 * manual/examples/strdupa.c: Likewise.
26856 * manual/examples/strftim.c: Likewise.
26857 * manual/examples/strncat.c: Likewise.
26858 * manual/examples/subopt.c: Likewise.
26859 * manual/examples/swapcontext.c: Likewise.
26860 * manual/examples/termios.c: Likewise.
26861 * manual/examples/testopt.c: Likewise.
26862 * manual/examples/testpass.c: Likewise.
26863 * manual/examples/timeval_subtract.c: Likewise.
26864
26865 [BZ #13792]
26866 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26867 function to ...
26868 * manual/timeval_subtract.c.texi: ... here, new file.
26869
26870 2012-03-02 David S. Miller <davem@davemloft.net>
26871
26872 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26873
26874 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26875
26876 [BZ #3976]
26877 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26878 (__sin): Save and restore rounding mode and use round-to-nearest
26879 for all computations.
26880 (__cos): Save and restore rounding mode and use round-to-nearest
26881 for all computations.
26882 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26883 <fenv.h>.
26884 (tan): Save and restore rounding mode and use round-to-nearest for
26885 all computations.
26886 * math/libm-test.inc (cos_test_tonearest): New function.
26887 (cos_test_towardzero): Likewise.
26888 (cos_test_downward): Likewise.
26889 (cos_test_upward): Likewise.
26890 (sin_test_tonearest): Likewise.
26891 (sin_test_towardzero): Likewise.
26892 (sin_test_downward): Likewise.
26893 (sin_test_upward): Likewise.
26894 (tan_test_tonearest): Likewise.
26895 (tan_test_towardzero): Likewise.
26896 (tan_test_downward): Likewise.
26897 (tan_test_upward): Likewise.
26898 (main): Call the new functions.
26899 * sysdeps/i386/fpu/libm-test-ulps: Update.
26900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26901
26902 [BZ #10135]
26903 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26904 small n, then large n, before computing and testing k+n.
26905 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26907 Likewise.
26908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26909 Likewise.
26910 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26911 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26917 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26918 * math/libm-test.inc (scalbn_test): Add more tests.
26919 (scalbln_test): Likewise.
26920
26921 * manual/filesys.texi (mode_t): Describe constraints on size and
26922 signedness, not exact equivalence to a particular type.
26923 (ino_t): Likewise.
26924 (ino64_t): Likewise.
26925 (dev_t): Likewise.
26926 (nlink_t): Likewise.
26927 (blkcnt_t): Likewise.
26928 (blkcnt64_t): Likewise.
26929 * manual/llio.texi (off_t): Likewise.
26930
26931 [BZ #3976]
26932 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26933 (__ieee754_exp): Save and restore rounding mode and use
26934 round-to-nearest for all computations.
26935 * math/libm-test.inc (exp_test_tonearest): New function.
26936 (exp_test_towardzero): Likewise.
26937 (exp_test_downward): Likewise.
26938 (exp_test_upward): Likewise.
26939 (main): Call the new functions.
26940 * sysdeps/i386/fpu/libm-test-ulps: Update.
26941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26942
26943 2012-03-01 Chris Demetriou <cgd@google.com>
26944
26945 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26946 have predictable order.
26947
26948 2012-03-01 David S. Miller <davem@davemloft.net>
26949
26950 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26951
26952 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26953 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26954 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26955 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26956
26957 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26958 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26959 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26961 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26962 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26963 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26964 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26965 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26966
26967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26968
26969 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26970 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26972
26973 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26975 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26976 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26977 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26981 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26982 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26983 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26984 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26989 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26990 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26991 * sysdeps/sparc/elf/configure: Regenerated.
26992
26993 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26994
26995 * configure.in (AS, LD): Require binutils 2.20 or later.
26996 * configure: Regenerated.
26997 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26998 as required minimum version.
26999 * INSTALL: Regenerated.
27000
27001 [BZ #2541]
27002 [BZ #4108]
27003 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27004 before squaring exponent.
27005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27006 bottom long double and 27 bits of top long double before squaring
27007 exponent.
27008 * math/libm-test.inc (erfc_test): Add more tests.
27009 * sysdeps/i386/fpu/libm-test-ulps: Update.
27010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27012
27013 2012-03-01 Kai Tietz <ktietz@redhat.com>
27014
27015 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27016 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27017 containing bit-fields.
27018 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27019 * soft-fp/single.h (_FP_UNION_S): Likewise.
27020 * soft-fp/double.h (_FP_UNION_D): Likewise.
27021
27022 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27023
27024 [BZ #13786]
27025 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27026 not include ../strcmp.S.
27027 [USE_AS_STRNCASECMP_L]: Likewise.
27028 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27029 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27030 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27031 (__strncasecmp_l_ia32): Define as alias to
27032 __strncasecmp_l_nonascii.
27033
27034 [BZ #5794]
27035 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27036 * sysdeps/i386/fpu/libm-test-ulps: Update.
27037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27038
27039 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27041
27042 2012-02-29 Jeff Law <law@redhat.com>
27043
27044 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27045 out of bounds read.
27046
27047 2012-02-29 Marek Polacek <polacek@redhat.com>
27048
27049 [BZ #13706]
27050 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27051 * elf/Makefile: Add rules to run tst-unused-dep.out.
27052
27053 2012-02-28 David S. Miller <davem@davemloft.net>
27054
27055 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27056 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27059 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27060 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27061
27062 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27063
27064 * math/libm-test.inc (llround_test): Move one test from
27065 lround_test. Use TEST_f_L in moved test.
27066 (lround_test): Move misplaced test to llround_test. Add testcase
27067 from bug 2561.
27068
27069 2012-02-28 Ulrich Drepper <drepper@gmail.com>
27070
27071 * sysdeps/x86_64/fpu/e_expf.S: New file.
27072 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27073
27074 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27075
27076 [BZ #13637]
27077 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27078 of remain_len that may cause incomplete multi-byte character and
27079 false match.
27080 * posix/bug-regex33.c: New file.
27081 * posix/Makefile (tests): Add bug-regex33.
27082
27083 2012-02-28 Joseph Myers <joseph@codesourcery.com>
27084
27085 * manual/macros.texi: New file.
27086 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27087 * manual/libc.texinfo: Include macros.texi.
27088 * manual/creatute.texi: Likewise.
27089 * manual/install.texi: Likewise.
27090 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27091 @glibcadj{} in references to the GNU C Library.
27092 * manual/charset.texi: Likewise.
27093 * manual/conf.texi: Likewise.
27094 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27095 when not using those macros.
27096 * manual/creature.texi: Likewise.
27097 * manual/crypt.texi: Likewise.
27098 * manual/errno.texi: Likewise.
27099 * manual/filesys.texi: Likewise.
27100 * manual/header.texi: Likewise.
27101 * manual/install.texi: Likewise.
27102 * manual/intro.texi: Likewise.
27103 * manual/io.texi: Likewise.
27104 * manual/job.texi: Likewise.
27105 * manual/lang.texi: Likewise.
27106 * manual/libc.texiinfo: Likewise.
27107 * manual/llio.texi: Likewise.
27108 * manual/locale.texi: Likewise.
27109 * manual/maint.texi: Likewise.
27110 * manual/math.texi: Likewise.
27111 * manual/memory.texi: Likewise.
27112 * manual/message.texi: Likewise.
27113 * manual/nss.texi: Likewise.
27114 * manual/pattern.texi: Likewise.
27115 * manual/process.texi: Likewise.
27116 * manual/resource.texi: Likewise.
27117 * manual/search.texi: Likewise.
27118 * manual/setjmp.texi: Likewise.
27119 * manual/signal.texi: Likewise.
27120 * manual/socket.texi: Likewise.
27121 * manual/startup.texi: Likewise.
27122 * manual/stdio.texi: Likewise.
27123 * manual/string.texi: Likewise.
27124 * manual/sysinfo.texi: Likewise.
27125 * manual/syslog.texi: Likewise.
27126 * manual/terminal.texi: Likewise.
27127 * manual/time.texi: Likewise.
27128 * manual/users.texi: Likewise.
27129 * INSTALL: Regenerated.
27130 * NOTES: Regenerated.
27131 * sysdeps/gnu/errlist.c: Regenerated.
27132
27133 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27134
27135 * include/dirent.h: Include <dirstream.h> before
27136 <dirent/dirent.h>.
27137
27138 2012-02-28 David S. Miller <davem@davemloft.net>
27139
27140 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27141 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27142 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27143 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27144
27145 2012-02-27 David S. Miller <davem@davemloft.net>
27146
27147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27149 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27150 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27151
27152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27153 frame pointer instead of stack pointer relative arg slot.
27154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27155 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27156 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27157
27158 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27159
27160 [BZ #3992]
27161 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27162
27163 2012-02-27 David S. Miller <davem@davemloft.net>
27164
27165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27171 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27172 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27173
27174 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27175
27176 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27177 later. Allow versions 5-9.
27178 * configure: Regenerated.
27179 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27180 required minimum version and 4.6 as recommended version. Do not
27181 mention bugs in GCC 2.7 and 2.8.
27182 * INSTALL: Regenerated.
27183
27184 2012-02-27 David S. Miller <davem@davemloft.net>
27185
27186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27190 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27191 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27192 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27193 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27194
27195 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27196 manipulate bits before adding and subtracting TWO112[sx].
27197 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27198
27199 2012-02-27 Roland McGrath <roland@hack.frob.com>
27200
27201 [BZ #13775]
27202 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27203 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27204 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27205 being in POSIX, because they are in 1003.1-2008.
27206
27207 * rt/tst-aio.c: Include <fcntl.h>.
27208 * rt/tst-aio7.c: Likewise.
27209 * rt/tst-aio64.c: Likewise.
27210
27211 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27212
27213 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27214
27215 * manual/install.texi (--with-headers): Describe headers as
27216 interface headers, not private headers.
27217 (Specific advice for GNU/Linux systems): Describe use of headers
27218 from "make headers_install", not private headers from older
27219 kernels.
27220 * INSTALL: Regenerated.
27221 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27222 Change to 2.6.19.
27223 * sysdeps/unix/sysv/linux/configure: Regenerated.
27224
27225 * manual/llio.texi (fclean): Remove documentation.
27226
27227 * manual/Makefile (libc-texi-generated): New variable. Include
27228 version.texi.
27229 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27230 $(libc-texi-generated), not duplicated list of files.
27231 (version.texi, stamp-version): New rules.
27232 (realclean): Remove $(libc-texi-generated), not individual files
27233 from that list. Do not remove dir-add.texinfo.
27234 * manual/libc.texinfo: Comment out uses of edition numbers and
27235 references to printed manual. Remove last-updated dates.
27236 (EDITION): Comment out.
27237 (ISBN): Likewise.
27238 (VERSION, UPDATED): Remove.
27239 (version.texi): Include.
27240
27241 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27242
27243 * sysdeps/posix/spawni.c: Include <signal.h>.
27244 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27245 * sysdeps/pthread/aio_fsync.c: Likewise.
27246
27247 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27248
27249 * conform/Makefile (tests): Run only when not cross-compiling and
27250 when fast-check is not defined.
27251
27252 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27253 * conform/data/limits.h-data: Fixes for POSIX2008.
27254 * conform/run-conformtest.sh: Run all tests.
27255 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27256 headers.
27257 * include/bits/dlfcn.h: Likewise.
27258 * include/langinfo.h: Likewise.
27259 * include/monetary.h: Likewise.
27260 * include/sys/poll.h: Likewise.
27261
27262 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27263 for __USE_GNU.
27264 * posix/spawn.h: Define __need_sigset_t.
27265 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27266 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27267 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27268 to get sigevent_t only.
27269 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27270 only for __USE_GNU.
27271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27272 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27273 process_vm_writev only for __USE_GNU.
27274 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27275
27276 * conform/Makefile: For now ignore errors from run-conformtest.
27277 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27278 POSIX to avoid namespace pollution. Don't prepend headers.
27279 * conform/data/aio.h-data: Fixes for POSIX testing.
27280 * conform/data/fcntl.h-data: Likewise.
27281 * conform/data/glob.h-data: Likewise.
27282 * conform/data/grp.h-data: Likewise.
27283 * conform/data/pthread.h-data: Likewise.
27284 * conform/data/pwd.h-data: Likewise.
27285 * conform/data/signal.h-data: Likewise.
27286 * conform/data/spawn.h-data: Likewise.
27287 * conform/data/stdio.h-data: Likewise.
27288 * conform/data/stdlib.h-data: Likewise.
27289 * conform/data/stropts.h-data: Likewise.
27290 * conform/data/sys/mman.h-data: Likewise.
27291 * conform/data/sys/stat.h-data: Likewise.
27292 * conform/data/sys/types.h-data: Likewise.
27293 * conform/data/sys/wait.h-data: Likewise.
27294 * conform/data/time.h-data: Likewise.
27295 * conform/data/unistd.h-data: Likewise.
27296 * conform/data/utime.h-data: Likewise.
27297
27298 * io/sys/stat.h: fchmod was always in POSIX.
27299 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27300 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27301 * rt/aio.h: Define __need_timespec before including <time.h>.
27302 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27303 struct. Add forward declaration of pthread_attr_t and use it in
27304 sigevent.
27305 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27306 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27307 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27308 always remove CLK_TCK definition.
27309
27310 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27311
27312 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27313
27314 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27315
27316 * conform/run-conformtest.sh: New file.
27317 * conform/Makefile: Run run-conformtest for tests.
27318 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27319 support.
27320
27321 * conform/data/uchar.h-data: New file.
27322 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27323 * conform/data/arpa/inet.h-data: Likewise.
27324 * conform/data/assert.h-data: Likewise.
27325 * conform/data/complex.h-data: Likewise.
27326 * conform/data/cpio.h-data: Likewise.
27327 * conform/data/ctype.h-data: Likewise.
27328 * conform/data/dirent.h-data: Likewise.
27329 * conform/data/dlfcn.h-data: Likewise.
27330 * conform/data/errno.h-data: Likewise.
27331 * conform/data/fcntl.h-data: Likewise.
27332 * conform/data/float.h-data: Likewise.
27333 * conform/data/fmtmsg.h-data: Likewise.
27334 * conform/data/fnmatch.h-data: Likewise.
27335 * conform/data/ftw.h-data: Likewise.
27336 * conform/data/glob.h-data: Likewise.
27337 * conform/data/grp.h-data: Likewise.
27338 * conform/data/iconv.h-data: Likewise.
27339 * conform/data/inttypes.h-data: Likewise.
27340 * conform/data/langinfo.h-data: Likewise.
27341 * conform/data/libgen.h-data: Likewise.
27342 * conform/data/limits.h-data: Likewise.
27343 * conform/data/locale.h-data: Likewise.
27344 * conform/data/math.h-data: Likewise.
27345 * conform/data/monetary.h-data: Likewise.
27346 * conform/data/mqueue.h-data: Likewise.
27347 * conform/data/ndbm.h-data: Likewise.
27348 * conform/data/net/if.h-data: Likewise.
27349 * conform/data/netdb.h-data: Likewise.
27350 * conform/data/netinet/in.h-data: Likewise.
27351 * conform/data/nl_types.h-data: Likewise.
27352 * conform/data/poll.h-data: Likewise.
27353 * conform/data/pthread.h-data: Likewise.
27354 * conform/data/pwd.h-data: Likewise.
27355 * conform/data/regex.h-data: Likewise.
27356 * conform/data/sched.h-data: Likewise.
27357 * conform/data/search.h-data: Likewise.
27358 * conform/data/semaphore.h-data: Likewise.
27359 * conform/data/setjmp.h-data: Likewise.
27360 * conform/data/signal.h-data: Likewise.
27361 * conform/data/spawn.h-data: Likewise.
27362 * conform/data/stdarg.h-data: Likewise.
27363 * conform/data/stdio.h-data: Likewise.
27364 * conform/data/stdlib.h-data: Likewise.
27365 * conform/data/string.h-data: Likewise.
27366 * conform/data/strings.h-data: Likewise.
27367 * conform/data/stropts.h-data: Likewise.
27368 * conform/data/sys/ipc.h-data: Likewise.
27369 * conform/data/sys/mman.h-data: Likewise.
27370 * conform/data/sys/msg.h-data: Likewise.
27371 * conform/data/sys/resource.h-data: Likewise.
27372 * conform/data/sys/select.h-data: Likewise.
27373 * conform/data/sys/sem.h-data: Likewise.
27374 * conform/data/sys/shm.h-data: Likewise.
27375 * conform/data/sys/socket.h-data: Likewise.
27376 * conform/data/sys/stat.h-data: Likewise.
27377 * conform/data/sys/statvfs.h-data: Likewise.
27378 * conform/data/sys/time.h-data: Likewise.
27379 * conform/data/sys/timeb.h-data: Likewise.
27380 * conform/data/sys/times.h-data: Likewise.
27381 * conform/data/sys/types.h-data: Likewise.
27382 * conform/data/sys/uio.h-data: Likewise.
27383 * conform/data/sys/un.h-data: Likewise.
27384 * conform/data/sys/utsname.h-data: Likewise.
27385 * conform/data/sys/wait.h-data: Likewise.
27386 * conform/data/syslog.h-data: Likewise.
27387 * conform/data/tar.h-data: Likewise.
27388 * conform/data/termios.h-data: Likewise.
27389 * conform/data/utime.h-data: Likewise.
27390 * conform/data/utmpx.h-data: Likewise.
27391 * conform/data/varargs.h-data: Likewise.
27392 * conform/data/wchar.h-data: Likewise.
27393 * conform/data/wctype.h-data: Likewise.
27394 * conform/data/wordexp.h-data: Likewise.
27395
27396 * include/stropts.h: New file.
27397 * include/uchar.h: New file.
27398 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27399 * include/assert.h: Likewise.
27400 * include/ctype.h: Likewise.
27401 * include/dirent.h: Likewise.
27402 * include/dlfcn.h: Likewise.
27403 * include/fcntl.h: Likewise.
27404 * include/fnmatch.h: Likewise.
27405 * include/glob.h: Likewise.
27406 * include/grp.h: Likewise.
27407 * include/libio.h: Likewise.
27408 * include/locale.h: Likewise.
27409 * include/math.h: Likewise.
27410 * include/net/if.h: Likewise.
27411 * include/netdb.h: Likewise.
27412 * include/netinet/in.h: Likewise.
27413 * include/pthread.h: Likewise.
27414 * include/pwd.h: Likewise.
27415 * include/regex.h: Likewise.
27416 * include/sched.h: Likewise.
27417 * include/search.h: Likewise.
27418 * include/setjmp.h: Likewise.
27419 * include/signal.h: Likewise.
27420 * include/stdio.h: Likewise.
27421 * include/stdlib.h: Likewise.
27422 * include/string.h: Likewise.
27423 * include/sys/cdefs.h: Likewise.
27424 * include/sys/mman.h: Likewise.
27425 * include/sys/msg.h: Likewise.
27426 * include/sys/resource.h: Likewise.
27427 * include/sys/select.h: Likewise.
27428 * include/sys/socket.h: Likewise.
27429 * include/sys/stat.h: Likewise.
27430 * include/sys/statvfs.h: Likewise.
27431 * include/sys/time.h: Likewise.
27432 * include/sys/times.h: Likewise.
27433 * include/sys/uio.h: Likewise.
27434 * include/sys/utsname.h: Likewise.
27435 * include/sys/wait.h: Likewise.
27436 * include/termios.h: Likewise.
27437 * include/time.h: Likewise.
27438 * include/ulimit.h: Likewise.
27439 * include/unistd.h: Likewise.
27440 * include/utime.h: Likewise.
27441 * include/wchar.h: Likewise.
27442 * include/wctype.h: Likewise.
27443 * include/wordexp.h: Likewise.
27444
27445 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27446
27447 * time/time.h: TIME_UTC must be a macro.
27448 Make timespec_get available for ISO C11 only as well.
27449
27450 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27451
27452 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27453 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27454
27455 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27456
27457 * configure.in: Use -o not -a in test for unsupported multi-arch.
27458
27459 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27460
27461 * manual/texinfo.tex: Update to version 2012-01-19.16.
27462
27463 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27464
27465 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27466
27467 2012-02-24 Roland McGrath <roland@hack.frob.com>
27468
27469 [BZ #13738]
27470 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27471 * manual/fdl-1.3.texi: New file.
27472 * manual/fdl-1.1.texi: File removed.
27473
27474 [BZ #13738]
27475 * manual/libc.texinfo (FDL_VERSION): New @set.
27476 Use it for mention of FDL in cover text.
27477 (Documentation License): Use it in @include file name.
27478
27479 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27480 Roland McGrath <roland@hack.frob.com>
27481
27482 [BZ #5461]
27483 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27484 not LONG_LONG_MAX and LONG_LONG_MIN.
27485 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27486 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27487 name.
27488 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27489
27490 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27491
27492 [BZ #2547]
27493 [BZ #11365]
27494 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27495 manipulate bits before adding and subtracting TWO23[sx].
27496 * math/libm-test.inc (nearbyint_test): Add more tests.
27497
27498 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27499
27500 [BZ #2548]
27501 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27502 bits before adding and subtracting TWO23[sx].
27503 * math/libm-test.inc (rint_test): Add more tests.
27504 (rint_test_tonearest): Likewise.
27505 (rint_test_towardzero): Likewise.
27506 (rint_test_downward): Likewise.
27507 (rint_test_upward: Likewise.
27508
27509 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27510
27511 [BZ #10110]
27512 * include/stdc-predef.h: New file. Extracted from features.h.
27513 * include/features.h: Include stdc-predef.h.
27514 * Makefile (headers): Add stdc-predef.h.
27515 * CONFORMANCE (Compiler limitations): Update.
27516
27517 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27518
27519 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27520
27521 2012-02-21 David S. Miller <davem@davemloft.net>
27522
27523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27524 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27525
27526 2012-02-20 David S. Miller <davem@davemloft.net>
27527
27528 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27529 using a normal save/restore sequence, rather than allocating a
27530 dummy stack frame just to store a frame pointer and restore.
27531 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27532
27533 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27534
27535 * manual/install.texi: Fix stray word in line-wrapped comment.
27536
27537 2012-02-20 David S. Miller <davem@davemloft.net>
27538
27539 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27540 both binutils and gcc support GOTDATA.
27541
27542 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27543 "rd %pc" in the PIC register setup sequences.
27544
27545 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27546 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27547 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27548 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27549 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27552 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27554 (SYSCALL_ERROR_HANDLER): Likewise.
27555 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27556 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27558 (SYSCALL_ERROR_HANDLER): Likewise.
27559
27560 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27561 (HAVE_GCC_GOTDATA): New.
27562 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27563 relocation support in both binutils and gcc.
27564 * sysdeps/sparc/elf/configure: Regenerate.
27565
27566 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27567 * sysdeps/sparc/sparc32/elf/configure: Delete.
27568 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27569 * sysdeps/sparc/sparc64/elf/configure: Delete.
27570 * sysdeps/sparc/elf/configure.in: New file.
27571 * sysdeps/sparc/elf/configure: Generate.
27572
27573 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27574 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27575 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27576 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27577 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27578
27579 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27580
27581 * manual/install.texi: Do not mention specific glibc version
27582 numbers.
27583 * manual/libc.texinfo (VERSION, UPDATED): Update.
27584 (@copying): Use @copyright{} and range of years.
27585
27586 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27587
27588 [BZ #13695]
27589 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27590 [crti.S not in sysdirs] (generated): Do not append.
27591 [crti.S not in sysdirs] (omit-deps): Likewise.
27592 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27593 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27594 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27595 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27596 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27597 Likewise.
27598 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27599 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27600 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27601 * csu/defs.awk: Remove file.
27602 * sysdeps/generic/initfini.c: Likewise.
27603 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27604 variable.
27605 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27606 Likewise.
27607
27608 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27609
27610 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27611 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27612 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27615 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27616 <bits/epoll.h>.
27617 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27618 (__EPOLL_PACKED): Define to empty if not defined by
27619 <bits/epoll.h>.
27620 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27622 bits/epoll.h.
27623
27624 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27625
27626 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27627 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27628 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27629 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27630 <bits/timerfd.h>.
27631 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27633 bits/timerfd.h.
27634
27635 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27636
27637 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27638 in C locale.
27639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27640 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27643
27644 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27645
27646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27648
27649 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27650
27651 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27652 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27653 defined.
27654 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27655 Likewise.
27656 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27657 entry for 2.16.
27658
27659 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27660
27661 * math/w_acos.c: Use non-signaling floating-point comparisons.
27662 * math/w_acosf.c: Likewise.
27663 * math/w_acosh.c: Likewise.
27664 * math/w_acoshf.c: Likewise.
27665 * math/w_acoshl.c: Likewise.
27666 * math/w_acosl.c: Likewise.
27667 * math/w_asin.c: Likewise.
27668 * math/w_asinf.c: Likewise.
27669 * math/w_asinl.c: Likewise.
27670 * math/w_atanh.c: Likewise.
27671 * math/w_atanhf.c: Likewise.
27672 * math/w_atanhl.c: Likewise.
27673 * math/w_exp2.c: Likewise.
27674 * math/w_exp2f.c: Likewise.
27675 * math/w_exp2l.c: Likewise.
27676 * math/w_j0.c: Likewise.
27677 * math/w_j0f.c: Likewise.
27678 * math/w_j0l.c: Likewise.
27679 * math/w_j1.c: Likewise.
27680 * math/w_j1f.c: Likewise.
27681 * math/w_j1l.c: Likewise.
27682 * math/w_jn.c: Likewise.
27683 * math/w_jnf.c: Likewise.
27684 * math/w_log.c: Likewise.
27685 * math/w_log10.c: Likewise.
27686 * math/w_log10f.c: Likewise.
27687 * math/w_log10l.c: Likewise.
27688 * math/w_log2.c: Likewise.
27689 * math/w_log2f.c: Likewise.
27690 * math/w_log2l.c: Likewise.
27691 * math/w_logf.c: Likewise.
27692 * math/w_logl.c: Likewise.
27693 * math/w_sqrt.c: Likewise.
27694 * math/w_sqrtf.c: Likewise.
27695 * math/w_sqrtl.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27699 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27700 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27701
27702 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27703
27704 [BZ #9739]
27705 * manual/string.texi (strnlen): Use correct parameter name in
27706 equivalent expression.
27707
27708 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27709
27710 [BZ #11174]
27711 * manual/users.texi (seteuid): Consistently use neweuid for
27712 argument name.
27713
27714 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27715
27716 [BZ #13704]
27717 * manual/nss.texi (Services in the NSS configuration): Correct
27718 list of services in example configuration file.
27719
27720 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27721
27722 [BZ #11322]
27723 * manual/arith.texi: Remove statements about negative zero
27724 behaving identically to zero.
27725
27726 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27727
27728 [BZ #5993]
27729 * manual/install.texi: Do not document upgrading from libc5.
27730
27731 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27732
27733 [BZ #4596]
27734 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27735
27736 2012-02-18 David S. Miller <davem@davemloft.net>
27737
27738 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27739 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27740 %o7 across the call.
27741 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27742 instead.
27743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27744 SETUP_PIC_REG_LEAF.
27745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27746 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27747 * sysdeps/sparc/crtn.S: Likewise.
27748
27749 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27750
27751 * aout/Makefile: Remove.
27752
27753 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27754
27755 [BZ #13058]
27756 * manual/examples/argp-ex1.c (main): Format definition in GNU
27757 style.
27758 * manual/examples/argp-ex2.c (main): Likewise.
27759 * manual/examples/argp-ex3.c (main): Likewise.
27760 * manual/examples/argp-ex4.c (main): Likewise.
27761 * manual/examples/longopt.c (main): Use new-style prototype
27762 definition.
27763 * manual/examples/strncat.c (main): Specify return type and use
27764 (void) for arguments.
27765 * manual/examples/subopt.c (main): Use char **argv argument.
27766
27767 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27768
27769 [BZ #5077]
27770 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27771 rounding modes.
27772
27773 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27774
27775 [BZ #6907]
27776 * manual/string.texi (strchr): Change when strchrnul is
27777 recommended.
27778
27779 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27780
27781 [BZ #174]
27782 * manual/locale.texi (setlocale): Document LOCPATH.
27783
27784 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27785
27786 [BZ #10210]
27787 * manual/process.texi (execle): Move @dots{} before last argument.
27788
27789 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27790
27791 [BZ #12047]
27792 * manual/charset.texi (Generic Charset Conversion): Fix typo
27793 (LC_TYPE -> LC_CTYPE).
27794
27795 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27796
27797 [BZ #5805]
27798 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27799 (scalbnf): Likewise.
27800 (scalbnl): Likewise.
27801 (scalbln): Likewise.
27802 (scalblnf): Likewise.
27803 (scalblnl): Likewise.
27804 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27805 (vwarnx): Likewise.
27806 (verr): Likewise.
27807 (verrx): Likewise.
27808 * manual/filesys.texi (telldir): Use braces around return type.
27809 * manual/llio.texi (mmap): Add space after comma.
27810 (mmap64): Likewise.
27811 * manual/math.texi (jn): Use @var{} on parameter names.
27812 (jnf): Likewise.
27813 (jnl): Likewise.
27814 (yn): Likewise.
27815 (ynf): Likewise.
27816 (ynl): Likewise.
27817 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27818 line.
27819 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27820 "...".
27821 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27822 (sched_get_priority_max): Likewise.
27823 * manual/signal.texi (sigvec): Add space after comma.
27824 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27825 names.
27826 (if_indextoname): Likewise.
27827 (if_freenameindex): Likewise.
27828 (sendto): Use ',' instead of '.' in prototype.
27829 * manual/startup.texi (syscall): Use @dots{} instead of literal
27830 "...".
27831 * manual/stdio.texi (__fpending): Separate initial words of
27832 paragraph from @deftypefun line.
27833 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27834 "...".
27835 (vsyslog): Use @var{} on parameter names.
27836 * manual/terminal.texi (stty): Use @var{} on parameter names.
27837 * manual/users.texi (getutmp): Use @var{} on parameter names.
27838 (getutmpx): Likewise.
27839
27840 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27841
27842 [BZ #6884]
27843 * manual/stdio.texi (fopen): Fix typos in description of
27844 ",ccs=STRING".
27845
27846 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27847
27848 [BZ #4026]
27849 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27850 get clock_id definition.
27851
27852 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27853
27854 [BZ #4822]
27855 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27856 (madvise): Cast every argument to void on its own.
27857
27858 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27859
27860 [BZ #9902]
27861 * manual/startup.texi (Exit Status): Fix typo.
27862
27863 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27864
27865 [BZ #10140]
27866 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27867 * manual/examples/argp-ex2.c: Likewise.
27868 * manual/examples/argp-ex3.c: Likewise.
27869
27870 2012-02-16 Richard Henderson <rth@redhat.com>
27871
27872 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27873 * sysdeps/s390/s390-32/initfini.c: Remove.
27874 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27875 * sysdeps/s390/s390-64/initfini.c: Remove.
27876
27877 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27878
27879 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27880 compiler output for sysdeps/generic/initfini.c.
27881 * sysdeps/sh/elf/initfini.c: Remove file.
27882
27883 2012-02-16 David S. Miller <davem@davemloft.net>
27884
27885 [BZ #11494]
27886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27887
27888 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27889 * sysdeps/sparc/crti.S: New file.
27890 * sysdeps/sparc/crtn.S: New file.
27891 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27892 * sysdeps/sparc/sparc64/Makefile: Likewise.
27893
27894 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27895
27896 [BZ #3335]
27897 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27898
27899 2012-02-15 Roland McGrath <roland@hack.frob.com>
27900
27901 [BZ #4822]
27902 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27903
27904 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27905 (write, read, close): Likewise.
27906 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27907
27908 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27909
27910 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27911 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27912 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27913 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27914 <bits/signalfd.h>.
27915 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27917 bits/signalfd.h.
27918
27919 2012-02-14 Marek Polacek <polacek@redhat.com>
27920
27921 * sysdeps/x86_64/crti.S: New file.
27922 * sysdeps/x86_64/crtn.S: New file.
27923 * sysdeps/x86_64/elf/initfini.c: Remove file.
27924
27925 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27926
27927 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27928 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27929 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27930 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27931 <bits/inotify.h>.
27932 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27934 bits/inotify.h.
27935
27936 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27937
27938 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27939 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27940 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27941 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27942 <bits/eventfd.h>.
27943 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27945 bits/eventfd.h.
27946
27947 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27948
27949 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27950 __feraiseexcept instead of feraiseexcept.
27951
27952 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27953 nanosleep invocations.
27954 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27955 strings, and add error checking for a nanosleep invocations.
27956
27957 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27958
27959 Replace FSF snail mail address with URLs, as per GNU coding standards.
27960 Most of the snail mail addresses were wrong anyway, and omitting
27961 them makes the source code easier to maintain. Almost all of the
27962 changes are to license notices and to locale LC_IDENTIFICATION
27963 addresses, except for this one:
27964 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27965 not its snail mail address.
27966
27967 2012-02-09 Richard Henderson <rth@twiddle.net>
27968
27969 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27970 of kernel-features.h.
27971
27972 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27973
27974 2012-02-08 Marek Polacek <polacek@redhat.com>
27975
27976 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27977 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27978 * sysdeps/gnu/_G_config.h: Likewise.
27979 * sysdeps/generic/_G_config.h: Likewise.
27980
27981 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27982
27983 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27984 tests.
27985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27986
27987 * sysdeps/powerpc/powerpc32/crti.S: New file.
27988 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27989 * sysdeps/powerpc/powerpc64/crti.S: New file.
27990 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27991
27992 * Makeconfig (have-initfini): Don't set.
27993 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27994 * configure.in (nopic_initfini): Don't substitute.
27995 * config.h.in (HAVE_INITFINI): Don't #undef.
27996 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27997 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27998
27999 2012-02-08 Joseph Myers <joseph@codesourcery.com>
28000
28001 Support crti.S and crtn.S provided directly by architectures.
28002 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28003 [crti.S in sysdirs] (omit-deps): Likewise.
28004 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28005 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28006 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28007 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28008 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28009 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28010 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28011 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28012 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28013 compiler output for sysdeps/generic/initfini.c.
28014 * sysdeps/i386/elf/Makefile: Remove file.
28015 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28016
28017 2012-02-07 Marek Polacek <polacek@redhat.com>
28018
28019 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28020 * sysdeps/gnu/_G_config.h: Likewise.
28021 * sysdeps/mach/hurd/_G_config.h: Likewise.
28022
28023 2012-02-07 Marek Polacek <polacek@redhat.com>
28024
28025 * math/Makefile (tests): Add tst-CMPLX2.
28026 * math/tst-CMPLX2.c: New file.
28027
28028 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28029
28030 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28031
28032 * math/libm-test.inc (jn_test): Add missing L suffix.
28033
28034 2012-02-06 Marek Polacek <polacek@redhat.com>
28035
28036 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28037 * sysdeps/i386/fpu/e_powf.S: Likewise.
28038 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28039 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28040 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28041 * sysdeps/i386/fpu/e_pow.S: Likewise.
28042 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28044 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28045 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28046 * sysdeps/i386/fpu/e_log2.S: Likewise.
28047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28049 * sysdeps/i386/fpu/e_powl.S: Likewise.
28050 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28051 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28052 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28053 * sysdeps/i386/fpu/e_logl.S: Likewise.
28054 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28055 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28056 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28057 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28058 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28059 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28060 * sysdeps/i386/fpu/e_log.S: Likewise.
28061 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28063 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28064 * sysdeps/i386/fpu/e_logf.S: Likewise.
28065 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28066 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28067 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28068 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28069 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28070 * sysdeps/i386/fpu/e_log10.S: Likewise.
28071 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28073 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28074 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28075 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28076 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28077 * sysdeps/i386/asm-syntax.h: Likewise.
28078 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28079 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28080 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28081 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28082 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28083 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28084 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28085 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28087 * sysdeps/powerpc/sysdep.h: Likewise.
28088 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28090
28091 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28092
28093 [BZ #411]
28094 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28095
28096 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28097
28098 * sysdeps/i386/sysdep.h: Include <features.h>.
28099 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28100 version.
28101
28102 2012-02-05 Joseph Myers <joseph@codesourcery.com>
28103
28104 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28105 Define.
28106 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28107 LOAD_PIC_REG_STR.
28108
28109 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28110
28111 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28112 (SETUP_PIC_REG): Use GET_PC_THUNK.
28113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28114 macro.
28115
28116 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28117
28118 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28119 for non-PIC compilation.
28120 (SETUP_PIC_REG): Add .p2align directive.
28121 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28122 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28123 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28124 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28125 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28126 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28129 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28130 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28131 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28132 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28133 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28134 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28135 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28136 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28137 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28138 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28139 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28140 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28141 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28142 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28143 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28144 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28145 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28147 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28153 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28154 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28155 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28157 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28158 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28159 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28160 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28161 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28162
28163 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28164
28165 * math/tst-CMPLX.c: Include <stdio.h>.
28166
28167 2012-01-31 Joseph Myers <joseph@codesourcery.com>
28168
28169 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28170 float.
28171 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28172 * sysdeps/sparc/bits/mathdef.h: Likewise.
28173
28174 2012-01-31 Marek Polacek <polacek@redhat.com>
28175
28176 * libio/libio.h: Don't define _PARAMS.
28177 * locale/programs/config.h: Don't define PARAMS.
28178 * stdlib/strtol_l.c: Likewise.
28179 (__strtol_l): Remove PARAMS from the prototype.
28180
28181 2012-01-31 Ulrich Drepper <drepper@gmail.com>
28182
28183 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28184 names. Just use the correct names. Remove unnecessary wrapper
28185 functions.
28186 * malloc/arena.c: Likewise.
28187 * malloc/hooks.c: Likewise.
28188
28189 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28190 ARENA_TEST says not to. Simplify test for creation of a new arena.
28191 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28192
28193 2012-01-30 Ulrich Drepper <drepper@gmail.com>
28194
28195 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28196 into tail calls.
28197 (update_get_addr): New function.
28198 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28199 GET_ADDR_MODULE parameter.
28200
28201 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28202
28203 * crypt/cert.c: Remove __STDC__ conditionals.
28204 * crypt/crypt-entry.c: Likewise.
28205 * crypt/crypt_util.c: Likewise.
28206 * libio/filedoalloc.c: Likewise.
28207 * libio/fileops.c: Likewise.
28208 * libio/genops.c: Likewise.
28209 * libio/iofclose.c: Likewise.
28210 * libio/iofdopen.c: Likewise.
28211 * libio/iofopen.c: Likewise.
28212 * libio/iofopen64.c: Likewise.
28213 * libio/iogetdelim.c: Likewise.
28214 * libio/iopopen.c: Likewise.
28215 * libio/obprintf.c: Likewise.
28216 * libio/oldfileops.c: Likewise.
28217 * libio/oldiofclose.c: Likewise.
28218 * libio/oldiofdopen.c: Likewise.
28219 * libio/oldiofopen.c: Likewise.
28220 * libio/oldiopopen.c: Likewise.
28221 * libio/wfiledoalloc.c: Likewise.
28222 * libio/wgenops.c: Likewise.
28223 * locale/programs/xmalloc.c: Likewise.
28224 * misc/syslog.c: Likewise.
28225 * stdio-common/xbug.c: Likewise.
28226 * string/memchr.c: Likewise.
28227 * string/memcmp.c: Likewise.
28228 * string/memrchr.c: Likewise.
28229 * string/rawmemchr.c: Likewise.
28230 * sysdeps/posix/getcwd.c: Likewise.
28231 * time/strftime_l.c: Likewise.
28232
28233 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28234
28235 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28236 * config.make.in (config-cflags-sse2avx): Define.
28237 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28238 Fix typo.
28239
28240 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28241
28242 * scripts/config.guess: Update from upstream config git repository.
28243 * scripts/config.sub: Likewise.
28244
28245 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28246
28247 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28248 (EM_NUM): Update.
28249 (R_TILEPRO_*, R_TILEGX_*): New macros.
28250
28251 * scripts/firstversions.awk: Fix bug in version range handling.
28252
28253 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28254
28255 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28256
28257 * include/sys/epoll.h: New file.
28258 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28259 libc_hidden_def.
28260
28261 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28262
28263 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28264 Avoid unnecessary __WORDSIZE == 64 test.
28265 (fmaxf): Use VEX format if possible.
28266 (fmax): Likewise.
28267 (fminf): Likewise.
28268 (fmin): Likewise.
28269
28270 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28271 * math/math_private.h: Remove libc_fegetround* and
28272 libc_fesetround*.
28273 * sysdeps/i386/configure.in: Check for -msse2avx.
28274 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28275 also if SSE2AVX is defined.
28276 Remove libc_fegetround* and libc_fesetround*.
28277 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28278 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28280 of HAS_YMM_USABLE.
28281 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28282 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28283 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28284 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28285 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28286
28287 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28288
28289 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28290
28291 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28292 size is not set.
28293 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28294
28295 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28296
28297 [BZ #13618]
28298 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28299 relocation.
28300 * Makeconfig (libm): Define.
28301 * elf/Makefile: Add rules to build and run tst-relsort1.
28302 * elf/tst-relsort1.c: New file.
28303 * elf/tst-relsort1mod1.c: New file.
28304 * elf/tst-relsort1mod2.c: New file.
28305
28306 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28307
28308 * math/s_ldexp.c: Remove __STDC__ conditionals.
28309 * math/s_ldexpf.c: Likewise.
28310 * math/s_ldexpl.c: Likewise.
28311 * math/s_nextafter.c: Likewise.
28312 * math/s_nexttowardf.c: Likewise.
28313 * math/s_significand.c: Likewise.
28314 * math/s_significandf.c: Likewise.
28315 * math/s_significandl.c: Likewise.
28316 * math/w_jnl.c: Likewise.
28317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28323 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28324 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28326 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28327 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28328 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28329 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28330 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28331 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28332 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28333 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28334 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28336 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28337 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28342 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28343 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28344 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28345 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28346 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28347 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28348 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28349 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28350 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28351 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28354 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28355 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28356 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28357 * sysdeps/ieee754/k_standard.c: Likewise.
28358 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28362 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28364 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28367 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28374 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28376 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28382 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28389 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28390 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28391 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28394 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28395 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28397 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28398 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28400 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28401 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28403 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28407 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28408 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28413 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28414 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28416 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28418 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28419 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28420 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28422 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28424 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28431 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28432 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28433 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28434 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28435 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28437 * sysdeps/ieee754/s_matherr.c: Likewise.
28438 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28439 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28441 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28442
28443 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28444
28445 * crypt/md5.h: Remove __STDC__ conditionals.
28446 * libio/libioP.h: Likewise.
28447 * locale/programs/config.h: Likewise.
28448 * sysdeps/generic/sysdep.h: Likewise.
28449 * sysdeps/i386/asm-syntax.h: Likewise.
28450 * sysdeps/s390/asm-syntax.h: Likewise.
28451 * sysdeps/unix/sysdep.h: Likewise.
28452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28454
28455 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28456
28457 * libio/libio.h: Remove __STDC__ conditionals.
28458 * malloc/obstack.h: Likewise.
28459 * math/complex.h: Likewise.
28460 * math/math.h: Likewise.
28461 * sysdeps/generic/_G_config.h: Likewise.
28462 * sysdeps/gnu/_G_config.h: Likewise.
28463 * sysdeps/mach/hurd/_G_config.h: Likewise.
28464 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28465 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28466 * sysdeps/sparc/bits/mathdef.h: Likewise.
28467
28468 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28469
28470 [BZ #13583]
28471 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28472 Clean up HAS_* macros.
28473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28474 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28475 possible.
28476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28477 HAS_AVX.
28478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28479 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28483
28484 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28485
28486 * elf/tst-unique3.cc (gets): Remove declaration.
28487 * elf/tst-unique3lib.cc (gets): Likewise.
28488 * elf/tst-unique3lib2.cc (gets): Likewise.
28489 * elf/tst-unique4.cc (gets): Likewise.
28490
28491 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28492
28493 * include/stdio.h: Add C++ protection. Add gets declarations and
28494 definitions.
28495 * debug/tst-chk1.c: Don't declare gets here.
28496 * stdio-common/tst-gets.c: Likewise.
28497
28498 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28499
28500 * posix/glob: Remove directory.
28501
28502 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28503
28504 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28505
28506 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28507
28508 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28509 of the non-standard EPFNOSUPPORT.
28510
28511 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28512
28513 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28514 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28515 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28516
28517 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28518
28519 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28520
28521 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28522
28523 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28524 transient errors.
28525 * nscd/grpcache.c (cache_addgr): Likewise.
28526 * nscd/hstcache.c (cache_addhst): Likewise.
28527 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28528 * nscd/pwdcache.c (cache_addpw): Likewise.
28529 * nscd/servicescache.c (cache_addserv): Likewise.
28530
28531 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28532
28533 * malloc/malloc.c: Various cleanups.
28534 * malloc/hooks.c: Likewise.
28535
28536 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28537 * stdlib/bug-fmtmsg1.c: New file.
28538
28539 * stdlib/fmtmsg.c (init): Add missing unlock.
28540 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28541
28542 2012-01-12 Marek Polacek <polacek@redhat.com>
28543
28544 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28545 and _GNU_SOURCE.
28546
28547 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28548
28549 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28550 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28551 macro to ensure uniqueness of label name.
28552 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28553 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28554
28555 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28556
28557 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28558
28559 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28560 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28563
28564 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28565
28566 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28567
28568 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28569 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28570 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28571
28572 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28573
28574 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28575 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28576 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28578
28579 * math/bits/math-finite.h: Add ldexp support.
28580
28581 2012-01-10 Marek Polacek <polacek@redhat.com>
28582
28583 * locale/programs/localedef.h (show_archive_content): Add noreturn
28584 attribute.
28585
28586 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28587
28588 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28589
28590 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28591
28592 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28593
28594 * io/Makefile (headers): Add bits/poll2.h.
28595
28596 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28597
28598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28599 typo #include statement.
28600
28601 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28602
28603 * include/sys/cdefs.h: Define __attribute_alloc_size.
28604 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28605 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28606 * elf/pldd.c: Likewise.
28607 * iconv/iconv_charmap.c: Likewise.
28608 * iconv/iconvconfig.c: Likewise.
28609 * iconv/strtab.c: Likewise.
28610 * locale/programs/locale.c: Likewise.
28611 * locale/programs/localedef.h: Likewise.
28612 * locale/programs/simple-hash.c: Likewise.
28613 * nscd/nscd.h: Likewise.
28614 * nss/makedb.c: Likewise.
28615 * sysdeps/generic/ldconfig.h: Likewise.
28616 * locale/programs/localedef.c: Remove xmalloc prototype.
28617 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28618
28619 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28620
28621 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28622 appropriate.
28623
28624 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28625
28626 * math/Makefile (tests): Add tst-CMPLX.
28627 * math/tst-CMPLX.c: New file.
28628
28629 * math/complex.h (CMPLXL): Fix typo.
28630
28631 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28632 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28633 GLIBC_2.16.
28634 * debug/tst-chk1.c: Add poll and ppoll tests.
28635 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28636 * include/sys/poll.h: Add hidden proto for ppoll.
28637 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28638 * sysdeps/mach/hurd/ppoll.c: Likewise.
28639 * io/ppoll.c: Likewise.
28640 * debug/poll_chk.c: New file.
28641 * debug/ppoll_chk.c: New file.
28642 * include/bits/poll2.h: New file.
28643 * io/bits/poll2.h: New file.
28644
28645 [BZ #1350]
28646 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28647
28648 * configure.in: static is always set to yes. Remove.
28649 * config.make.in: Don't set build-static.
28650 * Makeconfig: Remove use of build-static.
28651 * dlfcn/Makefile: Likewise.
28652 * elf/Makefile: Likewise.
28653 * math/Makefile: Likewise.
28654 * misc/Makefile: Likewise.
28655 * nptl/Makefile: Likewise.
28656 * sysdeps/mach/hurd/Makefile: Likewise.
28657
28658 * configure.in: PWD_P is not used anymore.
28659 * config.make.in: Remove PWD_P entry.
28660
28661 * configure.in: Remove last remnants of RANLIB.
28662 No need to check for signed size_t anymore.
28663 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28664 and IA-64.
28665 Remove __builtin_expect test because we require at least gcc 3.4.
28666 * aclocal.m4: Likewise.
28667
28668 * wcsmbs/mbrtoc16.c: Implement using towc function.
28669 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28670 * wcsmbs/wcsmbsload.c: Likewise.
28671 * iconv/gconv_simple.c: Likewise.
28672 * iconv/gconv_int.h: Likewise.
28673 * iconv/gconv_builtin.h: Likewise.
28674 * iconv/iconv_prog.c: Remove CHAR16 handling.
28675
28676 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28677
28678 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28679
28680 * configure.in: Remove --with-elf and --enable-bounded options.
28681 Dont set base_machine for ia64. More non-ELF conditions removed.
28682 Remove testing and setting of leading underscore information.
28683 * config.make.in (build-bounded): Set to no.
28684 * config.h.in: Remove NO_UNDERSCORES entry.
28685 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28686 them.
28687 * csu/start.c: Remove !NO_UNDERSCORE code.
28688 * locale/localeinfo.h: Likewise.
28689 * sysdeps/generic/machine-gmon.h: Likewise.
28690 * sysdeps/generic/sysdep.h: Likewise.
28691 * sysdeps/i386/sysdep.h: Likewise.
28692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28693 * sysdeps/mach/sysdep.h: Likewise.
28694 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28696 * sysdeps/sh/sysdep.h: Likewise.
28697 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28698 * sysdeps/unix/i386/sysdep.S: Likewise.
28699 * sysdeps/unix/sparc/start.c: Likewise.
28700 * sysdeps/unix/sparc/sysdep.S: Likewise.
28701 * sysdeps/unix/sparc/sysdep.h: Likewise.
28702 * sysdeps/unix/start.c: Likewise.
28703 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28704 * sysdeps/x86_64/sysdep.h: Likewise.
28705
28706 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28707
28708 [BZ #13553]
28709 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28710 for non-gcc.
28711 * argp/argp-fmtstream.h: Use const instead __const.
28712 * argp/argp.h: Likewise.
28713 * assert/assert.h: Likewise.
28714 * bits/fenv.h: Likewise.
28715 * bits/sched.h: Likewise.
28716 * bits/sigset.h: Likewise.
28717 * bits/sigthread.h: Likewise.
28718 * catgets/nl_types.h: Likewise.
28719 * conform/data/pthread.h-data: Likewise.
28720 * crypt/crypt-private.h: Likewise.
28721 * crypt/crypt.h: Likewise.
28722 * crypt/crypt_util.c: Likewise.
28723 * ctype/ctype.h: Likewise.
28724 * debug/execinfo.h: Likewise.
28725 * debug/mbsnrtowcs_chk.c: Likewise.
28726 * debug/mbsrtowcs_chk.c: Likewise.
28727 * debug/wcsnrtombs_chk.c: Likewise.
28728 * debug/wcsrtombs_chk.c: Likewise.
28729 * debug/wcstombs_chk.c: Likewise.
28730 * dirent/dirent.h: Likewise.
28731 * dlfcn/dlfcn.h: Likewise.
28732 * elf/neededtest4.c: Likewise.
28733 * grp/grp.h: Likewise.
28734 * gshadow/gshadow.h: Likewise.
28735 * iconv/gconv.h: Likewise.
28736 * iconv/gconv_int.h: Likewise.
28737 * iconv/gconv_simple.c: Likewise.
28738 * iconv/iconv.h: Likewise.
28739 * iconv/loop.c: Likewise.
28740 * iconv/skeleton.c: Likewise.
28741 * include/aio.h: Likewise.
28742 * include/aliases.h: Likewise.
28743 * include/argz.h: Likewise.
28744 * include/arpa/inet.h: Likewise.
28745 * include/assert.h: Likewise.
28746 * include/dirent.h: Likewise.
28747 * include/dlfcn.h: Likewise.
28748 * include/execinfo.h: Likewise.
28749 * include/fcntl.h: Likewise.
28750 * include/fenv.h: Likewise.
28751 * include/glob.h: Likewise.
28752 * include/grp.h: Likewise.
28753 * include/libintl.h: Likewise.
28754 * include/mntent.h: Likewise.
28755 * include/netdb.h: Likewise.
28756 * include/pwd.h: Likewise.
28757 * include/rpc/netdb.h: Likewise.
28758 * include/sched.h: Likewise.
28759 * include/search.h: Likewise.
28760 * include/shadow.h: Likewise.
28761 * include/signal.h: Likewise.
28762 * include/stdio.h: Likewise.
28763 * include/stdlib.h: Likewise.
28764 * include/string.h: Likewise.
28765 * include/sys/socket.h: Likewise.
28766 * include/sys/stat.h: Likewise.
28767 * include/sys/statfs.h: Likewise.
28768 * include/sys/statvfs.h: Likewise.
28769 * include/sys/syslog.h: Likewise.
28770 * include/sys/time.h: Likewise.
28771 * include/sys/uio.h: Likewise.
28772 * include/time.h: Likewise.
28773 * include/unistd.h: Likewise.
28774 * include/utmp.h: Likewise.
28775 * include/wchar.h: Likewise.
28776 * include/wctype.h: Likewise.
28777 * inet/aliases.h: Likewise.
28778 * inet/arpa/inet.h: Likewise.
28779 * inet/netinet/ether.h: Likewise.
28780 * inet/netinet/in.h: Likewise.
28781 * intl/libintl.h: Likewise.
28782 * io/bits/fcntl2.h: Likewise.
28783 * io/fcntl.h: Likewise.
28784 * io/ftw.h: Likewise.
28785 * io/sys/poll.h: Likewise.
28786 * io/sys/stat.h: Likewise.
28787 * io/sys/statfs.h: Likewise.
28788 * io/sys/statvfs.h: Likewise.
28789 * io/utime.h: Likewise.
28790 * libio/bits/stdio.h: Likewise.
28791 * libio/bits/stdio2.h: Likewise.
28792 * libio/libio.h: Likewise.
28793 * libio/libioP.h: Likewise.
28794 * libio/stdio.h: Likewise.
28795 * locale/lc-ctype.c: Likewise.
28796 * locale/locale.h: Likewise.
28797 * login/utmp.h: Likewise.
28798 * malloc/arena.c: Likewise.
28799 * malloc/malloc.c: Likewise.
28800 * malloc/malloc.h: Likewise.
28801 * malloc/mcheck.c: Likewise.
28802 * malloc/mtrace.c: Likewise.
28803 * math/bits/mathcalls.h: Likewise.
28804 * math/fenv.h: Likewise.
28805 * math/math_private.h: Likewise.
28806 * misc/bits/error.h: Likewise.
28807 * misc/bits/syslog.h: Likewise.
28808 * misc/err.h: Likewise.
28809 * misc/error.h: Likewise.
28810 * misc/fstab.h: Likewise.
28811 * misc/mntent.h: Likewise.
28812 * misc/regexp.h: Likewise.
28813 * misc/search.h: Likewise.
28814 * misc/sgtty.h: Likewise.
28815 * misc/sys/mman.h: Likewise.
28816 * misc/sys/syslog.h: Likewise.
28817 * misc/sys/uio.h: Likewise.
28818 * misc/sys/xattr.h: Likewise.
28819 * misc/ttyent.h: Likewise.
28820 * nis/rpcsvc/ypclnt.h: Likewise.
28821 * nss/nss.h: Likewise.
28822 * posix/bits/unistd.h: Likewise.
28823 * posix/fnmatch.h: Likewise.
28824 * posix/glob.h: Likewise.
28825 * posix/sched.h: Likewise.
28826 * posix/spawn.h: Likewise.
28827 * posix/sys/wait.h: Likewise.
28828 * posix/unistd.h: Likewise.
28829 * posix/wordexp.h: Likewise.
28830 * pwd/pwd.h: Likewise.
28831 * resolv/netdb.h: Likewise.
28832 * resource/sys/resource.h: Likewise.
28833 * rt/aio.h: Likewise.
28834 * rt/bits/mqueue2.h: Likewise.
28835 * rt/mqueue.h: Likewise.
28836 * shadow/shadow.h: Likewise.
28837 * signal/signal.h: Likewise.
28838 * socket/send.c: Likewise.
28839 * socket/sendto.c: Likewise.
28840 * socket/sys/socket.h: Likewise.
28841 * stdio-common/printf.h: Likewise.
28842 * stdlib/bits/stdlib.h: Likewise.
28843 * stdlib/fmtmsg.h: Likewise.
28844 * stdlib/monetary.h: Likewise.
28845 * stdlib/stdlib.h: Likewise.
28846 * stdlib/ucontext.h: Likewise.
28847 * streams/stropts.h: Likewise.
28848 * string/argz.h: Likewise.
28849 * string/bits/string2.h: Likewise.
28850 * string/string.h: Likewise.
28851 * string/strings.h: Likewise.
28852 * sunrpc/rpc/auth.h: Likewise.
28853 * sunrpc/rpc/auth_des.h: Likewise.
28854 * sunrpc/rpc/clnt.h: Likewise.
28855 * sunrpc/rpc/netdb.h: Likewise.
28856 * sunrpc/rpc/pmap_clnt.h: Likewise.
28857 * sunrpc/rpc/xdr.h: Likewise.
28858 * sysdeps/generic/inttypes.h: Likewise.
28859 * sysdeps/generic/net/if.h: Likewise.
28860 * sysdeps/generic/sys/swap.h: Likewise.
28861 * sysdeps/gnu/net/if.h: Likewise.
28862 * sysdeps/gnu/utmpx.h: Likewise.
28863 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28864 * sysdeps/i386/i486/bits/string.h: Likewise.
28865 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28866 * sysdeps/s390/bits/string.h: Likewise.
28867 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28868 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28869 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28870 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28871 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28872 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28873 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28874 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28875 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28876 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28877 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28878 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28879 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28880 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28881 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28882 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28883 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28887 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28888 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28889 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28890 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28891 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28892 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28893 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28895 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28896 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28897 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28898 * sysvipc/sys/ipc.h: Likewise.
28899 * sysvipc/sys/msg.h: Likewise.
28900 * sysvipc/sys/sem.h: Likewise.
28901 * sysvipc/sys/shm.h: Likewise.
28902 * termios/termios.h: Likewise.
28903 * time/sys/time.h: Likewise.
28904 * time/time.h: Likewise.
28905 * wcsmbs/bits/wchar2.h: Likewise.
28906 * wcsmbs/uchar.h: Likewise.
28907 * wcsmbs/wchar.h: Likewise.
28908 * wctype/wctype.h: Likewise.
28909
28910 [BZ #13551]
28911 * Makeconfig: Remove all but ELF support including AIX support.
28912 * Makerules: Likewise.
28913 * config.h.in: Likewise.
28914 * config.make.in: Likewise.
28915 * configure: Likewise.
28916 * configure.in: Likewise.
28917 * csu/Makefile: Likewise.
28918 * csu/version.c: Likewise.
28919 * debug/Makefile: Likewise.
28920 * dlfcn/Makefile: Likewise.
28921 * elf/Makefile: Likewise.
28922 * extra-lib.mk: Likewise.
28923 * iconv/Makefile: Likewise.
28924 * include/libc-symbols.h: Likewise.
28925 * include/shlib-compat.h: Likewise.
28926 * resolv/Makefile: Likewise.
28927 * resolv/res_libc.c: Likewise.
28928 * rt/Makefile: Likewise.
28929 * sysdeps/i386/asm-syntax.h: Likewise.
28930 * sysdeps/i386/sysdep.h: Likewise.
28931 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28932 * sysdeps/mach/sysdep.h: Likewise.
28933 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28934 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28935 * sysdeps/s390/asm-syntax.h: Likewise.
28936 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28938 * sysdeps/sh/sysdep.h: Likewise.
28939 * sysdeps/unix/sparc/sysdep.h: Likewise.
28940 * sysdeps/wordsize-32/divdi3.c: Likewise.
28941 * sysdeps/x86_64/sysdep.h: Likewise.
28942
28943 * argp/Versions: Remove _argp_unlock_xxx.
28944
28945 [BZ #13559]
28946 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28947 * abilist/libBrokenLocale.abilist: Likewise.
28948 * abilist/libanl.abilist: Likewise.
28949 * abilist/libc.abilist: Likewise.
28950 * abilist/libcrypt.abilist: Likewise.
28951 * abilist/libdl.abilist: Likewise.
28952 * abilist/libm.abilist: Likewise.
28953 * abilist/libnsl.abilist: Likewise.
28954 * abilist/libpthread.abilist: Likewise.
28955 * abilist/libresolv.abilist: Likewise.
28956 * abilist/librt.abilist: Likewise.
28957 * abilist/libthread_db.abilist: Likewise.
28958 * abilist/libutil.abilist: Likewise.
28959 * abilist/libnss_db.abilist: New file.
28960
28961 * scripts/abilist.awk: Add support for indirect functions.
28962
28963 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28964
28965 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28966
28967 * shlib-versions: Remove entries for ports architectures.
28968
28969 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28970 files in ports.
28971 * elf/stackguard-macros.h: Remove support for IA-64.
28972 * elf/tst-auditmod1.c: Likewise.
28973 * sysdeps/generic/ldsodefs.h: Likewise.
28974
28975 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28976 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28977 configure files.
28978
28979 [BZ #13552]
28980 * configure.in: Remove --enable-omitfp support.
28981 * FAQ.in: Adjust.
28982 * config.make.in: Likewise.
28983 * Makeconfig: Likewise.
28984 * manual/install.texi: Likewise.
28985
28986 In case anyone cares, the IA-64 architecture could move to ports.
28987 * sysdeps/ia64/*: Removed.
28988 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28989 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28990
28991 [BZ #13555]
28992 * configure.in: Remove entries for unsupported architectures.
28993
28994 [BZ #13533]
28995 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28996 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28997 routines.
28998 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28999 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29000 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29001 fall back to using wcrtomb.
29002 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29003 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29004 renaming.
29005 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29006 * wcsmbs/tst-c16c32-1.c: New file.
29007
29008 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29009 local variable.
29010
29011 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29012
29013 * elf/tst-unique3.cc: Add explicit declaration of gets.
29014 * elf/tst-unique3lib.cc: Likewise.
29015 * elf/tst-unique3lib2.cc: Likewise.
29016 * elf/tst-unique4.cc: Likewise.
29017
29018 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29019
29020 2012-01-06 Joseph Myers <joseph@codesourcery.com>
29021
29022 [BZ #13566]
29023 * assert/assert.h (static_assert): Don't define for C++.
29024 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29025 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29026
29027 2012-01-03 Ulrich Drepper <drepper@gmail.com>
29028
29029 * iconv/loop.c (single loop): Fix assertion in storing of
29030 remaining bytes.
29031
29032 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29033
29034 2012-01-01 Ulrich Drepper <drepper@gmail.com>
29035
29036 * posix/getconf.c: Update copyright year.
29037 * nss/getent.c: Likewise.
29038 * nss/makedb.c: Likewise.
29039 * iconv/iconvconfig.c: Likewise.
29040 * iconv/iconv_prog.c: Likewise.
29041 * elf/ldconfig.c: Likewise.
29042 * elf/pldd.c: Likewise.
29043 * elf/sotruss.ksh: Likewise.
29044 * catgets/gencat.c: Likewise.
29045 * csu/version.c: Likewise.
29046 * elf/ldd.bash.in: Likewise.
29047 * elf/sprof.c (print_version): Likewise.
29048 * locale/programs/locale.c: Likewise.
29049 * locale/programs/localedef.c: Likewise.
29050 * login/programs/pt_chown.c: Likewise.
29051 * nscd/nscd.c (print_version): Likewise.
29052 * debug/xtrace.sh: Likewise.
29053 * malloc/memusage.sh: Likewise.
29054 * malloc/mtrace.pl: Likewise.
29055 * debug/catchsegv.sh: Likewise.
29056
29057 2011-12-30 Jakub Jelinek <jakub@redhat.com>
29058
29059 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29060 pure attribute.
29061
29062 2011-12-24 Ulrich Drepper <drepper@gmail.com>
29063
29064 [BZ #13533]
29065 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29066 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29067 transformations.
29068 * iconv/gconv_int.h: Likewise.
29069 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29070 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29071 from libc for GLIBC_2.16.
29072 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29073 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29074 * wcsmbs/uchar.h: Really define mbstate_t.
29075 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29076 * wcsmbs/c16rtomb.c: New file.
29077 * wcsmbs/mbrtoc16.c: New file.
29078 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29079 for C/POSIX locale.
29080 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29081 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29082
29083 * wcsmbs/wchar.h: Add missing __restrict.
29084
29085 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29086
29087 [BZ #13532]
29088 * time/Makefile (routines): Add timespec_get.
29089 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29090 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29091 timespec for ISO C11.
29092 * time/timespec_get.c: New file.
29093 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29094 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29095
29096 [BZ #13531]
29097 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29098 * stdlib/stdlib.h: Declare aligned_alloc.
29099 * Versions.def: Add GLIBC_2.16 for libc.
29100 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29101
29102 [BZ 13527]
29103 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29104 ISO C11.
29105
29106 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29107 code.
29108
29109 [BZ #13528]
29110 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29111
29112 [BZ #13529]
29113 * assert/assert.h (static_assert): Define.
29114
29115 * version.h: Update for 2.16 development version.
29116
29117 [BZ #13526]
29118 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29119 _ISOC11_SOURCE.
29120
29121 * version.h (RELEASE): Bump for 2.15 release.
29122 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29123
29124 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29125 Patch by Marek Polacek <mpolacek@redhat.com>.
29126
29127 * bits/byteswap.h: Protect long long constants with __extension__.
29128 * sysdeps/i386/bits/byteswap.h: Likewise.
29129 * sysdeps/ia64/bits/byteswap.h: Likewise.
29130 * sysdeps/s390/bits/byteswap.h: Likewise.
29131 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29132
29133 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29134
29135 [BZ #13540]
29136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29137 destination buffer.
29138 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29139
29140 2011-12-23 Marek Polacek <polacek@redhat.com>
29141
29142 * elf/dl-addr.c (determine_info): Add inline keyword.
29143 * elf/tst-auditmod4b.c (check_avx): Likewise.
29144 * elf/tst-auditmod6b.c (check_avx): Likewise.
29145 * elf/tst-auditmod6c.c (check_avx): Likewise.
29146 * elf/tst-auditmod7b.c (check_avx): Likewise.
29147
29148 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29149
29150 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29151 !__SSE_MATH__.
29152
29153 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29154
29155 [BZ #13540]
29156 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29157 processing for last bytes.
29158
29159 2011-08-06 Bruno Haible <bruno@clisp.org>
29160
29161 [BZ #13061]
29162 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29163 U+0385, not to U+1FEE.
29164
29165 [BZ #13062]
29166 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29167 entry for U+00A5 U+0301.
29168
29169 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29170
29171 [BZ #13166]
29172 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29173 buffer for the output is too small.
29174
29175 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29176 optimization.
29177
29178 [BZ #13185]
29179 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29180 SSE flags if possible.
29181
29182 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29183
29184 [BZ #13540]
29185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29186 processing for last bytes.
29187
29188 2011-12-22 Joseph Myers <joseph@codesourcery.com>
29189
29190 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29191 (syscall-list-default-options, syscall-list-default-condition)
29192 (syscall-list-includes): Define.
29193 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29194 list of ABIs and options and #if conditions for each ABI. Do not
29195 handle common syscalls between ABIs specially.
29196 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29197 Remove.
29198 (syscall-list-variants, syscall-list-32bit-options)
29199 (syscall-list-32bit-condition, syscall-list-64bit-options)
29200 (syscall-list-64bit-condition): Define.
29201 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29202 (syscall-list-variants, syscall-list-32bit-options)
29203 (syscall-list-32bit-condition, syscall-list-64bit-options)
29204 (syscall-list-64bit-condition): Define.
29205 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29206 Remove.
29207 (syscall-list-variants, syscall-list-32bit-options)
29208 (syscall-list-32bit-condition, syscall-list-64bit-options)
29209 (syscall-list-64bit-condition): Define.
29210 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29211 Remove.
29212 (syscall-list-variants, syscall-list-32bit-options)
29213 (syscall-list-32bit-condition, syscall-list-64bit-options)
29214 (syscall-list-64bit-condition): Define.
29215
29216 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29217
29218 * locale/iso-639.def: Add brx entry.
29219
29220 [BZ #13328]
29221 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29222 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29223
29224 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29225 __feraiseexcept_renamed.
29226
29227 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29228
29229 [BZ #13538]
29230 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29231 EPOLLET with unsigned values.
29232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29234
29235 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29236 to large cancellation.
29237 * math/s_cacoshf.c: Likewise.
29238 * math/s_cacoshl.c: Likewise.
29239
29240 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29241
29242 [BZ #13305]
29243 [BZ #12786]
29244 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29245 * math/s_cacoshf.c: Likewise.
29246 * math/s_cacoshl.c: Likewise.
29247
29248 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29249
29250 [BZ #13439]
29251 * iconv/gconv.h: Define __GCONV_SWAP.
29252 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29253 * iconvdata/utf-16.c: Likewise.
29254 * iconvdata/utf-32.c: Likewise.
29255
29256 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29257
29258 [BZ #13524]
29259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29260 numerator after shifting it by one limb.
29261
29262 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29263
29264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29265 under [__USE_EXTERN_INLINES].
29266
29267 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29268
29269 [BZ #13446]
29270 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29271
29272 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29273
29274 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29275 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29276 optimized code.
29277 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29278 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29279 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29280 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29281 for strncasecmp/strncasecmp_l compilation.
29282 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29283 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29284
29285 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29286
29287 [BZ #13484]
29288 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29289 of __asm__.
29290
29291 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29292
29293 [BZ #13506]
29294 * time/tzfile.c (__tzfile_read): Check values from file header.
29295
29296 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29297
29298 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29299 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29300 * powerpc/powerpc32/dl-start.S: Likewise.
29301 * powerpc/powerpc32/elf/start.S: Likewise.
29302 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29303 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29304 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29305 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29306 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29307 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29308 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29309 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29310 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29311 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29312 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29313 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29314 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29315 * powerpc/powerpc32/memset.S: Likewise.
29316 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29317 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29318 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29319 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29320 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29321 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29322 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29323 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29324 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29325 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29326 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29327 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29328 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29329
29330 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29331
29332 * math/libm-test.inc: Added more nearbyint tests.
29333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29337
29338 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29339
29340 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29341 FD_CLOEXEC.
29342
29343 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29344
29345 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29346 Add wcscpy-ssse3 wcscpy-c.
29347 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29348 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29349 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29350 * sysdeps/x86_64/wcschr.S: New file.
29351 * sysdeps/x86_64/wcsrchr.S: New file.
29352 * string/test-strcmp.c: Remove checking of wcscmp function for
29353 wrong alignments.
29354 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29355 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29356 wcsrchr-sse2 wcsrchr-c.
29357 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29358 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29359 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29360 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29361 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29362 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29363 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29364 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29365 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29366 * wcsmbc/wcschr.c (WCSCHR): New macro.
29367
29368 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29369
29370 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29371 * wcsmbs/test-wcsrchr.c: New file.
29372 * string/test-strrchr.c: Add wcsrchr support.
29373 (WIDE): New macro.
29374 * wcsmbs/test-wcscpy.c: New file.
29375 * string/test-strcpy.c: Add wcscpy support.
29376 (WIDE): New macro.
29377
29378 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29379
29380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29381 the inner loop.
29382
29383 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29384
29385 [BZ #13472]
29386 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29387
29388 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29389
29390 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29391 Minor optimizations.
29392
29393 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29394 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29395 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29396
29397 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29398
29399 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29400 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29401 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29402 for gcc to avoid warnings.
29403 * inet/Makefile (tests): Add tst-checks.
29404 * inet/tst-checks.c: New file.
29405
29406 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29407 warning.
29408
29409 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29410 __wmemcmp_sse2.
29411
29412 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29413 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29414
29415 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29416
29417 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29418
29419 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29420 problem.
29421
29422 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29423
29424 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29425
29426 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29427 conditional on GCC version.
29428 (__arch_compare_and_exchange_val_8_acq)
29429 (__arch_compare_and_exchange_val_16_acq)
29430 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29431 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29432 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29433
29434 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29435
29436 * sysdeps/sh/backtrace.c: New file.
29437
29438 2011-12-02 Andreas Schwab <schwab@redhat.com>
29439
29440 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29441 parenthesis.
29442
29443 2011-12-01 Andreas Schwab <schwab@redhat.com>
29444
29445 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29446 falling back to utime.
29447
29448 2011-11-30 Andreas Schwab <schwab@redhat.com>
29449
29450 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29451 expectations for float.
29452
29453 2011-11-29 Andreas Schwab <schwab@redhat.com>
29454
29455 * locale/weight.h (findidx): Add parameter len.
29456 * locale/weightwc.h (findidx): Likewise.
29457 * posix/fnmatch_loop.c (FCT): Adjust caller.
29458 * posix/regcomp.c (build_equiv_class): Likewise.
29459 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29460 * posix/regexec.c (check_node_accept_bytes): Likewise.
29461 * string/strcoll_l.c (STRCOLL): Likewise.
29462 * string/strxfrm_l.c (STRXFRM): Likewise.
29463
29464 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29465
29466 * Makefile.in: Remove CVSOPT handling.
29467 * configure.in: Remove use of AC_REVISION.
29468 * iconvdata/Makefile (distribute): No need to filter out CVS.
29469 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29470 handling.
29471
29472 2011-11-16 Andreas Schwab <schwab@redhat.com>
29473
29474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29475 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29476 [USE_AS_STRNCASECMP_L]: Likewise.
29477 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29478 NO_TLS_DIRECT_SEG_REFS.
29479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29480 Fix argument offsets for non-PIC.
29481 [USE_AS_STRNCASECMP_L]: Likewise.
29482 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29483 NO_TLS_DIRECT_SEG_REFS.
29484
29485 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29486
29487 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29488 O_CLOEXEC.
29489 * locale/loadlocale.c (_nl_load_locale): Likewise.
29490
29491 2011-11-15 Andreas Schwab <schwab@redhat.com>
29492
29493 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29494 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29495 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29496 (SYSCALL_GETTIME): Set errno on error.
29497
29498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29499 count references to noai6ai_cached.
29500
29501 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29502
29503 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29504
29505 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29506 FD_CLOEXEC for /proc/self/maps.
29507
29508 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29509 FD_CLOEXEC for /proc/meminfo.
29510
29511 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29512 gai.conf.
29513
29514 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29515 FD_CLOEXEC for given file.
29516
29517 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29518
29519 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29520 FD_CLOEXEC for /etc/hosts.
29521 (_gethtent): Likewise.
29522
29523 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29524
29525 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29526 cancellation and set FD_CLOEXEC for /etc/netgroup.
29527
29528 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29529 reading /etc/publickey.
29530
29531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29532 allow cancellation when reading /etc/group.
29533
29534 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29535 cancellation.
29536 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29537
29538 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29539 when using data file.
29540
29541 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29542
29543 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29544 (write_nis_obj): Use "c" and "e" in fopen.
29545
29546 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29547
29548 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29549
29550 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29551
29552 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29553
29554 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29555 locale.alias.
29556
29557 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29558
29559 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29560
29561 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29562
29563 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29564 file parsing and set FD_CLOEXEC.
29565
29566 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29567
29568 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29569
29570 2011-11-14 Andreas Schwab <schwab@redhat.com>
29571
29572 * malloc/arena.c (arena_get2): Don't call reused_arena when
29573 _int_new_arena failed.
29574
29575 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29576
29577 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29578 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29579 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29580 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29583 to compile strcasecmp and strncasecmp.
29584 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29585 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29586
29587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29588
29589 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29590
29591 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29592 locale-defines.sym to gen-as-const-headers.
29593 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29594 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29596 to compile strcasecmp and strncasecmp.
29597 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29598 strcasecmp_l and strncasecmp_l.
29599 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29600 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29601 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29602 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29603 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29604 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29605 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29606 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29607 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29608 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29609 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29610
29611 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29612
29613 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29614 result of SYSDEP_GETTIME_CPU to retval.
29615 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29616 parameter list to macro. Remove trailing semicolon. Adjust users.
29617
29618 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29619 variable.
29620
29621 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29622 mantissa words.
29623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29624
29625 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29626 from unused variable.
29627
29628 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29629 DWARF definitions.
29630 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29631 for assembling.
29632
29633 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29634 over namespaces.
29635
29636 * sunrpc/rpc_prot.c (rejected): Fix case value.
29637
29638 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29639 unsigned long long int to avoid warnings in shift.
29640
29641 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29642 of use of trans.
29643 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29644 variable tmp.
29645
29646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29647 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29648 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29649
29650 * nis/nis_table.c (nis_list): Use variable of correct type for
29651 result of __follow_path call.
29652
29653 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29654
29655 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29656 of math functions ceil, trunc, floor, round, and sqrt, when
29657 avaliable on the platform.
29658 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29659 name clash.
29660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29663
29664 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29665
29666 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29667 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29668
29669 2011-11-11 Roland McGrath <roland@hack.frob.com>
29670
29671 * include/unistd.h: Fix __readlink return type.
29672 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29673
29674 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29675
29676 * stdlib/ucontext.h: Undo last change for makecontext.
29677
29678 2011-11-11 Andreas Schwab <schwab@redhat.com>
29679
29680 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29681
29682 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29683 * setjmp/setjmp.h: Mark functions as non-leaf.
29684 * setjmp/bits/setjmp2.h: Likewise.
29685 * stdlib/ucontext.h: Likewise.
29686
29687 2011-11-10 Andreas Schwab <schwab@redhat.com>
29688
29689 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29690 (reused_arena): Don't check arena limit.
29691 (arena_get2): Atomically check arena limit.
29692
29693 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29694
29695 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29696 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29697
29698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29699 instructions.
29700
29701 2011-11-07 Andreas Schwab <schwab@redhat.com>
29702
29703 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29704 handler when locking.
29705
29706 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29707 Fix size of allocated buffer.
29708
29709 2011-11-04 Andreas Schwab <schwab@redhat.com>
29710
29711 [BZ #10103]
29712 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29713 declarations for long double functions.
29714 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29715
29716 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29717
29718 2011-11-03 Andreas Schwab <schwab@redhat.com>
29719
29720 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29721 installed.
29722
29723 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29724 is disabled.
29725
29726 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29727
29728 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29729
29730 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29731
29732 * include/alloca.h (stackinfo_alloca_round): Define.
29733 (extend_alloca): Use it.
29734 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29735 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29736 here.
29737
29738 * scripts/check-local-headers.sh: Ignore libaudit.h.
29739
29740 * nscd/Makefile (extra-objs): Make recursively expanded.
29741
29742 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29743
29744 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29746
29747 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29748 * posix/tst-rfc3484-2.c: Likewise.
29749 * posix/tst-rfc3484-3.c: Likewise.
29750
29751 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29752 process_vm_writev.
29753 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29754 process_vm_writev.
29755 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29756 process_vm_writev from libc using GLIBC_2.15 version.
29757
29758 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29759
29760 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29761
29762 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29763 stack usage.
29764
29765 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29766
29767 [BZ #13367]
29768 * nss/getent.c (initgroups_keys): Show error message in case no group
29769 names are given.
29770
29771 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29772 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29773 __bump_nl_timestamp.
29774 * nscd/connections (nscd_init): When host database is served open
29775 netlink socket and request notification about configuration changes.
29776 (main_loop_poll): Track netlink file descriptor and bump timestamp
29777 in case data becomes available.
29778 (main_loop_epoll): Likewise.
29779 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29780 (database_pers_head): Add extra_data fileds.
29781 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29782 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29783 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29784 Adjust caller.
29785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29786 in6ai data, call __free_in6ai.
29787 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29788 Add -DHAVE_NETLINK.
29789 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29790 interface information. Reuse previous data if netlink timestamp
29791 is not changed.
29792 (__bump_nl_timestamp): New function.
29793 (__free_in6ai): New function.
29794
29795 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29796
29797 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29798 close_not_cancel_no_status here.
29799 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29800
29801 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29802
29803 [BZ #13276]
29804 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29805 return value.
29806
29807 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29808 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29809 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29810
29811 2011-07-03 Andreas Jaeger <aj@suse.de>
29812
29813 [BZ #10709]
29814 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29815 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29816 * math/libm-test.inc (sin_test): Add test case.
29817
29818 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29819
29820 [BZ #13337]
29821 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29822 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29823
29824 * elf/chroot_canon.c (chroot_canon): Cleanups.
29825
29826 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29827
29828 [BZ #13335]
29829 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29830 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29831
29832 * string/test-strchr.c: Make usable for strchrnul testing.
29833 * string/test-strchrnul.c: New file.
29834 * string/Makefile (strop-tests): Add strchrnul.
29835
29836 * po/it.po: Update from translation team.
29837 * po/es.po: Likewise.
29838
29839 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29840
29841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29842 the three constants needed as parameters. Drop the others.
29843 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29844 __m128i_strloadu_tolower.
29845 Create and initialize variable zero and use it in all the places
29846 where _mm_setzero_si128 was used.
29847
29848 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29849 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29850 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29851 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29852 anymore.
29853 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29854 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29855 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29856 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29857 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29858 __mpranred, __mptan.
29859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29863 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29864 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29866 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29867 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29868
29869 2011-10-28 Andreas Schwab <schwab@redhat.com>
29870
29871 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29872 redefine if SHARED.
29873 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29874
29875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29876 wide char related routines to wcsmbs subdir.
29877
29878 2011-10-27 Andreas Schwab <schwab@redhat.com>
29879
29880 [BZ #13344]
29881 * misc/sys/cdefs.h (__THROWNL): Define.
29882 * posix/unistd.h: Use __THREADNL instead of __THREAD
29883 for memory synchronization functions.
29884
29885 2011-10-26 Roland McGrath <roland@hack.frob.com>
29886
29887 [BZ #13349]
29888 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29889 doesn't exist.
29890 * manual/stdio.texi (Obstack Streams): Node removed.
29891
29892 2011-10-26 Andreas Schwab <schwab@redhat.com>
29893
29894 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29896 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29897
29898 * math/math_private.h (math_force_eval): Allow non-addressable
29899 arguments.
29900 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29901
29902 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29903
29904 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29905 file is not needed.
29906
29907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29908 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29914 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29915 Add AVX variants.
29916 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29917 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29918 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29919 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29920 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29921 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29922 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29923 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29924 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29925 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29926 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29927 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29928 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29929 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29930 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29931 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29932 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29933 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29934 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29935
29936 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29937 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29938
29939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29940 place. Use VEX encoding when compiling for AVX.
29941
29942 2011-10-25 Andreas Schwab <schwab@redhat.com>
29943
29944 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29945 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29946
29947 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29948
29949 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29950
29951 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29952 useless if() expression.
29953 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29955 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29958 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29963 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29964 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29965 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29966 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29967 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29969 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29971 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29972
29973 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29974
29975 2011-10-25 Andreas Schwab <schwab@redhat.com>
29976
29977 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29978 condition.
29979 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29980
29981 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29982
29983 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29984 .text section. Avoid duplicate constants.
29985 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29994 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29996 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29997 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29998 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29999 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30001 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30002 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30003 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30008 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30009 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30010 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30011 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30013 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30014 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30015 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30016 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30018 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30019 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30020 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30021 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30023 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30024 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30026 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30027 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30028 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30029 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30030
30031 2011-10-24 Ulrich Drepper <drepper@gmail.com>
30032
30033 * sysdeps/x86_64/dla.h: Move to ...
30034 * sysdeps/x86_64/fpu/dla.h: ...here.
30035 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30036 situations. Use __builtin_fma only for gcc 4.6 and up.
30037
30038 * config.make.in: Add have-mfma4 entry.
30039 * configure.in: Substitute libc_cv_cc_fma4.
30040 * math/Makefile (dbl-only-routines): Add sincostab.
30041 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30042 Use __sincostab not sincos.
30043 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30044 name is a macro.
30045 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30049 using __copysign.
30050 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30051 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30052 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30053 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30054 and __inv.
30055 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30056 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30057 __copysign.
30058 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30059 define aliases when function name is a macro.
30060 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30061 sysdeps/ieee754/dbl-64/sincos.tbl.
30062 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30063 fma4-enabled routines.
30064 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30065 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30066 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30067 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30069 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30071 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30073 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30074 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30076 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30079 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30080 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30081 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30082 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30084 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30085 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30086 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30087 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30089 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30094
30095 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30096 rename.
30097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30105
30106 2011-10-24 Andreas Schwab <schwab@redhat.com>
30107
30108 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30109
30110 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30111
30112 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30113
30114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30115 prediction.
30116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30117
30118 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30119 Remove unused variable magic_bits.
30120 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30121
30122 * string/strnlen.c: Define and use STRNLEN macro.
30123 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30124 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30126 * wcsmbs/wcslen.c: Define and use WCSLEN.
30127 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30128 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30129 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30130 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30131 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30132 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30133 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30134
30135 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30136
30137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30138 strnlen-sse2-no-bsf.
30139 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30141 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30142 Add strnlen support.
30143 (USE_AS_STRNLEN): New macro.
30144 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30145 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30146 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30147 * sysdeps/x86_64/wcslen.S: New file.
30148
30149 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30150
30151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30152 XMM-moves are used for copying on small sizes.
30153
30154 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30155
30156 * wcsmbs/Makefile (strop-tests): Add wcschr.
30157 * wcsmbs/test-wcschr.c: New file.
30158 * string/test-strchr.c: Update.
30159 Add wcschr support.
30160 (WIDE): New macro.
30161
30162 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30163
30164 * wcsmbs/Makefile (strop-tests): Add wcslen.
30165 * wcsmbs/test-wcslen.c: New file.
30166 * string/test-strlen.c: Update.
30167 Add wcslen support.
30168 (WIDE): New macro.
30169
30170 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30171
30172 * po/it.po: Update from translation team.
30173
30174 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30175
30176 * sysdeps/x86_64/wcscmp.S: Update.
30177 Fix wrong comparison semantics.
30178 wcscmp shall use signed comparison not unsigned.
30179 Don't use substraction to avoid overflow bug.
30180 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30181 * wcsmbc/wcscmp.c: Likewise.
30182 * string/test-strcmp.c: Likewise.
30183 Add new tests to check cases with negative values.
30184
30185 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30186
30187 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30188 * sysdeps/x86_64/dla.h: ...here. New file.
30189 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30194 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30198
30199 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30200
30201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30202 __ynl_finite aliases.
30203
30204 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30205
30206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30207
30208 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30209 define DLA_FMA.
30210 [DLA_FMA] (EMULV): Use DLA_FMA.
30211 [DLA_FMA] (MUL12): Use EMULV.
30212 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30213 that are not needed.
30214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30221
30222 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30223
30224 * math/s_nan.c: Undef __nan.
30225 * math/s_nanf.c: Undef __nanf.
30226 * math/s_nanl.c: Undef __nanl.
30227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30228 "math_private.h".
30229
30230 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30231
30232 * math/s_catan.c: Add branch predictions.
30233 * math/s_catanf.c: Likewise.
30234 * math/s_catanh.c: Likewise.
30235 * math/s_catanhf.c: Likewise.
30236 * math/s_catanhl.c: Likewise.
30237 * math/s_catanl.c: Likewise.
30238 * math/s_cexp.c: Likewise.
30239 * math/s_cexpf.c: Likewise.
30240 * math/s_cexpl.c: Likewise.
30241 * math/s_clog.c: Likewise.
30242 * math/s_clog10.c: Likewise.
30243 * math/s_clog10f.c: Likewise.
30244 * math/s_clog10l.c: Likewise.
30245 * math/s_clogf.c: Likewise.
30246 * math/s_clogl.c: Likewise.
30247 * math/s_csqrt.c: Likewise.
30248 * math/s_csqrtf.c: Likewise.
30249 * math/s_csqrtl.c: Likewise.
30250 * math/s_ctanf.c: Likewise.
30251 * math/s_ctanh.c: Likewise.
30252 * math/s_ctanhf.c: Likewise.
30253 * math/s_ctanhl.c: Likewise.
30254 * math/s_ctanl.c: Likewise.
30255
30256 * math/math_private.h: Define __nan, __nanf, __nanl.
30257 * math/s_cacosh.c: Include <math_private.h>.
30258 * math/s_cacoshl.c: Likewise.
30259 * math/s_casinh.c: Likewise.
30260 * math/s_casinhf.c: Likewise.
30261 * math/s_casinhl.c: Likewise.
30262 * math/s_ccos.c: Rely entire on ccosh.
30263 * math/s_ccosf.c: Rely entire on ccoshf.
30264 * math/s_ccosl.c: Rely entirely on ccoshl.
30265 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30266 Remove tests for FE_INVALID.
30267 * math/s_ccoshf.c: Likewise.
30268 * math/s_ccoshl.c: Likewise.
30269 * math/s_csin.c: Likewise.
30270 * math/s_csinf.c: Likewise.
30271 * math/s_csinh.c Likewise.
30272 * math/s_csinhf.c: Likewise.
30273 * math/s_csinhl.c: Likewise.
30274 * math/s_csinl.c: Likewise.
30275 * math/s_ctan.c: Likewise.
30276 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30277 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30278 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30279
30280 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30281
30282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30283 compilation problems.
30284
30285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30286 __builtin_expect.
30287
30288 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30289
30290 * sysdeps/i386/configure.in: Test for -mfma4 option.
30291 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30292 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30293 COMMON_CPUID_INDEX_80000001.
30294 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30295 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30296 use it if FMA3 is not supported.
30297 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30298
30299 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30300 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30301
30302 2011-10-20 Andreas Schwab <schwab@redhat.com>
30303
30304 [BZ #12892]
30305 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30306 it would create a cycle with a link time dependency.
30307
30308 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30309
30310 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30311 instruction.
30312 * string/Makefile (strop-tests): Add rawmemchr.
30313 * string/test-rawmemchr.c: New file.
30314
30315 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30317 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30318 when compiling str{,n}casecmp and when AVX is available. Hook up
30319 new optimized code in initializers.
30320
30321 2011-10-19 Andreas Schwab <schwab@redhat.com>
30322
30323 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30324 __feraiseexcept instead of feraiseexcept.
30325
30326 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30327
30328 * math/math_private.h: Define defaults for libc_fetestexcept and
30329 libc_feupdateenv.
30330 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30331 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30332 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30333 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30334 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30335 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30336 libc_fetestexcept and libc_feupdateenv.
30337
30338 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30339 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30340 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30341 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30342 libc_feholdexcept_setround.
30343
30344 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30345 Add s_nearbyint-c and s_nearbyintf-c.
30346 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30347 nearbyintf inlines.
30348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30349 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30351 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30352
30353 * math/math_private.h: Define defaults for libc_fegetround,
30354 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30355 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30356 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30358 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30359 standard functions.
30360 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30361 Remove comments and hacks for old compiler versions.
30362 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30363 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30364 libc_feholdexceptl.
30365
30366 2011-10-18 Andreas Schwab <schwab@redhat.com>
30367
30368 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30369 (__feraiseexcept_renamed): Add __NTH.
30370 (feraiseexcept): Add __NTH. Rename local variables to fix
30371 namespace violations.
30372
30373 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30374
30375 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30376
30377 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30378
30379 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30380 recently added interfaces.
30381 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30382
30383 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30384 about macro parameter expansion.
30385
30386 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30387 __NO_MATH_INLINES is defined. Cleanups.
30388
30389 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30390 and __floorf is target has SSE4.1.
30391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30392 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30393 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30394 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30395
30396 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30397 name.
30398 (floorf): Likewise.
30399
30400 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30401
30402 2011-10-17 Andreas Schwab <schwab@redhat.com>
30403
30404 * misc/sys/cdefs.h: Fix last change.
30405
30406 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30407 database lookup.
30408
30409 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30410
30411 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30412
30413 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30414 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30415 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30416 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30418 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30420 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30421 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30422 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30423 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30424 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30425 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30426 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30427 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30428 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30429 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30430 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30431 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30432 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30433 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30434 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30435
30436 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30437 ceil, ceilf, floor, floorf.
30438
30439 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30440 Perform IRELATIVE relocations last.
30441
30442 * elf/do-rel.h: Add another parameter nrelative, replacing the
30443 local variable with the same name. Change name of the function
30444 to end in Rel or Rela (uppercase).
30445 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30446 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30447 elf_dynamic_do_##reloc function.
30448
30449 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30450
30451 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30452 is sufficient, at least on modern CPUs.
30453
30454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30455
30456 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30457 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30458
30459 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30460 __expl_finite.
30461 * math/bits/math-finite.h: Add entries for exp.
30462 * math/e_expl.c: Add __*_finite alias.
30463 * sysdeps/i386/fpu/e_exp.S: Likewise.
30464 * sysdeps/i386/fpu/e_expf.S: Likewise.
30465 * sysdeps/i386/fpu/e_expl.c: Likewise.
30466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30467 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30468 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30470 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30471 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30472 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30473
30474 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30475 is sufficient, at least on modern CPUs.
30476
30477 * ctype/ctype-info.c (__ctype_init): Define.
30478 * include/ctype.h (__ctype_init): Declare.
30479 (__ctype_b_loc): The variable is always initialized.
30480 (__ctype_toupper_loc): Likewise.
30481 (__ctype_tolower_loc): Likewise.
30482 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30483 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30484
30485 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30486
30487 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30488
30489 * configure.in: Also look in $cxxmachine/include for C++ system
30490 headers.
30491
30492 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30493
30494 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30495 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30496 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30497 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30498 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30499 (USE_AS_WMEMCMP): New macro.
30500 Fixing indents.
30501 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30502 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30503 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30504 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30506 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30507 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30508 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30509 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30510 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30512 (USE_AS_WMEMCMP): New macro.
30513 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30514 * sysdeps/string/test-memcmp.c: Update.
30515 Fix simple_wmemcmp.
30516 Add new tests.
30517 * wcsmbs/wmemcmp.c: Update.
30518 (WMEMCMP): New macro.
30519 Fix overflow bug.
30520
30521 2011-10-12 Andreas Jaeger <aj@suse.de>
30522
30523 [BZ #13268]
30524 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30525
30526 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30527
30528 * libio/iofwide.c (do_length): Avoid warning.
30529
30530 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30531
30532 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30533
30534 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30535
30536 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30537 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30538 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30539 * sysdeps/i386/i686/fpu/e_log.S: New file.
30540 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30541 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30542
30543 * ctype/ctype.h: Add support for inlined isXXX functions when
30544 compiling C++ code.
30545
30546 2011-10-14 Andreas Schwab <schwab@redhat.com>
30547
30548 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30549
30550 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30551
30552 2011-10-13 Roland McGrath <roland@hack.frob.com>
30553
30554 [BZ #13291]
30555 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30556
30557 2011-10-13 Andreas Schwab <schwab@redhat.com>
30558
30559 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30560 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30561 feraiseexcept.
30562
30563 * sysdeps/x86_64/memrchr.S: Check for zero size.
30564
30565 * string/stratcliff.c: Add memrchr tests.
30566
30567 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30568
30569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30570 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30571 rawmemchr-sse2 rawmemchr-sse2-bsf.
30572 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30573 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30574 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30575 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30576 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30577 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30578 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30579 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30580 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30581 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30582 * string/memrchr.c (MEMRCHR): New macro.
30583
30584 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30585
30586 Add integration with gcc's -ffinite-math-only and optimize wrapper
30587 functions in libm.
30588 * Versions.def: Define GLIBC_2.15 version for libm.
30589 * math/Makefile (headers): Add bits/math-finite.h.
30590 * math/bits/math-finite.h: New file.
30591 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30592 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30593 * math/e_acoshl.c: Add __*_finite alias.
30594 * math/e_acosl.c: Likewise.
30595 * math/e_asinl.c: Likewise.
30596 * math/e_atan2l.c: Likewise.
30597 * math/e_atanhl.c: Likewise.
30598 * math/e_coshl.c: Likewise.
30599 * math/e_exp10.c: Likewise.
30600 * math/e_exp10f.c: Likewise.
30601 * math/e_exp10l.c: Likewise.
30602 * math/e_exp2l.c: Likewise.
30603 * math/e_fmodl.c: Likewise.
30604 * math/e_gammal_r.c: Likewise.
30605 * math/e_hypotl.c: Likewise.
30606 * math/e_j0l.c: Likewise.
30607 * math/e_j1l.c: Likewise.
30608 * math/e_jnl.c: Likewise.
30609 * math/e_lgammal_r.c: Likewise.
30610 * math/e_log10l.c: Likewise.
30611 * math/e_log2l.c: Likewise.
30612 * math/e_logl.c: Likewise.
30613 * math/e_powl.c: Likewise.
30614 * math/e_sinhl.c: Likewise.
30615 * math/e_sqrtl.c: Likewise.
30616 * math/e_scalb.c: Completely rewritten and optimized.
30617 * math/e_scalbf.c: Likewise.
30618 * math/e_scalbl.c: Likewise.
30619 * math/w_acos.c: Likewise.
30620 * math/w_acosf.c: Likewise.
30621 * math/w_acosl.c: Likewise.
30622 * math/w_acosh.c: Likewise.
30623 * math/w_acoshf.c: Likewise.
30624 * math/w_acoshl.c: Likewise.
30625 * math/w_asin.c: Likewise.
30626 * math/w_asinf.c: Likewise.
30627 * math/w_asinl.c: Likewise.
30628 * math/w_atan2.c: Likewise.
30629 * math/w_atan2f.c: Likewise.
30630 * math/w_atan2l.c: Likewise.
30631 * math/w_atanh.c: Likewise.
30632 * math/w_atanhf.c: Likewise.
30633 * math/w_atanhl.c: Likewise.
30634 * math/w_exp10.c: Likewise.
30635 * math/w_exp10f.c: Likewise.
30636 * math/w_exp10l.c: Likewise.
30637 * math/w_fmod.c: Likewise.
30638 * math/w_fmodf.c: Likewise.
30639 * math/w_fmodl.c: Likewise.
30640 * math/w_j0.c: Likewise.
30641 * math/w_j0f.c: Likewise.
30642 * math/w_j0l.c: Likewise.
30643 * math/w_j1.c: Likewise.
30644 * math/w_j1f.c: Likewise.
30645 * math/w_j1l.c: Likewise.
30646 * math/w_jn.c: Likewise.
30647 * math/w_jnf.c: Likewise.
30648 * math/w_log.c: Likewise.
30649 * math/w_logf.c: Likewise.
30650 * math/w_logl.c: Likewise.
30651 * math/w_log10.c: Likewise.
30652 * math/w_log10f.c: Likewise.
30653 * math/w_log10l.c: Likewise.
30654 * math/w_log2.c: Likewise.
30655 * math/w_log2f.c: Likewise.
30656 * math/w_log2l.c: Likewise.
30657 * math/w_pow.c: Likewise.
30658 * math/w_powf.c: Likewise.
30659 * math/w_powl.c: Likewise.
30660 * math/w_remainder.c: Likewise.
30661 * math/w_remainderf.c: Likewise.
30662 * math/w_remainderl.c: Likewise.
30663 * math/w_scalb.c: Likewise.
30664 * math/w_scalbf.c: Likewise.
30665 * math/w_scalbl.c: Likewise.
30666 * math/w_sqrt.c: Likewise.
30667 * math/w_sqrtf.c: Likewise.
30668 * math/w_sqrtl.c: Likewise.
30669 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30670 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30671 used.
30672 * math/math_private.h: Declare __kernel_standard_f.
30673 * math/w_cosh.c: Remove cruft and optimize a bit.
30674 * math/w_coshf.c: Likewise.
30675 * math/w_coshl.c: Likewise.
30676 * math/w_exp2.c: Likewise.
30677 * math/w_exp2f.c: Likewise.
30678 * math/w_exp2l.c: Likewise.
30679 * math/w_hypot.c: Likewise.
30680 * math/w_hypotf.c: Likewise.
30681 * math/w_hypotl.c: Likewise.
30682 * math/w_lgamma.c: Likewise.
30683 * math/w_lgamma_r.c: Likewise.
30684 * math/w_lgammaf.c: Likewise.
30685 * math/w_lgammaf_r.c: Likewise.
30686 * math/w_lgammal.c: Likewise.
30687 * math/w_lgammal_r.c: Likewise.
30688 * math/w_sinh.c: Likewise.
30689 * math/w_sinhf.c: Likewise.
30690 * math/w_sinhl.c: Likewise.
30691 * math/w_tgamma.c: Likewise.
30692 * math/w_tgammaf.c: Likewise.
30693 * math/w_tgammal.c: Likewise.
30694 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30695 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30696 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30697 Minor optimizations. Pretty printing. Remove cruft.
30698 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30699 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30702 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30703 * sysdeps/i386/fpu/e_asin.S: Likewise.
30704 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30705 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30706 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30707 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30710 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30711 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30712 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30713 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30714 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30715 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30716 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30717 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30718 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30719 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30720 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30721 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30722 * sysdeps/i386/fpu/e_log.S: Likewise.
30723 * sysdeps/i386/fpu/e_log10.S: Likewise.
30724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30725 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30726 * sysdeps/i386/fpu/e_log2.S: Likewise.
30727 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30728 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30729 * sysdeps/i386/fpu/e_logf.S: Likewise.
30730 * sysdeps/i386/fpu/e_logl.S: Likewise.
30731 * sysdeps/i386/fpu/e_pow.S: Likewise.
30732 * sysdeps/i386/fpu/e_powf.S: Likewise.
30733 * sysdeps/i386/fpu/e_powl.S: Likewise.
30734 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30735 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30736 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30737 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30740 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30741 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30742 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30749 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30750 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30757 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30764 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30765 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30766 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30767 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30768 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30769 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30770 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30771 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30772 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30773 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30774 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30777 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30778 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30779 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30780 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30781 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30782 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30783 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30784 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30814 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30834 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30835 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30838 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30839 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30840 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30841 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30842 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30843 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30844 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30845 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30846 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30847 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30849 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30851 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30853 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30854 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30855 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30856 (__isnanf): Likewise.
30857 (__isinf_ns): Likewise.
30858 (__isinf_nsf): Likewise.
30859 (__finite): Likewise.
30860 (__finitef): Likewise.
30861 (__ieee754_sqrt): Define as macro.
30862 (__ieee754_sqrtf): Define as macro.
30863 (__ieee754_sqrtl): Define as macro.
30864 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30865 inlined copy.
30866 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30867 __FINITE_MATH_ONLY__ consistent.
30868 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30869
30870 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30871
30872 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30873 of rawmemchr.
30874
30875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30876
30877 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30878
30879 * po/ja.po: Update from translation team.
30880
30881 2011-10-08 Roland McGrath <roland@hack.frob.com>
30882
30883 * locale/programs/locarchive.c (prepare_address_space): New function.
30884 (create_archive, enlarge_archive, open_archive): Use it.
30885
30886 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30887 inside [SHARED], where it is used.
30888
30889 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30890
30891 * nss/getent.c (netgroup_keys): Remove unused variable.
30892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30893
30894 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30895
30896 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30897 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30899 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30900 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30901 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30902 * math/Makefile (libm-calls): Add s_isinf_ns.
30903 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30904 * math/multc3.c: Likewise.
30905 * math/s_casin.c: Likewise.
30906 * math/s_casinf.c: Likewise.
30907 * math/s_casinl.c: Likewise.
30908 * math/s_ccos.c: Likewise.
30909 * math/s_ccosf.c: Likewise.
30910 * math/s_ccosl.c: Likewise.
30911 * math/s_ctan.c: Likewise.
30912 * math/s_ctanf.c: Likewise.
30913 * math/s_ctanh.c: Likewise.
30914 * math/s_ctanhf.c: Likewise.
30915 * math/s_ctanhl.c: Likewise.
30916 * math/s_ctanl.c: Likewise.
30917 * math/w_fmod.c: Likewise.
30918 * math/w_fmodf.c: Likewise.
30919 * math/w_fmodl.c: Likewise.
30920 * math/w_remainder.c: Likewise.
30921 * math/w_remainderf.c: Likewise.
30922 * math/w_remainderl.c: Likewise.
30923 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30924 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30927 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30928 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30929 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30930 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30931
30932 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30933 of the number.
30934 * stdio-common/printf_fphex.c: Likewise.
30935 * stdio-common/printf_size.c: Likewise.
30936
30937 * math/e_exp10.c: Include math_private.h using <...> not "...".
30938 * math/e_exp10f.c: Likewise.
30939 * math/e_exp10l.c: Likewise.
30940 * math/e_exp2l.c: Likewise.
30941 * math/e_j0l.c: Likewise.
30942 * math/e_j1l.c: Likewise.
30943 * math/e_jnl.c: Likewise.
30944 * math/e_lgammal_r.c: Likewise.
30945 * math/e_rem_pio2l.c: Likewise.
30946 * math/e_scalb.c: Likewise.
30947 * math/e_scalbf.c: Likewise.
30948 * math/e_scalbl.c: Likewise.
30949 * math/k_cosl.c: Likewise.
30950 * math/k_sinl.c: Likewise.
30951 * math/k_tanl.c: Likewise.
30952 * math/s_cacoshf.c: Likewise.
30953 * math/s_catan.c: Likewise.
30954 * math/s_catanf.c: Likewise.
30955 * math/s_catanh.c: Likewise.
30956 * math/s_catanhf.c: Likewise.
30957 * math/s_catanhl.c: Likewise.
30958 * math/s_catanl.c: Likewise.
30959 * math/s_ccosh.c: Likewise.
30960 * math/s_ccoshf.c: Likewise.
30961 * math/s_ccoshl.c: Likewise.
30962 * math/s_cexp.c: Likewise.
30963 * math/s_cexpf.c: Likewise.
30964 * math/s_cexpl.c: Likewise.
30965 * math/s_clog.c: Likewise.
30966 * math/s_clog10.c: Likewise.
30967 * math/s_clog10f.c: Likewise.
30968 * math/s_clog10l.c: Likewise.
30969 * math/s_clogf.c: Likewise.
30970 * math/s_clogl.c: Likewise.
30971 * math/s_csin.c: Likewise.
30972 * math/s_csinf.c: Likewise.
30973 * math/s_csinh.c: Likewise.
30974 * math/s_csinhf.c: Likewise.
30975 * math/s_csinhl.c: Likewise.
30976 * math/s_csinl.c: Likewise.
30977 * math/s_csqrt.c: Likewise.
30978 * math/s_csqrtf.c: Likewise.
30979 * math/s_csqrtl.c: Likewise.
30980 * math/s_ctan.c: Likewise.
30981 * math/s_ctanf.c: Likewise.
30982 * math/s_ctanh.c: Likewise.
30983 * math/s_ctanhf.c: Likewise.
30984 * math/s_ctanhl.c: Likewise.
30985 * math/s_ctanl.c: Likewise.
30986 * math/s_ldexp.c: Likewise.
30987 * math/s_ldexpf.c: Likewise.
30988 * math/s_ldexpl.c: Likewise.
30989 * math/s_significand.c: Likewise.
30990 * math/s_significandf.c: Likewise.
30991 * math/s_significandl.c: Likewise.
30992 * math/w_acos.c: Likewise.
30993 * math/w_acosf.c: Likewise.
30994 * math/w_acosh.c: Likewise.
30995 * math/w_acoshf.c: Likewise.
30996 * math/w_acoshl.c: Likewise.
30997 * math/w_acosl.c: Likewise.
30998 * math/w_asin.c: Likewise.
30999 * math/w_asinf.c: Likewise.
31000 * math/w_asinl.c: Likewise.
31001 * math/w_atan2.c: Likewise.
31002 * math/w_atan2f.c: Likewise.
31003 * math/w_atan2l.c: Likewise.
31004 * math/w_atanh.c: Likewise.
31005 * math/w_atanhf.c: Likewise.
31006 * math/w_atanhl.c: Likewise.
31007 * math/w_cosh.c: Likewise.
31008 * math/w_coshf.c: Likewise.
31009 * math/w_coshl.c: Likewise.
31010 * math/w_dremf.c: Likewise.
31011 * math/w_exp10.c: Likewise.
31012 * math/w_exp10f.c: Likewise.
31013 * math/w_exp10l.c: Likewise.
31014 * math/w_exp2.c: Likewise.
31015 * math/w_exp2f.c: Likewise.
31016 * math/w_fmod.c: Likewise.
31017 * math/w_fmodf.c: Likewise.
31018 * math/w_fmodl.c: Likewise.
31019 * math/w_hypot.c: Likewise.
31020 * math/w_hypotf.c: Likewise.
31021 * math/w_hypotl.c: Likewise.
31022 * math/w_j0.c: Likewise.
31023 * math/w_j0f.c: Likewise.
31024 * math/w_j0l.c: Likewise.
31025 * math/w_j1.c: Likewise.
31026 * math/w_j1f.c: Likewise.
31027 * math/w_j1l.c: Likewise.
31028 * math/w_jn.c: Likewise.
31029 * math/w_jnf.c: Likewise.
31030 * math/w_jnl.c: Likewise.
31031 * math/w_lgamma.c: Likewise.
31032 * math/w_lgamma_r.c: Likewise.
31033 * math/w_lgammaf.c: Likewise.
31034 * math/w_lgammaf_r.c: Likewise.
31035 * math/w_lgammal.c: Likewise.
31036 * math/w_lgammal_r.c: Likewise.
31037 * math/w_log.c: Likewise.
31038 * math/w_log10.c: Likewise.
31039 * math/w_log10f.c: Likewise.
31040 * math/w_log10l.c: Likewise.
31041 * math/w_log2.c: Likewise.
31042 * math/w_log2f.c: Likewise.
31043 * math/w_log2l.c: Likewise.
31044 * math/w_logf.c: Likewise.
31045 * math/w_logl.c: Likewise.
31046 * math/w_pow.c: Likewise.
31047 * math/w_powf.c: Likewise.
31048 * math/w_powl.c: Likewise.
31049 * math/w_remainder.c: Likewise.
31050 * math/w_remainderf.c: Likewise.
31051 * math/w_remainderl.c: Likewise.
31052 * math/w_scalb.c: Likewise.
31053 * math/w_scalbf.c: Likewise.
31054 * math/w_scalbl.c: Likewise.
31055 * math/w_sinh.c: Likewise.
31056 * math/w_sinhf.c: Likewise.
31057 * math/w_sinhl.c: Likewise.
31058 * math/w_sqrt.c: Likewise.
31059 * math/w_sqrtf.c: Likewise.
31060 * math/w_sqrtl.c: Likewise.
31061 * math/w_tgamma.c: Likewise.
31062 * math/w_tgammaf.c: Likewise.
31063 * math/w_tgammal.c: Likewise.
31064
31065 * po/ja.po: Update from translation team.
31066
31067 2011-09-29 Andreas Jaeger <aj@suse.de>
31068
31069 [BZ #13179]
31070 * sunrpc/netname.c (netname2host): Fix logic.
31071
31072 [BZ #6779]
31073 [BZ #6783]
31074 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31075 correctly.
31076 * math/w_remainder.c (__remainder): Likewise.
31077 * math/w_remainderf.c (__remainderf): Likewise.
31078 * math/libm-test.inc (remainder_test): Add test cases.
31079
31080 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31081
31082 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31083 sdiv_qrnnd.
31084
31085 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31086
31087 * string/test-memcmp.c: Avoid unncessary #defines.
31088 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31089
31090 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31091
31092 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31093 Use new sse2 version for core i3 - i7 as it's faster
31094 than sse42 version.
31095 (bit_Prefer_PMINUB_for_stringop): New.
31096 * sysdeps/x86_64/rawmemchr.S: Update.
31097 Replace with faster SSE2 version.
31098 * sysdeps/x86_64/memrchr.S: New file.
31099 * sysdeps/x86_64/memchr.S: Update.
31100 Replace with faster SSE2 version.
31101
31102 2011-09-12 Marek Polacek <mpolacek@redhat.com>
31103
31104 * elf/dl-load.c (lose): Add cast to avoid warning.
31105
31106 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31107
31108 * po/ca.po: Update from translation team.
31109
31110 * inet/getnetgrent_r.c: Hook up nscd.
31111 * nscd/Makefile (routines): Add nscd_netgroup.
31112 (nscd-modules): Add netgroupcache.
31113 (CFLAGS-netgroupcache.c): Define.
31114 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31115 (cache_search): Add const to second parameter.
31116 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31117 INNETGR.
31118 (dbs): Add netgrdb entry.
31119 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31120 (verify_persistent_db): Handle netgrdb.
31121 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31122 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31123 GETFDNETGR.
31124 (netgroup_response_header): Define.
31125 (innetgroup_response_header): Define.
31126 (datahead): Add netgroup_response_header and innetgroup_response_header
31127 elements.
31128 * nscd/nscd.conf: Add entries for netgroup cache.
31129 * nscd/nscd.h (dbtype): Add netgrdb.
31130 (_PATH_NSCD_NETGROUP_DB): Define.
31131 (netgroup_iov_disabled): Declare.
31132 (xmalloc, xcalloc, xrealloc): Move declarations here.
31133 (cache_search): Adjust prototype.
31134 Add netgroup-related prototypes.
31135 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31136 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31137 (__nscd_innetgr): Declare.
31138 * nscd/selinux.c (perms): Use access_vector_t as element type and
31139 add netgroup-related initializers.
31140 * nscd/netgroupcache.c: New file.
31141 * nscd/nscd_netgroup.c: New file.
31142 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31143 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31144 For four parameters use innetgr.
31145 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31146 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31147 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31148 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31149
31150 * nscd/connections.c (register_traced_file): Don't register file
31151 for disabled databases.
31152
31153 2011-10-06 Ulrich Drepper <drepper@gmail.com>
31154
31155 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31156
31157 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31158 from tree and freeing node.
31159
31160 2011-09-25 Jiri Olsa <jolsa@redhat.com>
31161
31162 * nss/nsswitch.c (__nss_database_lookup): Handle
31163 nss_parse_service_list out of memory case.
31164
31165 2011-09-15 Jiri Olsa <jolsa@redhat.com>
31166
31167 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31168 out of memory case.
31169
31170 2011-10-04 Andreas Schwab <schwab@redhat.com>
31171
31172 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31173 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31174 pass it down.
31175 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31176 elf_machine_rela, elf_machine_lazy_rel.
31177 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31178 (ELF_DYNAMIC_DO_REL): Likewise.
31179 (ELF_DYNAMIC_DO_RELA): Likewise.
31180 (ELF_DYNAMIC_RELOCATE): Likewise.
31181 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31182 to ELF_DYNAMIC_DO_REL.
31183 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31184 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31185 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31186 elf_machine_rela.
31187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31188 skip_ifunc, don't call ifunc function if non-zero.
31189 (elf_machine_rela): Likewise.
31190 (elf_machine_lazy_rel): Likewise.
31191 (elf_machine_lazy_rela): Likewise.
31192 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31193 (elf_machine_lazy_rel): Likewise.
31194 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31195 Likewise.
31196 (elf_machine_lazy_rel): Likewise.
31197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31198 Likewise.
31199 (elf_machine_lazy_rel): Likewise.
31200 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31201 (elf_machine_lazy_rel): Likewise.
31202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31203 (elf_machine_lazy_rel): Likewise.
31204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31205 (elf_machine_lazy_rel): Likewise.
31206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31207 (elf_machine_lazy_rel): Likewise.
31208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31209 (elf_machine_lazy_rel): Likewise.
31210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31211 (elf_machine_lazy_rel): Likewise.
31212
31213 2011-09-28 Ulrich Drepper <drepper@gmail.com>
31214
31215 * nss/nss_files/files-init.c (_nss_files_init): Use static
31216 initialization for all the *_traced_file variables.
31217
31218 2011-09-28 Andreas Schwab <schwab@redhat.com>
31219
31220 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31221
31222 2011-09-27 Roland McGrath <roland@hack.frob.com>
31223
31224 [BZ #13226]
31225 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31226
31227 2011-09-27 Andreas Schwab <schwab@redhat.com>
31228
31229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31230 Reread the line before reparsing it.
31231
31232 2011-09-26 Andreas Schwab <schwab@redhat.com>
31233
31234 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31235
31236 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31237 Maxim Kuvyrkov <maxim@codesourcery.com>
31238 Joseph Myers <joseph@codesourcery.com>
31239
31240 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31241 if needed for __stack_chk_guard.
31242
31243 2011-09-19 Roland McGrath <roland@hack.frob.com>
31244
31245 * sysdeps/posix/spawni.c (script_execute): Always define it.
31246 It will be optimized away if unused.
31247 (maybe_script_execute): New function.
31248 (__spawni): Call it.
31249
31250 * Makerules: Don't include tls.make.
31251 (config-tls): Always set to thread.
31252 * tls.make.c: File removed.
31253
31254 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31255
31256 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31257 * config.make.in (CPPFLAGS-config): New substituted variable.
31258
31259 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31260
31261 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31262
31263 [BZ #13192]
31264 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31265 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31266
31267 2011-09-15 Roland McGrath <roland@hack.frob.com>
31268
31269 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31270 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31272 (CALL_FAIL): Likewise.
31273 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31274 (CALL_FAIL): Macro removed.
31275 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31276
31277 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31278
31279 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31280 for __FINITE_MATH_ONLY__ == 1.
31281
31282 2011-09-15 Andreas Schwab <schwab@redhat.com>
31283
31284 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31285 __ieee754_sqrt instead of sqrt.
31286 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31287 __ieee754_sqrtf instead of sqrtf.
31288 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31289 __floorf instead of floorf.
31290 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31291 __floorf, __truncf instead of floorf, truncf.
31292
31293 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31294
31295 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31296
31297 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31298 __extern_always_inline.
31299 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31300 32-bit.
31301
31302 2011-09-14 Andreas Schwab <schwab@redhat.com>
31303
31304 * elf/rtld.c (dl_main): Also relocate in dependency order when
31305 doing symbol dependency testing.
31306
31307 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31308
31309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31310 Always define `refsym'.
31311
31312 2011-09-13 Andreas Schwab <schwab@redhat.com>
31313
31314 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31315 (__FD_ELT): Renamed from __FDELT.
31316 * misc/bits/select2.h (__FD_ELT): Likewise.
31317 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31318 __FD_MASK instead of __FDELT, __FDMASK.
31319 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31320 Likewise.
31321 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31322 Likewise.
31323
31324 * elf/Makefile (gen-ldd): Fix pattern.
31325
31326 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31327 (init_tls): Likewise.
31328
31329 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31330
31331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31332
31333 2011-09-12 Andreas Schwab <schwab@redhat.com>
31334
31335 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31336 `struct cmsghdr *' instead of `void *'.
31337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31338 Likewise.
31339
31340 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31341
31342 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31343 if non-absolute.
31344 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31345 ldd_rewrite_script.
31346
31347 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31348
31349 * configure.in: Remove --with-tls option.
31350 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31351 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31352 out in case it is missing.
31353 * sysdeps/ia64/elf/configure.in: Likewise.
31354 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31355 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31356 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31357 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31358 * sysdeps/sh/elf/configure.in: Likewise.
31359 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31360 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31361 * sysdeps/x86_64/elf/configure.in: Likewise.
31362 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31363 * sysdeps/mach/hurd/tls.h: Likewise.
31364
31365 [BZ #13067]
31366 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31367
31368 [BZ #13090]
31369 * configure.in: Fix use of AC_INIT.
31370
31371 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31372
31373 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31374
31375 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31376 __set_errno.
31377 * malloc/hooks.c: Likewise.
31378
31379 [BZ #11929]
31380 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31381 variables statically.
31382 (narenas): Initialize.
31383 (list_lock): Initialize.
31384 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31385 initializtion of main_arena and list_lock. Small cleanups.
31386 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31387 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31388 Add initializers to main_arena and mp_.
31389 (malloc_state): Remove pagesize member. Change all users to use
31390 GLRO(dl_pagesize).
31391
31392 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31393 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31394 is always initialized.
31395
31396 * malloc/malloc.c: Removed unused configurations and dead code.
31397 * malloc/arena.c: Likewise.
31398 * malloc/hooks.c: Likewise.
31399 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31400
31401 * include/tls.h: Removed. USE___THREAD must always be defined.
31402 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31403 * elf/dl-libc.c: Likewise.
31404 * elf/dl-tsd.c: Likewise.
31405 * include/errno.h: Likewise.
31406 * include/netdb.h: Likewise.
31407 * include/resolv.h: Likewise.
31408 * inet/herrno-loc.c: Likewise.
31409 * inet/herrno.c: Likewise.
31410 * malloc/arena.c: Likewise.
31411 * malloc/hooks.c: Likewise.
31412 * malloc/malloc.c: Likewise.
31413 * resolv/res-state.c: Likewise.
31414 * resolv/res_libc.c: Likewise.
31415 * sysdeps/i386/dl-machine.h: Likewise.
31416 * sysdeps/ia64/dl-machine.h: Likewise.
31417 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31418 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31419 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31420 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31421 * sysdeps/sh/dl-machine.h: Likewise.
31422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31423 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31424 * sysdeps/unix/i386/sysdep.S: Likewise.
31425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31426 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31431 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31435 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31436 * sysdeps/x86_64/dl-machine.h: Likewise.
31437 * tls.make.c: Likewise.
31438
31439 * configure.in: Remove --with-__thread option. Make tests for
31440 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31441 tls_model attribute fail if no support is available. Remove
31442 USE_IN_LIBIO.
31443 * Makeconfig: Adjust for dropped configure option. All features are
31444 now mandatory.
31445 * Makerules: Likewise.
31446 * Versions.def: Likewise.
31447 * argp/argp-fmtstream.c: Likewise.
31448 * argp/argp-fmtstream.h: Likewise.
31449 * argp/argp-help.c: Likewise.
31450 * assert/assert.c: Likewise.
31451 * config.h.in: Likewise.
31452 * config.make.in: Likewise.
31453 * configure: Likewise.
31454 * configure.in: Likewise.
31455 * csu/Versions: Likewise.
31456 * csu/init.c: Likewise.
31457 * elf/tst-audit2.c: Likewise.
31458 * elf/tst-tls10.c: Likewise.
31459 * elf/tst-tls10.h: Likewise.
31460 * elf/tst-tls11.c: Likewise.
31461 * elf/tst-tls12.c: Likewise.
31462 * elf/tst-tls14.c: Likewise.
31463 * elf/tst-tlsmod11.c: Likewise.
31464 * elf/tst-tlsmod12.c: Likewise.
31465 * elf/tst-tlsmod13.c: Likewise.
31466 * elf/tst-tlsmod13a.c: Likewise.
31467 * elf/tst-tlsmod14a.c: Likewise.
31468 * elf/tst-tlsmod15b.c: Likewise.
31469 * elf/tst-tlsmod16a.c: Likewise.
31470 * elf/tst-tlsmod16b.c: Likewise.
31471 * elf/tst-tlsmod7.c: Likewise.
31472 * elf/tst-tlsmod8.c: Likewise.
31473 * elf/tst-tlsmod9.c: Likewise.
31474 * gmon/gmon.c: Likewise.
31475 * grp/fgetgrent_r.c: Likewise.
31476 * grp/putgrent.c: Likewise.
31477 * hurd/fopenport.c: Likewise.
31478 * include/libc-symbols.h: Likewise.
31479 * include/tls.h: Likewise.
31480 * intl/gettextP.h: Likewise.
31481 * intl/loadinfo.h: Likewise.
31482 * locale/global-locale.c: Likewise.
31483 * locale/localeinfo.h: Likewise.
31484 * mach/devstream.c: Likewise.
31485 * malloc/arena.c: Likewise.
31486 * malloc/set-freeres.c: Likewise.
31487 * misc/err.c: Likewise.
31488 * misc/getttyent.c: Likewise.
31489 * misc/mntent_r.c: Likewise.
31490 * posix/getopt.c: Likewise.
31491 * posix/wordexp.c: Likewise.
31492 * pwd/fgetpwent_r.c: Likewise.
31493 * resolv/Versions: Likewise.
31494 * resolv/res_hconf.c: Likewise.
31495 * shadow/fgetspent_r.c: Likewise.
31496 * shadow/putspent.c: Likewise.
31497 * stdio-common/printf_fphex.c: Likewise.
31498 * stdio-common/tmpfile.c: Likewise.
31499 * stdlib/abort.c: Likewise.
31500 * stdlib/fmtmsg.c: Likewise.
31501 * sunrpc/auth_unix.c: Likewise.
31502 * sunrpc/clnt_perr.c: Likewise.
31503 * sunrpc/clnt_tcp.c: Likewise.
31504 * sunrpc/clnt_udp.c: Likewise.
31505 * sunrpc/clnt_unix.c: Likewise.
31506 * sunrpc/openchild.c: Likewise.
31507 * sunrpc/svc_simple.c: Likewise.
31508 * sunrpc/svc_tcp.c: Likewise.
31509 * sunrpc/svc_udp.c: Likewise.
31510 * sunrpc/svc_unix.c: Likewise.
31511 * sunrpc/xdr.c: Likewise.
31512 * sunrpc/xdr_array.c: Likewise.
31513 * sunrpc/xdr_rec.c: Likewise.
31514 * sunrpc/xdr_ref.c: Likewise.
31515 * sunrpc/xdr_stdio.c: Likewise.
31516
31517 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31518
31519 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31520
31521 2011-07-03 Andreas Jaeger <aj@suse.de>
31522
31523 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31524 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31525 regenerate with gen-libm-tests.pl.
31526
31527 2010-05-12 Petr Baudis <pasky@suse.cz>
31528
31529 [BZ #11589]
31530 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31531 around j0() zero points by switching to j1().
31532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31533 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31535 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31536
31537 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31538
31539 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31540 instead of 0.
31541 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31542 instead of 0.
31543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31544 Patch in part by Pavel Roskin <proski@gnu.org>.
31545
31546 [BZ #13138]
31547 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31548 realloc.
31549 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31550 Free memory block if necessary.
31551
31552 [BZ #12847]
31553 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31554 be NULL. Don't lock in this case.
31555
31556 2011-09-09 Roland McGrath <roland@hack.frob.com>
31557
31558 * elf/elf.h (ELFOSABI_GNU): New macro.
31559 (ELFOSABI_LINUX): Define to that.
31560
31561 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31562
31563 * string/strncat.c (strncat): Undef the symbol in case it has been
31564 defined in bits/string.h.
31565
31566 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31567
31568 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31569
31570 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31571 link map.
31572
31573 2011-08-17 Andreas Jaeger <aj@suse.de>
31574
31575 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31576
31577 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31578 Ian Lance Taylor <iant@google.com>
31579
31580 * math/libm-test.inc (lround_test): New testcase.
31581 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31582
31583 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31584
31585 * Makefile: Remove support for automatic cvs check-ins.
31586 * Makerules: Likewise.
31587 * config.make.in: Likewise.
31588 * configure.in: Likewise.
31589 * intl/Makefile: Likewise.
31590 * locale/Makefile: Likewise.
31591 * po/Makefile: Likewise.
31592 * posix/Makefile: Likewise.
31593 * sysdeps/gnu/Makefile: Likewise.
31594 * sysdeps/mach/hurd/Makefile: Likewise.
31595 * sysdeps/sparc/sparc32/Makefile: Likewise.
31596
31597 [BZ #13118]
31598 * posix/Makefile (bug-regex32-ENV): Define.
31599 Patch by John Stanley <jpsinthemix@verizon.net>.
31600
31601 * misc/Makefile (headers): Add bits/select2.h.
31602 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31603 * misc/bits/select2.h: New file.
31604 * include/bits/select2.h: New file.
31605 * debug/Makefile (routines): Add fdelt_chk.
31606 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31607 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31608 FD_ISSET.
31609 * debug/fdelt_chk.c: New file.
31610
31611 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31612 * wcsmbs/test-wmemcmp.c: Likewise.
31613 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31614 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31615
31616 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31617
31618 * string/Makefile (strop-tests): Add memcmp.
31619 * string/test-wmemcmp.c: New file.
31620 * string/test-memcmp.c: Add wmemcmp support.
31621
31622 2011-09-08 Roland McGrath <roland@hack.frob.com>
31623
31624 [BZ #13153]
31625 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31626 2011-07-19 change.
31627
31628 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31629 garbage value in a __mach_port_mod_refs call in the cases of the
31630 task-self and thread-self ports.
31631
31632 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31633
31634 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31635
31636 2011-09-08 Andreas Schwab <schwab@redhat.com>
31637
31638 * elf/dl-load.c (lose): Check for non-null L.
31639
31640 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31641
31642 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31643
31644 * elf/dl-libc.c (dlerror_run): Pass back error code from
31645 dl_catch_error.
31646
31647 [BZ #13123]
31648 * elf/dl-load.c (lose): Free l_origin if it is valid.
31649
31650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31651 names.
31652 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31655 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31656 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31657 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31658
31659 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31660
31661 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31662 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31663 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31664 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31665 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31666 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31667 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31668 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31669 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31670 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31671
31672 2011-08-15 Alan Modra <amodra@gmail.com>
31673
31674 [BZ #13092]
31675 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31676 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31677 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31678 ppc_mcount to static-only-routines.
31679 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31680 __mcount_internal.
31681 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31682 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31683
31684 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31685
31686 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31687 for finite and infinity parameters.
31688
31689 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31690
31691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31692 and add nop instructions for throughput optimization.
31693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31694
31695 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31696
31697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31698 aligned copy for power7 with vector-scalar instructions.
31699 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31700
31701 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31702
31703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31704 AVX check.
31705
31706 2011-09-07 Andreas Schwab <schwab@redhat.com>
31707
31708 [BZ #13144]
31709 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31710 last change.
31711
31712 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31713
31714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31715 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31716 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31717 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31718 clock_gettime.
31719
31720 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31721
31722 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31723 Forgot to demangle the pointer.
31724
31725 * sysdeps/i386/sysdep.h: Define atom_text_section.
31726 * sysdeps/x86_64/sysdep.h: Likewise.
31727 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31728 section with atom_text_section.
31729 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31730 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31731 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31733 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31734
31735 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31737 already be defined. Change to take two parameters and don't assign
31738 result to variable. Adjust all users.
31739 Define INTERNAL_GETTIME if not already defined.
31740 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31741 call.
31742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31743 HAVE_CLOCK_GETTIME_VSYSCALL.
31744 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31745
31746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31747 gettimeofday vsyscall, just use time.
31748
31749 2011-09-06 Andreas Schwab <schwab@redhat.com>
31750
31751 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31752 <errno.h>.
31753
31754 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31755
31756 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31757 syscall on x86-64.
31758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31759 syscall.
31760 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31761 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31762 syscall if possible.
31763
31764 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31765
31766 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31767 e_ident. Don't pass to find_mapsXX.
31768 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31769
31770 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31771
31772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31773 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31774 * sysdeps/x86_64/multiarch/strchr.S: Update.
31775 Check bit_slow_BSF bit.
31776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31777 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31778 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31779
31780 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31781
31782 [BZ #13134]
31783 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31784 before glibc 2.15.
31785 (tryshell): Define.
31786 (__spawni): Change last parameter to be flag. Test
31787 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31788 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31789 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31790 * posix/spawni.c: Likewise.
31791 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31792 * posix/spawnp.c: Likewise. Change normal version to use
31793 SPAWN_XFLAGS_USE_PATH.
31794 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31795 SPAWN_XFLAGS_TRY_SHELL.
31796
31797 [BZ #13150]
31798 * posix/glob.h: Remove gcc 1.x support.
31799
31800 [BZ #13068]
31801 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31802
31803 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31804
31805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31806 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31807 strrchr-sse2-bsf
31808 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31809 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31810 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31811 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31812 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31813 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31814
31815 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31816
31817 * sysdeps/x86_64/wcscmp.S: New file.
31818
31819 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31820 wcscmp-c wcscmp-sse2
31821 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31822 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31824 * wcsmbs/wcscmp.c: Allow renaming.
31825
31826 2011-09-05 David S. Miller <davem@davemloft.net>
31827
31828 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31829 stack slot, rather than the struct return pointer slot.
31830 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31831 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31833 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31834
31835 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31836
31837 * po/ja.po: Update from translation team.
31838
31839 [BZ #13144]
31840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31841 kernel in 64-bit binaries.
31842
31843 2011-09-01 David S. Miller <davem@davemloft.net>
31844
31845 * elf/elf.h (HWCAP_SPARC_*): Move to..
31846 * sysdeps/sparc/sysdep.h: this new file and add new values.
31847 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31848 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31849 _DL_HWCAP_COUNT to 24.
31850 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31851 entries.
31852 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31853 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31854 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31856 instead of magic constants.
31857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31858
31859 2011-08-31 David S. Miller <davem@davemloft.net>
31860
31861 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31863 Reimplement to do errno handling inline.
31864 (SYSCALL_ERROR_HANDLER): New macro.
31865 (__SYSCALL_STRING): Do not do errno handling in asm.
31866 (__CLONE_SYSCALL_STRING): Delete.
31867 (__INTERNAL_SYSCALL_STRING): Delete.
31868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31869 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31870 (PSEUDO): Reimplement to do errno handling inline.
31871 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31872 (SYSCALL_ERROR_HANDLER): New macro.
31873 (__SYSCALL_STRING): Do not do errno handling in asm.
31874 (__CLONE_SYSCALL_STRING): Delete.
31875 (__INTERNAL_SYSCALL_STRING): Delete.
31876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31877 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31878 i386.
31879 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31880 (inline_syscall*): Add 'err' argument.
31881 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31882 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31883 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31884 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31885
31886 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31887 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31888
31889 2011-08-30 Andreas Schwab <schwab@redhat.com>
31890
31891 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31892
31893 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31894
31895 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31896 directive.
31897
31898 2011-08-24 David S. Miller <davem@davemloft.net>
31899
31900 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31901
31902 2011-08-24 Andreas Schwab <schwab@redhat.com>
31903
31904 * elf/Makefile: Add rules to build and run unload8 test.
31905 * elf/unload8.c: New file.
31906 * elf/unload8mod1.c: New file.
31907 * elf/unload8mod1x.c: New file.
31908 * elf/unload8mod2.c: New file.
31909 * elf/unload8mod3.c: New file.
31910
31911 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31912 it wasn't used.
31913
31914 2011-08-23 David S. Miller <davem@davemloft.net>
31915
31916 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31917 subtract stack bias.
31918 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31919 %sp not %fp in calculations.
31920 (_JMPBUF_UNWINDS_ADJ): Likewise.
31921
31922 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31923 (aio_suspend): Call it to force an exception region around the
31924 AIO_MISC_WAIT() invocation.
31925
31926 2011-08-23 Andreas Schwab <schwab@redhat.com>
31927
31928 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31929 backslash.
31930
31931 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31932
31933 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31934 protection macro.
31935 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31936 and <dl-machine.h>.
31937 (Elf64_FuncDesc): Remove.
31938
31939 2011-08-22 David S. Miller <davem@davemloft.net>
31940
31941 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31942 sigaltstack check, add missing cfi directives.
31943 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31944 missing cfi directives, and sigaltstack handling.
31945
31946 2011-08-16 Andreas Schwab <schwab@redhat.com>
31947
31948 [BZ #11724]
31949 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31950 object is seen twice.
31951 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31952
31953 * elf/Makefile (distribute): Add tst-initorder2.c.
31954 (tests): Add tst-initorder2.
31955 (modules-names): Add tst-initorder2a tst-initorder2b
31956 tst-initorder2c tst-initorder2d. Add rules to build them.
31957 ($(objpfx)tst-initorder2.out): New rule.
31958 * elf/tst-initorder2.c: New file.
31959 * elf/tst-initorder2.exp: New file.
31960
31961 2011-08-22 Andreas Schwab <schwab@redhat.com>
31962
31963 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31964
31965 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31966 dependencies back to end of function.
31967
31968 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31969 $(elfobjdir)/ld.so.
31970
31971 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31972
31973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31974 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31976 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31977 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31978 of __vdso_gettimeofday.
31979 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31980 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31981 attribute_hidden.
31982 (_libc_vdso_platform_setup): Remove initialization of
31983 __vdso_gettimeofday and __vdso_time.
31984
31985 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31986
31987 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31988 and fgetc_unlocked.
31989 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31990 getc_unlocked.
31991
31992 * elf/dl-open.c (add_to_global): Report additions to the global scope
31993 for LD_DEBUG=scopes.
31994 (dl_open_worker): Also print scope of newly loaded dependencies.
31995 (_dl_show_scope): Indicate if there is no scope.
31996
31997 [BZ #13114]
31998 * stdio-common/Makefile (tests): Add bug24.
31999 * stdio-common/bug24.c: New file.
32000
32001 2011-08-19 Andreas Jaeger <aj@suse.de>
32002
32003 [BZ #13114]
32004 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32005 non-existant file when using close-on-exec mode.
32006
32007 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32008
32009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32010 the very first instruction.
32011
32012 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32013 the CFI state in the end.
32014 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32015 inclusion of dl-trampoline.h.
32016 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32017
32018 2011-08-19 Andreas Schwab <schwab@redhat.com>
32019
32020 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32021 expectations for long double.
32022
32023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32024 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32025
32026 2011-08-14 David S. Miller <davem@davemloft.net>
32027
32028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32029 artificual limit depends upon the system page size.
32030
32031 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32032
32033 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32034 * resolv/Makefile: Define CFLAGS-libresolv.
32035
32036 2011-08-17 Andreas Schwab <schwab@redhat.com>
32037
32038 * nss/makedb.c (compute_tables): Make variables used in nested
32039 function static.
32040
32041 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32042
32043 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32044 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32045 if buffer was too small.
32046
32047 * elf/pldd.c (main): Attach to all threads in the process.
32048 Rewrite /proc handling to use *at functions.
32049
32050 2011-08-16 Ulrich Drepper <drepper@gmail.com>
32051
32052 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32053 specifies first scope to show.
32054 (dl_open_worker): Update callers. Move printing scope of new
32055 object to before the relocation.
32056 * elf/rtld.c (dl_main): Update _dl_show_scope call.
32057 * sysdeps/generic/ldsodefs.h: Update declaration.
32058
32059 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32060 string for the scope number.
32061
32062 2011-08-14 Ulrich Drepper <drepper@gmail.com>
32063
32064 * nscd/servicescache.c (cache_addserv): Make sure written is always
32065 initialized.
32066
32067 2011-08-14 Roland McGrath <roland@hack.frob.com>
32068
32069 * sysdeps/i386/i486/bits/atomic.h
32070 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32071 statement expression, so as to suppress "set but not used" warning.
32072 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32073
32074 * string/strncat.c (STRNCAT): Use prototype definition.
32075
32076 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32077 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32078 -Iprograms here.
32079 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32080 (localedef-modules): Add localedef.
32081 (locale-modules): Add locale.
32082
32083 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32084 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32085 to avoid a warning.
32086
32087 2011-08-14 David S. Miller <davem@davemloft.net>
32088
32089 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32090 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32091
32092 2011-08-13 Ulrich Drepper <drepper@gmail.com>
32093
32094 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32095 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32096 * elf/rtld.c (dl_main): Set l_name of vDSO.
32097 Call _dl_show_scope when DL_DEBUG_SCOPES.
32098 (process_dl_debug): Recognize scopes flag and also set it for all.
32099 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32100 Declare _dl_show_scope.
32101
32102 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32103 (do_dlopen): Pass caller_dlopen to dl_open.
32104 (__libc_dlopen_mode): Initialize caller_dlopen.
32105
32106 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32107 of libc. Make tolower call locale-independent. Optimize a bit by
32108 using isdigit instead of isalnum.
32109 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32110
32111 2011-08-12 Ulrich Drepper <drepper@gmail.com>
32112
32113 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32114 was a dependency or dynamically loaded.
32115
32116 2011-08-11 Ulrich Drepper <drepper@gmail.com>
32117
32118 * intl/l10nflist.c: Allow architecture-specific pop function.
32119 * sysdeps/x86_64/l10nflist.c: New file.
32120
32121 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32122 classification.
32123
32124 2011-08-10 Andreas Schwab <schwab@redhat.com>
32125
32126 * include/dirent.h: Add libc_hidden_proto for scandirat and
32127 scandirat64. Don't declare __scandirat64.
32128 * dirent/scandirat.c: Add libc_hidden_def.
32129 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32130 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32131
32132 2011-08-10 David S. Miller <davem@davemloft.net>
32133
32134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32135 enum.
32136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32139
32140 2011-08-09 Ulrich Drepper <drepper@gmail.com>
32141
32142 * Versions.def [libc]: Add GLIBC_2.15.
32143 * dirent/Makefile (routines): Add scandirat and scandirat64.
32144 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32145 GLIBC_2.15.
32146 * dirent/dirent.h: Declare scandirat and scandirat64.
32147 * dirent/scandirat.c: New file.
32148 * dirent/scandirat64.c: New file.
32149 * sysdeps/wordsize-64/scandirat.c: New file.
32150 * sysdeps/wordsize-64/scandirat64.c: New file.
32151 * dirent/opendir.c: Define opendirat.
32152 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32153 using scandirat.
32154 * dirent/scandir64.c: Adjust for scandir.c change.
32155 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32156 __scandirat64, and __scandir_cancel_handler.
32157 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32158 additional parameter and use openat instead of open (outside of ld.so).
32159 Add new __opendir as wrapper around __opendirat.
32160 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32161 here without requiring old scandirat implementation.
32162
32163 2011-08-08 Ulrich Drepper <drepper@gmail.com>
32164
32165 * dirent/scandir.c (cancel_handler): Renamed to
32166 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32167 defined. Adjust users.
32168 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32170
32171 2011-08-04 Ulrich Drepper <drepper@gmail.com>
32172
32173 * string/test-string.h (IMPL): Use __STRING to expand name and then
32174 stringify it.
32175
32176 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32177 of cleanups.
32178
32179 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32180
32181 * string/Makefile: Update.
32182 (strop-tests): Append strncat.
32183 * string/test-wcscmp.c: New file.
32184 New comprehensive test for wcscmp.
32185 * string/test-strcmp.c: Update.
32186 (WIDE): New define.
32187
32188 2011-07-22 Andreas Schwab <schwab@redhat.com>
32189
32190 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32191 line.
32192
32193 2011-07-26 Andreas Schwab <schwab@redhat.com>
32194
32195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32196 encoding to ACE if AI_IDN.
32197
32198 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32199
32200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32201 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32202
32203 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32204
32205 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32206 Fix overflow bug in strncat.
32207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32208
32209 * string/test-strncat.c: Update.
32210 Add new tests for checking overflow bugs.
32211
32212 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32213
32214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32215 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32216 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32217 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32219 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32220 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32221 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32222 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32223
32224 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32225 (USE_AS_STRCAT): Define.
32226 Add strcat and strncat support.
32227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32228
32229 2011-07-25 Andreas Schwab <schwab@redhat.com>
32230
32231 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32232 __n bigger than INT_MAX+1.
32233 (__strncmp_g): Likewise.
32234
32235 2011-07-23 Ulrich Drepper <drepper@gmail.com>
32236
32237 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32238 * libio/stido.h: Likewise.
32239
32240 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32241 (AF_NFC): Define.
32242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32243 (AF_NFC): Define.
32244
32245 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32246 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32247 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32248 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32249 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32250
32251 [BZ #13021]
32252 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32253 installed.
32254
32255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32256 typo.
32257 (_dl_x86_64_save_sse): Likewise.
32258
32259 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32260
32261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32262 OSXSAVE.
32263 (_dl_x86_64_save_sse): Likewise.
32264
32265 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32266
32267 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32268
32269 2011-07-21 Andreas Schwab <schwab@redhat.com>
32270
32271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32272 change.
32273 (_dl_x86_64_save_sse): Use correct AVX check.
32274
32275 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32276
32277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32278 bug in strncpy/strncat.
32279 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32280
32281 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32282
32283 * string/tester.c (test_strcat): Add tests for different alignments
32284 of source and destination.
32285 (test_strncat): Likewise.
32286
32287 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32288
32289 [BZ #12852]
32290 * posix/glob.c (glob): Check passed in values before using them in
32291 expressions to avoid some overflows.
32292 (glob_in_dir): Likewise.
32293
32294 [BZ #13007]
32295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32296 check for AVX enablement so that we don't crash with old kernels and
32297 new hardware.
32298 * elf/tst-audit4.c: Add same checks here.
32299 * elf/tst-audit6.c: Likewise.
32300
32301 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32302
32303 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32304
32305 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32306
32307 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32308
32309 * po/cs.po: Update from translation team.
32310 * po/bg.po: Likewise.
32311
32312 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32313
32314 * misc/sys/cdefs.h: Add support for const attribute.
32315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32316 to gnu_dev_{major,minor,makedev} functions.
32317
32318 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32319
32320 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32321
32322 2011-07-20 Andreas Schwab <schwab@redhat.com>
32323
32324 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32325 strlen results.
32326
32327 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32328
32329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32330 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32331 register in order to avoid conflicts with the soft frame pointer
32332 being held in r11 when necessary.
32333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32334 (INTERNAL_VSYSCALL_NCS): Likewise.
32335
32336 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32337
32338 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32339 * elf/dl-fini.c (_dl_fini): Adjust caller.
32340 * elf/dl-close.c (_dl_close_worker): Likewise.
32341 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32342
32343 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32344
32345 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32346 "aux_cache->nlibs < 0".
32347
32348 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32349 in the reload-count case.
32350
32351 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32352
32353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32354 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32355 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32356 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32357 * sysdeps/x86_64/multiarch/strcat.S: New file.
32358 * sysdeps/x86_64/multiarch/strncat.S: New file.
32359 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32360 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32361 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32362 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32364 (USE_AS_STRCAT): Define.
32365 Add strcat and strncat support.
32366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32367 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32368 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32369 * string/strncat.c: Update.
32370 (USE_AS_STRNCAT): Define.
32371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32372 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32373 and i7.
32374 * sysdeps/x86_64/multiarch/init-arch.h
32375 (bit_Prefer_PMINUB_for_stringop): New.
32376 (index_Prefer_PMINUB_for_stringop): Likewise.
32377 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32378 bit_Prefer_PMINUB_for_stringop.
32379
32380 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32381
32382 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32383 buffer64.
32384 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32385 of casting of buffer.
32386 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32387 buffer32 and buffer64.
32388 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32389 writes instead of casting of buffer.
32390 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32391 buffer32.
32392 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32393 casting of buffer.
32394
32395 2011-07-19 Andreas Schwab <schwab@redhat.com>
32396
32397 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32398
32399 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32400
32401 * nscd/nscd.c (termination_handler): Don't do anything for a database
32402 if it has not yet been initialized.
32403
32404 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32405
32406 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32407
32408 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32409
32410 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32411
32412 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32413
32414 * po/nl.po: Update from translation team.
32415 * po/sv.po: Likewise.
32416
32417 2011-07-16 Roland McGrath <roland@hack.frob.com>
32418
32419 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32420 now disallowed by GCC.
32421
32422 * configure.in (use-default-link): Default to yes if a test -shared
32423 link meets our qualifications.
32424 * configure: Regenerated.
32425
32426 * config.make.in (output-format): New variable.
32427 * configure.in: Check for ld --print-output-format support.
32428 * configure: Regenerated.
32429 * Makerules ($(common-objpfx)format.lds)
32430 [$(output-format) != unknown]: Just use $(output-format),
32431 instead of the linker-script munging.
32432
32433 2011-07-14 Roland McGrath <roland@hack.frob.com>
32434
32435 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32436 of $(common-objpfx)shlib.lds.
32437 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32438
32439 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32440 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32441
32442 * configure.in (-z relro check): Adjust test code to add a large
32443 writable data section after it.
32444 * configure: Regenerated.
32445
32446 2011-07-11 Roland McGrath <roland@hack.frob.com>
32447
32448 * configure.in (-z relro check): Fix test code to make the variable
32449 truly const.
32450 * configure: Regenerated.
32451
32452 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32453
32454 * nscd/nscd.h (struct traced_file): Define.
32455 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32456 elements. Add traced_files.
32457 (inotify_fd): Declare.
32458 (register_traced_file): Declare.
32459 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32460 (inotify_fd): Export.
32461 (resolv_conf_descr): Remove.
32462 (nscd_init): Move inotify descriptor creation to main.
32463 Don't register files for notification here.
32464 (register_traced_file): New function.
32465 (invalidate_cache): Don't use reset_res to determine whether to call
32466 res_init, go through the list of registered files.
32467 (main_loop_poll): The inotify descriptors are now stored in the
32468 structures for the traced files.
32469 (main_loop_epoll): Likewise
32470 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32471 to __nss_disable_nscd.
32472 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32473 for a database anymore. Check the records for all the registered
32474 files instead.
32475 * nss/Makefile (libnss_files-routines): Add files-init.
32476 (libnss_db-routines): Add db-init.
32477 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32478 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32479 * nss/nss_db/db-init.c: New file.
32480 * nss/nss_files/files-init.c: New file.
32481 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32482 __nss_lookup_function.
32483 (__nss_lookup_function): Call nss_load_library.
32484 (nss_load_all_libraries): New function.
32485 (__nss_disable_nscd): Take parameter with callback function for files
32486 to register. Set is_nscd. Load all the DSOs for the NSS modules
32487 used for the cached services.
32488 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32489 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32490 options for features to all the files in nscd.
32491
32492 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32493
32494 2011-07-10 Roland McGrath <roland@hack.frob.com>
32495
32496 * csu/elf-init.c (__libc_csu_init): Comment typo.
32497
32498 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32499
32500 * po/pl.po: Update from translation team.
32501 * po/ja.po: Likewise.
32502 * po/ru.po: Likewise.
32503 * po/ko.po: Likewise.
32504 * po/fr.po: Likewise.
32505
32506 2011-07-09 Roland McGrath <roland@hack.frob.com>
32507
32508 * configure.in (.ctors/.dtors header and trailer check):
32509 Use an empirical test on a built program.
32510 * configure: Regenerated.
32511
32512 * configure.in (-z relro check): Use an empirical test on a built DSO.
32513 Detect, but do not require, on ia64.
32514 * configure: Regenerated.
32515
32516 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32517 Update tests that use readelf to use $READELF instead.
32518 * configure: Regenerated.
32519
32520 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32521
32522 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32523 if the result is not used.
32524
32525 2011-07-05 Andreas Jaeger <aj@suse.de>
32526
32527 [BZ#9696]
32528 * stdlib/tst-strtod.c: Add testcase.
32529
32530 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32531
32532 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32533 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32534 The latter has a higher limit. Take additional parameter to pass to
32535 the new function.
32536 (__pathconf): Pass file to __statfs_link_max.
32537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32538 __statfs_link_max.
32539 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32540 __statfs_link_max.
32541
32542 [BZ #12868]
32543 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32545 Handle Lustre.
32546 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32547 (__statfs_filesize_max): Likewise.
32548 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32549
32550 2011-07-05 Andreas Jaeger <aj@suse.de>
32551
32552 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32553
32554 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32555
32556 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32557 `status' variable.
32558 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32559 Likewise.
32560
32561 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32562
32563 * Makefile (strop-tests): Add strncat.
32564 * string/test-strncat.c: New file.
32565
32566 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32567
32568 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32569
32570 2011-06-21 Andreas Jaeger <aj@suse.de>
32571
32572 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32573 Copy rule from iconvdata/Makefile.
32574
32575 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32576
32577 [BZ #12922]
32578 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32579 but no long options are defined, just return 'W'.
32580
32581 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32582
32583 [BZ #9696]
32584 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32585
32586 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32587
32588 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32589 netgroups to read.
32590 (innetgr): Likewise.
32591
32592 2011-07-05 Roland McGrath <roland@hack.frob.com>
32593
32594 * config.make.in (install_root): Default to $(DESTDIR).
32595
32596 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32597
32598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32599
32600 2011-07-02 Roland McGrath <roland@hack.frob.com>
32601
32602 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32603
32604 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32605 containing directory rather than embedding absolute directory names.
32606
32607 * scripts/check-local-headers.sh: Rewritten using awk.
32608 Match by word, not by line. Print error messages for matches.
32609 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32610
32611 * Makerules [shlib-lds-flags empty]:
32612 ($(common-objpfx)libc_pic.opts): New target.
32613 ($(common-objpfx)libc_pic.os.clean): New target.
32614 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32615
32616 * config.make.in (OBJCOPY): New variable.
32617 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32618 * configure: Regenerated.
32619
32620 * config.make.in (use-default-link): New variable.
32621 * configure.in (use_default_link): Grok --with-default-link to set it.
32622 * configure: Regenerated.
32623 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32624 (shlib-lds, shlib-lds-flags): Define to empty.
32625
32626 * Makerules (shlib-lds): New variable.
32627 (shlib-lds-flags): New variable.
32628 (build-shlib, build-moduile, build-module-asneeded): Use it.
32629 ($(common-objpfx)libc.so): Use $(shlib-lds).
32630 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32631 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32632
32633 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32634 DT_FLAGS/DT_FLAGS_1 with zero flags.
32635
32636 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32637 linker script munging.
32638
32639 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32640
32641 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32642 as 128-bit value.
32643 * crypt/sha512.c (sha512_process_block): Perform total addition using
32644 128-bit if possible.
32645 (__sha512_finish_ctx): Likewise.
32646 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32647 as 64-bit value.
32648 * crypt/sha256.c (SWAP64): Define.
32649 (sha256_process_block): Perform total addition using 64-bit if
32650 possible.
32651 (__sha256_finish_ctx): Likewise.
32652
32653 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32654
32655 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32657 * nscd/hstcache.c (cache_addhst): Likewise.
32658 * nscd/grpcache.c (cache_addgr): Likewise.
32659 * nscd/aicache.c (addhstaiX): Likewise
32660 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32661
32662 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32663
32664 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32666 * nscd/hstcache.c (cache_addhst): Likewise.
32667 * nscd/grpcache.c (cache_addgr): Likewise.
32668 * nscd/aicache.c (addhstaiX): Likewise
32669
32670 2011-07-01 Andreas Schwab <schwab@redhat.com>
32671
32672 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32673 domain only when needed.
32674
32675 2011-06-30 Andreas Schwab <schwab@redhat.com>
32676
32677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32678 is always restored.
32679
32680 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32681
32682 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32683 are re-adding the entry.
32684 * nscd/servicescache.c (cache_addserv): Likewise.
32685
32686 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32687
32688 * sysdeps/generic/dl-irel.h: fix protection against multiple
32689 inclusions.
32690 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32691
32692 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32693
32694 [BZ #12935]
32695 * malloc/memusage.sh: Fix quoting in message.
32696 * debug/xtrace.sh: Likewise.
32697
32698 * configure.in: Remove support for --experimental-malloc option, make
32699 it the default.
32700 * config.make.in: Likewise.
32701 * malloc/Makefile: Likewise.
32702
32703 2011-06-27 Andreas Schwab <schwab@redhat.com>
32704
32705 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32706 two-byte characters.
32707
32708 2011-06-27 Roland McGrath <roland@hack.frob.com>
32709
32710 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32711 AC_CACHE_CHECK invocation.
32712 * configure: Regenerated.
32713
32714 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32715
32716 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32717
32718 [BZ #12350]
32719 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32720 bit from old_res_options.
32721
32722 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32723
32724 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32725 value type for setfct.
32726
32727 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32728
32729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32730 __gettimeofday instead of gettimeofday.
32731
32732 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32733
32734 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32735
32736 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32737
32738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32739
32740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32741 info.
32742
32743 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32744
32745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32746 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32747 strcpy-sse2-unaligned strncpy-sse2-unaligned
32748 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32749 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32750 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32751 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32752 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32754 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32755 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32756 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32757 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32758 (STRCPY): Support SSE2 and SSSE3 versions.
32759
32760 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32761
32762 [BZ #12874]
32763 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32764 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32765 kernels which artificially limit size of requests.
32766
32767 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32768
32769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32770 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32771 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32772 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32773 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32774 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32775 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32776 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32779 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32780 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32781 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32782 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32783 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32785 Enable unaligned load optimization for Intel Core i3, i5 and i7
32786 processors.
32787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32788 Define.
32789 (index_Fast_Unaligned_Load): Define.
32790 (HAS_FAST_UNALIGNED_LOAD): Define.
32791
32792 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32793
32794 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32795
32796 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32797
32798 [BZ #12907]
32799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32800 until it is clear that the information is realy needed.
32801 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32802
32803 2011-06-22 Andreas Schwab <schwab@redhat.com>
32804
32805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32806
32807 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32808
32809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32810 /sys/devices/system/cpu/online if it is usable.
32811
32812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32813 reading the information from the /proc filesystem to once a second.
32814
32815 2011-06-21 Andreas Jaeger <aj@suse.de>
32816
32817 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32818 NULL after inclusion of kernel headers.
32819
32820 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32821
32822 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32823 calls to internal_setent.
32824
32825 [BZ #12885]
32826 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32827 addresses using gethostbyname4_r ignore IPv4 addresses.
32828
32829 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32830 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32831
32832 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32833
32834 2011-06-20 David S. Miller <davem@davemloft.net>
32835
32836 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32837 inclusions.
32838 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32839
32840 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32841 (elf_irel): Use it.
32842 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32843 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32844 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32845 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32846 * sysdeps/x86_64/dl-irel.h: Likewise.
32847
32848 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32849 * elf/dl-sym.c: Likewise.
32850
32851 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32852
32853 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32854 need to dereference resplen2.
32855
32856 2011-06-14 Andreas Schwab <schwab@redhat.com>
32857
32858 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32859
32860 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32861
32862 * Makeconfig: Define vardbdir and inst_vardbdir.
32863 * nss/Makefile: Add rules to install db-Makefile.
32864
32865 * nss/nss_db/db-XXX.c: Cleanup.
32866
32867 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32868 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32869 GLIBC_PRIVATE.
32870 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32871 * nss/makedb.c: Implement -g option to specify that value strings
32872 are generated and should not be added to table iterated over for
32873 get*ent calls.
32874 * nss/nss_db/db-initgroups.c: New file.
32875
32876 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32877 interface.
32878
32879 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32880 (internal_getgrouplist): Adjust to name change.
32881 Update use_initgroups_entry if this is not the first call.
32882 * nss/databases.def: Add initgroups entry.
32883
32884 * nss/makedb.c (compute_tables): Check result of multiple hash table
32885 sizes to minimize maximum chain length.
32886
32887 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32888
32889 * Versions.def: Add entry for libnss_db.
32890 * shlib-versions: Likewise.
32891 * nss/Makefile: Add rules to build libnss_db.
32892 * nss/Versions: Add libnss_db information. Organize libnss_files
32893 entries better.
32894 * nss/db-Makefile: Add gshadow support. Change rules for the new
32895 makedb progra. Some minor improvements to generate smaller files.
32896 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32897 here from...
32898 * nss/makedb.c: ...here.
32899 Improve database format to be smaller and require less memory at
32900 runtime.
32901 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32902 db anymore.
32903 * nss/nss_db/db-netgrp.c: Likewise.
32904 * nss/nss_db/db-open.c: Likewise.
32905 * nss/nss_files/flies-XXX.x: Adjust comments.
32906 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32907 * nss/nss_files/files-grp.c: Likewise.
32908 * nss/nss_files/files-hosts.c: Likewise.
32909 * nss/nss_files/files-network.c: Likewise.
32910 * nss/nss_files/files-proto.c: Likewise.
32911 * nss/nss_files/files-pwd.c: Likewise.
32912 * nss/nss_files/files-rpc.c: Likewise.
32913 * nss/nss_files/files-service.c: Likewise.
32914 * nss/nss_files/files-sgrp.c: Likewise.
32915 * nss/nss_files/files-spwd.c: Likewise.
32916 * nss/nss_db/db-alias.c: Removed.
32917 * nss/nss_db/dummy-db.h: Removed.
32918
32919 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32920
32921 * nss/makedb.c: Rewritten to not use database library.
32922 * nss/Makefile: Update to build new makedb program.
32923
32924 2011-06-14 Andreas Jaeger <aj@suse.de>
32925
32926 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32927 memset declaration.
32928
32929 2011-06-10 Andreas Schwab <schwab@redhat.com>
32930
32931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32932 tmpbuf.
32933
32934 2011-06-10 Roland McGrath <roland@hack.frob.com>
32935
32936 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32937 * elf/Makefile ($(objpfx)ld.so): Likewise.
32938
32939 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32940 Don't list ld.so twice in dependencies.
32941
32942 * posix/bug-regex31.c: Include <stdlib.h>.
32943
32944 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32945
32946 * nis/nss_compat/compat-spwd.c
32947 (getspent_next_nss_netgr): Remove unused variable.
32948 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32949
32950 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32951 nonmembers" output to use the right array.
32952
32953 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32954
32955 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32956
32957 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32958 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32959 * catgets/gencat.c (read_input_file): Likewise.
32960 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32961
32962 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32963 variable definition inside #if's controlling its use.
32964
32965 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32966
32967 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32968
32969 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32970
32971 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32972 unreachable code.
32973
32974 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32975
32976 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32977 * configure: Regenerated.
32978
32979 * Makerules: Revert last change.
32980 * elf/Makefile: Likewise.
32981
32982 2011-06-09 Roland McGrath <roland@hack.frob.com>
32983
32984 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32985 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32986 (reloc-link): Likewise.
32987
32988 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32989
32990 * elf/Makefile: Add rules to build pldd.
32991 * elf/pldd.c: New file.
32992 * elf/pldd-xx.c: New file.
32993
32994 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32995
32996 * version.h: Update for 2.15 development version.
32997
32998 2011-06-07 David S. Miller <davem@davemloft.net>
32999
33000 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33001 ifuncs.
33002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33003 elf_machine_lazy_rel): Likewise.
33004 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33005 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33006 elf_machine_lazy_rel): Likewise.
33007 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33008 dl_hwcap via passed in argument.
33009 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33010 Likewise.
33011
33012 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33013
33014 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33015
33016 2011-06-06 Roland McGrath <roland@hack.frob.com>
33017
33018 [BZ #12849]
33019 * manual/fdl-1.1.texi: New file, verbatim from:
33020 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33021 * manual/lgpl-2.1.texi: New file, verbatim from:
33022 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33023 * manual/Makefile (licenses): New variable, list those new file names.
33024 (texis): Use it.
33025 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33026
33027 * manual/fdl.texi: File removed.
33028 * manual/lesser.texi: File removed.
33029 * manual/libc.texinfo (Copying, Documentation License):
33030 Use new @include file names, put @appendix directive before @include.
33031
33032 2011-06-04 Jakub Jelinek <jakub@redhat.com>
33033
33034 [BZ #12841]
33035 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33036 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33037 (mq_open): Add __NTH.
33038
33039 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33042 Assume Intel Core i3/i5/i7 processor if AVX is available.
33043
33044 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33045
33046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33047 typo.
33048
33049 2011-05-31 Andreas Schwab <schwab@redhat.com>
33050
33051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33052 memory. Use alloca_account. Fix memory leak when retrying.
33053
33054 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33055
33056 * version.h (RELEASE): Bump for 2.14 release.
33057 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33058
33059 * config.make.in (RANLIB): Remove entry.
33060
33061 2011-05-30 Ulrich Drepper <drepper@gmail.com>
33062
33063 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33064 (libc.pot): Work around missing support for .ksh extension in xgettext.
33065
33066 [BZ #12684]
33067 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33068 if both request failed.
33069 (send_dg): In case of server errors clear resplen or *resplen2.
33070
33071 [BZ #12454]
33072 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33073 when there are multiple maps.
33074 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33075 (_dl_fini): Remove test here.
33076
33077 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33078
33079 2011-05-29 Ulrich Drepper <drepper@gmail.com>
33080
33081 [BZ #12350]
33082 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33083 bit from old_res_options.
33084 (gaih_inet): Likewise.
33085
33086 [BZ #11099]
33087 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33088 as signed.
33089
33090 * resolv/res_init.c (res_setoptions): Make the code more compact.
33091
33092 [BZ #11558]
33093 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33094 set RES_USEVC.
33095
33096 [BZ #11634]
33097 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33098
33099 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33100
33101 [BZ #11781]
33102 * malloc/malloc.h: Declare malloc hook variables as volatile.
33103
33104 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33105 in last patch.
33106
33107 [BZ #11799]
33108 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33109 raise in the comment.
33110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33112 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33113
33114 2011-05-28 Ulrich Drepper <drepper@gmail.com>
33115
33116 [BZ #12811]
33117 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33118 grow the buffers more if it already has to be sufficient.
33119 (build_wcs_upper_buffer): Likewise.
33120 * posix/regexec.c (check_matching): Likewise.
33121 (clean_state_log_if_needed): Likewise.
33122 (extend_buffers): Don't enlarge buffers beyond size of the input
33123 buffer.
33124 Patches mostly by Emil Wojak <emil@wojak.eu>.
33125 * posix/bug-regex32.c: New file.
33126 * posix/Makefile (tests): Add bug-regex32.
33127
33128 * locale/findlocale.c (_nl_find_locale): Return right away if
33129 _nl_explode_name failed.
33130 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33131
33132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33133
33134 * debug/xtrace.sh: Unify messages.
33135 * malloc/memusage.sh: Likewise.
33136
33137 [BZ #12813]
33138 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33139 time symbol from vDSO. Substitute with vsyscall if not available.
33140 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33141 __vdso_time.
33142
33143 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33144 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33145 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33146 Add sendmmsg and internal_sendmmsg.
33147 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33148 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33149 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33150
33151 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33152 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33154
33155 2011-05-27 Ulrich Drepper <drepper@gmail.com>
33156
33157 [BZ #12813]
33158 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33159 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33160 available.
33161 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33162 __vdso_getcpu.
33163
33164 [BZ #12814]
33165 * iconvdata/Makefile (tests): Add bug-iconv9.
33166 * iconvdata/bug-iconv9.c: New file.
33167
33168 2011-05-27 Andreas Schwab <schwab@redhat.com>
33169
33170 [BZ #12814]
33171 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33172
33173 2011-05-25 Jakub Jelinek <jakub@redhat.com>
33174
33175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33176 (struct user_regs_struct): Change intcs field back to cs.
33177
33178 2011-05-25 Ulrich Drepper <drepper@gmail.com>
33179
33180 * po/ja.po: Update from translation team.
33181
33182 2011-05-23 Ulrich Drepper <drepper@gmail.com>
33183
33184 [BZ #12795]
33185 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33187
33188 2011-05-20 Andreas Schwab <schwab@redhat.com>
33189
33190 * stdlib/longlong.h: Update from GCC.
33191
33192 2011-05-23 Andreas Schwab <schwab@redhat.com>
33193
33194 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33195 parameter name.
33196 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33197 Add parameter name.
33198 (__sysconf): Pass it down.
33199
33200 2011-05-22 Ulrich Drepper <drepper@gmail.com>
33201
33202 [BZ #12671]
33203 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33204 some situations.
33205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33206 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33207 add in in __libc_use_alloca calls. Adjust callers.
33208 (glob): Use malloc in some situations.
33209
33210 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33211 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33212 pltexit.
33213
33214 2011-05-21 Ulrich Drepper <drepper@gmail.com>
33215
33216 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33217 and CLOCK_BOOTTIME_ALARM.
33218
33219 [BZ #12782]
33220 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33221 is returned.
33222
33223 * string/_strerror.c (__strerror_r): Print negative errors as signed
33224 numbers.
33225
33226 [BZ #12777]
33227 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33228 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33229 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33230
33231 * configure.in: Fix typo in redirection and correct removal of test
33232 files in two cases.
33233
33234 [BZ #12788]
33235 * locale/setlocale.c (new_composite_name): Fix test to check for
33236 identical name of all categories.
33237
33238 [BZ #12792]
33239 * libio/filedoalloc.c (local_isatty): New function.
33240 (_IO_file_doallocate): Use local_isatty.
33241 * stdio-common/perror.c (perror): In case a new stream is used
33242 forward the stream error.
33243 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33244 error flag.
33245
33246 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33247
33248 [BZ #11869]
33249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33250 alloca.
33251 * include/alloca.h (extend_alloca_account): Define.
33252
33253 [BZ #11857]
33254 * posix/regex.h: Fix comments with documentation of user-accessible
33255 fields after compilation and describe correct free'ing of pattern
33256 after re_compile_pattern.
33257 Patch by Reuben Thomas <rrt@sc3d.org>.
33258
33259 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33260
33261 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33262 and -mno-altivec to prevent the compiler from using Altivec and/or
33263 VSX instructions when the corresponding registers are not available.
33264
33265 2011-05-19 Andreas Schwab <schwab@redhat.com>
33266
33267 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33268
33269 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33270
33271 * libio/freopen.c (freopen): Use __dup2, not dup2.
33272 * libio/freopen64.c (freopen64): Likewise.
33273
33274 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33275
33276 [BZ #12775]
33277 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33278 * math/Makefile (tests): Add test-powl.
33279 (CFLAGS-test-powl.c): Define.
33280 * math/test-powl.c: New file.
33281
33282 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33283
33284 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33285
33286 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33287
33288 [BZ #11837]
33289 * iconvdata/gb18030.c: Update to GB18020-2005.
33290
33291 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33292
33293 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33294 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33295 Patch by Aharon Robbins <arnold@skeeve.com>.
33296
33297 [BZ #11892]
33298 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33299 on the stack.
33300
33301 [BZ #11895]
33302 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33303 through underflows.
33304
33305 [BZ #12766]
33306 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33307 point to strings before performing equality test for error_one_per_line
33308 mode.
33309
33310 [BZ #11697]
33311 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33312
33313 [BZ #11820]
33314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33315 (struct user_fpregs_struct): Avoid __uint*_t types.
33316
33317 [BZ #6420]
33318 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33319 symbol info. Use it instead of calling _dl_addr locally.
33320 (lock_and_info): New function.
33321 (tr_freehook): Call lock_and_info and pass symbol info as additional
33322 parameter to tr_where.
33323 (tr_mallochook): Likewise.
33324 (tr_reallochook): Likewise.
33325 (tr_memalignhook): Likewise.
33326
33327 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33328 used and couldn't be at all thread-safe.
33329
33330 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33331
33332 * libio/freopen.c (freopen): Don't close old file descriptor
33333 before the new one is opened. Instead dup the new file descriptor
33334 to the old one after the new stream is created.
33335 * libio/freopen64.c (freopen64): Likewise.
33336 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33337 * libio/fileops.c (_IO_new_file_close_it): Handle new
33338 _IO_FLAGS2_NOCLOSE flag.
33339 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33340 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33341 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33342 _IO_FLAGS2_NOCLOSE flag.
33343 * include/unistd.h: Add hidden_proto for dup3.
33344 Define __have_dup3.
33345 * io/dup3.c: Define hidden symbol.
33346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33347
33348 [BZ #7101]
33349 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33350 when an incomplete long option is used.
33351 * posix/tst-getopt_long1.c: New file.
33352 * posix/Makefile (tests): Add tst-getopt_long1.
33353
33354 [BZ #10138]
33355 * scripts/config.guess: Update from autoconf-2.68.
33356 * scripts/config.sub: Likewise.
33357
33358 [BZ #10157]
33359 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33360 tests into ...
33361 (has_cpuclock): ...this. New function.
33362 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33363 macro here based on has_cpuclock code.
33364
33365 [BZ #10149]
33366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33367 First byte (not low byte) is now always NUL.
33368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33369
33370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33371 Use non-cancelable interfaces.
33372
33373 [BZ #9809]
33374 * locale/iso-639.def: Add entry for Sorani.
33375
33376 [BZ #11901]
33377 * include/stdlib.h: Move include protection to the right place.
33378 Define abort_msg_s. Declare __abort_msg with it.
33379 * stdlib/abort.c (__abort_msg): Adjust type.
33380 * assert/assert.c (__assert_fail_base): New function. Majority
33381 of code from __assert_fail. Allocate memory for __abort_msg with
33382 mmap.
33383 (__assert_fail): Now call __assert_fail_base.
33384 * assert/assert-perr.c: Remove bulk of implementation. Use
33385 __assert_fail_base.
33386 * include/assert.hL Declare __assert_fail_base.
33387 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33388 mmap.
33389 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33390
33391 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33392
33393 [BZ #11952]
33394 [BZ #12453]
33395 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33396 until all modules are registered in the DTV.
33397 * elf/Makefile: Add rules to build and run tst-tls19.
33398 * elf/tst-tls19.c: New file.
33399 * elf/tst-tls19mod1.c: New file.
33400 * elf/tst-tls19mod2.c: New file.
33401 * elf/tst-tls19mod3.c: New file.
33402 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33403
33404 [BZ #12083]
33405 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33406 correctly.
33407
33408 [BZ #12601]
33409 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33410 two-byte sequence errors.
33411 * iconvdata/Makefile (tests): Add bug-iconv8.
33412 * iconvdata/bug-iconv8.c: New file.
33413
33414 [BZ #12626]
33415 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33416 buf2 definition.
33417
33418 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33419
33420 [BZ #12432]
33421 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33422 (dummy_getcfa): New function.
33423 (init): Get _Unwind_GetCFA address, use dummy if not found.
33424 (backtrace_helper): In recursion check, also check whether CFA changes.
33425 (__backtrace): Completely initialize arg.
33426
33427 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33428 storing incomplete byte sequence in state object. Avoid testing for
33429 guaranteed too small input if we know there is enough data available.
33430
33431 2011-05-11 Andreas Schwab <schwab@redhat.com>
33432
33433 * Makeconfig (+link-pie): Indent.
33434 * Rules (binaries-pie): Define if $(have-fpie) and
33435 $(build-shared).
33436 (binaries-shared): Also filter out $(binaries-pie).
33437 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33438 * nscd/Makefile (others-pie): Add nscd.
33439 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33440 ($(objpfx)nscd): Remove command override.
33441 * login/Makefile (others-pie): Add pt_chown.
33442 ($(objpfx)pt_chown): Remove command override.
33443 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33444 remove command overrides.
33445
33446 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33447
33448 * libio/tst_putwc.c: Fix error messages.
33449
33450 [BZ #12724]
33451 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33452 currently writing and seek to current position when not.
33453 * libio/Makefile (tests): Add bug-fclose1.
33454 * libio/bug-fclose1.c: New file.
33455
33456 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33457
33458 [BZ #12511]
33459 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33460 don't set DF_1_NODELETE here.
33461 (do_lookup_x): When entering new entry test for copy relocation
33462 and if necessary set DF_1_NODELETE flag.
33463 * elf/tst-unique4.cc: New file.
33464 * elf/tst-unique4.h: New file.
33465 * elf/tst-unique4lib.cc: New file.
33466 * elf/Makefile: Add rules to build and run tst-unique4.
33467 Patch by Piotr Bury <pbury@goahead.com>.
33468
33469 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33470
33471 [BZ #12052]
33472 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33473
33474 [BZ #12625]
33475 * misc/mntent_r.c (addmntent): Flush the stream after the output
33476
33477 [BZ #12393]
33478 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33479 (is_trusted_path_normalize): Skip initial colon. Append slash
33480 to empty buffer. Duplicate is_trusted_path code but allow
33481 constructed patch to be prefix.
33482 (is_dst): Allow $ORIGIN followed by /.
33483 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33484 Correct testing of result of is_trusted_path_normalize
33485 (decompose_rpath): Fix warning.
33486
33487 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33488
33489 [BZ #11257]
33490 * grp/initgroups.c (internal_getgrouplist): When we found the service
33491 list through the initgroups entry in nsswitch.conf do not always
33492 continue on a successful lookup. Don't always use the
33493 __nss_group_database value if it is set.
33494 * nss/nsswitch.conf (initgroups): Change action for successful db
33495 lookup to continue for compatibility.
33496
33497 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33498
33499 [BZ #11532]
33500 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33501 and CP774 modules.
33502 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33503 and CP774 modules.
33504 * iconvdata/tst-tables.sh: Likewise.
33505 * iconvdata/cp770.c: New file.
33506 * iconvdata/cp771.c: New file.
33507 * iconvdata/cp772.c: New file.
33508 * iconvdata/cp773.c: New file.
33509 * iconvdata/cp774.c: New file.
33510 * iconvdata/testdata/CP770: New file.
33511 * iconvdata/testdata/CP770..UTF8: New file.
33512 * iconvdata/testdata/CP771: New file.
33513 * iconvdata/testdata/CP771..UTF8: New file.
33514 * iconvdata/testdata/CP772: New file.
33515 * iconvdata/testdata/CP772..UTF8: New file.
33516 * iconvdata/testdata/CP773: New file.
33517 * iconvdata/testdata/CP773..UTF8: New file.
33518 * iconvdata/testdata/CP774: New file.
33519 * iconvdata/testdata/CP774..UTF8: New file.
33520
33521 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33522 END CHARMAP line.
33523 * iconvdata/gen-8bit-gap.sh: Likewise.
33524 * iconvdata/gen-8bit.sh: Likewise.
33525
33526 * locale/iso-639.def: Add ary entry.
33527
33528 [BZ #11258]
33529 * locale/C-translit.h.in: Add U20A1 transliteration.
33530
33531 [BZ #12178]
33532 * locale/iso-639.def: Add wae entry.
33533 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33534
33535 [BZ #12545]
33536 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33537 for n.
33538
33539 [BZ #12711]
33540 * locale/C-translit.h.in: Add entry for U20B9.
33541 Patch by pravin.d.s@gmail.com.
33542
33543 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33544
33545 [BZ #12713]
33546 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33547 ENAMETOOLONG use generic getcwd.
33548 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33549 in rtld. Use *stat64.
33550 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33551 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33552 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33553 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33554 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33555 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33556 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33557 __fstatat64 macros.
33558 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33559 * dirent/rewinddir.c: Add libc_hidden_def.
33560 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33561 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33562
33563 * include/dirent.h (__alloc_dir): Add flags parameter.
33564 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33565 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33566 __alloc_dir.
33567 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33568 from fdopendir if O_CLOEXEC is already set.
33569
33570 2011-03-15 Alan Modra <amodra@gmail.com>
33571
33572 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33573 l_tls_firstbyte_offset non-zero. Save padding offset in
33574 l_tls_firstbyte_offset for later use.
33575 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33576 freeing static tls block.
33577
33578 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33579
33580 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33581 where #ifdef was intended. The intent is to prevent ARG_MAX from
33582 being defined by the kernel headers.
33583
33584 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33585
33586 [BZ #12734]
33587 * resolv/resolv.h: Define RES_NOTLDQUERY.
33588 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33589 no-tld-query and set RES_NOTLDQUERY.
33590 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33591 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33592 modern BIND to search name as TLD unless forbidden.
33593
33594 2011-05-07 Petr Baudis <pasky@suse.cz>
33595 Ulrich Drepper <drepper@gmail.com>
33596
33597 [BZ #12393]
33598 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33599 (is_trusted_path): ...to here.
33600 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33601 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33602 using is_trusted_path_normalize() in setuid scripts.
33603
33604 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33605
33606 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33607 __BEGIN/__END_DECLS.
33608
33609 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33610
33611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33612 NSS_STATUS_NOTFOUND if no record was found.
33613
33614 2011-05-05 Andreas Schwab <schwab@redhat.com>
33615
33616 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33617 (headers-not-in-tirpc): Remove rpc/netdb.h
33618 * resolv/netdb.h: Revert last change.
33619
33620 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33621
33622 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33623 circular dependency between libgcc.a and libc.a.
33624
33625 2011-05-05 Andreas Schwab <schwab@redhat.com>
33626
33627 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33628 * nis/Makefile: Don't install rpcsvc/*.
33629 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33630 instead of <rpc/types.h>.
33631 (MAXHOSTNAMELEN): Define.
33632
33633 2011-05-03 Andreas Schwab <schwab@redhat.com>
33634
33635 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33636
33637 2011-04-28 Maciej Babinski <mbabinski@google.com>
33638
33639 [BZ #12714]
33640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33641 gethostbyname4_r when IPv6 results are possible.
33642
33643 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33644
33645 [BZ #12723]
33646 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33647 _PC_PIPE_BUF handling.
33648
33649 2011-04-30 Bruno Haible <bruno@clisp.org>
33650
33651 [BZ #12717]
33652 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33653 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33654 to 'int'.
33655 * inet/getnameinfo.c (getnameinfo): Likewise.
33656
33657 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33658
33659 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33660 to groups setting in database lookup.
33661 * nss/nsswitch.conf: Add initgroups entry.
33662
33663 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33664
33665 [BZ #12685]
33666 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33667 mode string.
33668 Patch by Eric Blake <eblake@redhat.com>.
33669
33670 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33671
33672 * sunrpc/Makefile (need-export-routines): Add svc_run.
33673 (routines): Remove svc_run.
33674 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33675 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33676 * sunrpc/svc_run.c (svc_run): Likewise.
33677 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33678
33679 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33680
33681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33682 problem in reallocation in last patch.
33683
33684 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33685
33686 * sunrpc/Makefile: Move inclusion of Rules.
33687
33688 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33689
33690 * nss/nss_files/files-initgroups.c: New file.
33691 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33692 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33693 _nss_files_initgroups_dyn.
33694
33695 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33696
33697 * elf/elf.h (R_ARM_IRELATIVE): Define.
33698
33699 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33700
33701 * po/ru.po: Update from translation team.
33702
33703 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33704
33705 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33706 dependencies.
33707
33708 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33709
33710 [BZ #12653]
33711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33712 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33716
33717 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33718
33719 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33720 differing bytes.
33721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33722 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33724
33725 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33726
33727 [BZ #12420]
33728 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33729 storing it.
33730 * stdlib/bug-getcontext.c: New file.
33731 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33732
33733 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33734
33735 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33736 instructions into .machine "z9-109".
33737 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33738 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33739
33740 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33741
33742 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33743 between environment variables and auxiliary vector.
33744
33745 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33746
33747 * Makefile: Add rules to build linkobj/libc.so.
33748 * include/libc-symbols.h: Define libc_hidden_nolink.
33749 * include/rpc/auth.h: Mark functions which are to be hidden.
33750 * include/rpc/auth_des.h: Likewise.
33751 * include/rpc/auth_unix.h: Likewise.
33752 * include/rpc/clnt.h: Likewise.
33753 * include/rpc/des_crypt.h: Likewise.
33754 * include/rpc/key_prot.h: Likewise.
33755 * include/rpc/pmap_clnt.h: Likewise.
33756 * include/rpc/pmap_prot.h: Likewise.
33757 * include/rpc/pmap_rmt.h: Likewise.
33758 * include/rpc/rpc_msg.h: Likewise.
33759 * include/rpc/svc.h: Likewise.
33760 * include/rpc/svc_auth.h: Likewise.
33761 * include/rpc/xdr.h: Likewise.
33762 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33763 * nss/Makefile: Likewise.
33764 * sunrpc/Makefile: Don't install headers. Build library with normal
33765 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33766 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33767 for the compat linking library. Remove use of INTDEF/INTUSE.
33768 * sunrpc/auth_none.c: Likewise.
33769 * sunrpc/auth_unix.c: Likewise.
33770 * sunrpc/authdes_prot.c: Likewise.
33771 * sunrpc/authuxprot.c: Likewise.
33772 * sunrpc/clnt_gen.c: Likewise.
33773 * sunrpc/clnt_perr.c: Likewise.
33774 * sunrpc/clnt_raw.c: Likewise.
33775 * sunrpc/clnt_simp.c: Likewise.
33776 * sunrpc/clnt_tcp.c: Likewise.
33777 * sunrpc/clnt_udp.c: Likewise.
33778 * sunrpc/clnt_unix.c: Likewise.
33779 * sunrpc/des_crypt.c: Likewise.
33780 * sunrpc/des_soft.c: Likewise.
33781 * sunrpc/get_myaddr.c: Likewise.
33782 * sunrpc/key_call.c: Likewise.
33783 * sunrpc/key_prot.c: Likewise.
33784 * sunrpc/netname.c: Likewise.
33785 * sunrpc/pm_getmaps.c: Likewise.
33786 * sunrpc/pm_getport.c: Likewise.
33787 * sunrpc/pmap_clnt.c: Likewise.
33788 * sunrpc/pmap_prot.c: Likewise.
33789 * sunrpc/pmap_prot2.c: Likewise.
33790 * sunrpc/pmap_rmt.c: Likewise.
33791 * sunrpc/publickey.c: Likewise.
33792 * sunrpc/rpc_cmsg.c: Likewise.
33793 * sunrpc/rpc_common.c: Likewise.
33794 * sunrpc/rpc_dtable.c: Likewise.
33795 * sunrpc/rpc_prot.c: Likewise.
33796 * sunrpc/rpc_thread.c: Likewise.
33797 * sunrpc/rtime.c: Likewise.
33798 * sunrpc/svc.c: Likewise.
33799 * sunrpc/svc_auth.c: Likewise.
33800 * sunrpc/svc_authux.c: Likewise.
33801 * sunrpc/svc_raw.c: Likewise.
33802 * sunrpc/svc_run.c: Likewise.
33803 * sunrpc/svc_simple.c: Likewise.
33804 * sunrpc/svc_tcp.c: Likewise.
33805 * sunrpc/svc_udp.c: Likewise.
33806 * sunrpc/svc_unix.c: Likewise.
33807 * sunrpc/svcauth_des.c: Likewise.
33808 * sunrpc/xcrypt.c: Likewise.
33809 * sunrpc/xdr.c: Likewise.
33810 * sunrpc/xdr_array.c: Likewise.
33811 * sunrpc/xdr_float.c: Likewise.
33812 * sunrpc/xdr_intXX_t.c: Likewise.
33813 * sunrpc/xdr_mem.c: Likewise.
33814 * sunrpc/xdr_rec.c: Likewise.
33815 * sunrpc/xdr_ref.c: Likewise.
33816 * sunrpc/xdr_sizeof.c: Likewise.
33817 * sunrpc/xdr_stdio.c: Likewise.
33818
33819 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33820
33821 [BZ #12650]
33822 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33823 * sysdeps/ia64/dl-tls.h: Likewise.
33824 * sysdeps/powerpc/dl-tls.h: Likewise.
33825 * sysdeps/s390/dl-tls.h: Likewise.
33826 * sysdeps/sh/dl-tls.h: Likewise.
33827 * sysdeps/sparc/dl-tls.h: Likewise.
33828 * sysdeps/x86_64/dl-tls.h: Likewise.
33829 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33830
33831 2011-03-14 Andreas Schwab <schwab@redhat.com>
33832
33833 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33834 rpath element also skip the following colon.
33835 (expand_dynamic_string_token): Add is_path parameter and pass
33836 down to DL_DST_REQUIRED and _dl_dst_substitute.
33837 (decompose_rpath): Call expand_dynamic_string_token with
33838 non-zero is_path. Ignore empty rpaths.
33839 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33840 with zero is_path.
33841
33842 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33843
33844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33845 Make cancelable.
33846
33847 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33848
33849 [BZ #12655]
33850 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33851 Patch by Filipe David Manana <fdmanana@apache.org>.
33852
33853 2011-04-07 Andreas Schwab <schwab@redhat.com>
33854
33855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33856 Maintain aligned stack.
33857 (CHECK_RSP): Remove unused macro.
33858
33859 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33860
33861 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33863
33864 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33865
33866 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33867
33868 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33869
33870 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33871
33872 [BZ #12518]
33873 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33874 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33875 * sysdeps/x86_64/memmove.c: New file.
33876 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33877 (memcpy): Renamed to ...
33878 (__new_memcpy): This.
33879 (memcpy): Provide GLIBC_2_14 memcpy.
33880 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33881 (memcpy): Provide GLIBC_2_2_5 memcpy.
33882
33883 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33884
33885 [BZ #12631]
33886 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33887
33888 2011-03-30 Andreas Schwab <schwab@redhat.com>
33889
33890 * misc/syncfs.c: New file.
33891 * misc/Makefile (routines): Add syncfs.
33892 * posix/unistd.h: Declare syncfs.
33893 * sysdeps/unix/syscalls.list: Add syncfs.
33894
33895 2011-04-01 Andreas Schwab <schwab@redhat.com>
33896
33897 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33898 open_by_handle_at.
33899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33904 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33906
33907 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33908
33909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33911 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33916
33917 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33918 sync_file_range.c with -fexceptions.
33919 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33920 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33921 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33922 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33923 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33924 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33926 sync_file_range as cancellation point
33927 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33928 now a wrapper around __call_sync_file_range with cancellation handling.
33929 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33930 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33931 function name to __call_sync_file_range.
33932 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33933 Add call_sync_file_range.
33934
33935 2011-04-01 Andreas Schwab <schwab@redhat.com>
33936
33937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33938 bits/timex.h.
33939
33940 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33941
33942 * iconv/iconv.h: Fix typo in comment.
33943 * io/fcntl.h: Likewise.
33944 * libio/stdio.h: Likewise.
33945 * posix/spawn.h: Likewise.
33946 * posix/unistd.h: Likewise.
33947 * stdlib/stdlib.h: Likewise.
33948 * time/time.h: Likewise.
33949 * wcsmbs/wchar.h: Likewise.
33950
33951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33952 open_by_handle): Add.
33953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33954 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33955 Augment a few comments.
33956 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33961 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33962 open_by_handle.
33963
33964 * io/fcntl.h (AT_EMPTY_PATH): Define.
33965
33966 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33967
33968 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33969 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33970 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33971 to...
33972 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33973 * Versions.def: Add GLIBC_2.14.
33974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33975 Export.
33976
33977 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33978
33979 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33980 round counter.
33981 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33982
33983 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33984
33985 [BZ #12597]
33986 * string/test-strncmp.c (do_page_test): New function.
33987 (check2): Likewise.
33988 (test_main): Call check2.
33989 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33990
33991 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33992
33993 [BZ #12587]
33994 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33995 Handle cache information in CPU leaf 4.
33996 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33997
33998 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33999
34000 [BZ #12583]
34001 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34002 character representation.
34003 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34004
34005 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34006
34007 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34008 END(__isnan) to END(__isnanf) to match function entry point/label
34009 EALIGN(__isnanf,...).
34010
34011 2011-03-10 Jakub Jelinek <jakub@redhat.com>
34012
34013 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34014
34015 2011-03-10 Ulrich Drepper <drepper@gmail.com>
34016
34017 [BZ #12510]
34018 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34019 copy from the symbol referenced in the relocation to initialize the
34020 used variable.
34021 Patch by Piotr Bury <pbury@goahead.com>.
34022 * elf/Makefile: Add rules to build and tst-unique3.
34023 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34024 * elf/tst-unique3.cc: New file.
34025 * elf/tst-unique3.h: New file.
34026 * elf/tst-unique3lib.cc: New file.
34027 * elf/tst-unique3lib2.cc: New file.
34028
34029 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34030
34031 2011-03-10 Mike Frysinger <vapier@gentoo.org>
34032
34033 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34034 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34035 to _start.
34036
34037 2011-03-06 Ulrich Drepper <drepper@gmail.com>
34038
34039 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34040 to-be-loaded object along a path to loader is ld.so.
34041
34042 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34043 Ulrich Drepper <drepper@gmail.com>
34044
34045 * sysdeps/x86_64/memset.S: After aligning destination, code
34046 branches to different locations depending on the value of
34047 misalignment, when multiarch is enabled. Fix this.
34048
34049 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34050
34051 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34052 Set _x86_64_preferred_memory_instruction for AMD processsors.
34053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34054 Set bit_Prefer_SSE_for_memop for AMD processors.
34055
34056 2011-03-04 Ulrich Drepper <drepper@gmail.com>
34057
34058 * libio/fmemopen.c (fmemopen): Optimize a bit.
34059
34060 2011-03-03 Andreas Schwab <schwab@redhat.com>
34061
34062 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34063
34064 2011-03-03 Roland McGrath <roland@redhat.com>
34065
34066 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34067
34068 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34069
34070 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34071 __bzero_ultra1 instead of __memset_ultra1.
34072
34073 2011-02-23 Andreas Schwab <schwab@redhat.com>
34074 Ulrich Drepper <drepper@gmail.com>
34075
34076 [BZ #12509]
34077 * include/link.h (struct link_map): Add l_orig_initfini.
34078 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34079 returning unsuccessfully.
34080 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34081 close of a file loaded at startup, restore the original l_initfini
34082 list.
34083 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34084 list, store the pointer.
34085 * elf/Makefile ($(objpfx)noload-mem): New rule.
34086 (noload-ENV): Define.
34087 (tests): Add $(objpfx)noload-mem.
34088 * elf/noload.c: Include <memcheck.h>.
34089 (main): Call mtrace. Close all opened handles.
34090
34091 2011-02-17 Andreas Schwab <schwab@redhat.com>
34092
34093 [BZ #12454]
34094 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34095 dependencies are missing.
34096
34097 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34098
34099 Fix __if_freereq crash: Unlike the generic version which uses free,
34100 Hurd needs munmap.
34101 * sysdeps/mach/hurd/ifreq.h: New file.
34102
34103 2011-01-27 Petr Baudis <pasky@suse.cz>
34104 Ulrich Drepper <drepper@gmail.com>
34105
34106 [BZ 12445]#
34107 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34108 to extend_alloca().
34109 * stdio-common/bug23.c: New file.
34110 * stdio-common/Makefile (tests): Add bug23.
34111
34112 2010-09-28 Andreas Schwab <schwab@redhat.com>
34113 Ulrich Drepper <drepper@gmail.com>
34114
34115 [BZ #12489]
34116 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34117 before performing relro protection. At old place add assertion
34118 to make sure nothing changed.
34119
34120 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34121 Glauber de Oliveira Costa <glommer@gmail.com>
34122
34123 * elf/elf.h: Add new ARM TLS relocs.
34124
34125 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34126
34127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34128 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34129 cast from r3.
34130 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34131 'tests' variable.
34132 * sysdeps/wordsize-64/tst-writev.c: New file.
34133
34134 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34135
34136 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34137 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34138 insns in _dl_start to prevent a TOC reference before relocs are
34139 resolved.
34140
34141 2011-02-15 Ulrich Drepper <drepper@gmail.com>
34142
34143 [BZ #12469]
34144 * Makeconfig: Remove RANLIB definition.
34145 * Makerules: Don't use RANLIB.
34146 * aclocal.m4: Remove ranlib test.
34147 * configure.in: No need to check for ranlib.
34148 * elf/rtld-Rules: Don't use RANLIB.
34149
34150 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34151
34152 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34153 protection macro.
34154 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34155 inclusion protection macro.
34156
34157 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34158 SIGRTMIN and SIGRTMAX and print information in that case only when
34159 SIGRTMIN is defined.
34160
34161 2011-02-11 Jakub Jelinek <jakub@redhat.com>
34162
34163 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34164 arginfo fn returning -1.
34165
34166 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34167 and thousands string is zero terminated.
34168
34169 2011-02-03 Andreas Schwab <schwab@redhat.com>
34170
34171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34172 sysdeps/unix/sysv/linux/bits/socket.h.
34173
34174 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34175
34176 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34177 (__CPU_COUNT): Remove old macros.
34178 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34179 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34180 (__CPU_ALLOC, __CPU_FREE): Add macros.
34181 (__sched_cpualloc, __sched_cpufree): Add declarations.
34182
34183 2011-02-05 Ulrich Drepper <drepper@gmail.com>
34184
34185 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34186 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34187 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34188 (readdhstai): Return value of addhstaiX call.
34189 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34190 (addgrbyX): Return value returned by cache_addgr.
34191 (readdgrbyname): Return value returned by addgrbyX.
34192 (readdgrbygid): Likewise.
34193 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34194 (addpwbyX): Return value returned by cache_addpw.
34195 (readdpwbyname): Return value returned by addhstbyX.
34196 (readdpwbyuid): Likewise.
34197 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34198 (addservbyX): Return value returned by cache_addserv.
34199 (readdservbyname): Return value returned by addservbyX:
34200 (readdservbyport): Likewise.
34201 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34202 (addhstbyX): Return value returned by cache_addhst.
34203 (readdhstbyname): Return value returned by addhstbyX.
34204 (readdhstbyaddr): Likewise.
34205 (readdhstbynamev6): Likewise.
34206 (readdhstbyaddrv6): Likewise.
34207 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34208 (readdinitgroups): Return value returned by addinitgroupsX.
34209 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34210 (prune_cache): Keep track of timeout value of re-added entries.
34211 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34212 * nscd/nscd.h: Adjust prototypes of readd* functions.
34213
34214 2011-02-04 Roland McGrath <roland@redhat.com>
34215
34216 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34217 (nis_stats): Likewise.
34218 * nis/nis_modify.c (nis_modify): Likewise.
34219 * nis/nis_remove.c (nis_remove): Likewise.
34220 * nis/nis_add.c (nis_add): Likewise.
34221
34222 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34223
34224 * posix/fnmatch_loop.c: Add some consts.
34225
34226 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34227
34228 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34229
34230 [BZ #12460]
34231 * config.make.in (config-cflags-novzeroupper): Define.
34232 * configure.in: Substitute libc_cv_cc_novzeroupper.
34233 * elf/Makefile (AVX-CFLAGS): Define.
34234 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34235 (CFLAGS-tst-auditmod4a.c): Likewise.
34236 (CFLAGS-tst-auditmod4b.c): Likewise.
34237 (CFLAGS-tst-auditmod6b.c): Likewise.
34238 (CFLAGS-tst-auditmod6c.c): Likewise.
34239 (CFLAGS-tst-auditmod7b.c): Likewise.
34240 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34241
34242 2011-02-02 Ulrich Drepper <drepper@gmail.com>
34243
34244 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34245 function to the callback.
34246 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34247
34248 2011-02-02 Andreas Schwab <schwab@redhat.com>
34249
34250 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34251 of errno.
34252
34253 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34254
34255 [BZ #11724]
34256 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34257 of constructors.
34258 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34259 of destructors.
34260 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34261
34262 [BZ #11724]
34263 * elf/Makefile: Add rules to build and run new test.
34264 * elf/tst-initorder.c: New file.
34265 * elf/tst-initorder.exp: New file.
34266 * elf/tst-initordera1.c: New file.
34267 * elf/tst-initordera2.c: New file.
34268 * elf/tst-initordera3.c: New file.
34269 * elf/tst-initordera4.c: New file.
34270 * elf/tst-initorderb1.c: New file.
34271 * elf/tst-initorderb2.c: New file.
34272 * elf/tst-order-a1.c: New file.
34273 * elf/tst-order-a2.c: New file.
34274 * elf/tst-order-a3.c: New file.
34275 * elf/tst-order-a4.c: New file.
34276 * elf/tst-order-b1.c: New file.
34277 * elf/tst-order-b2.c: New file.
34278 * elf/tst-order-main.c: New file.
34279 New test case by George Gensure <werkt0@gmail.com>.
34280
34281 2010-10-01 Andreas Schwab <schwab@redhat.com>
34282
34283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34284 decoding ACE if AI_CANONIDN.
34285
34286 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34287
34288 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34289
34290 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34291
34292 * version.h (RELEASE): Bump for 2.13 release.
34293 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34294
34295 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34296
34297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34298 MADV_NOHUGEPAGE.
34299 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34300 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34301 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34302 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34303 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34304 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34305
34306 * posix/getconf.c: Update copyright year.
34307 * catgets/gencat.c: Likewise.
34308 * csu/version.c: Likewise.
34309 * debug/catchsegv.sh: Likewise.
34310 * debug/xtrace.sh: Likewise.
34311 * elf/ldconfig.c: Likewise.
34312 * elf/ldd.bash.in: Likewise.
34313 * elf/sprof.c (print_version): Likewise.
34314 * iconv/iconv_prog.c: Likewise.
34315 * iconv/iconvconfig.c: Likewise.
34316 * locale/programs/locale.c: Likewise.
34317 * locale/programs/localedef.c: Likewise.
34318 * malloc/memusage.sh: Likewise.
34319 * malloc/mtrace.pl: Likewise.
34320 * nscd/nscd.c (print_version): Likewise.
34321 * nss/getent.c: Likewise.
34322
34323 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34324 PF_CAIF, and PF_ALG.
34325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34326
34327 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34328
34329 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34330 (modules-names): Use them.
34331 (ifunc-test-modules, ifunc-pie-tests): Define.
34332 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34333 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34334 (test-extras): Likewise.
34335 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34336 $(compile-command.c).
34337 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34338 (all-built-dso): Define.
34339 (check-textrel.out, check-execstack.out): Depend on it.
34340
34341 * configure.in: Don't override --enable-multi-arch.
34342
34343 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34344
34345 [BZ #6812]
34346 * nscd/hstcache.c (tryagain): Define.
34347 (cache_addhst): Return tryagain not notfound for temporary errors.
34348 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34349 failed.
34350
34351 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34352
34353 [BZ #10563]
34354 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34355 to make the syscall.
34356 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34357
34358 [BZ #12378]
34359 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34360 and fall back to matching as normal character if the string ends before
34361 the matching ']' is found. This is what POSIX requires.
34362 * posix/testfnm.c: Adjust test result.
34363 * posix/globtest.sh: Adjust test result. Add new test.
34364 * posix/tst-fnmatch.input: Likewise.
34365 * posix/tst-fnmatch2.c: Add new test.
34366
34367 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34368
34369 * elf/Makefile (check-execstack): Revert last change. Depend on
34370 check-execstack.h.
34371 (check-execstack.h): New target.
34372 (generated): Add check-execstack.h.
34373 * elf/check-execstack.c: Include "check-execstack.h".
34374 (main): Revert last change.
34375 (handle_file): Return zero if GNU_STACK is absent and
34376 DEFAULT_STACK_PERMS doesn't include PF_X.
34377
34378 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34379
34380 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34381 in child fails because the descriptor is already closed.
34382 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34383 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34384 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34385
34386 [BZ #12397]
34387 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34388 syscall.
34389
34390 [BZ #10484]
34391 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34392 temporary buffer used to handle multi lookups locally.
34393 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34394
34395 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34396
34397 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34398 loader is ld.so.
34399
34400 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34401
34402 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34403 alignment for SSE2.
34404
34405 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34406
34407 [BZ #12394]
34408 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34409 characters. When rounding increased number of integer digits recompute
34410 number of groups.
34411 * stdio-common/tst-grouping.c: New file.
34412 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34413
34414 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34415
34416 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34417 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34418
34419 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34420 void.
34421 * bits/select.h: Likewise.
34422
34423 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34424
34425 * po/ja.po: Update from translation team.
34426
34427 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34428
34429 [BZ #11155]
34430 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34431 implementation just like for lxstat, fxstatat, et al.
34432
34433 2010-12-27 Jim Meyering <meyering@redhat.com>
34434
34435 [BZ #12348]
34436 * posix/regexec.c (build_trtable): Return failure indication upon
34437 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34438
34439 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34440
34441 [BZ #12201]
34442 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34443 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34444 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34445 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34446
34447 [BZ #12207]
34448 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34449
34450 [BZ #12204]
34451 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34452 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34453
34454 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34455
34456 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34457 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34458 script has SORT_BY_INIT_PRIORITY.
34459 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34460 NO_CTORS_DTORS_SECTIONS is defined.
34461 * elf/soinit.c: Likewise.
34462 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34463 NO_CTORS_DTORS_SECTIONS is defined.
34464 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34465 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34466 * sysdeps/sh/init-first.c: Likewise.
34467 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34468
34469 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34470
34471 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34472 always use the slow path.
34473
34474 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34475
34476 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34477 similar rule which adds the sysdep directories to the header search in
34478 order to pick up the correct platform stackinfo.h.
34479 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34480 perform test if it is, otherwise return successfully without testing.
34481 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34482 DEFAULT_STACK_PERMS define in stackinfo.h.
34483 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34484 defined in stackinfo.h.
34485 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34486 DEFAULT_STACK_PERMS defined in stackinfo.h.
34487 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34488 * sysdeps/ia64/stackinfo.h: Likewise.
34489 * sysdeps/s390/stackinfo.h: Likewise.
34490 * sysdeps/sh/stackinfo.h: Likewise.
34491 * sysdeps/sparc/stackinfo.h: Likewise.
34492 * sysdeps/x86_64/stackinfo.h: Likewise.
34493 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34494 PF_X for powerpc64. Retain PF_X for powerpc32.
34495
34496 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34497
34498 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34499 accurately.
34500 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34501 GETDENTS_64BIT_ALIGNED.
34502
34503 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34504
34505 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34506
34507 2010-12-10 Andreas Schwab <schwab@redhat.com>
34508
34509 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34510 _GNU_SOURCE.
34511
34512 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34513 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34514 Remove __restrict.
34515 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34516 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34517
34518 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34519
34520 [BZ #11655]
34521 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34522 are initialized.
34523
34524 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34525
34526 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34527
34528 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34529
34530 * po/it.po: Update from translation team.
34531
34532 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34533
34534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34535 unused codes.
34536
34537 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34538
34539 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34540
34541 2010-11-24 Andreas Schwab <schwab@redhat.com>
34542
34543 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34544 specially.
34545 (gaih_getanswer_slice): Likewise.
34546
34547 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34548
34549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34550
34551 2010-05-31 Petr Baudis <pasky@suse.cz>
34552
34553 [BZ #11149]
34554 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34555 silently even in the chroot mode.
34556
34557 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34558
34559 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34560 last patch a bit. Pretty printing
34561
34562 2010-05-31 Petr Baudis <pasky@suse.cz>
34563
34564 [BZ #10085]
34565 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34566 initialization of skip_initgroups_dyn.
34567
34568 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34569
34570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34572
34573 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34574
34575 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34576
34577 2010-11-11 Andreas Schwab <schwab@redhat.com>
34578
34579 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34580 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34581 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34582 ($(objpfx)tst-fnmatch-mem): New rule.
34583 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34584 * posix/tst-fnmatch.c (main): Call mtrace.
34585
34586 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34587
34588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34589 Support Intel processor model 6 and model 0x2c.
34590
34591 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34592
34593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34594 signed comparison.
34595
34596 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34597
34598 [BZ #12205]
34599 * string/test-strncasecmp.c (check_result): New function.
34600 (do_one_test): Use it.
34601 (check1): New function.
34602 (test_main): Use it.
34603 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34604 Support strcasecmp and strncasecmp.
34605
34606 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34607
34608 [BZ #12194]
34609 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34611
34612 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34613
34614 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34615 IFUNC support.
34616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34617 memset-x86-64.
34618 * sysdeps/x86_64/multiarch/bzero.S: New file.
34619 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34620 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34621 * sysdeps/x86_64/multiarch/memset.S: New file.
34622 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34624 Set bit_Prefer_SSE_for_memop for Intel processors.
34625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34626 Define.
34627 (index_Prefer_SSE_for_memop): Define.
34628 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34629
34630 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34631
34632 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34633 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34634
34635 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34636
34637 [BZ #12191]
34638 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34639 (__x86_64_raw_data_cache_size_half): Likewise.
34640 (__x86_64_raw_shared_cache_size): Likewise.
34641 (__x86_64_raw_shared_cache_size_half): Likewise.
34642
34643 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34644 (__x86_64_raw_data_cache_size_half): Likewise.
34645 (__x86_64_raw_shared_cache_size): Likewise.
34646 (__x86_64_raw_shared_cache_size_half): Likewise.
34647 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34648 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34649 and __x86_64_raw_shared_cache_size_half. Round
34650 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34651 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34652 to multiple of 256 bytes.
34653
34654 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34655
34656 [BZ #12167]
34657 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34658 of inacessible symlinks. Verify result of symlink before returning it.
34659 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34660 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34661
34662 2010-10-28 Erich Ritz <erichritz@gmail.com>
34663
34664 * math/math.h (isinf): Fix typo in comment.
34665
34666 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34667
34668 * po/da.po: Update from translation team.
34669
34670 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34671
34672 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34673 is added to the list.
34674
34675 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34676 Ulrich Drepper <drepper@gmail.com>
34677
34678 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34679 the global list here. Move code to...
34680 (_dl_add_to_namespace_list): ...here. New function.
34681 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34682 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34683 * elf/dl-load.c (lose): Don't remove the element from the list.
34684 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34685 (_dl_map_object): Likewise.
34686
34687 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34688
34689 [BZ #12159]
34690 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34691 into all bytes of SSE register.
34692 Patch by Richard Li <richardpku@gmail.com>.
34693
34694 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34695
34696 [BZ #12140]
34697 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34698 perturbing.
34699
34700 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34701
34702 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34703 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34704 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34705 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34707 submachine.
34708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34709
34710 2010-10-22 Andreas Schwab <schwab@redhat.com>
34711
34712 * include/dlfcn.h (__RTLD_SECURE): Define.
34713 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34714 mode & __RTLD_SECURE instead.
34715 (open_path): Rename preloaded parameter to secure.
34716 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34717 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34718 * elf/dl-deps.c (openaux): Likewise.
34719 * elf/rtld.c (struct map_args): Remove is_preloaded.
34720 (map_doit): Don't use it.
34721 (dl_main): Likewise.
34722 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34723 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34724
34725 2010-09-09 Andreas Schwab <schwab@redhat.com>
34726
34727 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34728 (sysd-rules-targets): Remove duplicates.
34729 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34730 rtld-%.$o dependency.
34731
34732 2010-10-18 Andreas Schwab <schwab@redhat.com>
34733
34734 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34735 _dl_map_object do it.
34736
34737 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34738
34739 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34740 fast fma builtins, define the macros in the C99 standard.
34741 (FP_FAST_FMAF): Likewise.
34742 (FP_FAST_FMAL): Likewise.
34743 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34744
34745 * bits/mathdef.h: Update copyright year.
34746 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34747
34748 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34749
34750 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34751 builtins, define the macros in the C99 standard.
34752 (FP_FAST_FMAF): Likewise.
34753 (FP_FAST_FMAL): Likewise.
34754 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34755 multiply/add.
34756 (FP_FAST_FMAF): Likewise.
34757
34758 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34759
34760 [BZ #3268]
34761 * math/libm-test.inc (fma_test): Some new testcases.
34762 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34764 y and infinite z. Do multiplication by C already in long double.
34765 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34767 y and infinite z. Do bitwise or of inexact bit into u.d.
34768 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34769 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34770 * sysdeps/i386/fpu/s_fma.S: Removed.
34771 * sysdeps/i386/fpu/s_fmal.S: Removed.
34772
34773 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34774
34775 [BZ #3268]
34776 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34778 computation is not scheduled after fetestexcept. Fix value
34779 of minimum denormal long double.
34780
34781 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34782
34783 [BZ #3268]
34784 * math/libm-test.inc (fma_test): Add some more tests.
34785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34786 correctly.
34787
34788 2010-10-15 Andreas Schwab <schwab@redhat.com>
34789
34790 * scripts/data/localplt-s390-linux-gnu.data: New file.
34791 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34792
34793 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34794
34795 [BZ #3268]
34796 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34797 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34798 instead of dbl-64.
34799 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34800 inlines.
34801 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34803 if one of x and y is very large and the other is subnormal.
34804 * sysdeps/s390/fpu/s_fmaf.c: New file.
34805 * sysdeps/s390/fpu/s_fma.c: New file.
34806 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34807 * sysdeps/powerpc/fpu/s_fma.S: New file.
34808 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34809 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34810 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34811
34812 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34813
34814 [BZ #3268]
34815 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34816 fma tests.
34817 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34818 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34819 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34820 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34821 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34822 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34823 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34824
34825 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34826
34827 [BZ #12078]
34828 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34829 * posix/bug-regex31.input: Add test case.
34830
34831 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34832
34833 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34834 * posix/bug-regex31.input: New file.
34835
34836 [BZ #12078]
34837 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34838 (parse_sub_exp): Fix last change, use postorder.
34839
34840 * posix/bug-regex31.c: New file.
34841 * posix/Makefile: Add rules to build and run bug-regex31.
34842
34843 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34844
34845 [BZ #12078]
34846 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34847
34848 [BZ #12108]
34849 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34850 to have entries in sys_siglist.
34851
34852 [BZ #12093]
34853 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34854 be NULL.
34855
34856 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34857
34858 [BZ #3268]
34859 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34860 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34861 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34862 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34863 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34864 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34865 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34866 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34867 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34868 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34869 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34870 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34871 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34872 * math/ftestexcept.c (fetestexcept): Likewise.
34873 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34874 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34875 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34876 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34877 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34878 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34879 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34880
34881 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34882
34883 [BZ #12107]
34884 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34885 newline.
34886
34887 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34888
34889 * string/bug-strstr1.c: New file.
34890 * string/Makefile: Add rules to build and run bug-strstr1.
34891
34892 2010-10-05 Eric Blake <eblake@redhat.com>
34893
34894 [BZ #12092]
34895 * string/str-two-way.h (two_way_long_needle): Always clear memory
34896 when skipping input due to the shift table.
34897
34898 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34899
34900 [BZ #12005]
34901 * malloc/mcheck.c: Handle large requests.
34902
34903 [BZ #12077]
34904 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34905 for strncmp and strncasecmp.
34906 * string/stratcliff.c: Add tests for strcmp and strncmp.
34907 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34908
34909 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34910
34911 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34912 __set_fpscr.
34913
34914 2010-09-30 Andreas Jaeger <aj@suse.de>
34915
34916 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34917 (CGROUP_SUPER_MAGIC): Define.
34918 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34919 Handle btrfs and cgroup file systems.
34920 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34921 Likewise.
34922
34923 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34924
34925 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34926 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34927
34928 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34929
34930 [BZ #12067]
34931 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34932 trying to locate the ELF header.
34933
34934 2010-09-27 Andreas Schwab <schwab@redhat.com>
34935
34936 [BZ #11611]
34937 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34938 Mask out sign-bit copies when constructing f_fsid.
34939
34940 2010-09-24 Petr Baudis <pasky@suse.cz>
34941
34942 * debug/stack_chk_fail_local.c: Add missing licence exception.
34943 * debug/warning-nop.c: Likewise.
34944
34945 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34946
34947 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34948 implementing getdents64 using getdents syscall, set d_type if
34949 __ASSUME_GETDENTS32_D_TYPE.
34950
34951 2010-09-16 Andreas Schwab <schwab@redhat.com>
34952
34953 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34954 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34955
34956 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34957
34958 [BZ #12037]
34959 * posix/unistd.h: Undo change of feature selection for ftruncate from
34960 2010-01-11.
34961
34962 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34963
34964 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34965 detection.
34966
34967 2010-09-20 Andreas Schwab <schwab@redhat.com>
34968
34969 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34970 fanotify_mark.
34971 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34972
34973 2010-09-14 Andreas Schwab <schwab@redhat.com>
34974
34975 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34976 variables after CHECK_SP call.
34977 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34978
34979 2010-09-13 Andreas Schwab <schwab@redhat.com>
34980 Ulrich Drepper <drepper@redhat.com>
34981
34982 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34983 re-relocationg ld.so.
34984 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34985 _dl_init_paths call.
34986 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34987 here anymore.
34988
34989 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34990
34991 * resolv/res_init.c (__res_vinit): Count the default server we added.
34992
34993 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34994 Ulrich Drepper <drepper@redhat.com>
34995
34996 [BZ #11968]
34997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34998 (____longjmp_chk): Use %ebx for saving value across system call.
34999 Add unwind info.
35000
35001 2010-09-06 Andreas Schwab <schwab@redhat.com>
35002
35003 * manual/Makefile: Don't mix pattern rules with normal rules.
35004
35005 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35006
35007 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35008 operation.
35009 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35010 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35011 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35012 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35014 Likewise.
35015
35016 2010-09-04 Ulrich Drepper <drepper@redhat.com>
35017
35018 [BZ #11979]
35019 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35020 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35021
35022 2010-09-02 Ulrich Drepper <drepper@redhat.com>
35023
35024 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35025 * sysdeps/x86_64/addmul_1.S: Likewise.
35026 * sysdeps/x86_64/lshift.S: Likewise.
35027 * sysdeps/x86_64/mul_1.S: Likewise.
35028 * sysdeps/x86_64/rshift.S: Likewise.
35029 * sysdeps/x86_64/sub_n.S: Likewise.
35030 * sysdeps/x86_64/submul_1.S: Likewise.
35031
35032 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35033
35034 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35035 Define __sched_param instead of SCHED_* and sched_param when
35036 <bits/sched.h> is included with __need_schedparam defined.
35037 * bits/sched.h [__need_schedparam]
35038 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35039 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35040 (__defined_schedparam): Define to 1.
35041 (__sched_param): New structure, identical to sched_param.
35042 (__need_schedparam): Undefine.
35043
35044 2010-08-31 Mike Frysinger <vapier@gentoo.org>
35045
35046 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35047 (epoll_create1): Declare.
35048
35049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35050
35051 2010-08-31 Andreas Schwab <schwab@redhat.com>
35052
35053 [BZ #7066]
35054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35055 shifting retval into place.
35056
35057 2010-09-01 Ulrich Drepper <drepper@redhat.com>
35058
35059 * nis/rpcsvc/nis.h: Update copyright notice.
35060 * nis/rpcsvc/nis.x: Likewise.
35061 * nis/rpcsvc/nis_callback.h: Likewise.
35062 * nis/rpcsvc/nis_callback.x: Likewise.
35063 * nis/rpcsvc/nis_object.x: Likewise.
35064 * nis/rpcsvc/nis_tags.h: Likewise.
35065 * nis/rpcsvc/yp.h: Likewise.
35066 * nis/rpcsvc/yp.x: Likewise.
35067 * nis/rpcsvc/ypupd.h: Likewise.
35068 * nis/yp_xdr.c: Likewise.
35069 * nis/ypupdate_xdr.c: Likewise.
35070
35071 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35072 mainly the body of pmap_getport. Add parameters to specify timeouts.
35073 (pmap_getport): Use __libc_rpc_getport.
35074 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35075 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35076 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35077
35078 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35079
35080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35081 fanotify_mark.
35082
35083 2010-08-27 Roland McGrath <roland@redhat.com>
35084
35085 * sysdeps/i386/i686/multiarch/Makefile
35086 (CFLAGS-varshift.c): New variable.
35087
35088 2010-08-27 Ulrich Drepper <drepper@redhat.com>
35089
35090 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35091 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35092
35093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35094
35095 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35096
35097 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35098
35099 * sysdeps/x86_64/strlen.S: Unroll the loop.
35100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35101 strlen-sse2 strlen-sse2-bsf.
35102 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35103 __strlen_no_bsf if bit_Slow_BSF is set.
35104 (__strlen_sse42): Removed.
35105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35106 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35107
35108 2010-08-25 Roland McGrath <roland@redhat.com>
35109
35110 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35111 * sysdeps/x86_64/multiarch/varshift.c: New file.
35112 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35113 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35114 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35115 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35116
35117 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35118
35119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35120 strlen-sse2 strlen-sse2-bsf.
35121 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35122 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35123 (__strlen_sse2): Removed.
35124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35127 bit_Slow_BSF for Atom.
35128 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35129 (index_Slow_BSF): Define.
35130 (HAS_SLOW_BSF): Define.
35131
35132 2010-08-25 Ulrich Drepper <drepper@redhat.com>
35133
35134 [BZ #10851]
35135 * resolv/res_init.c (__res_vinit): When no server address at all
35136 is given default to loopback.
35137
35138 2010-08-24 Roland McGrath <roland@redhat.com>
35139
35140 * configure.in: Remove config-name.h generation.
35141 * configure: Regenerated.
35142 * config-name.in: File removed.
35143 * scripts/config-uname.sh: New file.
35144 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35145 ($(objdir)config-name.h): New target.
35146
35147 * sunrpc/rpc_parse.h: Avoid nested comment.
35148
35149 2010-08-24 Richard Henderson <rth@redhat.com>
35150 Ulrich Drepper <drepper@redhat.com>
35151 H.J. Lu <hongjiu.lu@intel.com>
35152
35153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35155 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35156 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35157 _mm_alignr_epi8 with _mm_loadu_si128.
35158 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35159 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35160 (__m128i_shift_right): Removed.
35161 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35162 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35163 * sysdeps/x86_64/multiarch/varshift.h: New file.
35164 * sysdeps/x86_64/multiarch/varshift.S: New file.
35165
35166 2010-08-21 Mike Frysinger <vapier@gentoo.org>
35167
35168 * configure.in: Move assembler checks to before sysdep dir checking.
35169
35170 2010-08-20 Petr Baudis <pasky@suse.cz>
35171
35172 * LICENSES: Sync the sunrpc license.
35173
35174 2010-08-19 Ulrich Drepper <drepper@redhat.com>
35175
35176 * sunrpc/auth_des.c: Update copyright notice once again.
35177 * sunrpc/auth_none.c: Likewise.
35178 * sunrpc/auth_unix.c: Likewise.
35179 * sunrpc/authdes_prot.c: Likewise.
35180 * sunrpc/authuxprot.c: Likewise.
35181 * sunrpc/bindrsvprt.c: Likewise.
35182 * sunrpc/clnt_gen.c: Likewise.
35183 * sunrpc/clnt_perr.c: Likewise.
35184 * sunrpc/clnt_raw.c: Likewise.
35185 * sunrpc/clnt_simp.c: Likewise.
35186 * sunrpc/clnt_tcp.c: Likewise.
35187 * sunrpc/clnt_udp.c: Likewise.
35188 * sunrpc/clnt_unix.c: Likewise.
35189 * sunrpc/des_crypt.c: Likewise.
35190 * sunrpc/des_soft.c: Likewise.
35191 * sunrpc/get_myaddr.c: Likewise.
35192 * sunrpc/getrpcport.c: Likewise.
35193 * sunrpc/key_call.c: Likewise.
35194 * sunrpc/key_prot.c: Likewise.
35195 * sunrpc/openchild.c: Likewise.
35196 * sunrpc/pm_getmaps.c: Likewise.
35197 * sunrpc/pm_getport.c: Likewise.
35198 * sunrpc/pmap_clnt.c: Likewise.
35199 * sunrpc/pmap_prot.c: Likewise.
35200 * sunrpc/pmap_prot2.c: Likewise.
35201 * sunrpc/pmap_rmt.c: Likewise.
35202 * sunrpc/rpc/auth.h: Likewise.
35203 * sunrpc/rpc/auth_unix.h: Likewise.
35204 * sunrpc/rpc/clnt.h: Likewise.
35205 * sunrpc/rpc/des_crypt.h: Likewise.
35206 * sunrpc/rpc/key_prot.h: Likewise.
35207 * sunrpc/rpc/netdb.h: Likewise.
35208 * sunrpc/rpc/pmap_clnt.h: Likewise.
35209 * sunrpc/rpc/pmap_prot.h: Likewise.
35210 * sunrpc/rpc/pmap_rmt.h: Likewise.
35211 * sunrpc/rpc/rpc.h: Likewise.
35212 * sunrpc/rpc/rpc_des.h: Likewise.
35213 * sunrpc/rpc/rpc_msg.h: Likewise.
35214 * sunrpc/rpc/svc.h: Likewise.
35215 * sunrpc/rpc/svc_auth.h: Likewise.
35216 * sunrpc/rpc/types.h: Likewise.
35217 * sunrpc/rpc/xdr.h: Likewise.
35218 * sunrpc/rpc_clntout.c: Likewise.
35219 * sunrpc/rpc_cmsg.c: Likewise.
35220 * sunrpc/rpc_common.c: Likewise.
35221 * sunrpc/rpc_cout.c: Likewise.
35222 * sunrpc/rpc_dtable.c: Likewise.
35223 * sunrpc/rpc_hout.c: Likewise.
35224 * sunrpc/rpc_main.c: Likewise.
35225 * sunrpc/rpc_parse.c: Likewise.
35226 * sunrpc/rpc_parse.h: Likewise.
35227 * sunrpc/rpc_prot.c: Likewise.
35228 * sunrpc/rpc_sample.c: Likewise.
35229 * sunrpc/rpc_scan.c: Likewise.
35230 * sunrpc/rpc_scan.h: Likewise.
35231 * sunrpc/rpc_svcout.c: Likewise.
35232 * sunrpc/rpc_tblout.c: Likewise.
35233 * sunrpc/rpc_util.c: Likewise.
35234 * sunrpc/rpc_util.h: Likewise.
35235 * sunrpc/rpcinfo.c: Likewise.
35236 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35237 * sunrpc/rpcsvc/key_prot.x: Likewise.
35238 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35239 * sunrpc/rpcsvc/mount.x: Likewise.
35240 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35241 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35242 * sunrpc/rpcsvc/rex.x: Likewise.
35243 * sunrpc/rpcsvc/rstat.x: Likewise.
35244 * sunrpc/rpcsvc/rusers.x: Likewise.
35245 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35246 * sunrpc/rpcsvc/spray.x: Likewise.
35247 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35248 * sunrpc/rtime.c: Likewise.
35249 * sunrpc/svc.c: Likewise.
35250 * sunrpc/svc_auth.c: Likewise.
35251 * sunrpc/svc_authux.c: Likewise.
35252 * sunrpc/svc_raw.c: Likewise.
35253 * sunrpc/svc_run.c: Likewise.
35254 * sunrpc/svc_simple.c: Likewise.
35255 * sunrpc/svc_tcp.c: Likewise.
35256 * sunrpc/svc_udp.c: Likewise.
35257 * sunrpc/svc_unix.c: Likewise.
35258 * sunrpc/svcauth_des.c: Likewise.
35259 * sunrpc/xcrypt.c: Likewise.
35260 * sunrpc/xdr.c: Likewise.
35261 * sunrpc/xdr_array.c: Likewise.
35262 * sunrpc/xdr_float.c: Likewise.
35263 * sunrpc/xdr_mem.c: Likewise.
35264 * sunrpc/xdr_rec.c: Likewise.
35265 * sunrpc/xdr_ref.c: Likewise.
35266 * sunrpc/xdr_sizeof.c: Likewise.
35267 * sunrpc/xdr_stdio.c: Likewise.
35268
35269 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35270 handling.
35271
35272 2010-08-19 Andreas Schwab <schwab@redhat.com>
35273
35274 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35275
35276 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35277
35278 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35280 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35281 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35283 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35284 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35285 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35287 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35288 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35289 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35290 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35291 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35292
35293 2010-07-26 Anton Blanchard <anton@samba.org>
35294
35295 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35296 * malloc/arena.c (heap_trim): Likewise.
35297
35298 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35299
35300 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35301 here. Not...
35302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35303 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35304
35305 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35306
35307 * sysdeps/i386/elf/Makefile: New file.
35308
35309 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35310
35311 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35312 from fanotify_init.
35313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35315
35316 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35317
35318 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35319 of strncasecmp_l.
35320 * sysdeps/multiarch/strcmp.S: Likewise.
35321
35322 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35323
35324 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35325 strncase_l-nonascii.
35326 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35327 Add strncase_l-ssse3.
35328 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35329 * sysdeps/x86_64/strcmp.S: Likewise.
35330 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35331 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35332 * sysdeps/x86_64/strncase.S: New file.
35333 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35334 * sysdeps/x86_64/strncase_l.S: New file.
35335 * string/Makefile (strop-tests): Add strncasecmp.
35336 * string/test-strncasecmp.c: New file.
35337
35338 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35339 warning.
35340
35341 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35342 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35343
35344 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35345
35346 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35347
35348 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35349
35350 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35352 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35353
35354 2010-05-01 Alan Modra <amodra@gmail.com>
35355
35356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35357 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35358 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35359 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35360 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35361 tidying. Don't tail-call __sigjmp_save for static lib.
35362 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35363 save location.
35364 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35365 (CALL_MCOUNT): Add eh info, and nop after bl.
35366 (TAIL_CALL_SYSCALL_ERROR): New macro.
35367 (PSEUDO_RET): Use it.
35368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35369 Correct save location of integer regs and cr.
35370 (_dl_profile_resolve): Correct cr save location. Delete nops
35371 after bl when SHARED. Reduce cfi size a little by better
35372 placement of cfi directives.
35373 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35374 make a stack frame. Instead use parm save area as a temp.
35375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35376 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35378 Don't make a stack frame for parent, use parm save area.
35379 Increase child stack frame to 112 bytes. Don't save unused reg,
35380 and adjust reg usage. Set up cfi on error recovery and
35381 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35383 (__makecontext): Add dummy nop after jump to exit.
35384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35385 Use correct parm save area and cr save, reduce stack frame.
35386 Correct cfi for possible PSEUDO_RET frame setup.
35387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35388 Branch to local label emitted by PSEUDO_RET rather than
35389 __syscall_error.
35390
35391 2010-08-12 Andreas Schwab <schwab@redhat.com>
35392
35393 [BZ #11904]
35394 * locale/programs/locale.c (print_assignment): New function.
35395 (show_locale_vars): Use it.
35396
35397 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35398
35399 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35400 field.
35401 (struct statfs64): Likewise.
35402 (_STATFS_F_FLAGS): Define.
35403 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35405 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35406 (ST_VALID): Define locally.
35407 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35408 __statvfs_getflags, use the provided value.
35409 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35410 __ASSUME_STATFS_F_FLAGS.
35411
35412 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35413
35414 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35415 Add sys/fanotify.h.
35416 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35417 fanotify_mask for GLIBC_2.13.
35418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35419 fanotify_init and fanotify_mark.
35420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35421 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35422
35423 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35424 Add prlimit.
35425 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35426 prlimit64 for GLIBC_2.13.
35427 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35428 prlimit64.
35429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35430 syscall.
35431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35432 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35433 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35434 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35435 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35436 add prlimit alias.
35437 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35438
35439 [BZ #11903]
35440 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35441 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35442
35443 * nss/Makefile: Add rules to build and run tst-nss-test1.
35444 * shlib-versions: Add entry for libnss_test1.
35445 * nss/nss_test1.c: New file.
35446 * nss/tst-nss-test1.c: New file.
35447
35448 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35449 (__nss_configure_lookup): Set appropriate entry in
35450 __nss_configure_lookup to true.
35451 * nss/nsswitch.h: Define enum with indeces of databases in
35452 databases and __nss_database_custom arrays. Declare
35453 __nss_database_custom.
35454 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35455 to avoid using nscd when custom rules are installed.
35456 * nss/getXXbyYY_r.c: Likewise.
35457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35458
35459 * nss/nss_files/files-parse.c: Whitespace fixes.
35460
35461 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35462
35463 [BZ #11883]
35464 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35465 * posix/fnmatch_loop.c: Likewise.
35466
35467 2010-07-17 Andi Kleen <ak@linux.intel.com>
35468
35469 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35470 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35471 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35472 * Versions.def [GLIBC_2.13]: Add.
35473
35474 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35475
35476 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35477 Also fail if tpwd after pwuid call is NULL.
35478
35479 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35480
35481 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35482 when converting to ms.
35483
35484 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35485
35486 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35487 EOPNOTSUPP errors with ENOTTY.
35488 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35489 EOPNOTSUPP errors with ENOTTY.
35490
35491 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35492
35493 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35494 Add strcasecmp_l-ssse3.
35495 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35496 strcasecmp.
35497 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35498 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35499 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35500
35501 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35502
35503 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35504
35505 * string/Makefile (strop-tests): Add strcasecmp.
35506 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35507 strcasecmp_l-nonascii.
35508 (gen-as-const-headers): Add locale-defines.sym.
35509 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35510 * sysdeps/x86_64/strcasecmp.S: New file.
35511 * sysdeps/x86_64/strcasecmp_l.S: New file.
35512 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35513 * sysdeps/x86_64/locale-defines.sym: New file.
35514 * string/test-strcasecmp.c: New file.
35515
35516 * string/test-strcasestr.c: Test both ends of the range of characters.
35517 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35518
35519 2010-07-29 Roland McGrath <roland@redhat.com>
35520
35521 [BZ #11856]
35522 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35523
35524 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35525
35526 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35527 for ld.so.
35528
35529 2010-07-27 Andreas Schwab <schwab@redhat.com>
35530
35531 * manual/memory.texi (Malloc Tunable Parameters): Document
35532 M_PERTURB.
35533
35534 2010-07-26 Roland McGrath <roland@redhat.com>
35535
35536 [BZ #11840]
35537 * configure.in (-fgnu89-inline check): Set and substitute
35538 gnu89_inline, not libc_cv_gnu89_inline.
35539 * configure: Regenerated.
35540 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35541
35542 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35543
35544 * string/test-strnlen.c: New file.
35545 * string/Makefile (strop-tests): Add strnlen.
35546 * string/tester.c (test_strnlen): Add a few more test cases.
35547 * string/tst-strlen.c: Better error reporting.
35548
35549 * sysdeps/x86_64/strnlen.S: New file.
35550
35551 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35552
35553 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35554 lower-latency instructions.
35555
35556 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35557
35558 * string/test-strcasestr.c: New file.
35559 * string/test-strstr.c: New file.
35560 * string/Makefile (strop-tests): Add strstr and strcasestr.
35561 * string/str-two-way.h: Don't undefine MAX.
35562 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35563
35564 2010-07-21 Andreas Schwab <schwab@redhat.com>
35565
35566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35567 strcasestr-nonascii.
35568 (CFLAGS-strcasestr-nonascii.c): Define.
35569 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35570 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35571 Remove unused attribute.
35572
35573 2010-07-20 Roland McGrath <roland@redhat.com>
35574
35575 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35576 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35577 ld.so.cache was broken. With it, there is no way to disable dsocaps
35578 like LD_HWCAP_MASK can disable hwcaps.
35579
35580 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35581
35582 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35583
35584 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35585
35586 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35587 call in strcasestr.
35588 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35589 __strcasestr_sse42_nonascii.
35590 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35591 strcasestr-nonascii.c.
35592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35593
35594 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35595
35596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35597 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35599 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35600
35601 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35602
35603 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35604 fcntl.
35605
35606 2010-07-06 Andreas Schwab <schwab@redhat.com>
35607
35608 [BZ #11577]
35609 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35610 dl_signal_cerror.
35611
35612 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35613
35614 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35615 _PC_PIPE_BUF using F_GETPIPE_SZ.
35616
35617 2010-07-05 Roland McGrath <roland@redhat.com>
35618
35619 * manual/arith.texi (Rounding Functions): Fix rint description
35620 implicit in round description.
35621
35622 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35623
35624 * elf/Makefile: Fix linking for a few tests to make recent linker
35625 happy.
35626
35627 2010-06-30 Andreas Schwab <schwab@redhat.com>
35628
35629 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35630 $(common-objpfx)libc_nonshared.a.
35631
35632 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35633
35634 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35635 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35636 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35637 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35638 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35639 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35640 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35641 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35656 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35657 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35658 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35659 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35660 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35661 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35662 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35663 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35664 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35665 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35666 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35667 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35682
35683 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35684
35685 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35686 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35687 * string/memmove.c (memmove): Renamed to ...
35688 (MEMMOVE): ...this. Default to memmove.
35689 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35690 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35691 (END_CHK): Define.
35692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35693 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35694 mempcpy-ssse3-back memmove-ssse3-back.
35695 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35698 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35699 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35700 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35701 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35702 * sysdeps/x86_64/multiarch/memmove.c: New file.
35703 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35704 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35705 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35706 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35707 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35708 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35709 Define.
35710 (index_Fast_Copy_Backward): Define.
35711 (HAS_ARCH_FEATURE): Define.
35712 (HAS_FAST_REP_STRING): Define.
35713 (HAS_FAST_COPY_BACKWARD): Define.
35714
35715 2010-06-21 Andreas Schwab <schwab@redhat.com>
35716
35717 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35718 Restore proper fallback handling.
35719
35720 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35721
35722 [BZ #11701]
35723 * posix/group_member.c (__group_member): Correct checking loop.
35724
35725 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35726 OOM in getpwuid_r correctly. Return error number when the caller
35727 should return, otherwise -1.
35728 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35729 call returning > 0 value.
35730 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35731
35732 2010-06-07 Andreas Schwab <schwab@redhat.com>
35733
35734 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35735 libc_nonshared.a from targets in modules-names.
35736
35737 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35738
35739 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35740 requires it.
35741
35742 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35743
35744 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35745 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35748
35749 2010-06-02 Andreas Schwab <schwab@redhat.com>
35750
35751 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35752
35753 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35754
35755 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35756 and F_GETPIPE_SZ.
35757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35763
35764 2010-06-14 Roland McGrath <roland@redhat.com>
35765
35766 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35767
35768 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35769
35770 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35771 __REDIRECT followed by __THROW.
35772 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35773 * posix/getopt.h (getopt): Likewise.
35774
35775 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35776
35777 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35778 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35779 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35780 in AT_FLAGS.
35781 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35782 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35783
35784 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35785
35786 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35787
35788 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35789
35790 [BZ #11640]
35791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35792 Properly check family and model.
35793
35794 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35795
35796 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35797
35798 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35799
35800 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35801
35802 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35803
35804 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35805 symbol reference.
35806
35807 2010-05-19 Andreas Schwab <schwab@redhat.com>
35808
35809 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35810 symbol reference.
35811
35812 2010-05-21 Andreas Schwab <schwab@redhat.com>
35813
35814 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35815 and internal_recvmmsg.
35816 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35817 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35818 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35819 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35820
35821 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35822 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35823 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35824
35825 2010-05-20 Andreas Schwab <schwab@redhat.com>
35826
35827 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35828
35829 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35830
35831 POWER7 optimizations.
35832 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35833 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35834
35835 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35836
35837 * version.h: Update for 2.13 development version.
35838
35839 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35840
35841 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35842 exceptions. Return 0.
35843
35844 2010-05-07 Roland McGrath <roland@redhat.com>
35845
35846 * elf/ldconfig.c (main): Add a const.
35847
35848 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35849
35850 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35851 (args_options): Add no-idn option.
35852 (ahosts_keys_int): Add idn_flags to ai_flags.
35853 (parse_option): Handle 'i' option to clear idn_flags.
35854
35855 * malloc/malloc.c (_int_free): Possible race in the most recently
35856 added check. Only act on the data if no current modification
35857 happened.
35858
35859 See ChangeLog.17 for earlier changes.
This page took 1.436622 seconds and 6 git commands to generate.