1 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
5 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7 * debug/memset_chk.c (__memset_chk): Likewise.
8 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9 * debug/strncpy_chk.c: Likewise.
11 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16 (__ieee754_exp): For possibly underflowing results, check size of
17 result and force underflow exception if required.
18 * math/auto-libm-test-in: Add more tests of exp.
19 * math/auto-libm-test-out: Regenerated.
20 * sysdeps/i386/fpu/libm-test-ulps: Update.
21 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25 * math/w_exp2f.c (__exp2f): Likewise.
26 * math/w_exp2l.c (__exp2l): Likewise.
27 * math/auto-libm-test-in: Do not allow missing errno on exp2
29 * math/auto-libm-test-out: Regenerated.
31 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
34 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35 handle filename validation.
36 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39 2013-12-03 Joseph Myers <joseph@codesourcery.com>
42 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
48 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53 * math/auto-libm-test-in: Don't allow missing errno from erfc.
55 * math/auto-libm-test-out: Regenerated.
56 * sysdeps/i386/fpu/libm-test-ulps: Update.
57 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60 exp2, expm1, j0 and j1.
61 * math/auto-libm-test-out: Regenerated.
62 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
63 (erfc_test_data): Likewise.
64 (exp_test_data): Likewise.
65 (exp_tonearest_test_data): Likewise.
66 (exp_towardzero_test_data): Likewise.
67 (exp_downward_test_data): Likewise.
68 (exp_upward_test_data): Likewise.
69 (exp10_test_data): Likewise.
70 (exp2_test_data): Likewise.
71 (expm1_test_data): Likewise.
72 (j0_test_data): Likewise.
73 (j1_test_data): Likewise.
74 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
75 (input_flag_type): Add flag_xfail_rounding.
76 (input_flags): Add xfail-rounding.
77 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
78 (output_for_one_input_case): Handle flag_xfail_rounding.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
85 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
88 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
91 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
92 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
93 (STAP_PROBE0): New macro.
94 (STAP_PROBE1): Likewise.
95 (STAP_PROBE2): Likewise.
96 (STAP_PROBE3): Likewise.
97 (STAP_PROBE4): Likewise.
99 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
101 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
103 2013-12-02 Steve Ellcey <sellcey@mips.com>
105 * benchtests/Makefile (bench): Add sqrt.
106 (LDLIBS-bench-sqrt): New.
107 * benchtests/sqrt-input: New.
109 2013-12-02 Pavel Simerda <psimerda@redhat.com>
111 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
112 (GAIH_EAI): Likewise.
113 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
114 (gaih_inet): Likewise.
115 (getaddrinfo): Don't use GAIH_EAI.
117 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
118 (struct gaih): Remove definition.
120 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
122 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
123 Use HERRNOP directly.
125 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
129 2013-11-30 Joseph Myers <joseph@codesourcery.com>
131 * math/gen-auto-libm-tests.c (test_functions): Add more
132 single-argument functions.
133 (special_fill_pi_2): New function.
134 (special_fill_minus_pi_2): Likewise.
135 (special_fill_pi_6): Likewise.
136 (special_fill_minus_pi_6): Likewise.
137 (special_fill_pi_3): Likewise.
138 (special_fill_2pi_3): Likewise.
139 (special_fill_e): Likewise.
140 (special_fill_1_e): Likewise.
141 (special_fill_e_minus_1): Likewise.
142 (special_real_inputs): Add more special inputs.
143 (output_for_one_input_case): Do not require ERANGE on underflow to
144 zero if round-to-nearest result does not underflow to zero, unless
145 exact results required.
146 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
147 atan, atanh, cbrt, cos and cosh.
148 * math/auto-libm-test-out: Regenerated.
149 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
150 (acos_tonearest_test_data): Likewise.
151 (acos_towardzero_test_data): Likewise.
152 (acos_downward_test_data): Likewise.
153 (acos_upward_test_data): Likewise.
154 (acosh_test_data): Likewise.
155 (asin_test_data): Likewise.
156 (asin_tonearest_test_data): Likewise.
157 (asin_towardzero_test_data): Likewise.
158 (asin_upward_test_data): Likewise.
159 (asinh_test_data): Likewise.
160 (atan_test_data): Likewise.
161 (atanh_test_data): Likewise.
162 (cbrt_test_data): Likewise.
163 (cos_test_data): Likewise.
164 (cos_tonearest_test_data): Likewise.
165 (cos_towardzero_test_data): Likewise.
166 (cos_downward_test_data): Likewise.
167 (cos_upward_test_data): Likewise.
168 (cosh_test_data): Likewise.
169 (cosh_tonearest_test_data): Likewise.
170 (cosh_towardzero_test_data): Likewise.
171 (cosh_downward_test_data): Likewise.
172 (cosh_upward_test_data): Likewise.
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
176 2013-11-29 Joseph Myers <joseph@codesourcery.com>
179 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
180 * math/w_exp10f.c (__exp10f): Likewise.
181 * math/w_exp10l.c (__exp10l): Likewise.
182 * math/libm-test.inc (exp10_test_data): Add more tests and expect
183 errno settings in existing tests.
186 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
187 precision control set to double precision.
188 * sysdeps/i386/fpu/w_sqrt.c: New file.
189 * math/auto-libm-test-in: Add more tests.
190 * math/auto-libm-test-out: Update.
192 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
193 (sqrt_test_tonearest): New function.
194 (sqrt_towardzero_test_data): New variable.
195 (sqrt_test_towardzero): New function.
196 (sqrt_downward_test_data): New variable.
197 (sqrt_test_downward): New function.
198 (sqrt_upward_test_data): New variable.
199 (sqrt_test_upward): New function.
200 (main): Call the new functions.
202 * math/gen-auto-libm-tests.c: New file.
203 * math/auto-libm-test-in: Likewise.
204 * math/auto-libm-test-out: New generated file.
205 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
207 (%beautify): Add generated representations of zero.
208 (top level): Set $auto_input and call parse_auto_input.
209 (beautify): Remove trailing "f" from hex float constants.
210 (parse_args): Handle XFAIL_TEST.
211 (convert_condition): New function.
212 (or_value): Likewise.
213 (or_cond_value): Likewise.
214 (generate_testfile): Handle AUTO_TESTS_* lines.
215 (parse_auto_input): New function.
216 * math/libm-test.inc (XFAIL_TEST): New macro.
217 (ERRNO_UNCHANGED): Update value.
218 (ERRNO_EDOM): Likewise.
219 (ERRNO_ERANGE): Likewise.
220 (IGNORE_RESULT): Likewise.
221 (TEST_COND_flt_32): New macro.
222 (TEST_COND_dbl_64): Likewise.
223 (TEST_COND_ldbl_96_intel): Likewise.
224 (TEST_COND_ldbl_96_m68k): Likewise.
225 (TEST_COND_ldbl_128): Likewise.
226 (TEST_COND_ldbl_128ibm): Likewise.
227 (TEST_COND_long32): Likewise.
228 (TEST_COND_long64): Likewise.
229 (TEST_COND_before_rounding): Likewise.
230 (TEST_COND_after_rounding): Likewise.
231 (enable_test): Handle XFAIL_TEST flag.
232 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
234 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
237 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
238 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
241 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
242 __tls_get_addr_internal instead of __tls_get_offset in order to
243 avoid GOT pointer dependency. Make rtld export
244 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
245 __tls_get_addr since we are a __tls_get_offset platform.
246 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
247 GOT pointer being set up before.
248 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
250 2013-11-28 Joseph Myers <joseph@codesourcery.com>
252 * manual/math.texi (Errors in Math Functions): Document accuracy
256 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
257 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
258 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
259 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
260 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
261 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
262 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
263 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
264 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
265 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
266 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
267 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
268 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
269 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
271 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
273 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
274 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
275 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
276 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
277 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
279 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
281 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
283 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
284 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
285 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
286 atomic-feupdateenv and flt-rounds.
287 * sysdeps/powerpc/nofpu/Versions (libc): Add
288 __atomic_feholdexcept, __atomic_feclearexcept,
289 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
290 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
291 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
292 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
293 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
298 * manual/arith.texi (FP Exceptions): Document that exceptions may
299 not be raised when matherr is used.
300 (Math Error Reporting): Document overflow in directed rounding
301 modes. Document that errno may not be set when finite values are
302 returned on overflow. Document intent to set errno on underflow
303 only for underflow to zero.
306 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
307 round-to-nearest then adjust result for other rounding modes.
308 * include/fenv.h (fegetround): Use libm_hidden_proto.
309 * math/fegetround.c (fegetround): Use libm_hidden_def.
310 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
311 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
312 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
313 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
315 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
316 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
317 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
318 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
320 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
323 * nss/Versions (libnss_files): Add
324 _nss_files_gethostbyname3_r.
325 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
327 (HOST_DB_LOOKUP): Remove macro.
328 (_nss_files_gethostbyname_r): Implement function without the
329 HOST_DB_LOOKUP macro.
330 (_nss_files_gethostbyname2_r): Likewise.
332 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
334 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
336 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
338 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
339 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
342 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
344 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
345 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
346 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
347 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
348 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
349 __fe_nomask_env_priv and attribute_hidden.
350 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
351 (libc_feupdateenv_test_ppc): Likewise.
352 (libc_feresetround_ppc): Likewise.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
354 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
357 (__fe_nomask_env): Likewise.
358 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
360 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
362 * string/Makefile: Remove ifunc tests.
363 * string/test-string.h: Define TEST_IFUNC.
364 * string/test-bcopy-ifunc.c: Remove.
365 * string/test-bzero-ifunc.c: Likewise.
366 * string/test-memccpy-ifunc.c: Likewise.
367 * string/test-memchr-ifunc.c: Likewise.
368 * string/test-memcmp-ifunc.c: Likewise.
369 * string/test-memcpy-ifunc.c: Likewise.
370 * string/test-memmem-ifunc.c: Likewise.
371 * string/test-memmove-ifunc.c: Likewise.
372 * string/test-mempcpy-ifunc.c: Likewise.
373 * string/test-memrchr-ifunc.c: Likewise.
374 * string/test-memset-ifunc.c: Likewise.
375 * string/test-rawmemchr-ifunc.c: Likewise.
376 * string/test-stpcpy-ifunc.c: Likewise.
377 * string/test-stpncpy-ifunc.c: Likewise.
378 * string/test-strcasecmp-ifunc.c: Likewise.
379 * string/test-strcasestr-ifunc.c: Likewise.
380 * string/test-strcat-ifunc.c: Likewise.
381 * string/test-strchr-ifunc.c: Likewise.
382 * string/test-strchrnul-ifunc.c: Likewise.
383 * string/test-strcmp-ifunc.c: Likewise.
384 * string/test-strcpy-ifunc.c: Likewise.
385 * string/test-strcspn-ifunc.c: Likewise.
386 * string/test-strlen-ifunc.c: Likewise.
387 * string/test-strncasecmp-ifunc.c: Likewise.
388 * string/test-strncat-ifunc.c: Likewise.
389 * string/test-strncmp-ifunc.c: Likewise.
390 * string/test-strncpy-ifunc.c: Likewise.
391 * string/test-strnlen-ifunc.c: Likewise.
392 * string/test-strpbrk-ifunc.c: Likewise.
393 * string/test-strrchr-ifunc.c: Likewise.
394 * string/test-strspn-ifunc.c: Likewise.
395 * string/test-strstr-ifunc.c: Likewise.
397 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
399 * benchtests/Makefile: Remove ifunc tests.
400 * benchtests/bench-string.h: Define TEST_IFUNC.
401 * benchtests/bench-bcopy-ifunc.c: Remove.
402 * benchtests/bench-bzero-ifunc.c: Likewise.
403 * benchtests/bench-memccpy-ifunc.c: Likewise.
404 * benchtests/bench-memchr-ifunc.c: Likewise.
405 * benchtests/bench-memcmp-ifunc.c: Likewise.
406 * benchtests/bench-memcpy-ifunc.c: Likewise.
407 * benchtests/bench-memmem-ifunc.c: Likewise.
408 * benchtests/bench-memmove-ifunc.c: Likewise.
409 * benchtests/bench-mempcpy-ifunc.c: Likewise.
410 * benchtests/bench-memrchr-ifunc.c: Likewise.
411 * benchtests/bench-memset-ifunc.c: Likewise.
412 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
413 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
414 * benchtests/bench-stpcpy-ifunc.c: Likewise.
415 * benchtests/bench-stpncpy-ifunc.c: Likewise.
416 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
417 * benchtests/bench-strcasestr-ifunc.c: Likewise.
418 * benchtests/bench-strcat-ifunc.c: Likewise.
419 * benchtests/bench-strchr-ifunc.c: Likewise.
420 * benchtests/bench-strchrnul-ifunc.c: Likewise.
421 * benchtests/bench-strcmp-ifunc.c: Likewise.
422 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
423 * benchtests/bench-strcpy-ifunc.c: Likewise.
424 * benchtests/bench-strcspn-ifunc.c: Likewise.
425 * benchtests/bench-strlen-ifunc.c: Likewise.
426 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
427 * benchtests/bench-strncat-ifunc.c: Likewise.
428 * benchtests/bench-strncmp-ifunc.c: Likewise.
429 * benchtests/bench-strncpy-ifunc.c: Likewise.
430 * benchtests/bench-strnlen-ifunc.c: Likewise.
431 * benchtests/bench-strpbrk-ifunc.c: Likewise.
432 * benchtests/bench-strrchr-ifunc.c: Likewise.
433 * benchtests/bench-strsep-ifunc.c: Likewise.
434 * benchtests/bench-strspn-ifunc.c: Likewise.
435 * benchtests/bench-strstr-ifunc.c: Likewise.
437 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
439 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
441 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
443 * resolv/netdb.h: Use __glibc_reserved instead __unused.
444 * rt/aio.h: Likewise.
445 * sysdeps/gnu/bits/utmp.h: Likewise.
446 * sysdeps/gnu/bits/utmpx.h: Likewise.
447 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
448 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
449 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
450 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
451 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
452 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
453 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
454 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
456 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
457 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
458 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
459 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
461 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
462 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
463 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
464 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
465 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
466 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
467 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
468 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
469 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
470 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
471 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
473 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
474 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
475 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
476 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
477 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
478 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
479 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
480 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
481 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
482 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
483 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
484 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
485 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
486 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
487 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
488 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
490 2013-11-25 Carlos O'Donell <carlos@redhat.com>
493 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
494 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
496 2013-11-25 Joseph Myers <joseph@codesourcery.com>
498 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
499 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
502 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
505 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
506 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
507 (__fesetround): Remove define.
508 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
509 rounding and exceptions handling.
510 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
511 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
512 (__fe_nomask_env): Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
514 __fegetround instead of fegetround.
515 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
516 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
518 2013-11-21 Roland McGrath <roland@hack.frob.com>
520 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
523 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
525 2013-11-21 Meador Inge <meadori@codesourcery.com>
528 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
529 (encrypt_r): Likewise.
530 * malloc/obstack.h (obstack_free): Likewise.
531 * posix/unistd.h (encrypt): Likewise.
533 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
535 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
536 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
537 DL_CALL_DT_FINI() that call the functions directly.
538 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
539 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
540 * elf/dl-fini.c: Likewise.
542 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
544 * malloc/hooks.c (memalign_check): Add alignment rounding.
545 * malloc/malloc.c (_mid_memalign): New function.
546 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
547 Implement by calling _mid_memalign.
548 * manual/probes.texi (Memory Allocation Probes): Remove
549 memory_valloc_retry and memory_pvalloc_retry.
551 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
553 * locale/programs/locarchive.c (open_archive): Add const
554 qualifier to ARCHIVEFNAME and copy default fname to
558 * libio/tst-widetext.input: Rename Oriya to Odia.
559 * locale/iso-639.def: Likewise.
561 * manual/probes.texi (Mathematical Function Probes): Add
562 documentation for sin, cos, asin and acos probes.
563 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
564 (__sin32): Add slowasin probe.
565 (__cos32): Add slowacos probe.
566 (__mpsin): Add slowsin probe.
567 (__mpcos): Add slowcos probe.
569 2013-11-19 Joseph Myers <joseph@codesourcery.com>
572 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
573 thread-local __sim_exceptions_thread and global
574 __sim_exceptions_global.
575 (__sim_disabled_exceptions): Change to thread-local
576 __sim_disabled_exceptions_thread and global
577 __sim_disabled_exceptions_global.
578 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
579 and global __sim_round_mode_global.
580 (__simulate_exceptions): Use thread-local floating-point state and
581 set global state from it as needed.
582 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
583 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
584 __sim_round_mode_thread.
585 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
586 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
587 and global __sim_exceptions_global.
588 (__sim_disabled_exceptions): Change to thread-local
589 __sim_disabled_exceptions_thread and global
590 __sim_disabled_exceptions_global.
591 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
592 and global __sim_round_mode_global.
593 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
594 (SIM_SET_GLOBAL): Likewise.
595 * sysdeps/powerpc/soft-fp/sfp-machine.h
596 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
597 __sim_round_mode_thread.
598 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
599 __sim_disabled_exceptions_thread.
600 (__sim_exceptions): Change to __sim_exceptions_thread.
601 (__sim_disabled_exceptions): Change to
602 __sim_disabled_exceptions_thread.
603 (__sim_round_mode): Change to __sim_round_mode_thread.
604 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
605 thread-local floating-point state and set global state from it as
607 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
608 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
609 (__sim_disabled_exceptions): Remove extern declaration.
610 (feenableexcept): Use thread-local floating-point state and set
611 global state from it as needed.
612 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
614 (__sim_disabled_exceptions): Likewise.
615 (__sim_round_mode): Likewise.
616 (__fegetenv): Use thread-local floating-point state.
617 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
618 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
619 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
620 floating-point state and set global state from it as needed.
621 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
622 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
623 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
625 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
626 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
628 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
629 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
630 Use __sim_round_mode_thread.
631 * math/test-fenv-tls.c: New file.
632 * math/Makefile (tests): Add test-fenv-tls.
633 ($(objpfx)test-fenv-tls): Depend on
634 $(common-objpfx)nptl/libpthread.so.
636 2013-11-19 Andreas Schwab <schwab@suse.de>
638 * locale/programs/locale.c (show_info): Decode wordarray elements.
639 * locale/categories.def (LC_MONETARY): Add element for
640 _NL_MONETARY_CRNCYSTR.
641 * locale/C-monetary.c (conversion_rate): New variable.
642 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
645 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
647 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
648 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
650 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
652 * elf/Makefile (tst-auxv): New test.
653 * elf/tst-auxv.c: New
654 * elf/rtld.c (dl_main): Adjust AT_EXECFN
656 2013-11-18 Joseph Myers <joseph@codesourcery.com>
658 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
659 (hidden_proto): Caller changed.
660 (hidden_tls_proto): New macro.
661 (libc_hidden_tls_proto): Likewise.
662 (rtld_hidden_tls_proto): Likewise.
663 (libm_hidden_tls_proto): Likewise.
664 (libresolv_hidden_tls_proto): Likewise.
665 (librt_hidden_tls_proto): Likewise.
666 (libdl_hidden_tls_proto): Likewise.
667 (libnss_files_hidden_tls_proto): Likewise.
668 (libnsl_hidden_tls_proto): Likewise.
669 (libnss_nisplus_hidden_tls_proto): Likewise.
670 (libutil_hidden_tls_proto): Likewise.
672 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
675 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
676 (decompose_rpath): Defer expansion to fillin_rpath.
677 (_dl_init_paths): Pass linkmap to fillin_rpath.
679 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
681 * benchtests/Makefile: Add strsep.
682 * benchtests/bench-strsep.c: New file: strsep benchtest.
683 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
685 2013-11-18 Andreas Schwab <schwab@suse.de>
687 * locale/programs/locale.c (show_info) [case byte]: Check for
688 '\377' instead of '\177'.
689 * locale/C-monetary.c (not_available): Always use "\377".
690 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
691 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
692 detect unavailable sign_posn locale elements.
693 * locale/localeconv.c (__localeconv): For grouping and
694 mon_grouping handle "\177" and "\377" like no grouping.
695 (INT_ELEM): New macro. Use it to set all numeric members.
696 * locale/programs/ld-monetary.c (monetary_read)
697 <tok_mon_grouping>: Normalize single -1 to the empty string.
698 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
701 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
704 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
706 * stdio-common/tst-sscanf.c (struct test): Add testcase.
708 2013-11-16 Joseph Myers <joseph@codesourcery.com>
710 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
711 (NO_TEST_INLINE): Update value.
712 (ERRNO_UNCHANGED): Likewise.
713 (ERRNO_EDOM): Likewise.
714 (ERRNO_ERANGE): Likewise.
715 (IGNORE_RESULT): Likewise.
716 (check_float_internal): Check signs of NaN results if
718 (check_complex): Pass TEST_NAN_SIGN flag through to second
719 check_float_internal call.
720 (copysign_test_data): Add tests with quiet NaNs as second
721 argument. Use TEST_NAN_SIGN.
722 (fabs_test_data): Add test of negative quiet NaN argument. Use
724 (signbit_test_data): Add tests of quiet NaN argument.
725 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
727 * math/gen-libm-test.pl (show_exceptions): Take extra argument
729 (parse_args): Handle function results specified as IGNORE.
730 * math/libm-test.inc (IGNORE_RESULT): New macro.
731 (check_float_internal): Do not check numerical result if flag
733 (check_complex): Pass through IGNORE_RESULT to second
734 check_float_internal call.
735 (check_int): Do not check numerical result if flag IGNORE_RESULT
737 (check_long): Likewise.
738 (check_bool): Likewise.
739 (check_longlong): Likewise.
740 (lrint_test_data): Add tests of infinite and NaN arguments.
741 (lrint_tonearest_test_data): Likewise.
742 (lrint_towardzero_test_data): Likewise.
743 (lrint_downward_test_data): Likewise.
744 (lrint_upward_test_data): Likewise.
745 (llrint_test_data): Likewise.
746 (llrint_tonearest_test_data): Likewise.
747 (llrint_towardzero_test_data): Likewise.
748 (llrint_downward_test_data): Likewise.
749 (llrint_upward_test_data): Likewise.
750 (lround_test_data): Likewise.
751 (llround_test_data): Likewise.
753 * math/libm-test.inc (NO_TEST_INLINE): New macro.
754 (ERRNO_UNCHANGED): Update value.
755 (ERRNO_EDOM): Likewise.
756 (ERRNO_ERANGE): Likewise.
757 (NO_TEST_INLINE_FLOAT): New macro.
758 (NO_TEST_INLINE_DOUBLE): Likewise.
759 (enable_test): New function.
760 (RUN_TEST_f_f): Check enable_test before running test.
761 (RUN_TEST_2_f): Likewise.
762 (RUN_TEST_fff_f): Likewise.
763 (RUN_TEST_c_f): Likewise.
764 (RUN_TEST_f_f1): Likewise.
765 (RUN_TEST_fF_f1): Likewise.
766 (RUN_TEST_fI_f1): Likewise.
767 (RUN_TEST_ffI_f1): Likewise.
768 (RUN_TEST_c_c): Likewise.
769 (RUN_TEST_cc_c): Likewise.
770 (RUN_TEST_f_i): Likewise.
771 (RUN_TEST_f_i_tg): Likewise.
772 (RUN_TEST_ff_i_tg): Likewise.
773 (RUN_TEST_f_b): Likewise.
774 (RUN_TEST_f_b_tg): Likewise.
775 (RUN_TEST_f_l): Likewise.
776 (RUN_TEST_f_L): Likewise.
777 (RUN_TEST_fFF_11): Likewise.
778 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
780 (cosh_test_data): Likewise.
781 (exp_test_data): Likewise.
782 (expm1_test_data): Likewise.
783 (hypot_test_data): Likewise.
784 (pow_test_data): Likewise.
785 (sinh_test_data): Likewise.
786 (tanh_test_data): Likewise.
787 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
790 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
791 tests with quiet NaN input and output.
792 (acosh_test_data): Likewise.
793 (asin_test_data): Likewise.
794 (asinh_test_data): Likewise.
795 (atan_test_data): Likewise.
796 (atanh_test_data): Likewise.
797 (atan2_test_data): Likewise.
798 (cbrt_test_data): Likewise.
799 (cos_test_data): Likewise.
800 (cosh_test_data): Likewise.
801 (erf_test_data): Likewise.
802 (erfc_test_data): Likewise.
803 (exp_test_data): Likewise.
804 (exp10_test_data): Likewise.
805 (exp2_test_data): Likewise.
806 (expm1_test_data): Likewise.
807 (hypot_test_data): Likewise.
808 (j0_test_data): Likewise.
809 (j1_test_data): Likewise.
810 (jn_test_data): Likewise.
811 (lgamma_test_data): Likewise.
812 (log_test_data): Likewise.
813 (log10_test_data): Likewise.
814 (log1p_test_data): Likewise.
815 (log2_test_data): Likewise.
816 (pow_test_data): Likewise.
817 (scalb_test_data): Likewise.
818 (sin_test_data): Likewise.
819 (sincos_test_data): Likewise.
820 (sinh_test_data): Likewise.
821 (tan_test_data): Likewise.
822 (tanh_test_data): Likewise.
823 (tgamma_test_data): Likewise.
824 (y0_test_data): Likewise.
825 (y1_test_data): Likewise.
826 (yn_test_data): Likewise.
829 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
830 argument being NaN and avoid computations with second argument in
832 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
833 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
834 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
836 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
838 * locale/iso-639.def: Add Chitwani Tharu (the).
840 2013-11-14 Andreas Schwab <schwab@suse.de>
842 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
843 word instead of empty string.
845 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
848 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
850 (__fe_nomask_env): Likewise.
852 2013-11-13 Steve Ellcey <sellcey@mips.com>
854 * benchtests/bench-timing.h: Include time.h.
856 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
859 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
861 * sysdeps/unix/sysv/linux/configure: Regenerated.
863 2013-11-13 Joseph Myers <joseph@codesourcery.com>
866 * stdlib/strtod_l.c (round_and_return): Do not consider
867 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
868 exponent one less than half the least subnormal exponent.
869 * stdlib/test-strtod-round-data: Add more tests.
870 * stdlib/tst-strtod-round.c (tests): Regenerated.
872 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
875 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
876 (__fe_mask_env): Likewise.
877 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
878 libm_hidden_proto and add function prototype.
879 (__fe_mask_env): Add function prototype.
880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
881 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
883 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
885 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
887 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
889 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
890 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
892 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
894 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
897 2013-11-11 David S. Miller <davem@davemloft.net>
900 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
901 symbol in the non-vis3 case in static builds.
902 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
903 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
904 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
905 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
907 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
910 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
913 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915 * benchtests/Makefile: Add bench-strtod.
916 * benchtests/bench-strtod.c: New file: strtod benchtest
918 2013-11-11 Andreas Schwab <schwab@suse.de>
921 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
922 terminating NUL in key length.
924 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
926 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
927 Add artificial ODP entry for vDSO symbol for PPC64.
928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
929 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
931 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
934 * nss/getent.c (services_keys): Recognize services starting with digit.
936 2013-11-06 David S. Miller <davem@davemloft.net>
939 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
940 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
942 2013-11-06 Will Newton <will.newton@linaro.org>
944 * manual/memory.texi (Malloc Examples): Remove register
945 keyword from examples.
947 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
949 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
951 2013-11-04 Joseph Myers <joseph@codesourcery.com>
953 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
954 depending on [__GCC_IEC_559 > 0].
955 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
956 depending on [__GCC_IEC_559_COMPLEX > 0].
958 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
960 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
963 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
965 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
967 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
970 * malloc/malloc (malloc_info): Do not handle first bin as
973 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
975 * locale/iso-639.def: Add Central Nahuatl (nhn).
977 2013-11-01 Bruno Haible <bruno@clisp.org>
980 * manual/math.texi (BSD Random): Specify range upper bound as
983 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
985 * locale/iso-639.def: Add Meadow Mari (mhr).
987 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
989 [BZ #14752], [BZ #15763]
990 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
992 * rt/tst_shm.c: Add test for escaping directory.
994 2013-10-31 Andreas Schwab <schwab@suse.de>
997 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
998 followed by 'x' as part of digit sequence.
999 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1001 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1004 * configure.ac: allow GNU Make 4.0 and greater.
1005 * configure: Regenerated.
1007 2013-10-30 Will Newton <will.newton@linaro.org>
1010 * malloc/hooks.c (memalign_check): Limit alignment to the
1011 maximum representable power of two.
1012 * malloc/malloc.c (__libc_memalign): Likewise.
1013 * malloc/tst-memalign.c (do_test): Add test for very
1014 large alignment values.
1015 * malloc/tst-posix_memalign.c (do_test): Likewise.
1017 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1020 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1021 (munmap_chunk): Likewise.
1022 (mremap_chunk): Likewise.
1024 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1027 * stdlib/div.c (div): Remove obsolete code.
1028 * stdlib/ldiv.c (ldiv): Likewise.
1029 * stdlib/lldiv.c (lldiv): Likewise.
1031 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1034 * nss/nss_files/files-XXX.c (get_contents_ret): New
1036 (get_contents): New function.
1037 (internal_getent): Use it. Expand size of LINEBUFLEN.
1039 2013-10-30 Mike Frysinger <vapier@gentoo.org>
1041 * configure.in: Moved to ...
1042 * configure.ac: ... here. Change reference to configure.in
1044 * sysdeps/arm/preconfigure.ac: ... here.
1045 configure.in to configure.ac.
1046 * sysdeps/gnu/configure.in: Moved to ...
1047 * sysdeps/gnu/configure.ac: ... here.
1048 * sysdeps/i386/configure.in: Moved to ...
1049 * sysdeps/i386/configure.ac: ... here.
1050 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1051 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1052 * sysdeps/mach/configure.in: Moved to ...
1053 * sysdeps/mach/configure.ac: ... here.
1054 * sysdeps/mach/hurd/configure.in: Moved to ...
1055 * sysdeps/mach/hurd/configure.ac: ... here.
1056 * sysdeps/powerpc/configure.in: Moved to ...
1057 * sysdeps/powerpc/configure.ac: ... here.
1058 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1059 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1060 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1061 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1062 * sysdeps/s390/s390-32/configure.in: Moved to ...
1063 * sysdeps/s390/s390-32/configure.ac: ... here.
1064 * sysdeps/s390/s390-64/configure.in: Moved to ...
1065 * sysdeps/s390/s390-64/configure.ac: ... here.
1066 * sysdeps/sh/configure.in: Moved to ...
1067 * sysdeps/sh/configure.ac: ... here.
1068 * sysdeps/sparc/configure.in: Moved to ...
1069 * sysdeps/sparc/configure.ac: ... here.
1070 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1071 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1072 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1073 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1074 * sysdeps/x86_64/configure.in: Moved to ...
1075 * sysdeps/x86_64/configure.ac: ... here.
1076 * sysdeps/x86_64/preconfigure.in: Moved to ...
1077 * sysdeps/x86_64/preconfigure.ac: ... here.
1078 * aclocal.m4: Change reference to configure.in to configure.ac.
1079 * config.h.in: Likewise.
1080 * manual/install.texi: Likewise.
1081 * manual/maint.texi: Likewise.
1082 * Makefile: Likewise.
1083 * malloc/Makefile: Likewise.
1084 * nscd/Makefile: Likewise.
1085 * Makeconfig: Change reference to configure.in and
1086 preconfigure.in to configure.ac and preconfigure.ac
1088 * INSTALL: Regenerated.
1089 * configure: Likewise.
1090 * sysdeps/gnu/configure: Likewise.
1091 * sysdeps/i386/configure: Likewise.
1092 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1093 * sysdeps/mach/configure: Likewise.
1094 * sysdeps/mach/hurd/configure: Likewise.
1095 * sysdeps/powerpc/configure: Likewise.
1096 * sysdeps/powerpc/powerpc32/configure: Likewise.
1097 * sysdeps/powerpc/powerpc64/configure: Likewise.
1098 * sysdeps/s390/s390-32/configure: Likewise.
1099 * sysdeps/s390/s390-64/configure: Likewise.
1100 * sysdeps/sh/configure: Likewise.
1101 * sysdeps/sparc/configure: Likewise.
1102 * sysdeps/unix/sysv/linux/configure: Likewise.
1103 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1104 * sysdeps/x86_64/configure: Likewise.
1105 * sysdeps/x86_64/preconfigure: Likewise.
1107 2013-10-29 Andreas Schwab <schwab@suse.de>
1109 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1111 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1113 * benchtests/pow-inputs: Add new inputs.
1115 * benchtests/exp-inputs: Add new inputs.
1117 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1118 conditional check for return value.
1119 (__cos32): Likewise.
1121 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1124 to provide a boost for large inputs with word alignment.
1125 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1126 implementation based on optimized PPC64 strcpy.
1127 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1128 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1129 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1130 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1132 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1135 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1137 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1140 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1141 * time/tst-strptime.c (day_tests): Add testcase.
1143 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1146 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1148 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1151 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1152 MAP_FAILED on error.
1154 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1157 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1158 heap for large requests.
1160 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1163 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1164 result if the result has no associated interface.
1165 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1166 interface for all 127.X.Y.Z addresses.
1168 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
1170 * locale/iso-639.def: Add Ligurian (lij)
1172 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
1175 * sunrpc/rpc_main.c: Document rpcgen -5.
1177 2013-10-19 Michael Stahl <mstahl@redhat.com>
1179 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1181 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1184 * posix/glob.c: Match only directories when trailing slash is present.
1185 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1186 (main): Add testcase.
1188 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1191 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1193 2013-10-18 Carlos O'Donell <carlos@redhat.com>
1195 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1196 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1197 AUTH_DES and cindex for FIPS 140-2.
1198 (DES Encryption): Add cindex FIPS 46-3.
1200 * locale/locarchive.h (struct locarhandle): Add fname.
1201 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1202 if an optional argument was specified to --list-archive,
1204 * locale/programs/locarchive.c (show_archive_content): Take new
1205 argument fname and pass it via ah.fname to open_archive.
1206 * locale/programs/localedef.h: Update decl.
1207 (open_archive): If AH->fname is non-null, open that file
1208 rather than the default file name, and don't ignore ENOENT.
1209 (create_archive): Set AH.fname to NULL.
1210 (delete_locales_from_archive): Likewise.
1211 (add_locales_to_archive): Likewise.
1212 * locale/programs/locfile.c (write_all_categories): Likewise.
1214 2013-10-18 Joseph Myers <joseph@codesourcery.com>
1215 Aldy Hernandez <aldyh@redhat.com>
1217 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1218 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1219 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1220 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1221 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1222 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1223 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1224 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1225 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1226 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1227 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1228 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1229 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1230 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1231 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1233 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1235 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1237 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1239 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1240 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1242 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1243 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1244 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1245 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1247 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1248 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1249 * sysdeps/powerpc/preconfigure: Likewise.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1252 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1253 Replace contents of file by #include of <fenv_libc.h>.
1254 * sysdeps/powerpc/soft-fp/sfp-machine.h
1255 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1257 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1258 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1259 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1260 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1261 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1262 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1264 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1265 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1266 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1267 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1268 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1270 Allow copysignl PLT reference to be missing.
1272 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1273 Joseph Myers <joseph@codesourcery.com
1276 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1278 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1280 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1282 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1283 * elf/tst-tls1.c: Likewise.
1284 * elf/tst-tls10.h: Likewise.
1285 * elf/tst-tls14.c: Likewise.
1286 * elf/tst-tls2.c: Likewise.
1287 * elf/tst-tls3.c: Likewise.
1288 * elf/tst-tls4.c: Likewise.
1289 * elf/tst-tls5.c: Likewise.
1290 * elf/tst-tls6.c: Likewise.
1291 * elf/tst-tls7.c: Likewise.
1292 * elf/tst-tls8.c: Likewise.
1293 * elf/tst-tls9.c: Likewise.
1294 * elf/tst-tlsmod1.c: Likewise.
1295 * elf/tst-tlsmod13.c: Likewise.
1296 * elf/tst-tlsmod13a.c: Likewise.
1297 * elf/tst-tlsmod14a.c: Likewise.
1298 * elf/tst-tlsmod16a.c: Likewise.
1299 * elf/tst-tlsmod16b.c: Likewise.
1300 * elf/tst-tlsmod2.c: Likewise.
1301 * elf/tst-tlsmod3.c: Likewise.
1302 * elf/tst-tlsmod4.c: Likewise.
1303 * elf/tst-tlsmod5.c: Likewise.
1304 * elf/tst-tlsmod6.c: Likewise.
1306 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1309 * malloc/malloc.c: remove checks for statistics.
1311 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1314 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1315 * inet/tst-network.c: Add testcase.
1317 2013-10-17 Andreas Schwab <schwab@suse.de>
1320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1321 to determine canonical name.
1323 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1325 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1326 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1328 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1331 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1332 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1333 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1334 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1335 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1336 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1337 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1338 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1343 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1344 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1347 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1348 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1349 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1350 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1351 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1352 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1353 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1354 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1355 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1357 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1358 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1359 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1360 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1361 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1362 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1363 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1365 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1366 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1368 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1369 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1371 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1372 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1373 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1384 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1387 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1388 make result into a quiet NaN.
1390 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1392 * soft-fp/adddf3.c: Fix horizontal whitespace.
1393 * soft-fp/addsf3.c: Likewise.
1394 * soft-fp/addtf3.c: Likewise.
1395 * soft-fp/divdf3.c: Likewise.
1396 * soft-fp/divsf3.c: Likewise.
1397 * soft-fp/divtf3.c: Likewise.
1398 * soft-fp/double.h: Likewise.
1399 * soft-fp/eqdf2.c: Likewise.
1400 * soft-fp/eqsf2.c: Likewise.
1401 * soft-fp/eqtf2.c: Likewise.
1402 * soft-fp/extenddftf2.c: Likewise.
1403 * soft-fp/extended.h: Likewise.
1404 * soft-fp/extendsfdf2.c: Likewise.
1405 * soft-fp/extendsftf2.c: Likewise.
1406 * soft-fp/extendxftf2.c: Likewise.
1407 * soft-fp/fixdfdi.c: Likewise.
1408 * soft-fp/fixdfsi.c: Likewise.
1409 * soft-fp/fixdfti.c: Likewise.
1410 * soft-fp/fixsfdi.c: Likewise.
1411 * soft-fp/fixsfsi.c: Likewise.
1412 * soft-fp/fixsfti.c: Likewise.
1413 * soft-fp/fixtfdi.c: Likewise.
1414 * soft-fp/fixtfsi.c: Likewise.
1415 * soft-fp/fixtfti.c: Likewise.
1416 * soft-fp/fixunsdfdi.c: Likewise.
1417 * soft-fp/fixunsdfsi.c: Likewise.
1418 * soft-fp/fixunsdfti.c: Likewise.
1419 * soft-fp/fixunssfdi.c: Likewise.
1420 * soft-fp/fixunssfsi.c: Likewise.
1421 * soft-fp/fixunssfti.c: Likewise.
1422 * soft-fp/fixunstfdi.c: Likewise.
1423 * soft-fp/fixunstfsi.c: Likewise.
1424 * soft-fp/fixunstfti.c: Likewise.
1425 * soft-fp/floatdidf.c: Likewise.
1426 * soft-fp/floatdisf.c: Likewise.
1427 * soft-fp/floatditf.c: Likewise.
1428 * soft-fp/floatsidf.c: Likewise.
1429 * soft-fp/floatsisf.c: Likewise.
1430 * soft-fp/floatsitf.c: Likewise.
1431 * soft-fp/floattidf.c: Likewise.
1432 * soft-fp/floattisf.c: Likewise.
1433 * soft-fp/floattitf.c: Likewise.
1434 * soft-fp/floatundidf.c: Likewise.
1435 * soft-fp/floatundisf.c: Likewise.
1436 * soft-fp/floatunditf.c: Likewise.
1437 * soft-fp/floatunsidf.c: Likewise.
1438 * soft-fp/floatunsisf.c: Likewise.
1439 * soft-fp/floatunsitf.c: Likewise.
1440 * soft-fp/floatuntidf.c: Likewise.
1441 * soft-fp/floatuntisf.c: Likewise.
1442 * soft-fp/floatuntitf.c: Likewise.
1443 * soft-fp/fmadf4.c: Likewise.
1444 * soft-fp/fmasf4.c: Likewise.
1445 * soft-fp/fmatf4.c: Likewise.
1446 * soft-fp/gedf2.c: Likewise.
1447 * soft-fp/gesf2.c: Likewise.
1448 * soft-fp/getf2.c: Likewise.
1449 * soft-fp/ledf2.c: Likewise.
1450 * soft-fp/lesf2.c: Likewise.
1451 * soft-fp/letf2.c: Likewise.
1452 * soft-fp/muldf3.c: Likewise.
1453 * soft-fp/mulsf3.c: Likewise.
1454 * soft-fp/multf3.c: Likewise.
1455 * soft-fp/negdf2.c: Likewise.
1456 * soft-fp/negsf2.c: Likewise.
1457 * soft-fp/negtf2.c: Likewise.
1458 * soft-fp/op-1.h: Likewise.
1459 * soft-fp/op-2.h: Likewise.
1460 * soft-fp/op-4.h: Likewise.
1461 * soft-fp/op-8.h: Likewise.
1462 * soft-fp/op-common.h: Likewise.
1463 * soft-fp/quad.h: Likewise.
1464 * soft-fp/single.h: Likewise.
1465 * soft-fp/soft-fp.h: Likewise.
1466 * soft-fp/sqrtdf2.c: Likewise.
1467 * soft-fp/sqrtsf2.c: Likewise.
1468 * soft-fp/sqrttf2.c: Likewise.
1469 * soft-fp/subdf3.c: Likewise.
1470 * soft-fp/subsf3.c: Likewise.
1471 * soft-fp/subtf3.c: Likewise.
1472 * soft-fp/truncdfsf2.c: Likewise.
1473 * soft-fp/trunctfdf2.c: Likewise.
1474 * soft-fp/trunctfsf2.c: Likewise.
1475 * soft-fp/trunctfxf2.c: Likewise.
1476 * soft-fp/unorddf2.c: Likewise.
1477 * soft-fp/unordsf2.c: Likewise.
1478 * soft-fp/unordtf2.c: Likewise.
1480 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1482 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1483 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1485 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1487 * elf/dl-libc.c: Clear initfini list after freeing.
1489 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1491 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1492 * soft-fp/addsf3.c: Likewise.
1493 * soft-fp/addtf3.c: Likewise.
1494 * soft-fp/divdf3.c: Likewise.
1495 * soft-fp/divsf3.c: Likewise.
1496 * soft-fp/divtf3.c: Likewise.
1497 * soft-fp/double.h: Likewise.
1498 * soft-fp/eqdf2.c: Likewise.
1499 * soft-fp/eqsf2.c: Likewise.
1500 * soft-fp/eqtf2.c: Likewise.
1501 * soft-fp/extenddftf2.c: Likewise.
1502 * soft-fp/extended.h: Likewise.
1503 * soft-fp/extendsfdf2.c: Likewise.
1504 * soft-fp/extendsftf2.c: Likewise.
1505 * soft-fp/extendxftf2.c: Likewise.
1506 * soft-fp/fixdfdi.c: Likewise.
1507 * soft-fp/fixdfsi.c: Likewise.
1508 * soft-fp/fixdfti.c: Likewise.
1509 * soft-fp/fixsfdi.c: Likewise.
1510 * soft-fp/fixsfsi.c: Likewise.
1511 * soft-fp/fixsfti.c: Likewise.
1512 * soft-fp/fixtfdi.c: Likewise.
1513 * soft-fp/fixtfsi.c: Likewise.
1514 * soft-fp/fixtfti.c: Likewise.
1515 * soft-fp/fixunsdfdi.c: Likewise.
1516 * soft-fp/fixunsdfsi.c: Likewise.
1517 * soft-fp/fixunsdfti.c: Likewise.
1518 * soft-fp/fixunssfdi.c: Likewise.
1519 * soft-fp/fixunssfsi.c: Likewise.
1520 * soft-fp/fixunssfti.c: Likewise.
1521 * soft-fp/fixunstfdi.c: Likewise.
1522 * soft-fp/fixunstfsi.c: Likewise.
1523 * soft-fp/fixunstfti.c: Likewise.
1524 * soft-fp/floatdidf.c: Likewise.
1525 * soft-fp/floatdisf.c: Likewise.
1526 * soft-fp/floatditf.c: Likewise.
1527 * soft-fp/floatsidf.c: Likewise.
1528 * soft-fp/floatsisf.c: Likewise.
1529 * soft-fp/floatsitf.c: Likewise.
1530 * soft-fp/floattidf.c: Likewise.
1531 * soft-fp/floattisf.c: Likewise.
1532 * soft-fp/floattitf.c: Likewise.
1533 * soft-fp/floatundidf.c: Likewise.
1534 * soft-fp/floatundisf.c: Likewise.
1535 * soft-fp/floatunsidf.c: Likewise.
1536 * soft-fp/floatunsisf.c: Likewise.
1537 * soft-fp/floatuntidf.c: Likewise.
1538 * soft-fp/floatuntisf.c: Likewise.
1539 * soft-fp/floatuntitf.c: Likewise.
1540 * soft-fp/fmadf4.c: Likewise.
1541 * soft-fp/fmasf4.c: Likewise.
1542 * soft-fp/fmatf4.c: Likewise.
1543 * soft-fp/gedf2.c: Likewise.
1544 * soft-fp/gesf2.c: Likewise.
1545 * soft-fp/getf2.c: Likewise.
1546 * soft-fp/ledf2.c: Likewise.
1547 * soft-fp/lesf2.c: Likewise.
1548 * soft-fp/letf2.c: Likewise.
1549 * soft-fp/muldf3.c: Likewise.
1550 * soft-fp/mulsf3.c: Likewise.
1551 * soft-fp/multf3.c: Likewise.
1552 * soft-fp/negdf2.c: Likewise.
1553 * soft-fp/negsf2.c: Likewise.
1554 * soft-fp/negtf2.c: Likewise.
1555 * soft-fp/op-1.h: Likewise.
1556 * soft-fp/op-2.h: Likewise.
1557 * soft-fp/op-4.h: Likewise.
1558 * soft-fp/op-8.h: Likewise.
1559 * soft-fp/op-common.h: Likewise.
1560 * soft-fp/quad.h: Likewise.
1561 * soft-fp/single.h: Likewise.
1562 * soft-fp/soft-fp.h: Likewise.
1563 * soft-fp/sqrtdf2.c: Likewise.
1564 * soft-fp/sqrtsf2.c: Likewise.
1565 * soft-fp/sqrttf2.c: Likewise.
1566 * soft-fp/subdf3.c: Likewise.
1567 * soft-fp/subsf3.c: Likewise.
1568 * soft-fp/subtf3.c: Likewise.
1569 * soft-fp/truncdfsf2.c: Likewise.
1570 * soft-fp/trunctfdf2.c: Likewise.
1571 * soft-fp/trunctfsf2.c: Likewise.
1572 * soft-fp/trunctfxf2.c: Likewise.
1573 * soft-fp/unorddf2.c: Likewise.
1574 * soft-fp/unordsf2.c: Likewise.
1575 * soft-fp/unordtf2.c: Likewise.
1577 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1580 * misc/error.c (error_tail): Fix possible buffer overflow.
1582 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1585 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1588 2013-10-14 P. J. McDermott <pj@pehjota.net>
1591 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1592 testing pipefail option.
1594 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1596 * soft-fp/double.h: Indent preprocessor directives inside #if.
1597 * soft-fp/extended.h: Likewise.
1598 * soft-fp/op-2.h: Likewise.
1599 * soft-fp/op-4.h: Likewise.
1600 * soft-fp/op-common.h: Likewise.
1601 * soft-fp/quad.h: Likewise.
1602 * soft-fp/single.h: Likewise.
1603 * soft-fp/soft-fp.h: Likewise.
1605 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1607 * iconv/iconv_prog.c: Fix typos.
1608 * stdio-common/psiginfo-data.h: Likewise.
1610 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1613 * locale/setlocale.c: Fix typo.
1615 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1618 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1619 signaling NaN arguments.
1620 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1621 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1624 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1626 * soft-fp/gesf2.c (__gesf2): Likewise.
1627 * soft-fp/getf2.c (__getf2): Likewise.
1628 * soft-fp/ledf2.c (__ledf2): Likewise.
1629 * soft-fp/lesf2.c (__lesf2): Likewise.
1630 * soft-fp/letf2.c (__letf2): Likewise.
1632 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1633 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1634 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1635 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1636 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1637 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1638 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1639 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1640 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1641 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1642 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1643 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1644 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1645 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1646 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1647 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1648 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1649 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1650 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1651 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1652 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1653 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1654 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1655 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1656 * soft-fp/floattidf.c (__floattidf): Likewise.
1657 * soft-fp/floattisf.c (__floattisf): Likewise.
1658 * soft-fp/floattitf.c (__floattitf): Likewise.
1659 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1660 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1661 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1662 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1663 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1664 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1665 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1666 * soft-fp/gesf2.c (__gesf2): Likewise.
1667 * soft-fp/getf2.c (__getf2): Likewise.
1668 * soft-fp/ledf2.c (__ledf2): Likewise.
1669 * soft-fp/lesf2.c (__lesf2): Likewise.
1670 * soft-fp/letf2.c (__letf2): Likewise.
1672 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1673 Undefine and redefine.
1674 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1675 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1676 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1677 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1678 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1679 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1680 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1681 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1682 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1683 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1684 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1685 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1686 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1687 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1688 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1691 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1692 without decrementing exponent if mantissa >= that for the
1694 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1695 denominator, not >. Decrement exponent in < case instead of
1696 incrementing in >= case.
1697 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1698 without decrementing exponent if mantissa >= that for the
1701 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1702 computing saturated result for unsigned overflow.
1704 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1705 Jeff Law <law@redhat.com>
1707 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1708 (atan2Mp): Add systemtap probe marker.
1709 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1710 (__ieee754_log): Add systemtap probe marker.
1711 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1712 (atanMp): Add systemtap probe marker.
1713 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1714 (tanMp): Add systemtap probe marker.
1715 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1716 (__slowexp): Add systemtap probe marker.
1717 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1718 (__slowpow): Add systemtap probe marker.
1719 * manual/probes.texi: Document probes.
1721 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1724 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1726 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1728 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1729 written to buffer but not flushed.
1730 * libio/iofwrite_u.c: Likewise.
1731 * libio/iopadn.c: Return bytes returned even if EOF was
1733 * libio/iowpadn.c: Likewise.
1734 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1735 if _IO_padn does not write the whole buffer.
1736 [!COMPILE_WPRINTF] (PAD): Likewise.
1738 2013-10-10 David S. Miller <davem@davemloft.net>
1740 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1743 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1745 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1746 instead of FSF address.
1747 * soft-fp/fixdfti.c: Likewise.
1748 * soft-fp/fixsfti.c: Likewise.
1749 * soft-fp/fixtfti.c: Likewise.
1750 * soft-fp/fixunsdfti.c: Likewise.
1751 * soft-fp/fixunssfti.c: Likewise.
1752 * soft-fp/fixunstfti.c: Likewise.
1753 * soft-fp/floattidf.c: Likewise.
1754 * soft-fp/floattisf.c: Likewise.
1755 * soft-fp/floattitf.c: Likewise.
1756 * soft-fp/floatuntidf.c: Likewise.
1757 * soft-fp/floatuntisf.c: Likewise.
1758 * soft-fp/floatuntitf.c: Likewise.
1759 * soft-fp/trunctfxf2.c: Likewise.
1761 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1762 * soft-fp/fixdfti.c: Likewise.
1763 * soft-fp/fixsfti.c: Likewise.
1764 * soft-fp/fixtfti.c: Likewise.
1765 * soft-fp/fixunsdfti.c: Likewise.
1766 * soft-fp/fixunssfti.c: Likewise.
1767 * soft-fp/fixunstfti.c: Likewise.
1768 * soft-fp/floattidf.c: Likewise.
1769 * soft-fp/floattisf.c: Likewise.
1770 * soft-fp/floattitf.c: Likewise.
1771 * soft-fp/floatuntidf.c: Likewise.
1772 * soft-fp/floatuntisf.c: Likewise.
1773 * soft-fp/floatuntitf.c: Likewise.
1774 * soft-fp/trunctfxf2.c: Likewise.
1776 2013-10-10 David S. Miller <davem@davemloft.net>
1778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1780 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1782 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1783 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1784 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1785 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1786 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1787 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1788 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1791 for NaNs before doing comparisons on argument.
1792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1795 2013-10-10 Will Newton <will.newton@linaro.org>
1797 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1798 passed to _int_memalign does not overflow.
1800 2013-10-10 Torvald Riegel <triegel@redhat.com>
1802 * scripts/bench.pl: Add include-sources directive.
1803 * benchtests/README: Update documentation.
1805 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1807 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1808 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1809 instead of FP_INIT_ROUNDMODE.
1810 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1811 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1814 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1815 copy class of input value.
1816 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1817 not handle exceptions.
1818 * soft-fp/negsf2.c (__negsf2): Likewise.
1819 * soft-fp/negtf2.c (__negtf2): Likewise.
1820 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1822 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1824 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1825 semicolon. From Linux kernel.
1827 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1829 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1831 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1834 * manual/socket.texi: Added statement about buffer
1835 for gethostbyname2_r.
1837 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1839 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1840 Use .p2align directive instead, throughout.
1841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1842 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1843 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1844 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1845 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1846 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1847 * sysdeps/x86_64/strchr.S: Likewise.
1848 * sysdeps/x86_64/strrchr.S: Likewise.
1850 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1852 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1854 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1856 * sysdeps/generic/math_private.h (__mpsin1): Remove
1858 (__mpcos1): Likewise.
1859 (__mpsin): New argument __range_reduce.
1860 (__mpcos): Likewise.
1861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1862 (slow): Use __mpsin and __mpcos.
1869 (bsloww1): Likewise.
1870 (bsloww2): Likewise.
1873 (csloww1): Likewise.
1874 (csloww2): Likewise.
1875 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1876 range_reduce. Merge in __mpsin1.
1877 (__mpcos): Likewise.
1879 (__mpcos1): Likewise.
1881 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1883 * locale/loadlocale.c (_nl_intern_locale_data): Use
1885 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1886 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1887 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1888 obstack data is appropriately aligned.
1889 (obstack_int32_grow_fast): Likewise.
1890 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1891 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1892 (add_locale_uint32_array): Likewise.
1894 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1896 * benchtests/Makefile: Remove ARGLIST and RET variables.
1897 ($(objpfx)bench-%.c): Pass only function name to the script.
1898 * benchtests/README: Update documentation.
1899 * benchtests/acos-inputs: Add new directives.
1900 * benchtests/acosh-inputs: Likewise.
1901 * benchtests/asin-inputs: Likewise.
1902 * benchtests/asinh-inputs: Likewise.
1903 * benchtests/atan-inputs: Likewise.
1904 * benchtests/atanh-inputs: Likewise.
1905 * benchtests/cos-inputs: Likewise.
1906 * benchtests/cosh-inputs: Likewise.
1907 * benchtests/exp-inputs: Likewise.
1908 * benchtests/log-inputs: Likewise.
1909 * benchtests/pow-inputs: Likewise.
1910 * benchtests/rint-inputs: Likewise.
1911 * benchtests/sin-inputs: Likewise.
1912 * benchtests/sinh-inputs: Likewise.
1913 * benchtests/tan-inputs: Likewise.
1914 * benchtests/tanh-inputs: Likewise.
1915 * scripts/bench.pl: Add support for new directives.
1917 2013-10-07 Alan Modra <amodra@gmail.com>
1919 * README: Fix careless merge.
1921 2013-10-05 Alan Modra <amodra@gmail.com>
1923 * NEWS: Mention powerpc64le support and bugs fixed.
1924 * README: Both big-endian and little-endian powerpc64 supported.
1926 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1928 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1929 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1930 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1931 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1933 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1935 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1938 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1940 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1941 Move -mhard-float appending from
1942 ports/sysdeps/powerpc/powerpc32/Makefile.
1943 [$(with-fp) = yes] (ASFLAGS): Likewise.
1944 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1945 * sysdeps/powerpc/nofpu: Move directory from
1946 ports/sysdeps/powerpc/nofpu.
1947 * sysdeps/powerpc/soft-fp: Move directory from
1948 ports/sysdeps/powerpc/soft-fp.
1949 * sysdeps/powerpc/powerpc32/405: Move directory from
1950 ports/sysdeps/powerpc/powerpc32/405.
1951 * sysdeps/powerpc/powerpc32/440: Move directory from
1952 ports/sysdeps/powerpc/powerpc32/440.
1953 * sysdeps/powerpc/powerpc32/464: Move directory from
1954 ports/sysdeps/powerpc/powerpc32/464.
1955 * sysdeps/powerpc/powerpc32/476: Move directory from
1956 ports/sysdeps/powerpc/powerpc32/476.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1958 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1960 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1962 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1964 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1966 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1967 * README: Update for powerpc-*-linux-gnu software floating point
1970 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1971 case to powerpc/powerpc32*.
1972 * sysdeps/unix/sysv/linux/configure: Regenerated.
1974 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1975 (_FPU_MASK_OM): Define as 0x04.
1976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1984 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1987 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1990 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1991 and setcontext_e500.
1993 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1995 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1997 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1999 * manual/threads.texi (Default Thread Attributes): Fix typo.
2001 2013-10-04 Will Newton <will.newton@linaro.org>
2003 * malloc/Makefile: Add tst-memalign.
2004 * malloc/tst-memalign.c: New file.
2006 * malloc/tst-posix_memalign.c: Add comments.
2007 (do_test): Add comments and call free on all potentially
2008 allocated pointers. Add space after cast.
2010 * malloc/tst-pvalloc.c: Add comments.
2011 (do_test): Add comments and call free on all potentially
2012 allocated pointers. Remove duplicate check for NULL pointer.
2013 Add space after cast.
2015 * malloc/tst-valloc.c: Add comments.
2016 (do_test): Add comments and call free on all potentially
2017 allocated pointers. Remove duplicate check for NULL pointer.
2018 Add space after cast.
2020 2013-10-04 Alan Modra <amodra@gmail.com>
2022 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2023 Use stdint types in rather than __attribute__((mode())).
2024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2026 2013-10-04 Alan Modra <amodra@gmail.com>
2028 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2029 Correct handling of unaligned relocs for little-endian.
2030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2032 2013-10-04 Alan Modra <amodra@gmail.com>
2034 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2035 * configure: Regenerate.
2036 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2037 * shlib-versions: Likewise.
2039 2013-10-04 Alan Modra <amodra@gmail.com>
2041 * string/tester.c (test_memrchr): Increment reported test cycle.
2043 2013-10-04 Alan Modra <amodra@gmail.com>
2045 * string/test-memcpy.c (do_one_test): When reporting errors, print
2046 string address and don't overrun end of string.
2048 2013-10-04 Alan Modra <amodra@gmail.com>
2050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2051 insrdi. Make better use of reg selection to speed exit slightly.
2052 Schedule entry path a little better. Remove useless "are we done"
2053 checks on entry to main loop. Handle wrapping around zero address.
2054 Correct main loop count. Handle single left-over word from main
2055 loop inline rather than by using loop_small. Remove extra word
2056 case in loop_small caused by wrong loop count. Add little-endian
2058 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2059 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2061 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2062 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2063 support. Avoid rlwimi.
2064 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2066 2013-10-04 Alan Modra <amodra@gmail.com>
2068 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2070 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2073 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2074 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2075 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2077 2013-10-04 Alan Modra <amodra@gmail.com>
2079 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2080 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2082 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2083 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2084 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2085 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2086 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2087 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2088 use of regs. Use power7 mtocrf. Tidy function tails.
2090 2013-10-04 Alan Modra <amodra@gmail.com>
2092 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2093 Formatting. Consistently use rXXX register defines or rN defines.
2094 Use early exit labels that avoid restoring unused non-volatile regs.
2095 Make cr field use more consistent with rWORDn compares. Rename
2096 regs used as shift registers for unaligned loop, using rN defines
2097 for short lifetime/multiple use regs.
2098 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2100 addi 1,1,64 to pop stack frame. Simplify return value code.
2101 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2103 2013-10-04 Alan Modra <amodra@gmail.com>
2105 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2106 support. Correct typos, formatting. Optimize tail. Use insrdi
2108 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2109 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2110 little-endian support. Correct typos.
2111 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2113 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2114 in loop and entry code to keep "and." results.
2115 (strchr): Add little-endian support. Comment. Move cntlzd
2117 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2119 2013-10-04 Alan Modra <amodra@gmail.com>
2121 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2122 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2123 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2124 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2126 2013-10-04 Alan Modra <amodra@gmail.com>
2128 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2129 (rTMP): Define as r11.
2130 (strcmp): Add little-endian support. Optimise tail.
2131 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2132 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2133 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2135 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2136 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2137 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2139 2013-10-04 Alan Modra <amodra@gmail.com>
2141 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2142 little-endian support. Remove unnecessary "are we done" tests.
2143 Handle "s" wrapping around zero and extremely large "size".
2144 Correct main loop count. Handle single left-over word from main
2145 loop inline rather than by using small_loop. Correct comments.
2146 Delete "zero" tail, use "end_max" instead.
2147 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2149 2013-10-04 Alan Modra <amodra@gmail.com>
2151 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2152 support. Don't branch over align.
2153 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2154 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2155 support. Rearrange tmp reg use to suit. Comment.
2156 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2158 2013-10-04 Alan Modra <amodra@gmail.com>
2160 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2162 2013-10-04 Alan Modra <amodra@gmail.com>
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2165 conditional form of branch and link when obtaining pc.
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2168 2013-10-04 Alan Modra <amodra@gmail.com>
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2175 2013-10-04 Alan Modra <amodra@gmail.com>
2177 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2178 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2179 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2180 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2181 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2182 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2183 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2184 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2185 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2186 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2188 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2189 Alistair Popple <alistair@ozlabs.au.ibm.com>
2190 Alan Modra <amodra@gmail.com>
2193 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2194 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2195 _dl_hwcap access for little-endian.
2196 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2197 destroy vmx regs when saving unaligned.
2198 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2199 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2200 destroy vmx regs when saving unaligned.
2202 2013-10-04 Alan Modra <amodra@gmail.com>
2204 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2205 Don't use a union to pack hi/low value.
2207 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2209 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2211 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2213 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2214 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2215 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2217 2013-10-04 Alan Modra <amodra@gmail.com>
2219 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2220 constants to usual value for .cst8 section, and remove redundant
2222 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2223 constant for 0x1p52. Load little-endian words of double from
2224 correct stack offsets.
2226 2013-10-04 Alan Modra <amodra@gmail.com>
2228 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2229 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2230 words of double from correct stack offsets.
2231 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2232 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2233 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2234 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2235 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2237 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2238 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2239 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2240 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2242 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2243 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2244 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2245 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2246 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2247 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2249 2013-10-04 Alan Modra <amodra@gmail.com>
2251 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2252 64-bit int/double union.
2253 (_FPU_SETCW): Likewise.
2254 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2255 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2257 2013-10-04 Alan Modra <amodra@gmail.com>
2259 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2260 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2262 2013-10-04 Alan Modra <amodra@gmail.com>
2264 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2265 use vector int constants.
2266 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2268 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2270 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2271 array with long long.
2272 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2273 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2274 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2275 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2276 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2277 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2278 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2279 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2280 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2281 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2282 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2283 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2284 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2286 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2288 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2289 (__signbit): Likewise. Correct for little-endian.
2290 (__signbitl): Call __signbit.
2291 (lrint): Correct for little-endian.
2292 (lrintf): Call lrint.
2294 2013-10-04 Alan Modra <amodra@gmail.com>
2296 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2297 union 32-bit int array member with 64-bit int array.
2298 (t515, tm256): Double rather than long double.
2299 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2301 2013-10-04 Alan Modra <amodra@gmail.com>
2303 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2305 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2306 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2307 version of math_ldbl.h.
2309 2013-10-04 Alan Modra <amodra@gmail.com>
2311 [BZ #15734], [BZ #15735]
2312 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2313 all uses of ieee875 long double macros and unions. Simplify test
2314 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2315 ldbl_extract_mantissa value for ix,iy exponents. Properly
2316 normalize after ldbl_extract_mantissa, and don't add hidden bit
2317 already handled. Don't treat low word of ieee854 mantissa like
2318 low word of IBM long double and mask off bit when testing for
2320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2321 all uses of ieee875 long double macros and unions. Simplify tests
2322 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2323 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2324 two1022, instead use their values. Recognise that tests for large
2325 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2326 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2327 Rewrite all uses of ieee875 long double macros and unions. Simplify
2328 test for 0.0L and nan. Correct negation.
2329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2330 ieee875 long double macros and unions. Correct output for large
2331 magnitude x. Correct absolute value calculation.
2332 (__erfcl): Likewise.
2333 * math/libm-test.inc: Add tests for errors discovered in IBM long
2334 double versions of fmodl, remainderl, erfl and erfcl.
2336 2013-10-04 Alan Modra <amodra@gmail.com>
2338 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2339 all uses of ieee854 long double macros and unions. Simplify tests
2340 for long doubles that are fully specified by the high double.
2341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2343 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2344 Remove dead code too.
2345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2346 (__ieee754_ynl): Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2348 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2350 Remove dead code too.
2351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2353 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2354 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2356 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2358 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2359 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2360 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2361 Comment on variable precision.
2362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2365 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2366 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2367 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2368 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2369 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2371 2013-10-04 Alan Modra <amodra@gmail.com>
2373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2374 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2375 all uses of ieee854 long double macros and unions.
2376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2378 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2380 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2381 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2383 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2384 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2385 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2386 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2387 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2389 Simplify sign and nan test too.
2390 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2391 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2392 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2395 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2396 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2399 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2400 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2401 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2402 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2405 2013-10-04 Alan Modra <amodra@gmail.com>
2407 * stdio-common/printf_size.c (__printf_size): Don't use
2408 union ieee854_long_double in fpnum union.
2409 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2410 signbit macro to retrieve sign from long double.
2411 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2412 retrieve sign from long double.
2413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2414 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2415 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2416 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2417 * math/test-misc.c (main): Don't use union ieee854_long_double.
2419 2013-10-04 Alan Modra <amodra@gmail.com>
2422 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2423 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2424 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2425 calculation. Remove unnecessary test for denormal exponent.
2426 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2427 Correct handling of denormals. Avoid undefined shift behaviour.
2428 Correct normalisation of low mantissa when low double is denormal.
2429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2430 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2431 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2432 Correct normalisation of low mantissa. Test for overflow of high
2433 mantissa and normalise.
2434 (ldbl_nearbyint): Use more readable constant for two52.
2435 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2436 (__mpn_construct_long_double): Fix test for overflow of high
2437 mantissa and correct normalisation. Avoid undefined shift.
2439 2013-10-04 Alan Modra <amodra@gmail.com>
2441 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2442 (union ibm_extended_long_double): Define as an array of ieee754_double.
2443 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2444 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2445 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2446 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2448 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2450 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2455 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2457 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2458 page size instead of calling getpagesize.
2460 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2461 (LOCFILE_ALIGN_MASK): Likewise.
2462 (LOCFILE_ALIGN_UP): Likewise.
2463 (LOCFILE_ALIGNED_P): Likewise.
2464 * locale/programs/ld-collate.c (collate_output): Use the new
2465 macros instead of __alignof__ (int32_t).
2466 * locale/weight.h (findidx): Likewise.
2468 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2471 * manual/string.texi: Fix strncat and wcsncat.
2473 2013-10-03 Brooks Moses <bmoses@google.com>
2476 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2477 * Makerules: ...here, and adjust associated comments.
2479 2013-10-02 Will Newton <will.newton@linaro.org>
2481 * malloc/Makefile: Add tst-pvalloc.
2482 * malloc/tst-pvalloc.c: New file.
2484 2013-10-02 Will Newton <will.newton@linaro.org>
2486 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2487 improve test coverage.
2489 2013-10-02 Will Newton <will.newton@linaro.org>
2491 * malloc/Makefile: Add tst-posix_memalign.
2492 * malloc/tst-posix_memalign.c: New file.
2494 2013-10-01 Eric Blake <eblake@redhat.com>
2496 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2497 Use __THROWNL rather than __THROW on static functions.
2499 2013-09-30 Petr Machata <pmachata@redhat.com>
2501 * elf/elf.h (R_AARCH64_ABS16): New macro.
2502 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2503 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2504 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2505 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2506 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2507 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2508 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2509 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2510 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2511 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2512 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2513 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2514 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2515 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2516 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2517 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2518 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2519 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2520 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2521 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2522 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2523 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2524 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2525 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2526 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2527 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2528 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2529 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2530 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2531 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2532 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2533 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2534 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2535 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2536 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2537 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2538 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2539 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2540 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2541 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2542 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2543 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2544 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2545 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2546 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2547 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2548 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2549 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2550 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2551 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2552 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2553 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2554 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2555 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2556 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2557 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2558 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2559 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2560 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2561 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2562 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2563 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2564 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2565 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2566 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2567 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2568 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2569 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2570 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2571 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2572 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2573 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2574 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2575 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2576 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2577 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2578 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2579 (R_AARCH64_TLSDESC_LDR): Likewise.
2580 (R_AARCH64_TLSDESC_ADD): Likewise.
2581 (R_AARCH64_TLSDESC_CALL): Likewise.
2583 2013-09-30 Andreas Schwab <schwab@suse.de>
2586 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2587 the nss database lookup.
2588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2591 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2593 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2595 2013-09-28 P. J. McDermott <pj@pehjota.net>
2597 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2598 ${Bash-specific parameter/pattern/string} parameter expansion.
2599 * sysdeps/unix/make-syscalls.sh: Likewise.
2601 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2603 * sysdeps/sh/stackguard-macros.h: New file.
2605 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2609 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2610 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2611 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2612 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2614 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2616 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2617 Fix thread ID register.
2619 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2621 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2622 [POSIX || UNIX98]: Require rather than permitting all symbols from
2624 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2625 element of struct sched_param.
2626 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2627 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2628 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2629 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2632 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2634 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2635 argument calculation.
2637 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2639 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2641 [POSIX] (pthread_attr_t): Do not require type.
2642 [POSIX] (pthread_cond_t): Likewise.
2643 [POSIX] (pthread_condattr_t): Likewise.
2644 [POSIX] (pthread_key_t): Likewise.
2645 [POSIX] (pthread_mutex_t): Likewise.
2646 [POSIX] (pthread_mutexattr_t): Likewise.
2647 [POSIX] (pthread_once_t): Likewise.
2648 [POSIX] (pthread_t): Likewise.
2649 [POSIX-based standards] (pthread_atfork): Expect function.
2651 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2652 Richard Sandiford <richard@codesourcery.com>
2654 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2655 (swap_endianness_p): New extern variable.
2656 (set_big_endian): New inline function.
2657 (maybe_swap_uint32): Likewise.
2658 (maybe_swap_uint32_array): Likewise.
2659 (maybe_swap_uint32_obstack): Likewise.
2660 * locale/programs/locfile.c: Include <stdbool.h>.
2661 (swap_endianness_p): New variable.
2662 (add_locale_uint32): Call maybe_swap_uint32.
2663 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2664 (write_locale_data): Call maybe_swap_uint32_array.
2665 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2667 (obstack_int32_grow_fast): Likewise.
2668 (output_weightwc): Call maybe_swap_uint32_obstack.
2669 (collate_output): Likewise.
2670 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2671 (OPT_LITTLE_ENDIAN): Likewise.
2672 (options): Add --little-endian and --big-endian options.
2673 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2674 * locale/programs/locarchive.c: Include "locfile.h".
2678 (create_archive): Use the new macros to access fields of
2679 structures directly mapped from or written to locale archives.
2680 (oldlocrecentcmp): Likewise.
2681 (enlarge_archive): Likewise.
2682 (insert_name): Likewise.
2683 (add_alias): Likewise.
2684 (add_locale): Likewise.
2685 (delete_locales_from_archive): Likewise.
2686 (show_archive_content): Likewise.
2687 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2690 2013-09-24 Roland McGrath <roland@hack.frob.com>
2692 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2693 http://www.gnu.org/doc/freemanuals.texi.
2694 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2696 2013-09-24 Will Newton <will.newton@linaro.org>
2698 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2701 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2703 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2706 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2708 * manual/threads.texi (POSIX Threads): Fix a typo.
2710 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2713 * string/tst-strcoll-overflow.c: New test case.
2714 * string/Makefile (xtests): Add tst-strcoll-overflow.
2715 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2716 cache if string sizes may cause integer overflow.
2719 * string/strcoll_l.c (coll_seq): New members rule, idx,
2720 save_idx and back_us.
2721 (get_next_seq_nocache): New function.
2722 (do_compare_nocache): New function.
2723 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2726 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2729 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2730 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2731 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2734 * elf/Makefile (tests): Add tst-ptrguard1.
2735 (tests-static): Add tst-ptrguard1-static.
2736 (tst-ptrguard1-ARGS): Define.
2737 (tst-ptrguard1-static-ARGS): Define.
2738 * elf/tst-ptrguard1.c: New file.
2739 * elf/tst-ptrguard1-static.c: New file.
2740 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2741 * sysdeps/i386/stackguard-macros.h: Likewise.
2742 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2743 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2744 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2745 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2746 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2747 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2749 2013-09-23 Hector Marco <hecmargi@upv.es>
2750 Ismael Ripoll <iripoll@disca.upv.es>
2751 Carlos O'Donell <carlos@redhat.com>
2754 * sysdeps/generic/stackguard-macros.h: Define
2755 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2756 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2757 Define __pointer_chk_guard_local.
2758 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2759 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2761 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2764 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2766 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2768 * include/string.h (__ffs): Declare as hidden.
2769 * string/ffs.c (__ffs): Define as hidden.
2770 * sysdeps/i386/ffs.c (__ffs): Likewise.
2771 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2772 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2773 * sysdeps/s390/ffs.c (__ffs): Likewise.
2774 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2776 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2778 * NEWS: Mention malloc probes.
2780 * malloc/arena.c (new_heap): New memory_heap_new probe.
2781 (grow_heap): New memory_heap_more probe.
2782 (shrink_heap): New memory_heap_less probe.
2783 (heap_trim): New memory_heap_free probe.
2784 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2785 (systrim): New memory_sbrk_less probe.
2786 * manual/probes.texi: Document them.
2788 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2789 * manual/probes.texi: Document it.
2791 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2792 (__libc_realloc): Add memory_realloc_retry probe.
2793 (__libc_memalign): Add memory_memalign_retry probe.
2794 (__libc_valloc): Add memory_valloc_retry probe.
2795 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2796 (__libc_calloc): Add memory_calloc_retry probe.
2797 * manual/probes.texi: Document them.
2799 * malloc/arena.c (get_free_list): Add probe
2800 memory_arena_reuse_free_list.
2801 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2802 and memory_arena_reuse.
2803 (arena_get2) [!PER_THREAD]: Likewise.
2804 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2805 memory_arena_reuse_realloc.
2806 * manual/probes.texi: Document them.
2808 * malloc/malloc.c (__libc_free): Add
2809 memory_mallopt_free_dyn_thresholds probe.
2810 (__libc_mallopt): Add multiple memory_mallopt probes.
2811 * manual/probes.texi: Document them.
2813 * malloc/malloc.c: Include stap-probe.h.
2814 (__libc_mallopt): Add memory_mallopt probe.
2815 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2816 * manual/probes.texi: New.
2817 * manual/Makefile (chapters): Add probes.
2818 * manual/threads.texi: Set next node.
2820 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2823 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2824 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2825 Add `Chinese' to `nan' entry name.
2827 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2829 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2830 (POLYNOMIAL): Likewise.
2831 (TAYLOR_SINCOS): Likewise.
2832 (TAYLOR_SLOW): Likewise.
2833 (__sin): Use TAYLOR_SINCOS.
2835 (slow): Use TAYLOR_SLOW.
2840 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2842 * stdlib/strtod_l.c: Fix buffer overrun.
2844 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2846 * benchtests/Makefile (bench): Add sincos.
2847 * benchtests/bench-sincos.c: New file.
2849 * math/libm-test.inc (cos_test_data): New test inputs.
2850 (sin_test_data): Likewise.
2852 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2860 (bsloww1): Likewise.
2861 (bsloww2): Likewise.
2863 (csloww1): Likewise.
2864 (csloww2): Likewise.
2866 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2871 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2875 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2877 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2878 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2879 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2880 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2881 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2882 * elf/cache.c (print_entry): Handle the new cache flags.
2884 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2885 Aldy Hernandez <aldyh@redhat.com>
2887 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2888 Change condition to [_SOFT_FLOAT].
2889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2893 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2896 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2901 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2904 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2907 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2909 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2910 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2911 (__longjmp): Use LOAD_GP to load saved GPRs.
2912 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2913 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2914 (__sigsetjmp): Use SAVE_GP to save GPRs.
2916 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2917 Do not append -msoft-float.
2918 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2920 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2922 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2924 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2928 (_FPU_GETCW): Use initial "__" on variable and field names but not
2929 on macro parameter name.
2930 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2931 parentheses around reference to macro parameter.
2933 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2935 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2937 (ctype_startup): Use uint32_t in cast and sizeof for
2940 2013-09-11 Jia Liu <proljc@gmail.com>
2942 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2944 [__FreeBSD__]: Likewise.
2946 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2949 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2950 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2951 (strchr): Remove __strchr_sse42 ifunc selection.
2952 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2953 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2955 2013-09-11 Will Newton <will.newton@linaro.org>
2957 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2958 parameter to RES. Remove hardcoded 1000 value.
2959 * benchtests/bench-skeleton.c (main): Pass RES parameter
2960 to TIMING_INIT and multiply result by 1000.
2962 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2966 2013-09-11 Andreas Schwab <schwab@suse.de>
2968 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2970 (O_TMPFILE) [__USE_GNU]: Define.
2971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2974 2013-09-11 Will Newton <will.newton@linaro.org>
2977 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2980 2013-09-11 Will Newton <will.newton@linaro.org>
2983 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2986 2013-09-11 Will Newton <will.newton@linaro.org>
2989 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2992 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2994 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2995 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3000 2013-09-10 Allan McRae <allan@archlinux.org>
3003 * manual/arith.texi (Parsing of Floats): Clarify
3007 * manual/install.texi (Running make install): Mention
3009 * INSTALL: Regenerated.
3011 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3013 * csu/init-first.c (_init): Remove the !SHARED condition around
3014 FPU control word initialization.
3015 * elf/dl-support.c (_dl_fpu_control): New variable.
3016 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3017 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3018 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3019 * math/test-fpucw-static.c: New file.
3020 * math/test-fpucw-ieee.c: New file.
3021 * math/test-fpucw-ieee-static.c: New file.
3022 * math/Makefile (tests): Add `test-fpucw-ieee' and
3024 (tests-static): New variable.
3025 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3027 [($(build-shared),yes)]
3028 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3030 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3033 2013-09-09 Allan McRae <allan@archlinux.org>
3036 * manual/string.texi (Collation Functions): Fix typo in
3038 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3041 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3044 * libio/memstream.c (open_memstream): Fix memory leak.
3045 * libio/wmemstream.c (open_wmemstream): Likewise.
3048 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3050 2013-09-09 Will Newton <will.newton@linaro.org>
3052 * malloc/Makefile: Add tst-realloc to tests.
3053 * malloc/tst-realloc.c: New file.
3055 2013-09-09 Allan McRae <allan@archlinux.org>
3058 * COPYING: Update from GNU website to fix FSF address.
3059 * COPYING.LIB: Likewise.
3061 2013-09-06 David S. Miller <davem@davemloft.net>
3063 * po/zh_TW.po: Update Chinese (traditional) translation from
3064 translation project.
3066 2013-09-06 Richard Sandiford <richard@codesourcery.com>
3067 Joseph Myers <joseph@codesourcery.com>
3069 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3071 (obstack_chunk_alloc): New macro.
3072 (obstack_chunk_free): Likewise.
3073 (record_offset): New function.
3074 (init_locale_data): Likewise.
3075 (align_locale_data): Likewise.
3076 (add_locale_empty): Likewise.
3077 (add_locale_raw_data): Likewise.
3078 (add_locale_raw_obstack): Likewise.
3079 (add_locale_string): Likewise.
3080 (add_locale_wstring): Likewise.
3081 (add_locale_uint32): Likewise.
3082 (add_locale_uint32_array): Likewise.
3083 (add_locale_char): Likewise.
3084 (start_locale_structure): Likewise.
3085 (end_locale_structure): Likewise.
3086 (start_locale_prelude): Likewise.
3087 (end_locale_prelude): Likewise.
3088 (write_locale_data): Take locale_file structure rather than an
3090 * locale/programs/locfile.h: Include "obstack.h".
3091 (struct locale_file): Change to store locale file contents instead
3093 (init_locale_data): New prototype.
3094 (align_locale_data): Likewise.
3095 (add_locale_empty): Likewise.
3096 (add_locale_raw_data): Likewise.
3097 (add_locale_raw_obstack): Likewise.
3098 (add_locale_string): Likewise.
3099 (add_locale_wstring): Likewise.
3100 (add_locale_uint32): Likewise.
3101 (add_locale_uint32_array): Likewise.
3102 (add_locale_char): Likewise.
3103 (start_locale_structure): Likewise.
3104 (end_locale_structure): Likewise.
3105 (start_locale_prelude): Likewise.
3106 (end_locale_prelude): Likewise.
3107 (write_locale_data): Update prototype.
3108 * locale/programs/3level.h (struct TABLE): Remove result field.
3109 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3110 Use new locale_file interface.
3111 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3112 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3113 * locale/programs/ld-address.c (address_output): Use new
3114 locale_file interface.
3115 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3117 (collate_finish): Don't call collseq_table_finalize.
3118 (collate_output): Use new locale_file interface.
3119 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3121 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3122 (TABLE): Move defines earlier in file.
3123 (ELEMENT): Likewise.
3124 (DEFAULT): Likewise.
3125 (wctrans_table_add): Move macro and inline function earlier in
3127 (struct wctype_table): Move type earlier in file.
3128 (add_locale_wctype_table): New static prototype.
3129 (struct locale_ctype_t): Use logical types instead of struct iovec
3130 pointers for members.
3131 (ctype_output): Use new locale_file interface.
3132 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3133 new locale_file interface.
3134 (allocate_arrays): Update for use of new locale_file interface.
3135 * locale/programs/ld-identification.c (identification_output): Use
3136 new locale_file interface.
3137 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3138 * locale/programs/ld-messages.c (messages_output): Likewise.
3139 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3140 * locale/programs/ld-name.c (name_output): Likewise.
3141 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3142 * locale/programs/ld-paper.c (paper_output): Likewise.
3143 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3144 * locale/programs/ld-time.c (time_output): Likewise.
3146 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148 * benchtests/Makefile: Add memrchr benchmark.
3149 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3150 benchmark as memrchr.
3151 * benchtests/bench-memrchr-ifunc.c: New file.
3152 * benchtests/bench-memrchr.c: New file.
3154 2013-09-06 Will Newton <will.newton@linaro.org>
3156 * benchtests/Makefile (string-bench): Add memcpy.
3158 2013-09-05 Carlos O'Donell <carlos@redhat.com>
3159 Cong Wang <amwang@redhat.com>
3161 * sysdeps/unix/sysv/linux/bits/in.h
3162 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3163 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3164 before __USE_KERNEL_IPV6_DEFS uses.
3165 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3167 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3168 sockaddr_in6, or ipv6_mreq.
3170 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3172 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3173 memory access for final bytes in some large inputs.
3174 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3176 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3178 * string/test-memrchr.c: New file.
3179 * string/test-memrchr-ifunc.c: New file.
3180 * string/Makefile: Add new memrchr testcase.
3182 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3184 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3185 fanotify_init returns EPERM.
3187 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3189 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3191 (top level): Treat second token from macro or constant entries for
3192 allowed headers as allowed.
3193 * include/complex.h: Condition internal declarations on
3195 * include/fenv.h: Condition include of <stdbool.h> and internal
3196 declarations on [!_ISOMAC].
3198 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3201 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3203 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3205 * configure.in (--enable-versioning): Remove configure option.
3206 (libc_cv_asm_symver_directive): Remove configure test.
3207 (libc_cv_ld_version_script_option): Likewise.
3208 (VERSIONING): Remove variable and AC_SUBST.
3209 (DO_VERSIONING): Remove AC_DEFINE.
3210 * configure: Regenerated.
3211 * config.h.in (DO_VERSIONING): Remove macro.
3212 * Makerules [$(versioning) = yes]: Change conditionals to
3213 [$(build-shared) = yes].
3214 * config.make.in (versioning): Remove variable.
3215 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3216 [$(build-shared) = yes].
3217 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3218 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3219 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3220 [$(build-shared) = yes].
3221 * extra-lib.mk [$(versioning) = yes]: Likewise.
3222 * hurd/Makefile [$(versioning) = yes]: Likewise.
3223 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3225 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3227 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3228 [SHARED && !NO_HIDDEN].
3229 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3231 [SHARED && DO_VERSIONING]: Likewise..
3232 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3233 [$(build-shared) = yes].
3234 * manual/install.texi (--disable-versioning): Remove
3236 * INSTALL: Regenerated.
3237 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3239 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3240 [$(build-shared) = yes].
3241 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3242 * sysdeps/i386/i686/multiarch/strstr-c.c
3243 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3244 [SHARED && !NO_HIDDEN].
3245 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3246 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3247 * sysdeps/powerpc/powerpc32/dl-machine.c
3248 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3249 * sysdeps/powerpc/powerpc32/sysdep.h
3250 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3251 to [SHARED && PIC && !NO_HIDDEN].
3252 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3253 conditional to [SHARED].
3255 2013-09-04 Will Newton <will.newton@linaro.org>
3257 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3258 * benchtests/bench-string.h: Include bench-timing.h instead
3259 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3260 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3261 call to HP_TIMING_DIFF_INIT.
3262 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3263 instead of hp-timing.h macros.
3264 * benchtests/bench-memchr.c: Likewise.
3265 * benchtests/bench-memcmp.c: Likewise.
3266 * benchtests/bench-memcpy.c: Likewise.
3267 * benchtests/bench-memmem.c: Likewise.
3268 * benchtests/bench-memmove.c: Likewise.
3269 * benchtests/bench-memset.c: Likewise.
3270 * benchtests/bench-rawmemchr.c: Likewise.
3271 * benchtests/bench-strcasecmp.c: Likewise.
3272 * benchtests/bench-strcasestr.c: Likewise.
3273 * benchtests/bench-strcat.c: Likewise.
3274 * benchtests/bench-strchr.c: Likewise.
3275 * benchtests/bench-strcmp.c: Likewise.
3276 * benchtests/bench-strcpy.c: Likewise.
3277 * benchtests/bench-strcpy_chk.c: Likewise.
3278 * benchtests/bench-strlen.c: Likewise.
3279 * benchtests/bench-strncasecmp.c: Likewise.
3280 * benchtests/bench-strncat.c: Likewise.
3281 * benchtests/bench-strncmp.c: Likewise.
3282 * benchtests/bench-strncpy.c: Likewise.
3283 * benchtests/bench-strnlen.c: Likewise.
3284 * benchtests/bench-strpbrk.c: Likewise.
3285 * benchtests/bench-strrchr.c: Likewise.
3286 * benchtests/bench-strspn.c: Likewise.
3287 * benchtests/bench-strstr.c: Likewise.
3289 2013-09-04 Will Newton <will.newton@linaro.org>
3291 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3293 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3296 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3297 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3298 * math/libm-test.inc (lgamma_test_data): Add more tests.
3299 * sysdeps/i386/fpu/libm-test-ulps: Update.
3300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3302 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3304 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3308 Add strcmp-sse2-unaligned
3309 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3311 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3313 * Versions.def (libc): Add GLIBC_2.19.
3315 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3317 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3318 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3320 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3323 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3324 intermediate calculations in recurrence.
3325 (__ieee754_ynf): Likewise.
3326 * math/libm-test.inc (jn_test_data): Do not allow spurious
3327 underflow exception. Add more tests.
3328 (yn_test_data): Add more tests.
3329 * sysdeps/i386/fpu/libm-test-ulps: Update.
3330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3332 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3334 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3336 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3338 * csu/init-first.c: Fix then/than typos.
3339 * locale/programs/ld-collate.c: Likewise.
3340 * locale/programs/linereader.h: Likewise.
3341 * manual/charset.texi: Likewise.
3342 * manual/filesys.texi: Likewise.
3343 * manual/stdio.texi: Likewise.
3344 * manual/string.texi: Likewise.
3345 * stdlib/fmtmsg.c: Likewise.
3346 * sysdeps/i386/stpncpy.S: Likewise.
3347 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3348 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3349 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3350 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3352 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3354 * elf/dl-open.c: Fix typos.
3355 * iconvdata/gbbig5.c: Likewise.
3356 * iconvdata/iso-2022-jp.c: Likewise.
3357 * iconv/gconv_int.h: Likewise.
3358 * iconv/loop.c: Likewise.
3359 * nis/rpcsvc/nis.h: Likewise.
3360 * resolv/ns_name.c: Likewise.
3361 * stdio-common/vfscanf.c: Likewise.
3362 * streams/stropts.h: Likewise.
3363 * sunrpc/rpc_thread.c: Likewise.
3364 * sysdeps/i386/strpbrk.S: Likewise.
3365 * sysdeps/ieee754/k_standard.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3368 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3369 * sysdeps/mach/hurd/profil.c: Likewise.
3370 * sysdeps/s390/dl-procinfo.h: Likewise.
3371 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3373 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3374 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3375 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3377 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3379 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3382 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3384 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3386 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3387 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3388 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3389 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3390 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3391 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3392 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3393 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3395 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3396 Roland McGrath <roland@hack.frob.com>
3398 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3399 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3401 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3403 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3404 __executable_start symbol instead of _start.
3406 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3408 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3409 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3411 * sysdeps/gnu/ldsodefs.h: ... this new file.
3413 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3414 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3415 instead of ELFOSABI_LINUX.
3417 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3418 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3419 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3420 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3422 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3423 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3424 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3426 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3427 (ibm_extended_long_double): Add ieee_nan member.
3428 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3429 (do_test): New function.
3431 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3433 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3434 functions, renamed from truncdfsf_test, trunctfsf_test,
3436 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3438 (do_test): Run all these.
3440 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3442 * argp/argp-help.c: Fix typos.
3443 * argp/argp-parse.c: Likewise.
3444 * debug/backtracesyms.c: Likewise.
3445 * elf/elf.h: Likewise.
3446 * malloc/malloc.c: Likewise.
3447 * nis/nis_print.c: Likewise.
3448 * resolv/res_comp.c: Likewise.
3449 * stdlib/stdlib.h: Likewise.
3450 * sunrpc/clnt_tcp.c: Likewise.
3451 * sunrpc/clnt_udp.c: Likewise.
3452 * sunrpc/clnt_unix.c: Likewise.
3453 * sysdeps/unix/bsd/ptsname.c: Likewise.
3454 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3455 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3462 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3464 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3466 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3469 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3472 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3473 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3474 ($(objpfx)bug-dl-leaf): New rule.
3475 ($(objpfx)bug-dl-leaf.so): Likewise.
3476 ($(objpfx)bug-dl-leaf.out): Likewise.
3477 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3478 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3479 * dlfcn/bug-dl-leaf.c: New test.
3480 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3481 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3482 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3483 (dlclose): Likewise.
3484 (dlmopen): Likewise.
3486 2013-08-27 Roland McGrath <roland@hack.frob.com>
3488 * include/netdb.h [!_ISOMAC]:
3489 Don't include <tls.h>.
3490 (h_errno, __libc_h_errno): Move declaration and macros out of
3493 * include/resolv.h [_RESOLV_H_]:
3494 Don't include <tls.h>.
3495 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3496 * resolv/res_libc.c: Don't include <tls.h>.
3497 (_res): Use __attribute__ ((nocommon)) in place of
3498 __attribute__ ((section (".bss"))).
3500 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3501 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3503 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3505 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3506 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3508 * resolv/res_mkquery.c: Include <sys/time.h>.
3510 * inet/ifreq.c: Moved to ...
3511 * sysdeps/unix/ifreq.c: ... here.
3512 * inet/ifreq.c: New file, true stub version.
3514 * socket/sa_len.c: New file.
3515 * socket/Makefile (aux): Add it.
3516 * sysdeps/unix/sysv/linux/Makefile
3517 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3518 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3519 and #include <socket/sa_len.c>.
3520 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3521 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3523 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3524 * bits/socket.h: ... here.
3526 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3527 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3528 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3530 2013-08-27 Andreas Schwab <schwab@suse.de>
3533 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3534 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3535 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3536 * string/test-strcasecmp.c (test_main): Run tests in several
3538 * string/test-strncasecmp.c (test_main): Likewise.
3540 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3541 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3542 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3544 (__strncasecmp_ssse3) [PIC]: Likewise.
3546 2013-08-26 Roland McGrath <roland@hack.frob.com>
3548 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3550 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3551 instead of explicitly declaring xdecrypt.
3552 * nis/nss_nis/nis-publickey.c: Likewise.
3554 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3557 * nscd/aicache.c: Include res_hconf.h.
3558 (addhstaiX): Initialize res_hconf.
3560 2013-08-26 Andreas Schwab <schwab@suse.de>
3562 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3563 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3565 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3567 * nscd/aicache.c (addhstaiX): Fix indentation.
3569 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3571 * configure.ac: Quote $build_pt_chown test.
3572 * configure: Regenerated.
3574 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3577 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3578 * math/s_cexpf.c (__cexpf): Likewise.
3579 * math/s_cexpl.c (__cexpl): Likewise.
3580 * math/libm-test.inc (cexp_test_data): Correct expected return
3581 value for NaN + i0. Add another test.
3583 2013-08-22 David S. Miller <davem@davemloft.net>
3585 * po/ca.po: Update Catalan translation from translation project.
3586 * po/uk.po: Add Ukrainian translations from translation project.
3588 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3591 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3592 is infinite, not alongside NaN test.
3593 * math/s_fdimf.c (__fdimf): Likewise.
3594 * math/s_fdiml.c (__fdiml): Likewise.
3595 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3598 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3600 * argp/argp-help.c: Fix typos.
3601 * crypt/speeds.c: Likewise.
3602 * csu/check_fds.c: Likewise.
3603 * elf/dl-load.c: Likewise.
3604 * elf/dl-open.c: Likewise.
3605 * elf/reldep3.c: Likewise.
3606 * elf/reldep.c: Likewise.
3607 * elf/sprof.c: Likewise.
3608 * iconv/iconv_charmap.c: Likewise.
3609 * iconv/skeleton.c: Likewise.
3610 * iconv/strtab.c: Likewise.
3611 * io/lockf64.c: Likewise.
3612 * libio/libioP.h: Likewise.
3613 * resolv/gai_notify.c: Likewise.
3614 * resolv/ns_name.c: Likewise.
3615 * resolv/ns_samedomain.c: Likewise.
3616 * resolv/res_send.c: Likewise.
3617 * stdlib/random.c: Likewise.
3618 * sunrpc/rpc/xdr.h: Likewise.
3619 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3620 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3627 * sysdeps/mach/hurd/check_fds.c: Likewise.
3628 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3629 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3630 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3631 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3632 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3633 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3634 * sysdeps/pthread/aio_notify.c: Likewise.
3635 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3636 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3637 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3639 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3641 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3643 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3644 version if bit_Slow_SSE4_2 is set.
3645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3646 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3648 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3651 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3652 trampoline stack frame information.
3653 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3654 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3655 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3656 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3657 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3658 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3659 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3660 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3662 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3663 interrupting a syscall and set with option SA_SIGINFO.
3665 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3668 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3669 argument is infinite.
3670 * math/s_cprojf.c (__cprojf): Likewise.
3671 * math/s_cprojl.c (__cprojl): Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3673 * math/libm-test.inc (cproj_test_data): Add more tests.
3675 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3677 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3678 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3679 size. Use __ffs to determine corresponding shift.
3681 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3682 Roland McGrath <roland@hack.frob.com>
3684 * Makefile (INSTALL): Remove trailing blank lines from output of
3687 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3689 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3690 Align 32 bit compat elf_greg to 8 bytes.
3692 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3694 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3696 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3698 * string/strcoll_l.c (coll_seq): New structure.
3699 (get_next_seq_cached): New function.
3700 (get_next_seq): New function.
3701 (do_compare): New function.
3702 (STRCOLL): Use GNU style definition. Simplify implementation
3703 by using get_next_seq, get_next_seq_cached and do_compare.
3705 2013-08-16 Florian Weimer <fweimer@redhat.com>
3709 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3711 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3713 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3714 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3715 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3717 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3718 GETDENTS_64BIT_ALIGNED.
3719 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3720 * manual/filesys.texi (Reading/Closing Directory): Document
3721 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3723 * manual/conf.texi (Limits for Files): Add portability note to
3725 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3727 2013-08-13 Andreas Schwab <schwab@suse.de>
3730 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3732 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3733 LDBL_MAX_EXP >= 16384]: Add tests for it.
3735 2013-08-12 David S. Miller <davem@davemloft.net>
3737 * version.h (RELEASE): Set to "development".
3738 (VERSION): Set to "2.18.90".
3739 * NEWS: Add 2.19 section.
3741 2013-08-03 David S. Miller <davem@davemloft.net>
3743 * po/ko.po: Update Korean translation from translation project.
3745 2013-08-01 David S. Miller <davem@davemloft.net>
3747 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3748 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3751 2013-07-30 David S. Miller <davem@davemloft.net>
3753 * po/fr.po: Update French translation from translation project.
3755 2013-07-28 David S. Miller <davem@davemloft.net>
3757 * po/cs.po: Update Czech translation from translation project.
3759 * po/sv.po: Update Swedish translation from translation project.
3761 2013-07-27 David S. Miller <davem@davemloft.net>
3763 * po/eo.po: Update Esperanto translation from translation project.
3765 * po/vi.po: Update Vietnamese translation from translation project.
3767 * po/de.po: Update German translation from translation project.
3769 2013-07-26 David S. Miller <davem@davemloft.net>
3771 * po/bg.po: Update Bulgarian translation from translation project.
3773 * po/nl.po: Update Dutch translation from translation project.
3774 * po/pl.po: Update Polish translation from translation project.
3775 * po/ru.po: Update Russian translation from translation project.
3777 2013-07-24 David S. Miller <davem@davemloft.net>
3779 * po/libc.pot: Update.
3781 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3783 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3785 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3787 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3789 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3791 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3793 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3794 Andreas Schwab <schwab@suse.de>
3795 Roland McGrath <roland@hack.frob.com>
3796 Joseph Myers <joseph@codesourcery.com>
3797 Carlos O'Donell <carlos@redhat.com>
3800 * config.h.in: Define HAVE_PT_CHOWN.
3801 * config.make.in (build-pt-chown): New variable.
3802 * configure.in (--enable-pt_chown): New configure option.
3803 * configure: Regenerate.
3804 * login/Makefile: Include Makeconfig. Build pt_chown only if
3805 build-pt-chown is enabled.
3806 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3807 pt_chown to fix pty ownership.
3808 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3810 * manual/install.texi (Configuring and compiling): Mention
3811 --enable-pt_chown. Add @findex for grantpt.
3812 * INSTALL: Regenerate.
3814 2013-07-20 David S. Miller <davem@davemloft.net>
3816 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3817 difference between 32-bit and 64-bit.
3819 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3822 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3823 Avoid system header dependency with -ffreestanding.
3824 ($(objpfx)bits/syscall%d): Likewise.
3826 2013-07-13 David S. Miller <davem@davemloft.net>
3828 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3829 underflows from atanl/atan2l due to bug 15319.
3830 (casinh_test_data): Likewise.
3832 2013-07-07 David S. Miller <davem@davemloft.net>
3834 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3836 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3838 * sysdeps/i386/fpu/libm-test-ulps: Update.
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3841 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3843 * configure.in (--enable-lock-elision): Fix message text.
3844 * INSTALL: Regenerate.
3845 * configure: Regenerate.
3847 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3851 2013-07-03 Andreas Jaeger <aj@suse.de>
3853 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3855 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3856 (ptrace_peeksiginfo_args): Add.
3857 (__ptrace_peeksiginfo_flags): Add.
3858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3859 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3860 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3862 2013-07-03 Allan McRae <allan@archlinux.org>
3864 * sysdeps/i386/fpu/libm-test-ulps: Update.
3866 2013-07-02 David S. Miller <davem@davemloft.net>
3868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3870 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3874 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3876 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3879 2013-07-02 Andi Kleen <ak@linux.intel.com>
3881 * config.h.in (ENABLE_LOCK_ELISION): Add.
3882 * configure.in (--enable-lock-elision): Add option.
3883 * manual/install.texi: Document --enable lock elision.
3884 * configure: Regenerate
3885 * INSTALL: Regenerate.
3887 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3889 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3890 SSE4.2 strcasecmp for libc.a.
3891 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3893 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3896 * soft-fp/op-common.h (_FP_FMA): New macro.
3897 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3898 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3899 (_FP_MUL_MEAT_1_imm): ... here.
3900 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3901 (_FP_MUL_MEAT_1_wide): ... here.
3902 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3903 (_FP_MUL_MEAT_1_hard): ... here.
3904 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3905 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3906 (_FP_MUL_MEAT_2_wide): ... here.
3907 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3908 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3909 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3910 (_FP_MUL_MEAT_2_gmp): ... here.
3911 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3912 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3913 (_FP_MUL_MEAT_4_wide): ... here.
3914 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3915 (_FP_MUL_MEAT_4_gmp): ... here.
3916 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3917 (_FP_WFRACBITS_DW_S): Likewise.
3918 (_FP_WFRACXBITS_DW_S): Likewise.
3919 (_FP_HIGHBIT_DW_S): Likewise.
3920 (FP_FMA_S): Likewise.
3921 (_FP_FRAC_HIGH_DW_S): Likewise.
3922 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3923 (_FP_WFRACBITS_DW_D): Likewise.
3924 (_FP_WFRACXBITS_DW_D): Likewise.
3925 (_FP_HIGHBIT_DW_D): Likewise.
3926 (FP_FMA_D): Likewise.
3927 (_FP_FRAC_HIGH_DW_D): Likewise.
3928 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3929 (_FP_WFRACBITS_DW_E): Likewise.
3930 (_FP_WFRACXBITS_DW_E): Likewise.
3931 (_FP_HIGHBIT_DW_E): Likewise.
3932 (FP_FMA_E): Likewise.
3933 (_FP_FRAC_HIGH_DW_E): Likewise.
3934 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3935 (_FP_WFRACBITS_DW_Q): Likewise.
3936 (_FP_WFRACXBITS_DW_Q): Likewise.
3937 (_FP_HIGHBIT_DW_Q): Likewise.
3938 (FP_FMA_Q): Likewise.
3939 (_FP_FRAC_HIGH_DW_Q): Likewise.
3940 * soft-fp/fmasf4.c: New file.
3941 * soft-fp/fmadf4.c: Likewise.
3942 * soft-fp/fmatf4.c: Likewise.
3944 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3947 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3951 (index_Slow_SSE4_2): Likewise.
3952 (index_Prefer_PMINUB_for_stringop): Likewise.
3953 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3954 bit_Slow_SSE4_2 is set.
3955 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3958 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3960 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3961 rtld_global._dl_hwcap2.
3962 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3964 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3965 POWER8 feature descriptions defined in _dl_hwcap2.
3966 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3967 string handling for POWER8 feature bits.
3968 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3969 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3970 _dl_powerpc_cap_flags.
3971 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3972 * sysdeps/powerpc/rtld-global-offsets.sym
3973 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3974 _dl_hwcap2 in the rtld_global_ro structure.
3976 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3978 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3979 hardware capabilities in support of AT_HWCAP2.
3980 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3981 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3983 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3984 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3985 explicitly the unknown a_type display mechanism is used.
3986 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3987 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3989 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3990 to macro prototype for AT_HWCAP2 support.
3991 * sysdeps/i386/dl-procinfo.h: Likewise.
3992 * sysdeps/s390/dl-procinfo.h: Likewise.
3993 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3994 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3995 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3996 return -1 for unknown a_type display fallback.
3997 * sysdeps/sparc/dl-procinfo.h: Likewise.
3998 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3999 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4001 2013-06-28 Joseph Myers <joseph@codesourcery.com>
4003 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4004 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4006 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4009 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4010 mprotect making __stack_prot writable.
4012 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4013 Joseph Myers <joseph@codesourcery.com>
4015 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4016 as being properly aligned.
4018 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4020 * dlfcn/modstatic5.c: New file.
4021 * dlfcn/tststatic5.c: New file.
4022 * dlfcn/Makefile (tests): Add tststatic5.
4023 (tests-static): Likewise.
4024 (modules-names): Add modstatic5.
4025 (tststatic5-ENV): New variable.
4026 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4029 * elf/dl-support.c (_dl_main_map): New variable.
4030 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4031 (_dl_nns, _dl_load_adds): Set to 1.
4032 (_dl_initial_searchlist): Refer to _dl_main_map.
4033 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4034 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4035 call to _dl_get_origin.
4036 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4038 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4039 * dlfcn/modstatic3.c: New file.
4040 * dlfcn/tststatic3.c: New file.
4041 * dlfcn/tststatic4.c: New file.
4042 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4043 (tests-static): Likewise.
4044 (modules-names): Add modstatic3.
4045 (tststatic3-ENV, tststatic4-ENV): New variables.
4046 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4047 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4049 2013-06-26 Joseph Myers <joseph@codesourcery.com>
4051 * configure.in (CC): Require GCC version 4.4 or later.
4052 * configure: Regenerated.
4053 * manual/install.texi (Tools for Compilation): Update GCC version
4055 * INSTALL: Regenerated.
4057 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4060 * string/test-memcmp.c (check2): New.
4061 (main): Call check2.
4063 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4065 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4068 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4070 (dl_open_worker) [!SHARED]: ... here.
4072 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4074 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4076 2013-06-25 Richard Henderson <rth@redhat.com>
4078 * locale/programs/locarchive.c: Include <libc-internal.h>
4080 2013-06-25 Joseph Myers <joseph@codesourcery.com>
4082 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4083 trailing whitespace removed.
4085 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4088 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4089 * locale/programs/locarchive.c: Include libc-mmap.h.
4090 (prepare_address_space): Take two new outputs (the mmap base and len).
4091 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4093 (create_archive): Declare new mmap base and len values for
4094 prepare_address_space, and store the result in ah.
4095 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4096 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4097 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4098 Declare new mmap base and len values for
4099 prepare_address_space, and store the result in new_ah.
4100 (open_archive): Declare new mmap base and len values for
4101 prepare_address_space, and store the result in ah.
4102 (close_archive): If ah->mmap_base is not NULL, use that and
4103 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4104 * sysdeps/generic/libc-mmap.h: New file.
4106 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4108 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4109 (ALIGN_UP): Likewise.
4110 (PTR_ALIGN_DOWN): Likewise.
4111 (PTR_ALIGN_UP): Likewise.
4113 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4115 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4116 entry mapped to PPC_PLATFORM_POWER8.
4117 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4119 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4120 (_dl_string_platform): Add case for exporting platform position for
4122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4123 search path to sysdeps/powerpc/powerpc32/power8 directory.
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4125 search path to sysdeps/powerpc/powerpc64/power8 directory.
4126 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4128 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4131 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4133 * INSTALL: Regenerate.
4135 * nscd/connections.c (nscd_init): Fix comment.
4137 2013-06-22 Joseph Myers <joseph@codesourcery.com>
4139 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4142 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4143 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4145 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4147 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4149 (DL_DST_REQ_STATIC): Remove macro.
4151 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4154 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4155 with a shift of 0 bits.
4157 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4159 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4162 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4165 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4167 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4170 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4171 accepts -fno-tree-loop-distribute-patterns.
4172 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4173 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4175 * string/memset.c (memset): Likewise.
4176 * string/test-memmove.c (simple_memmove): Disable loop transformation
4178 * string/test-memset.c (simple_memset): Likewise.
4179 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4180 * benchtests/bench-memset.c (simple_memset): Likewise.
4181 * configure: Regenerated.
4183 2013-06-20 Joseph Myers <joseph@codesourcery.com>
4185 * math/test-misc.c (main): Ignore fesetround failure when failures
4186 of subsequent rounding tests would be ignored.
4189 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4190 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4191 * math/fegetenv.c (__fegetenv): Return 0.
4192 * math/fegetexcept.c (fegetexcept): Return 0.
4193 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4195 * math/feholdexcpt.c (feholdexcept): Return 0.
4196 * math/fesetenv.c (__fesetenv): Return 0.
4197 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4198 argument FE_TONEAREST.
4199 * math/feupdateenv.c (__feupdateenv): Return 0.
4200 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4202 2013-06-18 Roland McGrath <roland@hack.frob.com>
4204 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4205 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4206 ($(objpfx)rtld-%.os rules): Use them.
4208 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4210 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4213 2013-06-17 Roland McGrath <roland@hack.frob.com>
4215 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4216 length of target pattern, then descending length of dependency pattern.
4217 * configure.in (AWK): Require gawk 3.1.2 or newer.
4218 * manual/install.texi (Tools for Compilation): Say that we do.
4219 * configure: Regenerated.
4221 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4222 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4223 * scripts/sysd-rules.awk: ... this new script.
4224 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4225 than a glob-style pattern.
4227 2013-06-17 Joseph Myers <joseph@codesourcery.com>
4229 * math/test-misc.c (main): Do not treat incorrectly rounded
4230 conversions as failure unless ROUNDING_TESTS passes.
4232 2013-06-15 Joseph Myers <joseph@codesourcery.com>
4235 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4236 restore exception state around main square root computation, then
4237 check for inexactness explicitly.
4239 * math/libm-test.inc (fma_test_data): Add another test.
4241 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4243 * manual/threads.texi (Non-POSIX Extensions): New document
4244 node. Document pthread_getattr_default_np and
4245 pthread_setattr_default_np.
4247 * Versions.def (libpthread): Add GLIBC_2.18.
4248 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4257 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4268 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4271 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4273 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4274 H.J. Lu <hjl.tools@gmail.com>
4277 * sysdeps/x86_64/rtld-memset.c: Remove file.
4278 * sysdeps/x86_64/rtld-memset.S: New file.
4280 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4282 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4283 (test_in_one_mode): Take arguments for whether the rounding mode
4284 is supported for each floating-point type.
4285 (do_test): Pass new arguments to test_in_one_mode using
4288 2013-06-13 Roland McGrath <roland@hack.frob.com>
4290 * posix/tst-waitid.c (do_test): Distinguish different instances of
4291 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4292 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4293 before entering the kernel for waitpid.
4295 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4297 * NEWS: Fix note on clock function precision. Text by Roland
4300 2013-06-13 Roland McGrath <roland@hack.frob.com>
4302 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4303 it into place only when and if the sanity check passes.
4305 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4307 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4308 output for whether conversion result is exact. Take argument
4309 indicating whether type is IBM long double.
4310 (round_for_all): Change need_exact field to ibm_ld.
4311 * stdlib/tst-strtod-round.c (struct exactness): New type.
4312 (struct test): Change bool ld_ok field to struct exactness exact.
4313 (TEST): Update all definitions for change to field.
4314 (tests): Regenerate array contents.
4315 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4316 field value. Check for IBM long double here.
4317 (do_test): Update calls to test_in_one_mode.
4319 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4322 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4323 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4325 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4328 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4329 generated by the compiler on loop optimizations.
4330 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4331 general definitions.
4333 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4335 * math/bug-nextafter.c: Include <math-tests.h>.
4336 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4338 * math/bug-nexttoward.c: Include <math-tests.h>.
4339 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4341 * math/test-misc.c: Include <math-tests.h>.
4342 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4345 2013-06-12 Andreas Jaeger <aj@suse.de>
4347 * po/ia.po: Update Interlingua translation from translation
4350 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4352 * include/fenv.h: Include stdbool.h.
4353 (struct rm_ctx): New structure.
4354 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4356 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4357 (SET_RESTORE_ROUNDF): Likewise.
4358 (SET_RESTORE_ROUNDL): Likewise.
4359 (SET_RESTORE_ROUND_NOEX): Likewise.
4360 (SET_RESTORE_ROUND_NOEXF): Likewise.
4361 (SET_RESTORE_ROUND_NOEXL): Likewise.
4362 (SET_RESTORE_ROUND_53BIT): Likewise.
4363 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4364 (libc_feresetround_noexf_ctx): Likewise.
4365 (libc_feresetround_noexl_ctx): Likewise.
4366 (libc_feholdsetround_53bit_ctx): Likewise.
4367 (libc_feresetround_53bit_ctx): Likewise.
4368 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4369 (libc_feholdexcept_setround_sse_ctx): New function.
4370 (libc_fesetenv_sse_ctx): Likewise.
4371 (libc_feupdateenv_sse_ctx): Likewise.
4372 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4373 (libc_feholdexcept_setround_387_ctx): Likewise.
4374 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4375 (libc_feholdsetround_387_prec_ctx): Likewise.
4376 (libc_feholdsetround_387_ctx): Likewise.
4377 (libc_feholdsetround_387_53bit_ctx): Likewise.
4378 (libc_feholdsetround_sse_ctx): Likewise.
4379 (libc_feresetround_sse_ctx): Likewise.
4380 (libc_feresetround_387_ctx): Likewise.
4381 (libc_feupdateenv_387_ctx): Likewise.
4382 (libc_feholdexcept_setroundf_ctx): Define macro.
4383 (libc_fesetenvf_ctx): Likewise.
4384 (libc_feupdateenvf_ctx): Likewise.
4385 (libc_feholdsetroundf_ctx): Likewise.
4386 (libc_feresetroundf_ctx): Likewise.
4387 (libc_feholdexcept_setround_ctx): Likewise.
4388 (libc_fesetenv_ctx): Likewise.
4389 (libc_feupdateenv_ctx): Likewise.
4390 (libc_feholdsetround_ctx): Likewise.
4391 (libc_feresetround_ctx): Likewise.
4392 (libc_feholdexcept_setroundl_ctx): Likewise.
4393 (libc_feupdateenvl_ctx): Likewise.
4394 (libc_feholdsetroundl_ctx): Likewise.
4395 (libc_feresetroundl_ctx): Likewise.
4396 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4397 (libc_feresetround_53bit_ctx): Likewise.
4399 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4401 * locale/iso-639.def: Convert to UTF-8.
4403 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4405 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4406 (EXCEPTION_TESTS_double): Likewise.
4407 (EXCEPTION_TESTS_long_double): Likewise.
4408 (EXCEPTION_TESTS): Likewise.
4409 * math/libm-test.inc (test_exceptions): Only test exceptions if
4410 EXCEPTION_TESTS (FLOAT).
4412 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4414 * benchtests/Makefile (string-bench): Add strcpy_chk and
4416 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4417 * benchtests/bench-stpcpy_chk.c: New file.
4418 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4419 * benchtests/bench-strcpy_chk.c: New file.
4420 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4422 (do_test): Likewise.
4424 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4426 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4427 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4428 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4429 with tabs where appropriate.
4430 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4432 [PPC_PLATFORM_PPC440]: Likewise.
4433 [PPC_PLATFORM_PPC464]: Likewise.
4434 [PPC_PLATFORM_PPC476]: Likewise.
4435 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4436 ppc464, and ppc476 platform strings merging from ports/
4439 2013-06-11 Andreas Schwab <schwab@suse.de>
4442 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4443 (from_ucs4_idx): Regenerate.
4444 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4445 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4446 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4447 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4448 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4449 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4450 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4451 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4452 from FROM_LOOP and TO_LOOP specific macros.
4453 (BODY): Handle combining characters.
4454 * iconvdata/BIG5HKSCS.irreversible: Update.
4455 * iconvdata/BIG5HKSCS.precomposed: New file.
4456 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4458 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4460 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4462 * include/sys/time.h: Fix indentation and add copyright header.
4464 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4465 (do_test): Likewise.
4466 * string/test-memchr.c (do_one_test): Likewise.
4467 (do_test): Likewise.
4468 * string/test-memcmp.c (do_one_test): Likewise.
4469 (do_test): Likewise.
4470 * string/test-memcpy.c (do_one_test): Likewise.
4471 (do_test): Likewise.
4472 * string/test-memmem.c (do_one_test): Likewise.
4473 (do_test): Likewise.
4474 (do_random_tests): Likewise.
4475 * string/test-memmove.c (do_one_test): Likewise.
4476 (do_test): Likewise.
4477 * string/test-memset.c (do_one_test): Likewise.
4478 (do_test): Likewise.
4479 * string/test-rawmemchr.c (do_one_test): Likewise.
4480 (do_test): Likewise.
4481 * string/test-strcasecmp.c (do_one_test): Likewise.
4482 (do_test): Likewise.
4483 * string/test-strcasestr.c (do_one_test): Likewise.
4484 (do_test): Likewise.
4485 * string/test-strcat.c (do_one_test): Likewise.
4486 (do_test): Likewise.
4487 * string/test-strchr.c (do_one_test): Likewise.
4488 (do_test): Likewise.
4489 * string/test-strcmp.c (do_one_test): Likewise.
4490 (do_test): Likewise.
4491 * string/test-strcpy.c (do_one_test): Likewise.
4492 (do_test): Likewise.
4493 * string/test-string.h: Likewise.
4494 (test_init): Likewise.
4495 * string/test-strlen.c (do_one_test): Likewise.
4496 (do_test): Likewise.
4497 * string/test-strncasecmp.c (do_one_test): Likewise.
4498 (do_test): Likewise.
4499 * string/test-strncat.c (do_one_test): Likewise.
4500 (do_test): Likewise.
4501 * string/test-strncmp.c (do_one_test): Likewise.
4502 (do_test_limit): Likewise.
4503 (do_test): Likewise.
4504 * string/test-strncpy.c (do_one_test): Likewise.
4505 (do_test): Likewise.
4506 * string/test-strnlen.c (do_one_test): Likewise.
4507 (do_test): Likewise.
4508 * string/test-strpbrk.c (do_one_test): Likewise.
4509 (do_test): Likewise.
4510 * string/test-strrchr.c (do_one_test): Likewise.
4511 (do_test): Likewise.
4512 * string/test-strspn.c (do_one_test): Likewise.
4513 (do_test): Likewise.
4514 * string/test-strstr.c (do_one_test): Likewise.
4515 (do_test): Likewise.
4517 * benchtests/Makefile (string-bench): Add string benchmarks.
4518 * benchtests/bench-bcopy-ifunc.c: New file.
4519 * benchtests/bench-bcopy.c: New file.
4520 * benchtests/bench-bzero-ifunc.c: New file.
4521 * benchtests/bench-bzero.c: New file.
4522 * benchtests/bench-memccpy-ifunc.c: New file.
4523 * benchtests/bench-memccpy.c: New file.
4524 * benchtests/bench-memchr-ifunc.c: New file.
4525 * benchtests/bench-memchr.c: New file.
4526 * benchtests/bench-memcmp-ifunc.c: New file.
4527 * benchtests/bench-memcmp.c: New file.
4528 * benchtests/bench-memmem-ifunc.c: New file.
4529 * benchtests/bench-memmem.c: New file.
4530 * benchtests/bench-memmove-ifunc.c: New file.
4531 * benchtests/bench-memmove.c: New file.
4532 * benchtests/bench-mempcpy-ifunc.c: New file.
4533 * benchtests/bench-mempcpy.c: New file.
4534 * benchtests/bench-memset-ifunc.c: New file.
4535 * benchtests/bench-memset.c: New file.
4536 * benchtests/bench-rawmemchr-ifunc.c: New file.
4537 * benchtests/bench-rawmemchr.c: New file.
4538 * benchtests/bench-stpcpy-ifunc.c: New file.
4539 * benchtests/bench-stpcpy.c: New file.
4540 * benchtests/bench-stpncpy-ifunc.c: New file.
4541 * benchtests/bench-stpncpy.c: New file.
4542 * benchtests/bench-strcasecmp-ifunc.c: New file.
4543 * benchtests/bench-strcasecmp.c: New file.
4544 * benchtests/bench-strcasestr-ifunc.c: New file.
4545 * benchtests/bench-strcasestr.c: New file.
4546 * benchtests/bench-strcat-ifunc.c: New file.
4547 * benchtests/bench-strcat.c: New file.
4548 * benchtests/bench-strchr-ifunc.c: New file.
4549 * benchtests/bench-strchr.c: New file.
4550 * benchtests/bench-strchrnul-ifunc.c: New file.
4551 * benchtests/bench-strchrnul.c: New file.
4552 * benchtests/bench-strcmp-ifunc.c: New file.
4553 * benchtests/bench-strcmp.c: New file.
4554 * benchtests/bench-strcpy-ifunc.c: New file.
4555 * benchtests/bench-strcpy.c: New file.
4556 * benchtests/bench-strcspn-ifunc.c: New file.
4557 * benchtests/bench-strcspn.c: New file.
4558 * benchtests/bench-strlen-ifunc.c: New file.
4559 * benchtests/bench-strlen.c: New file.
4560 * benchtests/bench-strncasecmp-ifunc.c: New file.
4561 * benchtests/bench-strncasecmp.c: New file.
4562 * benchtests/bench-strncat-ifunc.c: New file.
4563 * benchtests/bench-strncat.c: New file.
4564 * benchtests/bench-strncmp-ifunc.c: New file.
4565 * benchtests/bench-strncmp.c: New file.
4566 * benchtests/bench-strncpy-ifunc.c: New file.
4567 * benchtests/bench-strncpy.c: New file.
4568 * benchtests/bench-strnlen-ifunc.c: New file.
4569 * benchtests/bench-strnlen.c: New file.
4570 * benchtests/bench-strpbrk-ifunc.c: New file.
4571 * benchtests/bench-strpbrk.c: New file.
4572 * benchtests/bench-strrchr-ifunc.c: New file.
4573 * benchtests/bench-strrchr.c: New file.
4574 * benchtests/bench-strspn-ifunc.c: New file.
4575 * benchtests/bench-strspn.c: New file.
4576 * benchtests/bench-strstr-ifunc.c: New file.
4577 * benchtests/bench-strstr.c: New file.
4579 * benchtests/Makefile: Disable parallel execution of targets.
4580 (string-bench): Add memcpy.
4581 (benchset): New variable to store a list of benchmark sets.
4582 (bench-func): Renamed from bench.
4583 (bench-set): New target.
4584 (bench): Depend on bench-func and bench-set.
4585 * benchtests/README: Add section on benchmark sets.
4586 * benchtests/bench-memcpy-ifunc.c: New file.
4587 * benchtests/bench-memcpy.c: New file.
4588 * benchtests/bench-string.h: New file.
4590 2013-06-11 Andreas Schwab <schwab@suse.de>
4593 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4594 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4595 values in the triple.
4596 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4597 terminator in the group key.
4599 2013-06-11 Andreas Jaeger <aj@suse.de>
4601 * po/zh_TW.po: Update Chinese (traditional) translation from
4602 translation project.
4604 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4606 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4607 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4608 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4609 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4610 (clock_getcpuclockid): Likewise.
4611 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4612 Add weak_alias and libc_hidden_def.
4613 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4614 * rt/clock_gettime.c (clock_gettime): Rename to
4615 __clock_gettime. Add weak_alias and libc_hidden_def.
4616 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4617 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4618 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4619 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4620 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4622 * rt/clock_settime.c (clock_settime): Rename to
4623 __clock_settime. Add weak_alias and libc_hidden_def.
4624 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4626 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4628 * mach/err_boot.sub: Remove trailing whitespace.
4629 * mach/err_ipc.sub: Likewise.
4630 * mach/err_mach.sub: Likewise.
4632 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4633 (ROUNDING_TESTS_double): Likewise.
4634 (ROUNDING_TESTS_long_double): Likewise.
4635 (ROUNDING_TESTS): Likewise.
4636 * math/libm-test.inc: Include <math-tests.h>.
4637 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4638 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4639 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4640 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4642 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4644 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4647 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4649 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4650 otherwise empty TRANS lines.
4651 * sysdeps/gnu/errlist.c: Regenerated.
4653 * catgets/gencat.c (error_print): Use (void) in function
4655 * crypt/crypt_util.c (__init_des): Likewise.
4656 * crypt/speeds.c (Stop): Likewise.
4658 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4659 * inet/ruserpass.c (token): Likewise.
4660 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4661 * intl/localealias.c (extend_alias_table): Likewise.
4662 * intl/plural-exp.c (init_germanic_plural): Likewise.
4663 * libio/fcloseall.c (__fcloseall): Likewise.
4664 * libio/genops.c (_IO_flush_all): Likewise.
4665 (_IO_flush_all_linebuffered): Likewise.
4666 (_IO_cleanup): Likewise.
4667 (_IO_iter_begin): Likewise.
4668 (_IO_iter_end): Likewise.
4669 (_IO_list_lock): Likewise.
4670 (_IO_list_unlock): Likewise.
4671 (_IO_list_resetlock): Likewise.
4672 * libio/getchar.c (getchar): Likewise.
4673 * libio/getchar_u.c (getchar_unlocked): Likewise.
4674 * libio/getwchar.c (getwchar): Likewise.
4675 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4676 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4677 * login/getpt.c (__getpt): Likewise.
4678 * login/tst-utmp.c (main): Likewise.
4679 * malloc/hooks.c (__malloc_check_init): Likewise.
4680 * malloc/malloc.c (__malloc_stats): Likewise.
4681 * malloc/mtrace.c (tr_break): Likewise.
4683 (muntrace): Likewise.
4684 * misc/fstab.c (endfsent): Likewise.
4685 * misc/getclktck.c (__getclktck): Likewise.
4686 * misc/getdtsz.c (__getdtablesize): Likewise.
4687 * misc/gethostid.c (gethostid): Likewise.
4688 * misc/getpagesize.c (__getpagesize): Likewise.
4689 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4690 (__get_nprocs): Likewise.
4691 (__get_phys_pages): Likewise.
4692 (__get_avphys_pages): Likewise.
4693 * misc/getttyent.c (getttyent): Likewise.
4694 (setttyent): Likewise.
4695 (endttyent): Likewise.
4696 * misc/getusershell.c (getusershell): Likewise.
4697 (endusershell): Likewise.
4698 (setusershell): Likewise.
4699 (initshells): Likewise.
4700 * misc/hsearch.c (__hdestroy): Likewise.
4701 * misc/sync.c (sync): Likewise.
4702 * misc/syslog.c (closelog_internal): Likewise.
4703 (closelog): Likewise.
4704 * misc/ttyslot.c (ttyslot): Likewise.
4705 * misc/vhangup.c (vhangup): Likewise.
4706 * posix/fork.c (__fork): Likewise.
4707 * posix/getegid.c (__getegid): Likewise.
4708 * posix/geteuid.c (__geteuid): Likewise.
4709 * posix/getgid.c (__getgid): Likewise.
4710 * posix/getpid.c (__getpid): Likewise.
4711 * posix/getppid.c (__getppid): Likewise.
4712 * posix/getuid.c (__getuid): Likewise.
4713 * posix/pause.c (pause): Likewise.
4714 * posix/setpgrp.c (setpgrp): Likewise.
4715 * posix/setsid.c (__setsid): Likewise.
4716 * posix/test-vfork.c (noop): Likewise.
4717 * resolv/gethnamaddr.c (_endhtent): Likewise.
4718 (_gethtent): Likewise.
4719 (ht_endhostent): Likewise.
4720 (gethostent): Likewise.
4721 (dns_service): Likewise.
4722 * stdlib/drand48.c (drand48): Likewise.
4723 * stdlib/lrand48.c (lrand48): Likewise.
4724 * stdlib/mrand48.c (mrand48): Likewise.
4725 * stdlib/rand.c (rand): Likewise.
4726 * stdlib/random.c (__random): Likewise.
4727 * stdlib/setenv.c (clearenv): Likewise.
4728 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4729 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4730 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4731 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4732 (__get_nprocs): Likewise.
4733 (__get_phys_pages): Likewise.
4734 (__get_avphys_pages): Likewise.
4735 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4736 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4737 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4738 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4739 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4740 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4741 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4742 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4743 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4744 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4745 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4746 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4747 * sysdeps/posix/clock.c (clock): Likewise.
4748 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4749 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4750 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4751 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4752 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4753 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4754 (__get_nprocs_conf): Likewise.
4755 (__get_phys_pages): Likewise.
4756 (__get_avphys_pages): Likewise.
4757 * time/clock.c (clock): Likewise.
4758 * time/tzset.c (__tzname_max): Likewise.
4760 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4762 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4763 (__bswap_32): Do not use "register".
4764 * crypt/crypt.c (_ufc_doit_r): Likewise.
4765 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4766 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4767 * gmon/gmon.c (__monstartup): Likewise.
4768 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4769 * hurd/hurdmalloc.c (more_memory): Likewise.
4772 (realloc): Likewise.
4773 (malloc_fork_prepare): Likewise.
4774 (malloc_fork_parent): Likewise.
4775 (malloc_fork_child): Likewise.
4776 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4777 (_svcauth_des): Likewise.
4778 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4779 * inet/inet_net.c (inet_network): Likewise.
4780 * inet/inet_netof.c (inet_netof): Likewise.
4781 * inet/rcmd.c (__validuser2_sa): Likewise.
4782 * io/fts.c (fts_open): Likewise.
4783 (fts_load): Likewise.
4784 (fts_close): Likewise.
4785 (fts_read): Likewise.
4786 (fts_children): Likewise.
4787 (fts_build): Likewise.
4788 (fts_stat): Likewise.
4789 (fts_sort): Likewise.
4790 (fts_alloc): Likewise.
4791 (fts_lfree): Likewise.
4792 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4793 (_IO_file_xsgetn): Likewise.
4794 (_IO_file_xsgetn_mmap): Likewise.
4795 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4796 (_IO_cookie_write): Likewise.
4797 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4798 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4799 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4800 * malloc/obstack.c (_obstack_begin): Likewise.
4801 (_obstack_begin_1): Likewise.
4802 (_obstack_newchunk): Likewise.
4803 (_obstack_allocated_p): Likewise.
4804 (obstack_free): Likewise.
4805 (_obstack_memory_used): Likewise.
4806 * misc/getttyent.c (getttynam): Likewise.
4807 (getttyent): Likewise.
4810 * misc/getusershell.c (initshells): Likewise.
4811 * misc/syslog.c (__vsyslog_chk): Likewise.
4812 * misc/ttyslot.c (ttyslot): Likewise.
4813 * nis/nis_hash.c (__nis_hash): Likewise.
4814 * posix/fnmatch_loop.c (FCT): Likewise.
4815 * posix/getconf.c (print_all): Likewise.
4817 * posix/getopt.c (exchange): Likewise.
4818 * posix/glob.c (globfree): Likewise.
4819 (prefix_array): Likewise.
4820 (__glob_pattern_type): Likewise.
4821 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4822 (NS_GET32): Likewise.
4823 (NS_PUT16): Likewise.
4824 (NS_PUT32): Likewise.
4825 * resolv/gethnamaddr.c (getanswer): Likewise.
4826 (gethostbyname2): Likewise.
4827 (gethostbyaddr): Likewise.
4828 (_gethtent): Likewise.
4829 (_gethtbyname2): Likewise.
4830 (_gethtbyaddr): Likewise.
4831 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4832 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4833 * resolv/res_init.c (__res_vinit): Likewise.
4834 (net_mask): Likewise.
4835 * resolv/res_mkquery.c (outchar): Likewise.
4837 * stdio-common/printf_fp.c (outchar): Likewise.
4839 * stdio-common/printf_fphex.c (outchar): Likewise.
4841 * stdio-common/printf_size.c (outchar): Likewise.
4843 * stdio-common/test_rdwr.c (main): Likewise.
4844 * stdio-common/tfformat.c (matches): Likewise.
4845 * stdio-common/vfprintf.c (outchar): Likewise.
4846 (printf_unknown): Likewise.
4847 (buffered_vfprintf): Likewise.
4848 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4849 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4850 (ReadFile): Likewise.
4851 * stdlib/qsort.c (SWAP): Likewise.
4852 (_quicksort): Likewise.
4853 * stdlib/setenv.c (__add_to_environ): Likewise.
4854 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4855 * stdlib/strtol_l.c (__strtol_l): Likewise.
4856 * stdlib/tst-strtod.c (main): Likewise.
4857 * stdlib/tst-strtol.c (main): Likewise.
4858 * stdlib/tst-strtoll.c (main): Likewise.
4859 * string/bits/string2.h (__strcmp_cc): Likewise.
4860 (__strcmp_cg): Likewise.
4861 (__strcspn_c1): Likewise.
4862 (__strcspn_c2): Likewise.
4863 (__strcspn_c3): Likewise.
4864 (__strspn_c1): Likewise.
4865 (__strspn_c2): Likewise.
4866 (__strspn_c3): Likewise.
4867 (__strsep_1c): Likewise.
4868 (__strsep_2c): Likewise.
4869 (__strsep_3c): Likewise.
4870 * string/memccpy.c (__memccpy): Likewise.
4871 * string/stpcpy.c (__stpcpy): Likewise.
4872 * string/strcmp.c (strcmp): Likewise.
4873 * string/strrchr.c (strrchr): Likewise.
4874 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4876 * sysdeps/mach/hurd/getcwd.c
4877 (_hurd_canonicalize_directory_name_internal): Likewise.
4878 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4879 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4880 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4881 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4882 Likewise, in both definitions.
4883 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4885 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4886 64] (__bswap_64): Likewise.
4887 * time/test_time.c (main): Likewise.
4888 * time/tzfile.c (__tzfile_read): Likewise.
4889 (__tzfile_compute): Likewise.
4890 * time/tzset.c (__tzset_parse_tz): Likewise.
4891 (tzset_internal): Likewise.
4892 (compute_change): Likewise.
4893 * wcsmbs/wcscat.c (__wcscat): Likewise.
4894 * wcsmbs/wcschr.c (wcschr): Likewise.
4895 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4896 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4897 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4898 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4899 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4900 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4901 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4902 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4903 * wcsmbs/wmemset.c (wmemset): Likewise.
4905 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4907 * scripts/config.guess: Update to version 2013-05-16.
4908 * scripts/config.sub: Update to version 2013-04-24.
4909 * scripts/install-sh: Update to version 2011-11-20.07.
4910 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4911 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4913 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4915 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4916 * elf/sln.c: Likewise.
4917 * hurd/hurd/ioctl.h: Likewise.
4918 * hurd/hurdmalloc.c: Likewise.
4919 * hurd/xattr.c: Likewise.
4920 * include/shlib-compat.h: Likewise.
4921 * inet/ruserpass.c: Likewise.
4922 * libio/iofgets_u.c: Likewise.
4923 * libio/iofgetws_u.c: Likewise.
4924 * locale/programs/ld-identification.c: Likewise.
4925 * locale/programs/ld-time.c: Likewise.
4926 * mach/msg-destroy.c: Likewise.
4927 * nss/nss_files/files-netgrp.c: Likewise.
4928 * resolv/res_data.c: Likewise.
4929 * soft-fp/op-1.h: Likewise.
4930 * soft-fp/op-2.h: Likewise.
4931 * soft-fp/op-4.h: Likewise.
4932 * soft-fp/op-common.h: Likewise.
4933 * stdio-common/printf_fphex.c: Likewise.
4934 * stdlib/strtod_l.c: Likewise.
4935 * sunrpc/rpc/clnt.h: Likewise.
4936 * sysdeps/generic/framestate.c: Likewise.
4937 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4938 * sysdeps/i386/bsd-setjmp.S: Likewise.
4939 * sysdeps/i386/__longjmp.S: Likewise.
4940 * sysdeps/i386/setjmp.S: Likewise.
4941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4942 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4943 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4959 * sysdeps/ieee754/support.c: Likewise.
4960 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4961 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4962 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4963 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4964 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4965 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4966 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4967 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4968 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4969 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4970 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4971 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4972 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4973 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4974 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4975 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4976 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4979 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4981 * posix/transbug.c: Remove executable mode.
4983 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4985 * crypt/speeds.c: Remove trailing whitespace.
4986 * dlfcn/default.c: Likewise.
4987 * elf/ifuncdep2.c: Likewise.
4988 * elf/ifuncmain1.c: Likewise.
4989 * elf/ifuncmain1vis.c: Likewise.
4990 * elf/testobj.h: Likewise.
4991 * elf/tst-stackguard1.c: Likewise.
4992 * gmon/sys/gmon.h: Likewise.
4993 * hurd/hurdmsg.c: Likewise.
4994 * hurd/new-fd.c: Likewise.
4995 * hurd/ports-get.c: Likewise.
4996 * iconvdata/ibm1008_420.c: Likewise.
4997 * inet/tst-getni1.c: Likewise.
4998 * inet/tst-getni2.c: Likewise.
4999 * libio/ioungetc.c: Likewise.
5000 * libio/wfiledoalloc.c: Likewise.
5001 * manual/libm-err-tab.pl: Likewise.
5002 * math/w_dremf.c: Likewise.
5003 * misc/ftruncate.c: Likewise.
5004 * posix/bug-glob2.c: Likewise.
5005 * posix/tst-pcre.c: Likewise.
5006 * posix/wait4.c: Likewise.
5007 * resolv/README: Likewise.
5008 * resolv/res_debug.h: Likewise.
5009 * resolv/tst-inet_ntop.c: Likewise.
5010 * setjmp/bug269-setjmp.c: Likewise.
5011 * soft-fp/extended.h: Likewise.
5012 * soft-fp/op-1.h: Likewise.
5013 * soft-fp/op-2.h: Likewise.
5014 * soft-fp/op-4.h: Likewise.
5015 * soft-fp/op-8.h: Likewise.
5016 * soft-fp/testit.c: Likewise.
5017 * stdio-common/bug16.c: Likewise.
5018 * stdlib/random.c: Likewise.
5019 * sunrpc/rpcsvc/rquota.x: Likewise.
5020 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5021 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5023 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5024 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5025 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5026 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5027 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5028 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5030 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5031 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5032 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5033 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5034 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5035 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5036 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5043 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5044 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5048 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5049 * sysdeps/ieee754/s_lib_version.c: Likewise.
5050 * sysdeps/mach/hurd/check_fds.c: Likewise.
5051 * sysdeps/mach/hurd/getsockname.c: Likewise.
5052 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5053 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5054 * sysdeps/powerpc/bits/link.h: Likewise.
5055 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5056 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5057 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5058 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5059 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5060 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5061 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5062 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5063 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5064 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5065 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5066 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5067 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5068 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5069 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5070 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5071 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5072 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5073 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5074 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5075 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5076 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5077 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5078 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5079 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5080 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5082 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5083 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5084 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5085 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5086 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5088 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5089 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5090 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5091 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5092 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5093 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5094 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5095 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5096 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5097 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5098 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5099 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5100 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5101 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5102 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5103 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5104 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5106 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5107 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5109 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5110 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5112 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5113 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5114 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5115 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5116 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5117 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5118 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5119 * sysdeps/powerpc/sysdep.h: Likewise.
5120 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5121 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5122 * sysdeps/sh/dl-trampoline.S: Likewise.
5123 * sysdeps/sh/memset.S: Likewise.
5124 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5125 * sysdeps/sh/strlen.S: Likewise.
5126 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5127 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5128 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5129 * sysdeps/sparc/sparc32/rem.S: Likewise.
5130 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5131 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5132 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5133 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5134 * sysdeps/sparc/sparc32/urem.S: Likewise.
5135 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5136 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5137 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5138 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5139 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5140 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5141 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5142 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5143 * sysdeps/unix/bsd/times.c: Likewise.
5144 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5145 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5150 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5151 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5152 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5153 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5154 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5155 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5156 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5157 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5158 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5159 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5161 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5162 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5163 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5164 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5165 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5166 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5167 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5168 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5169 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5170 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5171 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5172 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5173 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5174 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5175 * sysdeps/x86_64/strcspn.S: Likewise.
5177 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5179 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5180 generated file. Regenerate properly from gen-translit.pl.
5181 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5182 locale/C-translit.h.
5184 2013-06-05 Andreas Schwab <schwab@suse.de>
5187 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5188 week as 6 instead of -1.
5189 * time/tst-strptime.c (day_tests): Add test case.
5191 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5193 * sysdeps/generic/math_private.h
5194 (libc_feholdexcept_setround_53bit): Replace with
5195 libc_feholdsetround_53bit.
5196 (libc_feupdateenv_53bit): Replace with
5197 libc_feresetround_53bit.
5198 (SET_RESTORE_ROUND_53BIT): Adjust.
5200 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5202 * string/test-strchrnul.c: Add copyright header.
5204 * posix/tst-getaddrinfo4.c: Increase test timeout.
5206 2013-06-03 Carlos O'Donell <carlos@redhat.com>
5209 * math/libm-test.inc (MAX_EXP): Remove
5211 (ulp): Use MIN_EXP - MANT_DIG.
5212 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5214 2013-05-31 Carlos O'Donell <carlos@redhat.com>
5216 * po/be.po: Revert last change.
5217 * po/zh_CN.po: Likewise.
5218 * po/header.pot: Likewise.
5220 2013-05-31 Joseph Myers <joseph@codesourcery.com>
5222 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5223 link-libc-deps to empty as target-specific variable.
5224 * Makerules (link-libc-args): New variable.
5225 (libc-for-link): Likewise.
5226 (link-libc-deps): Likewise.
5227 (lib%.so): Depend on $(link-libc-deps). Link with
5229 (build-module): Link with $(link-libc-args).
5230 (build-module-asneeded): Likewise.
5231 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5233 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5234 target-specific variable.
5235 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5236 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5237 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5239 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5241 ($(objpfx)libpcprofile.so): Likewise.
5242 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5244 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5245 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5246 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5248 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5249 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5250 * login/Makefile ($(objpfx)libutil.so): Likewise.
5251 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5252 * math/Makefile ($(objpfx)libm.so): Likewise.
5253 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5254 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5255 variable instead of depending directly on libc.
5256 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5257 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5259 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5261 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5262 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5263 ($(objpfx)libanl.so): Likewise.
5264 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5266 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5268 * sysdeps/i386/fpu/Makefile: Remove file.
5269 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5270 ($(objpfx)libm.so): Remove dependency on ld.so.
5272 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5275 * nis/yp_xdr.c (XDRMAXNAME): Define.
5276 (XDRMAXRECORD): Define.
5277 (xdr_domainname): Use XDRMAXNAME.
5278 (xdr_mapname): Likewise.
5279 (xdr_peername): Likewise.
5280 (xdr_keydat): Use XDRMAXRECORD.
5281 (xdr_valdat): Likewise.
5283 2013-05-30 Jeff Law <law@redhat.com>
5286 * manual/errno.texi (ESTALE): Update to account for more than
5287 just NFS file systems.
5288 * sysdeps/gnu/errlist.c: Regenerated.
5290 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5293 * elf/Makefile (tests): Add tst-null-argv.
5294 (modules-names): Add tst-null-argv-lib.
5295 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5296 (tst-null-argv-ENV): Set environment for tst-null-argv.
5297 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5298 (RTLD_PROGNAME): New macro.
5299 * elf/tst-null-argv.c: New test case.
5300 * elf/tst-null-argv-lib.c: Library for test case.
5301 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5302 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5303 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5304 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5305 * elf/dl-init.c (call_init): Likewise.
5306 (_dl_init): Likewise.
5307 * elf/dl-load.c (print_search_path): Likewise.
5308 (_dl_map_object): Likewise.
5309 * elf/dl-lookup.c (do_lookup_x): Likewise.
5310 (add_dependency): Likewise.
5311 (_dl_lookup_symbol_x): Likewise.
5312 (_dl_debug_bindings): Likewise.
5313 * elf/dl-open.c (_dl_show_scope): Likewise.
5314 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5315 * elf/dl-version.c (match_symbol): Likewise.
5316 (_dl_check_map_versions): Likewise.
5317 * elf/rtld.c (dl_main): Likewise.
5318 (print_unresolved): Use RTLD_PROGNAME.
5319 (print_missing_version): Likewise.
5320 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5321 (elf_machine_rela): Likewise.
5322 * sysdeps/powerpc/powerpc32/dl-machine.c
5323 (__process_machine_rela): Likewise.
5324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5326 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5328 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5330 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5331 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5337 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5339 * po/be.po: Add descriptive title.
5340 * po/zh_CN.po: Likewise.
5341 * po/header.pot: Likewise.
5343 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5345 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5347 (enlarge_archive): Likewise.
5349 2013-05-28 Ben North <ben@redfrontdoor.org>
5351 * manual/arith.texi (frexp): It is the magnitude of the return
5352 value which lies in [0.5, 1), not the return value itself.
5354 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5358 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5360 * stdio-common/bug26.c (main): Correct fscanf template.
5362 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5363 declare _dl_skip_args.
5365 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5368 * manual/platform.texi: Add missing @end deftypefun.
5370 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5373 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5374 bit of mantissa of 2^16382.
5375 * math/libm-test.inc (hypot_test_data): Add more tests.
5377 * math/libm-test.inc: Add drem and pow10 to list of tested
5379 (pow10_test): New function.
5380 (drem_test): Likewise.
5381 (drem_test_tonearest): Likewise.
5382 (drem_test_towardzero): Likewise.
5383 (drem_test_downward): Likewise.
5384 (drem_test_upward): Likewise.
5385 (main): Call the new functions.
5387 * math/libm-test.inc (finite_test_data): Remove.
5388 (finite_test): Run tests from isfinite_test_data.
5389 (gamma_test_data): Remove.
5390 (gamma_test): Run tests from lgamma_test_data.
5391 * sysdeps/i386/fpu/libm-test-ulps: Update.
5392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5394 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5396 * manual/platform.texi: Add PowerPC PPR function set documentation.
5397 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5400 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5402 * math/libm-test.inc (MAX_EXP): Define.
5404 (ulp): New function.
5405 (check_float_internal): Use ULPDIFF.
5406 (cpow_test): Disable failing test.
5407 (check_ulp): Test ulp() implemetnation.
5408 (main): Call check_ulp before starting tests.
5410 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5412 * math/gen-libm-test.pl (generate_testfile): Do not handle
5413 START_DATA and END_DATA.
5414 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5416 (acos_tonearest_test_data): Likewise.
5417 (acos_towardzero_test_data): Likewise.
5418 (acos_downward_test_data): Likewise.
5419 (acos_upward_test_data): Likewise.
5420 (acosh_test_data): Likewise.
5421 (asin_test_data): Likewise.
5422 (asin_tonearest_test_data): Likewise.
5423 (asin_towardzero_test_data): Likewise.
5424 (asin_downward_test_data): Likewise.
5425 (asin_upward_test_data): Likewise.
5426 (asinh_test_data): Likewise.
5427 (atan_test_data): Likewise.
5428 (atanh_test_data): Likewise.
5429 (atan2_test_data): Likewise.
5430 (cabs_test_data): Likewise.
5431 (cacos_test_data): Likewise.
5432 (cacosh_test_data): Likewise.
5433 (carg_test_data): Likewise.
5434 (casin_test_data): Likewise.
5435 (casinh_test_data): Likewise.
5436 (catan_test_data): Likewise.
5437 (catanh_test_data): Likewise.
5438 (cbrt_test_data): Likewise.
5439 (ccos_test_data): Likewise.
5440 (ccosh_test_data): Likewise.
5441 (ceil_test_data): Likewise.
5442 (cexp_test_data): Likewise.
5443 (cimag_test_data): Likewise.
5444 (clog_test_data): Likewise.
5445 (clog10_test_data): Likewise.
5446 (conj_test_data): Likewise.
5447 (copysign_test_data): Likewise.
5448 (cos_test_data): Likewise.
5449 (cos_tonearest_test_data): Likewise.
5450 (cos_towardzero_test_data): Likewise.
5451 (cos_downward_test_data): Likewise.
5452 (cos_upward_test_data): Likewise.
5453 (cosh_test_data): Likewise.
5454 (cosh_tonearest_test_data): Likewise.
5455 (cosh_towardzero_test_data): Likewise.
5456 (cosh_downward_test_data): Likewise.
5457 (cosh_upward_test_data): Likewise.
5458 (cpow_test_data): Likewise.
5459 (cproj_test_data): Likewise.
5460 (creal_test_data): Likewise.
5461 (csin_test_data): Likewise.
5462 (csinh_test_data): Likewise.
5463 (csqrt_test_data): Likewise.
5464 (ctan_test_data): Likewise.
5465 (ctan_tonearest_test_data): Likewise.
5466 (ctan_towardzero_test_data): Likewise.
5467 (ctan_downward_test_data): Likewise.
5468 (ctan_upward_test_data): Likewise.
5469 (ctanh_test_data): Likewise.
5470 (ctanh_tonearest_test_data): Likewise.
5471 (ctanh_towardzero_test_data): Likewise.
5472 (ctanh_downward_test_data): Likewise.
5473 (ctanh_upward_test_data): Likewise.
5474 (erf_test_data): Likewise.
5475 (erfc_test_data): Likewise.
5476 (exp_test_data): Likewise.
5477 (exp_tonearest_test_data): Likewise.
5478 (exp_towardzero_test_data): Likewise.
5479 (exp_downward_test_data): Likewise.
5480 (exp_upward_test_data): Likewise.
5481 (exp10_test_data): Likewise.
5482 (exp2_test_data): Likewise.
5483 (expm1_test_data): Likewise.
5484 (fabs_test_data): Likewise.
5485 (fdim_test_data): Likewise.
5486 (finite_test_data): Likewise.
5487 (floor_test_data): Likewise.
5488 (fma_test_data): Likewise.
5489 (fma_towardzero_test_data): Likewise.
5490 (fma_downward_test_data): Likewise.
5491 (fma_upward_test_data): Likewise.
5492 (fmax_test_data): Likewise.
5493 (fmin_test_data): Likewise.
5494 (fmod_test_data): Likewise.
5495 (fpclassify_test_data): Likewise.
5496 (frexp_test_data): Likewise.
5497 (gamma_test_data): Likewise.
5498 (hypot_test_data): Likewise.
5499 (ilogb_test_data): Likewise.
5500 (isfinite_test_data): Likewise.
5501 (isgreater_test_data): Likewise.
5502 (isgreaterequal_test_data): Likewise.
5503 (isinf_test_data): Likewise.
5504 (isless_test_data): Likewise.
5505 (islessequal_test_data): Likewise.
5506 (islessgreater_test_data): Likewise.
5507 (isnan_test_data): Likewise.
5508 (isnormal_test_data): Likewise.
5509 (issignaling_test_data): Likewise.
5510 (isunordered_test_data): Likewise.
5511 (j0_test_data): Likewise.
5512 (j1_test_data): Likewise.
5513 (jn_test_data): Likewise.
5514 (ldexp_test_data): Likewise.
5515 (lgamma_test_data): Likewise.
5516 (lrint_test_data): Likewise.
5517 (lrint_tonearest_test_data): Likewise.
5518 (lrint_towardzero_test_data): Likewise.
5519 (lrint_downward_test_data): Likewise.
5520 (lrint_upward_test_data): Likewise.
5521 (llrint_test_data): Likewise.
5522 (llrint_tonearest_test_data): Likewise.
5523 (llrint_towardzero_test_data): Likewise.
5524 (llrint_downward_test_data): Likewise.
5525 (llrint_upward_test_data): Likewise.
5526 (log_test_data): Likewise.
5527 (log10_test_data): Likewise.
5528 (log1p_test_data): Likewise.
5529 (log2_test_data): Likewise.
5530 (logb_test_data): Likewise.
5531 (logb_downward_test_data): Likewise.
5532 (lround_test_data): Likewise.
5533 (llround_test_data): Likewise.
5534 (modf_test_data): Likewise.
5535 (nearbyint_test_data): Likewise.
5536 (nextafter_test_data): Likewise.
5537 (nexttoward_test_data): Likewise.
5538 (pow_test_data): Likewise.
5539 (pow_tonearest_test_data): Likewise.
5540 (pow_towardzero_test_data): Likewise.
5541 (pow_downward_test_data): Likewise.
5542 (pow_upward_test_data): Likewise.
5543 (remainder_test_data): Likewise.
5544 (remainder_tonearest_test_data): Likewise.
5545 (remainder_towardzero_test_data): Likewise.
5546 (remainder_downward_test_data): Likewise.
5547 (remainder_upward_test_data): Likewise.
5548 (remquo_test_data): Likewise.
5549 (rint_test_data): Likewise.
5550 (rint_tonearest_test_data): Likewise.
5551 (rint_towardzero_test_data): Likewise.
5552 (rint_downward_test_data): Likewise.
5553 (rint_upward_test_data): Likewise.
5554 (round_test_data): Likewise.
5555 (scalb_test_data): Likewise.
5556 (scalbn_test_data): Likewise.
5557 (scalbln_test_data): Likewise.
5558 (signbit_test_data): Likewise.
5559 (sin_test_data): Likewise.
5560 (sin_tonearest_test_data): Likewise.
5561 (sin_towardzero_test_data): Likewise.
5562 (sin_downward_test_data): Likewise.
5563 (sin_upward_test_data): Likewise.
5564 (sincos_test_data): Likewise.
5565 (sinh_test_data): Likewise.
5566 (sinh_tonearest_test_data): Likewise.
5567 (sinh_towardzero_test_data): Likewise.
5568 (sinh_downward_test_data): Likewise.
5569 (sinh_upward_test_data): Likewise.
5570 (sqrt_test_data): Likewise.
5571 (tan_test_data): Likewise.
5572 (tan_tonearest_test_data): Likewise.
5573 (tan_towardzero_test_data): Likewise.
5574 (tan_downward_test_data): Likewise.
5575 (tan_upward_test_data): Likewise.
5576 (tanh_test_data): Likewise.
5577 (tgamma_test_data): Likewise.
5578 (trunc_test_data): Likewise.
5579 (y0_test_data): Likewise.
5580 (y1_test_data): Likewise.
5581 (yn_test_data): Likewise.
5582 (significand_test_data): Likewise.
5584 * math/gen-libm-test.pl (@functions): Remove variable.
5585 (generate_testfile): Don't handle START and END lines.
5586 * math/libm-test.inc (START): New macro.
5588 (END_COMPLEX): Likewise.
5589 (acos_test): Use END macro without arguments.
5590 (acos_test_tonearest): Likewise.
5591 (acos_test_towardzero): Likewise.
5592 (acos_test_downward): Likewise.
5593 (acos_test_upward): Likewise.
5594 (acosh_test): Likewise.
5595 (asin_test): Likewise.
5596 (asin_test_tonearest): Likewise.
5597 (asin_test_towardzero): Likewise.
5598 (asin_test_downward): Likewise.
5599 (asin_test_upward): Likewise.
5600 (asinh_test): Likewise.
5601 (atan_test): Likewise.
5602 (atanh_test): Likewise.
5603 (atan2_test): Likewise.
5604 (cabs_test): Likewise.
5605 (cacos_test): Use END_COMPLEX macro without arguments.
5606 (cacosh_test): Likewise.
5607 (carg_test): Use END macro without arguments.
5608 (casin_test): Use END_COMPLEX macro without arguments.
5609 (casinh_test): Likewise.
5610 (catan_test): Likewise.
5611 (catanh_test): Likewise.
5612 (cbrt_test): Use END macro without arguments.
5613 (ccos_test): Use END_COMPLEX macro without arguments.
5614 (ccosh_test): Likewise.
5615 (ceil_test): Use END macro without arguments.
5616 (cexp_test): Use END_COMPLEX macro without arguments.
5617 (cimag_test): Use END macro without arguments.
5618 (clog_test): Use END_COMPLEX macro without arguments.
5619 (clog10_test): Likewise.
5620 (conj_test): Likewise.
5621 (copysign_test): Use END macro without arguments.
5622 (cos_test): Likewise.
5623 (cos_test_tonearest): Likewise.
5624 (cos_test_towardzero): Likewise.
5625 (cos_test_downward): Likewise.
5626 (cos_test_upward): Likewise.
5627 (cosh_test): Likewise.
5628 (cosh_test_tonearest): Likewise.
5629 (cosh_test_towardzero): Likewise.
5630 (cosh_test_downward): Likewise.
5631 (cosh_test_upward): Likewise.
5632 (cpow_test): Use END_COMPLEX macro without arguments.
5633 (cproj_test): Likewise.
5634 (creal_test): Use END macro without arguments.
5635 (csin_test): Use END_COMPLEX macro without arguments.
5636 (csinh_test): Likewise.
5637 (csqrt_test): Likewise.
5638 (ctan_test): Likewise.
5639 (ctan_test_tonearest): Likewise.
5640 (ctan_test_towardzero): Likewise.
5641 (ctan_test_downward): Likewise.
5642 (ctan_test_upward): Likewise.
5643 (ctanh_test): Likewise.
5644 (ctanh_test_tonearest): Likewise.
5645 (ctanh_test_towardzero): Likewise.
5646 (ctanh_test_downward): Likewise.
5647 (ctanh_test_upward): Likewise.
5648 (erf_test): Use END macro without arguments.
5649 (erfc_test): Likewise.
5650 (exp_test): Likewise.
5651 (exp_test_tonearest): Likewise.
5652 (exp_test_towardzero): Likewise.
5653 (exp_test_downward): Likewise.
5654 (exp_test_upward): Likewise.
5655 (exp10_test): Likewise.
5656 (exp2_test): Likewise.
5657 (expm1_test): Likewise.
5658 (fabs_test): Likewise.
5659 (fdim_test): Likewise.
5660 (finite_test): Likewise.
5661 (floor_test): Likewise.
5662 (fma_test): Likewise.
5663 (fma_test_towardzero): Likewise.
5664 (fma_test_downward): Likewise.
5665 (fma_test_upward): Likewise.
5666 (fmax_test): Likewise.
5667 (fmin_test): Likewise.
5668 (fmod_test): Likewise.
5669 (fpclassify_test): Likewise.
5670 (frexp_test): Likewise.
5671 (gamma_test): Likewise.
5672 (hypot_test): Likewise.
5673 (ilogb_test): Likewise.
5674 (isfinite_test): Likewise.
5675 (isgreater_test): Likewise.
5676 (isgreaterequal_test): Likewise.
5677 (isinf_test): Likewise.
5678 (isless_test): Likewise.
5679 (islessequal_test): Likewise.
5680 (islessgreater_test): Likewise.
5681 (isnan_test): Likewise.
5682 (isnormal_test): Likewise.
5683 (issignaling_test): Likewise.
5684 (isunordered_test): Likewise.
5685 (j0_test): Likewise.
5686 (j1_test): Likewise.
5687 (jn_test): Likewise.
5688 (ldexp_test): Likewise.
5689 (lgamma_test): Likewise.
5690 (lrint_test): Likewise.
5691 (lrint_test_tonearest): Likewise.
5692 (lrint_test_towardzero): Likewise.
5693 (lrint_test_downward): Likewise.
5694 (lrint_test_upward): Likewise.
5695 (llrint_test): Likewise.
5696 (llrint_test_tonearest): Likewise.
5697 (llrint_test_towardzero): Likewise.
5698 (llrint_test_downward): Likewise.
5699 (llrint_test_upward): Likewise.
5700 (log_test): Likewise.
5701 (log10_test): Likewise.
5702 (log1p_test): Likewise.
5703 (log2_test): Likewise.
5704 (logb_test): Likewise.
5705 (logb_test_downward): Likewise.
5706 (lround_test): Likewise.
5707 (llround_test): Likewise.
5708 (modf_test): Likewise.
5709 (nearbyint_test): Likewise.
5710 (nextafter_test): Likewise.
5711 (nexttoward_test): Likewise.
5712 (pow_test): Likewise.
5713 (pow_test_tonearest): Likewise.
5714 (pow_test_towardzero): Likewise.
5715 (pow_test_downward): Likewise.
5716 (pow_test_upward): Likewise.
5717 (remainder_test): Likewise.
5718 (remainder_test_tonearest): Likewise.
5719 (remainder_test_towardzero): Likewise.
5720 (remainder_test_downward): Likewise.
5721 (remainder_test_upward): Likewise.
5722 (remquo_test): Likewise.
5723 (rint_test): Likewise.
5724 (rint_test_tonearest): Likewise.
5725 (rint_test_towardzero): Likewise.
5726 (rint_test_downward): Likewise.
5727 (rint_test_upward): Likewise.
5728 (round_test): Likewise.
5729 (scalb_test): Likewise.
5730 (scalbn_test): Likewise.
5731 (scalbln_test): Likewise.
5732 (signbit_test): Likewise.
5733 (sin_test): Likewise.
5734 (sin_test_tonearest): Likewise.
5735 (sin_test_towardzero): Likewise.
5736 (sin_test_downward): Likewise.
5737 (sin_test_upward): Likewise.
5738 (sincos_test): Likewise.
5739 (sinh_test): Likewise.
5740 (sinh_test_tonearest): Likewise.
5741 (sinh_test_towardzero): Likewise.
5742 (sinh_test_downward): Likewise.
5743 (sinh_test_upward): Likewise.
5744 (sqrt_test): Likewise.
5745 (tan_test): Likewise.
5746 (tan_test_tonearest): Likewise.
5747 (tan_test_towardzero): Likewise.
5748 (tan_test_downward): Likewise.
5749 (tan_test_upward): Likewise.
5750 (tanh_test): Likewise.
5751 (tgamma_test): Likewise.
5752 (trunc_test): Likewise.
5753 (y0_test): Likewise.
5754 (y1_test): Likewise.
5755 (yn_test): Likewise.
5756 (significand_test): Likewise.
5758 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5761 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5763 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5766 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5767 __ppc_mdoio and __ppc_mdoom.
5768 * manual/platform.texi: Document new functions __ppc_yield,
5769 __ppc_mdoio and __ppc_mdoom.
5771 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5773 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5774 (main): Mention "tls" pseudo-hwcap is legacy.
5775 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5777 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5779 * math/gen-libm-test.pl (parse_args): Output only string of
5780 arguments as text for test name, not full call or descriptions of
5781 tests for extra outputs.
5782 (generate_testfile): Do not pass function name to parse_args.
5783 Generate this_func variable from START.
5784 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5786 (struct test_ff_f_data): Likewise.
5787 (test_ff_f_data_nexttoward): Likewise.
5788 (struct test_fi_f_data): Likewise.
5789 (struct test_fl_f_data): Likewise.
5790 (struct test_if_f_data): Likewise.
5791 (struct test_fff_f_data): Likewise.
5792 (struct test_c_f_data): Likewise.
5793 (struct test_f_f1_data): Likewise. Remove field extra_name.
5794 (struct test_fF_f1_data): Likewise.
5795 (struct test_ffI_f1_data): Likewise.
5796 (struct test_c_c_data): Rename test_name field to arg_str.
5797 (struct test_cc_c_data): Likewise.
5798 (struct test_f_i_data): Likewise.
5799 (struct test_ff_i_data): Likewise.
5800 (struct test_f_l_data): Likewise.
5801 (struct test_f_L_data): Likewise.
5802 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5804 (COMMON_TEST_SETUP): New macro.
5805 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5806 (COMMON_TEST_CLEANUP): Likewise.
5807 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5808 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5810 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5811 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5813 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5814 (RUN_TEST_fff_f): Take argument string. Call new setup and
5816 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5817 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5819 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5820 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5822 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5823 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5825 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5826 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5828 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5829 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5831 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5832 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5834 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5835 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5837 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5838 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5840 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5841 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5843 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5844 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5846 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5847 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5849 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5850 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5852 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5853 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5855 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5856 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5858 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5859 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5861 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5863 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5865 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5866 to _sifields.sigfault.
5867 (si_addr_lsb): Define new macro.
5868 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5869 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5870 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5872 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5875 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5877 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5879 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5882 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5884 * math/gen-libm-test.pl (parse_args): Do not include expected
5885 result in test name.
5886 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5887 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5888 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5889 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5890 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5893 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5895 * benchtests/Makefile: Sort function entries.
5897 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5898 tanh, asinh, acosh, atanh.
5899 * benchtests/acos-inputs: New file.
5900 * benchtests/acosh-inputs: New file.
5901 * benchtests/asin-inputs: New file.
5902 * benchtests/asinh-inputs: New file.
5903 * benchtests/atanh-inputs: New file.
5904 * benchtests/cosh-inputs: New file.
5905 * benchtests/log-inputs: New file.
5906 * benchtests/sinh-inputs: New file.
5907 * benchtests/tanh-inputs: New file.
5909 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5912 * posix/tst-getaddrinfo4.c: New test.
5913 * posix/Makefile (tests): Add it.
5915 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5918 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5919 when no services were used.
5920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5921 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5923 2013-05-21 Andreas Schwab <schwab@suse.de>
5926 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5927 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5929 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5930 redundant variable declarations and reallocation of buffer when
5931 parsing as IPv6 address. Always set NSS status when called from
5932 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5933 buffer too small. Correct computation of needed size.
5934 * nss/Makefile (tests): Add test-digits-dots.
5935 * nss/test-digits-dots.c: New test.
5937 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5939 * benchtests/Makefile: Remove instructions for adding
5941 * benchtests/README: New file to explain how to execute and
5942 enhance the benchmark tests.
5944 2013-05-21 Andreas Schwab <schwab@suse.de>
5947 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5948 * setjmp/tst-sigsetjmp.c: New test.
5950 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5952 * sysdeps/x86_64/memset.S (memset): New implementation.
5953 (__bzero): Likewise.
5954 (__memset_tail): New function.
5956 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5958 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5959 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5960 __memcpy_sse2_unaligned ifunc selection.
5961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5962 Add memcpy-sse2-unaligned.S.
5963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5964 Add: __memcpy_sse2_unaligned.
5966 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5969 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5970 math_force_eval before restoring floating-point envrionment.
5971 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5972 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5974 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5976 (__nearbyintl): Use math_force_eval before restoring
5977 floating-point environment.
5978 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5980 * math/gen-libm-test.pl (special_functions): Remove.
5981 (parse_args): Don't handle TEST_extra. Handle functions with no
5983 * math/libm-test.inc (struct test_sincos_data): Replace with
5984 struct test_fFF_11_data.
5985 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5986 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5987 (sincos_test_data): Change element type to struct
5988 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5989 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5990 RUN_TEST_LOOP_sincos.
5991 * math/README.libm-test: Don't mention special handling of
5992 individual functions.
5993 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5994 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5995 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5996 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5997 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6000 * math/gen-libm-test.pl (get_variable): Remove function.
6001 (parse_args): Don't show pointer parameters to call in test
6002 names. Use "extra output N" in test names for extra outputs
6003 rather than naming variables.
6005 2013-05-18 Joseph Myers <joseph@codesourcery.com>
6008 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6009 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6010 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6012 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6014 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6017 * math/gen-libm-test.pl (@tests): Remove variable.
6019 (new_test): Remove function.
6020 (show_exceptions): New function.
6021 (special_functions): Use show_exceptions instead of new_test.
6022 (parse_args): Likewise.
6023 (generate_testfile): Pass only function name in generated call to
6024 print_max_error or print_complex_max_error.
6025 (get_ulps): Do not handle complex tests specially.
6026 (output_test): Rename to ...
6027 (get_all_ulps_for_test): ... this. Return a string rather than
6028 printing to a file. Require ulps to be present.
6029 (output_ulps): Generate arrays rather than #defines.
6030 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6031 (struct ulp_data): New type.
6032 (BUILD_COMPLEX_ULP): Remove macro.
6033 (compare_ulp_data): New function.
6034 (find_ulps): Likewise.
6035 (find_test_ulps): Likewise.
6036 (find_function_ulps): Likewise.
6037 (find_complex_function_ulps): Likewise.
6038 (print_max_error): Determine allowed ulps using
6040 (print_complex_max_error): Determine allowed ulps using
6041 find_complex_function_ulps.
6042 (check_float_internal): Determine max ulps using find_test_ulps.
6043 (check_float): Do not take max_ulp parameter. Update call to
6044 check_float_internal.
6045 (check_complex): Likewise.
6046 (check_int): Do not take max_ulp parameter.
6047 (check_long): Likewise.
6048 (check_bool): Likewise.
6049 (check_longlong): Likewise.
6050 (struct test_f_f_data): Remove max_ulp field.
6051 (struct test_ff_f_data): Likewise.
6052 (struct test_ff_f_data_nexttoward): Likewise.
6053 (struct test_fi_f_data): Likewise.
6054 (struct test_fl_f_data): Likewise.
6055 (struct test_if_f_data): Likewise.
6056 (struct test_fff_f_data): Likewise.
6057 (struct test_c_f_data): Likewise.
6058 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6059 (struct test_fF_f1_data): Likewise.
6060 (struct test_ffI_f1_data): Likewise.
6061 (struct test_c_c_data): Remove max_ulp field.
6062 (struct test_cc_c_data): Likewise.
6063 (struct test_f_i_data): Likewise.
6064 (struct test_ff_i_data): Likewise.
6065 (struct test_f_l_data): Likewise.
6066 (struct test_f_L_data): Likewise.
6067 (struct test_sincos_data): Likewise.
6068 (RUN_TEST_f_f): Do not handle ulps.
6069 (RUN_TEST_LOOP_f_f): Likewise.
6070 (RUN_TEST_2_f): Likewise.
6071 (RUN_TEST_LOOP_2_f): Likewise.
6072 (RUN_TEST_fff_f): Likewise.
6073 (RUN_TEST_LOOP_fff_f): Likewise.
6074 (RUN_TEST_c_f): Likewise.
6075 (RUN_TEST_LOOP_c_f): Likewise.
6076 (RUN_TEST_f_f1): Likewise.
6077 (RUN_TEST_LOOP_f_f1): Likewise.
6078 (RUN_TEST_fF_f1): Likewise.
6079 (RUN_TEST_LOOP_fF_f1): Likewise.
6080 (RUN_TEST_fI_f1): Likewise.
6081 (RUN_TEST_LOOP_fI_f1): Likewise.
6082 (RUN_TEST_ffI_f1): Likewise.
6083 (RUN_TEST_LOOP_ffI_f1): Likewise.
6084 (RUN_TEST_c_c): Likewise.
6085 (RUN_TEST_LOOP_c_c): Likewise.
6086 (RUN_TEST_cc_c): Likewise.
6087 (RUN_TEST_LOOP_cc_c): Likewise.
6088 (RUN_TEST_f_i): Likewise.
6089 (RUN_TEST_LOOP_f_i): Likewise.
6090 (RUN_TEST_f_i_tg): Likewise.
6091 (RUN_TEST_LOOP_f_i_tg): Likewise.
6092 (RUN_TEST_ff_i_tg): Likewise.
6093 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6094 (RUN_TEST_f_b): Likewise.
6095 (RUN_TEST_LOOP_f_b): Likewise.
6096 (RUN_TEST_f_b_tg): Likewise.
6097 (RUN_TEST_LOOP_f_b_tg): Likewise.
6098 (RUN_TEST_f_l): Likewise.
6099 (RUN_TEST_LOOP_f_l): Likewise.
6100 (RUN_TEST_f_L): Likewise.
6101 (RUN_TEST_LOOP_f_L): Likewise.
6102 (RUN_TEST_sincos): Likewise.
6103 (RUN_TEST_LOOP_sincos): Likewise.
6105 2013-05-17 Joseph Myers <joseph@codesourcery.com>
6109 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6110 main case of finite arguments, set rounding mode to FE_TONEAREST
6111 and discard exceptions.
6112 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6114 (remainder_tonearest_test_data): New variable.
6115 (remainder_test_tonearest): New function.
6116 (remainder_towardzero_test_data): New variable.
6117 (remainder_test_towardzero): New function.
6118 (remainder_downward_test_data): New variable.
6119 (remainder_test_downward): New function.
6120 (remainder_upward_test_data): New variable.
6121 (remainder_test_upward): New function.
6122 (main): Call the new test functions.
6124 * math/libm-test.inc (struct test_f_f1_data): Remove field
6126 (struct test_fF_f1_data): Likewise.
6127 (struct test_ffI_f1_data): Likewise.
6128 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6129 based on value of EXTRA_EXPECTED.
6130 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6131 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6132 EXTRA_VAR based on value of EXTRA_EXPECTED.
6133 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6134 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6135 EXTRA_VAR based on value of EXTRA_EXPECTED.
6136 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6137 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6138 EXTRA_VAR based on value of EXTRA_EXPECTED.
6139 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6140 * math/gen-libm-test.pl (parse_args): Don't output initializers
6141 for extra output values.
6143 * math/libm-test.inc (check_int): Expect result to be exactly
6144 equal to expected value and do not handle ulps.
6145 (check_long): Likewise.
6146 (check_longlong): Likewise.
6148 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6150 (cimag_test_data): Likewise.
6151 (conj_test_data): Likewise.
6152 (copysign_test_data): Likewise.
6153 (cproj_test_data): Likewise.
6154 (creal_test_data): Likewise.
6155 (fabs_test_data): Likewise.
6156 (fdim_test_data): Likewise.
6157 (finite_test_data): Likewise.
6158 (floor_test_data): Likewise.
6159 (fmax_test_data): Likewise.
6160 (fmin_test_data): Likewise.
6161 (fmod_test_data): Likewise.
6162 (fpclassify_test_data): Likewise.
6163 (frexp_test_data): Likewise.
6164 (ilogb_test_data): Likewise.
6165 (isfinite_test_data): Likewise.
6166 (isgreater_test_data): Likewise.
6167 (isgreaterequal_test_data): Likewise.
6168 (isinf_test_data): Likewise.
6169 (isless_test_data): Likewise.
6170 (islessequal_test_data): Likewise.
6171 (islessgreater_test_data): Likewise.
6172 (isnan_test_data): Likewise.
6173 (isnormal_test_data): Likewise.
6174 (issignaling_test_data): Likewise.
6175 (isunordered_test_data): Likewise.
6176 (ldexp_test_data): Likewise.
6177 (lrint_test_data): Likewise.
6178 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6179 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6180 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6181 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6182 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6183 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6185 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6186 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6187 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6188 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6190 (lrint_downward_test_data): Test for "inexact" exceptions.
6191 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6192 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6193 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6195 (lrint_upward_test_data): Test for "inexact" exceptions.
6196 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6198 (llrint_test_data): Test for "inexact" exceptions.
6199 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6200 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6201 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6202 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6203 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6204 (llrint_downward_test_data): Test for "inexact" exceptions.
6205 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6206 (llrint_upward_test_data): Test for "inexact" exceptions.
6207 (logb_test_data): Likewise.
6208 (logb_downward_test_data): Likewise.
6209 (nextafter_test_data): Likewise.
6210 (nexttoward_test_data): Likewise.
6211 (remainder_test_data): Likewise.
6212 (remquo_test_data): Likewise.
6213 (scalbn_test_data): Likewise.
6214 (scalbln_test_data): Likewise.
6215 (signbit_test_data): Likewise.
6216 (sqrt_test_data): Likewise.
6217 (significand_test_data): Likewise.
6219 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6222 * benchtests/bench-modf.c (struct args): Mark arg0 as
6224 * scripts/bench.pl: Mark members of struct args as volatile.
6226 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6229 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6230 negative infinity on POWER6 or lower.
6231 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6233 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6236 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6237 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6238 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6239 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6240 (_FP_SETQNAN): New macro.
6241 (_FP_SETQNAN_SEMIRAW): Likewise.
6242 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6243 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6244 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6245 (FP_EXTEND): Use _FP_FRAC_SNANP.
6246 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6247 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6254 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6256 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6257 with DIVIDE_BY_ZERO_EXCEPTION.
6258 (gamma_test_data): Likewise.
6259 (lgamma_test_data): Likewise.
6260 (log_test_data): Likewise.
6261 (log10_test_data): Likewise.
6262 (log2_test_data): Likewise.
6263 (tgamma_test_data): Likewise.
6265 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6266 (acos_test_tonearest): Likewise.
6267 (acos_test_towardzero): Likewise.
6268 (acos_test_downward): Likewise.
6269 (acos_test_upward): Likewise.
6270 (acosh_test): Likewise.
6271 (asin_test): Likewise.
6272 (asin_test_tonearest): Likewise.
6273 (asin_test_towardzero): Likewise.
6274 (asin_test_downward): Likewise.
6275 (asin_test_upward): Likewise.
6276 (asinh_test): Likewise.
6277 (atan_test): Likewise.
6278 (atanh_test): Likewise.
6279 (atan2_test): Likewise.
6280 (cabs_test): Likewise.
6281 (cacos_test): Likewise.
6282 (cacosh_test): Likewise.
6283 (casin_test): Likewise.
6284 (casinh_test): Likewise.
6285 (catan_test): Likewise.
6286 (catanh_test): Likewise.
6287 (cbrt_test): Likewise.
6288 (ccos_test): Likewise.
6289 (ccosh_test): Likewise.
6290 (cexp_test): Likewise.
6291 (clog_test): Likewise.
6292 (clog10_test): Likewise.
6293 (cos_test): Likewise.
6294 (cos_test_tonearest): Likewise.
6295 (cos_test_towardzero): Likewise.
6296 (cos_test_downward): Likewise.
6297 (cos_test_upward): Likewise.
6298 (cosh_test): Likewise.
6299 (cosh_test_tonearest): Likewise.
6300 (cosh_test_towardzero): Likewise.
6301 (cosh_test_downward): Likewise.
6302 (cosh_test_upward): Likewise.
6303 (cpow_test): Likewise.
6304 (csin_test): Likewise.
6305 (csinh_test): Likewise.
6306 (csqrt_test): Likewise.
6307 (ctan_test): Likewise.
6308 (ctan_test_tonearest): Likewise.
6309 (ctan_test_towardzero): Likewise.
6310 (ctan_test_downward): Likewise.
6311 (ctan_test_upward): Likewise.
6312 (ctanh_test): Likewise.
6313 (ctanh_test_tonearest): Likewise.
6314 (ctanh_test_towardzero): Likewise.
6315 (ctanh_test_downward): Likewise.
6316 (ctanh_test_upward): Likewise.
6317 (erf_test): Likewise.
6318 (erfc_test): Likewise.
6319 (exp_test): Likewise.
6320 (exp_test_tonearest): Likewise.
6321 (exp_test_towardzero): Likewise.
6322 (exp_test_downward): Likewise.
6323 (exp_test_upward): Likewise.
6324 (exp10_test): Likewise.
6325 (exp2_test): Likewise.
6326 (expm1_test): Likewise.
6327 (fmod_test): Likewise.
6328 (gamma_test): Likewise.
6329 (hypot_test): Likewise.
6330 (j0_test): Likewise.
6331 (j1_test): Likewise.
6332 (jn_test): Likewise.
6333 (lgamma_test): Likewise.
6334 (log_test): Likewise.
6335 (log10_test): Likewise.
6336 (log1p_test): Likewise.
6337 (log2_test): Likewise.
6338 (logb_test_downward): Likewise.
6339 (pow_test): Likewise.
6340 (pow_test_tonearest): Likewise.
6341 (pow_test_towardzero): Likewise.
6342 (pow_test_downward): Likewise.
6343 (pow_test_upward): Likewise.
6344 (remainder_test): Likewise.
6345 (remquo_test): Likewise.
6346 (sin_test): Likewise.
6347 (sin_test_tonearest): Likewise.
6348 (sin_test_towardzero): Likewise.
6349 (sin_test_downward): Likewise.
6350 (sin_test_upward): Likewise.
6351 (sincos_test): Likewise.
6352 (sinh_test): Likewise.
6353 (sinh_test_tonearest): Likewise.
6354 (sinh_test_towardzero): Likewise.
6355 (sinh_test_downward): Likewise.
6356 (sinh_test_upward): Likewise.
6357 (sqrt_test): Likewise.
6358 (tan_test): Likewise.
6359 (tan_test_tonearest): Likewise.
6360 (tan_test_towardzero): Likewise.
6361 (tan_test_downward): Likewise.
6362 (tan_test_upward): Likewise.
6363 (tanh_test): Likewise.
6364 (tgamma_test): Likewise.
6365 (y0_test): Likewise.
6366 (y1_test): Likewise.
6367 (yn_test): Likewise.
6369 * math/gen-libm-test.pl (adjust_arg): Remove function.
6370 (special_function): Remove argument $in_func. Only handle
6371 generating output for tables of tests, not inside functions.
6372 (parse_args): Likewise.
6373 (generate_testfile): Remove variable $in_func. Update call to
6375 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6376 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6377 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6378 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6379 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6380 (MAX_VALUE_INIT): Rename macro to max_value.
6381 (MIN_VALUE_INIT): Rename macro to min_value.
6382 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6383 (plus_zero): Remove variable.
6384 (minus_zero): Likewise.
6385 (plus_infty): Likewise.
6386 (minus_infty): Likewise.
6387 (qnan_value): Likewise.
6388 (max_value): Likewise.
6389 (min_value): Likewise.
6390 (min_subnorm_value): Likewise.
6392 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6394 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6395 uint64_t or uint32_t usage.
6396 * crypt/sha256-block.c: Likewise.
6397 * crypt/sha256-crypt.c: Likewise.
6398 * crypt/sha256.c: Likewise.
6399 * crypt/sha512-block.c: Likewise.
6400 * crypt/sha512-crypt.c: Likewise.
6401 * crypt/sha512.c: Likewise.
6402 * debug/backtrace-tst.c: Likewise.
6403 * debug/pcprofiledump.c: Likewise.
6404 * elf/cache.c: Likewise.
6405 * elf/dl-cache.c: Likewise.
6406 * elf/dl-misc.c: Likewise.
6407 * elf/dl-profile.c: Likewise.
6408 * elf/dl-support.c: Likewise.
6409 * elf/ldconfig.c: Likewise.
6410 * elf/sprof.c: Likewise.
6411 * iconv/dummy-repertoire.c: Likewise.
6412 * iconv/iconv_charmap.c: Likewise.
6413 * iconv/skeleton.c: Likewise.
6414 * iconvdata/8bit-generic.c: Likewise.
6415 * iconvdata/cp737.h: Likewise.
6416 * iconvdata/cp775.h: Likewise.
6417 * iconvdata/ibm1008.h: Likewise.
6418 * iconvdata/ibm1025.h: Likewise.
6419 * iconvdata/ibm1046.h: Likewise.
6420 * iconvdata/ibm1097.h: Likewise.
6421 * iconvdata/ibm1112.h: Likewise.
6422 * iconvdata/ibm1122.h: Likewise.
6423 * iconvdata/ibm1123.h: Likewise.
6424 * iconvdata/ibm1124.h: Likewise.
6425 * iconvdata/ibm1129.h: Likewise.
6426 * iconvdata/ibm1130.h: Likewise.
6427 * iconvdata/ibm1132.h: Likewise.
6428 * iconvdata/ibm1133.h: Likewise.
6429 * iconvdata/ibm1137.h: Likewise.
6430 * iconvdata/ibm1140.h: Likewise.
6431 * iconvdata/ibm1141.h: Likewise.
6432 * iconvdata/ibm1142.h: Likewise.
6433 * iconvdata/ibm1143.h: Likewise.
6434 * iconvdata/ibm1144.h: Likewise.
6435 * iconvdata/ibm1145.h: Likewise.
6436 * iconvdata/ibm1146.h: Likewise.
6437 * iconvdata/ibm1147.h: Likewise.
6438 * iconvdata/ibm1148.h: Likewise.
6439 * iconvdata/ibm1149.h: Likewise.
6440 * iconvdata/ibm1153.h: Likewise.
6441 * iconvdata/ibm1154.h: Likewise.
6442 * iconvdata/ibm1155.h: Likewise.
6443 * iconvdata/ibm1156.h: Likewise.
6444 * iconvdata/ibm1157.h: Likewise.
6445 * iconvdata/ibm1158.h: Likewise.
6446 * iconvdata/ibm1160.h: Likewise.
6447 * iconvdata/ibm1161.h: Likewise.
6448 * iconvdata/ibm1162.h: Likewise.
6449 * iconvdata/ibm1163.h: Likewise.
6450 * iconvdata/ibm1164.h: Likewise.
6451 * iconvdata/ibm1166.h: Likewise.
6452 * iconvdata/ibm1167.h: Likewise.
6453 * iconvdata/ibm12712.h: Likewise.
6454 * iconvdata/ibm1390.h: Likewise.
6455 * iconvdata/ibm1399.h: Likewise.
6456 * iconvdata/ibm16804.h: Likewise.
6457 * iconvdata/ibm4517.h: Likewise.
6458 * iconvdata/ibm4899.h: Likewise.
6459 * iconvdata/ibm4909.h: Likewise.
6460 * iconvdata/ibm4971.h: Likewise.
6461 * iconvdata/ibm5347.h: Likewise.
6462 * iconvdata/ibm803.h: Likewise.
6463 * iconvdata/ibm856.h: Likewise.
6464 * iconvdata/ibm901.h: Likewise.
6465 * iconvdata/ibm902.h: Likewise.
6466 * iconvdata/ibm9030.h: Likewise.
6467 * iconvdata/ibm9066.h: Likewise.
6468 * iconvdata/ibm921.h: Likewise.
6469 * iconvdata/ibm922.h: Likewise.
6470 * iconvdata/ibm9448.h: Likewise.
6471 * iconvdata/isiri-3342.h: Likewise.
6472 * iconvdata/jis0201.h: Likewise.
6473 * include/link.h: Likewise.
6474 * include/netdb.h: Likewise.
6475 * inet/check_native.c: Likewise.
6476 * inet/check_pf.c: Likewise.
6477 * inet/getipv4sourcefilter.c: Likewise.
6478 * inet/getnameinfo.c: Likewise.
6479 * inet/getsourcefilter.c: Likewise.
6480 * inet/htonl.c: Likewise.
6481 * inet/setipv4sourcefilter.c: Likewise.
6482 * inet/setsourcefilter.c: Likewise.
6483 * inet/test-inet6_opt.c: Likewise.
6484 * inet/tst-network.c: Likewise.
6485 * locale/C-collate.c: Likewise.
6486 * locale/C-ctype.c: Likewise.
6487 * locale/C-time.c: Likewise.
6488 * locale/C-translit.h: Likewise.
6489 * locale/loadarchive.c: Likewise.
6490 * locale/programs/3level.h: Likewise.
6491 * locale/programs/charmap.c: Likewise.
6492 * locale/programs/charmap.h: Likewise.
6493 * locale/programs/ld-address.c: Likewise.
6494 * locale/programs/ld-collate.c: Likewise.
6495 * locale/programs/ld-ctype.c: Likewise.
6496 * locale/programs/ld-identification.c: Likewise.
6497 * locale/programs/ld-measurement.c: Likewise.
6498 * locale/programs/ld-messages.c: Likewise.
6499 * locale/programs/ld-monetary.c: Likewise.
6500 * locale/programs/ld-name.c: Likewise.
6501 * locale/programs/ld-numeric.c: Likewise.
6502 * locale/programs/ld-paper.c: Likewise.
6503 * locale/programs/ld-telephone.c: Likewise.
6504 * locale/programs/ld-time.c: Likewise.
6505 * locale/programs/linereader.c: Likewise.
6506 * locale/programs/locale.c: Likewise.
6507 * locale/programs/locarchive.c: Likewise.
6508 * locale/programs/locfile.h: Likewise.
6509 * locale/programs/repertoire.c: Likewise.
6510 * locale/programs/simple-hash.c: Likewise.
6511 * locale/programs/simple-hash.h: Likewise.
6512 * malloc/memusage.c: Likewise.
6513 * malloc/memusagestat.c: Likewise.
6514 * nis/nis_defaults.c: Likewise.
6515 * nis/nis_hash.c: Likewise.
6516 * nis/nis_print.c: Likewise.
6517 * nis/nis_xdr.c: Likewise.
6518 * nscd/connections.c: Likewise.
6519 * nscd/hstcache.c: Likewise.
6520 * nscd/nscd_gethst_r.c: Likewise.
6521 * nscd/nscd_getserv_r.c: Likewise.
6522 * nscd/nscd_helper.c: Likewise.
6523 * nscd/servicescache.c: Likewise.
6524 * nss/makedb.c: Likewise.
6525 * nss/nss_db/db-XXX.c: Likewise.
6526 * nss/nss_db/db-initgroups.c: Likewise.
6527 * nss/nss_db/db-netgrp.c: Likewise.
6528 * nss/nss_files/files-network.c: Likewise.
6529 * nss/nss_files/files-parse.c: Likewise.
6530 * posix/bug-regex5.c: Likewise.
6531 * posix/fnmatch_loop.c: Likewise.
6532 * posix/regcomp.c: Likewise.
6533 * posix/regexec.c: Likewise.
6534 * posix/tst-rfc3484-2.c: Likewise.
6535 * posix/tst-rfc3484-3.c: Likewise.
6536 * posix/tst-rfc3484.c: Likewise.
6537 * resolv/nss_dns/dns-canon.c: Likewise.
6538 * resolv/nss_dns/dns-network.c: Likewise.
6539 * resolv/res_init.c: Likewise.
6540 * resolv/res_mkquery.c: Likewise.
6541 * resolv/tst-aton.c: Likewise.
6542 * stdlib/cxa_atexit.c: Likewise.
6543 * stdlib/cxa_finalize.c: Likewise.
6544 * stdlib/gen-fpioconst.c: Likewise.
6545 * stdlib/strtol_l.c: Likewise.
6546 * string/tst-endian.c: Likewise.
6547 * sunrpc/auth_des.c: Likewise.
6548 * sunrpc/clnt_udp.c: Likewise.
6549 * sunrpc/rtime.c: Likewise.
6550 * sunrpc/svcauth_des.c: Likewise.
6551 * sunrpc/xdr.c: Likewise.
6552 * sunrpc/xdr_intXX_t.c: Likewise.
6553 * sunrpc/xdr_rec.c: Likewise.
6554 * sysdeps/generic/ldconfig.h: Likewise.
6555 * sysdeps/generic/ldsodefs.h: Likewise.
6556 * sysdeps/generic/memusage.h: Likewise.
6557 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6567 * sysdeps/posix/getaddrinfo.c: Likewise.
6568 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6569 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6570 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6571 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6572 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6573 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6574 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6575 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6576 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6577 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6578 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6579 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6580 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6581 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6582 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6583 * sysdeps/x86_64/dl-tls.h: Likewise.
6584 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6585 * time/alt_digit.c: Likewise.
6586 * time/era.c: Likewise.
6587 * wcsmbs/tst-c16c32-1.c: Likewise.
6589 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6591 * math/libm-test.inc (struct test_sincos_data): New type.
6592 (RUN_TEST_LOOP_sincos): New macro.
6593 (sincos_test_data): New variable.
6594 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6596 2013-05-16 Richard Henderson <rth@redhat.com>
6598 * math/atest-exp2.c (LIMB64): New macro.
6599 (CONSTSZ): New macro.
6600 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6602 (print_mpn_fp): ... to function scope.
6603 (read_mpn_hex): Remove.
6605 (exp2_mpn): Use mp_log2.
6606 (main): Use mp_exp1.
6608 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6610 * math/libm-test.inc: Remove comment about not testing "inexact"
6612 (INEXACT_EXCEPTION): New macro.
6613 (NO_INEXACT_EXCEPTION): Likewise.
6614 (INVALID_EXCEPTION_OK): Update value.
6615 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6616 (OVERFLOW_EXCEPTION_OK): Likewise.
6617 (UNDERFLOW_EXCEPTION_OK): Likewise.
6618 (IGNORE_ZERO_INF_SIGN): Likewise.
6619 (ERRNO_UNCHANGED): Likewise.
6620 (ERRNO_EDOM): Likewise.
6621 (ERRNO_ERANGE): Likewise.
6622 (test_exceptions): Handle testing "inexact" exceptions.
6623 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6624 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6625 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6626 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6628 (rint_towardzero_test_data): Likewise.
6629 (rint_downward_test_data): Likewise.
6630 (rint_upward_test_data): Likewise.
6632 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6633 with OVERFLOW_EXCEPTION.
6634 (exp10_test_data): Likewise.
6635 (exp2_test_data): Likewise.
6636 (expm1_test_data): Likewise.
6637 (lgamma_test_data): Likewise.
6638 (pow_test_data): Likewise.
6639 (tgamma_test_data): Likewise.
6640 (yn_test_data): Remove duplicate test of overflow.
6642 * math/libm-test.inc (struct test_cc_c_data): New type.
6643 (RUN_TEST_LOOP_cc_c): New macro.
6644 (cpow_test_data): New variable.
6645 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6647 * math/libm-test.inc (struct test_f_L_data): New type.
6648 (RUN_TEST_LOOP_f_L): New macro.
6649 (llrint_test_data): New variable.
6650 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6651 (llrint_tonearest_test_data): New variable.
6652 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6653 (llrint_towardzero_test_data): New variable.
6654 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6655 (llrint_downward_test_data): New variable.
6656 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6657 (llrint_upward_test_data): New variable.
6658 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6659 (llround_test_data): New variable.
6660 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6662 2013-05-13 Peter Collingbourne <pcc@google.com>
6664 * math/atest-exp2.c (get_log2): Remove const attribute.
6666 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6668 * math/libm-test.inc (struct test_f_l_data): New type.
6669 (RUN_TEST_LOOP_f_l): New macro.
6670 (lrint_test_data): New variable.
6671 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6672 (lrint_tonearest_test_data): New variable.
6673 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6674 (lrint_towardzero_test_data): New variable.
6675 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6676 (lrint_downward_test_data): New variable.
6677 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6678 (lrint_upward_test_data): New variable.
6679 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6680 (lround_test_data): New variable.
6681 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6683 2013-05-15 Peter Collingbourne <pcc@google.com>
6685 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6686 (EXTRACT_WORDS64) Use where appropriate.
6687 (INSERT_WORDS64) Likewise.
6689 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6690 constraints with x constraints.
6691 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6693 * malloc/obstack.c (_obstack_compat): Add initializer.
6695 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6697 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6698 si_trapno and add si_addr_lsb to _sifields.sigfault.
6699 (si_trapno): Remove macro.
6700 (si_addr_lsb): Define new macro.
6701 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6703 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6705 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6706 instead of TEST_f_l.
6707 (llrint_test_tonearest): Likewise.
6708 (llrint_test_towardzero): Likewise.
6709 (llrint_test_downward): Likewise.
6710 (llrint_test_upward): Likewise.
6711 (llround_test): Likewise.
6713 * math/libm-test.inc (struct test_f_i_data): Add comment.
6714 (RUN_TEST_LOOP_f_b): New macro.
6715 (RUN_TEST_LOOP_f_b_tg): Likewise.
6716 (finite_test_data): New variable.
6717 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6718 (isfinite_test_data): New variable.
6719 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6720 (isinf_test_data): New variable.
6721 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6722 (isnan_test_data): New variable.
6723 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6724 (isnormal_test_data): New variable.
6725 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6726 (issignaling_test_data): New variable.
6727 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6728 (signbit_test_data): New variable.
6729 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6731 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6732 with INVALID_EXCEPTION.
6733 (acosh_test_data): Likewise.
6734 (asin_test_data): Likewise.
6735 (atanh_test_data): Likewise.
6736 (fmod_test_data): Likewise.
6737 (log_test_data): Likewise.
6738 (log10_test_data): Likewise.
6739 (log2_test_data): Likewise.
6740 (pow_test_data): Likewise.
6741 (sqrt_test_data): Likewise.
6742 (y0_test_data): Likewise.
6743 (y1_test_data): Likewise.
6744 (yn_test_data): Likewise.
6746 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6749 * math/libm-test.inc (struct test_ff_i_data): New type.
6750 (RUN_TEST_LOOP_ff_i_tg): New macro.
6751 (isgreater_test_data): New variable.
6752 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6753 (isgreaterequal_test_data): New variable.
6754 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6755 (isless_test_data): New variable.
6756 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6757 (islessequal_test_data): New variable.
6758 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6759 (islessgreater_test_data): New variable.
6760 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6761 (isunordered_test_data): New variable.
6762 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6764 2013-05-14 David S. Miller <davem@davemloft.net>
6766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6768 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6770 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6772 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6774 (struct test_f_i_data): Change type of max_ulp to int.
6776 * math/libm-test.inc (test_ffI_f1_data): New type.
6777 (RUN_TEST_LOOP_ffI_f1): New macro.
6778 (remquo_test_data): New variable.
6779 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6781 * setjmp/tst-setjmp-fp.c: New file.
6782 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6783 (link-libm): New variable.
6784 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6786 * math/libm-test.inc (struct test_f_i_data): New type.
6787 (RUN_TEST_LOOP_f_i): New macro.
6788 (RUN_TEST_LOOP_f_i_tg): Likewise.
6789 (fpclassify_test_data): New variable.
6790 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6791 (ilogb_test_data): New variable.
6792 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6794 * math/libm-test.inc (scalbln_test): Correct function name in END
6797 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6798 (RUN_TEST_LOOP_fI_f1): New macro.
6799 (frexp_test_data): New variable.
6800 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6802 * math/libm-test.inc (struct test_fF_f1_data): New type.
6803 (RUN_TEST_LOOP_fF_f1): New macro.
6804 (modf_test_data): New variable.
6805 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6807 * math/libm-test.inc (struct test_f_f1_data): New type.
6808 (RUN_TEST_LOOP_f_f1): New macro.
6809 (gamma_test_data): New variable.
6810 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6811 (lgamma_test_data): New variable.
6812 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6814 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6816 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6817 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6818 (main): Comment "tls" pseudo-hwcap.
6820 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6822 * math/libm-test.inc (struct test_fl_f_data): New type.
6823 (RUN_TEST_LOOP_fl_f): New variable.
6824 (scalbln_test_data): New variable.
6825 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6827 * math/libm-test.inc (struct test_fi_f_data): New type.
6828 (RUN_TEST_LOOP_fi_f): New macro.
6829 (ldexp_test_data): New variable.
6830 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6831 (scalbn_test_data): New variable.
6832 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6834 * math/libm-test.inc (struct test_c_f_data): New type.
6835 (RUN_TEST_LOOP_c_f): New macro.
6836 (cabs_test_data): New variable.
6837 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6838 (carg_test_data): New variable.
6839 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6840 (cimag_test_data): New variable.
6841 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6842 (creal_test_data): New variable.
6843 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6845 * math/libm-test.inc (struct test_if_f_data): New type.
6846 (RUN_TEST_LOOP_if_f): New macro.
6847 (jn_test_data): New variable.
6848 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6849 (yn_test_data): New variable.
6850 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6852 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6854 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6856 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6857 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6859 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6861 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6862 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6863 (bench-deps): Add bench-timing.h.
6864 * benchtests-bench-skeleton.c: Include bench-timing.h.
6865 (main): Use TIMING_* macros instead of clock_gettime.
6866 * benchtests/bench-timing.h: New file.
6869 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6870 Renamed from _LIB_VERSION.
6871 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6873 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6875 * math/libm-test.inc (struct test_fff_f_data): New type.
6876 (RUN_TEST_LOOP_fff_f): New macro.
6877 (fma_test_data): New variable.
6878 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6879 (fma_towardzero_test_data): New variable.
6880 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6881 (fma_downward_test_data): New variable.
6882 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6883 (fma_upward_test_data): New variable.
6884 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6886 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6887 (struct test_c_c_data): New type.
6888 (RUN_TEST_LOOP_c_c): New macro.
6889 (cacos_test_data): New variable.
6890 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6891 (cacosh_test_data): New variable.
6892 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6893 (casin_test_data): New variable.
6894 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6895 (casinh_test_data): New variable.
6896 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6897 (catan_test_data): New variable.
6898 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6899 (catanh_test_data): New variable.
6900 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6901 (ccos_test_data): New variable.
6902 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6903 (ccosh_test_data): New variable.
6904 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6905 (cexp_test_data): New variable.
6906 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6907 (clog_test_data): New variable.
6908 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6909 (clog10_test_data): New variable.
6910 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6911 (conj_test_data): New variable.
6912 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6913 (cproj_test_data): New variable.
6914 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6915 (csin_test_data): New variable.
6916 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6917 (csinh_test_data): New variable.
6918 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6919 (csqrt_test_data): New variable.
6920 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6921 (ctan_test_data): New variable.
6922 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6923 (ctan_tonearest_test_data): New variable.
6924 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6925 (ctan_towardzero_test_data): New variable.
6926 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6927 (ctan_downward_test_data): New variable.
6928 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6929 (ctan_upward_test_data): New variable.
6930 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6931 (ctanh_test_data): New variable.
6932 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6933 (ctanh_tonearest_test_data): New variable.
6934 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6935 (ctanh_towardzero_test_data): New variable.
6936 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6937 (ctanh_downward_test_data): New variable.
6938 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6939 (ctanh_upward_test_data): New variable.
6940 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6941 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6944 * math/libm-test.inc (struct test_ff_f_data): New type.
6945 (struct test_ff_f_data_nexttoward): Likewise.
6946 (RUN_TEST_LOOP_2_f): New macro.
6947 (RUN_TEST_LOOP_ff_f): Likewise.
6948 (atan2_test_data): New variable.
6949 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6950 (copysign_test_data): New variable.
6951 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6952 (fdim_test_data): New variable.
6953 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6954 (fmax_test_data): New variable.
6955 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6956 (fmin_test_data): New variable.
6957 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6958 (fmod_test_data): New variable.
6959 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6960 (hypot_test_data): New variable.
6961 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6962 (nextafter_test_data): New variable.
6963 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6964 (nexttoward_test_data): New variable.
6965 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6966 (pow_test_data): New variable.
6967 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6968 (pow_tonearest_test_data): New variable.
6969 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6970 (pow_towardzero_test_data): New variable.
6971 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6972 (pow_downward_test_data): New variable.
6973 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6974 (pow_upward_test_data): New variable.
6975 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6976 (remainder_test_data): New variable.
6977 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6978 (scalb_test_data): New variable.
6979 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6980 * sysdeps/i386/fpu/libm-test-ulps: Update.
6982 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6984 * math/libm-test.inc (fma_test): Use max_value instead of local
6986 (nextafter_test): Likewise.
6988 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6989 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6990 (acos_downward_test_data): New variable.
6991 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6992 (acos_upward_test_data): New variable.
6993 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6994 (acosh_test_data): New variable.
6995 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6996 (asin_test_data): New variable.
6997 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6998 (asin_tonearest_test_data): New variable.
6999 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7000 (asin_towardzero_test_data): New variable.
7001 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7002 (asin_downward_test_data): New variable.
7003 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7004 (asin_upward_test_data): New variable.
7005 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7006 (asinh_test_data): New variable.
7007 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7008 (atan_test_data): New variable.
7009 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7010 (atanh_test_data): New variable.
7011 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7012 (cbrt_test_data): New variable.
7013 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7014 (ceil_test_data): New variable.
7015 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7016 (cos_test_data): New variable.
7017 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7018 (cos_tonearest_test_data): New variable.
7019 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7020 (cos_towardzero_test_data): New variable.
7021 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7022 (cos_downward_test_data): New variable.
7023 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7024 (cos_upward_test_data): New variable.
7025 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7026 (cosh_test_data): New variable.
7027 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7028 (cosh_tonearest_test_data): New variable.
7029 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7030 (cosh_towardzero_test_data): New variable.
7031 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7032 (cosh_downward_test_data): New variable.
7033 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7034 (cosh_upward_test_data): New variable.
7035 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7036 (erf_test_data): New variable.
7037 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7038 (erfc_test_data): New variable.
7039 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7040 (exp_test_data): New variable.
7041 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7042 (exp_tonearest_test_data): New variable.
7043 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7044 (exp_towardzero_test_data): New variable.
7045 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7046 (exp_downward_test_data): New variable.
7047 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7048 (exp_upward_test_data): New variable.
7049 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7050 (exp10_test_data): New variable.
7051 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7052 (exp2_test_data): New variable.
7053 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7054 (expm1_test_data): New variable.
7055 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7056 (fabs_test_data): New variable.
7057 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7058 (floor_test_data): New variable.
7059 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7060 (j0_test_data): New variable.
7061 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7062 (j1_test_data): New variable.
7063 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7064 (log_test_data): New variable.
7065 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7066 (log10_test_data): New variable.
7067 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7068 (log1p_test_data): New variable.
7069 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7070 (log2_test_data): New variable.
7071 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7072 (logb_test_data): New variable.
7073 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7074 (logb_downward_test_data): New variable.
7075 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7076 (nearbyint_test_data): New variable.
7077 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7078 (rint_test_data): New variable.
7079 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7080 (rint_tonearest_test_data): New variable.
7081 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7082 (rint_towardzero_test_data): New variable.
7083 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7084 (rint_downward_test_data): New variable.
7085 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7086 (rint_upward_test_data): New variable.
7087 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7088 (round_test_data): New variable.
7089 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7090 (sin_test_data): New variable.
7091 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7092 (sin_tonearest_test_data): New variable.
7093 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7094 (sin_towardzero_test_data): New variable.
7095 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7096 (sin_downward_test_data): New variable.
7097 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7098 (sin_upward_test_data): New variable.
7099 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7100 (sinh_test_data): New variable.
7101 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7102 (sinh_tonearest_test_data): New variable.
7103 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7104 (sinh_towardzero_test_data): New variable.
7105 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7106 (sinh_downward_test_data): New variable.
7107 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7108 (sinh_upward_test_data): New variable.
7109 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7110 (sqrt_test_data): New variable.
7111 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7112 (tan_test_data): New variable.
7113 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7114 (tan_tonearest_test_data): New variable.
7115 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7116 (tan_towardzero_test_data): New variable.
7117 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7118 (tan_downward_test_data): New variable.
7119 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7120 (tan_upward_test_data): New variable.
7121 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7122 (tanh_test_data): New variable.
7123 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7124 (tgamma_test_data): New variable.
7125 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7126 (trunc_test_data): New variable.
7127 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7128 (y0_test_data): New variable.
7129 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7130 (y1_test_data): New variable.
7131 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7132 (significand_test_data): New variable.
7133 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7135 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7138 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7140 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7142 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7144 2013-05-10 Andreas Jaeger <aj@suse.de>
7147 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7148 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7150 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7152 * math/gen-libm-test.pl (adjust_arg): New function.
7153 (special_functions): Handle generating output in both functions
7155 (parse_args): Likewise.
7156 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7157 $in_func argument to parse_args.
7158 * math/libm-test.inc (struct test_f_f_data): New type.
7159 (IF_ROUND_INIT_): New macro.
7160 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7161 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7162 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7163 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7164 (ROUND_RESTORE_): Likewise.
7165 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7166 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7167 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7168 (ROUND_RESTORE_FE_UPWARD): Likewise.
7169 (RUN_TEST_LOOP_f_f): New macro.
7170 (acos_test_data): New variable.
7171 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7172 (acos_tonearest_test_data): New variable.
7173 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7175 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7177 * benchtests/bench-skeleton.c (startup): Fix coding style.
7179 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7182 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7183 negative infinity argument.
7184 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7185 negative infinity argument.
7186 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7187 negative infinity argument.
7188 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7191 2013-05-10 Florian Weimer <fweimer@redhat.com>
7193 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7194 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7195 * iconv/iconv_prog.c (main): Likewise.
7196 * locale/programs/charmap-dir.c (charmap_readdir)
7197 (fopen_uncompressed): Likewise.
7198 * locale/programs/locfile.c (siblings_uncached)
7199 (write_locale_data): Use lstat64 instead of lstat.
7200 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7203 2013-05-10 Andreas Jaeger <aj@suse.de>
7206 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7210 2013-05-09 Carlos O'Donell <carlos@redhat.com>
7212 * elf/dl-close.c (_dl_close_worker): Add comments.
7214 2013-05-09 Joseph Myers <joseph@codesourcery.com>
7217 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7219 (__ieee754_rem_pio2l): Update comments.
7222 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7224 (__ieee754_rem_pio2l): Update comments.
7226 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7227 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7229 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7232 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7233 (M_PI_34_LOG10El): Likewise.
7234 (M_PI2_LOG10El): Likewise.
7235 (M_PI4_LOG10El): Likewise.
7236 (M_PI_LOG10El): Likewise.
7238 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7242 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7244 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7245 (MINUS_ZERO_INIT): Likewise.
7246 (PLUS_INFTY_INIT): Likewise.
7247 (MINUS_INFTY_INIT): Likewise.
7248 (QNAN_VALUE_INIT): Likewise.
7249 (MAX_VALUE_INIT): Likewise.
7250 (MIN_VALUE_INIT): Likewise.
7251 (MIN_SUBNORM_VALUE_INIT): Likewise.
7252 (plus_zero): Initialize with PLUS_ZERO_INIT.
7253 (minus_zero): Initialize with MINUS_ZERO_INIT.
7254 (plus_infty): Initialize with PLUS_INFTY_INIT.
7255 (minus_infty): Initialize with MINUS_INFTY_INIT.
7256 (qnan_value): Initialize with QNAN_VALUE_INIT.
7257 (max_value): Initialize with MAX_VALUE_INIT.
7258 (min_value): Initialize with MIN_VALUE_INIT.
7259 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7261 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7262 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7263 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7264 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7266 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7267 (RUN_TEST_2_f): Likewise.
7268 (RUN_TEST_ff_f): Likewise.
7269 (RUN_TEST_fi_f): Likewise.
7270 (RUN_TEST_fl_f): Likewise.
7271 (RUN_TEST_fff_f): Likewise.
7272 (RUN_TEST_c_f): Likewise.
7273 (RUN_TEST_f_f1): Likewise.
7274 (RUN_TEST_fF_f1): Likewise.
7275 (RUN_TEST_fI_f1): Likewise.
7276 (RUN_TEST_ffI_f1): Likewise.
7277 (RUN_TEST_c_c): Likewise.
7278 (RUN_TEST_cc_c): Likewise.
7279 (RUN_TEST_f_i): Likewise.
7280 (RUN_TEST_f_i_tg): Likewise.
7281 (RUN_TEST_ff_i_tg): Likewise.
7282 (RUN_TEST_f_b): Likewise.
7283 (RUN_TEST_f_b_tg): Likewise.
7284 (RUN_TEST_f_l): Likewise.
7285 (RUN_TEST_f_L): Likewise.
7286 (RUN_TEST_sincos): Likewise.
7287 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7288 whether to show exceptions. Do not include ");\n" in return
7290 (special_functions): Output call to RUN_TEST_sincos instead of
7291 check_float calls. Update calls to new_test.
7292 (parse_args): Output call to single RUN_TEST_* macro instead of
7293 check_* calls and other assignments. Update calls to new_test.
7299 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7300 input to result for tgamma overflow.
7301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7302 (gamma_coeff): New variable.
7303 (NCOEFF): New macro.
7304 (gamma_positive): New function.
7305 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7306 underflow here. Use gamma_positive instead of exp (lgamma) for
7308 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7309 (gamma_coeff): New variable.
7310 (NCOEFF): New macro.
7311 (gammaf_positive): New function.
7312 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7313 underflow here. Use gamma_positive instead of exp (lgamma) for
7315 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7316 (gamma_coeff): New variable.
7317 (NCOEFF): New macro.
7318 (gammal_positive): New function.
7319 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7320 underflow here. Use gamma_positive instead of exp (lgamma) for
7322 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7323 (gamma_coeff): New variable.
7324 (NCOEFF): New macro.
7325 (gammal_positive): New function.
7326 (__ieee754_gammal_r): Handle positive infinity, overflow and
7327 underflow here. Handle NaN the same as positive infinity. Remove
7328 check x < 0xffffffff for negative integers. Use gamma_positive
7329 instead of exp (lgamma) for other arguments.
7330 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7331 (gamma_coeff): New variable.
7332 (NCOEFF): New macro.
7333 (gammal_positive): New function.
7334 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7335 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7339 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7340 * sysdeps/generic/math_private.h (__gamma_productf): New
7342 (__gamma_product): Likewise.
7343 (__gamma_productl): Likewise.
7344 * math/Makefile (libm-calls): Add gamma_product.
7345 * math/libm-test.inc (tgamma_test): Add more tests.
7346 * sysdeps/i386/fpu/libm-test-ulps: Update.
7347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7349 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7351 * benchtests/bench-skeleton.c (main): Preheat CPU.
7353 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7355 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7357 2013-05-07 Roland McGrath <roland@hack.frob.com>
7359 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7360 and _dl_skip_args_internal.
7362 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7364 * manual/message.texi (Message Translation): Talk about users.
7365 Message to key mapping impacts design.
7367 2013-05-06 Roland McGrath <roland@hack.frob.com>
7369 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7371 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7373 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7374 * sysdeps/wordsize-64/glob64.c: ... here.
7376 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7377 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7380 * debug/getlogin_r_chk.c: Moved to ...
7381 * login/getlogin_r_chk.c: ... here.
7382 * debug/Makefile (routines): Move getlogin_r_chk to ...
7383 * login/Makefile (routines): ... here.
7384 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7385 * login/Versions (libc: GLIBC_2.4): ... here.
7387 * io/poll.c (__poll): Renamed from poll.
7388 Add libc_hidden_def.
7389 (poll): Define as weak alias.
7391 * debug/ptsname_r_chk.c: Moved to ...
7392 * login/ptsname_r_chk.c: ... here.
7393 * debug/Makefile (routines): Move ptsname_r_chk to ...
7394 * login/Makefile (routines): ... here.
7395 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7396 * login/Versions (libc: GLIBC_2.4): ... here.
7398 * posix/getlogin.c: Moved to ...
7399 * login/getlogin.c: ... here.
7400 * posix/getlogin_r.c: Moved to ...
7401 * login/getlogin_r.c: ... here.
7402 * posix/getlogin_r.c: Moved to ...
7403 * login/getlogin_r.c: ... here.
7404 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7405 * login/Makefile (routines): ... here.
7406 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7407 * login/Versions (libc: GLIBC_2.0): ... here.
7409 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7410 (setrlimit): Define as weak alias.
7412 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7413 Call __ names for open, ftruncate, and close.
7414 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7415 (truncate): Define as weak alias.
7417 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7419 * math/gen-libm-test.pl (parse_args): Initialize x before each
7420 test of frexp, modf and remquo.
7422 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7425 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7429 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7431 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7433 2013-05-06 Roland McGrath <roland@hack.frob.com>
7435 * elf/dl-writev.h: New file.
7436 * elf/dl-misc.c: Include it.
7437 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7438 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7440 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7442 * math/libm-test.inc (noXFails): Remove variable.
7443 (noXPasses): Likewise.
7444 (BUILD_COMPLEX_INT): Remove macro.
7445 (print_screen): Remove xfail argument.
7446 (print_screen_max_error): Likewise.
7447 (update_stats): Likewise.
7448 (print_max_error): Likewise. Update calls to other affected
7450 (print_complex_max_error): Likewise.
7451 (test_single_exception): Update calls to print_screen.
7452 (test_single_errno): Likewise.
7453 (check_float_internal): Remove xfail argument. Update calls to
7454 other affected functions.
7455 (check_float): Likewise.
7456 (check_complex): Likewise.
7457 (check_int): Likewise.
7458 (check_long): Likewise.
7459 (check_bool): Likewise.
7460 (check_longlong): Likewise.
7461 (main): Don't print noXFails and noXPasses.
7462 * math/gen-libm-test.pl (top level): Don't mention expected
7463 failure handling in comment.
7464 (new_test): Don't handle expected failures.
7465 (parse_args): Don't mention expected failure handling in comment.
7466 (generate_testfile): Don't handle expected failures.
7467 (parse_ulps): Likewise.
7468 (print_ulps_file): Likewise.
7469 (get_failure): Remove function.
7470 (output_test): Don't handle expected failures.
7471 * make/README.libm-test: Don't mention expected failure handling.
7473 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7474 (minus_zero): Likewise.
7475 (plus_infty): Likewise.
7476 (minus_infty): Likewise.
7477 (qnan_value): Likewise.
7478 (max_value): Likewise.
7479 (min_value): Likewise.
7480 (min_subnorm_value): Likewise.
7481 (initialize): Do not initialize those variables dynamically.
7483 2013-05-03 Roland McGrath <roland@hack.frob.com>
7485 * io/open.c (__open_2): Moved to ...
7486 * io/open_2.c: ... this new file.
7487 * io/open64.c (__open64_2): Moved to ...
7488 * io/open64_2.c: ... this new file.
7489 * io/openat.c (__openat_2): Moved to ...
7490 * io/openat_2.c: ... this new file.
7491 * io/openat64.c (__openat64_2): Moved to ...
7492 * io/openat64_2.c: ... this new file.
7493 * io/Makefile (routines): Add them.
7494 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7495 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7496 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7497 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7498 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7499 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7500 (__openat64): Add hidden_ver.
7501 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7502 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7504 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7505 Separately conditionalize setting of GLRO(dl_sysinfo) so
7506 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7507 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7509 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7511 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7512 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7514 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7515 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7516 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7517 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7518 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7520 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7522 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7525 * math/libm-test.inc (hypot_test): Do not use
7526 IGNORE_ZERO_INF_SIGN.
7528 2013-05-03 Andreas Jaeger <aj@suse.de>
7530 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7532 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7533 (PF_MAX): Adjust for VSOCK change.
7535 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7539 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7542 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7543 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7544 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7546 2013-05-02 David S. Miller <davem@davemloft.net>
7548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7550 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7552 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7554 2013-05-01 Roland McGrath <roland@hack.frob.com>
7556 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7558 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7561 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7562 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7563 Use __attribute__ ((__gnu_inline__)).
7564 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7565 Don't use __attribute__ ((__gnu_inline__)).
7567 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7570 * math/s_catan.c (__catan): Handle small real or imaginary part of
7571 input specially to avoid spurious underflow.
7572 * math/s_catanf.c (__catanf): Likewise.
7573 * math/s_catanh.c (__catanh): Likewise.
7574 * math/s_catanhf.c (__catanhf): Likewise.
7575 * math/s_catanhl.c (__catanhl): Likewise.
7576 * math/s_catanl.c (__catanl): Likewise.
7577 * math/libm-test.inc (catan_test): Add more tests.
7578 (catanh_test): Likewise.
7579 * sysdeps/i386/fpu/libm-test-ulps: Update.
7580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7582 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7586 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7589 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7590 accurately for denominator in atan2.
7591 * math/s_catanf.c (__catanf): Likewise.
7592 * math/s_catanh.c (__catanh): Likewise.
7593 * math/s_catanhf.c (__catanhf): Likewise.
7594 * math/s_catanhl.c (__catanhl): Likewise.
7595 * math/s_catanl.c (__catanl): Likewise.
7596 * math/libm-test.inc (catan_test): Add more tests.
7597 (catanh_test): Likewise.
7598 * sysdeps/i386/fpu/libm-test-ulps: Update.
7599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7601 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7603 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7605 * benchtests/Makefile (bench): Remove slow benchmarks.
7606 * benchtests/atan-inputs: Add slow benchmark inputs.
7607 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7608 (BENCH_FUNC): Accept variant offset.
7610 * benchtests/bench-skeleton.c (main): Run benchmark for each
7612 * benchtests/cos-inputs: Add slow benchmark inputs.
7613 * benchtests/exp-inputs: Likewise.
7614 * benchtests/pow-inputs: Likewise.
7615 * benchtests/sin-inputs: Likewise.
7616 * benchtests/slowatan-inputs: Remove.
7617 * benchtests/slowatan.c: Remove.
7618 * benchtests/slowcos-inputs: Remove.
7619 * benchtests/slowcos.c: Remove.
7620 * benchtests/slowexp-inputs: Remove.
7621 * benchtests/slowexp.c: Remove.
7622 * benchtests/slowpow-inputs: Remove.
7623 * benchtests/slowpow.c: Remove.
7624 * benchtests/slowsin-inputs: Remove.
7625 * benchtests/slowsin.c: Remove.
7626 * benchtests/slowtan-inputs: Remove.
7627 * benchtests/slowtan.c: Remove.
7628 * benchtests/tan-inputs: Add slow benchmark inputs.
7629 * scripts/bench.pl: Parse comments and directives.
7631 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7633 ($(objpfx)bench-%.c): Remove *-ITER.
7634 * benchtests/bench-modf.c: Remove definition of ITER.
7635 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7636 (main): Loop for DURATION seconds instead of fixed number of
7638 * scripts/bench.pl: Don't expect iterations in parameters.
7640 2013-04-29 Roland McGrath <roland@hack.frob.com>
7642 * io/fchdir.c (__fchdir): Renamed from fchdir.
7643 (fchdir): Define as weak alias.
7645 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7647 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7648 (ERRNO_EDOM): Likewise.
7649 (ERRNO_ERANGE): Likewise.
7650 (noErrnoTests): New variable.
7651 (init_max_error): Set errno to 0.
7652 (test_single_errno): New function.
7653 (test_errno): Likewise.
7654 (check_float_internal): Call test_errno. Set errno to 0.
7655 (check_complex): Refer to errno tests in comment.
7656 (check_int): Call test_errno. Set errno to 0.
7657 (check_long): Likewise.
7658 (check_bool): Likewise.
7659 (check_longlong): Likewise.
7660 (cos_test): Use ERRNO_* flags for errno tests instead of
7662 (expm1_test): Likewise.
7663 (fmod_test): Likewise.
7664 (ilogb_test): Likewise.
7665 (lgamma_test): Likewise.
7666 (pow_test): Likewise.
7667 (remainder_test): Likewise.
7668 (sin_test): Likewise.
7669 (tan_test): Likewise.
7670 (yn_test): Likewise.
7671 (initialize): Set errno to 0.
7672 (main): Print number of errno tests.
7673 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7675 2013-04-29 Andreas Jaeger <aj@suse.de>
7678 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7682 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7683 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7687 * stdlib/random.c (__initstate): Return NULL if
7691 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7692 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7695 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7699 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7701 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7702 of individual tests.
7703 (casin_test): Likewise.
7704 (casinh_test): Likewise.
7706 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7709 * math/s_catan.c (__catan): Handle arguments with large real or
7710 imaginary part separately without squaring.
7711 * math/s_catanf.c (__catanf): Likewise.
7712 * math/s_catanh.c (__catanh): Likewise.
7713 * math/s_catanhf.c (__catanhf): Likewise.
7714 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7716 (__catanhl): Handle arguments with large real or imaginary part
7717 separately without squaring.
7718 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7720 (__catanl): Handle arguments with large real or imaginary part
7721 separately without squaring.
7722 * math/libm-test.inc (catan_test): Add more tests.
7723 (catanh_test): Likewise.
7724 * sysdeps/i386/fpu/libm-test-ulps: Update.
7725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7727 2013-04-27 Andreas Jaeger <aj@suse.de>
7730 * stdlib/stdlib.h: Update guards for qecvt.
7731 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7734 2013-04-27 Allan McRae <allan@archlinux.org>
7736 * sysdeps/i386/fpu/libm-test-ulps: Update.
7738 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7741 * math/s_catan.c: Include <float.h>.
7742 (__catan): Ensure underflow exception occurs for underflowed
7744 * math/s_catanf.c: Include <float.h>.
7745 (__catanf): Ensure underflow exception occurs for underflowed
7747 * math/s_catanh.c: Include <float.h>.
7748 (__catanh): Ensure underflow exception occurs for underflowed
7750 * math/s_catanhf.c: Include <float.h>.
7751 (__catanhf): Ensure underflow exception occurs for underflowed
7753 * math/s_catanhl.c: Include <float.h>.
7754 (__catanhl): Ensure underflow exception occurs for underflowed
7756 * math/s_catanl.c: Include <float.h>.
7757 (__catanl): Ensure underflow exception occurs for underflowed
7759 * math/libm-test.inc (catan_test): Add more tests.
7760 (catanh_test): Likewise.
7763 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7765 * math/s_ccoshf.c (__ccoshf): Likewise.
7766 * math/s_ccoshl.c (__ccoshl): Likewise.
7767 * math/s_csin.c (__csin): Likewise.
7768 * math/s_csinf.c (__csinf): Likewise.
7769 * math/s_csinh.c (__csinh): Likewise.
7770 * math/s_csinhf.c (__csinhf): Likewise.
7771 * math/s_csinhl.c (__csinhl): Likewise.
7772 * math/s_csinl.c (__csinl): Likewise.
7773 * math/libm-test.inc (ccos_test): Add more tests.
7774 (ccosh_test): Likewise.
7775 (csin_test): Likewise.
7776 (csinh_test): Likewise.
7778 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7780 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7781 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7782 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7783 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7784 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7785 powerpc/power5+/fpu folders.
7786 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7789 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7793 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7795 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7796 additions to variable.
7797 [$(config-machine) = x86_64] (modules-names): Likewise.
7798 ($(objpfx)tst-audit3): Remove dependency.
7799 ($(objpfx)tst-audit3.out): Likewise.
7800 ($(objpfx)tst-audit4): Likewise.
7801 ($(objpfx)tst-audit4.out): Likewise.
7802 ($(objpfx)tst-audit5): Likewise.
7803 ($(objpfx)tst-audit5.out): Likewise.
7804 ($(objpfx)tst-audit6): Likewise.
7805 ($(objpfx)tst-audit6.out): Likewise.
7806 ($(objpfx)tst-audit7): Likewise.
7807 ($(objpfx)tst-audit7.out): Likewise.
7808 (tst-audit3-ENV): Remove variable.
7809 (tst-audit4-ENV): Likewise.
7810 (tst-audit5-ENV): Likewise.
7811 (tst-audit6-ENV): Likewise.
7812 (tst-audit7-ENV): Likewise.
7813 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7814 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7815 addition to variable.
7816 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7817 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7818 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7819 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7820 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7821 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7822 tst-audit3, tst-audit4 and tst-audit5.
7823 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7824 tst-audit6 and tst-audit7.
7825 [$(subdir) = elf] (modules-names): Add audit modules for those
7827 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7828 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7829 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7830 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7831 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7832 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7833 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7834 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7835 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7836 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7837 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7838 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7839 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7840 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7841 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7842 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7844 [$(subdir) = elf && $(config-cflags-avx) = yes]
7845 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7846 [$(subdir) = elf && $(config-cflags-avx) = yes]
7847 (CFLAGS-tst-auditmod4a.c): Likewise.
7848 [$(subdir) = elf && $(config-cflags-avx) = yes]
7849 (CFLAGS-tst-auditmod4b.c): Likewise.
7850 [$(subdir) = elf && $(config-cflags-avx) = yes]
7851 (CFLAGS-tst-auditmod6b.c): Likewise.
7852 [$(subdir) = elf && $(config-cflags-avx) = yes]
7853 (CFLAGS-tst-auditmod6c.c): Likewise.
7854 [$(subdir) = elf && $(config-cflags-avx) = yes]
7855 (CFLAGS-tst-auditmod7b.c): Likewise.
7856 * elf/tst-audit3.c: Move to ...
7857 * sysdeps/x86_64/tst-audit3.c: ... here.
7858 * elf/tst-audit4.c: Move to ...
7859 * sysdeps/x86_64/tst-audit4.c: ... here.
7860 * elf/tst-audit5.c: Move to ...
7861 * sysdeps/x86_64/tst-audit5.c: ... here.
7862 * elf/tst-audit6.c: Move to ...
7863 * sysdeps/x86_64/tst-audit6.c: ... here.
7864 * elf/tst-audit7.c: Move to ...
7865 * sysdeps/x86_64/tst-audit7.c: ... here.
7866 * elf/tst-auditmod3a.c: Move to ...
7867 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7868 * elf/tst-auditmod3b.c: Move to ...
7869 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7870 * elf/tst-auditmod4a.c: Move to ...
7871 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7872 * elf/tst-auditmod4b.c: Move to ...
7873 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7874 * elf/tst-auditmod5a.c: Move to ...
7875 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7876 * elf/tst-auditmod5b.c: Move to ...
7877 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7878 * elf/tst-auditmod6a.c: Move to ...
7879 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7880 * elf/tst-auditmod6b.c: Move to ...
7881 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7882 * elf/tst-auditmod6c.c: Move to ...
7883 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7884 * elf/tst-auditmod7a.c: Move to ...
7885 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7886 * elf/tst-auditmod7b.c: Move to ...
7887 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7889 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7892 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7893 define unconditionally.
7894 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7895 define unconditionally.
7896 (INT8_C, INT16_C, etc.): Likewise.
7898 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7900 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7901 __ehdr_start with hidden visibility.
7903 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7905 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7907 * math/libm-test.inc (cos_test): Use accurate hex constants.
7908 (sincost_test): Likewise.
7910 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7912 * math/libm-test.inc (catan_test): Add more tests.
7913 (catanh_test): Likewise.
7915 * math/s_catanf.c (__catanf): Use suffixed floating-point
7917 * math/s_catanhf.c (__catanhf): Likewise.
7918 * math/s_catanhl.c (__catanhl): Likewise.
7919 * math/s_catanl.c (__catanl): Likewise.
7922 * math/s_catan.c (__catan): Calculate imaginary part of result
7923 with log1p not log unless computing log of number close to 0.
7924 * math/s_catanf.c (__catanf): Likewise.
7925 * math/s_catanl.c (__catanl): Likewise.
7926 * math/s_catanh.c (__catanh): Calculate real part of result with
7927 log1p not log unless computing log of number close to 0.
7928 * math/s_catanhf.c (__catanhf): Likewise.
7929 * math/s_catanhl.c (__catanhl): Likewise.
7930 * math/libm-test.inc (catan_test): Add more tests.
7931 (catanh_test): Likewise.
7932 * sysdeps/i386/fpu/libm-test-ulps: Update.
7933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7935 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7937 * benchtests/Makefile: Mention files in which fast and slow
7938 paths of math functions are implemented.
7940 2013-04-23 Roland McGrath <roland@hack.frob.com>
7942 * sysdeps/posix/timespec_get.c: New file.
7944 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7946 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7948 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7950 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7951 powerpc/power5/fpu folders.
7952 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7953 * benchtests/Makefile: Add modf testcase.
7954 * benchtests/bench-modf.c: New file: Benchmark test for mo
7956 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7959 * time/Makefile (tests): Add tst-strptime-whitespace.
7960 * time/strptime_l.c (get_number): Use ISSPACE.
7961 (__strptime_internal): Likewise.
7962 * time/tst-strptime-whitespace.c: New test case.
7964 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7966 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7968 (_nss_files_init): Set it here.
7970 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7972 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7973 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7976 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7978 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7980 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7985 2013-04-21 David S. Miller <davem@davemloft.net>
7987 * po/ru.po: Update Russion translation from translation project.
7989 2013-04-17 Adam Conrad <adconrad@0c3.net>
7991 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7994 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7996 * configure.in: Remove i386 configure warning. Remove i386 case.
7997 * configure: Regenerate.
7998 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7999 Add example to error message.
8000 * sysdeps/i386/configure: Regenerate.
8002 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8004 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8006 * benchtests/cos-inputs: New file.
8007 * benchtests/slowcos-inputs: New file.
8008 * benchtests/slowcos.c: New file.
8009 * benchtests/slowtan-inputs: New file.
8010 * benchtests/slowtan.c: New file.
8011 * benchtests/tan-inputs: New file.
8013 2013-04-16 Roland McGrath <roland@hack.frob.com>
8015 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8018 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8020 * benchtests/Makefile: Include cppflags-iterator.mk to add
8021 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8023 * Makefile.in (bench-clean): New target.
8024 * benchtests/Makefile (bench-clean): Likewise.
8026 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8028 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8030 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8032 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8034 2013-04-15 Andreas Schwab <schwab@suse.de>
8036 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8038 * nscd/pwdcache.c (cache_addpw): Likewise.
8039 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8042 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8044 * benchtests/Makefile (bench): Write all output to
8045 bench-out.tmp together.
8047 2013-04-15 Andreas Schwab <schwab@suse.de>
8049 * nscd/nscd.c (main): Don't fork again after closing files.
8051 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8053 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8055 * benchtests/Rules (bench-deps): Collect dependencies into a
8056 single variable. Add Makefile to dependencies.
8057 ($(objpfx)bench-%.c): Depend on bench-deps.
8059 2013-04-12 Roland McGrath <roland@hack.frob.com>
8060 Xavier Roche <roche+kml2@exalead.com>
8063 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8064 just that it's a file descriptor.
8065 * manual/llio.texi (Synchronizing AIO Operations): Update description
8066 for EBADF error from aio_fsync.
8068 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8070 * Rules (bench): Move target definition...
8071 * benchtests/Makefile: ... here.
8073 2013-04-11 Carlos O'Donell <carlos@redhat.com>
8075 * math/libm-test.inc (cos_test): Fix PI/2 test.
8076 (sincos_test): Likewise.
8077 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8078 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8080 2013-04-11 Andreas Schwab <schwab@suse.de>
8083 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8084 accept exponent character only when digits were seen.
8085 * stdio-common/Makefile (tests): Add bug26.
8086 * stdio-common/bug26.c: New file.
8089 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8092 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8094 * Makeconfig (rtld-prefix): Define built linker prefix.
8095 * Rules (run-bench): Use it.
8096 * math/Makefile (run-regen-ulps): Likewise.
8098 * Rules (bench): Remove eval.
8100 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8101 Roland McGrath <roland@hack.frob.com>
8102 Ondrej Bilka <neleai@seznam.cz>
8105 * time/getdate.c: Include ctype.h and alloca.h.
8106 (__getdate_r): Trim leading and trailing spaces of input.
8107 * time/tst-getdate.c (tests): Add tests with leading and
8110 2013-04-08 Roland McGrath <roland@hack.frob.com>
8113 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8114 when computing value.
8116 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8118 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8119 Use testrun.sh to run libm tests.
8122 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8124 2013-04-06 Marko Myllynen <myllynen@redhat.com>
8127 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8129 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8131 * Makefile.in (regen-ulps): New target.
8132 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8133 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8134 [ifneq (no,$(PERL)] (regen-ulps): New target.
8135 [ifeq (no,$(PERL)] (regen-ulps): New target.
8136 * math/libm-test.inc (ulps_file_name): Define.
8137 (output_dir): New variable.
8138 (options): Add "output-dir" option.
8139 (parse_opt): Handle 'o' case.
8140 (main): If output_dir is non-NULL use it as a prefix
8142 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8144 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8147 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8148 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8149 fail configure if __sync_val_compare_and_swap is not inlined.
8150 * sysdeps/i386/configure: Regenerate.
8151 * configure.in: Build for i686 when configured for i386.
8152 * configure: Regenerate.
8153 * README: Remove i386 reference.
8155 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8157 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8158 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8160 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8162 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8163 (lmsnanval): New variables.
8164 (F): Add conversion tests.
8165 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8166 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8168 * stdio-common/tstdiomisc.c (F): Properly collect individual
8172 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8173 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8174 Instead, use input NaN values or generate a qNaN by arithmetic
8175 operation. Also fix bugs to comply with the standard.
8176 * math/libm-test.inc (remainder_test): Add more tests.
8179 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8181 input NaN values or generate a qNaN by arithmetic operation.
8183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8186 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8189 2013-04-03 Joseph Myers <joseph@codesourcery.com>
8192 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8194 * math/s_cexpf.c (__cexpf): Likewise.
8195 * math/s_cexpl.c (__cexpl): Likewise.
8196 * math/libm-test.inc (cexp_test): Add more tests.
8198 2013-04-03 Andreas Schwab <schwab@suse.de>
8201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8202 order arrays from heap if bigger than alloca cutoff.
8204 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8206 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8207 (SNAN_TESTS_double): Refer to GCC PR56831.
8208 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8211 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8213 * Rules (bench): Move bench.out after the run is complete.
8215 * Rules (bench): Echo currently running benchmark.
8217 * benchtests/Makefile (bench): Add atan and slowatan.
8218 * benchtests/atan-inputs: New file.
8219 * benchtests/slowatan-inputs: New file.
8220 * benchtests/slowatan.c: New file.
8222 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8223 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8227 * sysdeps/unix/sysv/linux/kernel-features.h
8228 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8229 __ASSUME_XFS_RESTRICTED_CHOWN.
8230 * sysdeps/unix/sysv/linux/pathconf.c
8231 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8232 Save and restore errno.
8234 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8237 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8238 arguments using __kernel_casinh.
8239 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8240 arguments using __kernel_casinhf.
8241 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8242 arguments using __kernel_casinhl.
8243 * math/libm-test.inc (cacosh_test): Add more tests.
8244 * sysdeps/i386/fpu/libm-test-ulps: Update.
8245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8247 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8249 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8252 * bench/Makefile (bench): Add sin and slowsin.
8253 * benchtests/sin-inputs: New file.
8254 * benchtests/slowsin-inputs: New file.
8255 * benchtests/slowsin.c: New file.
8257 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8258 (bench): Add slowexp and slowpow.
8259 (exp-ITER): Increase iterations.
8260 (pow-ITER): Likewise.
8261 * benchtests/exp-inputs: Change input.
8262 * benchtests/pow-inputs: Likewise.
8263 * benchtests/slowexp-inputs: New file.
8264 * benchtests/slowexp.c: New file.
8265 * benchtests/slowpow-inputs: New file.
8266 * benchtests/slowpow.c: New file.
8268 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8270 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8272 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8273 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8274 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8275 * benchtests/Makefile: Add rint benchtest.
8276 * benchtests/rint-inputs: Input for rint benchtest.
8278 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8280 * Versions.def (libm): Add GLIBC_2.18.
8281 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8282 hidden libm prototypes.
8283 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8284 * math/Makefile (libm-calls): Add s_issignaling.
8285 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8286 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8287 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8289 * math/math.h [__USE_GNU] (issignaling): New macro.
8290 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8291 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8293 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8296 * manual/arith.texi (issignaling): New section.
8297 * manual/libm-err-tab.pl (@all_functions): Update comment.
8298 * math/gen-libm-test.pl (parse_args): Apply special handling for
8300 * math/libm-test.inc (print_float, issignaling_test): New
8302 (check_float_internal): Add issignaling checks.
8303 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8305 * sysdeps/powerpc/math-tests.h: New file.
8306 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8308 * math/test-snan.c (TEST_FUNC): Likewise.
8310 2013-03-30 David S. Miller <davem@davemloft.net>
8312 * po/de.po: Update from translation team.
8314 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8317 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8318 imaginary part less than 1.0 and real part less than 0.5
8320 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8321 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8322 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8323 (cacos_test): Add more tests.
8324 (casin_test): Likewise.
8325 (casinh_test): Likewise.
8326 * sysdeps/i386/fpu/libm-test-ulps: Update.
8327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8329 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8331 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8334 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8335 (__pow_mp): Replace ONE and MONE with their values.
8336 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8337 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8338 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8339 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8340 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8341 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8343 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8345 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8346 (__pow_mp): Replace ZERO and MZERO with their values.
8347 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8348 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8349 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8351 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8352 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8355 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8357 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8359 2013-03-28 Roland McGrath <roland@hack.frob.com>
8361 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8362 Declare with __attribute__ ((weak)).
8363 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8364 Call __call_tls_dtors only if it's not NULL.
8366 2013-03-28 Roland McGrath <roland@hack.frob.com>
8368 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8369 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8370 magic __ehdr_start linker symbol if it's defined.
8371 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8372 them up here if it was already done.
8374 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8375 (_dl_aux_init): Use const in cast when setting it.
8376 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8377 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8378 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8380 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8382 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8383 * csu/libc-tls.c: Nor here.
8384 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8386 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8387 (__libc_message): Never call vsyslog.
8389 2013-03-28 Alan Modra <amodra@gmail.com>
8391 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8393 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8396 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8399 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8403 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8406 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8407 Don't add gid passed as argument.
8409 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8411 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8414 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8415 imaginary part between 1.0 and 1.5 and real part less than 0.5
8417 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8418 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8419 * math/libm-test.inc (cacos_test): Add more tests.
8420 (casin_test): Likewise.
8421 (casinh_test): Likewise.
8422 * sysdeps/i386/fpu/libm-test-ulps: Update.
8423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8425 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8427 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8431 (__dbl_mp): Likewise.
8432 (add_magnitudes): Likewise.
8433 (sub_magnitudes): Likewise.
8441 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8443 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8444 (__dubcos): Likewise.
8445 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8446 (__ieee754_acos): Likewise.
8447 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8448 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8450 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8453 (my_log2): Likewise.
8454 (checkint): Likewise.
8455 * sysdeps/ieee754/dbl-64/e_remainder.c
8456 (__ieee754_remainder): Likewise.
8457 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8458 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8460 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8462 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8463 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8464 MANTISSA_STORE_T to store computations on mantissa. Use
8465 macros for rounding and division.
8467 (__dbl_mp): Likewise.
8468 (add_magnitudes): Likewise.
8469 (sub_magnitudes): Likewise.
8472 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8473 powers of two in terms of TWOPOW macro.
8474 (mp_no): Make type of mantissa as MANTISSA_T.
8475 [!RADIXI]: Define RADIXI.
8476 [!TWO52]: Define TWO52.
8477 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8479 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8481 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8482 llroundl symbol when building for PPC32.
8484 2013-03-24 Mark H Weaver <mhw@netris.org>
8486 * manual/arith.texi (Normalization Functions): Fix prototypes for
8487 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8489 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8493 high value to check if expl overflow.
8494 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8495 to check for underflow and overflow.
8496 * math/libm-test.inc: Add exp test.
8498 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8501 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8504 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8506 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8509 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8511 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8512 wrap blocks consisting of several statements.
8514 * sysdeps/generic/math-tests.h: New file.
8515 * sysdeps/i386/fpu/math-tests.h: Likewise.
8516 * math/test-snan.c: Include it.
8517 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8519 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8522 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8523 (__ieee754_j0l): Do not improve calculations using cos of twice
8524 input for inputs above LDBL_MAX / 2.0L.
8525 (__ieee754_y0l): Likewise.
8526 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8527 (__ieee754_j1l): Do not improve calculations using cos of twice
8528 input for inputs above LDBL_MAX / 2.0L.
8529 (__ieee754_y1l): Likewise.
8530 * math/libm-test.inc (j0_test): Add another test.
8531 (j1_test): Likewise.
8532 (y0_test): Likewise.
8533 (y1_test): Likewise.
8534 * sysdeps/i386/fpu/libm-test-ulps: Update.
8536 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8538 * Rules ($(objpfx)bench-%.c): Include code from a C source
8541 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8544 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8545 imaginary part 1.0 and real part less than 0.5 specially.
8546 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8547 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8548 * math/libm-test.inc (cacos_test): Add more tests.
8549 (casin_test): Likewise.
8550 (casinh_test): Likewise.
8551 * sysdeps/i386/fpu/libm-test-ulps: Update.
8552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8554 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8556 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8557 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8559 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8561 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8562 * config.make.in (config-cflags-sse4): Remove variable.
8563 (config-cflags-avx): Likewise.
8564 (config-cflags-sse2avx): Likewise.
8565 (config-cflags-novzeroupper): Likewise.
8566 (config-asflags-i686): Likewise.
8567 (have-mfma4): Likewise.
8568 (have-as-vis3): Likewise.
8570 * configure.in (MIG): Do not AC_SUBST.
8571 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8572 (libc_cv_cc_sse4): Do not AC_SUBST.
8573 (libc_cv_cc_avx): Likewise.
8574 (libc_cv_cc_sse2avx): Likewise.
8575 (libc_cv_cc_novzeroupper): Likewise.
8576 (libc_cv_cc_fma4): Likewise.
8577 (libc_cv_as_i686): Likewise.
8578 (libc_cv_sparc_as_vis3): Likewise.
8579 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8581 (config-asflags-i686): Likewise.
8582 (config-cflags-avx): Likewise.
8583 (config-cflags-sse2avx): Likewise.
8584 (have-mfma4): Likewise.
8585 (config-cflags-novzeroupper): Likewise.
8586 * sysdeps/mach/configure.in (MIG): Likewise.
8587 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8588 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8590 (config-cflags-avx): Likewise.
8591 (config-cflags-sse2avx): Likewise.
8592 (have-mfma4): Likewise.
8593 (config-cflags-novzeroupper): Likewise.
8594 * configure: Regenerated.
8595 * sysdeps/i386/configure: Likewise.
8596 * sysdeps/mach/configure: Likewise.
8597 * sysdeps/sparc/configure: Likewise.
8598 * sysdeps/x86_64/configure: Likewise.
8600 2013-03-20 Roland McGrath <roland@hack.frob.com>
8603 * locale/programs/localedef.c (options): Put N_ translation marker
8604 on argument names, not just descriptions.
8606 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8608 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8610 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8613 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8615 2013-03-19 Roland McGrath <roland@hack.frob.com>
8617 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8618 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8619 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8620 [!BEFORE_ABORT] (before_abort): New function.
8621 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8622 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8623 (writev_for_fatal): New function.
8624 (WRITEV_FOR_FATAL): New macro; call that.
8625 (backtrace_and_maps): New function.
8626 (BEFORE_ABORT): New macro; call that.
8627 (struct str_list): Type removed.
8628 (__libc_message, __libc_fatal): Functions removed.
8629 Include <sysdeps/posix/libc_fatal.c> instead.
8631 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8633 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8635 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8638 2013-03-19 Andreas Schwab <schwab@suse.de>
8640 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8641 * sysdeps/gnu/configure: Regenerate.
8643 * configure.in: Substitute libc_cv_rtlddir.
8644 * configure: Regenerate.
8645 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8646 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8647 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8648 * elf/Makefile (install-others, CFLAGS-interp.c)
8649 (ldso_install, common-ldd-rewrite): Likewise.
8650 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8651 $(inst_slibdir)/$(rtld-installed-name).
8652 * scripts/rellns-sh: Add -p option.
8653 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8656 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8658 * manual/nptl.texi: Renamed to ...
8659 * manual/threads.texi: ... this.
8660 * manual/Makefile (chapters): Update.
8662 2013-03-18 Roland McGrath <roland@hack.frob.com>
8665 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8666 on argument names, not just descriptions.
8667 * malloc/memusagestat.c (options): Likewise.
8668 * nss/getent.c (options): Likewise.
8670 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8673 * iconv/iconv_prog.c (options): Put N_ translation marker
8674 on argument names, not just descriptions.
8675 * iconv/iconvconfig.c (options): Likewise.
8677 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8679 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8680 implementation which is faster on all x86_64 architectures.
8681 Tested on AMD, Intel Nehalem, SNB, IVB.
8682 * sysdeps/x86_64/strnlen.S: Likewise.
8684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8685 Remove all multiarch strlen and strnlen versions.
8686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8687 Remove strlen and strnlen related parts.
8689 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8691 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8693 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8694 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8695 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8696 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8697 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8698 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8700 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8702 * manual/memory.texi (Malloc Tunable Parameters):
8703 Sort parameters alphabetically. Add comments for missing entries.
8705 2013-03-17 David S. Miller <davem@davemloft.net>
8707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8709 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8712 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8713 for arguments at most half maximum finite value.
8714 * math/libm-test.inc (j0_test): Add more tests.
8715 (j1_test): Likewise.
8716 (y0_test): Likewise.
8717 (y1_test): Likewise.
8718 * sysdeps/i386/fpu/libm-test-ulps: Update.
8719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8722 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8723 1 / x and functions P and Q for arguments above 0x1p256L.
8724 (__ieee754_y0l): Likewise.
8725 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8726 (__ieee754_y1l): Likewise.
8727 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8728 (j1_test): Likewise.
8729 (y0_test): Likewise.
8730 (y1_test): Likewise.
8732 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8734 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8737 2013-03-15 Roland McGrath <roland@hack.frob.com>
8739 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8740 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8741 zero since it's initialized to EXEC_PAGESIZE.
8743 * sysdeps/unix/sysv/linux/ldsodefs.h
8744 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8745 * sysdeps/generic/ldsodefs.h: ... here.
8747 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8749 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8751 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8753 * math/test-snan.c: Renamed from
8754 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8755 * math/Makefile (tests): Add test-snan.
8756 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8759 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8760 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8762 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8763 __builtin_nan family of functions.
8764 * math/libm-test.inc (initialize): Initialize qnan_value with
8765 __builtin_nan family of functions.
8766 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8768 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8770 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8771 storage class. Initialize qNaN_var and sNaN_var with
8772 __builtin_nan and __builtin_nans families of functions,
8775 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8776 (sqrt_test): Remove duplicate test with qNaN input.
8777 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8778 (round_test, signbit_test, significand_test): Note missing +/-Inf
8779 as well as qNaN tests.
8781 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8782 qNaN_var. Fix a few strings, too.
8783 * math/libm-test.inc (nan_value): Rename to qnan_value.
8784 * math/gen-libm-test.pl (%beautify): Adjust to that.
8785 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8786 * math/test-misc.c (main): Likewise.
8787 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8788 to __qnan_bytes, and __qnan_union, respectively.
8789 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8791 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8792 and lqnanval, respectively.
8793 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8794 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8795 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8796 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8798 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8799 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8802 * math/test-misc.c (main): Fix copy'n'pastos.
8803 * misc/tst-efgcvt.c (special): Likewise.
8805 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8806 Remove declarations.
8808 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8810 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8811 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8812 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8813 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8815 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8817 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8818 macro to return vdso values correctly in IFUNC implementations.
8819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8820 Optimization by using IFUNC.
8822 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8823 Richard Henderson <rth@redhat.com>
8824 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8826 * Makefile.in (bench): New target.
8827 * NEWS: Mention the benchmark framework.
8828 * Rules (bench): Likewise.
8829 (binaries-bench): Generate binaries for functions to
8831 * benchtests/Makefile: New makefile for benchmark tests.
8832 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8834 * benchtests/exp-inputs: New input file for EXP function.
8835 * benchtests/pow-inputs: New input file for POW function.
8836 * scripts/bench.pl: New script to generate source files for
8839 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8841 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8842 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8843 computations on mantissa. Use macros for rounding and
8846 (__dbl_mp): Likewise.
8847 (add_magnitudes): Likewise.
8848 (sub_magnitudes): Likewise.
8851 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8852 powers of two in terms of TWOPOW macro.
8853 (mp_no): Make type of mantissa as MANTISSA_T.
8854 [!RADIXI]: Define RADIXI.
8855 [!TWO52]: Define TWO52.
8856 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8858 * manual/nptl.texi (cindex): Modify threads to pthreads.
8860 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8862 * sysdeps/x86_64/preconfigure: Regenerated.
8864 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8867 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8869 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8870 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8872 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8873 * math/libm-test.inc (j0_test): Do not allow one spurious
8874 underflow exception.
8875 (y1_test): Likewise.
8877 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8879 * manual/Makefile (chapters): Add nptl.
8880 * manual/debug.texi (Debugging Support): Add link to Threads
8882 * manual/nptl.texi: New file.
8884 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8886 2013-03-14 Petr Baudis <pasky@ucw.cz>
8888 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8889 for non-NULL pointer before the memory validity test. Pointed
8890 out by Holger Brunck <holger.brunck@keymile.com>.
8892 2013-03-13 Andreas Schwab <schwab@suse.de>
8894 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8897 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8899 * timezone/zic.c: Update from tzcode 2013b.
8901 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8903 * manual/install.texi (Configuring and compiling):
8904 Mention i686 and i586.
8905 * INSTALL: Regenerate.
8907 2013-03-12 Roland McGrath <roland@hack.frob.com>
8909 * sysdeps/init_array/elf-init.c: New file.
8911 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8912 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8914 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8915 __gmon_start__ as global, but as static with a .preinit_array pointer.
8916 * sysdeps/init_array/gmon-start.c: New file. Use that.
8917 * sysdeps/init_array/crti.S: New file, empty except for comments.
8918 * sysdeps/init_array/crtn.S: Likewise.
8920 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8922 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8925 Remove Prefer_SSE_for_memop.
8926 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8927 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8928 HAS_PREFER_SSE_FOR_MEMOP.
8929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8931 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8932 Remove bzero, memset ifunc support.
8933 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8934 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8935 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8936 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8938 2013-03-11 Andreas Schwab <schwab@suse.de>
8941 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8944 (GLIBC_2.16): Remove pthread_atfork.
8946 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8948 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8949 (ptestcases.h): Likewise.
8951 2013-03-08 Roland McGrath <roland@hack.frob.com>
8953 * Makeconfig ($(common-objpfx)config.status): Depend on
8954 sysdeps/*/preconfigure{,.in} too.
8956 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8958 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8959 (__free_hook): Use void * instead of __malloc_ptr_t.
8960 (__malloc_hook): Likewise.
8961 (__realloc_hook): Likewise.
8962 (__memalign_hook): Likewise.
8963 (__after_morecore_hook): Likewise.
8964 * malloc/arena.c (save_malloc_hook): Likewise.
8965 (save_free_hook): Likewise.
8966 * malloc/hooks.c (malloc_hook_ini): Likewise.
8967 (realloc_hook_ini): Likewise.
8968 (memalign_hook_ini): Likewise.
8969 * malloc/malloc.c (malloc_hook_ini): Likewise.
8970 (realloc_hook_ini): Likewise.
8971 (memalign_hook_ini): Likewise.
8972 (__free_hook): Likewise.
8973 (__malloc_hook): Likewise.
8974 (__realloc_hook): Likewise.
8975 (__memalign_hook): Likewise.
8976 (__libc_malloc): Likewise.
8977 (__libc_free): Likewise.
8978 (__libc_realloc): Likewise.
8979 (__libc_memalign): Likewise.
8980 (__libc_valloc): Likewise.
8981 (__libc_pvalloc): Likewise.
8982 (__libc_calloc): Likewise.
8983 (__posix_memalign): Likewise.
8984 * malloc/morecore.c (__sbrk): Likewise.
8985 (__default_morecore): Likewise.
8987 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8989 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8990 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8993 * malloc/malloc.h (__malloc_size_t): Remove macro.
8994 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8996 (old_memalign_hook): Likewise.
8997 (old_realloc_hook): Likewise.
8998 (struct hdr): Likewise.
9000 (mallochook): Likewise.
9001 (memalignhook): Likewise.
9002 (reallochook): Likewise.
9003 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9004 (tr_old_realloc_hook): Likewise.
9005 (tr_old_memalign_hook): Likewise.
9006 (tr_mallochook): Likewise.
9007 (tr_reallochook): Likewise.
9008 (tr_memalignhook): Likewise.
9010 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9012 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9013 default_ldbl_pack and using as default implementation.
9014 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9016 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9017 redundant definition.
9018 (ldbl_insert_mantissa): Likewise.
9019 (ldbl_canonicalize): Likewise.
9020 (ldbl_nearbyint): Likewise.
9021 (ldbl_pack): Rename to ldbl_pack_ppc.
9022 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9023 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9024 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9026 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9029 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9030 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9031 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9033 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9034 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9035 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9037 2013-03-07 Andreas Jaeger <aj@suse.de>
9039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9042 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9044 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9045 Include mpa.h and declare __MPEXP.
9046 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9047 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9048 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9049 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9050 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9051 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9052 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9054 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9055 (__slowpow): Use long double EXPL and LOGL functions to
9057 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9058 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9059 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9060 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9061 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9065 intermediate variable to calculate exponent.
9067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9071 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9072 [!NO__SQR]: Define __sqr.
9073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9074 and NO__SQR. Remove all code except __mul and __sqr. Include
9075 sysdeps/ieee754/dbl-64/mpa.c.
9076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9079 * posix/Makefile (tests): Add tst-pathconf.
9080 * posix/tst-pathconf.c: New test case.
9081 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9083 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9085 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
9087 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9089 2013-03-06 Andreas Jaeger <aj@suse.de>
9091 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9092 definition via __MAP_ANONYMOUS.
9094 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9095 it's not part of Linux headers.
9097 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9098 (MAP_HUGE_MASK): Define.
9100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9102 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9103 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9105 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9106 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9108 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9111 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9113 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9114 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9115 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9116 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9117 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9118 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9120 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9123 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9124 Handle f2fs and efivarfs.
9126 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9129 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9130 (EFIVARFS_MAGIC): Add.
9131 (F2FS_LINK_MAX): Add.
9133 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9135 * stdio-common/vfprintf.c: Replace __builtin_expect with
9138 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9141 * sysdeps/generic/bp-sym.h: Remove file.
9142 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9143 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9144 <bp-sym.h> and <bp-asm.h>.
9145 (__longjmp): Don't use BP_SYM.
9146 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9148 (memcpy): Don't use BP_SYM.
9149 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9150 <bp-sym.h> and <bp-asm.h>.
9151 (memcpy): Don't use BP_SYM.
9152 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9154 (memcpy): Don't use BP_SYM.
9155 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9157 (memset): Don't use BP_SYM.
9158 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9159 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9160 (__bzero): Don't use BP_SYM.
9161 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9162 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9163 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9164 <bp-sym.h> and <bp-asm.h>.
9165 (memcmp): Don't use BP_SYM. Remove comment about bounded
9167 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9168 <bp-sym.h> and <bp-asm.h>.
9169 (memcpy): Don't use BP_SYM.
9170 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9171 <bp-sym.h> and <bp-asm.h>.
9172 (memset): Don't use BP_SYM.
9173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9175 (__bzero): Don't use BP_SYM.
9176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9178 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9179 <bp-sym.h> and <bp-asm.h>.
9180 (strncmp): Don't use BP_SYM. Remove comment about bounded
9182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9183 <bp-sym.h> and <bp-asm.h>.
9184 (memcpy): Don't use BP_SYM.
9185 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9186 <bp-sym.h> and <bp-asm.h>.
9187 (memset): Don't use BP_SYM.
9188 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9189 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9190 (__bzero): Don't use BP_SYM.
9191 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9192 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9193 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9194 <bp-sym.h> and <bp-asm.h>.
9195 (__memchr): Don't use BP_SYM.
9196 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9197 <bp-sym.h> and <bp-asm.h>.
9198 (memcmp): Don't use BP_SYM. Remove comment about bounded
9200 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9201 <bp-sym.h> and <bp-asm.h>.
9202 (memcpy): Don't use BP_SYM.
9203 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9204 <bp-sym.h> and <bp-asm.h>.
9205 (__mempcpy): Don't use BP_SYM.
9206 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9207 <bp-sym.h> and <bp-asm.h>.
9208 (__memrchr): Don't use BP_SYM.
9209 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9210 <bp-sym.h> and <bp-asm.h>.
9211 (memset): Don't use BP_SYM.
9212 (__bzero): Likewise.
9213 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9214 <bp-sym.h> and <bp-asm.h>.
9215 (__rawmemchr): Don't use BP_SYM.
9216 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9217 <bp-sym.h> and <bp-asm.h>.
9218 (__STRCMP): Don't use BP_SYM.
9219 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9220 <bp-sym.h> and <bp-asm.h>.
9221 (strchr): Don't use BP_SYM.
9222 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9223 <bp-sym.h> and <bp-asm.h>.
9224 (__strchrnul): Don't use BP_SYM.
9225 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9226 <bp-sym.h> and <bp-asm.h>.
9227 (strlen): Don't use BP_SYM.
9228 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9229 <bp-sym.h> and <bp-asm.h>.
9230 (strncmp): Don't use BP_SYM. Remove comment about bounded
9232 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9233 <bp-sym.h> and <bp-asm.h>.
9234 (__strnlen): Don't use BP_SYM.
9235 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9236 <bp-sym.h> and <bp-asm.h>.
9237 (__GI__setjmp): Don't use BP_SYM.
9238 (_setjmp): Likewise.
9239 (__sigsetjmp): Likewise.
9240 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9241 (L(start_addresses)): Don't use BP_SYM.
9243 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9245 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9246 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9247 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9248 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9249 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9251 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9252 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9253 about bounded pointers.
9254 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9255 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9256 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9258 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9259 about bounded pointers. Remove GKM FIXME comments.
9260 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9261 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9263 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9264 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9265 Remove GKM FIXME comments.
9266 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9267 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9268 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9270 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9271 about bounded pointers. Remove GKM FIXME comment.
9272 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9274 (strncmp): Don't use BP_SYM. Remove comment about bounded
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9277 <bp-sym.h> and <bp-asm.h>.
9278 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9280 <bp-sym.h> and <bp-asm.h>.
9281 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9284 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9286 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9289 2013-03-05 David S. Miller <davem@davemloft.net>
9291 * po/es.po: Update from translation team.
9293 2013-03-05 Andreas Jaeger <aj@suse.de>
9295 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9296 <bits/mman-linux.h>.
9297 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9299 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9300 <bits/mman-linux.h> to end of file.
9301 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9303 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9304 <bits/mman-linux.h> to end of file.
9305 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9308 <bits/mman-linux.h> to end of file.
9310 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9311 (MCL_CURRENT, MCL_FUTURE): Define here.
9313 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9316 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9318 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9320 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9322 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9323 fourth parameter needed for rt_sigprocmask syscall.
9324 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9325 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9326 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9327 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9328 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9331 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9334 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9335 comment about bounded pointers.
9336 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9337 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9339 2013-03-04 Andreas Jaeger <aj@suse.de>
9341 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9344 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9345 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9346 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9347 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9348 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9349 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9351 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9355 __ieee754_sqrl instead of __sqrl.
9357 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9359 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9360 * sysdeps/powerpc/fpu_control.h: ... here.
9361 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9362 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9363 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9364 * sysdeps/powerpc/bits/mathinline.h: ... here.
9366 2013-03-01 Roland McGrath <roland@hack.frob.com>
9368 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9369 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9370 to just [NEED_DL_SYSINFO_DSO].
9371 * elf/dl-support.c: Likewise.
9372 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9373 * elf/rtld.c (dl_main): Likewise.
9374 * elf/setup-vdso.h (setup_vdso): Likewise.
9375 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9376 * sysdeps/unix/sysv/linux/dl-sysdep.c
9377 (_dl_discover_osversion): Likewise.
9379 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9381 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9382 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9384 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9386 * NEWS: Mention libm performance improvements and non-x86 PI
9389 * csu/libc-start.c (__pthread_initialize_minimal): Change
9391 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9393 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9396 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9397 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9398 <bp-sym.h> and <bp-asm.h>.
9399 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9400 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9402 (memcpy): Don't use BP_SYM.
9403 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9405 (__mpn_add_n): Don't use BP_SYM.
9406 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9407 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9409 (__mpn_addmul_1): Don't use BP_SYM.
9410 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9411 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9413 (_setjmp): Don't use BP_SYM.
9414 (__novmx_setjmp): Likewise.
9415 (__GI__setjmp): Likewise.
9416 (__vmx_setjmp): Likewise.
9417 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9419 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9420 (__bzero): Don't use BP_SYM.
9421 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9422 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9423 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9424 <bp-sym.h> and <bp-asm.h>.
9425 (memcpy): Don't use BP_SYM.
9426 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9427 <bp-sym.h> and <bp-asm.h>.
9428 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9429 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9430 <bp-sym.h> and <bp-asm.h>.
9431 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9432 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9434 (__mpn_lshift): Don't use BP_SYM.
9435 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9436 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9438 (memset): Don't use BP_SYM.
9439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9441 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9443 (__mpn_mul_1): Don't use BP_SYM.
9444 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9445 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9446 <bp-sym.h> and <bp-asm.h>.
9447 (memcmp): Don't use BP_SYM.
9448 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9449 <bp-sym.h> and <bp-asm.h>.
9450 (memcpy): Don't use BP_SYM.
9451 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9452 <bp-sym.h> and <bp-asm.h>.
9453 (memset): Don't use BP_SYM.
9454 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9455 <bp-sym.h> and <bp-asm.h>.
9456 (strncmp): Don't use BP_SYM.
9457 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9458 <bp-sym.h> and <bp-asm.h>.
9459 (memcpy): Don't use BP_SYM.
9460 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9461 <bp-sym.h> and <bp-asm.h>.
9462 (memset): Don't use BP_SYM.
9463 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9464 <bp-sym.h> and <bp-asm.h>.
9465 (__memchr): Don't use BP_SYM.
9466 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9467 <bp-sym.h> and <bp-asm.h>.
9468 (memcmp): Don't use BP_SYM.
9469 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9470 <bp-sym.h> and <bp-asm.h>.
9471 (memcpy): Don't use BP_SYM.
9472 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9473 <bp-sym.h> and <bp-asm.h>.
9474 (__mempcpy): Don't use BP_SYM.
9475 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9476 <bp-sym.h> and <bp-asm.h>.
9477 (__memrchr): Don't use BP_SYM.
9478 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9479 <bp-sym.h> and <bp-asm.h>.
9480 (memset): Don't use BP_SYM.
9481 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9482 <bp-sym.h> and <bp-asm.h>.
9483 (__rawmemchr): Don't use BP_SYM.
9484 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9485 <bp-sym.h> and <bp-asm.h>.
9486 (__STRCMP): Don't use BP_SYM.
9487 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9488 <bp-sym.h> and <bp-asm.h>.
9489 (strchr): Don't use BP_SYM.
9490 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9491 <bp-sym.h> and <bp-asm.h>.
9492 (__strchrnul): Don't use BP_SYM.
9493 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9494 <bp-sym.h> and <bp-asm.h>.
9495 (strlen): Don't use BP_SYM.
9496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9497 <bp-sym.h> and <bp-asm.h>.
9498 (strncmp): Don't use BP_SYM.
9499 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9500 <bp-sym.h> and <bp-asm.h>.
9501 (__strnlen): Don't use BP_SYM.
9502 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9504 (__mpn_rshift): Don't use BP_SYM.
9505 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9506 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9507 <bp-sym.h> and <bp-asm.h>.
9508 (__sigsetjmp): Don't use BP_SYM.
9509 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9510 (L(start_addresses)): Don't use BP_SYM.
9512 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9514 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9515 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9516 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9517 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9519 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9520 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9521 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9522 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9524 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9526 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9527 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9529 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9531 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9532 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9533 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9535 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9537 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9539 (strncmp): Don't use BP_SYM,
9540 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9542 (__mpn_sub_n): Don't use BP_SYM.
9543 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9544 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9546 (__mpn_submul_1): Don't use BP_SYM.
9547 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9549 <bp-sym.h> and <bp-asm.h>.
9550 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9552 <bp-sym.h> and <bp-asm.h>.
9553 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9556 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9559 Use ZK to minimize writes to Z.
9560 (sub_magnitudes): Simplify code a bit.
9561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9562 Use ZK to minimize writes to Z.
9563 (sub_magnitudes): Simplify code a bit.
9565 2013-02-27 Roland McGrath <roland@hack.frob.com>
9567 * csu/gmon-start.c: Add special exception to license text.
9569 2013-02-27 Richard Henderson <rth@redhat.com>
9571 * scripts/config.guess: Update from config.git.
9572 * scripts/config.sub: Likewise.
9574 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9576 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9578 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9580 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9582 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9584 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9586 2013-02-26 Roland McGrath <roland@hack.frob.com>
9588 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9589 [$(build-shared = yes].
9591 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9593 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9594 (__mul): Reduce iterations for calculating mantissa.
9596 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9598 (__mpranred): Likewise.
9601 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9602 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9604 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9606 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9607 Define __attribute__.
9609 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9611 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9613 * posix/regex_internal.h (__attribute): Remove.
9614 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9615 (re_string_context_at): Likewise.
9616 (bitset_not): Use __attribute__ and mark function as possibly
9618 (bitset_merge): Likewise.
9619 (bitset_mask): Likewise.
9620 (re_string_char_size_at): Likewise.
9621 (re_string_wchar_at): Likewise.
9622 (re_string_elem_size_at): Likewise.
9624 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9626 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9630 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9635 (__dbl_mp): Likewise.
9636 (add_magnitudes): Likewise.
9637 (sub_magnitudes): Likewise.
9641 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9644 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9647 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9651 up changes with default code.
9652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9655 2013-02-24 Allan McRae <allan@archlinux.org>
9657 * manual/socket.texi (The Internet Namespace): Order menu items
9658 to match that in the file.
9660 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9661 node listing of the info page menu.
9663 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9666 * sysdeps/i386/bp-asm.h: Remove file.
9667 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9668 (PARMS): Do not use macros from bp-asm.h.
9672 (__mpn_add_n): Do not use BP_SYM
9673 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9675 (PARMS): Do not use macros from bp-asm.h.
9678 (__mpn_addmul_1): Do not use BP_SYM
9679 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9681 (PARMS): Do not use macros from bp-asm.h.
9683 (_setjmp): Likewise. Do not use BP_SYM.
9684 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9686 (PARMS): Do not use macros from bp-asm.h.
9688 (setjmp): Likewise. Do not use BP_SYM.
9689 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9691 (PARMS): Do not use macros from bp-asm.h.
9692 (__frexp): Do not use BP_SYM.
9694 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9696 (PARMS): Do not use macros from bp-asm.h.
9697 (__frexpf): Do not use BP_SYM.
9699 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9701 (PARMS): Do not use macros from bp-asm.h.
9702 (__frexpl): Do not use BP_SYM.
9704 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9706 (PARMS): Do not use macros from bp-asm.h.
9707 (__remquo): Do not use BP_SYM.
9709 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9711 (PARMS): Do not use macros from bp-asm.h.
9712 (__remquof): Do not use BP_SYM.
9713 (remquof): Likewise.
9714 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9716 (PARMS): Do not use macros from bp-asm.h.
9717 (__remquol): Do not use BP_SYM.
9718 (remquol): Likewise.
9719 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9721 (PARMS): Do not use macros from bp-asm.h.
9724 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9725 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9727 (PARMS): Do not use macros from bp-asm.h.
9728 (strlen): Do not use BP_SYM.
9729 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9731 (PARMS): Do not use macros from bp-asm.h.
9735 (__mpn_add_n): Do not use BP_SYM.
9736 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9738 (PARMS): Do not use macros from bp-asm.h.
9741 (__mpn_addmul_1): Do not use BP_SYM.
9742 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9745 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9747 (PARMS): Do not use macros from bp-asm.h.
9750 (__mpn_lshift): Do not use BP_SYM.
9751 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9753 (PARMS): Do not use macros from bp-asm.h.
9757 (memcpy): Likewise. Do not use BP_SYM.
9758 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9759 libc_hidden_def and weak_alias.
9760 (mempcpy): Do not use BP_SYM in weak_alias.
9761 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9763 (PARMS): Do not use macros from bp-asm.h.
9766 [!BZERO_P] (CHR): Likewise.
9767 (memset): Likewise. Do not use BP_SYM.
9768 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9770 (PARMS): Do not use macros from bp-asm.h.
9773 (__mpn_mul_1): Do not use BP_SYM.
9774 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9776 (PARMS): Do not use macros from bp-asm.h.
9779 (__mpn_rshift): Do not use BP_SYM.
9780 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9782 (PARMS): Do not use macros from bp-asm.h.
9785 (strchr): Likewise. Do not use BP_SYM.
9786 (index): Do not use BP_SYM in weak_alias.
9787 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9789 (PARMS): Do not use macros from bp-asm.h.
9792 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9793 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9795 (PARMS): Do not use macros from bp-asm.h.
9796 (strlen): Do not use BP_SYM.
9797 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9799 (PARMS): Do not use macros from bp-asm.h.
9803 (__mpn_sub_n): Do not use BP_SYM.
9804 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9806 (PARMS): Do not use macros from bp-asm.h.
9809 (__mpn_submul_1): Do not use BP_SYM.
9810 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9812 (PARMS): Do not use macros from bp-asm.h.
9816 (__mpn_add_n): Do not use BP_SYM.
9817 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9820 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9822 (PARMS): Do not use macros from bp-asm.h.
9825 (memcmp): Do not use BP_SYM.
9826 (bcmp): Do not use BP_SYM in weak_alias.
9827 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9829 (PARMS): Do not use macros from bp-asm.h.
9833 (memcpy): Likewise. Do not use BP_SYM.
9834 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9836 (PARMS): Do not use macros from bp-asm.h.
9840 (memmove): Likewise. Do not use BP_SYM.
9841 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9843 (PARMS): Do not use macros from bp-asm.h.
9847 (__mempcpy): Likewise. Do not use BP_SYM.
9848 (mempcpy): Do not use BP_SYM in weak_alias.
9849 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9851 (PARMS): Do not use macros from bp-asm.h.
9854 [!BZERO_P] (CHR): Likewise.
9855 (memset): Likewise. Do not use BP_SYM.
9856 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9858 (PARMS): Do not use macros from bp-asm.h.
9860 (strcmp): Do not use BP_SYM.
9861 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9863 (PARMS): Do not use macros from bp-asm.h.
9866 [USE_AS_STRTOK_R] (SAVE): Likewise.
9867 (FUNCTION): Likewise. Do not use BP_SYM.
9868 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9870 (strtok_r): Likewise.
9871 (__GI___strtok_r): Likewise.
9872 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9873 (PARMS): Do not use macros from bp-asm.h.
9876 (__mpn_lshift): Do not use BP_SYM.
9877 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9878 (PARMS): Do not use macros from bp-asm.h.
9881 (__memchr): Do not use BP_SYM.
9882 (memchr): Do not use BP_SYM in weak_alias.
9883 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9884 (PARMS): Do not use macros from bp-asm.h.
9887 (memcmp): Do not use BP_SYM.
9888 (bcmp): Do not use BP_SYM in weak_alias.
9889 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9890 (PARMS): Do not use macros from bp-asm.h.
9893 (__mpn_mul_1): Do not use BP_SYM.
9894 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9896 (PARMS): Do not use macros from bp-asm.h.
9899 (__rawmemchr): Do not use BP_SYM.
9900 (rawmemchr): Do not use BP_SYM in weak_alias.
9901 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9902 (PARMS): Do not use macros from bp-asm.h.
9905 (__mpn_rshift): Do not use BP_SYM.
9906 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9907 (PARMS): Do not use macros from bp-asm.h.
9909 (__sigsetjmp): Likewise. Do not use BP_SYM.
9910 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9911 (_start): Do not use BP_SYM.
9912 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9913 (PARMS): Do not use macros from bp-asm.h.
9916 (__stpcpy): Likewise. Do not use BP_SYM.
9917 (stpcpy): Do not use BP_SYM in weak_alias.
9918 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9920 (PARMS): Do not use macros from bp-asm.h.
9924 (__stpncpy): Likewise. Do not use BP_SYM.
9925 (stpncpy): Do not use BP_SYM in weak_alias.
9926 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9927 (PARMS): Do not use macros from bp-asm.h.
9930 (strchr): Likewise. Do not use BP_SYM.
9931 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9933 (PARMS): Do not use macros from bp-asm.h.
9936 (__strchrnul): Likewise. Do not use BP_SYM.
9937 (strchrnul): Do not use BP_SYM in weak_alias.
9938 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9940 (PARMS): Do not use macros from bp-asm.h.
9942 (strcspn): Do not use BP_SYM.
9943 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9945 (PARMS): Do not use macros from bp-asm.h.
9948 (strpbrk): Likewise. Do not use BP_SYM.
9949 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9951 (PARMS): Do not use macros from bp-asm.h.
9954 (strrchr): Likewise. Do not use BP_SYM.
9955 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9956 (PARMS): Do not use macros from bp-asm.h.
9958 (strspn): Do not use BP_SYM.
9959 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9960 (PARMS): Do not use macros from bp-asm.h.
9964 (FUNCTION): Likewise. Do not use BP_SYM.
9965 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9967 (strtok_r): Likewise.
9968 (__GI___strtok_r): Likewise.
9969 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9970 (PARMS): Do not use macros from bp-asm.h.
9974 (__mpn_sub_n): Do not use BP_SYM.
9975 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9977 (PARMS): Do not use macros from bp-asm.h.
9980 (__mpn_submul_1): Do not use BP_SYM.
9981 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9983 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9985 (PARMS): Do not use macros from bp-asm.h.
9990 (__clone): Do not use BP_SYM.
9991 (clone): Do not use BP_SYM in weak_alias.
9992 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9994 (PARMS): Do not use macros from bp-asm.h.
9996 (__mmap64): Do not use BP_SYM.
9997 (mmap64): Do not use BP_SYM in weak_alias.
9998 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9999 <bp-sym.h> and <bp-asm.h>.
10000 (PARMS): Do not use macros from bp-asm.h.
10001 (__posix_fadvise64_l64): Do not use BP_SYM.
10002 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10003 (PARMS): Do not use macros from bp-asm.h.
10005 (semtimedop): Do not use BP_SYM.
10006 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10009 2013-02-21 Allan McRae <allan@archlinux.org>
10011 * manual/message.texi (Charset conversion in gettext):
10012 Move @end statement to beginning of line.
10014 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10021 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10022 (denorm): Likewise.
10023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10026 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10028 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10029 tail-call to the resolved function if pltexit isn't needed.
10031 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10034 or Y being zero as being unlikely.
10035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10038 2013-02-20 Carlos O'Donell <carlos@redhat.com>
10040 * manual/nss.texi (System Databases and Name Service Switch):
10041 Remove frobnicate @pxref.
10043 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10045 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10046 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10048 2013-02-20 Petr Machata <pmachata@redhat.com>
10050 * elf/elf.h (R_ARM_TARGET1): New macro.
10051 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10052 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10053 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10054 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10055 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10056 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10057 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10058 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10059 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10060 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10061 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10062 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10063 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10064 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10065 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10066 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10067 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10068 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10069 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10070 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10071 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10072 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10073 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10074 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10075 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10076 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10077 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10078 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10079 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10080 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10081 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10082 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10083 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10084 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10085 (R_ARM_THM_GOT_BREL12): Likewise.
10086 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10087 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10088 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10089 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10090 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10091 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10092 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10093 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10094 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10096 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10098 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10099 __attribute_used__ to __attribute__ ((unused)).
10101 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10103 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10106 comment formatting.
10107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10109 2013-02-19 Joseph Myers <joseph@codesourcery.com>
10112 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10114 (ENTER): Remove both macro definitions.
10116 (CHECK_BOUNDS_LOW): Likewise.
10117 (CHECK_BOUNDS_HIGH): Likewise.
10118 (CHECK_BOUNDS_BOTH): Likewise.
10119 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10120 (RETURN_BOUNDED_POINTER): Likewise.
10121 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10122 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10123 (POP_ERRNO_LOCATION_RETURN): Likewise.
10124 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10125 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10126 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10128 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10129 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10130 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10131 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10132 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10133 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10134 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10135 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10136 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10137 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10138 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10139 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10140 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10141 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10143 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10144 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10146 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10147 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10148 * sysdeps/i386/i586/memset.S (memset): Likewise.
10149 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10150 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10151 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10154 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10155 Change uses of L(2) to L(out).
10156 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10157 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10158 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10159 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10160 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10162 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10163 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10165 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10166 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10167 (RETURN): Do not use macro LEAVE.
10168 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10169 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10170 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10171 * sysdeps/i386/i686/memset.S (memset): Likewise.
10172 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10173 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10174 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10175 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10177 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10178 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10179 L(1_2) and L(1_3) into L(1).
10180 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10181 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10182 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10183 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10184 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10185 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10186 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10187 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10188 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10190 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10191 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10192 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10193 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10194 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10195 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10196 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10197 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10198 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10199 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10200 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10201 * sysdeps/i386/strspn.S (strspn): Likewise.
10202 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10204 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10205 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10206 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10207 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10208 L(1_3) into L(1_1).
10209 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10210 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10211 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10213 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10215 2013-02-19 Jakub Jelinek <jakub@redhat.com>
10217 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10220 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10222 * math/atest-exp.c (exp_mpn): Remove ROUND.
10223 * math/atest-exp2.c (exp_mpn): Likewise.
10224 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10226 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10227 * stdlib/tst-tls-atexit-lib.c: Likewise.
10228 * stdlib/tst-tls-atexit.c: Likewise.
10230 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10232 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10233 and __attribute_alloc_size__.
10235 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10237 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10238 __attribute_alloc_size__.
10239 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10240 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10242 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10244 * include/programs/xmalloc.h: New file.
10245 * catgets/gencat.c: Include it.
10246 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10247 * elf/pldd.c: Likewise.
10248 * iconv/iconv_charmap.c: Likewise.
10249 * iconv/iconvconfig.c: Likewise.
10250 * iconv/strtab.c: Likewise.
10251 * locale/programs/locale.c: Likewise.
10252 * locale/programs/localedef.h: Likewise.
10253 * locale/programs/simple-hash.c: Likewise.
10254 * nscd/nscd.h: Likewise.
10255 * nss/makedb.c: Likewise.
10256 * sysdeps/generic/ldconfig.h: Likewise.
10258 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10260 * Versions.def: Add GLIBC_2.18.
10261 * include/link.h (struct link_map): New member l_tls_dtor_count.
10262 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10263 (__call_tls_dtors): Likewise.
10264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10265 __cxa_thread_atexit_impl.
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10282 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10283 (tests): Add test case tst-tls-atexit.
10284 (modules-names): Add shared library for tst-tls-atexit.
10285 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10286 (GLIBC_PRIVATE): Add __call_tls_dtors.
10287 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10289 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10290 * stdlib/tst-tls-atexit.c: New test case.
10291 * stdlib/tst-tls-atexit-lib.c: New test case.
10293 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10295 * elf/Versions (ld): Add _dl_find_dso_for_object.
10296 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10297 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10298 (dl_open_worker): Use _dl_find_dso_for_object.
10299 * elf/dl-sym.c (do_sym): Likewise.
10300 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10302 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10304 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10305 Syntactic changes only.
10306 (_dl_runtime_profile): Do a tail-call to the resolved function.
10308 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10311 * sysdeps/x86_64/bp-asm.h: Remove file.
10312 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10313 <bp-sym.h> and <bp-asm.h>.
10314 (__clone): Do not use BP_SYM.
10315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10316 <bp-sym.h> and <bp-asm.h>.
10317 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10318 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10320 (_setjmp): Do not use BP_SYM.
10321 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10323 (setjmp): Do not use BP_SYM.
10324 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10326 (mempcpy): Do not use BP_SYM in weak_alias.
10327 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10329 (strchr): Do not use BP_SYM.
10330 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10332 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10333 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10334 (_start): Do not use BP_SYM.
10335 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10337 (strcat): Do not use BP_SYM.
10338 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10340 (STRCMP): Do not use BP_SYM.
10341 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10343 (STRCPY): Do not use BP_SYM.
10344 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10346 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10348 (FUNCTION): Do not use BP_SYM.
10349 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10351 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10353 2013-02-17 Andreas Jaeger <aj@suse.de>
10355 * time/Versions: Sort entries.
10356 * string/Versions: Likewise.
10357 * resolv/Versions: Likewise.
10358 * posix/Versions: Likewise.
10359 * iconv/Versions: Likewise.
10360 * elf/Versions: Likewise.
10361 * wcsmbs/Versions: Likewise.
10363 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10365 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10366 loop termination condition.
10368 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10369 variable to calculate EZ.
10372 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10373 the lower precision input.
10375 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10378 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10379 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10380 (run-via-rtld-prefix): Do not handle %-bp tests.
10381 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10382 (all-object-suffixes): Remove .ob.
10383 (bppfx): Remove variable.
10384 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10385 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10386 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10387 [$(build-bounded) = yes] (libtype.ob): Likewise.
10388 * Makerules (elide-routines.ob): Remove variable.
10389 (do-tests-clean): Do not handle *-bp.out.
10390 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10391 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10392 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10393 (tests): Do not include $(tests-bp.out).
10394 (xtests): Do not include $(xtests-bp.out).
10395 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10396 [$(build-bounded) = yes] ($(addprefix
10397 $(objpfx),$(binaries-bounded))): Remove rule.
10398 ($(objpfx)%-bp.out): Remove rule.
10399 * config.make.in (build-bounded): Remove variable.
10400 * crypt/Makefile [$(build-bounded) = yes]
10401 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10402 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10403 append to variable.
10404 [$(build-bounded) = yes] (install-lib): Likewise.
10405 [$(build-bounded) = yes] (generated): Likewise.
10406 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10408 * intl/Makefile [$(build-bounded) = yes]
10409 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10410 * math/Makefile [$(build-bounded) = yes]
10411 ($(tests:%=$(objpfx)%-bp): Likewise.
10412 * misc/Makefile [$(build-bounded) = yes]
10413 ($(objpfx)tst-tsearch-bp): Likewise.
10414 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10415 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10417 * string/Makefile (o-objects.ob): Remove variable.
10418 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10419 (CFLAGS-.ob): Remove variable.
10420 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10421 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10422 both definitions of variable.
10423 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10424 (ASFLAGS-.ob): Remove variable.
10426 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10429 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10430 Remove __BOUNDED_POINTERS__ from condition.
10431 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10432 * string/bits/string2.h [!__NO_STRING_INLINES &&
10433 !__BOUNDED_POINTERS__]: Likewise.
10434 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10436 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10437 Remove conditional code.
10438 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10439 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10440 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10444 * csu/libc-start.c: Do not include <bp-sym.h>.
10445 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10446 * elf/dl-open.c: Do not include <bp-sym.h>.
10447 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10448 * math/fegetenv.c: Do not include <bp-sym.h>.
10449 (fegetenv): Do not use BP_SYM in versioned symbols.
10450 * nptl/sysdeps/pthread/bits/libc-lockP.h
10451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10454 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10456 (__pthread_mutex_destroy): Likewise.
10457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10458 (__pthread_mutex_lock): Likewise.
10459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10460 (__pthread_mutex_trylock): Likewise.
10461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10462 (__pthread_mutex_unlock): Likewise.
10463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10464 (__pthread_mutexattr_init): Likewise.
10465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10466 (__pthread_mutexattr_destroy): Likewise.
10467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10468 (__pthread_mutexattr_settype): Likewise.
10469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10470 (__pthread_rwlock_init): Likewise.
10471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10472 (__pthread_rwlock_destroy): Likewise.
10473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10474 (__pthread_rwlock_rdlock): Likewise.
10475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10476 (__pthread_rwlock_tryrdlock): Likewise.
10477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10478 (__pthread_rwlock_wrlock): Likewise.
10479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10480 (__pthread_rwlock_trywrlock): Likewise.
10481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10482 (__pthread_rwlock_unlock): Likewise.
10483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10484 (__pthread_key_create): Likewise.
10485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10486 (__pthread_setspecific): Likewise.
10487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10488 (__pthread_getspecific): Likewise.
10489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10492 (_pthread_cleanup_push_defer): Likewise.
10493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10494 (_pthread_cleanup_pop_restore): Likewise.
10495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10496 (pthread_setcancelstate): Likewise.
10497 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10499 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10500 (memchr): Do not use BP_SYM in weak_alias.
10501 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10502 (fegetenv): Do not use BP_SYM in versioned symbols.
10503 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10504 (fesetenv): Do not use BP_SYM in versioned symbols.
10505 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10506 (feupdateenv): Do not use BP_SYM in versioned symbols.
10507 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10508 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10509 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10510 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10511 (open64): Do not use BP_SYM in weak_alias.
10512 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10513 (fegetenv): Do not use BP_SYM in versioned symbols.
10514 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10515 (fesetenv): Do not use BP_SYM in versioned symbols.
10516 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10517 (feupdateenv): Do not use BP_SYM in versioned symbols.
10518 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10519 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10520 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10521 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10522 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10523 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10524 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10526 (__libc_start_main): Do not use BP_SYM.
10528 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10531 redundant return line.
10533 (denorm): Likewise.
10534 (dbl_mp): Likewise.
10535 (sub_magnitudes): Likewise.
10541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10543 (denorm): Likewise.
10544 (dbl_mp): Likewise.
10545 (sub_magnitudes): Likewise.
10552 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10554 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10555 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10558 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10559 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10561 of __mul for squares.
10562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10566 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10567 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10569 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10572 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10574 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10575 prototype or function definition. Rename ubp_* variables and
10576 parameters. Remove argv definitions conditional on
10577 [__BOUNDED_POINTERS__].
10578 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10579 * elf/dl-runtime.c (_dl_fixup): Likewise.
10580 * include/set-hooks.h (RUN_HOOK): Likewise.
10581 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10583 * string/strcpy.c (strcpy): Do not use __unbounded.
10584 * sysdeps/generic/frame.h (struct layout): Likewise.
10585 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10586 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10587 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10588 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10589 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10590 (__backtrace): Likewise.
10591 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10593 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10594 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10595 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10597 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10598 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10599 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10600 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10601 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10602 Do not use __unbounded.
10603 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10604 Rename __unboundedrlimits parameter to rlimits in prototype.
10605 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10606 Do not use __unbounded.
10607 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10608 not use __ptrvalue.
10609 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10610 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10611 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10612 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10613 __ptrvalue or __unbounded.
10614 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10615 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10617 (__new_msgctl): Do not use __ptrvalue.
10618 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10620 (__libc_msgrcv): Do not use __ptrvalue.
10621 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10622 startup_info): Do not use __unbounded.
10623 (__libc_start_main): Likewise. Rename ubp_* variables and
10624 parameters. Remove argv definitions conditional on
10625 [__BOUNDED_POINTERS__].
10626 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10628 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10630 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10632 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10634 (__new_shmctl): Do not use __ptrvalue.
10635 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10636 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10638 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10639 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10640 (__libc_sigaction): Likewise.
10641 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10642 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10644 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10646 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10648 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10650 * string/mempcpy.c: Implement by calling memcpy.
10652 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10659 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10660 values in the mantissa.
10662 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10663 minimize writes to Z.
10664 (sub_magnitudes): Simplify code a bit.
10666 2013-02-12 Roland McGrath <roland@hack.frob.com>
10668 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10669 from the message. The linker prefixes all warnings with that already.
10671 2013-02-12 Andreas Schwab <schwab@suse.de>
10674 * posix/regexec.c (extend_buffers): Add parameter min_len.
10675 (check_matching): Pass minimum needed length.
10676 (clean_state_log_if_needed): Likewise.
10677 (get_subexp): Likewise.
10678 * posix/Makefile (tests): Add bug-regex34.
10679 (bug-regex34-ENV): Define.
10680 * posix/bug-regex34.c: New file.
10683 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10684 elements compare against the byte sequence of it, not its name.
10685 * posix/Makefile (tests): Add bug-regex35.
10686 (bug-regex35-ENV): Define.
10687 * posix/bug-regex35.c: New file.
10689 2013-02-11 Tom de Vries <tom@codesourcery.com>
10691 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10693 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10694 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10695 (CHECK_EOL): Add undef.
10697 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10699 * bits/stdlib-bsearch.h: New file.
10700 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10701 * stdlib/stdlib.h: Likewise.
10703 2013-02-11 Roland McGrath <roland@hack.frob.com>
10705 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10706 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10708 * manual/search.texi (Array Search Function): Add missing const in
10710 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10711 declaration to use rlim_t.
10712 (Basic Scheduling Functions): Remove erroneous const from
10713 sched_getparam prototype. Remove erroneous * from
10714 sched_get_priority_max and sched_get_priority_min prototypes.
10715 (Resource Usage): Fix summary @comment on vtimes to refer to
10716 sys/vtimes.h rather than vtimes.h.
10717 Add missing *s in vtimes prototype.
10718 (Limits on Resources): Fix ulimit prototype to return long int.
10719 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10720 prototypes to use long int rather than double.
10721 (BSD Random): Fix initstate and setstate to use char *, not void *.
10722 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10723 prototype to make second argument 'struct aiocb64 *const[]'.
10724 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10725 (Status of AIO Operations): Remove erroneous const in aio_return and
10726 aio_return64 prototypes.
10727 (Synchronizing I/O): Fix sync prototype to return void.
10728 * manual/startup.texi (Suboptions): Remove an erroneous const in
10729 getsubopt prototype.
10730 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10731 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10732 use size_t rather than int.
10733 (Scanning All Users): Likewise for getpwent_r.
10734 (Setting Groups): Add missing const to setgroups prototype.
10735 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10736 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10737 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10738 'const void *' rather than 'const char *'.
10739 (Host Address Functions): Likewise for inet_ntop.
10740 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10741 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10742 ssize_t for return value.
10743 (Sending Data): Likewise for send, sendto, sendmsg.
10744 (Socket Option Functions): Add a missing const in setsockopt prototype.
10745 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10746 use wchar_t for the argument.
10747 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10748 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10750 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10751 double/float/long double for second argument.
10752 Fix return types of significand, significandf, significandl.
10753 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10754 argument in fchmod prototype.
10755 (File Owner): Use uid_t and gid_t in fchown prototype.
10756 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10757 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10758 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10759 use 'const struct dirent **' as argument types to CMP function pointer
10761 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10762 (File Times): Fix summary magic @comment for struct utimbuf and utime
10763 to refer to utime.h, not time.h.
10764 * manual/string.texi (Argz Functions): Add missing const in
10765 argz_extract and argz_next prototypes.
10766 (Finding Tokens in a String): Likewise for basename.
10767 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10768 (Copying and Concatenation): Fix typo in wmemmove prototype.
10769 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10770 (Signal Stack): Remove erroneous const in sigstack prototype.
10771 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10773 (Simple Calendar Time): Likewise for stime.
10774 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10776 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10777 say sys/sysctl.h instead.
10778 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10779 and vsyslog prototypes.
10781 2013-02-11 Tom de Vries <tom@codesourcery.com>
10783 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10786 2013-02-11 Roland McGrath <roland@hack.frob.com>
10788 * misc/sys/mman.h: Fix typo in mremap comment.
10790 2013-02-08 Roland McGrath <roland@hack.frob.com>
10792 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10793 the '\0' terminator.
10795 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10798 * debug/segfault.c: Don't include <bp-checks.h>.
10799 * sysdeps/generic/bp-checks.h: Remove file.
10800 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10801 (__GETDENTS): Don't use CHECK_N.
10802 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10803 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10804 (__getgroups): Don't use CHECK_N.
10805 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10806 (setgroups): Don't use CHECK_N.
10807 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10808 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10809 (__libc_msgrcv): Don't use CHECK_N.
10810 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10811 (__libc_msgsnd): Don't use CHECK_N.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10814 (__libc_pread): Don't use CHECK_N.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10816 include <bp-checks.h>.
10817 (__libc_pread64): Don't use CHECK_N.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10819 include <bp-checks.h>.
10820 (__libc_pwrite): Don't use CHECK_N.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10822 include <bp-checks.h>.
10823 (__libc_pwrite64): Don't use CHECK_N.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10826 (__libc_pread): Don't use CHECK_N.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10828 include <bp-checks.h>.
10829 (__libc_pread64): Don't use CHECK_N.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10831 include <bp-checks.h>.
10832 (__libc_pwrite): Don't use CHECK_N.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10834 include <bp-checks.h>.
10835 (__libc_pwrite64): Don't use CHECK_N.
10836 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10837 (do_pread): Don't use CHECK_N.
10838 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10839 (do_pread64): Don't use CHECK_N.
10840 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10841 (do_pwrite): Don't use CHECK_N.
10842 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10843 (do_pwrite64): Don't use CHECK_N.
10844 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10845 (__libc_readv): Don't use CHECK_N.
10846 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10847 (semop): Don't use CHECK_N.
10848 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10850 (semtimedop): Don't use CHECK_N.
10851 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10852 (__libc_pread): Don't use CHECK_N.
10853 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10855 (__libc_pread64): Don't use CHECK_N.
10856 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10858 (__libc_pwrite): Don't use CHECK_N.
10859 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10861 (__libc_pwrite64): Don't use CHECK_N.
10862 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10864 (__libc_msgrcv): Don't use CHECK_N.
10865 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10866 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10867 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10868 (__libc_writev): Don't use CHECK_N.
10870 2013-02-08 Roland McGrath <roland@hack.frob.com>
10872 * string/strcpy.c: Removed unused variable.
10874 * Makeconfig (+sysdep-includes): Define with := rather than =.
10875 Use an existing include/ subdir of each sysdeps dir before it.
10877 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10879 * nscd/connection.c (register_traced_file): Comment function.
10880 [HAVE_INOTIFY] (union __inev): Define.
10881 [HAVE_INOTIFY] (inotify_check_files): New function.
10882 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10883 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10885 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10887 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10889 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10890 loaded if not already and that a failure is permanent.
10892 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10895 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10896 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10898 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10901 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10902 (CHECK_1_NULL_OK): Likewise.
10903 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10904 (__fxstat): Do not use CHECK_1.
10905 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10907 (___fxstat64): Do not use CHECK_1.
10908 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10910 (__fxstatat): Do not use CHECK_1.
10911 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10913 (__fxstatat64): Do not use CHECK_1.
10914 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10916 (__fxstat): Do not use CHECK_1.
10917 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10919 (__fxstatat): Do not use CHECK_1.
10920 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10922 (__getresgid): Do not use CHECK_1.
10923 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10925 (__getresuid): Do not use CHECK_1.
10926 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10928 (__lxstat): Do not use CHECK_1.
10929 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10931 (__old_msgctl): Do not use CHECK_1.
10932 (__new_msgctl): Likewise.
10933 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10935 (__new_setrlimit): Do not use CHECK_1.
10936 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10938 (__old_shmctl): Do not use CHECK_1.
10939 (__new_shmctl): Likewise.
10940 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10942 (__xstat): Do not use CHECK_1.
10943 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10944 (__lxstat): Do not use CHECK_1.
10945 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10947 (___lxstat64): Do not use CHECK_1.
10948 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10949 (__old_msgctl): Do not use CHECK_1.
10950 (__new_msgctl): Likewise.
10951 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10953 (__gettimeofday): Do not use CHECK_1.
10954 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10955 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10956 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10958 (__gettimeofday): Do not use CHECK_1.
10959 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10960 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10961 (__new_shmctl): Do not use CHECK_1.
10962 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10964 (do_sigtimedwait): Do not use CHECK_1.
10965 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10967 (do_sigwaitinfo): Do not use CHECK_1.
10968 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10970 (msgctl): Do not use CHECK_1.
10971 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10973 (shmctl): Do not use CHECK_1.
10974 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10975 (ustat): Do not use CHECK_1.
10976 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10978 (__fxstat): Do not use CHECK_1.
10979 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10981 (__fxstatat): Do not use CHECK_1.
10982 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10984 (__lxstat): Do not use CHECK_1.
10985 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10987 (__xstat): Do not use CHECK_1.
10988 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10989 (__xstat): Do not use CHECK_1.
10990 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10991 (___xstat64): Do not use CHECK_1.
10994 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10996 (CHECK_BOUNDS_HIGH): Likewise.
10997 * string/strcpy.c: Do not include <bp-checks.h>.
10998 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11000 2013-02-07 Roland McGrath <roland@hack.frob.com>
11002 * nscd/nscd-client.h (__nscd_drop_map_ref):
11003 Add __attribute__ ((unused)).
11004 * nis/nss-nisplus.h (niserr2nss): Likewise.
11006 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11007 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11009 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11010 Remove inline keyword.
11011 * include/rounding-mode.h (round_away): Likewise.
11012 * libio/wfileops.c (adjust_wide_data): Likewise.
11013 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11014 (__m128i_strloadu_tolower): Likewise.
11015 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11016 (__m128i_strloadu_tolower): Likewise.
11017 * time/mktime.c (ydhms_diff): Likewise.
11018 * locale/elem-hash.h (elem_hash): Likewise.
11019 * locale/setlocale.c (setdata): Likewise.
11020 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11021 (re_string_wchar_at): Likewise.
11022 (bitset_not, bitset_merge, bitset_mask): Likewise.
11023 [!(__GNUC__ > 3)] (inline): Remove macro.
11024 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11025 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11026 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11027 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11028 * string/memcmp.c (memcmp_bytes): Likewise.
11029 * locale/programs/locarchive.c (compute_hashval): Likewise.
11030 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11031 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11032 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11033 * nss/getent.c (print_rpc, print_protocols): Likewise.
11034 (print_passwd, print_group, print_aliases): Likewise.
11035 * nis/nss-nisplus.h (niserr2nss): Likewise.
11036 * nscd/connections.c (restart_p): Likewise.
11037 Change return type to bool.
11039 2013-02-05 Roland McGrath <roland@hack.frob.com>
11041 * Makeconfig (all-Depend-files): Add existing
11042 $(sorted-subdirs:=/Depend) files.
11043 (all-subdirs): Remove nss.
11044 * sysdeps/unix/inet/Subdirs: Add it here instead.
11045 * hesiod/Depend: New file.
11047 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11048 instead of calling alloca.
11050 * io/lseek.c (__lseek): Rename to __libc_lseek.
11051 Define __lseek as an alias.
11053 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11055 2013-02-04 Carlos O'Donell <carlos@redhat.com>
11057 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11058 else clause and remove check for non-standard endianness.
11060 2013-02-04 David S. Miller <davem@davemloft.net>
11062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11064 2013-02-04 Joseph Myers <joseph@codesourcery.com>
11067 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11068 (__ubp_memchr): Remove prototype.
11069 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11070 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11071 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11072 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11073 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11075 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11076 (__ubp_memchr): Likewise.
11077 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11078 (__ubp_memchr): Likewise.
11079 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11080 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11081 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11082 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11084 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11085 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11086 (__getcwd): Do not use CHECK_STRING.
11087 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11089 (__real_chown): Do not use CHECK_STRING.
11090 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11092 (fchownat): Do not use CHECK_STRING.
11093 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11095 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11097 (__lchown): Do not use CHECK_STRING.
11098 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11099 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11100 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11101 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11103 include <bp-checks.h>.
11104 (truncate64): Do not use CHECK_STRING.
11105 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11107 (__real_chown): Do not use CHECK_STRING.
11108 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11110 (__lchown): Do not use CHECK_STRING.
11111 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11113 (__chown): Do not use CHECK_STRING.
11114 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11116 (truncate64): Do not use CHECK_STRING.
11117 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11119 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11120 (__xmknod): Do not use CHECK_STRING.
11121 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11123 (__xmknodat): Do not use CHECK_STRING.
11124 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11125 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11127 2013-02-04 Andreas Schwab <schwab@suse.de>
11130 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11131 * include/netdb.h: Likewise for h_errno.
11132 * elf/tst-stackguard1.c: Include <tls.h>.
11134 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11136 * elf/link.h (struct link_map): Extend the l_addr comment.
11137 * include/link.h (struct link_map): Likewise.
11139 2013-02-01 Joseph Myers <joseph@codesourcery.com>
11142 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11143 (BOUNDED_1): Remove macro.
11144 * debug/backtrace.c: Don't include <bp-checks.h>.
11145 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11146 (__backtrace): Likewise.
11147 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11149 (__backtrace): Don't use BOUNDED_1.
11150 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11152 (__backtrace): Don't use BOUNDED_1.
11153 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11154 (__backtrace): Don't use BOUNDED_1.
11155 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11156 (shmat): Don't use BOUNDED_N.
11158 2013-01-31 Joseph Myers <joseph@codesourcery.com>
11161 * sysdeps/generic/bp-start.h: Remove file.
11162 * csu/libc-start.c: Don't include <bp-start.h>.
11163 (LIBC_START_MAIN): Set up __environ directly instead of using
11164 INIT_ARGV_and_ENVIRON.
11165 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11169 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11171 (CHECK_FCNTL): Likewise.
11172 (CHECK_N_PAGES): Likewise.
11175 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11177 (CHECK_SIGSET_NULL_OK): Likewise.
11178 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11180 (sigpending): Don't use CHECK_SIGSET.
11181 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11183 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11184 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11186 (do_sigsuspend): Don't use CHECK_SIGSET.
11187 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11189 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11190 (do_sigwait): Don't use CHECK_SIGSET.
11191 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11193 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11194 include <bp-checks.h>.
11195 (sigpending): Don't use CHECK_SIGSET.
11196 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11197 include <bp-checks.h>.
11198 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11199 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11201 (sigpending): Don't use CHECK_SIGSET.
11202 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11204 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11207 * sysdeps/generic/bp-semctl.h: Remove file.
11208 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11209 <bp-checks.h> and <bp-semctl.h>.
11210 (__old_semctl): Don't use CHECK_SEMCTL.
11211 (__new_semctl): Likewise.
11212 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11214 (__old_semctl): Don't use CHECK_SEMCTL.
11215 (__new_semctl): Likewise.
11216 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11217 <bp-checks.h> and <bp-semctl.h>.
11218 (__old_semctl): Don't use CHECK_SEMCTL.
11219 (__new_semctl): Likewise.
11220 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11221 <bp-checks.h> and <bp-semctl.h>.
11222 (semctl): Don't use CHECK_SEMCTL.
11225 * Makerules (elide-bp-thunks): Remove variable.
11226 (elide-routines.oS): Don't use $(elide-bp-thunks).
11227 (elide-routines.os): Likewise.
11228 (elide-routines.o): Likewise.
11229 (elide-routines.op): Likewise.
11230 (elide-routines.og): Likewise.
11231 (objects): Don't use $(bp-thunks).
11232 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11234 (common-generated): Do not add s-proto-bp.d.
11235 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11238 Do not generate makefile rules for bounded-pointer thunks.
11239 * sysdeps/generic/bp-thunks.h: Remove file.
11240 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11241 * sysdeps/unix/s-proto-bp.S: Likewise.
11244 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11245 parts of result separately when argument is not close to line from
11246 -i to i and one part of argument is small.
11247 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11248 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11249 * math/libm-test.inc (cacos_test): Add more tests.
11250 (casin_test): Likewise.
11251 (casinh_test): Likewise.
11252 * sysdeps/i386/fpu/libm-test-ulps: Update.
11253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11255 2013-01-31 David S. Miller <davem@davemloft.net>
11257 * po/de.po: Update from translation team.
11259 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11261 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11263 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11265 * configure.in (_AC_PROG_CC_C89): New definition.
11266 * configure: Regenerate.
11268 * configure.in (AC_PROG_CPP): New definition.
11269 * configure: Regenerate.
11271 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11273 * debug/tst-backtrace.h: New file.
11274 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11275 (ret): Remove variable.
11277 (FAIL): Remove macro.
11278 (NO_INLINE): Likewise.
11279 (fn1): Use match function instead of strstr.
11280 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11281 (ret): Remove variable.
11283 (FAIL): Remove macro.
11284 (NO_INLINE): Likewise.
11285 (fn): Use match function instead of strstr.
11286 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11287 (ret): Remove variable.
11289 (FAIL): Remove macro.
11290 (NO_INLINE): Likewise.
11291 (handle_signal): Use match function instead of strstr.
11292 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11293 (ret): Remove variable.
11295 (FAIL): Remove macro.
11296 (NO_INLINE): Likewise.
11297 (handle_signal): Use match function instead of strstr.
11299 2013-01-23 Roland McGrath <roland@hack.frob.com>
11301 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11303 2013-01-23 David S. Miller <davem@davemloft.net>
11305 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11306 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11307 argument of CAS if possible.
11308 * sysdeps/sparc/sparc64/bits/atomic.h
11309 (__arch_compare_and_exchange_val_32_acq): Likewise.
11310 (__arch_compare_and_exchange_val_64_acq): Likewise.
11312 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11314 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11315 * sysdeps/posix/ulimit.c: ... this.
11316 Include <limits.h>.
11317 * sysdeps/unix/bsd/ulimit.c: Remove file.
11319 2013-01-23 Adam Conrad <adconrad@0c3.net>
11321 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11322 (LDFLAGS-tst-array5): Likewise.
11324 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11327 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11328 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11329 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11330 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11332 2013-01-21 David S. Miller <davem@davemloft.net>
11334 * sysdeps/sparc/backtrace.c: New file.
11335 * sysdeps/sparc/sparc32/backtrace.h: New file.
11336 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11337 * sysdeps/sparc/sparc64/backtrace.h: New file.
11338 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11339 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11342 2013-01-21 Andreas Schwab <schwab@suse.de>
11345 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11348 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11354 2013-01-18 Joseph Myers <joseph@codesourcery.com>
11355 Mark Mitchell <mark@codesourcery.com>
11356 Tom de Vries <tom@codesourcery.com>
11357 Paul Pluzhnikov <ppluzhnikov@google.com>
11359 * debug/tst-backtrace2.c: New file.
11360 * debug/tst-backtrace3.c: Likewise.
11361 * debug/tst-backtrace4.c: Likewise.
11362 * debug/tst-backtrace5.c: Likewise.
11363 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11364 (CFLAGS-tst-backtrace3.c): Likewise.
11365 (CFLAGS-tst-backtrace4.c): Likewise.
11366 (CFLAGS-tst-backtrace5.c): Likewise.
11367 (LDFLAGS-tst-backtrace2): Likewise.
11368 (LDFLAGS-tst-backtrace3): Likewise.
11369 (LDFLAGS-tst-backtrace4): Likewise.
11370 (LDFLAGS-tst-backtrace5): Likewise.
11371 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11372 tst-backtrace4 and tst-backtrace5.
11374 2013-01-18 Anton Blanchard <anton@samba.org>
11375 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11377 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11378 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11379 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11380 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11382 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11383 "+r" and remove output regs list as redundant. Add explicit inline
11384 asm to specify register of return val to work around compiler codegen
11385 bug. Remove (int) cast on return value. Add return type parameter to
11386 use in macro so that this macro does not truncate return value for
11388 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11389 pass to INTERNAL_VSYSCALL_NCS.
11390 (INLINE_VSYSCALL): Add 'long int' as return type to
11391 INTERNAL_VSYSCALL_NCS macro invocation.
11392 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11393 INTERNAL_VSYSCALL_NCS macro invocation.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11396 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11399 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11400 Fix application of SIMD FP exception mask.
11402 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11403 mp_no from a power of two.
11404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11405 __mpexp_twomm1. Use __pow_mp.
11407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11410 2013-01-17 David S. Miller <davem@davemloft.net>
11412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11414 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11417 * include/complex.h: Condition contents on [!_COMPLEX_H].
11418 (__kernel_casinhf): New prototype.
11419 (__kernel_casinh): Likewise.
11420 (__kernel_casinhl): Likewise.
11421 * math/Makefile (libm_calls): Add k_casinh.
11422 * math/k_casinh.c: New file.
11423 * math/k_casinhf.c: Likewise.
11424 * math/k_casinhl.c: Likewise.
11425 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11426 finite nonzero arguments.
11427 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11428 finite nonzero arguments.
11429 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11430 finite nonzero arguments.
11431 * math/s_casinh.c: Do not include <float.h>.
11432 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11433 * math/s_casinhf.c: Do not include <float.h>.
11434 (__casinhf): Move code for finite nonzero arguments to
11436 * math/s_casinhl.c: Do not include <float.h>.
11437 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11439 (__casinhl): Move code for finite nonzero arguments to
11441 * math/libm-test.inc (cacos_test): Add more tests.
11442 * sysdeps/i386/fpu/libm-test-ulps: Update.
11443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11445 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11447 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11448 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11449 [!HAVE_MREMAP]: Remove [defined linux] case.
11450 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11452 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11454 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11456 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11458 * elf/elf.h (R_386_SIZE32): New relocation.
11459 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11461 (elf_machine_rela): Likewise.
11462 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11463 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11465 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11467 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11468 (FP_FAST_FMA): Do not define.
11469 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11470 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11471 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11472 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11473 !_SOFT_FLOAT]: Likewise.
11474 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11475 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11477 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11478 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11479 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11480 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11481 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11482 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11485 2013-01-16 Andreas Schwab <schwab@suse.de>
11488 * include/stdlib.h (__mktemp): Add declaration.
11489 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11490 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11492 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11494 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11496 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11497 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11498 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11500 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11501 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11503 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11505 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11506 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11507 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11509 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11510 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11512 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11514 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11516 2013-01-15 David S. Miller <davem@davemloft.net>
11518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11519 trunc{,f} to libm-sysdep_routes.
11520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11530 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11531 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11532 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11533 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11534 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11535 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11538 nearbyint{,f} to libm-sysdep_routes.
11539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11550 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11552 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11553 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11555 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11556 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11557 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11559 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11560 libc_feholdexcept and libc_fesetenv.
11562 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11564 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11566 2013-01-14 David S. Miller <davem@davemloft.net>
11568 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11569 (SPARC_ASM_VIS2_IFUNC): Likewise.
11570 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11572 use of 'siam' instruction.
11573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11606 routines to libm-sysdep_routines.
11607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11610 fdim/fdimf to libm-sysdep_routines.
11611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11619 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11620 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11621 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11622 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11624 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11626 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11627 to optimize copies.
11629 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11634 local variable MPTWO.
11635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11638 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11640 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11643 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11645 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11647 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11649 * manual/pattern.texi (glob_t): Document gl_flags.
11650 (glob64_t): Likewise.
11652 2013-01-11 David S. Miller <davem@davemloft.net>
11654 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11655 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11656 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11657 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11658 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11659 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11660 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11661 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11662 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11663 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11664 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11665 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11666 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11668 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11669 sparc V9 rather than using V8 code.
11670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11673 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11675 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11678 2013-01-11 Roland McGrath <roland@hack.frob.com>
11680 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11681 not in the main loop.
11682 * configure: Regenerated.
11684 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11686 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11687 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11689 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11690 [!__GLIBC_HAVE_LONG_LONG] case.
11691 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11692 condition to just #else.
11693 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11694 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11695 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11696 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11698 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11699 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11700 #elif condition to just #else.
11701 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11702 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11703 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11704 #elif condition to just #else.
11706 2013-01-11 Steve Ellcey <sellcey@mips.com>
11708 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11709 (EF_MIPS_ARCH_64): Fix value.
11710 (EF_MIPS_ARCH_32R2): New.
11711 (EF_MIPS_ARCH_64R2): New.
11713 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11715 * Makeconfig (+link-pie-before-libc): New.
11716 (+link-pie-after-libc): Likewise.
11717 (+link-pie-tests): Likewise.
11718 (+link-pie): Rewritten.
11719 (link-before-libc): Remove $(config-LDFLAGS).
11720 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11721 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11722 (config-LDFLAGS): Renamed to ...
11723 (rtld-LDFLAGS): This.
11724 (rtld-tests-LDFLAGS): New macro.
11725 (link-libc-rpath-link): Likewise.
11726 (link-libc-tests-rpath-link): Likewise.
11727 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11728 (link-libc): Prepand $(link-libc-rpath-link).
11729 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11730 (test-program-prefix): New macro.
11731 (test-via-rtld-prefix): Likewise.
11732 (test-program-cmd): Likewise.
11733 (host-test-program-cmd): Likewise.
11734 * Makefile ($(common-objpfx)testrun.sh): Replace
11735 $(run-program-prefix) with $(test-program-prefix).
11736 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11738 ($(common-objpfx)shlib.lds): Likewise.
11739 (build-module-helper): Likewise.
11740 ($(common-objpfx)format.lds): Likewise.
11741 * Rules (binaries-pie-tests): New.
11742 (binaries-pie-notests): Likewise.
11743 (binaries-pie): Rewritten.
11744 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11745 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11746 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11747 (make-test-out): Replace $(host-built-program-cmd) with
11748 $(host-test-program-cmd).
11749 * config.make.in (build-hardcoded-path-in-tests): New variable.
11750 * configure.in (--enable-hardcoded-path-in-tests): New configure
11752 (hardcoded_path_in_tests): New AC_SUBST.
11753 * configure: Regenerated.
11754 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11755 $(built-program-cmd) with $(test-program-cmd).
11756 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11757 (test_program_cmd): This.
11758 * elf/Makefile ($(objpfx)order.out): Run test with
11759 $(test-program-prefix).
11760 ($(objpfx)order2.out): Likewise.
11761 ($(objpfx)tst-initorder.out): Likewise.
11762 ($(objpfx)tst-initorder2.out): Likewise.
11763 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11764 $(test-program-cmd).
11765 ($(objpfx)tst-array1-static.out): Likewise.
11766 ($(objpfx)tst-array2.out): Likewise.
11767 ($(objpfx)tst-array3.out): Likewise.
11768 ($(objpfx)tst-array4.out): Likewise.
11769 ($(objpfx)tst-array5.out): Likewise.
11770 ($(objpfx)tst-array5-static.out): Likewise.
11771 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11772 $(test-program-cmd).
11773 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11774 $(run-program-prefix) with $(test-program-prefix).
11775 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11776 (test_program_prefix): This.
11777 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11778 $(run-program-prefix) with $(test-program-prefix).
11779 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11780 (test_program_prefix): This.
11781 * iconvdata/tst-tables.sh: Likewise.
11782 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11783 $(run-program-prefix) with $(test-program-prefix).
11784 ($(objpfx)tst-translit.out): Likewise.
11785 ($(objpfx)tst-gettext2.out): Likewise.
11786 ($(objpfx)tst-gettext4.out): Likewise.
11787 ($(objpfx)tst-gettext6.out): Likewise.
11788 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11789 (test_program_prefix): This.
11790 * intl/tst-gettext2.sh: Likewise.
11791 * intl/tst-gettext4.sh Likewise.
11792 * intl/tst-gettext6.sh: Likewise.
11793 * intl/tst-translit.sh: Likewise.
11794 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11795 with $(test-program-cmd).
11796 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11797 $(run-program-prefix) with $(test-program-prefix).
11798 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11799 (test_program_prefix): This.
11800 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11801 $(run-program-prefix) with $(test-program-prefix).
11802 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11803 (test_program_prefix): This.
11804 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11805 * posix/Makefile ($(objpfx)globtest.out): Replace
11806 $(run-via-rtld-prefix) and $(test-wrapper) with
11807 $(test-program-prefix) and $(test-via-rtld-prefix).
11808 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11809 $(test-program-prefix).
11810 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11811 $(host-test-program-cmd).
11812 (tst-spawn-ARGS): Likewise.
11813 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11814 $(test-program-prefix).
11815 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11816 (test_via_rtld_prefix): This.
11817 (test_wrapper): Renamed to ...
11818 (test_program_prefix): This.
11819 (run_program_prefix): Replaced by test_program_prefix.
11820 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11821 (test_program_prefix): This.
11822 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11823 with $(host-test-program-cmd).
11824 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11825 $(run-program-prefix) with $(test-program-prefix).
11826 ($(objpfx)tst-printf.out): Likewise.
11827 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11828 $(test-program-cmd).
11829 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11830 (test_program_prefix): This.
11831 * stdio-common/tst-unbputc.sh: Likewise.
11832 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11833 $(run-program-prefix) with $(test-program-prefix).
11834 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11835 (test_program_prefix): This.
11836 * string/Makefile ($(objpfx)tst-svc.out): Replace
11837 $(built-program-cmd) with $(test-program-cmd).
11839 2013-01-11 Andreas Jaeger <aj@suse.de>
11842 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11843 value. Sync with Linux 3.7.
11845 2013-01-10 David S. Miller <davem@davemloft.net>
11847 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11848 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11849 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11851 2013-01-10 Roland McGrath <roland@hack.frob.com>
11853 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11855 * configure: Regenerated.
11857 2013-01-10 David S. Miller <davem@davemloft.net>
11859 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11860 sparc V9 rather than using V8 code.
11861 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11862 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11864 2013-01-10 Roland McGrath <roland@hack.frob.com>
11866 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11867 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11868 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11869 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11870 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11871 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11872 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11873 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11874 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11875 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11876 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11877 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11878 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11879 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11880 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11881 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11882 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11883 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11884 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11885 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11886 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11887 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11888 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11889 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11890 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11891 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11892 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11894 2013-01-10 David S. Miller <davem@davemloft.net>
11896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11898 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11900 * posix/Makefile (tests-static): New variable.
11901 (tests): Add $(tests-static).
11902 (tst-exec-static-ARGS): New variable.
11903 (tst-spawn-static-ARGS): Likewise.
11904 * posix/tst-exec-static.c: New file.
11905 * posix/tst-spawn-static.c: Likewise.
11906 * posix/tst-exec.c: Support run directly.
11907 * posix/tst-spawn.c: Likewise.
11909 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11911 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11913 * math/bits/mathcalls.h (llrint): Likewise.
11914 (llround): Likewise.
11915 * stdlib/stdlib.h (struct drand48_data): Likewise.
11916 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11917 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11918 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11920 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11922 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11923 (elf_greg_t): Likewise.
11924 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11925 (__jmp_buf): Likewise.
11926 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11928 (llrint): Likewise, for all definitions.
11929 (llrintl): Likewise.
11931 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11932 Remove [__GNUC__] condition.
11933 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11934 condition to just [__USE_ISOC99].
11935 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11937 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11940 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11941 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11943 (_POSIX_V6_ILP32_OFF32): Likewise.
11944 (_XBS5_ILP32_OFF32): Likewise.
11945 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11946 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11948 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11950 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11953 doubles __mpexp_twomm1. Adjust usage.
11954 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11957 2013-01-10 Andreas Schwab <schwab@suse.de>
11960 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11961 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11963 2013-01-09 David S. Miller <davem@davemloft.net>
11966 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11967 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11968 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11969 TCP_FASTOPEN): Define.
11970 (tcp_repair_opt): New structure.
11971 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11973 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11974 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11975 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11976 (tcp_cookie_transactions): New structure.
11978 2013-01-09 Anton Blanchard <anton@samba.org>
11980 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11981 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11985 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11987 * include/features.h (__USE_ANSI): Remove.
11989 2013-01-09 Roland McGrath <roland@hack.frob.com>
11991 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11993 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11995 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11997 * sysdeps/s390/fpu/libm-test-ulps: Update.
11999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12001 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12005 (denorm): Likewise.
12006 (__mp_dbl): Likewise.
12007 (__dbl_mp): Likewise.
12008 (add_magnitudes): Likewise.
12009 (sub_magnitudes): Likewise.
12015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12019 (denorm): Likewise.
12020 (__mp_dbl): Likewise.
12021 (__dbl_mp): Likewise.
12022 (add_magnitudes): Likewise.
12023 (sub_magnitudes): Likewise.
12029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12033 (denorm): Likewise.
12034 (__mp_dbl): Likewise.
12035 (__dbl_mp): Likewise.
12036 (add_magnitudes): Likewise.
12037 (sub_magnitudes): Likewise.
12044 2013-01-08 Joseph Myers <joseph@codesourcery.com>
12046 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12047 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12048 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12049 2 && __USE_EXTERN_INLINES]: Likewise.
12051 2013-01-08 Andreas Jaeger <aj@suse.de>
12054 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12056 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12057 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12059 2013-01-07 Anton Blanchard <anton@samba.org>
12061 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12062 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12063 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12064 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12065 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12066 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12067 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12068 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12070 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12071 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12072 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12073 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12074 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12075 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12076 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12077 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12079 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12080 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12081 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12082 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12084 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12085 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12086 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12087 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12088 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12090 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12091 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12093 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12094 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12095 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12096 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12097 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12098 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12099 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12102 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12103 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12105 2013-01-07 Joseph Myers <joseph@codesourcery.com>
12107 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12108 (__MALLOC_PMT): Likewise.
12109 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12110 [__GNUC__], only on [_LIBC].
12111 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12112 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12113 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12114 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12115 forward declaration.
12116 (realloc_hook_ini): Likewise.
12117 (memalign_hook_ini): Likewise.
12118 (__libc_memalign): Do not use __MALLOC_PMT in variable
12120 (__libc_valloc): Likewise.
12121 (__libc_pvalloc): Likewise.
12122 (__libc_calloc): Likewise.
12123 (__posix_memalign): Likewise.
12126 * math/s_casinh.c: Include <float.h>.
12127 (__casinh): Do not do computation with squaring and square root
12128 for large arguments.
12129 * math/s_casinhf.c: Include <float.h>.
12130 (__casinhf): Do not do computation with squaring and square root
12131 for large arguments.
12132 * math/s_casinhl.c: Include <float.h>.
12133 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12134 (__casinhl): Do not do computation with squaring and square root
12135 for large arguments.
12136 * math/libm-test.inc (casin_test): Add more tests.
12137 (casinh_test): Likewise.
12138 * sysdeps/i386/fpu/libm-test-ulps: Update.
12139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12141 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12143 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12144 (__x86_64_raw_data_cache_size): Likewise.
12145 (__x86_64_data_cache_size_half): Likewise.
12146 (__x86_64_raw_data_cache_size_half): Likewise.
12147 (__x86_64_shared_cache_size): Likewise.
12148 (__x86_64_raw_shared_cache_size): Likewise.
12149 (__x86_64_shared_cache_size_half): Likewise.
12150 (__x86_64_raw_shared_cache_size_half): Likewise.
12151 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12153 (__x86_data_cache_size): This.
12154 (__x86_64_raw_data_cache_size): Renamed to ...
12155 (__x86_raw_data_cache_size): This.
12156 (__x86_64_data_cache_size_half): Renamed to ...
12157 (__x86_data_cache_size_half): This.
12158 (__x86_64_raw_data_cache_size_half): Renamed to ...
12159 (__x86_raw_data_cache_size_half): This.
12160 (__x86_64_shared_cache_size): Renamed to ...
12161 (__x86_shared_cache_size): This.
12162 (__x86_64_raw_shared_cache_size): Renamed to ...
12163 (__x86_raw_shared_cache_size): This.
12164 (__x86_64_shared_cache_size_half): Renamed to ...
12165 (__x86_shared_cache_size_half): This.
12166 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12167 (__x86_raw_shared_cache_size_half): This.
12168 * sysdeps/x86_64/memcpy.S: Updated.
12169 * sysdeps/x86_64/memset.S: Likewise.
12170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12171 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12172 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12174 2013-01-04 David S. Miller <davem@davemloft.net>
12176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12178 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12180 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12181 1 to avoid redefinition warning.
12182 (__USE_GNU): Don't define.
12183 (init_signaling_nan): Protoize.
12185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12187 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12189 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12191 (__cpymn): Likewise.
12192 (norm): Remove commented code.
12193 (denorm): Likewise.
12194 (__mp_dbl): Likewise.
12196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12197 (__cpymn): Likewise.
12198 (norm): Remove commented code.
12199 (denorm): Likewise.
12200 (__mp_dbl): Likewise.
12203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12204 mp_no value for 1.0 and 2.0.
12205 (norm): Use RADIXI instead of radixi.d.
12206 (denorm): Likewise.
12207 (__mul): Use 0.0 instead of zero.d.
12208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12209 mp_no value for 1.0 and 2.0.
12210 (norm): Use RADIXI instead of radixi.d.
12211 (denorm): Likewise.
12212 (__mul): Use 0.0 instead of zero.d.
12214 2013-01-04 Joseph Myers <joseph@codesourcery.com>
12217 * math/s_casinh.c (__casinh): Reduce finite argument to first
12218 quadrant then set signs of results at the end.
12219 * math/s_casinhf.c (__casinhf): Likewise.
12220 * math/s_casinhl.c (__casinhl): Likewise.
12221 * math/libm-test.inc (casin_test): Add more tests.
12222 (casinh_test): Likewise.
12223 * sysdeps/i386/fpu/libm-test-ulps: Update.
12224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12226 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12228 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12230 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12232 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12234 (denorm): Likewise.
12235 (__mp_dbl): Likewise.
12238 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12239 and adjust the header comment.
12241 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12242 variable name from declaration.
12244 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12247 Initialize COMMON_CPUID_INDEX_7 element.
12248 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12249 (CPUID_RTM): Likewise.
12250 (HAS_RTM): Likewise.
12251 (COMMON_CPUID_INDEX_7): New enum.
12253 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12256 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12257 size is zero, record memory as freed.
12259 2013-01-03 Andreas Jaeger <aj@suse.de>
12261 * po/ia.po: Add new Interlingua translation.
12263 2012-01-03 Allan McRae <allan@archlinux.org>
12265 * locale/programs/localedef.c: Fix description of '--posix' flag.
12267 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12269 * NEWS: Update dates in second copyright notice.
12270 * README: Update copyright dates in example.
12271 * manual/libc.texinfo: Update copyright dates.
12272 * scripts/test-installation.pl: Update copyright date in --version
12275 * hurd/ctty-input.c: Fix copyright notice formatting.
12276 * hurd/ctty-output.c: Likewise.
12277 * hurd/dtable.c: Likewise.
12278 * hurd/hurd-raise.c: Likewise.
12279 * hurd/hurdprio.c: Likewise.
12280 * hurd/msgportdemux.c: Likewise.
12281 * misc/sys/file.h: Likewise.
12282 * misc/sys/ioctl.h: Likewise.
12283 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12284 * sysdeps/mach/hurd/chdir.c: Likewise.
12285 * sysdeps/mach/hurd/fchdir.c: Likewise.
12286 * sysdeps/mach/hurd/rename.c: Likewise.
12287 * sysdeps/mach/hurd/rmdir.c: Likewise.
12288 * sysdeps/mach/hurd/seekdir.c: Likewise.
12289 * sysdeps/mach/hurd/setsid.c: Likewise.
12290 * sysdeps/posix/wait3.c: Likewise.
12292 * All files with FSF copyright notices: Update copyright dates
12293 using scripts/update-copyrights.
12294 * intl/plural.c: Regenerated.
12295 * locale/programs/charmap-kw.h: Likewise.
12296 * locale/programs/locfile-kw.h: Likewise.
12298 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12300 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12303 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12304 calculation loop and add branch prediction.
12306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12307 check access beyond bounds of m1np.
12309 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12311 (__inv): Remove local variable MPTWO to use the global
12313 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12316 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12317 MP3HALFS static const.
12319 2013-01-01 David S. Miller <davem@davemloft.net>
12321 * po/ca.po: Update from translation team.
12323 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12325 * scripts/update-copyrights: New file.
12326 * Makeconfig: Reformat copyright notice.
12327 * ctype/ctype.h: Likewise.
12328 * debug/swprintf_chk.c: Likewise.
12329 * elf/dl-cache.c: Likewise.
12330 * elf/dl-debug.c: Likewise.
12331 * elf/dl-object.c: Likewise.
12332 * grp/initgroups.c: Likewise.
12333 * hurd/Makefile: Likewise.
12334 * hurd/hurd/signal.h: Likewise.
12335 * hurd/hurdfault.c: Likewise.
12336 * hurd/hurdioctl.c: Likewise.
12337 * hurd/hurdlookup.c: Likewise.
12338 * hurd/intr-msg.c: Likewise.
12339 * iconv/gconv_open.c: Likewise.
12340 * libio/swprintf.c: Likewise.
12341 * locale/lc-ctype.c: Likewise.
12342 * locale/nl_langinfo.c: Likewise.
12343 * mach/Machrules: Likewise.
12344 * mach/Makefile: Likewise.
12345 * malloc/obstack.h: Likewise.
12346 * manual/Makefile: Likewise.
12347 * manual/tsort.awk: Likewise.
12348 * misc/bits/stab.def: Likewise.
12349 * nis/nis_print_group_entry.c: Likewise.
12350 * nis/nis_table.c: Likewise.
12351 * nis/nss_compat/compat-pwd.c: Likewise.
12352 * nis/nss_compat/compat-spwd.c: Likewise.
12353 * po/Makefile: Likewise.
12354 * posix/fnmatch.c: Likewise.
12355 * posix/regex.h: Likewise.
12356 * resolv/Makefile: Likewise.
12357 * resolv/nss_dns/dns-network.c: Likewise.
12358 * resolv/res_hconf.c: Likewise.
12359 * scripts/gen-sorted.awk: Likewise.
12360 * soft-fp/soft-fp.h: Likewise.
12361 * stdio-common/printf.h: Likewise.
12362 * stdlib/monetary.h: Likewise.
12363 * stdlib/random.c: Likewise.
12364 * stdlib/random_r.c: Likewise.
12365 * sysdeps/generic/Makefile: Likewise.
12366 * sysdeps/gnu/Makefile: Likewise.
12367 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12369 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12375 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12377 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12378 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12379 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12380 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12381 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12383 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12385 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12387 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12388 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12395 * sysdeps/mach/hurd/errnos.awk: Likewise.
12396 * sysdeps/mach/hurd/fork.c: Likewise.
12397 * sysdeps/mach/hurd/getcwd.c: Likewise.
12398 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12399 * sysdeps/mach/hurd/mmap.c: Likewise.
12400 * sysdeps/mach/hurd/utimes.c: Likewise.
12401 * sysdeps/mach/hurd/xmknod.c: Likewise.
12402 * sysdeps/posix/profil.c: Likewise.
12403 * sysdeps/posix/readdir_r.c: Likewise.
12404 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12405 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12406 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12407 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12409 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12411 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12413 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12414 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12415 * sysdeps/pthread/lio_listio.c: Likewise.
12416 * sysdeps/sparc/dl-procinfo.h: Likewise.
12417 * sysdeps/unix/i386/sysdep.S: Likewise.
12418 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12419 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12420 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12421 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12423 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12424 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12425 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12426 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12427 * sysdeps/wordsize-32/divdi3.c: Likewise.
12428 * time/sys/time.h: Likewise.
12429 * wcsmbs/Makefile: Likewise.
12431 2013-01-01 David S. Miller <davem@davemloft.net>
12433 * po/fr.po: Update from translation team.
12435 * catgets/gencat.c: Update copyright year.
12436 * csu/version.c: Likewise.
12437 * debug/catchsegv.sh: Likewise.
12438 * debug/pcprofiledump.c: Likewise.
12439 * debug/xtrace.sh: Likewise.
12440 * elf/ldconfig.c: Likewise.
12441 * elf/ldd.bash.in: Likewise.
12442 * elf/pldd.c: Likewise.
12443 * elf/sotruss.ksh: Likewise.
12444 * elf/sprof.c: Likewise.
12445 * iconv/iconv_prog.c: Likewise.
12446 * iconv/iconvconfig.c: Likewise.
12447 * locale/programs/locale.c: Likewise.
12448 * locale/programs/localedef.c: Likewise.
12449 * login/programs/pt_chown.c: Likewise.
12450 * malloc/memusage.sh: Likewise.
12451 * malloc/memusagestat.c: Likewise.
12452 * malloc/mtrace.pl: Likewise.
12453 * nscd/nscd.c: Likewise.
12454 * nss/getent.c: Likewise.
12455 * nss/makedb.c: Likewise.
12456 * posix/getconf.c: Likewise.
12458 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12460 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12463 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12465 * math/bits/mathcalls.h (modf): Use __nonnull.
12467 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12469 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12470 (split): Use macro CN instead of the bare value.
12471 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12474 instead of the bare value.
12475 (power1): Likewise.
12477 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12481 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12483 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12485 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12486 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12487 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12488 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12490 2012-12-28 Andreas Jaeger <aj@suse.de>
12492 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12493 values are from Linux 3.7.
12495 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12496 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12498 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12500 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12503 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12505 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12506 variables with preprocessor constants.
12507 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12508 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12509 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12511 2012-12-27 Bruno Haible <bruno@clisp.org>
12514 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12517 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12520 and use variable directly.
12521 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12523 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12525 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12526 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12528 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12530 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12531 include directive. Remove local variable MPONE.
12532 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12533 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12534 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12536 2012-12-25 David S. Miller <davem@davemloft.net>
12538 * version.h (RELEASE): Set to "development".
12539 (VERSION): Set to "2.17.90".
12540 * NEWS: Add 2.18 section.
12542 2012-12-21 David S. Miller <davem@davemloft.net>
12544 * po/hr.po: Update from translation team.
12546 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12548 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12550 2012-12-19 Steve Ellcey <sellcey@mips.com>
12552 * NEWS: Mention new memcpy for MIPS.
12554 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12556 * manual/contrib.texi (Contributors): Spelling correction.
12558 2012-12-15 David S. Miller <davem@davemloft.net>
12560 * po/ru.po: Update from translation team.
12562 2012-12-13 David S. Miller <davem@davemloft.net>
12564 * NEWS: Mention IFUNC testsuite enhancements.
12566 * po/pl.po: Update from translation team.
12567 * po/bg.po: Likewise.
12569 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12570 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12572 2012-12-11 David S. Miller <davem@davemloft.net>
12574 * po/sv.po: Update from translation team.
12576 * po/vi.po: Update from translation team.
12578 * po/cs.po: Update from translation team.
12580 * po/de.po: Update from translation team.
12581 * po/eo.po: Likewise.
12582 * po/nl.po: Likewise.
12584 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12587 * manual/argp.texi (Argp Helper Functions): Move node to follow
12588 Argp Parsing State.
12591 * manual/conf.texi (Limits on File System Capacity): Mention if
12592 terminating null is included in the max size.
12594 2012-12-10 Andreas Jaeger <aj@suse.de>
12596 * po/cs.po: Update from translation team.
12598 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12600 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12601 void pointer and cast to uintptr_t.
12602 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12604 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12605 * sysdeps/s390/s390-64/memset.S: Likewise.
12607 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12610 * menual/message.texi (Message Translation): Fix typos.
12611 (Helper programs for gettext): Likewise.
12613 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12616 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12619 2012-12-07 David S. Miller <davem@davemloft.net>
12621 * po/libc.pot: Update.
12623 2012-12-07 Richard Henderson <rth@redhat.com>
12626 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12627 normal/normal case to before the switch.
12628 (_FP_DIV): Likewise.
12630 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12631 Mike Frysinger <vapier@gentoo.org>
12633 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12634 check for __NR_fadvise64_64.
12636 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12638 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12639 0, not just to plain "0" as a statement.
12640 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12643 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12645 * NEWS: Use sourceware.org in Bugzilla URL.
12647 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12650 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12652 * stdio-common/tst-put-error.c (do_test): Add newline to the
12653 padded test to ensure flush.
12655 2012-12-05 Jeff Law <law@redhat.com>
12657 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12659 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12661 * README: Don't refer to ports add-on as distributed separately.
12662 Mention AArch64 in list of systems supported in the ports add-on.
12664 * LICENSES: Add more non-FSF copyright and license notices.
12666 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12669 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12671 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12672 10000 as width of padded output.
12674 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12676 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12678 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12679 variable LX with __attribute__ ((unused)).
12680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12682 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12685 with __attribute__ ((unused)).
12687 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12689 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12691 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12693 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12694 (CFLAGS-nldbl-acos.c): New variable.
12695 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12696 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12697 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12698 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12699 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12700 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12701 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12702 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12703 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12704 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12705 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12706 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12707 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12708 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12709 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12710 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12711 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12712 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12713 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12714 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12715 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12716 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12717 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12718 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12719 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12720 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12721 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12722 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12723 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12724 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12725 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12726 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12727 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12728 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12729 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12730 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12731 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12732 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12733 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12734 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12735 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12736 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12737 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12738 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12739 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12740 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12741 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12742 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12743 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12744 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12745 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12746 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12747 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12748 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12749 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12750 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12751 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12752 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12753 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12754 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12755 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12756 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12757 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12758 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12759 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12760 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12761 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12762 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12763 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12764 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12765 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12766 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12767 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12768 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12769 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12770 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12771 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12772 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12773 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12774 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12775 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12776 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12777 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12778 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12779 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12780 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12781 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12782 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12783 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12784 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12785 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12786 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12787 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12788 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12789 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12790 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12791 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12794 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12798 whole low double instead of just low 47 bits when splitting values
12801 2012-12-03 Allan McRae <allan@archlinux.org>
12803 * manual/stdio.texi (Predefined Printf Handlers): Remove
12804 @hsep and @vsep usage.
12806 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12808 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12809 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12811 2012-12-03 Jeff Law <law@redhat.com>
12813 * time/sys/time.h (settimeofday): Do not mark TV argument
12816 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12818 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12819 when currently writing and seek to current position when not.
12820 * libio/Makefile (tests): Remove bug-fclose1.
12821 * libio/bug-fclose1.c: Delete.
12823 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12825 * manual/arith.texi (feenableexcept): Fix typo.
12826 (fedisableexcept): Likewise.
12828 2012-11-30 Roland McGrath <roland@hack.frob.com>
12830 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12831 second, differently-typed declaration, rather than a cast.
12833 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12835 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12836 * include/rpc/svc.h: ... here.
12838 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12841 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12842 depending n and resplen2 to catch cases where answer
12845 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12847 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12848 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12850 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12854 2012-11-29 Roland McGrath <roland@hack.frob.com>
12856 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12858 2012-11-28 Jeff Law <law@redhat.com>
12861 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12862 dataset_temporary. Track alloca usage into alloca_used.
12863 If dataset is large allocate and release it via malloc/free.
12865 2012-06-04 Florian Weimer <fweimer@redhat.com>
12868 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12870 2012-11-28 David S. Miller <davem@davemloft.net>
12872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12874 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12877 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12878 of pi/2 rounded to nearest to 64 bits.
12879 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12880 nearest to 64 bits.
12881 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12884 2012-11-28 Jeff Law <law@redhat.com>
12885 Martin Osvald <mosvald@redhat.com>
12888 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12889 * sunrpc/svc.c: Include time.h.
12890 (__svc_accept_failed): New function.
12891 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12892 any reason other than EINTR, call __svc_accept_failed.
12893 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12894 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12896 2012-11-28 Andreas Schwab <schwab@suse.de>
12898 * scripts/abilist.awk: Also handle indirect functions in .opd
12901 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12904 * sysdeps/x86/fpu/powl_helper.c: New file.
12905 * sysdeps/x86/fpu/Makefile: Likewise.
12906 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12908 (__ieee754_powl): Use __powl_helper for finite arguments except
12909 integer exponents below 8.
12910 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12912 (__ieee754_powl): Use __powl_helper for finite arguments except
12913 integer exponents below 8.
12914 * math/libm-test.inc (pow_test): Add more tests and enable some
12915 previously disabled tests.
12916 * sysdeps/i386/fpu/libm-test-ulps: Update.
12917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12919 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12920 Carlos O'Donell <carlos_odonell@mentor.com>
12922 * nss/makedb.c (is_prime): Assert that input is odd and greater
12923 than 4. Note that fact in a comment too.
12924 (next_prime): Add 4 to input.
12926 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12929 * libio/Makefile (tests): Add test case tst-fwrite-error.
12930 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12931 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12932 * libio/tst-fwrite-error.c: New test case.
12934 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12936 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12937 before casting to void *.
12938 * include/libc-internal.h (__pointer_type): New macro.
12939 (__integer_if_pointer_type_sub): Likewise.
12940 (__integer_if_pointer_type): Likewise.
12941 (cast_to_integer): Likewise.
12942 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12943 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12944 before casting to atomic64_t.
12945 (atomic_exchange_acq): Likewise.
12946 (__arch_exchange_and_add_body): Likewise.
12947 (__arch_add_body): Likewise.
12948 (atomic_add_negative): Likewise.
12949 (atomic_add_zero): Likewise.
12951 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12953 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12954 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12955 (add_fdes): Likewise.
12956 (linear_search_fdes): Likewise.
12957 (binary_search_unencoded_fdes): Likewise.
12959 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12961 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12963 2012-11-24 Adam Conrad <adconrad@0c3.net>
12965 * configure.in: Autodetect C++ header directories.
12966 * configure: Regenerated.
12968 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12970 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12972 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12976 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12978 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12979 LDBL_MANT_DIG == 106]: Disable some tests.
12980 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12982 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12986 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12987 input for small inputs. Return +/- pi/2 for large inputs.
12988 * math/libm-test.inc (atan_test): Add more tests.
12990 * sysdeps/generic/unwind-dw2-fde-glibc.c
12991 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12992 __attribute__ ((unused)).
12995 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12996 x * y if x and y are nonzero and z is zero.
12999 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13000 nonzero exponents with absolute value below 0x1p-117 to +/-
13004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13005 up arguments below 2**-450, not just those below 2**-500.
13006 * math/libm-test.inc (hypot_test): Add another test.
13009 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13010 Return a+b for ratio over 2**120, not 2**60.
13011 * math/libm-test.inc (hypot_test): Add another test.
13013 * math/libm-test.inc (clog_test): Use
13014 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13015 (clog10_test): Likewise.
13018 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13020 2012-11-22 Andreas Schwab <schwab@suse.de>
13022 * sysdeps/i386/fpu/libm-test-ulps: Update.
13024 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13026 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13027 printf output with newline.
13029 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13032 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13033 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13034 -z nodlopen, -z initfirst and -z execstack support.
13035 * configure: Regenerated.
13037 * elf/elf.h (DF_1_NODIRECT): New macro.
13038 (DF_1_IGNMULDEF): Likewise.
13039 (DF_1_NOKSYMS): Likewise.
13040 (DF_1_NOHDR): Likewise.
13041 (DF_1_EDITED): Likewise.
13042 (DF_1_NORELOC): Likewise.
13043 (DF_1_SYMINTPOSE): Likewise.
13044 (DF_1_GLOBAUDIT): Likewise.
13045 (DF_1_SINGLETON): Likewise.
13046 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13047 DT_1_SUPPORTED_MASK bits.
13048 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13050 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13052 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13054 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13056 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13059 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13060 (sendmmsg): Move declarations...
13061 * socket/sys/socket.h: ... here.
13062 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13063 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13065 * socket/recvmmsg.c: ... this new file.
13066 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13067 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13068 definition of __sendmmsg hidden.
13069 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13070 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13071 Move ENOSYS stub into and include it from...
13072 * socket/sendmmsg.c: ... this new file.
13073 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13074 (sysdep_routines): Move recvmmsg and sendmmsg...
13075 * socket/Makefile (routines): ... here.
13076 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13077 (GLIBC_PRIVATE): Add __sendmmsg.
13078 * include/sys/socket.h (__sendmmsg): Add declarations.
13079 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13082 2012-11-20 Joseph Myers <joseph@codesourcery.com>
13084 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13085 variable I1 with __attribute__ ((unused)).
13086 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13088 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13090 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13091 DUMMY variables with __attribute__ ((unused)).
13093 * bits/byteswap.h: Include <bits/types.h>.
13094 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13096 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13098 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13099 string_t. Do not manually set errno.
13100 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13101 length with __strnlen. Make sure to both set errno and return it on
13104 2012-11-19 David S. Miller <davem@davemloft.net>
13106 With help from Joseph Myers.
13107 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13108 very large arguments properly.
13109 * math/libm-test.inc (atan_test): New tests.
13110 (atan2_test): New tests.
13111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13114 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13117 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13120 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13121 [POSIX] (EADDRNOTAVAIL): Likewise.
13122 [POSIX] (EAFNOSUPPORT): Likewise.
13123 [POSIX] (EALREADY): Likewise.
13124 [POSIX] (ECONNABORTED): Likewise.
13125 [POSIX] (ECONNREFUSED): Likewise.
13126 [POSIX] (ECONNRESET): Likewise.
13127 [POSIX] (EDESTADDRREQ): Likewise.
13128 [POSIX] (EDQUOT): Likewise.
13129 [POSIX] (EHOSTUNREACH): Likewise.
13130 [POSIX] (EIDRM): Likewise.
13131 [POSIX] (EISCONN): Likewise.
13132 [POSIX] (ELOOP): Likewise.
13133 [POSIX] (EMULTIHOP): Likewise.
13134 [POSIX] (ENETDOWN): Likewise.
13135 [POSIX] (ENETUNREACH): Likewise.
13136 [POSIX] (ENOBUFS): Likewise.
13137 [POSIX] (ENODATA): Likewise.
13138 [POSIX] (ENOLINK): Likewise.
13139 [POSIX] (ENOMSG): Likewise.
13140 [POSIX] (ENOPROTOOPT): Likewise.
13141 [POSIX] (ENOSR): Likewise.
13142 [POSIX] (ENOSTR): Likewise.
13143 [POSIX] (ENOTCONN): Likewise.
13144 [POSIX] (ENOTSOCK): Likewise.
13145 [POSIX] (EOPNOTSUPP): Likewise.
13146 [POSIX] (EOVERFLOW): Likewise.
13147 [POSIX] (EPROTO): Likewise.
13148 [POSIX] (EPROTONOSUPPORT): Likewise.
13149 [POSIX] (EPROTOTYPE): Likewise.
13150 [POSIX] (ESTALE): Likewise.
13151 [POSIX] (ETIME): Likewise.
13152 [POSIX] (ETXTBSY): Likewise.
13153 [POSIX] (EWOULDBLOCK): Likewise.
13154 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13155 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13156 [POSIX] (SEEK_CUR): Likewise.
13157 [POSIX] (SEEK_END): Likewise.
13158 [POSIX || UNIX98] (mode_t): Do not require.
13159 [POSIX] (off_t): Likewise.
13160 [POSIX] (pid_t): Likewise.
13161 [POSIX] (sys/stat.h): Do not allow header.
13162 [POSIX] (unistd.h): Likewise.
13163 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13164 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13165 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13166 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13168 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13169 sigevent): Specify elements.
13170 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13172 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13173 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13175 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13176 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13177 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13178 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13179 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13180 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13181 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13182 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13183 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13184 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13185 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13186 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13187 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13188 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13190 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13192 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13194 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13196 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13197 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13198 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13199 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13200 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13201 Specify lower bound on value.
13202 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13203 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13204 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13205 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13206 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13207 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13208 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13209 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13211 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13213 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13214 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13215 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13216 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13217 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13218 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13219 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13220 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13221 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13222 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13223 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13224 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13225 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13226 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13227 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13228 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13230 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13232 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13233 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13234 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13235 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13236 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13237 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13239 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13240 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13241 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13242 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13243 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13244 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13245 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13247 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13248 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13249 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13250 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13251 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13252 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13253 specify as optional.
13254 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13255 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13256 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13257 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13258 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13259 [XPG3] (NL_LANGMAX): Likewise.
13260 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13261 [POSIX || XPG3] (NL_NMAX): Likewise.
13262 [POSIX || XPG3] (NL_SETMAX): Likewise.
13263 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13264 [XPG3] (NZERO): Likewise.
13265 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13266 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13267 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13268 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13269 (REG_ERANGE): Expect.
13270 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13272 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13273 Use (void) in prototype.
13274 [POSIX] (*_t): Allow.
13275 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13276 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13277 (WRDE_BADVAL): Expect.
13279 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13281 [XPG3 || XPG4] (O_RSYNC): Likewise.
13282 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13284 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13285 [XPG3 || XPG4] (sigqueue): Likewise.
13286 [XPG3 || XPG4] (sigtimedwait): Likewise.
13287 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13288 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13289 [XPG3 || XPG4] (vsnprintf): Likewise.
13290 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13292 [XPG3 || XPG4] (blksize_t): Likewise.
13293 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13295 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13296 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13297 [XPG3 || XPG4] (struct itimerspec): Likewise.
13298 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13299 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13300 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13301 [XPG3 || XPG4] (clockid_t): Likewise.
13302 [XPG3 || XPG4] (timer_t): Likewise.
13303 [XPG3 || XPG4] (clock_getres): Likewise.
13304 [XPG3 || XPG4] (clock_gettime): Likewise.
13305 [XPG3 || XPG4] (clock_settime): Likewise.
13306 [XPG3 || XPG4] (nanosleep): Likewise.
13307 [XPG3 || XPG4] (timer_create): Likewise.
13308 [XPG3 || XPG4] (timer_delete): Likewise.
13309 [XPG3 || XPG4] (timer_gettime): Likewise.
13310 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13311 [XPG3 || XPG4] (timer_settime): Likewise.
13312 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13313 [XPG3 || XPG4] (getlogin_r): Likewise.
13314 [XPG3 || XPG4] (pread): Likewise.
13315 [XPG3 || XPG4] (pthread_atfork): Likewise.
13316 [XPG3 || XPG4] (pwrite): Likewise.
13319 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13322 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13324 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13325 finalizing MALLSTREAM.
13327 * sysdeps/mach/hurd/syncfs.c: New file.
13329 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13332 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13333 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13334 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13335 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13336 (_nss_dns_gethostbyname4_r): Likewise.
13337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13338 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13340 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13343 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13345 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13347 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13348 * elf/cache.c (print_entry): Print ",AArch64" for
13351 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13352 * elf/cache.c (print_entry): Print ",hard-float" for
13355 2012-11-18 David S. Miller <davem@davemloft.net>
13357 With help from Joseph Myers.
13358 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13360 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13362 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13363 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13365 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13366 * math/libm-test.inc (y0_test): New tests.
13367 (y1_test): New tests.
13368 * sysdeps/i386/fpu/libm-test-ulps: Update.
13369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13372 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13374 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13376 * configure: Regenerated.
13378 2012-11-17 David S. Miller <davem@davemloft.net>
13381 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13382 nonzero exponents with absolute value below 0x1p-128 to +/-
13385 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13387 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13389 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13391 * posix/getconf-speclist.c: New file.
13392 * posix/posix-envs.def: Likewise.
13393 * posix/confstr.c (START_ENV_GROUP): New macro.
13394 (END_ENV_GROUP): Likewise.
13395 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13396 (KNOWN_PRESENT_ENV_STRING): Likewise.
13397 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13398 (UNKNOWN_ENVIRONMENT): Likewise.
13399 (confstr): Include posix-envs.def instead of handling
13400 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13401 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13402 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13403 (END_ENV_GROUP): Likewise.
13404 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13405 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13406 (UNKNOWN_ENVIRONMENT): Likewise.
13407 (__sysconf): Include posix-envs.def instead of handling associated
13408 cases directly here.
13409 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13410 preprocessing getconf-speclist.c rather than running getconf or
13411 generating empty file.
13413 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13415 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13417 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13420 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13422 2012-11-16 David S. Miller <davem@davemloft.net>
13424 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13425 smaller than LDBL_EPSILON/2.0L, just return xm1.
13427 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13429 * elf/tst-array1.c (init): Set constructor priority to 1000.
13430 (fini): Set destructor priority to 1000.
13431 * elf/tst-array2dep.c: Likewise.
13433 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13436 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13437 (_IO_new_file_xsputn): Also return EOF if none of the input
13438 data was written when overflow failed.
13439 * libio/iopadn.c (_IO_padn): Likewise.
13440 * libio/iowpadn.c (_IO_wpadn): Likewise.
13441 * stdio-common/tst-put-error.c: Add copyright notice.
13442 (do_test): Add case for printing padded string.
13443 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13444 _IO_padn returned error.
13445 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13446 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13449 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13451 * libio/libioP.h: Add comment note that the references to C++
13452 bits are now obsolete.
13454 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13456 * math/libm-test.inc (check_complex): Use asprintf.
13458 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13460 * debug/pcprofiledump.c (print_version): Update copyright year.
13461 * malloc/memusagestat.c (print_version): Likewise.
13463 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13466 * elf/Makefile (tests): Add tst-audit8.
13467 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13468 ($(objpfx)tst-audit8.out): New target.
13469 (tst-audit8-ENV): New variable.
13470 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13471 audit if l_reloc_result is NULL.
13472 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13473 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13474 * elf/tst-audit8.c: New file.
13476 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13478 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13479 * misc/Makefile (CFLAGS-select.c): Define.
13480 * posix/Makefile (CFLAGS-pause.c): Define.
13482 2012-11-13 David S. Miller <davem@davemloft.net>
13484 * crypt/Makefile: Move test targets after toplevel Rules
13485 inclusion. Grab any necessary sysdep routines when linking.
13486 * crypt/md5.c (md5_process_block): Remove define, we will always
13487 name it __md5_process_block.
13488 (md5_finish_ctx): Update md5_process_block call.
13489 (md5_stream): Likewise.
13490 (md5_process_bytes): Likewise.
13491 (md5_process_block): Rename to __md5_process_block and move to ...
13492 * crypt/md5-block.c: ... here.
13493 * crypt/sha256.c (sha256_process_block): Move to ...
13494 * crypt/sha256-block.c: ... here.
13495 * crypt/sha512.c (sha512_process_block): Move to ...
13496 * crypt/sha512-block.c: ... here.
13497 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13499 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13500 * sysdeps/sparc/sparc64/multiarch/Makefile
13501 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13503 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13504 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13506 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13507 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13508 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13509 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13510 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13511 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13512 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13513 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13514 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13516 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13517 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13519 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13521 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13523 * timezone/tzselect.ksh: Update from tzcode git revision
13524 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13525 * timezone/zdump.c: Likewise.
13526 * timezone/zic.c: Likewise.
13527 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13528 in TZVERSION setting, not $(PKGVERSION).
13529 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13530 REPORT_BUGS_TO settings.
13533 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13536 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13538 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13539 detection to immediately after _FP_ROUND().
13540 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13543 2012-11-11 David S. Miller <davem@davemloft.net>
13545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13547 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13548 __close rather than their public counterparts.
13550 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13552 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13554 [UNIX98] (sem_timedwait): Do not expect.
13555 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13556 [XPG4 || UNIX98] (sockatmark): Do not expect.
13557 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13558 (clock_getcpuclockid): Do not expect.
13559 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13560 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13562 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13563 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13564 [UNIX98] (vwscanf): Likewise.
13565 [UNIX98] (vswscanf): Likewise.
13567 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13569 * timezone/version.h: Remove file.
13570 * timezone/README: Do not refer to version.h.
13571 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13572 $(objpfx)version.h.
13573 ($(objpfx)zdump.o): Likewise.
13574 ($(objpfx)version.h): New target.
13576 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13578 * timezone/README: Don't mention modification to tzselect.ksh.
13579 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13580 work on unmodified tzselect.ksh. Substitute version numbers in
13583 * Makefile (format-me): Remove.
13584 (INSTALL): Adjust indentation. Use commands directly instead of
13585 using $(format-me).
13587 * aclocal.m4 (ACX_PKGVERSION): New macro.
13588 (ACX_BUGURL): Likewise.
13589 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13590 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13591 (REPORT_BUGS_TO): Likewise.
13592 * configure: Regenerated.
13593 * config.h.in (PKGVERSION): New macro.
13594 (REPORT_BUGS_TO): Likewise.
13595 * config.make.in (PKGVERSION): New variable.
13596 (PKGVERSION_TEXI): Likewise.
13597 (REPORT_BUGS_TO): Likewise.
13598 (REPORT_BUGS_TEXI): Likewise.
13599 * Makefile (format-me): Use -I$(common-objpfx)manual.
13600 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13601 ($(common-objpfx)manual/%): New target.
13602 (manual/%): Remove target.
13603 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13604 (print_version): Use PKGVERSION.
13605 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13606 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13607 and REPORT_BUGS_TO.
13608 ($(objpfx)xtrace): Likewise.
13609 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13610 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13611 (print_version): Use PKGVERSION.
13612 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13613 (do_version): Use PKGVERSION.
13614 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13616 (common-ldd-rewrite): Likewise.
13617 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13618 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13619 (print_version): Use PKGVERSION.
13620 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13621 * elf/pldd.c (argp_program_bug_address): Remove variable.
13622 (more_help): New function.
13623 (argp): Use more_help.
13624 (print_version): Use PKGVERSION.
13625 * elf/sln.c (main): Use PKGVERSION.
13626 (usage): Use REPORT_BUGS_TO.
13627 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13628 (top level): Use PKGVERSION.
13629 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13630 (print_version): Use PKGVERSION.
13631 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13632 (print_version): Use PKGVERSION.
13633 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13634 (print_version): Use PKGVERSION.
13635 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13636 (print_version): Use PKGVERSION.
13637 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13638 (print_version): Use PKGVERSION.
13639 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13640 (print_version): Use PKGVERSION.
13641 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13643 ($(objpfx)memusage): Likewise.
13644 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13645 (do_version): Use PKGVERSION.
13646 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13647 (print_version): Use PKGVERSION.
13648 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13649 ($PKGVERSION): New variable.
13650 ($REPORT_BUGS_TO): Likewise.
13651 (usage): Use $REPORT_BUGS_TO.
13652 (top level): Use $PKGVERSION.
13653 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13654 ($(objpfx)pkgvers.texi): New rule.
13655 ($(objpfx)stamp-pkgvers): Likewise.
13656 * manual/install.texi: Include pkgvers.texi.
13657 (--with-pkgversion): Document new configure option.
13658 (--with-bugurl): Likewise.
13659 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13660 than necessarily for this particular distribution. Use
13661 REPORT_BUGS_TO for where to report bugs.
13662 * INSTALL: Regenerated.
13663 * manual/libc.texinfo: Include pkgvers.texi.
13664 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13665 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13666 (print_version): Use PKGVERSION.
13667 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13668 (print_version): Use PKGVERSION.
13669 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13670 (print_version): Use PKGVERSION.
13671 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13672 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13674 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13675 (print_version): Use PKGVERSION.
13676 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13677 (print_version): Use PKGVERSION.
13678 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13681 * timezone/checktab.awk: Update from tzcode 2012i.
13682 * timezone/ialloc.c: Likewise.
13683 * timezone/private.h: Likewise.
13684 * timezone/scheck.c: Likewise.
13685 * timezone/tzfile.h: Likewise.
13686 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13687 (TZVERSION): Hardcode tzcode version number.
13688 * timezone/zdump.c: Update from tzcode 2012i.
13689 * timezone/zic.c: Likewise.
13690 * timezone/version.h: New file.
13691 * timezone/README: Describe version.h. Update upstream location.
13694 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13695 (mktemp): Enable declaration.
13696 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13698 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13701 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13703 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13709 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13713 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13714 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13715 for copies of such integer values.
13716 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13717 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13719 2012-11-09 Andreas Jaeger <aj@suse.de>
13721 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13722 definitions and declarations that are provided by
13723 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13725 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13727 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13728 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13729 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13732 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13734 * elf/elf.h: Update comment before AArch64 relocations.
13736 2012-11-07 David S. Miller <davem@davemloft.net>
13738 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13739 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13740 (__start_context): Declare.
13741 (__makecontext_ret): Delete.
13742 (__makecontext): Hook up __start_context instead of
13744 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13745 (sysdep_routines): Add __start_context when in stdlib.
13747 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13749 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13750 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13751 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13753 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13754 (READELF): New variable. Use it instead of hardcoded "readelf".
13756 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13758 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13759 * sysdeps/x86/Makefile: Here.
13760 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13761 * sysdeps/x86/tst-xmmymm.sh: This.
13763 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13765 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13767 [UNIX98] (pthread_barrier_t): Do not expect.
13768 [UNIX98] (pthread_barrierattr_t): Likewise.
13769 [UNIX98] (pthread_spinlock_t): Likewise.
13770 [UNIX98] (pthread_barrier_destroy): Likewise.
13771 [UNIX98] (pthread_barrier_init): Likewise.
13772 [UNIX98] (pthread_barrier_wait): Likewise.
13773 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13774 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13775 [UNIX98] (pthread_barrierattr_init): Likewise.
13776 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13777 [UNIX98] (pthread_getcpuclockid): Likewise.
13778 [UNIX98] (pthread_mutex_timedlock): Likewise.
13779 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13780 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13781 [UNIX98] (pthread_sigmask): Likewise.
13782 [UNIX98] (pthread_spin_destroy): Likewise.
13783 [UNIX98] (pthread_spin_init): Likewise.
13784 [UNIX98] (pthread_spin_lock): Likewise.
13785 [UNIX98] (pthread_spin_trylock): Likewise.
13786 [UNIX98] (pthread_spin_unlock): Likewise.
13787 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13789 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13791 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13792 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13793 [XPG3 || XPG4] (pthread_key_t): Likewise.
13794 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13795 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13796 [XPG3 || XPG4] (pthread_once_t): Likewise.
13797 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13798 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13800 [XPG3 || XPG4] (pthread_t): Likewise.
13802 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13804 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13806 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13807 Change function return type to int.
13809 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13810 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13811 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13812 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13813 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13814 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13815 [!POSIX] (posix_madvise): Likewise.
13816 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13818 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13819 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13820 (mode_t): Likewise.
13821 (posix_mem_offset): Likewise.
13822 (posix_typed_mem_get_info): Likewise.
13823 (posix_typed_mem_open): Likewise.
13825 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13826 Change condition to [XOPEN2K8].
13828 * conform/conformtest.pl: Preprocess allow-header data with -x c
13829 instead of from stdin.
13830 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13831 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13832 [C99-based standards] (cerfc): Likewise.
13833 [C99-based standards] (cexp2): Likewise.
13834 [C99-based standards] (cexpm1): Likewise.
13835 [C99-based standards] (clog10): Likewise.
13836 [C99-based standards] (clog1p): Likewise.
13837 [C99-based standards] (clog2): Likewise.
13838 [C99-based standards] (clgamma): Likewise.
13839 [C99-based standards] (ctgamma): Likewise.
13840 [C99-based standards] (cerff): Likewise.
13841 [C99-based standards] (cerfcf): Likewise.
13842 [C99-based standards] (cexp2f): Likewise.
13843 [C99-based standards] (cexpm1f): Likewise.
13844 [C99-based standards] (clog10f): Likewise.
13845 [C99-based standards] (clog1pf): Likewise.
13846 [C99-based standards] (clog2f): Likewise.
13847 [C99-based standards] (clgammaf): Likewise.
13848 [C99-based standards] (ctgammaf): Likewise.
13849 [C99-based standards] (cerfl): Likewise.
13850 [C99-based standards] (cerfcl): Likewise.
13851 [C99-based standards] (cexp2l): Likewise.
13852 [C99-based standards] (cexpm1l): Likewise.
13853 [C99-based standards] (clog10l): Likewise.
13854 [C99-based standards] (clog1pl): Likewise.
13855 [C99-based standards] (clog2l): Likewise.
13856 [C99-based standards] (clgammal): Likewise.
13857 [C99-based standards] (ctgammal): Likewise.
13858 * conform/data/inttypes.h-data [C99-based standards]: Include
13859 stdint.h-data. Remove all expectations for stdint.h contents.
13860 [C99-based standards] (PRI*): Do not allow.
13861 [C99-based standards] (SCN*): Likewise.
13862 [C99-based standards] (*_t): Likewise.
13863 [C99-based-standards] (PRId8): Expect macro.
13864 [C99-based-standards] (PRIi8): Likewise.
13865 [C99-based-standards] (PRIo8): Likewise.
13866 [C99-based-standards] (PRIu8): Likewise.
13867 [C99-based-standards] (PRIx8): Likewise.
13868 [C99-based-standards] (PRIX8): Likewise.
13869 [C99-based-standards] (SCNd8): Likewise.
13870 [C99-based-standards] (SCNi8): Likewise.
13871 [C99-based-standards] (SCNo8): Likewise.
13872 [C99-based-standards] (SCNu8): Likewise.
13873 [C99-based-standards] (SCNx8): Likewise.
13874 [C99-based-standards] (PRIdLEAST8): Likewise.
13875 [C99-based-standards] (PRIiLEAST8): Likewise.
13876 [C99-based-standards] (PRIoLEAST8): Likewise.
13877 [C99-based-standards] (PRIuLEAST8): Likewise.
13878 [C99-based-standards] (PRIxLEAST8): Likewise.
13879 [C99-based-standards] (PRIXLEAST8): Likewise.
13880 [C99-based-standards] (SCNdLEAST8): Likewise.
13881 [C99-based-standards] (SCNiLEAST8): Likewise.
13882 [C99-based-standards] (SCNoLEAST8): Likewise.
13883 [C99-based-standards] (SCNuLEAST8): Likewise.
13884 [C99-based-standards] (SCNxLEAST8): Likewise.
13885 [C99-based-standards] (PRIdFAST8): Likewise.
13886 [C99-based-standards] (PRIiFAST8): Likewise.
13887 [C99-based-standards] (PRIoFAST8): Likewise.
13888 [C99-based-standards] (PRIuFAST8): Likewise.
13889 [C99-based-standards] (PRIxFAST8): Likewise.
13890 [C99-based-standards] (PRIXFAST8): Likewise.
13891 [C99-based-standards] (SCNdFAST8): Likewise.
13892 [C99-based-standards] (SCNiFAST8): Likewise.
13893 [C99-based-standards] (SCNoFAST8): Likewise.
13894 [C99-based-standards] (SCNuFAST8): Likewise.
13895 [C99-based-standards] (SCNxFAST8): Likewise.
13896 [C99-based-standards] (PRId16): Likewise.
13897 [C99-based-standards] (PRIi16): Likewise.
13898 [C99-based-standards] (PRIo16): Likewise.
13899 [C99-based-standards] (PRIu16): Likewise.
13900 [C99-based-standards] (PRIx16): Likewise.
13901 [C99-based-standards] (PRIX16): Likewise.
13902 [C99-based-standards] (SCNd16): Likewise.
13903 [C99-based-standards] (SCNi16): Likewise.
13904 [C99-based-standards] (SCNo16): Likewise.
13905 [C99-based-standards] (SCNu16): Likewise.
13906 [C99-based-standards] (SCNx16): Likewise.
13907 [C99-based-standards] (PRIdLEAST16): Likewise.
13908 [C99-based-standards] (PRIiLEAST16): Likewise.
13909 [C99-based-standards] (PRIoLEAST16): Likewise.
13910 [C99-based-standards] (PRIuLEAST16): Likewise.
13911 [C99-based-standards] (PRIxLEAST16): Likewise.
13912 [C99-based-standards] (PRIXLEAST16): Likewise.
13913 [C99-based-standards] (SCNdLEAST16): Likewise.
13914 [C99-based-standards] (SCNiLEAST16): Likewise.
13915 [C99-based-standards] (SCNoLEAST16): Likewise.
13916 [C99-based-standards] (SCNuLEAST16): Likewise.
13917 [C99-based-standards] (SCNxLEAST16): Likewise.
13918 [C99-based-standards] (PRIdFAST16): Likewise.
13919 [C99-based-standards] (PRIiFAST16): Likewise.
13920 [C99-based-standards] (PRIoFAST16): Likewise.
13921 [C99-based-standards] (PRIuFAST16): Likewise.
13922 [C99-based-standards] (PRIxFAST16): Likewise.
13923 [C99-based-standards] (PRIXFAST16): Likewise.
13924 [C99-based-standards] (SCNdFAST16): Likewise.
13925 [C99-based-standards] (SCNiFAST16): Likewise.
13926 [C99-based-standards] (SCNoFAST16): Likewise.
13927 [C99-based-standards] (SCNuFAST16): Likewise.
13928 [C99-based-standards] (SCNxFAST16): Likewise.
13929 [C99-based-standards] (PRId32): Likewise.
13930 [C99-based-standards] (PRIi32): Likewise.
13931 [C99-based-standards] (PRIo32): Likewise.
13932 [C99-based-standards] (PRIu32): Likewise.
13933 [C99-based-standards] (PRIx32): Likewise.
13934 [C99-based-standards] (PRIX32): Likewise.
13935 [C99-based-standards] (SCNd32): Likewise.
13936 [C99-based-standards] (SCNi32): Likewise.
13937 [C99-based-standards] (SCNo32): Likewise.
13938 [C99-based-standards] (SCNu32): Likewise.
13939 [C99-based-standards] (SCNx32): Likewise.
13940 [C99-based-standards] (PRIdLEAST32): Likewise.
13941 [C99-based-standards] (PRIiLEAST32): Likewise.
13942 [C99-based-standards] (PRIoLEAST32): Likewise.
13943 [C99-based-standards] (PRIuLEAST32): Likewise.
13944 [C99-based-standards] (PRIxLEAST32): Likewise.
13945 [C99-based-standards] (PRIXLEAST32): Likewise.
13946 [C99-based-standards] (SCNdLEAST32): Likewise.
13947 [C99-based-standards] (SCNiLEAST32): Likewise.
13948 [C99-based-standards] (SCNoLEAST32): Likewise.
13949 [C99-based-standards] (SCNuLEAST32): Likewise.
13950 [C99-based-standards] (SCNxLEAST32): Likewise.
13951 [C99-based-standards] (PRIdFAST32): Likewise.
13952 [C99-based-standards] (PRIiFAST32): Likewise.
13953 [C99-based-standards] (PRIoFAST32): Likewise.
13954 [C99-based-standards] (PRIuFAST32): Likewise.
13955 [C99-based-standards] (PRIxFAST32): Likewise.
13956 [C99-based-standards] (PRIXFAST32): Likewise.
13957 [C99-based-standards] (SCNdFAST32): Likewise.
13958 [C99-based-standards] (SCNiFAST32): Likewise.
13959 [C99-based-standards] (SCNoFAST32): Likewise.
13960 [C99-based-standards] (SCNuFAST32): Likewise.
13961 [C99-based-standards] (SCNxFAST32): Likewise.
13962 [C99-based-standards] (PRId64): Likewise.
13963 [C99-based-standards] (PRIi64): Likewise.
13964 [C99-based-standards] (PRIo64): Likewise.
13965 [C99-based-standards] (PRIu64): Likewise.
13966 [C99-based-standards] (PRIx64): Likewise.
13967 [C99-based-standards] (PRIX64): Likewise.
13968 [C99-based-standards] (SCNd64): Likewise.
13969 [C99-based-standards] (SCNi64): Likewise.
13970 [C99-based-standards] (SCNo64): Likewise.
13971 [C99-based-standards] (SCNu64): Likewise.
13972 [C99-based-standards] (SCNx64): Likewise.
13973 [C99-based-standards] (PRIdLEAST64): Likewise.
13974 [C99-based-standards] (PRIiLEAST64): Likewise.
13975 [C99-based-standards] (PRIoLEAST64): Likewise.
13976 [C99-based-standards] (PRIuLEAST64): Likewise.
13977 [C99-based-standards] (PRIxLEAST64): Likewise.
13978 [C99-based-standards] (PRIXLEAST64): Likewise.
13979 [C99-based-standards] (SCNdLEAST64): Likewise.
13980 [C99-based-standards] (SCNiLEAST64): Likewise.
13981 [C99-based-standards] (SCNoLEAST64): Likewise.
13982 [C99-based-standards] (SCNuLEAST64): Likewise.
13983 [C99-based-standards] (SCNxLEAST64): Likewise.
13984 [C99-based-standards] (PRIdFAST64): Likewise.
13985 [C99-based-standards] (PRIiFAST64): Likewise.
13986 [C99-based-standards] (PRIoFAST64): Likewise.
13987 [C99-based-standards] (PRIuFAST64): Likewise.
13988 [C99-based-standards] (PRIxFAST64): Likewise.
13989 [C99-based-standards] (PRIXFAST64): Likewise.
13990 [C99-based-standards] (SCNdFAST64): Likewise.
13991 [C99-based-standards] (SCNiFAST64): Likewise.
13992 [C99-based-standards] (SCNoFAST64): Likewise.
13993 [C99-based-standards] (SCNuFAST64): Likewise.
13994 [C99-based-standards] (SCNxFAST64): Likewise.
13995 [C99-based-standards] (PRIdMAX): Likewise.
13996 [C99-based-standards] (PRIiMAX): Likewise.
13997 [C99-based-standards] (PRIoMAX): Likewise.
13998 [C99-based-standards] (PRIuMAX): Likewise.
13999 [C99-based-standards] (PRIxMAX): Likewise.
14000 [C99-based-standards] (PRIXMAX): Likewise.
14001 [C99-based-standards] (SCNdMAX): Likewise.
14002 [C99-based-standards] (SCNiMAX): Likewise.
14003 [C99-based-standards] (SCNoMAX): Likewise.
14004 [C99-based-standards] (SCNuMAX): Likewise.
14005 [C99-based-standards] (SCNxMAX): Likewise.
14006 [C99-based-standards] (PRIdPTR): Likewise.
14007 [C99-based-standards] (PRIiPTR): Likewise.
14008 [C99-based-standards] (PRIoPTR): Likewise.
14009 [C99-based-standards] (PRIuPTR): Likewise.
14010 [C99-based-standards] (PRIxPTR): Likewise.
14011 [C99-based-standards] (PRIXPTR): Likewise.
14012 [C99-based-standards] (SCNdPTR): Likewise.
14013 [C99-based-standards] (SCNiPTR): Likewise.
14014 [C99-based-standards] (SCNoPTR): Likewise.
14015 [C99-based-standards] (SCNuPTR): Likewise.
14016 [C99-based-standards] (SCNxPTR): Likewise.
14017 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14019 * conform/data/stdint.h-data: Update comments to clarify
14021 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14023 [C99-based standards] (INT8_MAX): Likewise.
14024 [C99-based standards] (INT16_MIN): Likewise.
14025 [C99-based standards] (INT16_MAX): Likewise.
14026 [C99-based standards] (INT32_MIN): Likewise.
14027 [C99-based standards] (INT32_MAX): Likewise.
14028 [C99-based standards] (INT64_MIN): Likewise.
14029 [C99-based standards] (INT64_MAX): Likewise.
14030 [C99-based standards] (UINT8_MAX): Likewise.
14031 [C99-based standards] (UINT16_MAX): Likewise.
14032 [C99-based standards] (UINT32_MAX): Likewise.
14033 [C99-based standards] (UINT64_MAX): Likewise.
14034 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14035 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14036 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14037 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14038 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14039 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14040 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14041 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14042 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14043 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14044 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14045 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14046 [C99-based standards] (INT_FAST8_MIN): Likewise.
14047 [C99-based standards] (INT_FAST8_MAX): Likewise.
14048 [C99-based standards] (INT_FAST16_MIN): Likewise.
14049 [C99-based standards] (INT_FAST16_MAX): Likewise.
14050 [C99-based standards] (INT_FAST32_MIN): Likewise.
14051 [C99-based standards] (INT_FAST32_MAX): Likewise.
14052 [C99-based standards] (INT_FAST64_MIN): Likewise.
14053 [C99-based standards] (INT_FAST64_MAX): Likewise.
14054 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14055 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14056 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14057 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14058 [C99-based standards] (INTPTR_MIN): Likewise.
14059 [C99-based standards] (INTPTR_MAX): Likewise.
14060 [C99-based standards] (UINTPTR_MAX): Likewise.
14061 [C99-based standards] (INTMAX_MIN): Likewise.
14062 [C99-based standards] (INTMAX_MAX): Likewise.
14063 [C99-based standards] (UINTMAX_MAX): Likewise.
14064 [C99-based standards] (PTRDIFF_MIN): Likewise.
14065 [C99-based standards] (PTRDIFF_MAX): Likewise.
14066 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14067 [C99-based standards] (SIZE_MAX): Likewise.
14068 [C99-based standards] (WCHAR_MAX): Likewise.
14069 [C99-based standards] (WINT_MAX): Likewise.
14070 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14071 constraint on value.
14072 [C99-based standards] (WCHAR_MIN): Likewise.
14073 [C99-based standards] (WINT_MIN): Likewise.
14074 [C99-based standards] (*_t): Allow.
14075 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14076 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14077 Include math.h-data and complex.h-data. Remove all expectations
14078 of math.h and complex.h contents.
14079 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14081 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14082 (struct tm): Expect tag.
14083 [C99-based-standards] (wcstof): Expect function.
14084 [C99-based-standards] (wcstold): Likewise.
14085 [C99-based-standards] (wcstoll): Likewise.
14086 [C99-based-standards] (wcstoull): Likewise.
14087 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14088 macro-int-constant. Specify type.
14089 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14090 constraint on value.
14091 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14093 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14095 [ISO C standards]: Do not allow headers.
14096 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14097 wcs[abcdefghijklmnopqrstuvwxyz]*.
14098 [ISO C standards] (*_t): Do not allow.
14099 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14101 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14102 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14104 [ISO C standards]: Do not allow headers.
14105 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14106 is[abcdefghijklmnopqrstuvwxyz]*.
14107 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14108 to[abcdefghijklmnopqrstuvwxyz]*.
14109 [ISO C standards] (*_t): Do not allow.
14110 * conform/data/stdalign.h-data: New file.
14111 * conform/data/stdbool.h-data: Likewise.
14112 * conform/data/stdnoreturn.h-data: Likewise.
14114 2012-11-07 Roland McGrath <roland@hack.frob.com>
14117 * manual/filesys.texi (Directory Entries): Typo fix.
14118 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14120 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14122 * elf/elf.h (EM_AARCH64): New macro.
14123 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14124 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14125 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14126 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14127 (R_AARCH64_TLSDESC): Likewise.
14128 (NT_ARM_TLS): Likewise.
14129 (NT_ARM_HW_BREAK): Likewise.
14130 (NT_ARM_HW_WATCH): Likewise.
14132 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14135 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14136 (__ieee754_powl): Saturate nonzero exponents with absolute value
14137 below 0x1p-79 to +/- 0x1p-79.
14138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14139 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14140 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14141 nonzero exponents with absolute value below 0x1p-32 to +/-
14143 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14144 (__ieee754_powl): Saturate nonzero exponents with absolute value
14145 below 0x1p-79 to +/- 0x1p-79.
14146 * math/libm-test.inc (pow_test): Add more tests.
14148 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14150 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14151 _dl_s390_cap_flags with kernel. Increase string length.
14152 (_dl_s390_platforms): Add z196 and zEC12.
14154 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14156 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14157 Change XOPEN21K to XOPEN2K.
14159 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14161 * string/memmove.c: Use memcpy when possible.
14163 2012-11-06 Andreas Jaeger <aj@suse.de>
14165 * po/eo.po: Update from translation team.
14167 2012-11-06 Joseph Myers <joseph@codesourcery.com>
14170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14171 exponent and small x and y exponents, scale x or y up. Increase
14172 by 2 the exponent used in scaling up.
14173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14174 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14175 * math/libm-test.inc (fma_test): Add more tests.
14176 (fma_test_towardzero): Likewise.
14177 (fma_test_downward): Likewise.
14178 (fma_test_upward): Likewise.
14180 2012-11-05 Joseph Myers <joseph@codesourcery.com>
14183 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14187 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14188 namespace for names of struct fields.
14189 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14191 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14192 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14194 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14197 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14199 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14201 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14205 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14208 2012-11-04 Joseph Myers <joseph@codesourcery.com>
14211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14212 definitely overflow as x * y not x * y + z.
14213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14214 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14215 * math/libm-test.inc (fma_test): Add more tests.
14216 (fma_test_towardzero): Likewise.
14217 (fma_test_downward): Likewise.
14218 (fma_test_upward): Likewise.
14220 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14224 * include/stub-tag.h: Remove file.
14225 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14227 * manual/maint.texi (Porting): Don't reference it.
14228 * Makerules ($(objpfx)stubs): Likewise.
14229 * dirent/closedir.c: Don't include <stub-tag.h>.
14230 * dirent/dirfd.c: Likewise.
14231 * dirent/fdopendir.c: Likewise.
14232 * dirent/getdents.c: Likewise.
14233 * dirent/getdents64.c: Likewise.
14234 * dirent/opendir.c: Likewise.
14235 * dirent/readdir.c: Likewise.
14236 * dirent/readdir64.c: Likewise.
14237 * dirent/readdir64_r.c: Likewise.
14238 * dirent/readdir_r.c: Likewise.
14239 * dirent/rewinddir.c: Likewise.
14240 * dirent/seekdir.c: Likewise.
14241 * dirent/telldir.c: Likewise.
14242 * gmon/profil.c: Likewise.
14243 * grp/setgroups.c: Likewise.
14244 * inet/if_index.c: Likewise.
14245 * io/access.c: Likewise.
14246 * io/chdir.c: Likewise.
14247 * io/chmod.c: Likewise.
14248 * io/chown.c: Likewise.
14249 * io/close.c: Likewise.
14250 * io/dup.c: Likewise.
14251 * io/dup2.c: Likewise.
14252 * io/dup3.c: Likewise.
14253 * io/euidaccess.c: Likewise.
14254 * io/faccessat.c: Likewise.
14255 * io/fchdir.c: Likewise.
14256 * io/fchmod.c: Likewise.
14257 * io/fchmodat.c: Likewise.
14258 * io/fchown.c: Likewise.
14259 * io/fchownat.c: Likewise.
14260 * io/fcntl.c: Likewise.
14261 * io/flock.c: Likewise.
14262 * io/fstatfs.c: Likewise.
14263 * io/fstatfs64.c: Likewise.
14264 * io/fstatvfs.c: Likewise.
14265 * io/fstatvfs64.c: Likewise.
14266 * io/futimens.c: Likewise.
14267 * io/fxstat.c: Likewise.
14268 * io/fxstat64.c: Likewise.
14269 * io/fxstatat.c: Likewise.
14270 * io/fxstatat64.c: Likewise.
14271 * io/getcwd.c: Likewise.
14272 * io/isatty.c: Likewise.
14273 * io/lchmod.c: Likewise.
14274 * io/lchown.c: Likewise.
14275 * io/link.c: Likewise.
14276 * io/linkat.c: Likewise.
14277 * io/lseek.c: Likewise.
14278 * io/lseek64.c: Likewise.
14279 * io/lxstat64.c: Likewise.
14280 * io/mkdir.c: Likewise.
14281 * io/mkdirat.c: Likewise.
14282 * io/mkfifo.c: Likewise.
14283 * io/mkfifoat.c: Likewise.
14284 * io/open.c: Likewise.
14285 * io/open64.c: Likewise.
14286 * io/openat.c: Likewise.
14287 * io/openat64.c: Likewise.
14288 * io/pipe.c: Likewise.
14289 * io/pipe2.c: Likewise.
14290 * io/poll.c: Likewise.
14291 * io/posix_fadvise.c: Likewise.
14292 * io/posix_fadvise64.c: Likewise.
14293 * io/posix_fallocate.c: Likewise.
14294 * io/posix_fallocate64.c: Likewise.
14295 * io/read.c: Likewise.
14296 * io/readlink.c: Likewise.
14297 * io/readlinkat.c: Likewise.
14298 * io/rmdir.c: Likewise.
14299 * io/sendfile.c: Likewise.
14300 * io/sendfile64.c: Likewise.
14301 * io/statfs.c: Likewise.
14302 * io/statfs64.c: Likewise.
14303 * io/statvfs.c: Likewise.
14304 * io/statvfs64.c: Likewise.
14305 * io/symlink.c: Likewise.
14306 * io/symlinkat.c: Likewise.
14307 * io/ttyname.c: Likewise.
14308 * io/ttyname_r.c: Likewise.
14309 * io/umask.c: Likewise.
14310 * io/unlink.c: Likewise.
14311 * io/unlinkat.c: Likewise.
14312 * io/utime.c: Likewise.
14313 * io/utimensat.c: Likewise.
14314 * io/write.c: Likewise.
14315 * io/xmknod.c: Likewise.
14316 * io/xmknodat.c: Likewise.
14317 * io/xstat.c: Likewise.
14318 * io/xstat64.c: Likewise.
14319 * login/getpt.c: Likewise.
14320 * login/grantpt.c: Likewise.
14321 * login/unlockpt.c: Likewise.
14322 * math/e_acoshl.c: Likewise.
14323 * math/e_acosl.c: Likewise.
14324 * math/e_asinl.c: Likewise.
14325 * math/e_atan2l.c: Likewise.
14326 * math/e_atanhl.c: Likewise.
14327 * math/e_coshl.c: Likewise.
14328 * math/e_expl.c: Likewise.
14329 * math/e_fmodl.c: Likewise.
14330 * math/e_gammal_r.c: Likewise.
14331 * math/e_hypotl.c: Likewise.
14332 * math/e_j0l.c: Likewise.
14333 * math/e_j1l.c: Likewise.
14334 * math/e_jnl.c: Likewise.
14335 * math/e_lgammal_r.c: Likewise.
14336 * math/e_log10l.c: Likewise.
14337 * math/e_log2l.c: Likewise.
14338 * math/e_logl.c: Likewise.
14339 * math/e_powl.c: Likewise.
14340 * math/e_rem_pio2l.c: Likewise.
14341 * math/e_sinhl.c: Likewise.
14342 * math/e_sqrtl.c: Likewise.
14343 * math/fclrexcpt.c: Likewise.
14344 * math/fedisblxcpt.c: Likewise.
14345 * math/feenablxcpt.c: Likewise.
14346 * math/fegetenv.c: Likewise.
14347 * math/fegetexcept.c: Likewise.
14348 * math/fegetround.c: Likewise.
14349 * math/feholdexcpt.c: Likewise.
14350 * math/fesetenv.c: Likewise.
14351 * math/fesetround.c: Likewise.
14352 * math/feupdateenv.c: Likewise.
14353 * math/fgetexcptflg.c: Likewise.
14354 * math/fraiseexcpt.c: Likewise.
14355 * math/fsetexcptflg.c: Likewise.
14356 * math/ftestexcept.c: Likewise.
14357 * math/k_cosl.c: Likewise.
14358 * math/k_rem_pio2l.c: Likewise.
14359 * math/k_sinl.c: Likewise.
14360 * math/k_tanl.c: Likewise.
14361 * math/s_asinhl.c: Likewise.
14362 * math/s_atanl.c: Likewise.
14363 * math/s_cbrtl.c: Likewise.
14364 * math/s_erfl.c: Likewise.
14365 * math/s_expm1l.c: Likewise.
14366 * math/s_log1pl.c: Likewise.
14367 * math/s_tanhl.c: Likewise.
14368 * misc/acct.c: Likewise.
14369 * misc/brk.c: Likewise.
14370 * misc/chflags.c: Likewise.
14371 * misc/chroot.c: Likewise.
14372 * misc/fchflags.c: Likewise.
14373 * misc/fgetxattr.c: Likewise.
14374 * misc/flistxattr.c: Likewise.
14375 * misc/fremovexattr.c: Likewise.
14376 * misc/fsetxattr.c: Likewise.
14377 * misc/fsync.c: Likewise.
14378 * misc/ftruncate.c: Likewise.
14379 * misc/futimes.c: Likewise.
14380 * misc/futimesat.c: Likewise.
14381 * misc/getdomain.c: Likewise.
14382 * misc/getdtsz.c: Likewise.
14383 * misc/gethostid.c: Likewise.
14384 * misc/gethostname.c: Likewise.
14385 * misc/getloadavg.c: Likewise.
14386 * misc/getpagesize.c: Likewise.
14387 * misc/getsysstats.c: Likewise.
14388 * misc/getxattr.c: Likewise.
14389 * misc/gtty.c: Likewise.
14390 * misc/ioctl.c: Likewise.
14391 * misc/lgetxattr.c: Likewise.
14392 * misc/listxattr.c: Likewise.
14393 * misc/llistxattr.c: Likewise.
14394 * misc/lremovexattr.c: Likewise.
14395 * misc/lsetxattr.c: Likewise.
14396 * misc/lutimes.c: Likewise.
14397 * misc/madvise.c: Likewise.
14398 * misc/mincore.c: Likewise.
14399 * misc/mlock.c: Likewise.
14400 * misc/mlockall.c: Likewise.
14401 * misc/mmap.c: Likewise.
14402 * misc/mprotect.c: Likewise.
14403 * misc/msync.c: Likewise.
14404 * misc/munlock.c: Likewise.
14405 * misc/munlockall.c: Likewise.
14406 * misc/munmap.c: Likewise.
14407 * misc/preadv.c: Likewise.
14408 * misc/preadv64.c: Likewise.
14409 * misc/ptrace.c: Likewise.
14410 * misc/pwritev.c: Likewise.
14411 * misc/pwritev64.c: Likewise.
14412 * misc/readv.c: Likewise.
14413 * misc/reboot.c: Likewise.
14414 * misc/remap_file_pages.c: Likewise.
14415 * misc/removexattr.c: Likewise.
14416 * misc/revoke.c: Likewise.
14417 * misc/select.c: Likewise.
14418 * misc/setdomain.c: Likewise.
14419 * misc/setegid.c: Likewise.
14420 * misc/seteuid.c: Likewise.
14421 * misc/sethostid.c: Likewise.
14422 * misc/sethostname.c: Likewise.
14423 * misc/setregid.c: Likewise.
14424 * misc/setreuid.c: Likewise.
14425 * misc/setxattr.c: Likewise.
14426 * misc/sstk.c: Likewise.
14427 * misc/stty.c: Likewise.
14428 * misc/swapoff.c: Likewise.
14429 * misc/swapon.c: Likewise.
14430 * misc/sync.c: Likewise.
14431 * misc/syncfs.c: Likewise.
14432 * misc/syscall.c: Likewise.
14433 * misc/truncate.c: Likewise.
14434 * misc/ualarm.c: Likewise.
14435 * misc/usleep.c: Likewise.
14436 * misc/ustat.c: Likewise.
14437 * misc/utimes.c: Likewise.
14438 * misc/vhangup.c: Likewise.
14439 * misc/writev.c: Likewise.
14440 * posix/_exit.c: Likewise.
14441 * posix/alarm.c: Likewise.
14442 * posix/execve.c: Likewise.
14443 * posix/fexecve.c: Likewise.
14444 * posix/fork.c: Likewise.
14445 * posix/fpathconf.c: Likewise.
14446 * posix/getaddrinfo.c: Likewise.
14447 * posix/getegid.c: Likewise.
14448 * posix/geteuid.c: Likewise.
14449 * posix/getgid.c: Likewise.
14450 * posix/getgroups.c: Likewise.
14451 * posix/getlogin.c: Likewise.
14452 * posix/getlogin_r.c: Likewise.
14453 * posix/getpgid.c: Likewise.
14454 * posix/getpid.c: Likewise.
14455 * posix/getppid.c: Likewise.
14456 * posix/getresgid.c: Likewise.
14457 * posix/getresuid.c: Likewise.
14458 * posix/getsid.c: Likewise.
14459 * posix/getuid.c: Likewise.
14460 * posix/glob64.c: Likewise.
14461 * posix/nanosleep.c: Likewise.
14462 * posix/pathconf.c: Likewise.
14463 * posix/pause.c: Likewise.
14464 * posix/posix_madvise.c: Likewise.
14465 * posix/pread.c: Likewise.
14466 * posix/pread64.c: Likewise.
14467 * posix/pwrite.c: Likewise.
14468 * posix/pwrite64.c: Likewise.
14469 * posix/sched_getaffinity.c: Likewise.
14470 * posix/sched_getp.c: Likewise.
14471 * posix/sched_gets.c: Likewise.
14472 * posix/sched_primax.c: Likewise.
14473 * posix/sched_primin.c: Likewise.
14474 * posix/sched_rr_gi.c: Likewise.
14475 * posix/sched_setaffinity.c: Likewise.
14476 * posix/sched_setp.c: Likewise.
14477 * posix/sched_sets.c: Likewise.
14478 * posix/sched_yield.c: Likewise.
14479 * posix/setgid.c: Likewise.
14480 * posix/setlogin.c: Likewise.
14481 * posix/setpgid.c: Likewise.
14482 * posix/setresgid.c: Likewise.
14483 * posix/setresuid.c: Likewise.
14484 * posix/setsid.c: Likewise.
14485 * posix/setuid.c: Likewise.
14486 * posix/sleep.c: Likewise.
14487 * posix/spawni.c: Likewise.
14488 * posix/sysconf.c: Likewise.
14489 * posix/times.c: Likewise.
14490 * posix/wait.c: Likewise.
14491 * posix/wait3.c: Likewise.
14492 * posix/wait4.c: Likewise.
14493 * posix/waitpid.c: Likewise.
14494 * resolv/gai_sigqueue.c: Likewise.
14495 * resource/getpriority.c: Likewise.
14496 * resource/getrlimit.c: Likewise.
14497 * resource/getrusage.c: Likewise.
14498 * resource/nice.c: Likewise.
14499 * resource/setpriority.c: Likewise.
14500 * resource/setrlimit.c: Likewise.
14501 * resource/ulimit.c: Likewise.
14502 * rt/aio_cancel.c: Likewise.
14503 * rt/aio_fsync.c: Likewise.
14504 * rt/aio_read.c: Likewise.
14505 * rt/aio_sigqueue.c: Likewise.
14506 * rt/aio_suspend.c: Likewise.
14507 * rt/aio_write.c: Likewise.
14508 * rt/clock_getres.c: Likewise.
14509 * rt/clock_gettime.c: Likewise.
14510 * rt/clock_nanosleep.c: Likewise.
14511 * rt/clock_settime.c: Likewise.
14512 * rt/lio_listio.c: Likewise.
14513 * rt/mq_close.c: Likewise.
14514 * rt/mq_getattr.c: Likewise.
14515 * rt/mq_notify.c: Likewise.
14516 * rt/mq_open.c: Likewise.
14517 * rt/mq_receive.c: Likewise.
14518 * rt/mq_send.c: Likewise.
14519 * rt/mq_setattr.c: Likewise.
14520 * rt/mq_timedreceive.c: Likewise.
14521 * rt/mq_timedsend.c: Likewise.
14522 * rt/mq_unlink.c: Likewise.
14523 * rt/shm_open.c: Likewise.
14524 * rt/shm_unlink.c: Likewise.
14525 * rt/timer_create.c: Likewise.
14526 * rt/timer_delete.c: Likewise.
14527 * rt/timer_getoverr.c: Likewise.
14528 * rt/timer_gettime.c: Likewise.
14529 * rt/timer_settime.c: Likewise.
14530 * setjmp/__longjmp.c: Likewise.
14531 * setjmp/setjmp.c: Likewise.
14532 * signal/kill.c: Likewise.
14533 * signal/killpg.c: Likewise.
14534 * signal/raise.c: Likewise.
14535 * signal/sigaction.c: Likewise.
14536 * signal/sigaltstack.c: Likewise.
14537 * signal/sigblock.c: Likewise.
14538 * signal/sigignore.c: Likewise.
14539 * signal/sigintr.c: Likewise.
14540 * signal/signal.c: Likewise.
14541 * signal/sigpause.c: Likewise.
14542 * signal/sigpending.c: Likewise.
14543 * signal/sigqueue.c: Likewise.
14544 * signal/sigreturn.c: Likewise.
14545 * signal/sigset.c: Likewise.
14546 * signal/sigsetmask.c: Likewise.
14547 * signal/sigstack.c: Likewise.
14548 * signal/sigsuspend.c: Likewise.
14549 * signal/sigtimedwait.c: Likewise.
14550 * signal/sigvec.c: Likewise.
14551 * signal/sigwait.c: Likewise.
14552 * signal/sigwaitinfo.c: Likewise.
14553 * signal/sysv_signal.c: Likewise.
14554 * socket/accept.c: Likewise.
14555 * socket/accept4.c: Likewise.
14556 * socket/bind.c: Likewise.
14557 * socket/connect.c: Likewise.
14558 * socket/getpeername.c: Likewise.
14559 * socket/getsockname.c: Likewise.
14560 * socket/getsockopt.c: Likewise.
14561 * socket/isfdtype.c: Likewise.
14562 * socket/listen.c: Likewise.
14563 * socket/recv.c: Likewise.
14564 * socket/recvfrom.c: Likewise.
14565 * socket/recvmsg.c: Likewise.
14566 * socket/send.c: Likewise.
14567 * socket/sendmsg.c: Likewise.
14568 * socket/sendto.c: Likewise.
14569 * socket/setsockopt.c: Likewise.
14570 * socket/shutdown.c: Likewise.
14571 * socket/sockatmark.c: Likewise.
14572 * socket/socket.c: Likewise.
14573 * socket/socketpair.c: Likewise.
14574 * stdio-common/ctermid.c: Likewise.
14575 * stdio-common/cuserid.c: Likewise.
14576 * stdio-common/remove.c: Likewise.
14577 * stdio-common/rename.c: Likewise.
14578 * stdio-common/renameat.c: Likewise.
14579 * stdio-common/tempname.c: Likewise.
14580 * stdlib/getcontext.c: Likewise.
14581 * stdlib/makecontext.c: Likewise.
14582 * stdlib/setcontext.c: Likewise.
14583 * stdlib/swapcontext.c: Likewise.
14584 * stdlib/system.c: Likewise.
14585 * streams/fattach.c: Likewise.
14586 * streams/fdetach.c: Likewise.
14587 * streams/getmsg.c: Likewise.
14588 * streams/getpmsg.c: Likewise.
14589 * streams/putmsg.c: Likewise.
14590 * streams/putpmsg.c: Likewise.
14591 * sysdeps/unix/bsd/getpt.c: Likewise.
14592 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14593 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14594 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14597 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14598 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14599 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14600 * sysvipc/msgctl.c: Likewise.
14601 * sysvipc/msgget.c: Likewise.
14602 * sysvipc/msgrcv.c: Likewise.
14603 * sysvipc/msgsnd.c: Likewise.
14604 * sysvipc/semctl.c: Likewise.
14605 * sysvipc/semget.c: Likewise.
14606 * sysvipc/semop.c: Likewise.
14607 * sysvipc/semtimedop.c: Likewise.
14608 * sysvipc/shmat.c: Likewise.
14609 * sysvipc/shmctl.c: Likewise.
14610 * sysvipc/shmdt.c: Likewise.
14611 * sysvipc/shmget.c: Likewise.
14612 * termios/tcdrain.c: Likewise.
14613 * termios/tcflow.c: Likewise.
14614 * termios/tcflush.c: Likewise.
14615 * termios/tcgetattr.c: Likewise.
14616 * termios/tcgetpgrp.c: Likewise.
14617 * termios/tcsendbrk.c: Likewise.
14618 * termios/tcsetattr.c: Likewise.
14619 * termios/tcsetpgrp.c: Likewise.
14620 * time/adjtime.c: Likewise.
14621 * time/clock.c: Likewise.
14622 * time/getitimer.c: Likewise.
14623 * time/gettimeofday.c: Likewise.
14624 * time/setitimer.c: Likewise.
14625 * time/settimeofday.c: Likewise.
14626 * time/stime.c: Likewise.
14627 * time/time.c: Likewise.
14629 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14631 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14634 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14636 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14638 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14642 FE_TONEAREST before applying Dekker multiplication and Knuth
14643 addition. Clear inexact exceptions and check for exact zero
14644 results afterwards.
14645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14646 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14648 * math/libm-test.inc (fma_test): Add more tests.
14649 (fma_test_towardzero): Likewise.
14650 (fma_test_downward): Likewise.
14651 (fma_test_upward): Likewise.
14652 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14654 (libc_fesetround): New macro.
14655 (libc_fesetroundf): Likewise.
14656 (libc_fesetroundl): Likewise.
14657 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14659 (libc_fesetround_387): Likewise.
14660 (libc_fesetroundf): New macro.
14661 (libc_fesetround): Likewise.
14662 (libc_fesetroundl): Likewise.
14663 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14665 (libc_fesetroundf): New macro.
14666 (libc_fesetround): Likewise.
14667 (libc_fesetroundl): Likewise.
14668 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14669 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14670 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14672 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14673 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14675 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14676 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14678 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14682 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14683 integer constant usable in #if and use that to give value to enum
14685 (FE_DIVBYZERO): Likewise.
14686 (FE_UNDERFLOW): Likewise.
14687 (FE_OVERFLOW): Likewise.
14688 (FE_INVALID): Likewise.
14689 (FE_INVALID_SNAN): Likewise.
14690 (FE_INVALID_ISI): Likewise.
14691 (FE_INVALID_IDI): Likewise.
14692 (FE_INVALID_ZDZ): Likewise.
14693 (FE_INVALID_IMZ): Likewise.
14694 (FE_INVALID_COMPARE): Likewise.
14695 (FE_INVALID_SOFTWARE): Likewise.
14696 (FE_INVALID_SQRT): Likewise.
14697 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14698 (FE_TONEAREST): Likewise.
14699 (FE_TOWARDZERO): Likewise.
14700 (FE_UPWARD): Likewise.
14701 (FE_DOWNWARD): Likewise.
14702 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14703 (FE_DIVBYZERO): Likewise.
14704 (FE_OVERFLOW): Likewise.
14705 (FE_UNDERFLOW): Likewise.
14706 (FE_INEXACT): Likewise.
14707 (FE_TONEAREST): Likewise.
14708 (FE_DOWNWARD): Likewise.
14709 (FE_UPWARD): Likewise.
14710 (FE_TOWARDZERO): Likewise.
14711 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14712 (FE_UNDERFLOW): Likewise.
14713 (FE_OVERFLOW): Likewise.
14714 (FE_DIVBYZERO): Likewise.
14715 (FE_INVALID): Likewise.
14716 (FE_TONEAREST): Likewise.
14717 (FE_TOWARDZERO): Likewise.
14718 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14719 (FE_OVERFLOW): Likewise.
14720 (FE_UNDERFLOW): Likewise.
14721 (FE_DIVBYZERO): Likewise.
14722 (FE_INEXACT): Likewise.
14723 (FE_TONEAREST): Likewise.
14724 (FE_TOWARDZERO): Likewise.
14725 (FE_UPWARD): Likewise.
14726 (FE_DOWNWARD): Likewise.
14727 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14728 (FE_DIVBYZERO): Likewise.
14729 (FE_OVERFLOW): Likewise.
14730 (FE_UNDERFLOW): Likewise.
14731 (FE_INEXACT): Likewise.
14732 (FE_TONEAREST): Likewise.
14733 (FE_DOWNWARD): Likewise.
14734 (FE_UPWARD): Likewise.
14735 (FE_TOWARDZERO): Likewise.
14737 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14739 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14741 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14743 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14744 commands. Quote $PWD.
14745 (blacklist_exports): Don't use remove_newlines. Replace "declare
14747 (remove_newlines): Remove.
14749 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14751 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14752 * stdlib/stdlib.h (atof): Moved to ...
14753 * include/bits/stdlib-float.h: Here. New file.
14754 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14755 * stdlib/bits/stdlib-float.h: New file.
14756 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14761 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14763 * conform/conformtest.pl (@headers): Add fenv.h.
14764 * conform/data/fenv.h-data: New file.
14765 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14766 include of <math/fenv.h>.
14768 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14769 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14770 && !UNIX98]. Enables tests for XOPEN2K8.
14771 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14772 POSIX2008]: Likewise.
14774 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14775 (struct rusage): Do not expect type or its members.
14778 * math/math.h (FP_NAN): Define macro to integer constant usable in
14779 #if and use that to give value to enum constant.
14780 (FP_INFINITE): Likewise.
14781 (FP_ZERO): Likewise.
14782 (FP_SUBNORMAL): Likewise.
14783 (FP_NORMAL): Likewise.
14785 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14787 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14788 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14791 2012-11-02 Roland McGrath <roland@hack.frob.com>
14793 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14794 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14795 autoconf-time if not.
14796 * configure.in: Remove AC_PREREQ.
14798 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14800 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14801 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14802 of the internal implementation.
14804 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14806 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14807 except include of <misc/sys/syslog.h>.
14809 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14812 function returns with a NULL context exit with zero.
14814 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14816 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14818 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14820 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14821 (run_program_cmd): This.
14822 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14823 (tst_langinfo): New variable. Use it.
14825 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14827 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14828 floating point opcodes.
14830 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14832 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14835 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14837 * sysdeps/mach/hurd/powerpc: Remove directory.
14838 * sysdeps/mach/powerpc: Likewise.
14840 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14842 * scripts/check-local-headers.sh: Ignore c++ headers.
14844 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14846 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14847 __libc_cleanup_region_start argument.
14849 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14854 x * y using scaling, not as x * y + z.
14855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14857 * math/libm-test.inc (fma_test): Add more tests.
14858 (fma_test_towardzero): Likewise.
14859 (fma_test_downward): Likewise.
14860 (fma_test_upward): Likewise.
14862 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14864 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14866 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14868 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14871 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14873 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14875 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14882 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14885 Fix the order of the list for glibc 2.17.
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14889 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14893 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14896 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14897 for low part of x being zero before using __atanl (y).
14898 * math/libm-test.inc (atan2_test): Add another test.
14900 * manual/install.texi (Configuring and compiling): Document
14901 general use of test-wrapper and test-wrapper-env.
14902 * INSTALL: Regenerated.
14904 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14905 (__fma): Do not extract and scale down low bits on after-rounding
14906 systems when result rounded to normal precision would have normal
14908 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14909 (__fmal): Do not extract and scale down low bits on after-rounding
14910 systems when result rounded to normal precision would have normal
14912 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14913 (__fmal): Do not extract and scale down low bits on after-rounding
14914 systems when result rounded to normal precision would have normal
14916 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14918 (fma_test): Add more tests.
14919 (fma_test_towardzero): Likewise.
14920 (fma_test_downward): Likewise.
14921 (fma_test_upward): Likewise.
14923 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14925 * sysdeps/i386/tininess.h: Renamed to ...
14926 * sysdeps/x86/tininess.h: This.
14927 * sysdeps/x86_64/tininess.h: Removed.
14929 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14931 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14932 input. Use $(build-program-cmd).
14933 ($(objpfx)tst-array1-static.out): Likewise.
14934 ($(objpfx)tst-array2.out): Likewise.
14935 ($(objpfx)tst-array3.out): Likewise.
14936 ($(objpfx)tst-array4.out): Likewise.
14937 ($(objpfx)tst-array5.out): Likewise.
14938 ($(objpfx)tst-array5-static.out): Likewise.
14940 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14942 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14945 * nss/nsswitch.h (nss_interface_function): Provide new
14946 macro for use with NSS functions.
14947 * grp/initgroups.c: Use new macro.
14948 * nss/getXXbyYY.c: Likewise.
14949 * nss/getXXbyYY_r.c: Likewise.
14950 * nss/getXXent.c: Likewise.
14951 * nss/getXXent_r.c: Likewise.
14952 * sysdeps/posix/getaddrinfo.c: Likewise.
14954 2012-10-30 Andreas Jaeger <aj@suse.de>
14956 * po/ru.po: Update Russion translation from translation project.
14958 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14963 result and shift together with sticky bit instead of replicating
14964 round-to-nearest rounding.
14965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14966 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14967 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14968 missing underflow exceptions.
14969 (fma_test_towardzero): Add more tests.
14970 (fma_test_downward): Likewise.
14971 (fma_test_upward): Likewise.
14974 * sysdeps/generic/tininess.h: New file.
14975 * sysdeps/i386/tininess.h: Likewise.
14976 * sysdeps/sh/tininess.h: Likewise.
14977 * sysdeps/x86_64/tininess.h: Likewise.
14978 * stdlib/tst-strtod-underflow.c: Likewise.
14979 * stdlib/tst-tininess.c: Likewise.
14980 * stdlib/strtod_l.c: Include <tininess.h>.
14981 (round_and_return): Do not set errno for exact underflow cases.
14982 Force an underflow exception when setting errno for underflow.
14983 Determine underflow based on rounding to normal precision if
14984 TININESS_AFTER_ROUNDING.
14985 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14986 ERANGE for exact underflow cases.
14987 * stdlib/Makefile (tests): Add tst-tininess and
14988 tst-strtod-underflow.
14989 ($(objpfx)tst-tininess): Use $(link-libm).
14990 ($(objpfx)tst-strtod-underflow): Likewise.
14992 2012-10-30 Andreas Jaeger <aj@suse.de>
14995 * elf/Makefile (tests): Remove conditional for have-initfini-array
14996 since this is now always required and the variable does not exist
14998 (tests-static): Likewise.
14999 (modules-names): Likewise.
15001 * po/eo.po: Add Esperanto translation from translation project.
15003 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15004 merged with constructor/destructor.
15005 (init_array): Likewise.
15006 * elf/tst-array2dep.c (fini_array): Likewise.
15007 (init_array): Likewise.
15009 2012-10-29 Mike Frysinger <vapier@gentoo.org>
15011 * manual/message.texi: Delete @cartouche tags.
15013 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15015 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15017 * sysdeps/mach/hurd/fsync.c: Likewise.
15019 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15020 [_POSIX_REALTIME_SIGNALS]: Change condition to
15021 [_POSIX_REALTIME_SIGNALS > 0].
15023 2012-10-27 Andreas Jaeger <aj@suse.de>
15025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15026 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15028 [__WORDSIZE != 64]: Likewise.
15030 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15032 * iconvdata/tst-table.sh: Remove ${SHELL}.
15033 * iconvdata/tst-tables.sh: Likewise.
15035 2012-10-25 David S. Miller <davem@davemloft.net>
15037 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15038 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15043 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15044 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15045 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15048 2012-10-25 Roland McGrath <roland@hack.frob.com>
15050 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15051 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15054 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15055 Jim Blandy <jimb@codesourcery.com>
15057 * scripts/cross-test-ssh.sh: New file.
15058 * manual/install.texi (Configuring and compiling): Document use of
15060 * INSTALL: Regenerated.
15062 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15064 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15067 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15069 * Makeconfig (run-program-prefix): Fix comment.
15071 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15072 Jim Blandy <jimb@codesourcery.com>
15074 * Makeconfig (test-wrapper): New variable,
15075 (test-wrapper-env): Likewise.
15076 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15077 (run-built-tests): Define to yes.
15078 (run-program-prefix): Use $(test-wrapper).
15079 (built-program-cmd): Likewise.
15080 * Rules (make-test-out): Use $(test-wrapper-env) and
15081 $(host-built-program-cmd).
15082 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15083 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15085 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15086 $(test-wrapper-env) to tst-rtld-load-self.sh.
15087 ($(objpfx)order2.out): Use $(test-wrapper).
15088 ($(objpfx)tst-initorder.out): Likewise.
15089 ($(objpfx)tst-initorder2.out): Likewise.
15090 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15091 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15092 (test_wrapper_env): New variable. Use it to run ld.so.
15093 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15094 Use it to run ld.so.
15095 (test_wrapper_env): Likewise.
15096 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15097 $(test-wrapper) to run-iconv-test.sh.
15098 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15099 (ICONV): Use $test_wrapper.
15100 * posix/Makefile ($(objpfx)globtest.out): Pass
15101 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15102 globtest.sh, not $(run-program-prefix).
15103 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15104 (test_wrapper): Likewise.
15105 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15106 set together with run_via_rtld_prefix.
15107 (run_program_prefix): Define in terms of test_wrapper and
15108 run_via_rtld_prefix.
15110 2012-10-24 Roland McGrath <roland@hack.frob.com>
15112 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15113 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15117 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15118 Declare __clock_getres, __clock_gettime, __clock_settime,
15119 __clock_nanosleep, and __clock_getcpuclockid.
15120 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15121 Remove librt_hidden_def (clock_gettime).
15122 * sysdeps/unix/clock_gettime.c: Likewise.
15123 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15124 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15125 * rt/clock_getres.c: Define __clock_getres as an alias.
15126 * sysdeps/posix/clock_getres.c: Likewise.
15127 * rt/clock_settime.c: Define __clock_settime as an alias.
15128 * sysdeps/unix/clock_settime.c: Likewise.
15129 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15130 * sysdeps/unix/clock_nanosleep.c: Likewise.
15131 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15132 * rt/clock-compat.c: New file.
15133 * rt/Makefile (librt-routines): Add clock-compat and move
15134 $(clock-routines) to ...
15135 (routines): ... here, new variable.
15136 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15137 Don't add get_clockfreq here.
15138 * rt/Versions (libc: GLIBC_2.17): New version set.
15139 Add clock_* symbols here.
15140 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15142 (GLIBC_2.17): Add clock_* symbols.
15143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15154 * NEWS: Mention the move.
15156 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15157 Use __open, __read, __close rather than their public counterparts.
15158 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15159 (__get_clockfreq_via_cpuinfo): Likewise.
15160 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15161 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15163 * config.h.in (HAVE_IFUNC): New #undef.
15164 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15166 * configure: Regenerated.
15168 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15170 * configure.in: Move READELF check to start of file.
15171 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15172 libc_cv_asm_gnu_indirect_function in the process.
15173 * configure: Regenerated.
15175 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15177 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15178 send the output to /dev/null.
15179 (libc_cv_cc_with_libunwind): Likewise.
15180 (libc_cv_as_noexecstack): Likewise.
15181 * configure: Regenerate.
15183 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15185 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15187 * posix/globtest.sh (TMPDIR): Do not set.
15188 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15189 (testout): Likewise.
15191 2012-10-24 Andreas Jaeger <aj@suse.de>
15193 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15194 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15195 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15196 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15197 posix_fadvise64, posix_fallocate64.
15199 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15200 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15201 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15203 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15205 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15208 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15209 <bits/fcntl-linux.h>.
15210 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15213 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15214 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15215 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15216 [__WORDSIZE != 64]: Likewise.
15218 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15220 * Makeconfig (run-built-tests): New variable.
15221 * Rules [$(cross-compiling) = yes]: Change condition to
15222 [$(run-built-tests) = no].
15223 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15224 to [$(run-built-tests) = yes].
15225 * elf/Makefile [$(cross-compiling) = no]: Likewise
15226 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15227 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15228 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15229 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15230 * io/Makefile [$(cross-compiling) = no]: Likewise.
15231 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15232 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15233 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15234 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15235 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15236 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15237 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15238 * string/Makefile [$(cross-compiling) = no]: Likewise.
15240 * posix/Makefile ($(objpfx)globtest.out): Pass
15241 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15242 $(rtld-installed-name).
15243 * posix/globtest.sh (elf_objpfx): Remove variable.
15244 (rtld_installed_name): Likewise.
15245 (library_path): Likewise.
15246 (run_program_prefix): New variable. Use for running globtest
15249 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15250 Joseph Myers <joseph@codesourcery.com>
15252 * Makeconfig (host-built-program-cmd): New variable.
15253 * elf/Makefile (tst-stackguard1-ARGS): Use
15254 $(host-built-program-cmd).
15255 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15256 (tst-spawn-ARGS): Likewise.
15257 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15259 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15260 Jim Blandy <jimb@codesourcery.com>
15262 * Makeconfig (run-via-rtld-prefix): New variable.
15263 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15264 (built-program-cmd): Likewise.
15266 2012-10-22 Andreas Jaeger <aj@suse.de>
15268 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15269 __O_RSYNC if it exists, otherwise to O_SYNC.
15271 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15272 Joseph Myers <joseph@codesourcery.com>
15274 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15276 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15278 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15281 2012-10-22 Andreas Jaeger <aj@suse.de>
15283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15288 bits/fcntl-linux.h.
15290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15291 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15298 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15299 Joseph Myers <joseph@codesourcery.com>
15301 * config.make.in (NM): New variable.
15303 2012-10-21 Andreas Jaeger <aj@suse.de>
15305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15306 definitions and declarations that are provided by
15307 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15309 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15312 * elf/Makefile (tests-static): Add tst-leaks1-static.
15313 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15314 ($(objpfx)tst-leaks1-static): New rule.
15315 ($(objpfx)tst-leaks1-static-mem): Likewise.
15316 (tst-leaks1-static-ENV): New macro.
15317 * elf/dl-open.c (dl_open_worker): Check the main application
15318 only if SHARED is defined.
15319 * elf/tst-leaks1-static.c: New file.
15321 2012-10-20 Andreas Jaeger <aj@suse.de>
15323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15324 generic values for Linux.
15325 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15326 and declarations that are provided by <bits/fcntl-linux.h> and
15327 include <bits/fcntl-linux.h>.
15328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15331 2012-10-20 Roland McGrath <roland@hack.frob.com>
15333 * io/fcntl.h: Move include of <bits/types.h> to the top and
15334 include it unconditionally.
15336 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15338 * wcsmbs/Makefile (tests-ifunc): New variable.
15339 (tests): Add $(tests-ifunc).
15340 * wcsmbs/test-wcschr-ifunc.c: New file.
15341 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15342 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15343 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15344 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15345 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15347 * string/Makefile (tests-ifunc): New variable.
15348 (tests): Add $(tests-ifunc).
15349 * string/test-memccpy.c (TEST_NAME): New macro.
15350 * string/test-memchr.c (TEST_NAME): Likewise.
15351 * string/test-memcmp.c (TEST_NAME): Likewise.
15352 * string/test-memcpy.c (TEST_NAME): Likewise.
15353 * string/test-memmem.c (TEST_NAME): Likewise.
15354 * string/test-memmove.c (TEST_NAME): Likewise.
15355 * string/test-memset.c (TEST_NAME): Likewise.
15356 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15357 * string/test-stpcpy.c (TEST_NAME): Likewise.
15358 * string/test-stpncpy.c (TEST_NAME): Likewise.
15359 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15360 * string/test-strcasestr.c (TEST_NAME): Likewise.
15361 * string/test-strcat.c (TEST_NAME): Likewise.
15362 * string/test-strchr.c (TEST_NAME): Likewise.
15363 * string/test-strcmp.c(TEST_NAME): Likewise.
15364 * string/test-strcpy.c (TEST_NAME): Likewise.
15365 * string/test-strcspn.c (TEST_NAME): Likewise.
15366 * string/test-strlen.c (TEST_NAME): Likewise.
15367 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15368 * string/test-strncmp.c (TEST_NAME): Likewise.
15369 * string/test-strncpy.c (TEST_NAME): Likewise.
15370 * string/test-strnlen.c (TEST_NAME): Likewise.
15371 * string/test-strpbrk.c (TEST_NAME): Likewise.
15372 * string/test-strrchr.c (TEST_NAME): Likewise.
15373 * string/test-strspn.c (TEST_NAME): Likewise.
15374 * string/test-strstr.c (TEST_NAME): Likewise.
15375 * string/test-bcopy-ifunc.c: New file.
15376 * string/test-bzero-ifunc.c: Likewise.
15377 * string/test-memccpy-ifunc.c: Likewise.
15378 * string/test-memchr-ifunc.c: Likewise.
15379 * string/test-memcmp-ifunc.c: Likewise.
15380 * string/test-memcpy-ifunc.c: Likewise.
15381 * string/test-memmem-ifunc.c: Likewise.
15382 * string/test-memmove-ifunc.c: Likewise.
15383 * string/test-mempcpy-ifunc.c: Likewise.
15384 * string/test-memset-ifunc.c: Likewise.
15385 * string/test-rawmemchr-ifunc.c: Likewise.
15386 * string/test-stpcpy-ifunc.c: Likewise.
15387 * string/test-stpncpy-ifunc.c: Likewise.
15388 * string/test-strcasecmp-ifunc.c: Likewise.
15389 * string/test-strcasestr-ifunc.c: Likewise.
15390 * string/test-strcat-ifunc.c: Likewise.
15391 * string/test-strchr-ifunc.c: Likewise.
15392 * string/test-strchrnul-ifunc.c: Likewise.
15393 * string/test-strcmp-ifunc.c: Likewise.
15394 * string/test-strcpy-ifunc.c: Likewise.
15395 * string/test-strcspn-ifunc.c: Likewise.
15396 * string/test-strlen-ifunc.c: Likewise.
15397 * string/test-strncasecmp-ifunc.c: Likewise.
15398 * string/test-strncat-ifunc.c: Likewise.
15399 * string/test-strncmp-ifunc.c: Likewise.
15400 * string/test-strncpy-ifunc.c: Likewise.
15401 * string/test-strnlen-ifunc.c: Likewise.
15402 * string/test-strpbrk-ifunc.c: Likewise.
15403 * string/test-strrchr-ifunc.c: Likewise.
15404 * string/test-strspn-ifunc.c: Likewise.
15405 * string/test-strstr-ifunc.c: Likewise.
15407 * debug/Makefile (tests-ifunc): New variable.
15408 (tests): Add $(tests-ifunc).
15409 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15410 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15411 * debug/test-stpcpy_chk-ifunc.c: New file.
15412 * debug/test-strcpy_chk-ifunc.c: Likewise.
15414 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15417 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15418 header is not read in.
15420 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15422 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15423 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15424 directly. Pass built executable to script as
15425 $(built-program-cmd).
15426 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15427 $testprogram without using LD_LIBRARY_PATH and $ldso.
15429 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15430 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15431 $(rtld-installed-name).
15432 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15433 (rtld_installed_name): Likewise.
15434 (library_path): Likewise.
15435 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15436 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15437 $(run-program-prefix) to tst-tables.sh.
15438 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15439 it to run tst-table-from and tst-table-to.
15440 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15441 Pass it to tst-table.sh.
15442 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15443 $(run-program-prefix) to tst-gettext.sh.
15444 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15446 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15448 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15449 to run tst-gettext.
15450 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15451 to run tst-gettext2.
15452 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15453 to run tst-translit.
15454 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15455 $(run-program-prefix) to tst-mtrace.sh.
15456 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15458 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15459 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15460 $(rtld-installed-name).
15461 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15462 (rtld_installed_name): Likewise.
15463 (run_program_prefix): New variable. Use it to run wordexp-test.
15465 * Makeconfig (ARCH): Remove all definitions.
15466 (machine): Likewise.
15467 [ARCH]: Remove conditional code.
15468 [!objdir]: Give error.
15469 [!objdir] (objpfx): Remove.
15470 [!objdir] (common-objpfx): Likewise.
15471 [!objdir] (common-objdir): Likewise.
15472 * configure.in (config_makefile): Remove. Hardcode Makefile in
15473 AC_CONFIG_FILES call.
15474 * configure: Regenerated.
15477 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15479 (testout): Likewise.
15481 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15482 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15483 $(rtld-installed-name).
15484 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15485 (rtld_installed_name): Likwise.
15486 (runit): Remove function.
15487 (run_getconf): New variable, Use it for running getconf binary.
15489 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15492 * string/test-memmem.c (check_result): New function.
15493 (do_one_test): Use it.
15494 (check1): New function.
15495 (test_main): Use it.
15497 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15499 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15501 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15503 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15504 (_G_LSEEK64): Likewise.
15505 (_G_MMAP64): Likewise.
15506 (_G_FSTAT64): Likewise.
15507 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15508 (_G_LSEEK64): Likewise.
15509 (_G_MMAP64): Likewise.
15510 (_G_FSTAT64): Likewise.
15511 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15512 unconditional. Call __mmap64 directly.
15513 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15514 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15515 __lseek64 directly.
15516 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15517 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15519 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15520 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15521 __lseek64 directly.
15522 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15523 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15524 __lseek64 directly.
15525 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15526 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15527 __lseek64 directly.
15528 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15529 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15530 __fxstat64 directly.
15531 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15532 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15534 (freopen64) [!_G_OPEN64]: Remove conditional code.
15535 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15537 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15538 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15540 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15541 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15543 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15544 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15546 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15547 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15549 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15550 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15552 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15553 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15555 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15557 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15560 * manual/memory.texi (Malloc Tunable Parameters): Add note
15561 about free list pointers overwriting some perturb bytes.
15562 Wording suggested by Roland McGrath.
15564 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15566 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15567 (lgamma_test): Likewise.
15568 (tgamma_test): Likewise.
15570 2012-10-16 Florian Weimer <fweimer@redhat.com>
15573 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15574 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15576 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15578 * NEWS: Mention BZ #14716.
15579 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15580 when removing AVAILABLE1_USES_J macro.
15582 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15584 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15585 (__bswap_64): __uint64_t for unsigned 64-bit int.
15587 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15589 * include/string.h (memmem): Declare libc hidden alias.
15590 * string/memmem.c (memmem): Define libc hidden alias.
15591 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15592 __read, __close instead of open, read, close.
15594 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15597 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15599 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15600 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15601 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15603 (__rawmemchr_sse2): Likewise.
15604 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15605 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15606 (__strchr_sse2): Likewise.
15607 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15608 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15609 (__strcasecmp_sse2): Likewise.
15610 (__strncasecmp_sse2): Likewise.
15611 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15612 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15613 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15614 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15615 (__strrchr_sse2): Likewise.
15616 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15618 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15619 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15620 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15621 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15622 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15623 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15624 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15625 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15626 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15627 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15628 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15629 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15630 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15631 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15632 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15633 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15634 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15635 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15636 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15637 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15638 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15639 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15640 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15641 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15642 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15643 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15644 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15645 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15646 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15647 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15649 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15651 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15652 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15653 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15654 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15656 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15658 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15659 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15660 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15661 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15663 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15664 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15665 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15666 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15667 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15668 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15669 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15670 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15671 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15672 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15673 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15674 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15675 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15676 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15677 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15678 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15679 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15680 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15681 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15682 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15683 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15684 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15685 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15686 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15687 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15688 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15689 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15690 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15691 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15692 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15693 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15694 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15695 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15696 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15697 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15698 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15699 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15700 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15701 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15702 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15703 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15705 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15706 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15707 * include/ifunc-impl-list.h: New file.
15708 * misc/ifunc-impl-list.c: Likewise.
15709 * misc/Makefile (routines): Add ifunc-impl-list.
15710 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15711 * string/test-string.h: Include <ifunc-impl-list.h>.
15712 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15713 impl_array): New variables.
15714 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15716 (test_init): Call __libc_ifunc_impl_list to initialize
15717 func_list if TEST_IFUNC and TEST_NAME are defined.
15719 * string/Makefile (strop-tests): Add bcopy and bzero.
15720 * string/test-bcopy.c: New file.
15721 * string/test-bzero.c: Likewise.
15722 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15724 * string/test-memset.c: Support bzero test if TEST_BZERO is
15726 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15728 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15730 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15733 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15735 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15736 * configure: Regenerated.
15738 * Makeconfig (+link-static-before-libc): Don't include
15739 $(link-static-libc).
15741 * libio/libio.h (_IO_pos_t): Remove.
15743 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15745 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15748 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15750 * crypt/crypt-entry.c: Include fips-private.h.
15751 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15752 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15753 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15754 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15756 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15758 * crypt/crypt-private.h: Include stdbool.h.
15759 (_ufc_setup_salt_r): Return bool.
15760 * crypt/crypt-entry.c: Include errno.h.
15761 (__crypt_r): Return NULL with EINVAL for bad salt.
15762 * crypt/crypt_util.c (bad_for_salt): New.
15763 (_ufc_setup_salt_r): Check that salt is long enough and within
15764 the specified alphabet.
15765 * crypt/badsalttest.c: New file.
15766 * crypt/Makefile (tests): Add it.
15767 ($(objpfx)badsalttest): New.
15769 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15771 * NEWS: Add entry for BZ #14602.
15773 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15775 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15777 * math/libm-test.inc: Update comment listing what functions and
15779 (isgreater_test): New function.
15780 (isgreaterequal_test): Likewise.
15781 (isless_test): Likewise.
15782 (islessequal_test): Likewise.
15783 (islessgreater_test): Likewise.
15784 (isunordered_test): Likewise.
15785 (main): Call the new functions.
15787 2012-10-09 Roland McGrath <roland@hack.frob.com>
15789 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15790 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15791 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15792 * sysdeps/i386/configure: Regenerated.
15793 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15794 * sysdeps/mach/configure: Regenerated.
15795 * sysdeps/mach/hurd/configure: Regenerated.
15796 * sysdeps/powerpc/configure: Regenerated.
15797 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15798 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15799 * sysdeps/s390/s390-32/configure: Regenerated.
15800 * sysdeps/s390/s390-64/configure: Regenerated.
15801 * sysdeps/sh/configure: Regenerated.
15802 * sysdeps/sparc/configure: Regenerated.
15803 * sysdeps/unix/sysv/linux/configure: Regenerated.
15804 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15805 * sysdeps/x86_64/configure: Regenerated.
15807 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15808 defined. Don't check if MAP is NULL.
15810 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15812 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15813 (_G_stat64): Likewise.
15814 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15815 (_G_stat64): Likewise.
15816 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15817 instead of struct _G_stat64.
15818 * libio/fileops.c (mmap_remap_check): Likewise.
15819 (decide_maybe_mmap): Likewise.
15820 (_IO_new_file_seekoff): Likewise.
15821 (_IO_file_stat): Likewise.
15822 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15824 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15825 instead of struct _G_stat64.
15826 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15828 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15831 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15833 (CHECK_EOL): New macro.
15834 (two_way_short_needle): Check beginning of haystack for EOL. Use
15836 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15837 Replace with CHECK_EOL.
15838 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15839 Replace with CHECK_EOL.
15841 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15843 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15845 * math/libm-test.inc: Update comment listing what functions and
15847 (finite_test): New function.
15848 (isinf_test): Likewise.
15849 (isnan_test): Likewise.
15850 (fpclassify_test): Test subnormal input.
15851 (isfinite_test): Likewise.
15852 (isnormal_test): Likewise.
15853 (main): Call the new functions.
15855 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15858 * Makerules (%.dynsym): Force C locale when running
15859 $(OBJDUMP) --dynamic-syms.
15861 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15863 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15866 2012-10-06 David S. Miller <davem@davemloft.net>
15868 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15869 upper 32-bits of the length value in %o2 since we use branch-on-register
15870 tests which consider the entire 64-bit register.
15872 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15874 * string/test-strstr.c (check2): Add a test for page boundary.
15876 2012-10-05 David S. Miller <davem@davemloft.net>
15878 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15879 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15881 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15883 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15884 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15885 and bzero when HWCAP_SPARC_CRYPTO is present.
15887 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15890 * string/test-strstr.c (check2): New function.
15891 (test_main): Call check2.
15893 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15895 * string/bug-strcasestr1.c (do_test): Moved to ...
15896 * string/test-strcasestr.c (check1): Here. New function.
15897 (do_one_test): Break out result checking code into ...
15898 (check_result): This. New function.
15899 (do_one_test): Call check_result.
15900 (test_main): Call check1.
15901 * string/bug-strchr1.c (do_test): Moved to ...
15902 * string/test-strchr.c (check1): Here. New function.
15903 (do_one_test): Break out result checking code into ...
15904 (check_result): This. New function.
15905 (do_one_test): Call check_result.
15906 (test_main): Call check1.
15907 * string/bug-strstr1.c (main): Moved to ...
15908 * string/test-strstr.c (check1): Here. New function.
15909 (do_one_test): Break out result checking code into ...
15910 (check_result): This. New function.
15911 (do_one_test): Call check_result.
15912 (test_main): Call check1.
15913 * string/bug-strcasestr1.c: Removed.
15914 * string/bug-strchr1.c: Likewise.
15915 * string/bug-strstr1.c: Likewise.
15917 * elf/Makefile (dl-routines): Add hwcaps.
15918 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15919 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15920 (_dl_important_hwcaps): Moved to ...
15921 * elf/dl-hwcaps.c: Here. New file.
15922 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15925 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15926 if IS_IN_rtld isn't defined.
15928 * elf/dl-support.c (_dl_sysinfo_map): New.
15929 Include "get-dynamic-info.h" and "setup-vdso.h".
15930 (_dl_non_dynamic_init): Call setup_vdso.
15931 * elf/dynamic-link.h: Don't include <assert.h>.
15932 (elf_get_dynamic_info): Moved to ...
15933 * elf/get-dynamic-info.h: Here. New file.
15934 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15935 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15936 * elf/setup-vdso.h: Here. New file.
15937 * elf/rtld.c: Include "setup-vdso.h".
15938 (dl_main): Call setup_vdso.
15940 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15942 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15943 creal in comment listing functions tested. List finite, isinf,
15944 isnan, isless, islessequal, isgreater, isgreaterequal,
15945 islessgreater, isunordered, lgamma_r and pow10 as functions and
15946 macros not tested. Mention which functions not tested are aliases
15947 for other functions. Fix typo. Note that signs of NaNs are not
15950 * scripts/config.guess: Update from config.git.
15951 * scripts/config.sub: Likewise.
15953 2012-10-04 Roland McGrath <roland@hack.frob.com>
15955 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15956 * misc/madvise.c (madvise): Renamed to __madvise.
15957 Make madvise a weak alias.
15958 * include/sys/mman.h: Declare __madvise.
15959 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15960 * sysdeps/unix/syscalls.list
15961 (madvise): Make __madvise the strong name, and madvise a weak alias.
15962 * sysdeps/unix/sysv/linux/syscalls.list
15963 (madvise, mmap): Remove redundant entries.
15964 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15965 * malloc/malloc.c (mtrim): Likewise.
15966 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15968 2012-10-03 Roland McGrath <roland@hack.frob.com>
15970 * sysdeps/mach/hurd/dl-cache.c: File removed.
15971 * config.h.in (USE_LDCONFIG): New #undef.
15972 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15973 * configure: Regenerated.
15974 * elf/Makefile (dl-routines): Add dl-cache only under
15975 [$(use-ldconfig) = yes].
15976 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15977 cache on [USE_LDCONFIG].
15978 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15980 * elf/rtld.c (dl_main): Likewise.
15982 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15984 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15985 _SC_LEVEL4_CACHE_LINESIZE.
15987 2012-10-03 Roland McGrath <roland@hack.frob.com>
15989 * sysdeps/unix/bsd/confstr.h: File removed.
15991 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15993 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15996 2012-10-02 Roland McGrath <roland@hack.frob.com>
15998 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15999 Make 'mapoff' field ElfW(Off) rather than off_t.
16001 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16003 * nscd/Makefile: Remove nscd-cflags and all its users.
16004 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16005 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16008 * malloc.c (malloc_printerr): Clarify error message.
16010 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16014 Set bit_FMA_Usable if FMA is supported.
16015 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16017 (bit_FMA4_Usable): Updated.
16018 (index_FMA_Usable): New macro.
16019 (CPUID_FMA): Likewise
16020 (HAS_FMA): Defined with bit_FMA_Usable.
16022 2012-10-01 Roland McGrath <roland@hack.frob.com>
16024 * bits/types.h (__swblk_t): Type removed.
16025 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16026 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16028 (__SWBLK_T_TYPE): Likewise.
16029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16030 (__SWBLK_T_TYPE): Likewise.
16031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16032 (__SWBLK_T_TYPE): Likewise.
16033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16034 (__SWBLK_T_TYPE): Likewise.
16036 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
16037 Honza Horak <hhorak@redhat.com>
16039 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16040 (xdr_mapname): Use YPMAXMAP as maxsize.
16041 (xdr_peername): Use YPMAXPEER as maxsize.
16042 (xdr_keydat): Use YPAXRECORD as maxsize.
16043 (xdr_valdat): Use YPMAXRECORD as maxsize.
16045 2012-10-01 Roland McGrath <roland@hack.frob.com>
16047 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16049 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16050 * csu/init-first.c: ... here.
16051 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16052 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16053 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16055 * sysdeps/i386/init-first.c: File removed.
16056 * sysdeps/sh/init-first.c: File removed.
16058 2012-10-01 Joseph Myers <joseph@codesourcery.com>
16061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16062 if x * y might underflow to zero and z is zero.
16063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16064 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16065 * math/libm-test.inc (min_subnorm_value): New variable.
16066 (fma_test): Add more tests.
16067 (fma_test_towardzero): Likewise.
16068 (fma_test_downward): Likewise
16069 (fma_test_upward): Likewise.
16070 (initialize): Set min_subnorm_value.
16072 2012-09-29 Joseph Myers <joseph@codesourcery.com>
16075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16077 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16078 mode for addition resulting in exact zero.
16079 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16084 * math/libm-test.inc (fma_test): Add more tests.
16085 (fma_test_towardzero): New function.
16086 (fma_test_downward): Likewise.
16087 (fma_test_upward): Likewise.
16088 (main): Call the new functions.
16090 2012-09-28 David S. Miller <davem@davemloft.net>
16092 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16094 2012-09-28 Roland McGrath <roland@hack.frob.com>
16096 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16097 instead of SIGALRM.
16099 * sysdeps/gnu/_G_config.h: Moved to ...
16100 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16101 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16102 * sysdeps/generic/_G_config.h: ... here.
16104 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16106 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16108 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16109 Conditionalize target on [libnss_test1.so-version].
16111 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16113 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16114 (elfobjdir): Move out of conditionals.
16116 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16117 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16118 (__nss_lookup_function): Conditionalize label remove_from_tree on
16119 [!DO_STATIC_NSS || SHARED], matching its only use.
16121 2012-09-28 David S. Miller <davem@davemloft.net>
16123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16124 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16126 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16128 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16130 when HWCAP_SPARC_CRYPTO is present.
16132 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16134 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16136 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16139 * stdio-common/vfprintf.c (process_string_arg): Revert
16142 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16144 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16146 * stdio-common/tst-sprintf.c: Include <locale.h>
16147 (main): Test sprintf's handling of incomplete multibyte
16150 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16152 * elf/dl-runtime.c (VERSYMIDX): Removed.
16153 * elf/dl-version.c (VERSYMIDX): Likewise.
16154 * elf/do-rel.h (VERSYMIDX): Likewise.
16155 (VALIDX): Likewise.
16156 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16157 * elf/rtld.c (VALIDX): Likewise.
16158 (ADDRIDX): Likewise.
16159 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16160 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16161 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16162 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16163 (VALIDX): Likewise.
16164 (ADDRIDX): Likewise.
16166 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16168 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16170 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16173 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16175 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16176 addresses are in the same scope as 192.0.2/24.
16177 * posix/gai.conf: Document new scope table defaults.
16179 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16182 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16183 for ftell. Compute offsets from write pointers instead.
16184 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16186 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16189 * libio/Makefile (tests): New test case tst-fseek.
16190 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16191 combination works in wide mode.
16192 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16193 state when the external buffer state changes.
16195 2012-09-27 David S. Miller <davem@davemloft.net>
16198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16199 pass reloc->r_addend in as the 'high' argument to
16200 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16204 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16206 * rt/tst-aio2.c: Include <pthread.h>.
16207 * rt/tst-aio3.c: Likewise.
16209 2012-09-27 Steve Ellcey <sellcey@mips.com>
16211 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16213 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16215 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16216 contents on [SHARED].
16218 2012-09-26 Marek Polacek <polacek@redhat.com>
16222 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16223 for C++ and GCC <4.3 as well as for non GCC compilers.
16225 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16229 2012-09-25 Roland McGrath <roland@hack.frob.com>
16231 * Makefile.in (all, install): Declare with .PHONY.
16232 Reported by Michael Hope <michael.hope@linaro.org>.
16234 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16236 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16237 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16239 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16241 (sydep_routines): Add the new and the internal functions.
16242 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16243 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16245 (GLIBC_2.17): Add the new function.
16246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16247 (GLIBC_2.17): Likewise.
16248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16249 (GLIBC_2.17): Likewise.
16250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16251 (GLIBC_2.17): Likewise.
16252 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16254 2012-09-25 Alan Modra <amodra@gmail.com>
16256 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16257 Add release barrier before setting once_control to say
16258 initialisation is done. Add hints on lwarx. Use macro in
16260 (clear_once_control): Add release barrier.
16262 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16265 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16267 * math/s_clog10.c (__clog10): Likewise.
16268 * math/s_clog10f.c (__clog10f): Likewise.
16269 * math/s_clog10l.c (__clog10l): Likewise.
16270 * math/s_clogf.c (__clogf): Likewise.
16271 * math/s_clogl.c (__clogl): Likewise.
16272 * math/Makefile (libm-calls): Add x2y2m1.
16273 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16274 (__x2y2m1): Likewise.
16275 (__x2y2m1l): Likewise.
16276 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16277 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16278 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16280 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16281 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16282 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16283 * sysdeps/i386/fpu/libm-test-ulps: Update.
16284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16287 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16288 int as type of variable DEPTH.
16289 (glob): Use size_t instead of int as type of variables NEWCOUNT
16292 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16294 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16295 Add s_sincosf-sse2.
16296 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16297 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16298 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16299 macros for using routine as __sincosf_ia32.
16300 Use macro for function declaration and weak_alias.
16301 * sysdeps/i386/fpu/libm-test-ulps: Update.
16303 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16306 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16307 subnormal argument.
16308 * math/s_cexpf.c (__cexpf): Likewise.
16309 * math/s_csinf.c (__csinf): Likewise.
16310 * math/s_csinhf.c (__csinhf): Likewise.
16311 * math/s_ctanf.c (__ctanf): Likewise.
16312 * math/s_ctanhf.c (__ctanhf): Likewise.
16313 * math/s_ccosh.c (__ccoshf): Likewise.
16314 * math/s_cexp.c (__cexpl): Likewise.
16315 * math/s_csin.c (__csin): Likewise.
16316 * math/s_csinh.c (__csinh): Likewise.
16317 * math/s_ctan.c (__ctan): Likewise.
16318 * math/s_ctanh.c (ctanh): Likewise.
16319 * math/s_ccoshl.c (__ccoshl): Likewise.
16320 * math/s_cexpl.c (__cexpl): Likewise.
16321 * math/s_csinl.c (__csinl): Likewise.
16322 * math/s_csinhl.c (__csinhl): Likewise.
16323 * math/s_ctanl.c (__ctanl): Likewise.
16324 * math/s_ctanhl.c (__ctanhl): Likewise.
16326 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16328 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16329 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16330 (_IO_off_t): Define to __off_t, not _G_off_t.
16331 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16332 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16333 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16334 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16335 type of __dummy and __dummy2 fields.
16336 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16337 (_G_ssize_t): Likewise.
16338 (_G_off_t): Likewise.
16339 (_G_pid_t): Likewise.
16340 (_G_uid_t): Likewise.
16341 (_G_wchar_t): Likewise.
16342 (_G_wint_t): Likewise.
16343 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16344 (_G_ssize_t): Likewise.
16345 (_G_off_t): Likewise.
16346 (_G_pid_t): Likewise.
16347 (_G_uid_t): Likewise.
16348 (_G_wchar_t): Likewise.
16349 (_G_wint_t): Likewise.
16350 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16351 (_G_ssize_t): Likewise.
16352 (_G_off_t): Likewise.
16353 (_G_pid_t): Likewise.
16354 (_G_uid_t): Likewise.
16355 (_G_wchar_t): Likewise.
16356 (_G_wint_t): Likewise.
16358 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16360 * malloc/arena.c: Include malloc-sysdep.h.
16361 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16362 is sufficient to shrink the heap or an unmap is needed.
16363 * sysdeps/generic/malloc-sysdep.h: New file. Define
16364 new function check_may_shrink_heap.
16365 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16366 new function check_may_shrink_heap.
16368 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16370 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16373 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16375 * catgets/test-gencat.sh: Add "set -e".
16376 * elf/tst-pathopt.sh: Likewise.
16377 * grp/tst_fgetgrent.sh: Likewise.
16378 * iconvdata/run-iconv-test.sh: Likewise.
16379 * intl/tst-gettext.sh: Likewise.
16380 * intl/tst-gettext2.sh: Likewise.
16381 * intl/tst-gettext4.sh: Likewise.
16382 * intl/tst-gettext6.sh: Likewise.
16383 * intl/tst-translit.sh: Likewise.
16384 * io/ftwtest-sh: Likewise.
16385 * libio/test-freopen.sh: Likewise.
16386 * malloc/tst-mtrace.sh: Likewise.
16387 * posix/globtest.sh: Likewise.
16388 * posix/tst-getconf.sh: Likewise.
16389 * posix/wordexp-tst.sh: Likewise.
16390 * stdio-common/tst-printf.sh: Likewise.
16391 * stdio-common/tst-unbputc.sh: Likewise.
16392 * stdlib/tst-fmtmsg.sh: Likewise.
16393 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16394 * catgets/Makefile: Do not specify -e option when running
16395 testsuite shell scripts.
16396 * elf/Makefile: Likewise.
16397 * grp/Makefile: Likewise.
16398 * iconvdata/Makefile: Likewise.
16399 * intl/Makefile: Likewise.
16400 * io/Makefile: Likewise.
16401 * libio/Makefile: Likewise.
16402 * malloc/Makefile: Likewise.
16403 * posix/Makefile: Likewise.
16404 * stdio-common/Makefile: Likewise.
16405 * stdlib/Makefile: Likewise.
16406 * sysdeps/x86_64/Makefile: Likewise.
16408 * io/ftwtest-sh: Add copyright header.
16409 * posix/globtest.sh: Likewise.
16410 * posix/tst-getconf.sh: Likewise.
16411 * posix/wordexp-tst.sh: Likewise.
16412 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16414 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16417 * Makeconfig (+link): Defined as $(+link-static) if
16418 $(build-shared) isn't yes.
16419 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16421 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16423 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16426 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16427 new chunk size with MALLOC_ALIGN_MASK.
16429 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16432 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16434 (__printf_fphex): Determine rounding using get_rounding_mode and
16436 * stdio-common/tst-printf-round.c (struct hex_test): New
16438 (hex_tests): New variable.
16439 (test_hex_in_one_mode): New function.
16440 (do_test): Also run tests for hex float output.
16442 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16444 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16445 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16446 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16447 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16448 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16449 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16450 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16451 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16453 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16455 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16456 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16457 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16458 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16460 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16463 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16465 * elf/tst-rtld-load-self.sh: New test.
16466 * elf/Makefile: Run it.
16468 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16470 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16471 (tst-writev-ENV): Remove.
16472 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16474 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16476 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16478 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16480 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16482 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16484 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16485 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16486 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16489 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16492 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16493 * config.make.in (have-cpp-asm-debuginfo): Removed.
16494 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16495 * configure: Regenerated.
16497 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16500 * stdio-common/printf_fp.c: Include <stdbool.h> and
16502 (___printf_fp): Determine rounding using get_rounding_mode and
16504 * stdio-common/tst-printf-round.c: New file.
16505 * stdio-common/Makefile (tests): Add tst-printf-round.
16506 (link-libm): New variable.
16507 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16509 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16512 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16513 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16515 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16518 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16520 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16521 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16522 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16523 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16525 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16528 * include/rounding-mode.h: New file.
16529 * sysdeps/generic/get-rounding-mode.h: Likewise.
16530 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16531 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16532 (MAX_VALUE): New macro.
16533 (MIN_VALUE): Likewise.
16534 (overflow_value): New function.
16535 (underflow_value): Likewise.
16536 (round_and_return): Use overflow_value and underflow_value to
16537 determine return values in overflow and underflow cases. Use
16538 round_away to determine rounding depending on rounding mode.
16539 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16540 determine return values in overflow and underflow cases.
16541 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16542 (struct test_results): New structure.
16543 (struct test): Use struct test_results to store expected results
16544 for all rounding modes.
16545 (TEST): Include expected results for all rounding modes.
16546 (test_in_one_mode): New function.
16547 (do_test): Use test_in_one_mode to compute and check results.
16548 Check results for all rounding modes.
16549 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16552 2012-12-09 Allan McRae <allan@archlinux.org>
16554 * sysdeps/i386/fpu/libm-test-ulps: Update
16556 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16558 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16559 (_G_int32_t): Likewise.
16560 (_G_uint16_t): Likewise.
16561 (_G_uint32_t): Likewise.
16562 (_G_HAVE_BOOL): Likewise.
16563 (_G_HAVE_ATEXIT): Likewise.
16564 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16565 (_G_HAVE_IO_FILE_OPEN): Likewise.
16566 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16567 (_G_int32_t): Likewise.
16568 (_G_uint16_t): Likewise.
16569 (_G_uint32_t): Likewise.
16570 (_G_HAVE_BOOL): Likewise.
16571 (_G_HAVE_ATEXIT): Likewise.
16572 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16573 (_G_HAVE_IO_FILE_OPEN): Likewise.
16574 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16575 (_G_int32_t): Likewise.
16576 (_G_uint16_t): Likewise.
16577 (_G_uint32_t): Likewise.
16578 (_G_HAVE_BOOL): Likewise.
16579 (_G_HAVE_ATEXIT): Likewise.
16580 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16581 (_G_HAVE_IO_FILE_OPEN): Likewise.
16583 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16585 * csu/libc-tls.c: Update copyright years.
16587 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16589 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16590 [!_G_USING_THUNKS]: Remove conditional code.
16591 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16592 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16594 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16595 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16596 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16597 (_G_VTABLE_LABEL_PREFIX): Likewise.
16598 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16599 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16600 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16601 (_G_VTABLE_LABEL_PREFIX): Likewise.
16602 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16603 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16604 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16605 (_G_VTABLE_LABEL_PREFIX): Likewise.
16606 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16608 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16610 * libio/Makefile: Include ../Makeconfig before tests.
16611 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16612 only if $(build-shared) is yes.
16614 * iconv/gconv_db.c: Update copyright years.
16616 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16618 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16619 unwind info if defined PIC. Fix special cases description.
16620 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16622 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16624 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16626 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16628 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16630 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16633 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16634 (LDLIBS-tst-chk4): This.
16635 (LDFLAGS-tst-chk5): Renamed to ...
16636 (LDLIBS-tst-chk5): This.
16637 (LDFLAGS-tst-chk6): Renamed to ...
16638 (LDLIBS-tst-chk6): This.
16639 (LDFLAGS-tst-lfschk4): Renamed to ...
16640 (LDLIBS-tst-lfschk4): This.
16641 (LDFLAGS-tst-lfschk5): Renamed to ...
16642 (LDLIBS-tst-lfschk5): This.
16643 (LDFLAGS-tst-lfschk6): Renamed to ...
16644 (LDLIBS-tst-lfschk6): This.
16646 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16647 on $(common-objpfx)soversions.mk.
16649 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16652 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16655 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16657 * malloc/arena.c (arena_get_retry): New function that gets
16658 another arena for the caller to try its request on.
16659 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16660 current arena cannot fulfill the request.
16661 (__libc_memalign): Likewise.
16662 (__libc_memalign): Likewise.
16663 (__libc_pvalloc): Likewise.
16664 (__libc_calloc): Likewise.
16666 2012-09-05 John Tobey <john.tobey@gmail.com>
16669 * manual/arith.texi (Operations on Complex): Fix description
16670 of carg branch cut.
16672 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16675 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16679 * manual/memory.texi (Memory): Make order of menu items match
16682 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16684 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16685 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16686 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16688 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16690 * csu/libc-tls.c (static_dtv): Renamed to ...
16691 (_dl_static_dtv): This. Make it global.
16692 (_dl_initial_dtv): Removed.
16693 (__libc_setup_tls): Updated.
16694 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16695 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16698 2012-09-06 Petr Machata <pmachata@redhat.com>
16700 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16701 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16702 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16703 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16705 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16708 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16709 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16712 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16715 * Makeconfig (link-static-before-libc): Replace $(+prector)
16717 (link-static-after-libc): Replace $(+postctor) with
16719 (link-bounded): Replace $(+prector)/$(+postctor) with
16720 $(+prectorT)/$(+postctorT).
16721 (+prectorT): New macro.
16722 (+postctorT): Likewise.
16724 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16726 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16727 (round_str): Handle values above the maximum for IBM long double
16729 * stdlib/tst-strtod-round.c (tests): Regenerated.
16731 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16733 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16735 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16736 zarch_nohighgprs around the zarch optimized routines.
16737 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16738 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16739 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16742 2012-09-05 David S. Miller <davem@davemloft.net>
16744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16746 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16747 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16748 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16749 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16752 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16754 * malloc/arena.c: Fold copyright years.
16755 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16757 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16759 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16761 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16763 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16765 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16767 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16768 change internal state upon failure.
16770 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16772 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16773 * malloc/memusage.c (mmap): Likewise.
16774 (mmap64, mremap): Likewise. Adjust name in comment.
16776 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16778 * libio/fileops.c: Fix typos in comments.
16779 * libio/oldfileops.c: Likewise.
16780 * libio/wfileops.c: Likewise.
16782 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16785 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16786 (tst-malloc-usable-ENV): Set environment for test case.
16787 * malloc/hooks.c (malloc_check_get_size): New function to get
16789 * malloc/malloc.c (musable): Use malloc_check_get_size.
16790 * malloc/tst-malloc-usable.c: New test case.
16792 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16794 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16796 2012-09-05 Allan McRae <allan@archlinux.org>
16799 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16800 determine header location.
16801 * configure: Regenerated.
16803 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16805 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16807 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16808 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16810 (test): Regenerate.
16812 2012-09-04 David S. Miller <davem@davemloft.net>
16814 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16815 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16816 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16818 2012-09-04 Florian Weimer <fweimer@redhat.com>
16820 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16823 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16825 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16828 * libio/iogetdelim.c: Include <limits.h>.
16829 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16830 + len + 1 would overflow.
16832 2012-09-03 Andreas Jaeger <aj@suse.de>
16834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16835 * sysdeps/i386/fpu/libm-test-ulps: Update.
16837 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16839 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16840 Add s_sinf-sse2, s_conf-sse2.
16842 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16843 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16844 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16845 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16847 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16848 for using routine as __sinf_ia32.
16849 Use macro for function declaration and weak_alias.
16850 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16851 for using routine as __cosf_ia32.
16852 Use macro for function declaration and weak_alias.
16854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16855 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16857 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16858 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16861 * math/libm-test.inc (cos_test): Add more test cases.
16862 (sin_test): Likewise.
16863 (sincos_test): Likewise.
16865 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16867 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16868 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16870 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16872 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16875 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16876 first element of the GOT.
16877 (elf_machine_load_address): Return the difference between
16878 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16880 2012-09-01 Allan McRae <allan@archlinux.org>
16883 * configure.in (AWK): Require gawk version 3.0 or later.
16884 * configure: Regenerated.
16886 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16888 * sysdeps/unix/sysv/linux/kernel-features.h
16889 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16890 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16891 [__NR_clock_getres]: Make code unconditional.
16892 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16893 (clock_getcpuclockid): Remove code left unreachable by removal of
16895 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16896 code unconditional.
16897 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16898 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16899 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16900 Make code unconditional.
16901 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16902 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16903 * sysdeps/unix/sysv/linux/clock_settime.c
16904 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16906 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16907 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16909 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16912 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16913 scripts/test-installation.pl.
16915 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16916 and $ld_so_version if it is set.
16918 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16921 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16922 failure if reading from procfs failed.
16923 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16925 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16927 * sysdeps/unix/sysv/linux/kernel-features.h
16928 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16929 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16930 Remove conditional code.
16931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16932 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16933 Remove conditional code.
16934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16935 * sysdeps/unix/sysv/linux/i386/fxstat.c
16936 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16938 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16939 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16941 * sysdeps/unix/sysv/linux/i386/lxstat.c
16942 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16943 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16944 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16945 Remove conditional code.
16946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16947 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16948 Remove conditional code.
16949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16950 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16951 <kernel-features.h>.
16952 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16954 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16955 Remove conditional code.
16956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16957 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16958 Remove conditional.
16960 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16963 * NEWS: Add fixed bug number.
16965 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16968 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16969 underflowing exponent in case of negative sign.
16970 * stdlib/tst-strtod-round-data: Add more tests.
16971 * stdlib/tst-strtod-round.c (tests): Regenerated.
16974 * stdlib/strtod_l.c (NDIG): Remove.
16975 (HEXNDIG): Likewise.
16976 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16977 smallest representable value.
16978 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16979 lie within an exact representation of 1/2 ulp of the result.
16980 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16982 (TENS_P9_IDX): Define unconditionally.
16983 (TENS_P9_SIZE): Likewise.
16984 (TENS_P10_IDX): Likewise.
16985 (TENS_P10_SIZE): Likewise.
16986 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16987 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16988 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16989 entries for 10^2^13 and 10^2^14.
16990 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16991 (TENS_P13_IDX): Define.
16992 (TENS_P13_SIZE): Likewise.
16993 (TENS_P14_IDX): Likewise.
16994 (TENS_P14_SIZE): Likewise.
16995 (_fpioconst_pow10): Change array size to
16996 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16998 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16999 1024]: Add entries for 10^2^13 and 10^2^14.
17000 [LAST_POW10 > _LAST_POW10]: Remove #error.
17001 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17002 (_fpioconst_pow10): Change array size to
17003 FPIOCONST_POW10_ARRAY_SIZE.
17004 * stdlib/gen-fpioconst.c: New file.
17005 * stdlib/gen-tst-strtod-round.c: Likewise.
17006 * stdlib/tst-strtod-round-data: Likewise.
17007 * stdlib/tst-strtod-round.c: Likewise.
17008 * stdlib/Makefile (tests): Add tst-strtod-round.
17011 * stdlib/strtod_l.c: Include <stdint.h>.
17012 (NDEBUG): Do not define.
17013 (round_and_return): Change EXPONENT parameter to type intmax_t.
17014 Rearrange calculations to avoid internal overflow possibilities.
17015 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17016 Rearrange calculations to avoid internal overflow possibilities.
17017 Assert that number fits inside MPNSIZE limbs.
17018 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17019 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17020 calculations and add assertions to avoid internal overflow
17021 possibilities. Add casts to avoid signed/unsigned operations.
17022 * stdlib/tst-strtod-overflow.c: New file.
17023 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17025 2012-08-25 Marek Polacek <polacek@redhat.com>
17027 * time/time.h: Fix some typos in comments.
17029 2012-08-23 Roland McGrath <roland@hack.frob.com>
17031 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17032 * posix/tst-rfc3484-2.c: Likewise.
17033 * posix/tst-rfc3484-3.c: Likewise.
17035 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17037 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17038 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17040 2012-08-23 Joseph Myers <joseph@codesourcery.com>
17042 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17043 #include of fxstatat64.c.
17045 2012-08-22 Roland McGrath <roland@hack.frob.com>
17047 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17048 * shadow/getspent_r.c: Likewise.
17049 * shadow/getspnam.c: Likewise.
17050 * shadow/getspnam_r.c: Likewise.
17051 * gshadow/getsgent.c: Likewise.
17052 * gshadow/getsgent_r.c: Likewise.
17053 * gshadow/getsgnam.c: Likewise.
17054 * gshadow/getsgnam_r.c: Likewise.
17055 * inet/getnetbyad.c: Likewise.
17056 * inet/getnetbyad_r.c: Likewise.
17057 * inet/getnetbynm.c: Likewise.
17058 * inet/getnetbynm_r.c: Likewise.
17059 * inet/getnetent.c: Likewise.
17060 * inet/getnetent_r.c: Likewise.
17061 * inet/getproto.c: Likewise.
17062 * inet/getproto_r.c: Likewise.
17063 * inet/getprtent.c: Likewise.
17064 * inet/getprtent_r.c: Likewise.
17065 * inet/getprtname.c: Likewise.
17066 * inet/getprtname_r.c: Likewise.
17067 * inet/getrpcbyname.c: Likewise.
17068 * inet/getrpcbyname_r.c: Likewise.
17069 * inet/getrpcbynumber.c: Likewise.
17070 * inet/getrpcbynumber_r.c: Likewise.
17071 * inet/getrpcent.c: Likewise.
17072 * inet/getrpcent_r.c: Likewise.
17073 * inet/getaliasent.c: Likewise.
17074 * inet/getaliasent_r.c: Likewise.
17075 * inet/getaliasname.c: Likewise.
17076 * inet/getaliasname_r.c: Likewise.
17077 * nscd/getgrgid_r.c: Likewise.
17078 * nscd/getgrnam_r.c: Likewise.
17079 * nscd/gethstbyad_r.c: Likewise.
17080 * nscd/gethstbynm3_r.c: Likewise.
17081 * nscd/getpwnam_r.c: Likewise.
17082 * nscd/getpwuid_r.c: Likewise.
17083 * nscd/getsrvbynm_r.c: Likewise.
17084 * nscd/getsrvbypt_r.c: Likewise.
17085 * nscd/gai.c: Likewise.
17087 * configure.in (build_nscd): New substituted variable, set
17088 by --disable-build-nscd and defaults to $use_nscd.
17089 * configure: Regenerated.
17090 * config.make.in (build-nscd): New substituted variable.
17091 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17092 Change conditional to require [$(build-nscd) = yes] as well.
17093 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17096 * configure.in (use_nscd): New substituted variable, set by
17097 --disable-nscd. If enabled, define USE_NSCD.
17098 * configure: Regenerated.
17099 * config.h.in: Add USE_NSCD.
17100 * config.make.in (use-nscd): New substituted variable.
17101 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17102 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17103 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17104 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17105 (CFLAGS-getgrnam_r.c): Likewise.
17106 (CFLAGS-initgroups.c): Likewise.
17107 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17108 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17110 * inet/getnetgrent_r.c
17111 (nscd_setnetgrent): New function, broken out of ...
17112 (setnetgrent): ... here. Call it.
17113 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17114 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17115 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17116 * nscd/Makefile (routines, aux): Move definitions after include of
17117 Makeconfig. Conditionalize on [$(use-nscd) != no].
17118 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17119 Conditionalize on [USE_NSCD].
17120 (is_nscd, nscd_init_cb): Likewise.
17121 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17122 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17123 * nss/nss_db/db-init.c: Likewise.
17124 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17126 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17127 (make_request): Use it.
17128 (cache_valid_p): New function.
17129 (__check_pf): Use it.
17130 * NEWS: Add item for --disable-nscd.
17132 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17134 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17135 to support sed >= 4.2.1-20-ga9bf076.
17136 * configure: Regenerated.
17138 2012-08-22 Roland McGrath <roland@hack.frob.com>
17140 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17141 Conditionalize whole body on [IREL].
17143 2012-08-22 Jeff Law <law@redhat.com>
17146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17147 if the family is PF_UNSPEC.
17149 2012-08-22 Mike Frysinger <vapier@gentoo.org>
17151 * Makerules (lib-version): Rename from V.
17152 (install-lib-nosubdir): Change V to lib-version.
17154 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17157 * powerpc32/power6/wcschr.c: New file.
17158 * powerpc32/power6/wcscpy.c: New file.
17159 * powerpc32/power6/wcsrchr.c: New file.
17160 * powerpc64/power6/wcschr.c: New file.
17161 * powerpc64/power6/wcscpy.c: New file.
17162 * powerpc64/power6/wcsrchr.c: New file.
17164 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17166 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17167 (two_way_short_needle): Use it.
17168 * string/strstr.c (AVAILABLE1_USES_J): Define.
17169 * string/strcasestr.c: Likewise.
17171 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17173 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17176 * NEWS: Add an entry.
17177 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17178 define their defaults.
17179 (two_way_short_needle): Detect end-of-string on-the-fly.
17180 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17181 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17182 * string/bug-strcasestr1.c: New test.
17183 * string/Makefile: Run it.
17185 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17188 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17189 the first character.
17191 2012-08-21 Roland McGrath <roland@hack.frob.com>
17193 * csu/elf-init.c (__libc_csu_irel): Function removed.
17194 * csu/libc-start.c (apply_irel): New function.
17195 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17197 2012-08-21 Joseph Myers <joseph@codesourcery.com>
17199 * sysdeps/unix/sysv/linux/kernel-features.h
17200 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17201 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17202 <kernel-features.h>.
17203 [__NR_fadvise64_64]: Make code unconditional.
17204 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17205 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17206 !__NR_fadvise64_64)]: Likewise.
17207 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17208 !__NR_fadvise64_64))]: Likewise.
17209 [__NR_fadvise64]: Make code unconditional.
17210 [!__NR_fadvise64]: Remove conditional code.
17211 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17212 <kernel-features.h>.
17213 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17215 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17218 not include <kernel-features.h>.
17219 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17221 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17223 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17224 include <kernel-features.h>.
17225 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17227 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17230 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17232 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17233 slight instruction rearrangements per scrollpipe analysis.
17234 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17236 2012-08-20 Roland McGrath <roland@hack.frob.com>
17238 * manual/syslog.texi (syslog; vsyslog, closelog):
17239 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17240 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17242 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17243 DSOCAPS to match condition on defining it.
17245 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17247 * sysdeps/unix/sysv/linux/kernel-features.h
17248 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17250 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17251 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17253 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17254 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17256 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17257 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17259 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17260 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17262 * sysdeps/unix/sysv/linux/kernel-features.h
17263 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17264 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17266 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17267 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17268 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17269 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17270 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17271 Make code unconditional.
17272 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17273 (__mmap64) [!__NR_mmap2]: Likewise.
17274 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17275 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17276 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17277 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17278 [__NR_mmap2]: Make code unconditional.
17279 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17280 (__mmap64) [!__NR_mmap2]: Likewise.
17282 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17284 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17286 2012-08-18 Andreas Jaeger <aj@suse.de>
17288 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17290 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17292 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17293 * include/unistd.h (__have_sock_cloexec): Likewise.
17294 (__have_pipe2): Likewise.
17295 (__have_dup3): Likewise.
17297 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17300 * include/unistd.h (__have_pipe2): Change define into an extern int.
17301 (__have_dup3): Likewise.
17302 * socket/have_sock_cloexec.c: Include fcntl.h.
17303 (__have_pipe2): New variable.
17304 (__have_dup3): Likewise.
17306 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17308 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17310 2012-08-17 Marek Polacek <polacek@redhat.com>
17312 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17313 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17315 2012-08-17 Roland McGrath <roland@hack.frob.com>
17317 * configure.in: Add AC_SUBST for sysheaders.
17318 * configure: Regenerated.
17319 * config.make.in (sysheaders): New substituted variable.
17321 * sysdeps/unix/mkfifo.c: Moved ...
17322 * sysdeps/posix/mkfifo.c: ... here.
17323 * sysdeps/unix/mkfifoat.c: Moved ...
17324 * sysdeps/posix/mkfifoat.c: ... here.
17326 * sysdeps/unix/utime.c: Moved ...
17327 * sysdeps/posix/utime.c: ... here.
17329 * sysdeps/unix/time.c: Moved ...
17330 * sysdeps/posix/time.c: ... here.
17331 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17332 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17334 * sysdeps/unix/nice.c: Moved ...
17335 * sysdeps/posix/nice.c: ... here.
17337 * sysdeps/unix/alarm.c: Moved ...
17338 * sysdeps/posix/alarm.c: ... here.
17340 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17342 2012-08-17 Jeff Law <law@redhat.com>
17344 * intl/Makefile (codeset_mo): New variable.
17345 ($(codeset_mo)): New target.
17346 (tst-codeset.out): Depend on that. Remove explicit rule.
17347 (tst-gettext3.out, tst-gettext5.out): Likewise.
17348 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17349 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17350 * intl/tst-codeset.sh: Remove.
17351 * intl/tst-gettext3.sh: Likewise.
17352 * intl/tst-gettext5.sh: Likewise.
17354 2012-08-17 Roland McGrath <roland@hack.frob.com>
17356 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17357 * sysdeps/unix/syscalls.list: ... here.
17359 * sysdeps/posix/getaddrinfo.c
17360 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17361 (gaiconf_init, gaiconf_reload): Use them.
17362 [!_STATBUF_ST_NSEC]
17363 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17364 Define using time_t rather than struct timespec.
17366 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17367 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17369 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17371 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17372 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17375 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17376 __libc_cleanup_push argument.
17378 * bits/param.h: New file.
17379 * misc/sys/param.h: New file.
17380 * include/sys/param.h: New file.
17381 * misc/Makefile (headers): Add bits/param.h.
17382 * sysdeps/generic/sys/param.h: File removed.
17383 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17384 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17385 * sysdeps/mach/hurd/bits/param.h: New file.
17386 * sysdeps/mach/hurd/sys/param.h: File removed.
17388 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17391 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17393 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17394 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17397 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17398 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17399 rather than -D_IO_MTSAFE_IO conditionally.
17400 * stdio-common/Makefile (CPPFLAGS): Likewise.
17401 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17402 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17403 Use $(libio-mtsafe).
17404 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17405 of -D_IO_MTSAFE_IO.
17406 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17407 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17408 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17409 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17410 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17411 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17412 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17413 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17414 (CFLAGS-fread_u_chk.c): Likewise.
17415 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17416 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17417 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17418 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17419 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17420 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17421 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17422 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17423 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17425 * libio/Makefile: Test [$(libc-reentrant) = yes]
17426 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17429 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17430 * sysdeps/pthread/configure: File removed.
17431 * sysdeps/pthread/Makeconfig: New file.
17432 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17433 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17435 2012-08-16 Gary Benson <gbenson@redhat.com>
17437 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17438 unmapping the first object in a namespace.
17440 2012-08-16 Roland McGrath <roland@hack.frob.com>
17442 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17443 (__internal_setnetgrent): ... this. Add internal_function to
17444 definition. Add libc_hidden_def.
17445 (setnetgrent): Update caller.
17446 (internal_endnetgrent): Renamed to ...
17447 (__internal_endnetgrent): ... this. Add internal_function to
17448 definition. Add libc_hidden_def.
17449 (endnetgrent): Update caller.
17450 (internal_getnetgrent_r): Renamed to ...
17451 (__internal_getnetgrent_r): ... this. Add internal_function to
17452 definition. Add libc_hidden_def.
17453 (__getnetgrent_r): Update caller.
17454 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17456 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17458 * stdlib/longlong.h: Update from GCC.
17460 2012-08-16 Roland McGrath <roland@hack.frob.com>
17462 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17463 on _QL, which is set by umul_ppmm but never used.
17464 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17465 variables, which are set by GMP macros but never used.
17466 * stdio-common/_itowa.c (_itowa): Likewise.
17467 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17468 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17470 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17472 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17473 struct La_sh_regs is not constant.
17474 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17475 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17476 and struct La_sparc64_regs are not constant.
17478 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17480 * sysdeps/unix/sysv/linux/kernel-features.h
17481 (__ASSUME_POSIX_TIMERS): Remove.
17482 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17483 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17484 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17485 Make code unconditional.
17486 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17487 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17488 Make code unconditional.
17489 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17490 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17491 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17492 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17493 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17494 Make code unconditional.
17495 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17496 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17497 (__libc_missing_posix_timers): Remove.
17499 2012-08-15 Roland McGrath <roland@hack.frob.com>
17501 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17502 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17504 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17506 * elf/dl-sym.c: Include <stdlib.h>.
17508 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17509 constants, which avoids warnings in 32-bit builds.
17511 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17512 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17514 * misc/lseek.c: File moved to ...
17515 * io/lseek.c: ... here.
17517 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17519 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17520 shifting LEN more than 31 bits at once.
17522 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17525 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17526 segmentation fault for a case of two empty input strings.
17527 * string/test-strncasecmp.c (check1): Renamed to...
17528 (bz12205): ...this.
17529 (bz14195): Add new testcase for two empty input strings and N > 0.
17530 (test_main): Call new testcase, adapt for renamed function.
17532 2012-08-15 Andreas Jaeger <aj@suse.de>
17535 * crypt/md5test2.c: New test, based on test supplied by Serge
17536 Belyshev <belyshev@depni.sinp.msu.ru>.
17537 * crypt/Makefile (xtests): Add md5test-giant..
17538 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17540 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17543 * crypt/md5.c (md5_process_block): Don't assume the buffer
17544 length is less than 2**32.
17545 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17546 length is less than 2**64.
17548 2012-08-15 Roland McGrath <roland@hack.frob.com>
17550 * string/str-two-way.h: Include <sys/param.h>.
17551 (MAX): Macro removed.
17553 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17554 Move #define and #undef of memmove to just before and after
17555 including <string.h>.
17557 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17558 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17559 and after including <string.h>. Move declarations of
17560 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17561 to before #include "string/memmove.c".
17563 * include/dirent.h: Declare __getdirentries.
17565 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17566 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17568 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17570 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17571 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17572 * sysdeps/i386/configure: Regenerated.
17573 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17574 STABS_CURRENT_FILE, and STABS_FUN.
17575 (END): Remove call to STABS_FUN_END.
17576 (STABS_CURRENT_FILE1): Delete.
17577 (STABS_CURRENT_FILE): Likewise.
17578 (STABS_FUN): Likewise.
17579 (STABS_FUN_END): Likewise.
17580 (STABS_FUN2): Likewise.
17581 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17582 * sysdeps/x86_64/configure: Regenerated.
17584 2012-08-14 Roland McGrath <roland@hack.frob.com>
17586 * elf/dl-open.c: Include <atomic.h>.
17587 * elf/dl-lookup.c: Likewise.
17589 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17591 * sysdeps/unix/sysv/linux/kernel-features.h
17592 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17593 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17595 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17597 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17598 condition on __ASSUME_CLONE_THREAD_FLAGS.
17600 2012-08-14 Andreas Jaeger <aj@suse.de>
17602 * sysdeps/i386/fpu/libm-test-ulps: Update.
17604 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17606 * include/atomic.h (atomic_exchange_and_add): Split into ...
17607 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17610 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17614 2012-08-13 Jeff Law <law@redhat.com>
17616 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17617 null byte in the output string.
17619 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17621 * sysdeps/unix/sysv/linux/kernel-features.h
17622 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17623 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17624 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17625 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17626 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17627 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17628 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17630 2012-08-09 Jeff Law <law@redhat.com>
17633 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17634 When avoid_arena is set, don't retry in the that arena. Pick the
17635 next one, whatever it might be.
17636 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17637 (arena_lock): Pass in new parameter to arena_get2.
17638 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17640 (__libc_malloc): Unify retrying after main arena failure with
17641 __libc_memalign version.
17642 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17644 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17647 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17648 to __redirect_strstr.
17649 (__strstr_sse42): Use typeof __redirect_strstr.
17650 (__strstr_ia32): Likewise.
17651 (__libc_strstr): New prototype.
17652 (strstr): Renamed to ...
17653 (__libc_strstr): This.
17654 (strstr): New strong alias of __libc_strstr.
17655 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17656 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17659 (__libc_time): New prototype.
17660 (time_ifunc): Replace time with __libc_time.
17661 (time): New strong alias and hidden definition of __libc_time.
17662 (__GI_time): Remove strong alias.
17663 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17664 Include <stddef.h>.
17665 (memmove): Redefined to __redirect_memmove.
17666 (__memmove_sse2): Use typeof __redirect_memmove.
17667 (__memmove_ssse3): Likewise.
17668 (__memmove_ssse3_back): Likewise.
17669 (__libc_memmove): New prototype.
17670 (memmove): Renamed to ...
17671 (__libc_memmove): This.
17672 (memmove): New strong alias of __libc_memmove.
17674 2012-08-08 Mark Salter <msalter@redhat.com>
17677 (R_MN10300_TLS_GD): Define.
17678 (R_MN10300_TLS_LD): Likewise.
17679 (R_MN10300_TLS_LDO): Likewise.
17680 (R_MN10300_TLS_GOTIE): Likewise.
17681 (R_MN10300_TLS_IE): Likewise.
17682 (R_MN10300_TLS_LE): Likewise.
17683 (R_MN10300_TLS_DTPMOD): Likewise.
17684 (R_MN10300_TLS_DTPOFF): Likewise.
17685 (R_MN10300_TLS_TPOFF): Likewise.
17686 (R_MN10300_SYM_DIFF): Likewise.
17687 (R_MN10300_ALIGN): Likewise.
17688 (R_MN10300_NUM): Update.
17690 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17692 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17695 2012-08-08 Roland McGrath <roland@hack.frob.com>
17697 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17699 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17700 sysdeps/unix -> sysdeps/posix move.
17701 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17703 2012-08-07 Allan McRae <allan@archlinux.org>
17706 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17707 (SUNOS_CPP): Likewise.
17708 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17710 (open_input): Call CPP using execvp.
17712 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17714 * sysdeps/unix/sysv/linux/kernel-features.h
17715 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17716 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17717 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17718 (__ASSUME_WAITID_SYSCALL): Likewise.
17719 * sysdeps/unix/sysv/linux/dl-execstack.c
17720 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17721 code unconditional.
17722 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17724 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17725 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17726 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17728 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17730 [__ASSUME_WAITID_SYSCALL]: Likewise.
17731 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17733 2012-08-07 Roland McGrath <roland@hack.frob.com>
17735 * sysdeps/unix/closedir.c: Renamed to ...
17736 * sysdeps/posix/closedir.c: ... here.
17737 * sysdeps/unix/dirfd.c: Renamed to ...
17738 * sysdeps/posix/dirfd.c: ... here.
17739 * sysdeps/unix/dirstream.h: Renamed to ...
17740 * sysdeps/posix/dirstream.h: ... here.
17741 * sysdeps/unix/fdopendir.c: Renamed to ...
17742 * sysdeps/posix/fdopendir.c: ... here.
17743 * sysdeps/unix/opendir.c: Renamed to ...
17744 * sysdeps/posix/opendir.c: ... here.
17745 * sysdeps/unix/readdir.c: Renamed to ...
17746 * sysdeps/posix/readdir.c: ... here.
17747 * sysdeps/unix/readdir_r.c: Renamed to ...
17748 * sysdeps/posix/readdir_r.c: ... here.
17749 * sysdeps/unix/rewinddir.c: Renamed to ...
17750 * sysdeps/posix/rewinddir.c: ... here.
17751 * sysdeps/unix/seekdir.c: Renamed to ...
17752 * sysdeps/posix/seekdir.c: ... here.
17753 * sysdeps/unix/telldir.c: Renamed to ...
17754 * sysdeps/posix/telldir.c: ... here.
17755 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17756 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17757 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17758 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17760 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17761 * bits/fcntl.h: ... here.
17763 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17765 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17766 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17767 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17768 (struct flock): Move l_start, l_len to the beginning.
17769 Use __pid_t for l_pid.
17770 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17771 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17772 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17773 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17774 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17775 [__USE_LARGEFILE64] (struct flock64): New type.
17776 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17778 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17779 * bits/dirent.h: ... here.
17781 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17782 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17784 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17786 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17787 Change from 2.6.0 to 2.6.16.
17788 * sysdeps/unix/sysv/linux/configure: Regenerated.
17789 * sysdeps/unix/sysv/linux/kernel-features.h
17790 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17791 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17793 (__ASSUME_UTIMES): Likewise.
17794 (__ASSUME_CLONE_STOPPED): Remove.
17795 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17796 architectures, not kernel version.
17797 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17798 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17799 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17800 (__ASSUME_WAITID_SYSCALL): Likewise.
17801 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17802 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17803 * README: State 2.6.16 as minimum Linux kernel version. Do not
17804 refer to older versions.
17806 2012-08-06 Roland McGrath <roland@hack.frob.com>
17808 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17809 Define alphasort64 as an alias.
17810 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17811 Define versionsort64 as an alias.
17812 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17813 Define scandir64 as an alias.
17814 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17815 Define scandirat64 as an alias.
17816 * dirent/alphasort64.c (alphasort64):
17817 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17818 * dirent/versionsort64.c: Likewise.
17819 * dirent/scandir64.c: Likewise.
17820 * dirent/scandirat64.c: Likewise.
17821 * sysdeps/wordsize-64/alphasort.c: File removed.
17822 * sysdeps/wordsize-64/alphasort64.c: File removed.
17823 * sysdeps/wordsize-64/scandir.c: File removed.
17824 * sysdeps/wordsize-64/scandir64.c: File removed.
17825 * sysdeps/wordsize-64/scandirat.c: File removed.
17826 * sysdeps/wordsize-64/scandirat64.c: File removed.
17827 * sysdeps/wordsize-64/versionsort.c: File removed.
17828 * sysdeps/wordsize-64/versionsort64.c: File removed.
17829 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17830 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17831 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17832 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17833 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17834 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17835 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17838 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17839 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17840 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17841 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17842 [defined __arch64__ || defined __sparcv9]
17843 (__INO_T_MATCHES_INO64_T): New macro.
17844 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17845 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17846 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17847 * sysdeps/unix/sysv/linux/bits/dirent.h
17848 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17849 (_DIRENT_MATCHES_DIRENT64): New macro.
17851 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17852 Define lockf64 as an alias.
17853 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17854 Define fseeko64 as an alias.
17855 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17856 Define ftello64 as an alias.
17857 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17858 Define _IO_fgetpos64 and fgetpos64 as aliases.
17859 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17860 Define _IO_fsetpos64 and fsetpos64 as aliases.
17861 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17862 Conditionalize body on this.
17863 * libio/fseeko64.c: Likewise.
17864 * libio/ftello64.c: Likewise.
17865 * libio/iofgetpos64.c: Likewise.
17866 * libio/iofsetpos64.c: Likewise.
17867 * sysdeps/wordsize-64/lockf.c: File removed.
17868 * sysdeps/wordsize-64/lockf64.c: File removed.
17869 * sysdeps/wordsize-64/fseeko.c: File removed.
17870 * sysdeps/wordsize-64/fseeko64.c: File removed.
17871 * sysdeps/wordsize-64/ftello.c: File removed.
17872 * sysdeps/wordsize-64/ftello64.c: File removed.
17873 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17874 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17875 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17876 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17877 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17879 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17880 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17881 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17882 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17884 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17885 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17888 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17890 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17892 [defined __arch64__ || defined __sparcv9]
17893 (__OFF_T_MATCHES_OFF64_T): New macro.
17894 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17895 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17896 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17897 (__OFF_T_MATCHES_OFF64_T): New macro.
17899 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17901 * stdlib/secure-getenv.c (__secure_getenv): Replace
17902 GLIBC_2_16 with GLIBC_2_17.
17904 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17906 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17907 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17909 2012-08-03 David S. Miller <davem@davemloft.net>
17911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17913 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17915 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17917 (__ASSUME_CORRECT_SI_PID): Likewise.
17918 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17919 (__ASSUME_TMPFS_NAME): Likewise.
17920 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17921 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17922 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17923 (HAVE_AUX_SECURE): Make definition unconditional.
17924 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17925 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17927 2012-08-03 Roland McGrath <roland@hack.frob.com>
17929 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17930 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17931 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17932 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17933 __eloop_threshold instead of SYMLOOP_MAX.
17935 * sysdeps/generic/eloop-threshold.h: New file.
17936 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17938 * elf/chroot_canon.c (chroot_canon): Likewise.
17940 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17944 Change to 2.6.0 everywhere.
17945 * sysdeps/unix/sysv/linux/configure: Regenerated.
17946 * sysdeps/unix/sysv/linux/kernel-features.h
17947 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17948 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17950 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17951 (__ASSUME_FUTEX_REQUEUE): Remove.
17952 (__ASSUME_STATFS64): Define unconditionally.
17953 (__ASSUME_AT_SECURE): Likewise.
17954 (__ASSUME_CORRECT_SI_PID): Likewise.
17955 (__ASSUME_TGKILL): Define without depending on kernel version for
17957 (__ASSUME_UTIMES): Likewise.
17958 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17960 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17961 (__ASSUME_TMPFS_NAME): Likewise.
17962 * README: Update reference to Linux kernel versions.
17964 2012-08-02 Marek Polacek <polacek@redhat.com>
17967 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17968 libc_cv_asm_type_prefix with %.
17969 * configure: Regenerated.
17970 * include/libc-symbols.h: Remove comment about
17971 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17972 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17973 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17974 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17975 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17976 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17977 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17978 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17979 * elf/tst-unique2mod1.c: Likewise.
17980 * elf/tst-unique1mod2.c: Likewise.
17981 * elf/tst-unique1mod1.c: Likewise.
17982 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17983 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17984 Replace ASM_TYPE_DIRECTIVE with .type.
17985 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17986 * sysdeps/i386/sysdep.h: Likewise.
17987 * sysdeps/x86_64/sysdep.h: Likewise.
17988 * sysdeps/sh/sysdep.h: Likewise.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17990 Do not define ASM_TYPE_DIRECTIVE.
17991 * sysdeps/powerpc/sysdep.h: Likewise.
17992 * sysdeps/powerpc/powerpc32/sysdep.h:
17993 Replace ASM_TYPE_DIRECTIVE with .type.
17994 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17995 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17996 * sysdeps/i386/fpu/e_powf.S: Likewise.
17997 * sysdeps/i386/fpu/e_expl.S: Likewise.
17998 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17999 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18000 * sysdeps/i386/fpu/e_pow.S: Likewise.
18001 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18002 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18003 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18004 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18005 * sysdeps/i386/fpu/e_log2.S: Likewise.
18006 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18007 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18008 * sysdeps/i386/fpu/e_powl.S: Likewise.
18009 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18010 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18011 * sysdeps/i386/fpu/e_logl.S: Likewise.
18012 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18013 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18014 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18015 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18016 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18017 * sysdeps/i386/fpu/e_log.S: Likewise.
18018 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18019 * sysdeps/i386/fpu/e_logf.S: Likewise.
18020 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18021 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18022 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18023 * sysdeps/i386/fpu/e_log10.S: Likewise.
18024 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18025 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18026 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18027 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18028 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18029 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18030 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18031 * sysdeps/i386/i686/strtok.S: Likewise.
18032 * sysdeps/i386/i386-mcount.S: Likewise.
18033 * sysdeps/i386/strtok.S: Likewise.
18034 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18035 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18036 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18037 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18038 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18039 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18040 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18041 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18042 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18043 * sysdeps/x86_64/_mcount.S: Likewise.
18044 * sysdeps/x86_64/strtok.S: Likewise.
18045 * sysdeps/sh/_mcount.S: Likewise.
18047 2012-08-01 Roland McGrath <roland@hack.frob.com>
18049 * libio/iofopen.c: Include <fcntl.h>.
18050 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18051 (_IO_fopen64, fopen64): Define as aliases.
18052 * libio/iofopen64.c: Include <fcntl.h>.
18053 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18054 Conditionalize body on this.
18055 * sysdeps/wordsize-64/iofopen.c: File removed.
18056 * sysdeps/wordsize-64/iofopen64.c: File removed.
18058 2012-08-01 Marek Polacek <polacek@redhat.com>
18060 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18061 Use dlfcn directly instead of a variable.
18062 (binfmt-subdir): Do not define.
18065 2012-08-01 Joseph Myers <joseph@codesourcery.com>
18067 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18068 Remove all definitions.
18069 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18070 <kernel-features.h>.
18071 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18072 (miss_F_GETOWN_EX): Remove all definitions.
18073 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18075 [!__ASSUME_FCNTL64]: Remove conditional code.
18076 [__ASSUME_FCNTL64]: Make code unconditional.
18077 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18078 <kernel-features.h>.
18079 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18080 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18081 (lockf64) [__NR_fcntl64]: Make code unconditional.
18082 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18084 * sysdeps/unix/sysv/linux/kernel-features.h
18085 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18086 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18087 Make code unconditional.
18088 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18089 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18091 [__NR_vfork]: Make code unconditional.
18092 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18093 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18095 [__NR_vfork]: Make code unconditional.
18096 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18097 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18099 2012-08-01 Roland McGrath <roland@hack.frob.com>
18101 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18102 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18104 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18105 Define mkstemp64 as an alias.
18106 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18107 Define mkstemps64 as an alias.
18108 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18109 Define mkostemp64 as an alias.
18110 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18111 Define mkostemps64 as an alias.
18112 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18113 Conditionalize body on this.
18114 * misc/mkostemp64.c: Likewise.
18115 * misc/mkostemps64.c: Likewise.
18116 * misc/mkstemps64.c: Likewise.
18117 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18118 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18119 * sysdeps/wordsize-64/mkostemp.c: File removed.
18120 * sysdeps/wordsize-64/mkstemp.c: File removed.
18121 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18122 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18123 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18124 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18127 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18128 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18129 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18130 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18132 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18133 compat_symbol macros from <shlib-compat.h> rather than the underlying
18134 default_symbol_version and symbol_version macros, so that DEFAULT
18135 lines in shlib-versions are respected.
18136 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18138 2012-08-01 Florian Weimer <fweimer@redhat.com>
18140 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18141 Declare with warn_unused_result.
18142 (setgid, setregid, setegid, setresgid): Likewise.
18143 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18145 * WUR-REPORT: Remove set*id functions.
18147 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18149 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18151 2012-07-31 Roland McGrath <roland@hack.frob.com>
18154 * include/sys/socket.h (__libc_accept, __libc_accept4):
18155 Add attribute_hidden.
18156 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18158 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18160 * inet/getnetgrent_r.c (setup): Likewise.
18162 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18164 2012-07-31 David S. Miller <davem@davemloft.net>
18166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18168 2012-07-31 Joseph Myers <joseph@codesourcery.com>
18171 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18172 value between 1.0 and 2.0 and smaller part has absolute value less
18174 * math/s_clog10.c (__clog10): Likewise.
18175 * math/s_clog10f.c (__clog10f): Likewise.
18176 * math/s_clog10l.c (__clog10l): Likewise.
18177 * math/s_clogf.c (__clogf): Likewise.
18178 * math/s_clogl.c (__clogl): Likewise.
18179 * math/libm-test.inc (clog_test): Add more tests.
18180 (clog10_test): Likewise.
18181 * sysdeps/i386/fpu/libm-test-ulps: Update.
18182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18184 2012-07-31 Florian Weimer <fweimer@redhat.com>
18186 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18187 Exit with zero in case no suitable GID is found, and write a
18188 message to standard error.
18190 2012-07-30 Roland McGrath <roland@hack.frob.com>
18192 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18194 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18195 (MAXPATHLEN): Removed.
18196 (NOGROUP, NODEV): New macros.
18197 (setbit, clrbit, isset, isclr): New macros.
18198 (howmany, roundup, powerof2): New macros.
18199 (DEV_BSIZE): New macro.
18201 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18202 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18204 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18205 definition on [!__NO_LONG_DOUBLE_MATH].
18207 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18208 PTR_MANGLE and PTR_DEMANGLE.
18210 * socket/accept4.c (accept4): Rename to __libc_accept4.
18211 Define accept4 as a weak alias.
18213 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18214 on [_DIRENT_HAVE_D_TYPE].
18215 * io/ftw.c (ftw_dir): Likewise.
18217 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18219 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18221 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18222 Use the BSD numbers rather than the arbitrary ones we had.
18223 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18224 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18225 (SIGXCPU, SIGXFSZ): New macros.
18228 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18229 initializer on [_LIBC_REENTRANT].
18231 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18232 definitions inside [_POSIX_MAPPED_FILES].
18234 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18236 * dirent/opendir.c: Include <fcntl.h>.
18238 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18239 (__libc_getspecific): Likewise.
18240 (__libc_key_create): Likewise.
18242 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18243 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18244 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18245 (tmpfile64): Define as alias.
18246 * sysdeps/wordsize-64/tmpfile.c: File removed.
18247 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18251 * stdio-common/vfscanf.c: Include <stdbool.h>.
18252 * nss/makedb.c: Likewise.
18253 * stdio-common/_i18n_number.h: Likewise.
18254 * argp/argp-help.c: Likewise.
18255 * posix/wordexp.c: Likewise.
18256 * sysdeps/posix/spawni.c: Likewise.
18257 * nss/nss_files/files-initgroups.c: Likewise.
18258 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18259 * nss/nss_files/files-initgroups.c: Likewise.
18260 * nss/nss_db/db-netgrp.c: Likewise.
18261 * nss/nss_db/db-initgroups.c: Likewise.
18262 * io/fchmodat.c: Include <sys/stat.h>.
18264 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18265 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18267 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18270 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18271 Add multiple inclusion protection.
18273 2012-07-27 David S. Miller <davem@davemloft.net>
18275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18277 2012-07-27 Gary Benson <gbenson@redhat.com>
18280 * elf/rtld.c: Include <stap-probe.h>.
18281 (dl_main): Added static probes "init_start" and "init_complete".
18282 * elf/dl-load.c: Include <stap-probe.h>.
18283 (lose): Take new parameter "nsid".
18284 Added static probe "map_failed".
18285 (_dl_map_object_from_fd): Pass namespace id to lose.
18286 Added static probe "map_start".
18287 (open_verify): Pass namespace id to lose.
18288 * elf/dl-open.c: Include <stap-probe.h>.
18289 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18290 and "reloc_complete".
18291 * elf/dl-close.c: Include <stap-probe.h>.
18292 (_dl_close_worker): Added static probes "unmap_start" and
18294 * elf/rtld-debugger-interface.txt: New file documenting the above.
18296 2012-07-26 Roland McGrath <roland@hack.frob.com>
18298 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18299 rather than a string variable.
18300 * sunrpc/rpc_main.c (h_output): Likewise.
18301 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18303 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18305 * inet/check_native.c: New file.
18307 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18310 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18311 if larger part has absolute value 1.0.
18312 * math/s_clog10.c (__clog10): Likewise.
18313 * math/s_clog10f.c (__clog10f): Likewise.
18314 * math/s_clog10l.c (__clog10l): Likewise.
18315 * math/s_clogf.c (__clogf): Likewise.
18316 * math/s_clogl.c (__clogl): Likewise.
18317 * math/libm-test.inc (clog_test): Add more tests.
18318 (clog10_test): Likewise.
18319 * sysdeps/i386/fpu/libm-test-ulps: Update.
18320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18322 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18323 (pltexit): Likewise.
18324 (La_regs): Likewise.
18325 (La_retval): Likewise.
18326 (int_retval): Likewise.
18327 Update #error for removed macros to refer only to definitions in
18329 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18331 (pltexit): Likewise.
18332 (La_regs): Likewise.
18333 (La_retval): Likewise.
18334 (int_retval): Likewise.
18335 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18337 (pltexit): Likewise.
18338 (La_regs): Likewise.
18339 (La_retval): Likewise.
18340 (int_retval): Likewise.
18341 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18343 (pltexit): Likewise.
18344 (La_regs): Likewise.
18345 (La_retval): Likewise.
18346 (int_retval): Likewise.
18347 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18349 (pltexit): Likewise.
18350 (La_regs): Likewise.
18351 (La_retval): Likewise.
18352 (int_retval): Likewise.
18353 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18355 (pltexit): Likewise.
18356 (La_regs): Likewise.
18357 (La_retval): Likewise.
18358 (int_retval): Likewise.
18359 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18361 (pltexit): Likewise.
18362 (La_regs): Likewise.
18363 (La_retval): Likewise.
18364 (int_retval): Likewise.
18365 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18366 macro definitions in tst-audit.h.
18367 * sysdeps/i386/tst-audit.h: New file.
18368 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18369 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18370 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18371 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18372 * sysdeps/sh/tst-audit.h: Likewise.
18373 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18374 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18375 * sysdeps/x86_64/tst-audit.h: Likewise.
18377 2012-07-26 Andreas Jaeger <aj@suse.de>
18379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18382 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18383 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18384 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18386 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18387 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18390 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18393 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18395 (si_call_addr, si_syscall, si_arch): Define new macro.
18396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18398 (si_call_addr, si_syscall, si_arch): Define new marcro.
18399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18401 (si_call_addr, si_syscall, si_arch): Define new macro.
18402 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18404 (si_call_addr, si_syscall, si_arch): Define new macro.
18406 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18410 Change to 2.4.21 where previously 2.4.1.
18411 * sysdeps/unix/sysv/linux/configure: Regenerated.
18412 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18413 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18414 Linux kernel version.
18415 (__ASSUME_STD_AUXV): Remove.
18416 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18418 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18419 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18420 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18421 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18422 (__ASSUME_NETLINK_SUPPORT): Likewise.
18423 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18424 (__no_netlink_support): Remove conditional definition.
18425 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18427 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18428 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18429 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18430 (if_nameindex_ioctl): Remove.
18431 (if_nameindex_netlink): Do not handle __no_netlink_support.
18432 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18434 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18435 Remove conditional code.
18436 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18438 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18440 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18441 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18442 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18444 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18445 [!__ASSUME_STD_AUXV]: Remove conditional code.
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18447 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18448 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18450 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18451 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18453 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18455 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18456 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18458 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18460 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18463 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18466 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18467 code unconditional.
18468 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18470 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18472 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18475 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18477 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18480 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18481 code unconditional.
18482 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18484 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18486 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18489 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18490 code unconditional.
18491 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18493 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18495 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18498 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18500 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18501 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18502 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18503 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18504 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18505 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18506 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18507 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18508 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18509 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18510 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18511 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18512 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18513 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18514 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18515 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18516 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18517 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18518 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18520 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18521 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18522 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18524 2012-07-25 Florian Weimer <fweimer@redhat.com>
18526 * Versions.def: Add GLIBC_2.17.
18527 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18528 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18529 Introduce __libc_secure_getenv.
18530 * stdlib/Versions (2.17): Add secure_getenv
18531 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18532 * stdlib/secure-getenv.c: Rename __secure_getenv to
18533 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18534 symbol __secure_getenv for GLIBC_2.0.
18535 * stdlib/tst-secure-getenv.c: New.
18536 * stdlib/Makefile (tests): Add testcase.
18537 * manual/startup.texi (Environment Access): Document
18539 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18540 __libc_secure_getenv.
18541 * inet/ruserpass.c (ruserpass): Likewise.
18542 * malloc/mtrace.c (mtrace): Likewise.
18543 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18544 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18545 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18546 * sysdeps/posix/tempname.c: Likewise. Evaluate
18547 HAVE_SECURE_GETENV.
18548 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18549 __secure_getenv to __libc_secure_getenv.
18550 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18563 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18565 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18566 (struct La_i86_retval): Likewise.
18567 (struct La_x86_64_regs): Likewise.
18568 (struct La_x86_64_retval): Likewise.
18569 (struct La_x32_regs): Likewise.
18570 (struct La_x32_retval): Likewise.
18571 (struct La_ppc32_regs): Likewise.
18572 (struct La_ppc32_retval): Likewise.
18573 (struct La_ppc64_regs): Likewise.
18574 (struct La_ppc64_retval): Likewise.
18575 (struct La_sh_regs): Likewise.
18576 (struct La_sh_retval): Likewise.
18577 (struct La_s390_32_regs): Likewise.
18578 (struct La_s390_32_retval): Likewise.
18579 (struct La_s390_64_regs): Likewise.
18580 (struct La_s390_64_retval): Likewise.
18581 (struct La_sparc32_regs): Likewise.
18582 (struct La_sparc32_retval): Likewise.
18583 (struct La_sparc64_regs): Likewise.
18584 (struct La_sparc64_retval): Likewise.
18585 (struct audit_ifaces): Remove architecture-specific pltenter and
18587 * sysdeps/i386/ldsodefs.h: New file.
18588 * sysdeps/powerpc/ldsodefs.h: Likewise.
18589 * sysdeps/s390/ldsodefs.h: Likewise.
18590 * sysdeps/sh/ldsodefs.h: Likewise.
18591 * sysdeps/sparc/ldsodefs.h: Likewise.
18592 * sysdeps/x86_64/ldsodefs.h: Likewise.
18594 2012-07-25 Marek Polacek <polacek@redhat.com>
18597 * math/libm-test.inc (yn_test): Add another test.
18598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18599 to ERANGE when the result is +-Inf.
18600 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18601 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18602 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18603 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18605 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18607 * conform/data/time.h-data (NULL): Use macro-constant. Require
18609 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18611 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18613 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18615 * configure.in <sysdeps resolving>: Correct printing
18617 * configure: Regenerate.
18619 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18621 * math/w_ilogb.c: Include <limits.h>.
18622 * math/w_ilogbl.c: Likewise.
18624 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18626 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18627 va_copy. Document allowing for unavailable va_copy only as
18628 pre-C99 compatibility.
18629 * manual/string.texi (Copying and Concatenation): Use va_copy
18630 instead of __va_copy in concat example.
18632 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18634 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18635 (__sendto): Use create_address_port. Initialize APORT and deallocate
18638 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18639 with O_NOLINK passed to __file_name_lookup.
18641 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18642 with O_NOLINK passed to __file_name_lookup.
18644 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18645 negative N or less than NGIDS.
18647 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18648 type to string_t. Set ERANGE as errno and return it if NAME is not big
18649 enough. Use memcpy instead of strncpy.
18651 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18653 * elf/Makefile (check-data): Remove.
18654 (localplt.data): New vpath directive.
18655 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18656 instead of $(check-data).
18657 * scripts/data/localplt-generic.data: Move to ...
18658 * sysdeps/generic/localplt.data: ... here.
18659 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18660 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18661 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18664 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18667 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18670 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18673 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18676 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18680 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18682 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18683 PPC32 and PPC64 files.
18684 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18685 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18687 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18689 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18690 __makecontext_ret to ...
18691 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18692 ... here and call exit if uc_link is NULL. New file.
18693 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18694 __makecontext_ret.S.
18695 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18696 __makecontext_ret to ...
18697 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18698 ... here and call exit if uc_link is NULL. New file.
18699 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18700 __makecontext_ret.S.
18702 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18704 * elf/elf.h (R_390_IRELATIVE): New definition.
18705 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18706 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18707 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18708 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18709 (elf_machine_lazy_rel): Likewise.
18710 * sysdeps/s390/dl-irel.h: New file.
18711 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18712 * sysdeps/s390/s390-64/memset.S: New asm code.
18713 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18714 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18715 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18716 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18717 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18718 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18720 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18721 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18722 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18723 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18724 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18725 * sysdeps/s390/s390-32/memset.S: New asm code.
18726 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18728 2012-07-17 Marek Polacek <polacek@redhat.com>
18731 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18732 * sysdeps/s390/s390-64/configure.in: Likewise.
18733 * sysdeps/sparc/configure.in: Likewise.
18734 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18735 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18736 * sysdeps/i386/configure.in: Likewise.
18737 * sysdeps/x86_64/configure.in: Likewise.
18738 * sysdeps/sh/configure.in: Likewise.
18739 * sysdeps/s390/s390-32/configure: Regenerated.
18740 * sysdeps/s390/s390-64/configure: Likewise.
18741 * sysdeps/x86_64/configure: Likewise.
18742 * sysdeps/sh/configure: Likewise.
18743 * sysdeps/powerpc/powerpc64/configure: Likewise.
18744 * sysdeps/powerpc/powerpc32/configure: Likewise.
18745 * sysdeps/sparc/configure: Likwise.
18746 * sysdeps/i386/configure: Likewise.
18748 * elf/dl-open.c: Comment fixes.
18750 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18752 * Makefile [CXX] (check-data): Remove.
18753 [CXX] (c++-types.data): New vpath directive.
18754 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18755 vpath. Do not allow for C++ type data being missing.
18756 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18757 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18758 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18759 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18760 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18761 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18762 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18765 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18768 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18771 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18774 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18777 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18780 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18783 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18786 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18787 definitions to architecture-specific files.
18788 (TLS_IE): Likewise.
18789 (TLS_LD): Likewise.
18790 (TLS_GD): Likewise.
18791 * sysdeps/i386/tls-macros.h: New file.
18792 * sysdeps/powerpc/tls-macros.h: Likewise.
18793 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18794 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18795 * sysdeps/sh/tls-macros.h: Likewise.
18796 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18797 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18798 * sysdeps/x86_64/tls-macros.h: Likewise.
18800 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18802 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18803 zero value for regular exit case.
18805 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18806 (__start_context): Preserve zero value for regular exit case.
18808 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18809 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18811 * manual/setjmp.texi (setcontext): Clarify normal process
18812 termination when uc_link is the null pointer.
18813 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18816 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18818 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18819 preprocessor. Test for each exception mask separately.
18821 2012-07-16 Andreas Jaeger <aj@suse.de>
18823 * po/ru.po: Update from translation team.
18825 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18827 * conform/data/string.h-data (NULL): Use macro-constant. Require
18829 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18830 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18831 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18832 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18835 2012-07-13 Andreas Jaeger <aj@suse.de>
18837 * po/fr.po: Update from translation team.
18839 2012-07-12 Marek Polacek <polacek@redhat.com>
18842 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18846 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18849 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18850 Change to 2.4.1 where previously 2.4.0.
18851 * sysdeps/unix/sysv/linux/configure: Regenerated.
18852 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18853 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18855 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18856 (__ASSUME_AT_CLKTCK): Remove.
18857 (__ASSUME_AT_PAGESIZE): Likewise.
18858 (__ASSUME_AT_XID): Likewise.
18859 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18860 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18861 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18863 (HAVE_AUX_PAGESIZE): Likewise.
18864 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18865 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18866 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18868 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18872 the temporary buffer used to invoke __gethostbyname2_r,
18873 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18874 host_data / struct gaih_addrtuple.
18875 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18876 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18877 header file nss/nsswitch.h.
18878 * nss/nsswitch.h (global scope): Add definition of implementation
18879 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18880 resolv/nss_dns/dns-host.c).
18882 2012-07-11 Andreas Jaeger <aj@suse.de>
18884 * po/fr.po: Update from translation team.
18886 * po/sv.po: Update from translation team
18887 * po/fr.po: Another update from translation team.
18889 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18891 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18892 for subnormals or multiply small sinh result by itself.
18893 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18896 2012-07-11 David S. Miller <davem@davemloft.net>
18898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18900 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18903 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18904 (INTERNAL_MARK): Shift it here.
18906 2012-07-10 Marek Polacek <polacek@redhat.com>
18909 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18910 libc_cv_asm_global_directive with .globl.
18911 * configure: Regenerated.
18912 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18914 * sysdeps/i386/configure: Regenerated.
18915 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18917 * sysdeps/x86_64/configure: Regenerated.
18918 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18919 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18920 * elf/tst-unique2mod2.c: Likewise.
18921 * elf/tst-unique2mod1.c: Likewise.
18922 * elf/tst-unique1mod2.c: Likewise.
18923 * elf/tst-unique1mod1.c: Likewise.
18924 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18925 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18926 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18927 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18928 * sysdeps/mach/sysdep.h: Likewise.
18929 * sysdeps/i386/sysdep.h: Likewise.
18930 * sysdeps/i386/i386-mcount.S: Likewise.
18931 * sysdeps/x86_64/_mcount.S: Likewise.
18932 * sysdeps/x86_64/sysdep.h: Likewise.
18933 * sysdeps/sh/_mcount.S: Likewise.
18934 * sysdeps/sh/sysdep.h: Likewise.
18935 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18936 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18937 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18938 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18939 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18940 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18941 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18942 * locale/localeinfo.h: Likewise.
18943 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18944 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18946 2012-07-09 Roland McGrath <roland@hack.frob.com>
18949 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18951 * manual/message.texi (The Uniforum approach): Likewise.
18952 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18953 (glibc iconv Implementation): Likewise.
18955 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18958 * math/s_clog.c (__clog): Avoid scaling a value down where that
18959 could result in underflow.
18960 * math/s_clog10.c (__clog10): Likewise.
18961 * math/s_clog10f.c (__clog10f): Likewise.
18962 * math/s_clog10l.c (__clog10l): Likewise.
18963 * math/s_clogf.c (__clogf): Likewise.
18964 * math/s_clogl.c (__clogl): Likewise.
18965 * math/libm-test.inc (clog_test): Add more tests.
18966 (clog10_test): Likewise.
18967 * sysdeps/i386/fpu/libm-test-ulps: Update.
18968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18970 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18973 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18974 by 7 not 8 to examine high bit of fractional part.
18977 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18978 for call to __mcount_internal.
18979 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18980 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18981 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18983 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18986 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18987 approximation for values within 0x1p-13f of an odd multiple of
18989 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18990 exception. Add more tests.
18991 * sysdeps/i386/fpu/libm-test-ulps: Update.
18994 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18995 inputs and return -1 for them. Do not check for +Inf in case not
18996 reachable for +Inf.
18997 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18998 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18999 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19000 and return -1 for them. Do not check for +Inf in case not
19001 reachable for +Inf.
19002 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19004 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19005 and return -1 for them. Do not check for +Inf in case not
19006 reachable for +Inf.
19007 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19008 spurious underflow.
19009 * sysdeps/i386/fpu/libm-test-ulps: Update.
19010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19012 2012-07-06 Mike Frysinger <vapier@gentoo.org>
19014 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19016 2012-07-05 Joseph Myers <joseph@codesourcery.com>
19020 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19021 could result in spurious underflow. Scale down values above
19022 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19023 * math/s_csqrtf.c (__csqrtf): Likewise.
19024 * math/s_csqrtl.c (__csqrtl): Likewise.
19025 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19026 spurious underflow.
19027 * sysdeps/i386/fpu/libm-test-ulps: Update.
19028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19030 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19032 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19034 * catgets/xopen-msg.awk: New file.
19035 * catgets/xopen-msg.sed: Removed.
19037 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19039 * intl/po2test.awk: New file.
19040 * intl/po2test.sed: Removed.
19042 2012-07-04 Joseph Myers <joseph@codesourcery.com>
19045 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19046 or multiply small sinh result by itself.
19047 * math/s_ctanf.c (__ctanf): Likewise.
19048 * math/s_ctanh.c (__ctanh): Likewise.
19049 * math/s_ctanhf.c (__ctanhf): Likewise.
19050 * math/s_ctanhl.c (__ctanhl): Likewise.
19051 * math/s_ctanl.c (__ctanl): Likewise.
19052 * math/libm-test.inc (ctan_test_tonearest): New function.
19053 (ctan_test_towardzero): Likewise.
19054 (ctan_test_downward): Likewise.
19055 (ctan_test_upward): Likewise.
19056 (ctanh_test_tonearest): Likewise.
19057 (ctanh_test_towardzero): Likewise.
19058 (ctanh_test_downward): Likewise.
19059 (ctanh_test_upward): Likewise.
19060 (main): Call these new functions.
19061 * sysdeps/i386/fpu/libm-test-ulps: Update.
19062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19064 2012-07-03 Mike Frysinger <vapier@gentoo.org>
19066 * .gitignore: Delete /ports entry.
19068 2012-07-03 Andreas Jaeger <aj@suse.de>
19070 * po/bg.po: Update from translation team.
19071 * po/cs.po: Likewise.
19072 * po/de.po: Likewise.
19073 * po/hr.po: Likewise.
19074 * po/nl.pl: Likewise.
19075 * po/pl.po: Likewise.
19076 * po/vi.po: Likewise.
19078 2012-07-03 Joseph Myers <joseph@codesourcery.com>
19080 * Makeconfig [!+link] (+link-before-libc): New variable.
19081 [!+link] (+link-after-libc): Likewise.
19082 [!+link] (+link-tests): Likewise.
19083 [!+link] (+link): Define in terms of $(+link-before-libc) and
19084 $(+link-after-libc).
19085 [!+link-static] (+link-static-before-libc): New variable.
19086 [!+link-static] (+link-static-after-libc): Likewise.
19087 [!+link-static] (+link-static-tests): Likewise.
19088 [!+link-static] (+link-static): Define in terms of
19089 $(+link-static-before-libc) and $(+link-static-after-libc).
19090 [build-shared] (link-libc-before-gnulib): New variable.
19091 [build-shared] (link-libc-tests): Likewise.
19092 [build-shared] (link-libc): Define in terms of
19093 $(link-libc-before-gnulib).
19094 [!build-shared] (link-libc-tests): New variable.
19095 (link-libc-static-tests): New variable.
19096 [!gnulib] (gnulib-arch): New variable.
19097 [!gnulib] (gnulib-tests): Likewise.
19098 [!gnulib] (static-gnulib-arch): Likewise.
19099 [!gnulib] (static-gnulib-tests): Likewise.
19100 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19101 Define with "=" instead of ":=".
19102 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19103 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19104 * Rules (binaries-all-notests): New variable.
19105 (binaries-all-tests): Likewise.
19106 (binaries-static-notests): Likewise.
19107 (binaries-static-tests): Likewise.
19108 (binaries-all): Define using $(binaries-all-notests) and
19109 $(binaries-all-tests).
19110 (binaries-static): Define using $(binaries-static-notests) and
19111 $(binaries-static-tests).
19112 (binaries-shared-tests): New variable.
19113 (binaries-shared-notests): Likewise.
19114 (binaries-shared): Remove variable.
19115 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19116 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19117 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19118 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19119 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19120 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19121 * elf/Makefile (sln-modules): New variable.
19122 (extra-objs): Add $(sln-modules:=.o).
19123 (ldconfig-modules): Add static-stubs.
19124 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19125 * elf/static-stubs.c: New file.
19128 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19129 by 7 not 8 to examine high bit of fractional part. Use volatile
19130 variables when splitting into final array of floats if
19131 __FLT_EVAL_METHOD__ != 0.
19132 * math/libm-test.inc (cos_test): Add another test.
19133 (sin_test): Likewise.
19134 * sysdeps/i386/fpu/libm-test-ulps: Update.
19137 * math/libm-test.inc (cosh_test): Add more tests.
19139 * version.h (RELEASE): Set to "development".
19140 (VERSION): Set to "2.16.90".
19142 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19144 * NEWS: Update copyright. Remove last-updated date.
19145 Mention math library bug fixes and timezone data changes.
19146 * README: Mention GNU/Hurd, x32, and HPPA support status.
19148 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19150 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19152 2012-06-27 Andreas Jaeger <aj@suse.de>
19154 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19156 2012-06-25 Andreas Jaeger <aj@suse.de>
19158 * sysdeps/s390/fpu/libm-test-ulps: Update.
19160 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19161 Thomas Schwinge <thomas@codesourcery.com>
19163 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19164 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19168 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19170 * sysdeps/mach/start.c: Remove file.
19171 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19172 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19173 * sysdeps/sh/init-first.c: Likewise.
19175 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19176 registers for frame unwinding purposes, add CFI directives.
19177 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19178 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19179 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19182 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19183 __fortify_fail returning.
19184 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19186 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19187 sysdeps/sh/____longjmp_chk.S.
19188 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19189 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19190 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19191 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19193 * sysdeps/sh/abort-instr.h: New file.
19194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19195 process in case exit returns.
19197 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19198 initialize the GOT register before use.
19200 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19201 calculation of ARGC > 4.
19203 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19204 meaningful names to some local labels.
19206 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19207 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19209 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19210 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19211 (__arch_compare_and_exchange_val_16_acq): Likewise.
19212 (__arch_compare_and_exchange_val_32_acq): Likewise.
19213 (atomic_exchange_and_add): Fix gUSA sequence.
19214 (atomic_add): Likewise.
19215 (atomic_add_negative): Likewise.
19216 (atomic_add_zero): Likewise.
19217 (atomic_bit_test_set): Likewise.
19219 2012-06-22 Andreas Schwab <schwab@redhat.com>
19222 * include/link.h (struct link_map): Add l_free_initfini.
19223 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19225 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19226 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19227 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19230 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19232 * configure.in: Use AC_LANG_SOURCE.
19233 * configure: Regenerate.
19235 2012-06-22 Roland McGrath <roland@hack.frob.com>
19237 * configure.in (libc_cv_localstatedir): New substituted variable.
19238 * configure: Regenerated.
19239 * config.make.in (localstatedir): New variable, substituted from
19240 libc_cv_localstatedir.
19241 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19242 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19243 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19244 * sysdeps/gnu/configure: Regenerated.
19246 2012-06-21 Jeff Law <law@redhat.com>
19249 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19250 free. Simplify list management for _LIBC case.
19252 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19255 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19256 Clear sign bit of 64-bit integer value before comparing against
19259 * sysdeps/mach/configure: Regenerated.
19261 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19264 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19266 2012-06-21 Jeff Law <law@redhat.com>
19269 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19270 uint16_t for elements in the "seen" array to avoid char overflows.
19271 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19272 * elf/dl-open.c (dl_open_worker): Likewise.
19274 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19276 * scripts/list-sources.sh: Scan PORTS for translations.
19277 * po/libc.pot: Regenerated.
19279 2012-06-21 Andreas Jaeger <aj@suse.de>
19282 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19284 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19285 * bits/byteswap-16.h (__bswap_16): Likewise.
19286 * bits/byteswap.h (__bswap_constant_16): Likewise.
19288 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19291 * sysdeps/i386/fpu_control.h: Removed.
19292 * sysdeps/x86_64/fpu_control.h: Moved to ...
19293 * sysdeps/x86/fpu_control.h: Here.
19295 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19296 (_FPU_SETCW): Likewise.
19298 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19301 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19302 * sysdeps/x86/fpu/bits/mathinline.h: This.
19303 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19307 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19308 functions if __x86_64__ is defined.
19310 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19312 * string/endian.h: Add !__ASSEMBLER__ condition for including
19313 conversion interfaces.
19315 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19319 of ABS(x) in calculating zero to negative powers other than odd
19321 * math/libm-test.inc (pow_test): Add more tests.
19323 2012-06-15 Andreas Jaeger <aj@suse.de>
19325 * manual/contrib.texi (Contributors): Update entry of Liubov
19326 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19329 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19331 * string/string.h: Add __wur to GNU version of strerror_r.
19333 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19336 * string/Makefile (tests): Add tst-strtok_r.
19337 * string/tst-strtok_r.c: New file.
19338 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19339 RAX_LP/RDX_LP on SAVE_PTR.
19341 2012-06-14 Roland McGrath <roland@hack.frob.com>
19343 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19345 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19347 * libm_test.inc (csqrt_test): Allow more spurious underflow
19349 (j0_test): Likewise.
19350 (j1_test): Likewise.
19351 (y0_test): Likewise.
19352 (y1_test): Likewise.
19354 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19356 * po/Makefile (libc.pot): Use UTF-8 charset.
19358 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19361 Suppress sign-conversion warning from FD_SET.
19362 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19363 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19364 not unsigned long int.
19365 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19367 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19371 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19372 __extern_always_inline instead of __extern_inline.
19373 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19374 (__signbit): Likewise.
19375 (__signbitl): Support C++ namespace.
19376 (lrintf): New inline function.
19378 (llrintf): Likewise.
19379 (llrint): Likewise.
19389 (floorf): Likewise.
19390 (nearbyint): Likewise.
19391 (nearbyintf): Likewise.
19393 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19395 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19396 non-default versions.
19398 2012-06-11 Roland McGrath <roland@hack.frob.com>
19401 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19403 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19405 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19406 (FE_UPWARD, FE_DOWNWARD): Don't define.
19407 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19408 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19410 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19412 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19415 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19417 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19419 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19420 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19422 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19425 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19426 * sysdeps/i386/fpu/Implies: New file.
19427 * sysdeps/x86_64/fpu/Implies: Likewise.
19428 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19429 * sysdeps/x86/fpu/bits/fenv.h: This.
19431 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19434 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19437 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19438 character 0xffff that matches the last element of the
19441 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19446 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19448 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19449 values higher than 25.6283.
19451 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19454 subnormal exponent extraction and add some __builtin_expect.
19455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19456 Fix for subnormal mantissa calculation.
19458 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19460 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19461 cpu2 is -1 and errno is not ENOSYS.
19463 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19466 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19467 * sysdeps/x86/bits/string.h: This.
19468 * sysdeps/x86_64/bits/string.h: Removed.
19470 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19471 if not compiling for x86-64, but compiling for >= i486.
19473 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19474 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19476 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19477 New macro from Linux kernel 3.4.0.
19478 (FP_XSTATE_MAGIC2): Likewise.
19479 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19480 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19481 (struct _fpx_sw_bytes): New struct.
19482 (struct _xsave_hdr): Likewise.
19483 (struct _ymmh_state): Likewise.
19484 (struct _xstate): Likewise.
19486 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19487 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19488 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19489 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19490 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19491 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19493 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19494 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19495 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19496 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19497 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19498 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19500 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19503 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19504 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19505 (sysdep_headers): Include sys/platform/ppc.h.
19506 * sysdeps/powerpc/test-gettimebase.c: Test for
19507 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19508 * manual/Makefile (appendices): Include platform.texi.
19509 * manual/contrib.texi (Contributors): Update @node pointers.
19510 * manual/maint.texi (Maintenance): Likewise.
19511 (Platform): New node.
19512 * manual/platform.texi: New file. Document the new features.
19514 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19515 Jakub Jelinek <jakub@redhat.com>
19518 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19519 where __builtin_expect is unavailable.
19521 2012-06-03 David S. Miller <davem@davemloft.net>
19523 * stdlib/longlong.h: Updated from GCC.
19525 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19528 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19529 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19532 (GLIBC_2.16): Likewise.
19534 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19536 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19538 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19541 (default-abi): New variable.
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19543 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19545 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19547 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19549 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19552 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19553 definition. Document in comment.
19555 2012-06-01 David S. Miller <davem@davemloft.net>
19557 * stdlib/longlong.h: Updated from GCC.
19559 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19562 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19563 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19564 sys/debugreg.h sys/io.h here.
19565 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19566 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19568 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19569 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19570 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19571 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19572 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19573 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19575 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19576 Define only if __x86_64__ is defined.
19578 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19581 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19582 Use int64_t for variable i.
19583 * math/libm-test.inc (fmod_test): Add more tests.
19585 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19586 z computation is not scheduled after fetestexcept.
19587 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19588 Use math_force_eval instead of asm to ensure calculation scheduled
19589 before exception test.
19590 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19591 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19593 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19596 computation is not scheduled after fetestexcept.
19598 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19601 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19602 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19604 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19606 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19607 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19609 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19612 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19614 (__WCHAR_MIN): Support __WORDSIZE == 64.
19615 (__WCHAR_MAX): Likewise.
19617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19618 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19621 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19622 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19625 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19626 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19628 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19629 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19631 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19632 Defined to 1 if __x86_64__ isn't defined.
19633 (_STAT_VER_LINUX_OLD): New.
19634 (st_atime): Remove duplicate.
19635 (st_mtime): Likewise.
19636 (st_ctime): Likewise.
19638 2012-05-31 David S. Miller <davem@davemloft.net>
19640 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19643 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19645 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19649 * elf/dl-reloc.c: Include <_itoa.h>.
19650 (_dl_reloc_bad_type): Remove use of INTUSE.
19651 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19652 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19653 * stdio-common/psiginfo.c (psiginfo): Likewise.
19654 * stdio-common/psignal.c (psignal): Likewise.
19655 * string/strsignal.c (strsignal): Likewise.
19656 * include/signal.h (_sys_siglist): Declare hidden proto.
19657 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19658 INTVARDEF with libc_hidden_data_def.
19659 * stdio-common/itoa-udigits.c: Likewise.
19660 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19661 (_itoa_lower_digits_internal): Remove declaration.
19662 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19663 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19664 (_sys_sigabbrev_internal): Remove aliases.
19665 (_sys_siglist): Define hidden alias.
19667 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19672 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19675 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19676 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19678 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19679 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19680 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19681 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19683 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19685 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19686 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19687 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19689 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19697 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19701 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19702 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19703 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19704 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19705 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19706 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19708 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19709 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19711 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19712 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19715 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19716 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19718 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19719 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19721 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19723 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19724 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19725 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19727 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19729 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19731 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19733 * math/math.h (M_El): Use two more decimal places.
19734 (M_LOG2El): Likewise.
19735 (M_LOG10El): Likewise.
19736 (M_LN2l): Likewise.
19737 (M_LN10l): Likewise.
19739 (M_PI_2l): Likewise.
19740 (M_PI_4l): Likewise.
19741 (M_1_PIl): Likewise.
19742 (M_2_PIl): Likewise.
19743 (M_2_SQRTPIl): Likewise.
19744 (M_SQRT2l): Likewise.
19745 (M_SQRT1_2l): Likewise.
19747 2012-05-31 David S. Miller <davem@davemloft.net>
19749 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19750 values between float registers.
19751 * sysdeps/sparc/sparc64/memset.S: Likewise.
19752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19754 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19756 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19757 -D_FORTIFY_SOURCE=1.
19758 (CPPFLAGS-tst-longjmp_chk.c): Define.
19759 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19760 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19761 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19762 CFLAGS-tst-wchar-h.c.
19764 2012-05-31 Marek Polacek <polacek@redhat.com>
19767 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19768 __endmntent_internal): Remove declaration.
19769 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19770 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19771 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19773 2012-05-30 David S. Miller <davem@davemloft.net>
19775 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19776 (___Q_simulate_exceptions): Use real FP ops rather than writing
19778 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19781 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19784 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19785 * sysdeps/x86/bits/xtitypes.h: This.
19787 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19788 * sysdeps/x86/bits/wordsize.h: This.
19790 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19791 * sysdeps/x86/bits/huge_vall.h: This.
19793 * sysdeps/i386/bits/select.h: Removed.
19794 * sysdeps/x86_64/bits/select.h: Renamed to ...
19795 * sysdeps/x86/bits/select.h: This.
19797 * sysdeps/i386/bits/setjmp.h: Removed.
19798 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19799 * sysdeps/x86/bits/setjmp.h: This.
19801 * sysdeps/i386/bits/mathdef.h: Removed.
19802 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19803 * sysdeps/x86/bits/mathdef.h: This.
19805 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19808 * include/sys/socket.h (__connect_internal)
19809 (__libc_sa_len_internal): Remove declaration.
19810 (__connect, __libc_sa_len): Declare hidden_proto.
19811 (SA_LEN): Remove use of INTUSE.
19812 * socket/connect.c: Add libc_hidden_def.
19813 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19814 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19815 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19817 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19818 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19819 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19820 of adding _internal alias.
19822 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19825 * sysdeps/i386/bits/link.h: Removed.
19826 * sysdeps/i386/bits/linkmap.h: Likewise.
19827 * sysdeps/x86_64/bits/link.h: Renamed to ...
19828 * sysdeps/x86/bits/link.h: This.
19829 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19830 * sysdeps/x86/bits/linkmap.h: This.
19832 * sysdeps/i386/bits/endian.h: Removed.
19833 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19834 * sysdeps/x86/bits/endian.h: This.
19836 * sysdeps/i386/bits/byteswap.h: Removed.
19837 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19838 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19839 * sysdeps/x86/bits/byteswap.h: This.
19840 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19841 * sysdeps/x86/bits/byteswap-16.h: This.
19842 * sysdeps/i386/Implies: Add x86.
19843 * sysdeps/x86_64/Implies: Likewise.
19845 2012-05-30 David S. Miller <davem@davemloft.net>
19847 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19848 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19849 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19850 (FP_TRAPPING_EXCEPTIONS): Define.
19851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19852 (FP_TRAPPING_EXCEPTIONS): Define.
19853 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19854 subnormals only when inexact has been signalled or underflow
19855 exceptions are enabled.
19856 (_FP_PACK_CANONICAL): Likewise.
19858 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19861 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19862 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19864 2012-05-30 Richard Henderson <rth@twiddle.net>
19866 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19867 with #ifndef NOT_IN_libc.
19869 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19870 marked to avoid plt entry.
19872 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19875 * Makeconfig (default-abi): New macro.
19876 (abi-includes): Likewise.
19877 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19878 $(abi-$(default-abi)-lib-soname) for soname if defined.
19879 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19881 * Makefile (installed-stubs): Likewise.
19882 * include/stubs-biarch.h: Removed.
19883 * scripts/lib-names.awk: Only handle one library at a time.
19884 * scripts/soversions.awk: Remove WORDSIZE support.
19885 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19887 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19889 (syscall-list-default-condition): Likewise.
19890 (syscall-list-default-condition): Likewise.
19891 (syscall-list-includes): Likewise.
19892 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19893 syscall-list-* with abi-*. Handle undefined abi-variants.
19894 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19895 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19896 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19897 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19898 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19899 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19901 (syscall-list-32-options): Likewise.
19902 (syscall-list-32-condition): Likewise.
19903 (syscall-list-64-options): Likewise.
19904 (syscall-list-64-condition): Likewise.
19905 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19907 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19910 (abi-64-ld-soname): New macro.
19911 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19912 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19915 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19916 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19918 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19920 * sysdeps/unix/sysv/linux/kernel-features.h
19921 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19922 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19923 include <kernel-features.h>.
19924 [!__NR_ftruncate64]: Remove conditional code.
19925 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19926 [__NR_ftruncate64]: Make code unconditional.
19927 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19928 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19929 include <kernel-features.h>.
19930 [!__NR_ftruncate64]: Remove conditional code.
19931 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19932 [__NR_ftruncate64]: Make code unconditional.
19933 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19935 include <kernel-features.h>.
19936 [!__NR_ftruncate64]: Remove conditional code.
19937 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19938 [__NR_ftruncate64]: Make code unconditional.
19939 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19941 include <kernel-features.h>.
19942 [!__NR_ftruncate64]: Remove conditional code.
19943 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19944 [__NR_ftruncate64]: Make code unconditional.
19945 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19947 * configure.in (libc_cv_fpie): Weaken to a compile test using
19948 LIBC_TRY_CC_OPTION.
19949 * configure: Regenerated.
19951 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19966 2012-05-27 David S. Miller <davem@davemloft.net>
19968 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19970 (__Q_simulate_exceptions): Return void. Change to simulate
19971 exceptions by writing into the %fsr.
19972 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19973 (__Qp_handle_exceptions): Likewise.
19975 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19976 __Qp_handle_exceptions.
19977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19978 __Qp_handle_exceptions.
19979 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19980 as unused and give dummy FP_RND_NEAREST initializer.
19981 (FP_INHIBIT_RESULTS): Define.
19982 (___Q_simulate_exceptions): Update declaration.
19983 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19985 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19986 as unused and give dummy FP_RND_NEAREST initializer.
19987 (__Qp_handle_exceptions): Update declaration.
19988 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19991 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19993 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19994 the temporary FPU control word.
19995 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19996 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19997 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19998 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19999 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20000 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20001 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20002 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20003 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20004 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20005 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20007 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20009 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20012 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20014 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20015 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20016 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20017 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20019 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20020 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20023 2012-05-27 Ulrich Drepper <drepper@gmail.com>
20025 * po/h.po: Update from translation team.
20027 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20029 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20031 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20032 handling of denormals.
20033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20034 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20035 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20036 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20042 2012-05-26 Marek Polacek <polacek@redhat.com>
20045 * math/libm-test.inc (fma_test): Don't always expect underflow
20048 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20051 * elf/tst-execstack.c: Include stackinfo.h.
20052 (do_test): Adjust test case to ensure that pthread_getattr_np
20053 behaviour remains the same after marking stack executable.
20055 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20057 * sysdeps/unix/sysv/linux/kernel-features.h
20058 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20059 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20061 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20062 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20063 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20065 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20066 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20068 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20070 * configure.in: Define the default includes to being none.
20071 * configure: Regenerated.
20073 2012-05-25 Roland McGrath <roland@hack.frob.com>
20075 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20076 * sysdeps/x86_64/setjmp.S: Likewise.
20077 * sysdeps/i386/bsd-setjmp.S: Likewise.
20078 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20079 * sysdeps/i386/setjmp.S: Likewise.
20080 * sysdeps/i386/__longjmp.S: Likewise.
20081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20082 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20084 * include/stap-probe.h: New file.
20085 * configure.in: Handle --enable-systemtap.
20086 * configure: Regenerated.
20087 * config.h.in (USE_STAP_PROBE): New #undef.
20088 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20089 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20090 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20092 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20096 to 2.4.0 where earlier.
20097 * sysdeps/unix/sysv/linux/configure: Regenerated.
20098 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20099 <kernel-features.h>.
20100 [__ASSUME_32BITUIDS]: Make code unconditional.
20101 [!__ASSUME_32BITUIDS]: Remove conditional code.
20102 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20103 <kernel-features.h>.
20104 [__ASSUME_32BITUIDS]: Make code unconditional.
20105 [!__ASSUME_32BITUIDS]: Remove conditional code.
20106 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20107 [__ASSUME_32BITUIDS]: Make code unconditional.
20108 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20109 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20110 <kernel-features.h>.
20111 [__ASSUME_32BITUIDS]: Make code unconditional.
20112 [!__ASSUME_32BITUIDS]: Remove conditional code.
20113 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20114 <kernel-features.h>.
20115 [__ASSUME_32BITUIDS]: Make code unconditional.
20116 [!__ASSUME_32BITUIDS]: Remove conditional code.
20117 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20118 <kernel-features.h>.
20119 [__ASSUME_32BITUIDS]: Make code unconditional.
20120 [!__ASSUME_32BITUIDS]: Remove conditional code.
20121 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20122 <kernel-features.h>.
20123 [__ASSUME_32BITUIDS]: Make code unconditional.
20124 [!__ASSUME_32BITUIDS]: Remove conditional code.
20125 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20126 <kernel-features.h>.
20127 [__ASSUME_32BITUIDS]: Make code unconditional.
20128 [!__ASSUME_32BITUIDS]: Remove conditional code.
20129 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20130 <kernel-features.h>.
20131 [__ASSUME_32BITUIDS]: Make code unconditional.
20132 [!__ASSUME_32BITUIDS]: Remove conditional code.
20133 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20134 <kernel-features.h>.
20135 [__ASSUME_32BITUIDS]: Make code unconditional.
20136 [!__ASSUME_32BITUIDS]: Remove conditional code.
20137 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20138 <kernel-features.h>.
20139 [__ASSUME_32BITUIDS]: Make code unconditional.
20140 [!__ASSUME_32BITUIDS]: Remove conditional code.
20141 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20142 <kernel-features.h>.
20143 [__ASSUME_32BITUIDS]: Make code unconditional.
20144 [!__ASSUME_32BITUIDS]: Remove conditional code.
20145 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20146 <kernel-features.h>.
20147 [__ASSUME_32BITUIDS]: Make code unconditional.
20148 [!__ASSUME_32BITUIDS]: Remove conditional code.
20149 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20150 <kernel-features.h>.
20151 [__NR_setresgid] (__setresgid): Do not declare.
20152 [__ASSUME_32BITUIDS]: Make code unconditional.
20153 [!__ASSUME_32BITUIDS]: Remove conditional code.
20154 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20155 <kernel-features.h>.
20156 [__NR_setresuid] (__setresuid): Do not declare.
20157 [__ASSUME_32BITUIDS]: Make code unconditional.
20158 [!__ASSUME_32BITUIDS]: Remove conditional code.
20159 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20160 <kernel-features.h>.
20161 [__ASSUME_32BITUIDS]: Make code unconditional.
20162 [!__ASSUME_32BITUIDS]: Remove conditional code.
20163 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20164 <kernel-features.h>.
20165 [__ASSUME_32BITUIDS]: Make code unconditional.
20166 [!__ASSUME_32BITUIDS]: Remove conditional code.
20167 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20168 <kernel-features.h>.
20169 [__ASSUME_32BITUIDS]: Make code unconditional.
20170 [!__ASSUME_32BITUIDS]: Remove conditional code.
20171 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20172 <kernel-features.h>.
20173 [__ASSUME_32BITUIDS]: Make code unconditional.
20174 [!__ASSUME_32BITUIDS]: Remove conditional code.
20175 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20176 <kernel-features.h>.
20177 [__ASSUME_32BITUIDS]: Make code unconditional.
20178 [!__ASSUME_32BITUIDS]: Remove conditional code.
20179 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20180 <kernel-features.h>.
20181 [__ASSUME_32BITUIDS]: Make code unconditional.
20182 [!__ASSUME_32BITUIDS]: Remove conditional code.
20183 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20184 <kernel-features.h>.
20185 [__ASSUME_32BITUIDS]: Make code unconditional.
20186 [!__ASSUME_32BITUIDS]: Remove conditional code.
20187 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20188 <kernel-features.h>.
20189 [__ASSUME_32BITUIDS]: Make code unconditional.
20190 [!__ASSUME_32BITUIDS]: Remove conditional code.
20191 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20192 <kernel-features.h>.
20193 [__ASSUME_32BITUIDS]: Make code unconditional.
20194 [!__ASSUME_32BITUIDS]: Remove conditional code.
20195 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20196 <kernel-features.h>.
20197 [__ASSUME_32BITUIDS]: Make code unconditional.
20198 [!__ASSUME_32BITUIDS]: Remove conditional code.
20199 * sysdeps/unix/sysv/linux/kernel-features.h
20200 (__ASSUME_SETRESUID_SYSCALL): Remove.
20201 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20202 (__ASSUME_32BITUIDS): Likewise.
20203 (__ASSUME_LDT_WORKS): Likewise.
20204 (__ASSUME_O_DIRECTORY): Likewise.
20205 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20206 architecture but not kernel version.
20207 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20208 (__ASSUME_MMAP2_SYSCALL): Likewise.
20209 (__ASSUME_STAT64_SYSCALL): Likewise.
20210 (__ASSUME_IPC64): Likewise.
20211 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20212 <kernel-features.h>.
20213 [__ASSUME_32BITUIDS]: Make code unconditional.
20214 [!__ASSUME_32BITUIDS]: Remove conditional code.
20215 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20216 <kernel-features.h>.
20217 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20218 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20219 132096]: Remove conditional code.
20220 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20221 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20222 <kernel-features.h>.
20223 [__ASSUME_32BITUIDS]: Make code unconditional.
20224 [!__ASSUME_32BITUIDS]: Remove conditional code.
20225 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20226 <kernel-features.h>.
20227 [__ASSUME_32BITUIDS]: Make code unconditional.
20228 [!__ASSUME_32BITUIDS]: Remove conditional code.
20229 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20230 <kernel-features.h>.
20231 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20233 (__setresgid): Do not declare.
20234 [__ASSUME_32BITUIDS]: Make code unconditional.
20235 [!__ASSUME_32BITUIDS]: Remove conditional code.
20236 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20237 <kernel-features.h>.
20238 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20240 (__setresuid): Do not declare.
20241 [__ASSUME_32BITUIDS]: Make code unconditional.
20242 [!__ASSUME_32BITUIDS]: Remove conditional code.
20243 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20244 <kernel-features.h>.
20245 [__ASSUME_32BITUIDS]: Make code unconditional.
20246 [!__ASSUME_32BITUIDS]: Remove conditional code.
20247 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20248 <kernel-features.h>.
20249 [__ASSUME_32BITUIDS]: Make code unconditional.
20250 [!__ASSUME_32BITUIDS]: Remove conditional code.
20252 2012-05-25 Richard Henderson <rth@twiddle.net>
20254 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20255 dl_hwcap to ifunc resolver.
20256 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20258 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20259 dl_hwcap to ifunc resolver.
20260 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20262 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20265 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20266 for |x| <= 2**-26, not 2**-57.
20267 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20270 2012-05-24 Jeff Law <law@redhat.com>
20272 * stdio-common/Makefile (tests): Add bug25.
20273 * stdio-common/bug25.c: New test.
20275 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20278 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20279 multiple of MALLOC_ALIGNMENT in size.
20280 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20282 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20284 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20286 (FILENAME_MAX): Use macro-int-constant.
20287 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20288 (_IOFBF): Use macro-int-constant.
20289 (_IOLBF): Likewise.
20290 (_IONBF): Likewise.
20291 (SEEK_CUR): Likewise.
20292 (SEEK_END): Likewise.
20293 (SEEK_SET): Likewise.
20294 (TMP_MAX): Likewise.
20295 (EOF): Use macro-int-constant. Require < 0.
20296 (NULL): Use macro-constant. Require == 0.
20297 (stdin): Require type to be FILE *.
20298 (stdout): Likewise.
20299 (stderr): Likewise.
20300 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20301 macro-int-constant.
20302 (EXIT_SUCCESS): Likewise.
20303 (NULL): Use macro-constant. Require == 0.
20304 (RAND_MAX): Use macro-int-constant.
20305 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20306 [C99-based standards] (strtof): Require function.
20307 [C99-based standards] (strtold): Likewise.
20308 [C99-based standards] (strtoll): Likewise.
20309 [C99-based standards] (strtoull): Likewise.
20310 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20311 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20312 [ISO || ISO99 || ISO11] (math.h): Likewise.
20313 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20314 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20315 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20317 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20320 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20321 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20322 * intl/dgettext.c (DCGETTEXT): Likewise.
20323 * intl/gettext.c (DCGETTEXT): Likewise.
20324 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20325 * posix/regex_internal.h (gettext): Likewise.
20326 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20327 Remove declaration.
20328 * include/argz.h (__argz_count_internal)
20329 (__argz_stringify_internal): Remove declaration.
20330 (__argz_count, __argz_stringify): Declare hidden proto.
20331 * intl/dcgettext.c: Remove use of INTDEF.
20332 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20333 * string/argz-stringify.c: Likewise.
20334 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20335 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20336 Declare hidden proto.
20337 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20338 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20339 Declare hidden proto.
20340 * include/stdio.h (__asprintf_internal): Don't declare.
20341 (__asprintf): Don't define as macro. Declare hidden proto.
20342 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20343 (__fsetlocking): Declare hidden proto.
20344 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20345 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20347 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20348 (_IO_setlinebuf): Remove use of INTUSE.
20349 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20350 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20351 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20352 Remove declaration.
20353 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20354 (_IO_do_flush): Remove use of INTUSE.
20355 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20356 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20357 (_IO_adjust_column, _IO_least_wmarker)
20358 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20359 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20360 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20361 (_IO_default_doallocate, _IO_wdefault_doallocate)
20362 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20363 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20364 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20365 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20366 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20367 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20368 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20369 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20370 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20371 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20372 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20373 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20374 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20376 (_IO_flush_all_internal, _IO_adjust_column_internal)
20377 (_IO_default_uflow_internal, _IO_default_finish_internal)
20378 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20379 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20380 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20381 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20382 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20383 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20384 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20385 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20386 (_IO_file_close_internal, _IO_file_close_it_internal)
20387 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20388 (_IO_file_init_internal, _IO_file_attach_internal)
20389 (_IO_file_fopen_internal, _IO_file_read_internal)
20390 (_IO_file_sync_internal, _IO_file_seek_internal)
20391 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20392 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20393 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20394 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20395 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20396 (_IO_list_all_internal, _IO_link_in_internal)
20397 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20398 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20399 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20400 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20401 (_IO_do_write_internal, _IO_padn_internal)
20402 (_IO_getline_info_internal, _IO_getline_internal)
20403 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20404 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20405 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20406 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20407 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20408 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20409 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20410 with libc_hidden_ver, remove use of INTUSE.
20411 * libio/genops.c: Likewise.
20412 * libio/freopen.c: Likewise.
20413 * libio/freopen64.c: Likewise.
20414 * libio/iofclose.c: Likewise.
20415 * libio/iofdopen.c: Likewise.
20416 * libio/iofflush.c: Likewise.
20417 * libio/iofflush_u.c: Likewise.
20418 * libio/iofgets.c: Likewise.
20419 * libio/iofgets_u.c: Likewise.
20420 * libio/iofopen.c: Likewise.
20421 * libio/iofopncook.c: Likewise.
20422 * libio/iofread.c: Likewise.
20423 * libio/iofread_u.c: Likewise.
20424 * libio/ioftell.c: Likewise.
20425 * libio/iofwrite.c: Likewise.
20426 * libio/iogetline.c: Likewise.
20427 * libio/iogets.c: Likewise.
20428 * libio/iogetwline.c: Likewise.
20429 * libio/iopadn.c: Likewise.
20430 * libio/iopopen.c: Likewise.
20431 * libio/ioseekoff.c: Likewise.
20432 * libio/ioseekpos.c: Likewise.
20433 * libio/iosetbuffer.c: Likewise.
20434 * libio/iosetvbuf.c: Likewise.
20435 * libio/ioungetc.c: Likewise.
20436 * libio/ioungetwc.c: Likewise.
20437 * libio/iovdprintf.c: Likewise.
20438 * libio/iovsprintf.c: Likewise.
20439 * libio/iovsscanf.c: Likewise.
20440 * libio/memstream.c: Likewise.
20441 * libio/obprintf.c: Likewise.
20442 * libio/oldfileops.c: Likewise.
20443 * libio/oldiofclose.c: Likewise.
20444 * libio/oldiofdopen.c: Likewise.
20445 * libio/oldiofopen.c: Likewise.
20446 * libio/oldiopopen.c: Likewise.
20447 * libio/oldstdfiles.c: Likewise.
20448 * libio/putc.c: Likewise.
20449 * libio/setbuf.c: Likewise.
20450 * libio/setlinebuf.c: Likewise.
20451 * libio/stdfiles.c: Likewise.
20452 * libio/strops.c: Likewise.
20453 * libio/vasprintf.c: Likewise.
20454 * libio/vscanf.c: Likewise.
20455 * libio/vsnprintf.c: Likewise.
20456 * libio/vswprintf.c: Likewise.
20457 * libio/wfiledoalloc.c: Likewise.
20458 * libio/wfileops.c: Likewise.
20459 * libio/wgenops.c: Likewise.
20460 * libio/wmemstream.c: Likewise.
20461 * libio/wstrops.c: Likewise.
20462 * libio/__fpurge.c: Likewise.
20463 * libio/__fsetlocking.c: Likewise.
20464 * assert/assert.c: Likewise.
20465 * debug/fgets_chk.c: Likewise.
20466 * debug/fgets_u_chk.c: Likewise.
20467 * debug/fread_chk.c: Likewise.
20468 * debug/fread_u_chk.c: Likewise.
20469 * debug/gets_chk.c: Likewise.
20470 * debug/obprintf_chk.c: Likewise.
20471 * debug/vasprintf_chk.c: Likewise.
20472 * debug/vdprintf_chk.c: Likewise.
20473 * debug/vsnprintf_chk.c: Likewise.
20474 * debug/vsprintf_chk.c: Likewise.
20475 * malloc/mtrace.c: Likewise.
20476 * misc/error.c: Likewise.
20477 * misc/syslog.c: Likewise.
20478 * stdio-common/asprintf.c: Likewise.
20479 * stdio-common/fxprintf.c: Likewise.
20480 * stdio-common/getw.c: Likewise.
20481 * stdio-common/isoc99_fscanf.c: Likewise.
20482 * stdio-common/isoc99_scanf.c: Likewise.
20483 * stdio-common/isoc99_vfscanf.c: Likewise.
20484 * stdio-common/isoc99_vscanf.c: Likewise.
20485 * stdio-common/isoc99_vsscanf.c: Likewise.
20486 * stdio-common/printf-prs.c: Likewise.
20487 * stdio-common/printf_fp.c: Likewise.
20488 * stdio-common/printf_fphex.c: Likewise.
20489 * stdio-common/printf_size.c: Likewise.
20490 * stdio-common/putw.c: Likewise.
20491 * stdio-common/scanf.c: Likewise.
20492 * stdio-common/sprintf.c: Likewise.
20493 * stdio-common/tmpfile.c: Likewise.
20494 * stdio-common/vfprintf.c: Likewise.
20495 * stdio-common/vfscanf.c: Likewise.
20496 * stdlib/strfmon_l.c: Likewise.
20497 * sunrpc/openchild.c: Likewise.
20498 * sunrpc/xdr_stdio.c: Likewise.
20499 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20500 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20502 2012-05-24 Roland McGrath <roland@hack.frob.com>
20504 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20506 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20507 in the third column, to generate for the shared library an IFUNC
20508 that uses _dl_vdso_vsym.
20509 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20510 * Makeconfig (object-suffixes-noshared): New variable.
20512 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20513 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20514 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20515 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20518 * include/sys/time.h (__gettimeofday): Remove macro.
20519 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20520 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20522 (__gettimeofday): Add libc_hidden_def.
20523 (gettimeofday): Add libc_hidden_weak.
20524 * sysdeps/mach/gettimeofday.c: Likewise.
20525 * sysdeps/posix/gettimeofday.c: Likewise.
20526 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20527 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20529 (__gettimeofday_internal): Remove strong_alias.
20530 (__gettimeofday): Add libc_hidden_def.
20531 (gettimeofday): Add libc_hidden_weak.
20532 * sysdeps/unix/syscalls.list (gettimeofday):
20533 Remove __gettimeofday_internal alias.
20535 2012-05-24 Daniel Jacobowitz <drow@false.org>
20536 H.J. Lu <hongjiu.lu@intel.com>
20539 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20540 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20541 (largebin_index_32_big): New.
20542 (largebin_index): Use it for 16-byte alignment.
20543 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20544 correction with front_misalign.
20546 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20574 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20575 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20577 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20581 * math/libm-test.inc (exp_test): Add test from bug 14036.
20582 (pow_test): Add test from bug 10846.
20584 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20586 (special_function): Do not include flags in test name.
20587 (parse_args): Likewise.
20588 * sysdeps/i386/fpu/libm-test-ulps: Update.
20589 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20590 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20591 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20596 * math/libm-test.inc ("Philosophy"): Update comment about
20598 (UNDERFLOW_EXCEPTION): New macro.
20599 (UNDERFLOW_EXCEPTION_OK): Likewise.
20600 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20601 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20602 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20603 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20604 (INVALID_EXCEPTION_OK): Update value.
20605 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20606 (OVERFLOW_EXCEPTION_OK): Likewise.
20607 (IGNORE_ZERO_INF_SIGN): Likewise.
20608 (test_exceptions): Handle underflow exceptions.
20609 (acos_test): Update for underflow exception expectations.
20610 (cexp_test): Likewise.
20611 (clog_test): Likewise.
20612 (clog10_test): Likewise.
20613 (csqrt_test): Likewise.
20614 (ctan_test): Likewise.
20615 (ctanh_test): Likewise.
20616 (exp_test): Likewise.
20617 (exp10_test): Likewise.
20618 (exp2_test): Likewise.
20619 (expm1_test): Likewise.
20620 (fma_test): Likewise.
20621 (j0_test): Likewise.
20622 (jn_test): Likewise.
20623 (nexttoward_test): Likewise.
20624 (pow_test): Likewise.
20625 (scalbn_test): Likewise.
20626 (scalbln_test): Likewise.
20627 (tan_test): Likewise.
20628 (y1_test): Likewise.
20629 * sysdeps/i386/fpu/libm-test-ulps: Update.
20630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20632 2012-05-23 David S. Miller <davem@davemloft.net>
20634 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20635 (__libc_sigaction): Remove unused local variables.
20637 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20639 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20641 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20643 mktime: avoid signed integer overflow
20644 * time/mktime.c (__mktime_internal): Do not mishandle the case
20645 where diff == INT_MIN.
20647 mktime: simplify computation of average
20648 * time/mktime.c (ranged_convert): Use new time_t_avg function
20649 instead of rolling our own (probably-slower) code.
20651 mktime: do not assume signed right shift propagates sign bit
20652 * time/mktime.c (isdst_differ): New static function.
20653 (__mktime_internal): No need to normalize tm_isdst now.
20654 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20657 mktime: merge another wrapv change from gnulib
20658 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20659 from some compilers.
20661 mktime: remove incorrect attempt at unusual arithmetics
20662 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20663 The code didn't really work on such machines anyway.
20664 (TYPE_MINIMUM): Assume two's complement.
20665 (twos_complement_arithmetic): Verify that long_int and time_t
20666 are two's complement (or unsigned, in the latter case).
20668 mktime: check signed shifts on long_int and time_t, too
20669 * time/mktime.c (SHR): Check that shifts work as desired
20670 on the types long_int and time_t too, as SHR is used on
20673 mktime: do not assume 'long' is wide enough
20674 * time/mktime.c (verify): Move decl up.
20675 (long_int): New type.
20676 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20677 to remove assumption in the code that 'long' is wide enough to
20678 store year values. This assumption is not true on x32 and on
20679 some non-glibc platforms.
20681 mktime: merge wrapv change from gnulib
20682 * time/mktime.c (WRAPV): New macro.
20683 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20684 (guess_time_tm, __mktime_internal): Do not assume that signed
20685 integer overflow wraps around; modern compilers generate code
20686 where this assumption is no longer valid.
20688 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20690 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20691 Replace "jmp L(pseudo_end)" with "ret".
20692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20695 2012-05-23 Andreas Jaeger <aj@suse.de>
20697 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20698 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20700 2012-05-23 Andreas Jaeger <aj@suse.de>
20701 Maximilian Attems <max@stro.at>
20703 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20706 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20708 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20709 code so that pseudo_end is just ret and the stack pointer is
20710 correct also for static library in error case.
20712 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20714 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20715 move to syscalls.list.
20716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20721 * manual/install.texi (Running make install): Do not mention Linux
20722 kernel version for which pt_chown is not needed.
20723 (Linux): Do not mention problems with nscd with 2.0 kernels.
20724 * INSTALL: Regenerated.
20726 2012-05-23 Andreas Jaeger <aj@suse.de>
20728 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20729 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20731 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20732 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20733 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20734 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20735 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20736 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20738 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20739 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20740 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20741 * sysdeps/unix/sysv/linux/bits/in.h
20742 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20744 2012-05-22 Roland McGrath <roland@hack.frob.com>
20746 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20747 (PREPARE_VERSION): Just use assert instead, it will be elided
20748 under [NDEBUG] anyway.
20750 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20752 * sysdeps/unix/sysv/linux/Makefile: Include
20753 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20754 (sysdep_routines): Remove sysctl.
20755 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20756 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20757 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20758 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20759 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20761 2012-05-22 Andreas Jaeger <aj@suse.de>
20763 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20764 that pseudo_end is just ret and the stack pointer is correct also
20765 for static library in error case.
20767 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20770 * nss/nsswitch.c (defconfig_entries): New variable.
20771 (__nss_database_lookup): Don't leak defconfig entries.
20772 (nss_parse_service_list): Don't leak on error paths.
20773 (free_database_entries): New function.
20774 (free_defconfig): New function.
20775 (free_mem): Move common code to free_database_entries.
20777 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20779 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20781 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20783 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20784 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20787 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20788 (INTERNAL_SYSCALL_TYPES): Likewise.
20789 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20790 (LOAD_REGS_TYPES_[1-6]): Likewise.
20791 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20792 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20794 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20797 copysignl for GLIBC_2_0.
20798 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20799 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20801 logbl for GLIBC_2_0.
20802 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20803 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20805 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20807 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20808 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20810 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20813 * time/mktime.c: Update copyright years.
20815 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20817 mktime: merge comment-quoting-style change from gnulib
20818 * time/mktime.c: Quote 'like this' in comments.
20819 The GNU coding standards suggest that we no longer quote `like this',
20820 as "`" and "'" are typically rendered asymmetrically nowadays.
20821 The typical gnulib style is to quote 'like this' when quoting
20822 code, and "like this" when quoting English.
20824 * time/mktime.c (compile-command): Add "-I.".
20826 mktime: merge mktime-internal.h change from gnulib
20827 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20829 mktime: merge time_r change from gnulib
20830 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20832 mktime: merge DEBUG change from gnulib
20833 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20834 case system <time.h> has a #define.
20836 mktime: merge <sys/types.h> change from gnulib
20837 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20838 since <time.t> is now guaranteed to define time_t.
20840 mktime: merge HAVE_CONFIG_H change from gnulib
20841 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20843 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20848 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20850 (struct rusage): Use anonymous union to pad each field to
20853 2012-05-21 David S. Miller <davem@davemloft.net>
20855 * Makefules (o-iterator): Remove .s cases.
20856 (compile-command.s): Delete.
20857 (COMPILE.s): Delete.
20858 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20860 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20862 * configure.in (libc_cv_predef_stack_protector): Only consider
20863 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20864 * configure: Regenerated.
20866 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20869 New macro. Use R*LP on int and pointer.
20870 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20871 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20872 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20873 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20875 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20876 [__WORDSIZE_TIME64_COMPAT32] instead of
20877 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20878 (struct utmp): Likewise.
20879 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20880 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20882 (__WORDSIZE_TIME64_COMPAT32): This.
20883 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20884 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20885 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20886 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20887 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20888 (__WORDSIZE_TIME64_COMPAT32): New macro.
20890 2012-05-21 Andreas Jaeger <aj@suse.de>
20892 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20893 only if [SHARED]. Add prototype for __wcschr_ia32.
20895 2012-05-21 Roland McGrath <roland@hack.frob.com>
20897 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20898 of %rbp unmolested in the jmp_buf while mangling the low bits.
20899 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20900 unmolested high bits of %rbp while demangling the low bits.
20901 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20903 2012-05-21 Andreas Jaeger <aj@suse.de>
20905 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20906 * sunrpc/svc_simple.c: Use it for registerrpc.
20907 * sunrpc/xcrypt.c: Use it for passwd2des.
20909 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20911 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20913 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20914 Don't define if [__SYSCALL_WORDSIZE != 32].
20915 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20918 2012-05-21 Bruno Haible <bruno@clisp.org>
20919 Andreas Jaeger <aj@suse.de>
20921 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20922 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20923 inptr and inend for must_buffer_ch.
20924 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20925 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20926 * stdio-common/Makefile (tests): Remove bug15.
20927 (bug15-ENV): Remove macro.
20928 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20931 2012-05-19 Andreas Jaeger <aj@suse.de>
20932 Roland McGrath <roland@hack.frob.com>
20934 * manual/contrib.texi: Completely rewritten. It contains now an
20935 alphabetical list of contributors and their contributions.
20937 2012-05-21 Richard Henderson <rth@twiddle.net>
20939 * misc/getauxval.c (__getauxval): Use unsigned long int.
20940 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20941 (getauxval): Use unsigned long int.
20943 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20945 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20947 2012-05-21 Roland McGrath <roland@hack.frob.com>
20949 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20950 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20951 __alignof__ (long double).
20953 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20957 2012-05-20 Richard Henderson <rth@twiddle.net>
20959 * misc/getauxval.c: New file.
20960 * misc/sys/auxv.h: New file.
20961 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20962 (routines): Add getauxval.
20963 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20964 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20965 * elf/dl-sysdep.c (_dl_auxv): Remove.
20966 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20967 * elf/dl-support.c (_dl_auxv): New variable.
20968 (_dl_aux_init): Initialize it.
20969 * manual/startup.texi (Auxiliary Vector): New node.
20970 * sysdeps/generic/bits/hwcap.h: New file.
20971 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20972 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20973 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20974 * sysdeps/sparc/sysdep.h: ... here. Include it.
20975 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20982 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20988 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20992 2012-05-19 David S. Miller <davem@davemloft.net>
20994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20996 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20999 * math/s_ccosh.c: Include <float.h>
21000 (__ccosh): Avoid internal overflow calculating sinh and cosh
21001 values before multiplying by sin and cos values.
21002 * math/s_ccoshf.c: Likewise.
21003 * math/s_ccoshl.c: Likewise.
21004 * math/s_csin.c: Likewise.
21005 * math/s_csinf.c: Likewise.
21006 * math/s_csinl.c: Likewise.
21007 * math/s_csinh.c: Likewise.
21008 * math/s_csinhf.c: Likewise.
21009 * math/s_csinhl.c: Likewise.
21010 * math/libm-test.inc (ccos_test): Add more tests.
21011 (ccosh_test): Likewise.
21012 (csin_test): Likewise.
21013 (csinh_test): Likewise.
21014 * sysdeps/i386/fpu/libm-test-ulps: Update.
21015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21017 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21019 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21020 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21022 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21024 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21026 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21027 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21028 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21029 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21030 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21031 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21032 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21033 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21034 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21035 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21036 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21037 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21038 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21039 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21040 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21041 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21042 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21043 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21044 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21045 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21046 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21047 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21048 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21049 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21050 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21051 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21052 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21053 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21054 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21055 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21056 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21058 2012-05-18 Andreas Jaeger <aj@suse.de>
21060 * csu/.gitignore: Delete.
21062 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21064 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21065 (timex): Use __syscall_slong_t.
21067 2012-05-18 Andreas Jaeger <aj@suse.de>
21068 Carlos O'Donell <carlos_odonell@mentor.com>
21070 * manual/install.texi (Configuring and compiling): Update
21071 description about files modified in the source directory.
21072 * INSTALL: Regenerated.
21074 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21076 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21077 value. Use "or" to set return value to -1.
21078 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21079 negate return value.
21081 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21083 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21084 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21085 failure if the compiler has Graphite support disabled.
21086 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21088 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21089 CFLAGS-memmove.c): Likewise.
21090 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21093 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21095 * sysdeps/x86_64/x32/_itoa.h: New file.
21097 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21098 getdents system call only if kernel and user dirents have the
21099 same d_ino and d_off.
21101 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21102 LLONG_MAX != LONG_MAX.
21103 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21104 (_fitoa_word): Likewise.
21106 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21108 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21109 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21110 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21112 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21113 include <bits/wordsize.h>. Check __x86_64__ instead of
21115 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21116 if __x86_64__ is defined. Use anonymous union on fpstate.
21118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21121 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21123 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21124 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21125 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21126 Refer to _rtld_local_ro instead of _rtld_global_ro.
21127 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21129 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21131 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21133 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21134 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21135 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21137 * sysdeps/powerpc/powerpc32/dl-machine.c
21138 (__elf_machine_runtime_setup) [PROF]: Don't reference
21141 2012-05-18 Andreas Jaeger <aj@suse.de>
21143 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21144 function only available for GCCs before 3.4 since GCC 3.4
21145 introduced a builtin.
21147 (llrintf): Likewise.
21148 (llrint): Likewise.
21155 (nearbyint): Likewise.
21156 (nearbyintf): Likewise.
21160 (floorf): Likewise.
21162 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21164 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21165 on both fields and cast pointer to __syscall_ulong_t.
21167 * bits/types.h (__fsword_t): New type.
21168 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21169 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21171 (__FSWORD_T_TYPE): Likewise.
21172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21173 (__FSWORD_T_TYPE): Likewise.
21174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21175 (__FSWORD_T_TYPE): Likewise.
21176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21177 (__FSWORD_T_TYPE): Likewise.
21178 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21179 __SWORD_TYPE with __fsword_t.
21180 (statfs64): Likewise.
21182 2012-05-17 David S. Miller <davem@davemloft.net>
21184 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21186 2012-05-17 Andreas Jaeger <aj@suse.de>
21188 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21191 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21193 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21195 2012-05-17 Andreas Jaeger <aj@suse.de>
21197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21200 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21202 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21204 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21206 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21207 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21209 2012-05-17 Andreas Jaeger <aj@suse.de>
21210 Carlos O'Donell <carlos_odonell@mentor.com>
21213 * sysdeps/x86_64/multiarch/init-arch.h
21214 (bit_YMM_Usable): Rename to...
21215 (bit_AVX_Usable): ... this.
21216 (bit_FMA4_Usable): New macro.
21217 (bit_XMM_state): New macro.
21218 (bit_YMM_state): New macro.
21219 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21220 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21221 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21222 (CPUID_OSXSAVE): New macro.
21223 (CPUID_AVX): New macro.
21224 (CPUID_FMA4): New macro.
21225 (index_YMM_Usable): Rename to...
21226 (index_AVX_Usable): ... this.
21227 (HAS_AVX): Use HAS_ARCH_FEATURE.
21228 (HAS_FMA4): Likewise.
21229 (HAS_YMM_USABLE): Remove.
21230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21231 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21233 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21234 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21235 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21236 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21237 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21239 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21241 * math/libm-test.c: Support platforms without multiple rounding modes.
21242 * math/bug-nextafter.c: Support platforms without FP exceptions.
21243 * math/bug-nexttoward.c: Likewise.
21244 * math/test-fenv.c: Likewise.
21245 * math/test-misc.c: Likewise.
21246 * stdlib/bug-getcontext.c: Likewise.
21248 2012-05-17 Andreas Jaeger <aj@suse.de>
21250 * manual/examples/search.c (critter_cmp): Change signature to
21252 * manual/string.texi (Collation Functions): Likewise.
21254 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21256 * bits/types.h: Fold copyright years.
21257 * bits/typesizes.h: Likewise.
21258 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21261 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21262 * time/time.h: Likewise.
21264 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21267 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21268 in instead of returning them. Return void.
21269 (__libc_mallinfo): Accumulate over all arenas.
21270 (__malloc_stats): Adjust for change in int_mallinfo interface.
21272 2012-05-16 Roland McGrath <roland@hack.frob.com>
21275 * configure.in (NM): Add AC_CHECK_TOOL for it.
21276 (libc_extra_cflags): New substituted variable.
21277 Check for -fstack-protector being used implicitly.
21278 * configure: Regenerated.
21279 * config.make.in (config-extra-cflags): New variable,
21280 gets @libc_extra_cflags@.
21281 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21284 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21285 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21286 * configure: Regenerated.
21287 * config.make.in (CPPUNDEFS): New substituted variable.
21288 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21289 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21290 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21292 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21294 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21295 (mq_attr): Use __syscall_slong_t.
21297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21299 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21300 Check __x86_64__ instead of __WORDSIZE.
21301 (_STAT_VER_LINUX): Likewise.
21302 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21303 __syscall_ulong_t and __syscall_slong_t.
21304 (stat64): Likewise.
21306 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21308 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21310 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21312 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21314 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21316 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21319 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21320 include <bits/wordsize.h>. Check __x86_64__ instead of
21322 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21324 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21327 include <bits/wordsize.h>. Check __x86_64__ instead of
21329 (user_regs_struct): Use "__extension__ unsigned long long"
21330 instead of "unsigned long" if __x86_64__ is defined.
21331 (user): Likewise. Pad after pointer field if __ILP32__ is
21334 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21336 * configure.in (makeinfo): Require version 4.5 or later. Allow
21338 * configure: Regenerated.
21339 * manual/install.texi (texinfo): Increase version requirement to
21341 * INSTALL: Regenerated.
21343 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21345 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21347 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21349 * sysdeps/x86_64/x32/ffs.c: New file.
21351 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21353 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21354 defined. Use __syscall_ulong_t.
21355 (shminfo): Use __syscall_ulong_t.
21356 (shm_info): Likewise.
21358 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21361 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21363 (msgqnum_t): Use __syscall_ulong_t.
21364 (msglen_t): Likewise.
21365 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21368 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21369 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21371 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21373 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21374 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21376 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21379 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21380 include <bits/wordsize.h>. Check __x86_64__ instead of
21383 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21384 "unsigned long long int" if __x86_64__ is defined.
21385 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21387 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21388 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21389 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21391 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21393 (GET_PC): Cast to uintptr_t first.
21394 (GET_FRAME): Likewise.
21395 (GET_STACK): Likewise.
21397 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21398 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21399 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21400 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21401 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21402 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21403 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21404 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21405 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21406 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21407 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21408 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21409 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21410 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21411 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21413 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21414 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21415 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21416 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21418 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21419 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21420 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21421 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21422 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21424 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21425 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21427 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21429 * Makerules (+depfiles): Also collect depfiles from .oS in
21431 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21432 .oS, $(libnldbl-routines)).
21434 * Makerules (native-compile-mkdep-flags): Define.
21435 * sunrpc/Makefile (extra-objs): Add $(addprefix
21436 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21437 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21438 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21439 calling $(make-target-directory).
21441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21443 * bits/types.h (__snseconds_t): Removed.
21444 * time/time.h (struct timespec): Replace __snseconds_t with
21446 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21447 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21450 (__SNSECONDS_T_TYPE): Likewise.
21451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21452 (__SNSECONDS_T_TYPE): Likewise.
21453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21454 (__SNSECONDS_T_TYPE): Likewise.
21456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21458 * sysdeps/mach/hurd/bits/typesizes.h
21459 (__SYSCALL_SLONG_TYPE): New macro.
21460 (__SYSCALL_ULONG_TYPE): Likewise.
21462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21464 * bits/types.h (__syscall_slong_t): New type.
21465 (__syscall_ulong_t): Likewise.
21467 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21468 (__SYSCALL_ULONG_TYPE): Likewise.
21469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21470 (__SYSCALL_SLONG_TYPE): Likewise.
21471 (__SYSCALL_ULONG_TYPE): Likewise.
21472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21473 (__SYSCALL_SLONG_TYPE): Likewise.
21474 (__SYSCALL_ULONG_TYPE): Likewise.
21475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21476 (__SYSCALL_SLONG_TYPE): Likewise.
21477 (__SYSCALL_ULONG_TYPE): Likewise.
21479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21481 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21482 Add sigaltstack-offsets.sym.
21483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21484 <sigaltstack-offsets.h>.
21485 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21486 longjmp_msg pointer.
21487 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21488 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21490 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21492 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21494 * elf/stackguard-macros.h: Remove file.
21495 * sysdeps/generic/stackguard-macros.h: New file.
21496 * sysdeps/i386/stackguard-macros.h: Likewise.
21497 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21498 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21499 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21500 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21501 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21502 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21503 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21504 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21505 <elf/stackguard-macros.h>.
21508 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21509 __aligned__ in attribute.
21510 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21511 (gregset_t): Likewise.
21513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21515 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21516 * sysdeps/x86_64/64/Implies-after: Here. New file.
21517 * sysdeps/x86_64/x32/Implies-after: New file.
21519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21521 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21522 and access return value for _dl_profile_fixup. Use R10_LP to
21525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21527 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21531 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21532 * sysdeps/x86_64/x32/sysdep.h: New file.
21534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21536 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21537 * sysdeps/x86_64/setjmp.S: Likewise.
21539 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21541 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21542 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21543 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21544 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21545 remove unused global constant.
21547 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21549 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21550 include of <not-cancel.h>.
21552 2012-05-15 Roland McGrath <roland@hack.frob.com>
21554 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21556 2012-05-15 Jeff Law <law@redhat.com>
21557 Andreas Jaeger <aj@suse.de>
21560 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21562 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21563 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21564 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21565 code changing __hst_map_handle.map.
21567 2012-05-15 Roland McGrath <roland@hack.frob.com>
21569 * configure.in (sysnames): Look for Implies-before and Implies-after
21571 * configure: Regenerated.
21573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21575 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21576 8-byte data alignment with LP_SIZE alignment.
21578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21580 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21585 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21589 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21590 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21591 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21593 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21597 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21598 (stackinfo_sub_sp): Likewise.
21600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21602 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21607 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21612 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21617 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21621 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21622 into R11_LP and load __x86_64_shared_cache_size_half into
21625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21627 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21630 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21636 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21638 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21639 powerpc32/power7/fpu/s_logb.c via #include.
21640 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21641 powerpc32/power7/fpu/s_logbf.c via #include.
21642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21643 powerpc32/power7/fpu/s_logbl.c via #include.
21645 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21647 * README.libm: Remove file.
21649 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21651 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21652 count for x32. Use R*_LP and omit operand-size suffix.
21654 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21656 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21657 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21658 * sysdeps/x86_64/x32/shlib-versions: New file.
21660 2012-05-14 Roland McGrath <roland@hack.frob.com>
21662 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21663 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21664 Use _dl_fatal_printf instead.
21666 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21668 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21669 set if not set by the user. Do not allow for being unset.
21670 * sysdeps/unix/sysv/linux/configure: Regenerated.
21672 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21674 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21675 the `q' suffix from lea and replace .quad with ASM_ADDR.
21677 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21680 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21682 (PTR_DEMANGLE): Likewise.
21684 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21686 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21688 (ASM_ADDR): Likewise.
21689 (RAX_LP): Likewise.
21690 (RBP_LP): Likewise.
21691 (RBX_LP): Likewise.
21692 (RCX_LP): Likewise.
21693 (RDI_LP): Likewise.
21694 (RSI_LP): Likewise.
21695 (RSP_LP): Likewise.
21698 (R10_LP): Likewise.
21699 (R10_LP): Likewise.
21700 (R11_LP): Likewise.
21701 (R12_LP): Likewise.
21702 (R13_LP): Likewise.
21703 (R14_LP): Likewise.
21704 (R15_LP): Likewise.
21706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21708 * sysdeps/x86_64/x32/dl-machine.h: New file.
21710 2012-05-14 Andreas Jaeger <aj@suse.de>
21712 * manual/Makefile (subdir): Remove export of subdir.
21713 (all): Remove target.
21714 (.PHONY): Remove all from list.
21715 (mkinstalldirs): Remove.
21716 (.PHONY): Remove installdirs from list.
21717 ($(inst_infodir)/libc.info): Use make-target-directory.
21718 (installdirs): Remove.
21719 (subdir_%): Remove.
21720 (glibc-targets): Remove.
21723 ($(objpfx)stubs ../po/manual.pot): Remove.
21724 ($(objpfx)stamp%): Remove.
21725 (make-target-directory): Remove.
21726 (subdir_install): Remove.
21727 (routines): Remove.
21734 * manual/.gitignore: Remove, it's not needed anymore.
21735 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21737 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21739 (texis): Renamed to $(objpfx)texis.
21740 (texis-path): New, contains path to generated files.
21741 (chapters.%): Use texis-path for complete path, add extra argument
21743 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21744 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21745 (summary,texi, stamp-summary): Use complete path of
21746 files. Generate files in build dir.
21747 (dir-add.texi): Build in build dir.
21748 (libm-err.texi,stamp-libm-err): Likewise.
21749 (version.texi, stamp-version): Likewise.
21750 (.%c.texi): Likewise.
21751 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21752 (mostlyclean): Remove target.
21753 (realclean): Remove target.
21754 (generated): Add new variable with contents from mostlyclean and
21755 realclean, remove entries duplicated in common-mostlyclean, add
21756 stamp-libm-err and stamp-version.
21757 (generated-dirs): Add libc directory.
21758 ($(inst_infodir)/libc.info): Install files from build dir.
21760 * manual/install.texi (Configuring and compiling): Adjust since
21761 the info files are not part of the tar ball anymore.
21763 2012-05-14 Andreas Jaeger <aj@suse.de>
21765 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21768 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21772 to 2.2.0 where earlier.
21773 * sysdeps/unix/sysv/linux/configure: Regenerated.
21774 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21775 Remove conditional code.
21776 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21777 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21778 Remove conditional code.
21779 [!__NR_lchown]: Likewise.
21780 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21781 [__NR_lchown]: Likewise.
21782 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21783 comment referencing __ASSUME_LCHOWN_SYSCALL.
21784 * sysdeps/unix/sysv/linux/i386/sigaction.c
21785 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21786 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21787 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21788 Remove conditional code.
21789 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21790 (__protocol_available): Remove #if 0 code.
21791 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21793 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21794 * sysdeps/unix/sysv/linux/kernel-features.h
21795 (__ASSUME_GETCWD_SYSCALL): Don't define.
21796 (__ASSUME_REALTIME_SIGNALS): Likewise.
21797 (__ASSUME_PREAD_SYSCALL): Likewise.
21798 (__ASSUME_PWRITE_SYSCALL): Likewise.
21799 (__ASSUME_POLL_SYSCALL): Likewise.
21800 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21801 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21803 (__ASSUME_SIOCGIFNAME): Don't define.
21804 (__ASSUME_MSG_NOSIGNAL): Likewise.
21805 (__ASSUME_SENDFILE): Define unconditionally.
21806 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21807 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21809 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21810 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21811 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21812 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21813 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21814 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21815 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21817 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21820 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21829 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21832 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21840 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21841 Remove conditional code.
21842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21843 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21844 Remove conditional code.
21845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21846 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21847 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21848 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21849 Remove conditional code.
21850 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21851 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21852 Remove conditional code.
21853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21854 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21855 Remove conditional code.
21856 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21857 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21858 Remove conditional code.
21859 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21860 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21861 Remove conditional code.
21862 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21863 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21864 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21866 * sysdeps/unix/sysv/linux/sigaction.c
21867 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21868 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21869 * sysdeps/unix/sysv/linux/sigpending.c
21870 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21871 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21872 * sysdeps/unix/sysv/linux/sigprocmask.c
21873 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21874 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21875 * sysdeps/unix/sysv/linux/sigsuspend.c
21876 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21877 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21878 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21879 (__libc_missing_rt_sigs): Remove.
21880 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21881 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21882 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21883 Remove conditional code.
21884 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21885 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21887 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21888 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21889 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21890 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21892 2012-05-14 Andreas Jaeger <aj@suse.de>
21894 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21895 it's not used in glibc.
21896 (__coshm1): Likewise.
21897 (__acosh1p): Likewise.
21900 * manual/string.texi (Copying and Concatenation): Add missing
21901 variable in concat example.
21902 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21904 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21908 __builtin_clzl with __builtin_clzll.
21910 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21913 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21916 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21918 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21919 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21920 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21921 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21923 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21925 * NEWS: Update ia64 info.
21927 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21929 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21932 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21934 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21935 * sysdeps/unix/syscalls.list (dup3): Likewise.
21936 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21937 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21939 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21941 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21942 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21944 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21946 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21948 (TLS_IE): Use mov/add instead of movq/addq to load thread
21950 (TLS_GD_PREFIX): New.
21953 2012-05-11 David S. Miller <davem@davemloft.net>
21955 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21956 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21957 (_FPU_SETCW): Likewise.
21959 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21961 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21962 is 32-byte aligned.
21964 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21967 * iconvdata/gb18030.c: Update tables.
21968 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21969 characters specially.
21970 (BODY for TO_LOOP): Add encoding of missing ranges.
21972 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21975 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21976 * sysdeps/mach/hurd/dup3.c: Likewise.
21977 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21978 * sysdeps/powerpc/memmove.c:: Likewise.
21980 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21983 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21985 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21987 * elf/elf.h (R_X86_64_RELATIVE64): New.
21988 (R_X86_64_NUM): Updated.
21989 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21990 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21991 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21992 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21993 tst-quad1pie tst-quad2pie
21994 (modules-names): Add tst-quadmod1 tst-quadmod2.
21995 ($(objpfx)tst-quad1): New dependency.
21996 ($(objpfx)tst-quad2): Likewise.
21997 ($(objpfx)tst-quad1pie): Likewise.
21998 ($(objpfx)tst-quad2pie): Likewise.
21999 * sysdeps/x86_64/tst-quad1.c: New file.
22000 * sysdeps/x86_64/tst-quad1pie.c: New file.
22001 * sysdeps/x86_64/tst-quad2.c: Likewise.
22002 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22003 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22004 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22005 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22006 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22010 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22011 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22012 * streams/stropts.h (t_scalar_t): Define type.
22014 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22015 (_PATH_PRESERVE): Set to "/var/lib".
22016 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22018 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22021 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22022 if __dir_mkfile succeeded.
22024 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22025 checking for _hurd_dtablesize. Unlock it right after having
22026 finished _hurd_dtable allocation.
22028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22030 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22031 * sysdeps/mach/hurd/configure: Regenerated.
22032 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22033 special-casing to...
22034 * sysdeps/gnu/configure.in: ... this new file.
22035 * sysdeps/unix/sysv/linux/configure: Regenerated.
22036 * sysdeps/gnu/configure: New generated file.
22038 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22039 for Linux: use nsec instead of usec, as well as:
22040 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22041 members of type struct timespec.
22042 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22044 (struct stat64): Likewise.
22045 (_STATBUF_ST_NSEC): New macro.
22046 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22048 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22049 __strtoul_internal rather than strtoul.
22051 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22053 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22056 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22058 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22059 which preserves existing values.
22060 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22062 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22064 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22065 TIMEOUT values. Return EINVAL for NFDS values either negative or
22066 greater than FD_SETSIZE.
22068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22070 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22071 allocated, call __vm_protect to finish enabling the existing space, and
22072 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22073 allocate the remainder.
22075 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22077 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22078 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22082 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22083 sysdeps/mach/hurd/readlink.c.
22085 * posix/tst-sysconf.c (posix_options): Only use
22086 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22087 _POSIX_SYNCHRONIZED_IO when they are defined
22088 * sysdeps/mach/hurd/bits/posix_opt.h:
22089 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22090 (_XOPEN_REALTIME): Undefine macro.
22091 (_XOPEN_REALTIME_THREADS): Undefine macro.
22092 (_XOPEN_SHM): Undefine macro.
22093 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22095 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22097 (_POSIX_ASYNC_IO): Undefine macro.
22098 (_POSIX_PRIORITIZED_IO): Undefine macro.
22099 (_POSIX_SPIN_LOCKS): Define macro to -1.
22101 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22102 SA_NODEFER, SA_RESETHAND.
22103 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22104 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22107 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22109 * elf/Makefile (pldd-modules): Define unconditionally.
22111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22113 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22115 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22117 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22118 Return ENOENT when name is empty.
22119 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22123 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22125 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22127 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22129 Fix mlock in all cases except non-readable pages.
22130 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22131 instead of VM_PROT_ALL as parameter to __vm_wire function.
22133 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22134 (__mkdir): When path is `/', just fail with EEXIST.
22135 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22137 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22139 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22140 <sys/uio.h> (for writev).
22141 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22142 and <sys/param.h> (for MIN).
22144 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22146 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22147 REQUESTED_TIME. Properly set the remaining time and return EINTR
22150 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22152 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22153 Depend on against $(link-rpcuserlibs).
22155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22157 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22158 (__libc_stack_end): Do not use attribute_relro.
22159 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22160 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22161 to libthread-provided value.
22162 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22168 * bits/libc-lock.h (__libc_once_get): New macro.
22169 * sysdeps/mach/bits/libc-lock.h: Likewise.
22170 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22172 instead of using implementation details.
22174 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22175 * libio/freopen.c: Likewise.
22176 * libio/freopen64.c: Likewise.
22177 * misc/syslog.c: Likewise.
22178 * nscd/connections.c: Likewise.
22179 * nscd/netgroupcache.c: Likewise.
22180 * sysdeps/posix/getcwd.c: Likewise.
22182 2012-05-10 Roland McGrath <roland@hack.frob.com>
22184 * math/w_ilogbf.c: Add #include <limits.h>.
22186 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22188 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22189 path instead of returning without unlocking.
22191 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22192 immediate-write ioctls.
22193 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22197 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22198 __builtin_frame_address instead of making assumptions about the
22199 location of the return address relative to DATA. Force early load of
22200 the return address.
22201 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22202 __builtin_frame_address.
22205 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22206 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22207 implement dup3 and do some further code clean-ups.
22208 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22209 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22211 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22213 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22215 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22216 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22217 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22218 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22219 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22222 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22223 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22224 when handler == SIG_ERR, not when handler != SIG_ERR.
22226 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22228 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22229 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22232 accept4 for GNU Hurd.
22233 * include/sys/socket.h (__libc_accept4): New prototype.
22234 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22235 to implement __libc_accept4.
22236 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22238 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22240 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22241 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22242 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22243 signal-defines.sym.
22245 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22247 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22249 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22251 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22252 assertion on O_CLOEXEC flag.
22253 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22254 * hurd/intern-fd.c: Likewise.
22255 * hurd/port2fd.c: Likewise.
22257 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22260 * bits/in.h (IPV6_PKTINFO): Define new macro.
22261 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22263 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22268 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22270 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22271 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22273 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22274 * math/libm-test.inc (logb_test) : Additional logb tests.
22276 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22277 Andreas Jaeger <aj@suse.de>
22279 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22280 * configure: Regenerated.
22281 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22282 * config.make.in (link-obsolete-rpc): New substituted variable.
22283 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22284 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22285 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22286 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22287 so that libc.a contains the symbols.
22288 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22289 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22290 * sunrpc/auth_none.c: Likewise.
22291 * sunrpc/auth_unix.c: Likewise.
22292 * sunrpc/authdes_prot.c: Likewise.
22293 * sunrpc/authuxprot.c: Likewise.
22294 * sunrpc/clnt_gen.c: Likewise.
22295 * sunrpc/clnt_perr.c: Likewise.
22296 * sunrpc/clnt_raw.c: Likewise.
22297 * sunrpc/clnt_simp.c: Likewise.
22298 * sunrpc/clnt_tcp.c: Likewise.
22299 * sunrpc/clnt_udp.c: Likewise.
22300 * sunrpc/clnt_unix.c: Likewise.
22301 * sunrpc/des_crypt.c: Likewise.
22302 * sunrpc/des_soft.c: Likewise.
22303 * sunrpc/get_myaddr.c: Likewise.
22304 * sunrpc/key_call.c: Likewise.
22305 * sunrpc/key_prot.c: Likewise.
22306 * sunrpc/netname.c: Likewise.
22307 * sunrpc/pm_getmaps.c: Likewise.
22308 * sunrpc/pm_getport.c: Likewise.
22309 * sunrpc/pmap_clnt.c: Likewise.
22310 * sunrpc/pmap_prot.c: Likewise.
22311 * sunrpc/pmap_prot2.c: Likewise.
22312 * sunrpc/pmap_rmt.c: Likewise.
22313 * sunrpc/publickey.c: Likewise.
22314 * sunrpc/rpc_cmsg.c: Likewise.
22315 * sunrpc/rpc_common.c: Likewise.
22316 * sunrpc/rpc_dtable.c: Likewise.
22317 * sunrpc/rpc_prot.c: Likewise.
22318 * sunrpc/rpc_thread.c: Likewise.
22319 * sunrpc/rtime.c: Likewise.
22320 * sunrpc/svc.c: Likewise.
22321 * sunrpc/svc_auth.c: Likewise.
22322 * sunrpc/svc_raw.c: Likewise.
22323 * sunrpc/svc_run.c: Likewise.
22324 * sunrpc/svc_tcp.c: Likewise.
22325 * sunrpc/svc_udp.c: Likewise.
22326 * sunrpc/svc_unix.c: Likewise.
22327 * sunrpc/svcauth_des.c: Likewise.
22328 * sunrpc/xcrypt.c: Likewise.
22329 * sunrpc/xdr.c: Likewise.
22330 * sunrpc/xdr_array.c: Likewise.
22331 * sunrpc/xdr_float.c: Likewise.
22332 * sunrpc/xdr_intXX_t.c: Likewise.
22333 * sunrpc/xdr_mem.c: Likewise.
22334 * sunrpc/xdr_rec.c: Likewise.
22335 * sunrpc/xdr_ref.c: Likewise.
22336 * sunrpc/xdr_sizeof.c: Likewise.
22337 * sunrpc/xdr_stdio.c: Likewise.
22339 2012-05-10 Roland McGrath <roland@hack.frob.com>
22341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22342 change. Update copyright years.
22344 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22346 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22348 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22349 Joseph Myers <joseph@codesourcery.com>
22350 Paul Pluzhnikov <ppluzhnikov@google.com>
22353 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22355 [cross-compiling] (extra-libs): Likewise.
22356 [cross-compiling] (extra-libs-others): Likewise.
22357 [cross-compiling] (librpcsvc-routines): Likewise.
22358 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22359 [cross-compiling] (omit-deps): Likewise.
22360 (sunrpc-CPPFLAGS): New variable.
22361 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22362 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22363 (cross-rpcgen-objs): New variable.
22364 (extra-objs): Append $(cross-rpcgen-objs).
22365 ($(cross-rpcgen-objs)): New rule.
22366 ($(objpfx)cross-rpcgen): Likewise.
22367 (rpcgen-cmd): Define to use $(built-program-file). Expand
22369 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22370 ($(objpfx)x%.stmp): Likewise.
22371 * sunrpc/proto.h [IS_IN_build] (_): Define.
22372 [IS_IN_build] (_libc_intl_domainname): Likewise.
22374 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22377 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22378 and R_X86_64_TPOFF64.
22380 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22382 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22383 sysdeps/unix/sysv/syscalls.list.
22386 * sysdeps/unix/sysv/syscalls.list: Remove file.
22388 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22391 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22392 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22393 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22394 (__LC_IDENTIFICATION): Make these macros useful in #if
22395 expressions, as required by C99.
22397 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22399 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22400 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22403 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22405 * stdlib/longlong.h: Updated from GCC.
22407 2012-05-09 Andreas Jaeger <aj@suse.de>
22409 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22410 default is first entry.
22411 (run_mode): Set type.
22412 (main): Remove informal message about syslog.
22413 (options): Fix typo.
22416 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22419 (llrintf): Likewise.
22420 (llrint): Likewise.
22423 (nearbyint): Likewise.
22424 (nearbyintf): Likewise.
22426 2012-05-09 Andreas Jaeger <aj@suse.de>
22427 Pedro Alves <palves@redhat.com>
22429 * nscd/nscd.c (run_mode): Use enum.
22430 (main): Cleanup coding style issue.
22432 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22433 Andreas Jaeger <aj@suse.de>
22435 * nscd/nscd.c (go_background): Replaced with...
22436 (run_mode): ... this.
22437 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22438 (options): Add -F --foreground.
22439 (main): Implement it.
22440 (parse_opt): Parse it.
22442 2012-05-09 Andreas Jaeger <aj@suse.de>
22445 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22446 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22447 -Wconversion warning.
22448 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22451 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22453 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22455 (LC_ALL): Use macro-int-constant.
22456 (LC_COLLATE): Likewise.
22457 (LC_CTYPE): Likewise.
22458 (LC_MESSAGES): Likewise.
22459 (LC_MONETARY): Likewise.
22460 (LC_NUMERIC): Likewise.
22461 (LC_TIME): Likewise.
22462 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22463 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22465 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22467 [C99-based standards] (float_t): Expect type.
22468 [C99-based standards] (double_t): Expect type.
22469 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22471 [C99-based standards] (HUGE_VALL): Likewise.
22472 [C99-based standards] (INFINITY): Likewise.
22473 [C99-based standards] (NAN): Likewise.
22474 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22475 [C99-based standards] (FP_NAN): Likewise.
22476 [C99-based standards] (FP_NORMAL): Likewise.
22477 [C99-based standards] (FP_SUBNORMAL): Likewise.
22478 [C99-based standards] (FP_ZERO): Likewise.
22479 [C99-based standards] (FP_FAST_FMA): Use
22480 optional-macro-int-constant. Specify type. Require == 1.
22481 [C99-based standards] (FP_FAST_FMAF): Likewise.
22482 [C99-based standards] (FP_FAST_FMAL): Likewise.
22483 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22484 [C99-based standards] (FP_ILOGBNAN): Likewise.
22485 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22487 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22488 [C99-based standards] (math_errhandling): Specify type.
22489 [ISO99 || ISO11] (signgam): Do not allow.
22490 [non-C99-based standards] (copysignf): Do not allow.
22491 [non-C99-based standards] (exp2f): Likewise.
22492 [non-C99-based standards] (log2f): Likewise.
22493 [non-C99-based standards] (modff): Allow.
22494 [non-C99-based standards] (erff): Do not allow.
22495 [non-C99-based standards] (erfcf): Likewise.
22496 [non-C99-based standards] (gammaf): Likewise.
22497 [non-C99-based standards] (hypotf): Likewise.
22498 [non-C99-based standards] (j0f): Likewise.
22499 [non-C99-based standards] (j1f): Likewise.
22500 [non-C99-based standards] (jnf): Likewise.
22501 [non-C99-based standards] (lgammaf): Likewise.
22502 [non-C99-based standards] (tgammaf): Likewise.
22503 [non-C99-based standards] (y0f): Likewise.
22504 [non-C99-based standards] (y1f): Likewise.
22505 [non-C99-based standards] (ynf): Likewise.
22506 [non-C99-based standards] (isnanf): Likewise.
22507 [non-C99-based standards] (acoshf): Likewise.
22508 [non-C99-based standards] (asinhf): Likewise.
22509 [non-C99-based standards] (atanhf): Likewise.
22510 [non-C99-based standards] (cbrtf): Likewise.
22511 [non-C99-based standards] (expm1f): Likewise.
22512 [non-C99-based standards] (ilogbf): Likewise.
22513 [non-C99-based standards] (log1pf): Likewise.
22514 [non-C99-based standards] (logbf): Likewise.
22515 [non-C99-based standards] (nextafterf): Likewise.
22516 [non-C99-based standards] (remainderf): Likewise.
22517 [non-C99-based standards] (rintf): Likewise.
22518 [non-C99-based standards] (scalbf): Likewise.
22519 [non-C99-based standards] (copysignl): Likewise.
22520 [non-C99-based standards] (exp2l): Likewise.
22521 [non-C99-based standards] (log2l): Likewise.
22522 [non-C99-based standards] (modfl): Allow.
22523 [non-C99-based standards] (erfl): Do not allow.
22524 [non-C99-based standards] (erfcl): Likewise.
22525 [non-C99-based standards] (gammal): Likewise.
22526 [non-C99-based standards] (hypotl): Likewise.
22527 [non-C99-based standards] (j0l): Likewise.
22528 [non-C99-based standards] (j1l): Likewise.
22529 [non-C99-based standards] (jnl): Likewise.
22530 [non-C99-based standards] (lgammal): Likewise.
22531 [non-C99-based standards] (tgammal): Likewise.
22532 [non-C99-based standards] (y0l): Likewise.
22533 [non-C99-based standards] (y1l): Likewise.
22534 [non-C99-based standards] (ynl): Likewise.
22535 [non-C99-based standards] (isnanl): Likewise.
22536 [non-C99-based standards] (acoshl): Likewise.
22537 [non-C99-based standards] (asinhl): Likewise.
22538 [non-C99-based standards] (atanhl): Likewise.
22539 [non-C99-based standards] (cbrtl): Likewise.
22540 [non-C99-based standards] (expm1l): Likewise.
22541 [non-C99-based standards] (ilogbl): Likewise.
22542 [non-C99-based standards] (log1pl): Likewise.
22543 [non-C99-based standards] (logbl): Likewise.
22544 [non-C99-based standards] (nextafterl): Likewise.
22545 [non-C99-based standards] (remainderl): Likewise.
22546 [non-C99-based standards] (rintl): Likewise.
22547 [non-C99-based standards] (scalbl): Likewise.
22548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22549 [non-C99-based standards] (FP_*): Do not allow.
22550 [C99-based standards] (FP_*): Change to
22551 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22552 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22554 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22555 (SIG_ERR): Likewise.
22556 [X/Open-based standards] (SIG_HOLD): Likewise.
22557 (SIG_IGN): Likewise.
22558 (SIGABRT): Use macro-int-constant. Specify type. Require
22560 (SIGFPE): Likewise.
22561 (SIGILL): Likewise.
22562 (SIGINT): Likewise.
22563 (SIGSEGV): Likewise.
22564 (SIGTER): Likewise.
22565 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22566 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22567 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22568 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22569 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22570 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22571 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22572 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22573 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22574 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22575 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22576 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22577 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22578 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22579 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22580 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22581 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22582 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22583 [X/Open-based standards] (SIGTRAP): Likewise.
22584 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22585 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22586 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22587 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22588 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22591 2012-05-08 Ian Wienand <ianw@vmware.com>
22594 * time/tzset.c (__tzset_parse_tz): Update default rules for
22595 daylight time changes in the Energy Policy Act of 2005.
22597 2012-05-09 Andreas Jaeger <aj@suse.de>
22600 * elf/ldconfig.c (parse_conf): Change string to make clear that
22601 ldconfig only issued a warning if ld.so.conf does not exist.
22603 2012-05-08 David S. Miller <davem@davemloft.net>
22605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22606 movxtod instead of popping the value on the stack.
22608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22610 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22612 * config.h.in: Add HAVE_ARM_PCS_VFP.
22614 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22617 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22618 checking but the checks are disabled for any reason.
22620 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22622 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22623 and ELF64_R_TYPE with ELFW(R_TYPE).
22625 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22627 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22628 (ulimit): Likewise.
22630 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22631 (settimeofday): Likewise.
22633 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22635 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22636 a struct th_u2 inside the union, and move tu_block/tu_code into
22637 a new th_u3 union of tu_block/tu_code inside of that. Move
22638 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22639 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22640 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22641 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22642 (th_stuff): Change to th_u1.tu_stuff.
22644 (th_msg): Change to th_u1.th_u2.tu_data.
22646 2012-05-07 David S. Miller <davem@davemloft.net>
22648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22651 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22652 (SETUP_PIC_REG): Use it.
22653 (SETUP_PIC_REG_LEAF): Use it.
22655 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22659 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22661 (EXPL_FINITE): Likewise.
22662 (FLDLOG): Likewise.
22663 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22664 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22668 (EXPL_FINITE): Likewise.
22669 (FLDLOG): Likewise.
22670 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22671 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22673 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22674 test of -max_value argument for long double.
22675 * sysdeps/i386/fpu/libm-test-ulps: Update.
22676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22678 2012-05-06 David S. Miller <davem@davemloft.net>
22680 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22681 quad soft-float symbols whose references which are compiler
22683 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22685 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22691 (EXPL_FINITE): Likewise.
22692 (FLDLOG): Likewise.
22695 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22696 Adjust comments for base varying.
22697 (__expl_finite): Change alias to EXPL_FINITE.
22698 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22700 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22701 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22703 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22704 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22706 (EXPL_FINITE): Likewise.
22707 (FLDLOG): Likewise.
22710 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22711 Adjust comments for base varying.
22712 (__expl_finite): Change alias to EXPL_FINITE.
22713 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22718 * math/libm-test.inc (check_float_internal): Correct ulp
22719 calculation for subnormal expected results.
22721 2012-05-06 Andreas Jaeger <aj@suse.de>
22723 * Makeconfig (+math-flags): New, set to -frounding-math.
22724 (+cflags): Add +math-flags so that all of glibc gets compiled with
22727 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22729 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22731 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22737 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22738 (__ieee754_expl): Allow for and saturate large arguments.
22739 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22740 (u_threshold): Likewise.
22741 (__exp): Call __ieee754_exp before checking for overflow and
22743 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22744 (u_threshold): Likewise.
22745 (__expf): Call __ieee754_expf before checking for overflow and
22747 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22748 (u_threshold): Likewise.
22749 (__expl): Call __ieee754_expl before checking for overflow and
22751 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22752 (__ieee754_expl): Allow for and saturate large arguments.
22753 * math/libm-test.inc (exp_test): Add another test. Do not allow
22754 missing overflow exception on overflow.
22755 (expm1_test): Do not allow missing overflow exception on overflow.
22757 * sysdeps/i386/fpu/e_expl.c: Move to ...
22758 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22759 rather than using inline asm.
22760 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22761 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22762 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22764 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22767 (signal): Likewise.
22771 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22773 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22774 sysdeps/unix/common/syscalls.list.
22775 (fchmod): Likewise.
22776 (fchown): Likewise.
22777 (ftruncate): Likewise.
22778 (getrusage): Likewise.
22779 (gettimeofday): Likewise.
22780 (setpgid): Likewise.
22781 (setregid): Likewise.
22782 (setreuid): Likewise.
22783 (sigaction): Likewise.
22784 (truncate): Likewise.
22785 (vhangup): Likewise.
22786 * sysdeps/unix/common/syscalls.list: Remove file.
22787 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22788 * sysdeps/unix/sysv/linux/Implies: Likewise.
22790 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22792 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22794 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22798 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22801 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22804 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22807 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22810 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22813 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22816 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22820 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22824 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22827 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22831 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22835 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22837 * sysdeps/unix/common/bits/dirent.h: Remove file.
22838 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22840 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22841 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22842 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22843 * sysdeps/unix/bsd/isatty.c: Likewise.
22844 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22845 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22846 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22848 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22852 long double comparison inaccuracies.
22853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22856 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22858 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22861 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22864 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22865 nonzero digits before rounding a hex value.
22866 * stdlib/tst-strtod.c (tests): Add another test.
22868 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22870 * sysdeps/s390/fpu/libm-test-ulps: Update.
22872 2012-05-03 Andreas Jaeger <aj@suse.de>
22874 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22875 does not get optimized out.
22876 (malloc_opt_barrier): New.
22878 2012-05-03 Andreas Jaeger <aj@suse.de>
22879 Roland McGrath <roland@hack.frob.com>
22881 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22882 intermediate file deletion.
22883 (generated): Add .symlist files.
22885 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22888 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22889 Redirect under this condition.
22890 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22891 [__USE_GNU] (__dprintf_chk): Not under this condition.
22892 [__USE_GNU] (__vdprintf_chk): Likewise.
22893 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22894 under this condition.
22895 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22896 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22897 [__USE_XOPEN2K8] (vdprintf): Likewise.
22898 [__USE_GNU] (__dprintf_chk): Not under this condition.
22899 [__USE_GNU] (__vdprintf_chk): Likewise.
22900 [__USE_GNU] (dprintf): Likewise.
22901 [__USE_GNU] (vdprintf): Likewise.
22903 2012-05-03 Roland McGrath <roland@hack.frob.com>
22905 * elf/Makefile (common-generated): Set this instead of generated for
22906 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22907 $(all-built-dso)-derived lists.
22909 2012-05-03 Andreas Jaeger <aj@suse.de>
22911 * sysdeps/i386/fpu/libm-test-ulps: Update.
22914 * FAQ.in: Likewise.
22915 * scripts/gen-FAQ.pl: Likewise.
22916 * manual/install.texi (Installation): Point to online location of
22918 * Makefile (files-for-dist): Remove FAQ.
22921 2012-05-02 Allan McRae <allan@archlinux.org>
22923 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22924 (LDFLAGS-reldepmod5.so): Likewise.
22925 (LDFLAGS-reldep6mod1.so): Likewise.
22926 (LDFLAGS-reldep6mod4.so): Likewise.
22927 (LDFLAGS-reldep8mod3.so): Likewise.
22928 (LDFLAGS-unload4mod1.so): Likewise.
22929 (LDFLAGS-unload4mod2.so): Likewise.
22930 (LDFLAGS-tst-initorder): Likewise.
22931 (LDFLAGS-tst-initordera2.so): Likewise.
22932 (LDFLAGS-tst-initordera3.so): Likewise.
22933 (LDFLAGS-tst-initordera4.so): Likewise.
22934 (LDFLAGS-tst-initorderb2.so): Likewise.
22935 (LDFLAGS-noload): Likewise.
22936 (LDFLAGS-next): Likewise.
22937 (LDFLAGS-order2mod1.so): Likewise.
22938 (LDFLAGS-order2mod2.so): Likewise.
22939 (LDFLAGS-tst-initorder2): Likewise.
22940 (LDFLAGS-tst-initorder2a.so): Likewise.
22941 (LDFLAGS-tst-initorder2b.so): Likewise.
22942 (LDFLAGS-tst-initorder2c.so): Likewise.
22943 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22945 2012-05-02 David S. Miller <davem@davemloft.net>
22947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22949 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22952 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22954 2012-05-02 Andreas Jaeger <aj@suse.de>
22956 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22957 since we manipulate rounding mode.
22958 (CPPFLAGS-test-idouble.c): Likewise.
22959 (CPPFLAGS-test-ifloat.c): Likewise.
22960 (CFLAGS-test-ldouble.c): Likewise.
22961 (CFLAGS-test-double.c): Likewise.
22962 (CFLAGS-test-float.c): Likewise.
22963 (CFLAGS-test-misc.c): Likewise.
22964 (CFLAGS-test-test-fenv.c): Likewise.
22966 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22970 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22971 comparisons to determine direction to adjust input.
22973 2012-05-01 Roland McGrath <roland@hack.frob.com>
22975 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22976 output to the target.
22978 * scripts/localplt.awk: New file.
22979 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22980 (check-localplt-CFLAGS): Variable removed.
22981 ($(all-built-dso:=.jmprel)): New static pattern rule.
22982 (generated): Add those targets.
22983 (localplt-built-dso): New variable.
22984 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22986 * elf/check-localplt.c: File removed.
22988 * scripts/check-execstack.awk: New file.
22989 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22990 (check-execstack-CFLAGS): Variable removed.
22991 ($(objpfx)check-execstack.h): Target removed.
22992 ($(objpfx)execstack-default): New target.
22993 (generated): Add that instead of check-execstack.h.
22994 ($(all-built-dso:=.phdr)): New static pattern rule.
22995 (generated): Add those targets.
22996 * elf/check-execstack.c: File removed.
22998 * scripts/check-textrel.awk: New file.
22999 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23000 (check-textrel-CFLAGS): Variable removed.
23001 (all-built-dso): Use := to define.o
23002 ($(all-built-dso:=.dyn)): New static pattern rule.
23003 (generated): Add those targets.
23004 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23005 * config.make.in (READELF): New substituted variable.
23006 * elf/check-textrel.c: File removed.
23008 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23010 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23012 * conform/data/ctype.h-data [C99-based standards] (isblank):
23014 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23015 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23017 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23018 Specify type. Require positive value.
23019 (EILSEQ): Likewise.
23020 (ERANGE): Likewise.
23021 [ISO || POSIX] (EILSEQ): Do not expect.
23022 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23023 Specify type. Require positive value.
23024 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23025 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23026 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23027 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23028 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23029 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23030 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23031 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23032 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23033 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23034 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23035 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23036 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23037 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23038 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23039 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23040 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23041 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23042 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23043 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23044 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23045 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23046 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23047 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23048 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23049 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23050 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23051 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23052 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23053 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23054 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23055 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23056 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23057 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23058 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23059 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23060 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23061 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23062 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23063 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23064 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23065 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23066 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23067 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23068 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23069 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23070 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23071 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23072 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23073 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23074 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23075 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23076 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23077 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23078 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23079 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23080 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23081 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23082 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23083 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23084 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23085 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23086 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23087 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23088 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23089 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23090 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23091 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23092 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23093 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23094 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23095 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23096 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23097 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23098 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23099 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23100 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23102 (FLT_ROUNDS): Expect as macro, not constant.
23103 (FLT_MANT_DIG): Use macro-int-constant.
23104 (DBL_MANT_DIG): Likewise.
23105 (LDBL_MANT_DIG): Likewise.
23106 (FLT_DIG): Likewise.
23107 (DBL_DIG): Likewise.
23108 (LDBL_DIG): Likewise.
23109 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23110 (DBL_MIN_EXP): Likewise.
23111 (LDBL_MIN_EXP): Likewise.
23112 (FLT_MAX_EXP): Use macro-int-constant.
23113 (DBL_MAX_EXP): Likewise.
23114 (LDBL_MAX_EXP): Likewise.
23115 (FLT_MAX_10_EXP): Likewise.
23116 (DBL_MAX_10_EXP): Likewise.
23117 (LDBL_MAX_10_EXP): Likewise.
23118 (FLT_MAX): Use macro-constant.
23119 (DBL_MAX): Likewise.
23120 (LDBL_MAX): Likewise.
23121 (FLT_EPSILON): Use macro-constant. Give upper bound.
23122 (DBL_EPSILON): Likewise.
23123 (LDBL_EPSILON): Likewise.
23124 (FLT_MIN): Likewise.
23125 (DBL_MIN): Likewise.
23126 (LDBL_MIN): Likewise.
23127 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23128 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23129 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23130 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23131 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23132 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23133 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23134 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23135 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23136 [ISO11] (FLT_TRUE_MIN): Likewise.
23137 [ISO11] (LDBL_TRUE_MIN): Likewise.
23138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23139 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23140 (SCHAR_MIN): Use macro-int-constant. Specify type.
23141 (SCHAR_MAX): Likewise.
23142 (UCHAR_MAX): Likewise.
23143 (CHAR_MIN): Likewise.
23144 (CHAR_MAX): Likewise.
23145 (MB_LEN_MAX): Use macro-int-constant.
23146 (SHRT_MIN): Use macro-int-constant. Specify type.
23147 (SHRT_MAX): Likewise.
23148 (USHRT_MAX): Likewise.
23149 (INT_MAX): Likewise.
23150 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23152 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23154 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23156 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23157 bound negative. Suffix upper bound with "L".
23158 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23160 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23162 [C99-based standards] (LLONG_MAX): Likewise.
23163 [C99-based standards] (ULLONG_MAX): Likewise.
23164 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23166 [ISO11] (max_align_t): Require type.
23167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23169 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23170 from $CFLAGS, without defining away __attribute__ calls.
23171 (checknamespace): Use $CFLAGS_namespace.
23173 * conform/conformtest.pl (@keywords): Only include C99 keywords
23174 for standards based on C99 or C11.
23176 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23178 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23181 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23182 usability of symbols in #if.
23184 * conform/conformtest.pl: If macro or constant types start
23185 "promoted:", expect the symbol to be of the following type
23186 promoted by the integer promotions.
23188 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23189 in one place. Also handle "macro-constant".
23191 * conform/conformtest.pl: Only accept expected macro values with
23192 "==". Parse all "macro" lines in one place.
23193 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23195 * conform/conformtest.pl: Handle braced types on "constant" lines
23196 instead of handling "typed-constant".
23197 * conform/data/signal.h-data: Use "constant" instead of
23200 * conform/conformtest.pl: Handle "optional-" at start of lines in
23201 one place rather than duplicating several cases. Handle each
23202 format of "macro" line with initial "optional-".
23204 * conform/conformtest.pl: Only accept expected constant or
23205 optional-constant values with "==". Parse all "constant" lines in
23206 one place. Parse all "optional-constant" lines in one place.
23207 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23208 * conform/data/fmtmsg.h-data: Likewise.
23209 * conform/data/netinet/in.h-data: Likewise.
23210 * conform/data/tar.h-data: Likewise.
23211 * conform/data/limits.h-data: Use "==" form on "constant" and
23212 "optional-constant" lines.
23214 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23215 Use -std=c99 for XOPEN2K.
23216 (@knownproblems): Remove.
23217 (newtoken): Don't check %isknown.
23219 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23220 Do not expect macro.
23221 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23222 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23224 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23225 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23226 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23227 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23228 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23229 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23230 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23231 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23233 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23234 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23235 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23243 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23244 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23251 [XPG3] (acosh): Likewise.
23252 [XPG3] (asinh): Likewise.
23253 [XPG3] (atanh): Likewise.
23254 [XPG3] (cbrt): Likewise.
23255 [XPG3] (expm1): Likewise.
23256 [XPG3] (ilogb): Likewise.
23257 [XPG3] (log1p): Likewise.
23258 [XPG3] (logb): Likewise.
23259 [XPG3] (nextafter): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23261 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23262 [XPG3] (remainder): Likewise.
23263 [XPG3] (rint): Likewise.
23264 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23265 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23266 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23271 [UNIX98 || XOPEN2K] (scalb): Expect.
23272 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23273 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23300 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23301 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23302 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23303 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23304 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23307 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23308 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23311 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23312 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23316 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23317 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23318 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23320 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23321 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23322 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23323 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23324 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23325 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23326 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23327 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23328 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23329 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23330 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23331 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23332 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23333 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23334 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23335 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23336 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23337 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23338 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23339 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23340 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23341 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23342 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23343 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23344 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23345 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23346 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23347 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23348 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23349 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23350 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23351 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23352 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23353 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23354 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23355 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23356 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23357 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23358 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23359 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23360 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23361 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23362 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23363 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23364 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23365 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23366 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23367 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23368 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23369 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23370 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23371 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23372 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23373 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23374 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23375 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23376 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23377 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23378 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23379 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23380 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23381 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23382 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23383 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23384 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23385 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23386 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23387 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23388 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23389 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23390 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23391 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23392 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23393 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23394 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23395 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23396 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23397 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23398 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23399 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23400 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23401 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23402 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23403 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23404 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23405 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23406 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23407 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23408 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23410 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23411 _XOPEN_SOURCE_EXTENDED for XPG4.
23413 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23415 * Makeconfig (localtime): Remove variable.
23416 (inst_localtime-file): Likewise.
23418 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23439 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23443 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23444 comparisons to determine direction to adjust input.
23445 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23446 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23447 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23449 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23456 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23458 * math/libm-test.inc (nexttoward_test): Add more tests.
23460 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23463 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23464 in version GLIBC_2.1, not GLIBC_2.0.
23465 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23468 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23471 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23473 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23474 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23475 * math/libm-test.inc (acos_test): Add more tests.
23476 (asin_test): Likewise.
23477 * sysdeps/i386/fpu/libm-test-ulps: Update.
23478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23481 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23483 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23484 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23485 * math/libm-test.inc (acos_test_tonearest): New function.
23486 (acos_test_towardzero): Likewise.
23487 (acos_test_downward): Likewise.
23488 (acos_test_upward): Likewise.
23489 (asin_test_tonearest): Likewise.
23490 (asin_test_towardzero): Likewise.
23491 (asin_test_downward): Likewise.
23492 (asin_test_upward): Likewise.
23493 (main): Call the new functions.
23494 * sysdeps/i386/fpu/libm-test-ulps: Update.
23495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23499 * math/e_exp10.c: Include <float.h>.
23500 (__ieee754_exp10): Handle underflow here rather than multiplying
23501 large negative argument by M_LN10.
23502 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23504 * math/e_exp10l.c: Include <float.h>.
23505 (__ieee754_exp10l): Handle underflow here rather than multiplying
23506 large negative argument by M_LN10l.
23507 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23508 spurious overflow exception on underflow.
23510 2012-04-29 Marek Polacek <polacek@redhat.com>
23512 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23513 (__fortify_function): New macro.
23514 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23515 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23516 __extern_always_inline.
23517 * libio/bits/stdio2.h: Likewise.
23518 * libio/bits/stdio.h: Likewise.
23519 * string/string.h: Likewise.
23520 * string/bits/string3.h: Likewise.
23521 * include/stdio.h: Likewise.
23522 * stdlib/bits/stdlib.h: Likewise.
23523 * stdlib/stdlib.h: Likewise.
23524 * rt/bits/mqueue2.h: Likewise.
23525 * rt/mqueue.h: Likewise.
23526 * posix/bits/unistd.h: Likewise.
23527 * posix/unistd.h: Likewise.
23528 * io/bits/poll2.h: Likewise.
23529 * io/bits/fcntl2.h: Likewise.
23530 * io/fcntl.h: Likewise.
23531 * io/sys/poll.h: Likewise.
23532 * misc/bits/syslog.h: Likewise.
23533 * misc/bits/syslog-ldbl.h: Likewise.
23534 * misc/sys/syslog.h: Likewise.
23535 * socket/bits/socket2.h: Likewise.
23536 * socket/sys/socket.h: Likewise.
23537 * debug/tst-chk1.c: Likewise.
23538 * wcsmbs/bits/wchar2.h: Likewise.
23539 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23540 * wcsmbs/wchar.h: Likewise.
23542 2012-04-29 Andreas Jaeger <aj@suse.de>
23544 * Makerules (tests): Remove enable-check-abi protection.
23545 (check-abi-warn): Remove.
23546 (check-abi-%): Remove check-abi-warn usage.
23548 * configure.in: Remove check-abi configure option.
23549 * configure: Regenerated.
23550 * config.make.in (enable-check-abi): Remove.
23552 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23555 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23556 double functions to double *_finite functions.
23559 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23560 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23562 * stdio-common/Makefile (tests): Add tst-sprintf3.
23563 * stdio-common/tst-sprintf3.c: New file.
23565 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23566 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23568 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23570 * conform/conformtest.pl: Remove duplicate typed-constant
23573 2012-04-28 David S. Miller <davem@davemloft.net>
23575 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23576 (check-abi-%): Remove AWK script prerequisite and explicit
23578 (check-abi): Rewrite to just diff the symlist with the abilist.
23579 (config-tls, config-abi-config): Delete, no longer used.
23580 (update-abi-%): Remove AWK script and explicit abilist directory.
23581 (update-abi): Rewrite to simply compare and conditionally copy the
23582 symlist and the sysdep abilist file. Remove update-abi-config
23584 * abilist/ld.abilist: Remove.
23585 * abilist/libBrokenLocale.abilist: Remove.
23586 * abilist/libanl.abilist: Remove.
23587 * abilist/libcrypt.abilist: Remove.
23588 * abilist/libdl.abilist: Remove.
23589 * abilist/librt.abilist: Remove.
23590 * abilist/libthread_db.abilist: Remove.
23591 * abilist/libutil.abilist: Remove.
23592 * scripts/extract-abilist.awk: Remove.
23593 * scripts/merge-abilist.awk: Remove.
23594 * sysdeps/generic/libcidn.abilist: New file.
23595 * sysdeps/generic/libnss_compat.abilist: New file.
23596 * sysdeps/generic/libnss_db.abilist: New file.
23597 * sysdeps/generic/libnss_dns.abilist: New file.
23598 * sysdeps/generic/libnss_files.abilist: New file.
23599 * sysdeps/generic/libnss_hesiod.abilist: New file.
23600 * sysdeps/generic/libnss_nis.abilist: New file.
23601 * sysdeps/generic/libnss_nisplus.abilist: New file.
23602 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23603 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23604 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23607 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23608 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23609 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23610 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23611 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23612 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23613 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23614 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23616 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23617 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23618 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23619 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23621 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23622 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23623 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23624 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23625 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23626 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23628 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23629 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23630 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23632 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23633 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23735 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23736 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23737 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23740 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23741 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23742 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23743 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23744 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23745 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23746 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23747 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23748 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23800 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23802 * conform/conformtest.pl: Fix typo in handling typed-constant from
23805 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23807 * README: Cut down references to pre-2.6 Linux kernels and
23808 Linuxthreads. Update lists of configurations in libc and ports
23809 and sort alphabetically. Say "or newer" with Linux kernel version
23812 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23814 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23817 * math/libm-test.inc (logb_test_downward): New test to expose
23818 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23821 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23824 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23826 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23827 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23829 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23831 * sysdeps/unix/i386/brk.S: Remove file.
23832 * sysdeps/unix/i386/dl-brk.S: Likewise.
23833 * sysdeps/unix/i386/pipe.S: Likewise.
23834 * sysdeps/unix/i386/sigreturn.S: Likewise.
23835 * sysdeps/unix/i386/syscall.S: Likewise.
23836 * sysdeps/unix/i386/vfork.S: Likewise.
23837 * sysdeps/unix/i386/wait.S: Likewise.
23839 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23840 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23842 * configure.in (arm*-none*): Do not allow without
23843 --enable-hacker-mode.
23844 (netbsd*): Remove case setting base_os.
23845 (386bsd*): Likewise.
23846 (freebsd*): Likewise.
23849 (sunos*): Likewise.
23850 (ultrix*): Likewise.
23851 (newsos*): Likewise.
23852 (dynix*): Likewise.
23858 (minix*): Likewise.
23859 (irix4*): Likewise.
23860 (irix6*): Likewise.
23861 (solaris[2-9]*): Likewise.
23863 * configure: Regenerated.
23865 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23868 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23869 overflow or cancellation in calculating denominator.
23870 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23872 down expression to avoid unexpected rounding in newer GCCs.
23873 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23875 2012-04-26 David S. Miller <davem@davemloft.net>
23877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23878 long-double compat symbols.
23879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23893 2012-04-25 David S. Miller <davem@davemloft.net>
23895 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23896 HWCAP_* values only after the memory barriers have been defined.
23897 (atomic_full_barrier): Define.
23898 (atomic_read_barrier): Define.
23899 (atomic_write_barrier): Define.
23901 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23903 * shlib-versions: Add libgcc_s version information.
23904 * sysdeps/generic/libgcc_s.h: Remove.
23905 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23907 * sysdeps/gnu/unwind-resume.c: Likewise.
23908 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23910 2012-04-25 David S. Miller <davem@davemloft.net>
23912 * sysdeps/unix/sparc/brk.S: Delete.
23913 * sysdeps/unix/sparc/dl-brk.S: Delete.
23914 * sysdeps/unix/sparc/pipe.S: Delete.
23915 * sysdeps/unix/sparc/sysdep.S: Delete.
23916 * sysdeps/unix/sparc/sysdep.h: Delete.
23917 * sysdeps/unix/sparc/vfork.S: Delete.
23918 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23919 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23920 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23921 ret_ERRVAL, r0, r1, MOVE): Define.
23922 (JUMPTARGET): Remove.
23923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23924 sysdeps/unix/sparc/sysdep.h
23925 (ENTRY, END): Remove.
23926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23928 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23930 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23931 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23934 * timezone/README: Update upstream location and email address for
23936 * timezone/zdump.c: Update from tzcode 2012b.
23937 * timezone/zic.c: Likewise.
23939 * configure.in (libc_cv_as_needed): Remove test.
23940 * configure: Regenerated.
23941 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23942 conditional definition.
23943 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23944 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23945 * config.make.in (have-as-needed): Remove variable.
23947 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23948 Paul Pluzhnikov <ppluzhnikov@google.com>
23950 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23953 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23955 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23956 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23957 * sysdeps/sh/strlen.S: Likewise.
23959 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23961 * sysdeps/unix/fork.S: Remove file.
23962 * sysdeps/unix/i386/fork.S: Likewise.
23963 * sysdeps/unix/sparc/fork.S: Likewise.
23965 * sysdeps/unix/system.c: Remove file.
23966 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23968 * sysdeps/unix/getegid.S: Remove file.
23969 * sysdeps/unix/geteuid.S: Likewise.
23971 2012-04-24 Roland McGrath <roland@hack.frob.com>
23973 * scripts/check-localplt.awk: New file.
23974 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23976 * scripts/data/localplt-generic.data: Add a comment.
23978 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23979 NODE when __dir_mkfile failed.
23980 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23981 Reported by Ludovic Courtès <ludo@gnu.org>.
23983 2012-04-24 Andreas Jaeger <aj@suse.de>
23985 * Makerules (common-clean): Also remove gen-as-const-headers
23988 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23990 * Makerules (native-compile): Do not change working directory for
23991 build. Use $(OUTPUT_OPTION) in command.
23992 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23994 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23997 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23998 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23999 * math/libm-test.inc (floor_test): Add more tests.
24000 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24002 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24004 * sysdeps/unix/getdents.c: Remove file.
24005 * sysdeps/unix/sysv/getdents.c: Likewise.
24006 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24008 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24009 sysdeps/unix/mman/syscalls.list.
24011 (mprotect): Likewise.
24013 (munmap): Likewise.
24014 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24015 * sysdeps/unix/mman/syscalls.list: Remove.
24016 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24018 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24019 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24020 * configure: Regenerated.
24021 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24022 $(libgcc_s_suffix).
24023 * config.make.in (libgcc_s_suffix): Remove variable.
24025 2012-04-23 Joseph Myers <joseph@codesourcery.com>
24027 * sysdeps/unix/sysv/gethostname.c: Move to ...
24028 * sysdeps/posix/gethostname.c: ... here.
24030 * sysdeps/unix/execve.S: Remove file.
24032 * sysdeps/unix/_exit.S: Remove file.
24034 2012-04-23 Andreas Jaeger <aj@suse.de>
24037 * manual/Makefile: Remove make dist support, there's no
24038 need for a stand-alone documentation tar ball.
24039 (TEXI2DVI): Define always, it's not in Makeconfig.
24042 (edition): Removed.
24043 (glibc-doc-$(edition).tar): Removed
24047 (ETAGS): Remove, it's in Makeconfig.
24048 (move-if-change): Remove, it's in Makeconfig.
24050 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
24053 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24054 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24055 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24056 (strtod_l, strtof_l, strtold_l): Remove __wur.
24057 It is not necessarily an error to ignore strtol's return value.
24058 One can reliably look at the stored endptr to decide whether
24059 the number had valid syntax.
24061 2012-04-21 Andreas Jaeger <aj@suse.de>
24064 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24066 2012-04-21 Joseph Myers <joseph@codesourcery.com>
24068 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24069 * sysdeps/unix/sysv/Versions: Remove file.
24071 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24076 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
24079 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24080 version from __vm86.
24082 2012-04-20 Joseph Myers <joseph@codesourcery.com>
24084 * sysdeps/unix/common/lxstat.c: Remove file.
24085 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24087 * sysdeps/unix/sysv/Makefile: Remove file.
24089 * sysdeps/unix/sysv/direct.h: Remove file.
24091 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24092 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24093 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24094 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24095 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24096 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24097 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24099 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24101 * sysdeps/unix/xmknod.c: Remove file.
24102 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24104 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24106 * sysdeps/unix/sysv/i386/time.S: Remove file.
24108 * sysdeps/unix/fxstat.c: Remove file.
24109 * sysdeps/unix/xstat.c: Likewise.
24110 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24112 * sysdeps/unix/sysv/sigaction.c: Remove file.
24114 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24115 (sysdep_headers): Remove variable.
24116 [termio.h not in sysdep_headers] (generated): Likewise.
24117 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24118 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24119 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24120 * sysdeps/unix/sysv/tcflow.c: Likewise.
24121 * sysdeps/unix/sysv/tcflush.c: Likewise.
24122 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24123 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24124 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24125 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24126 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24128 * sysdeps/unix/siglist.c: Remove file.
24130 * sysdeps/unix/getppid.S: Remove file.
24132 * sysdeps/unix/mkdir.c: Remove file.
24133 * sysdeps/unix/rmdir.c: Likewise.
24135 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24137 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24139 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24140 errlist-compat value.
24142 2012-04-18 David S. Miller <davem@davemloft.net>
24144 * sysdeps/generic/memcopy.h (reg_char): Delete.
24145 * debug/strcat_chk.c: Use char, not reg_char.
24146 * debug/strcpy_chk.c: Likewise.
24147 * debug/strncat_chk.c: Likewise.
24148 * debug/strncpy_chk.c: Likewise.
24149 * string/memchr.c: Likewise.
24150 * string/memrchr.c: Likewise.
24151 * string/rawmemchr.c: Likewise.
24152 * string/strcat.c: Likewise.
24153 * string/strchr.c: Likewise.
24154 * string/strchrnul.c: Likewise.
24155 * string/strcmp.c: Likewise.
24156 * string/strcpy.c: Likewise.
24157 * string/strncat.c: Likewise.
24158 * string/strncmp.c: Likewise.
24159 * string/strncpy.c: Likewise.
24161 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24163 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24164 __builtin_memcopy is called when src and dest ranges are known to not
24167 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24169 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24170 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24171 fwd_align_merge macro call.
24172 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24173 bwd_align_merge macro call.
24174 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24176 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24178 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24179 bwd_align_merge macros.
24180 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24181 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24182 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24184 2012-04-18 David S. Miller <davem@davemloft.net>
24186 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24188 2012-04-18 Andreas Jaeger <aj@suse.de>
24191 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24192 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24193 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24195 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24196 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24197 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24199 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24200 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24201 Adjust for changed ldbl-128 files.
24203 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24204 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24205 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24207 2012-04-17 David S. Miller <davem@davemloft.net>
24209 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24211 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24213 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24214 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24215 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24216 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24217 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24218 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24220 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24223 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24224 * math/libm-test.inc: Add ilogb errno and exception tests.
24225 * math/w_ilogb.c: New file: ilogb wrapper.
24226 * math/w_ilogbf.c: New file: ilogbf wrapper.
24227 * math/w_ilogbl.c: New file: ilogbl wrapper.
24228 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24229 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24230 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24231 exception being thrown with 0.0 as argument.
24232 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24233 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24234 exception being thrown with 0.0 as argument.
24235 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24236 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24237 exception being thrown with 0.0 as argument.
24238 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24239 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24240 exception being thrown with 0.0 as argument.
24241 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24242 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24243 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24244 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24245 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24246 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24247 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24248 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24249 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24251 2012-04-17 Petr Baudis <pasky@ucw.cz>
24253 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24256 2012-04-16 Marek Polacek <polacek@redhat.com>
24258 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24260 2012-04-16 Marek Polacek <polacek@redhat.com>
24262 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24263 operands of fdivp instruction.
24265 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24267 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24268 * elf/tst-auditmod3b.c: Likewise.
24269 * elf/tst-auditmod4b.c: Likewise.
24270 * elf/tst-auditmod5b.c: Likewise.
24271 * elf/tst-auditmod6b.c: Likewise.
24272 * elf/tst-auditmod6c.c: Likewise.
24273 * elf/tst-auditmod7b.c: Likewise.
24274 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24275 * sysdeps/x86_64/preconfigure.in: Likewise.
24276 * sysdeps/x86_64/preconfigure: Regenerated.
24278 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24280 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24283 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24286 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24288 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24291 * locale/iso-639.def: Fix gl language name. Spotted by
24294 2012-04-12 Roland McGrath <roland@hack.frob.com>
24297 * libio/libio.h (__io_write_fn): Update comment.
24299 2012-04-12 Petr Baudis <pasky@ucw.cz>
24302 * stdio.texi (Hook Functions): The user provided writer function
24303 is not allowed to return -1.
24305 2012-04-11 David S. Miller <davem@davemloft.net>
24307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24309 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24311 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24312 Add a leading slash to rtkaio.
24314 2012-04-11 Jim Meyering <meyering@redhat.com>
24317 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24318 It is not necessarily an error to ignore fwrite's return
24319 value. One can reliably use ferror to test for errors after
24322 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24324 * bits/types.h (__snseconds_t): New type.
24325 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24327 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24329 (__SNSECONDS_T_TYPE): Likewise.
24330 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24331 (__SNSECONDS_T_TYPE): Likewise.
24332 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24333 (__SNSECONDS_T_TYPE): Likewise.
24335 2012-04-10 Andreas Jaeger <aj@suse.de>
24338 * manual/time.texi (Processor Time): Return type of times is
24339 elapsed real time since an arbitrary point in the past.
24340 (CPU Time): Move CLK_TCK from here...
24341 (Processor Time): ...to here. Correct description.
24342 * manual/conf.texi (Constants for Sysconf): Correct description of
24345 2012-04-10 David S. Miller <davem@davemloft.net>
24348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24349 where the is a gap between DT_REL(A) and DT_JMPREL.
24351 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24353 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24354 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24355 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24357 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24359 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24360 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24361 (dl_main): Handle --inhibit-cache.
24362 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24364 * elf/dl-load.c (_dl_map_object): Use it.
24365 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24367 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24370 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24371 (__ieee754_powl): Saturate large exponents rather than testing for
24372 overflow of y*log2(x).
24373 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24374 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24378 * math/s_ctan.c: Include <float.h>.
24379 (__ctan): Avoid internal overflow or cancellation in calculating
24381 * math/s_ctanf.c: Likewise.
24382 * math/s_ctanl.c: Likewise.
24383 * math/s_ctanh.c: Likewise.
24384 * math/s_ctanhf.c: Likewise.
24385 * math/s_ctanhl.c: Likewise.
24386 * math/libm-test.inc (ctan_test): Add more tests.
24387 (ctanh_test): Likewise.
24388 * sysdeps/i386/fpu/libm-test-ulps: Update.
24389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24391 2012-04-09 Andreas Jaeger <aj@suse.de>
24394 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24395 is an optional BSD extension.
24398 * manual/stdio.texi (Opening Streams): Document additional fopen
24401 2012-04-09 Roland McGrath <roland@hack.frob.com>
24403 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24404 %eax without telling the compiler.
24406 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24409 * manual/install.texi: Use sourceware.org.
24411 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24414 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24415 (__ieee754_pow): Generate overflow and underflow using huge*huge
24416 and tiny*tiny rather than just returning constant infinity or zero
24417 for large exponents.
24418 * math/libm-test.inc (pow_test): Require overflow exceptions for
24419 applicable cases of large exponents.
24422 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24423 (__ieee754_pow): Use iterative multiplication algorithm only for
24424 integer exponents with absolute value below 1024. Check for odd
24425 integer exponents when using algorithm for real exponents.
24426 * math/libm-test.inc (pow_test): Add more tests.
24427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24429 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24432 * math/libm-test.inc (exp_test): Do not allow overflow exception
24435 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24438 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24439 instead of __kernel_standard_f.
24441 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24443 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24444 * sysdeps/x86_64/memset_chk.S: Likewise.
24446 2012-04-08 Andreas Jaeger <aj@suse.de>
24449 * manual/startup.texi (Environment Access): Describe return value
24450 for putenv and setenv.
24453 * manual/filesys.texi (Directory Entries): Add description for
24457 * manual/filesys.texi (Directory Entries): Clarify that it's file
24458 system not operating system in the description of DT_UNKNOWN.
24461 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24463 2012-04-08 Stephen Compall <s11@member.fsf.org>
24466 * manual/llio.texi (Opening and Closing Files): Add cross
24467 reference to explain mode argument.
24469 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24471 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24472 * sysdeps/x86_64/memset_chk.S: Likewise.
24474 2012-04-07 David S. Miller <davem@davemloft.net>
24476 * elf/elf.h (R_SPARC_WDISP10): Define.
24477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24480 R_SPARC_SIZE64 and R_SPARC_H34.
24482 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24485 conditions and remove no longer applicable assertion.
24487 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24489 * bits/byteswap.h: Include <features.h>.
24490 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24491 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24493 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24495 * bits/byteswap.h (__bswap_16): Removed.
24496 Include <bits/byteswap-16.h> to get __bswap_16.
24497 * sysdeps/i386/bits/byteswap.h: Likewise.
24498 * sysdeps/s390/bits/byteswap.h: Likewise.
24499 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24500 * bits/byteswap-16.h: New file.
24501 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24502 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24503 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24504 * string/Makefile (headers): Add bits/byteswap-16.h.
24506 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24509 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24511 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24512 * nss/tst-nss-static.c: New.
24514 2012-04-06 Robert Millan <rmh@gnu.org>
24517 * manual/llio.texi (File Position Primitive): lseek
24518 refers to WHENCE when it really means OFFSET.
24520 2012-04-06 Andreas Jaeger <aj@suse.de>
24522 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24523 strncmp declarations.
24525 * abilist/libc.abilist: Add __poll and __ppoll.
24527 2012-04-05 David S. Miller <davem@davemloft.net>
24529 * scripts/check-local-headers.sh: Accept a host triplet in the
24530 path matched by the exclude regexp.
24532 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24534 * sysdeps/powerpc/powerpc32/dl-machine.h
24535 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24536 * sysdeps/s390/s390-32/dl-machine.h
24537 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24538 * sysdeps/sparc/sparc32/dl-machine.h
24539 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24540 * sysdeps/sparc/sparc64/dl-machine.h
24541 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24543 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24545 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24546 undefined symbol errors.
24548 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24551 2012-04-05 Michael Matz <matz@suse.de>
24554 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24556 2012-04-05 Andreas Jaeger <aj@suse.de>
24559 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24562 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24565 which ROUND is no valid rounding mode.
24567 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24569 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24571 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24573 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24575 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24576 an exception using FPU order intentionally.
24578 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24580 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24581 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24582 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24583 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24585 2012-04-05 Simon Josefsson <simon@josefsson.org>
24588 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24589 EINVAL when BUFLEN is too smal.
24591 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24594 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24595 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24597 2012-04-03 Andreas Jaeger <aj@suse.de>
24600 * manual/setjmp.texi (System V contexts): Fix sentence.
24603 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24604 New macro for this case.
24605 [!__GNUC__] (__bswap_64): New inline function for this case.
24606 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24607 * bits/byteswap.h: Likewise.
24608 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24609 ull, guard with __GLIBC_HAVE_LONG_LONG.
24611 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24612 __GLIBC_HAVE_LONG_LONG.
24614 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24615 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24617 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24620 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24621 inptr and inend, rather than using last_ch.
24623 2012-04-02 David S. Miller <davem@davemloft.net>
24625 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24626 * stdio-common/printf-parse.h (read_int): Change return type to
24627 'int', return -1 on INT_MAX overflow.
24628 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24629 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24630 overflows INT_MAX. Check for overflow of in-format-string precision
24631 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24632 SIZE_MAX not INT_MAX for integer overflow test.
24633 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24634 skip the construct in the format string but do not record anything.
24635 * stdio-common/bug22.c: Adjust to test both width/prevision
24636 INT_MAX overflow as well as total length INT_MAX overflow. Check
24637 explicitly for proper errno values.
24639 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24641 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24643 * string/test-strcmp.c [! WIDE]: Likewise.
24644 * time/tst-mktime2.c: Likewise for INT_MAX.
24645 * string/test-string.h: #include <sys/param.h> for MIN.
24647 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24648 * sysdeps/i386/init-first.c (init): Likewise.
24649 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24650 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24651 * sysdeps/sh/init-first.c (init): Likewise.
24653 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24655 * po/ru.po: Update from translation team.
24656 * po/vi.po: Likewise.
24658 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24660 * resolv/nss_dns/dns-host.c: Merge copyright years.
24662 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24664 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24665 Optimize memcpy with prefetch if
24666 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24667 src, dst pointers have unequal 16 byte alignments.
24669 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24672 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24673 from a CNAME entry and return the minimum ttl for the query.
24674 (gaih_getanswer_slice): Likewise.
24676 2012-03-30 Jeff Law <law@redhat.com>
24678 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24680 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24681 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24683 * resolv/nss_dns/dns-host.c: Update copyright year.
24685 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24687 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24688 requests to save a system call. Fix check that all bytes are sent.
24690 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24691 comments for sendmmsg.
24693 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24696 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24697 with only 1 character between 0x0041 and 0x01b0.
24698 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24699 * wcsmbs/tst-mbsnrtowcs.c: New file.
24701 2012-03-29 David S. Miller <davem@davemloft.net>
24703 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24704 small copies by hand.
24706 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24709 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24710 _nss_compat_initgroups_dyn): Fall back to malloc/free
24711 for large group memberships.
24713 2012-03-28 David S. Miller <davem@davemloft.net>
24715 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24716 that branches into memcpy.
24717 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24718 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24720 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24723 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24724 implementation too.
24725 * sysdeps/sparc/mempcpy.S: New file.
24727 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24728 the IFUNC routine in the libc case.
24729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24731 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24732 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24733 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24734 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24735 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24736 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24737 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24738 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24740 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24741 loop to 256 bytes instead of 64 bytes and fix test signedness.
24743 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24744 * sysdeps/sparc/sparc32/Makefile: rather than here...
24745 * sysdeps/sparc/sparc64/Makefile: and here.
24747 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24749 * malloc/mallocbug.c: Avoid warnings about unused variables.
24751 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24754 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24755 in the right place. Discard and retry query if response is
24756 larger than input buffer size.
24758 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24763 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24764 x for large integer exponent.
24765 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24766 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24767 sign of result as needed afterwards.
24768 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24769 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24770 result for underflowing pow the same as for overflow.
24771 (__kernel_standard_l): Handle powl overflow and underflow here
24772 rather than calling __kernel_standard.
24773 * math/libm-test.inc (pow_test): Add more tests.
24788 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24789 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24790 (__kernel_standard_l): New function.
24791 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24793 * math/w_acosl.c (__acosl): Likewise.
24794 * math/w_asinl.c (__asinl): Likewise.
24795 * math/w_atan2l.c (__atan2l): Likewise.
24796 * math/w_atanhl.c (__atanhl): Likewise.
24797 * math/w_coshl.c (__coshl): Likewise.
24798 * math/w_exp10l.c (__exp10l): Likewise.
24799 * math/w_exp2l.c (__exp2l): Likewise.
24800 * math/w_fmodl.c (__fmodl): Likewise.
24801 * math/w_hypotl.c (__hypotl): Likewise.
24802 * math/w_j0l.c (__j0l, __y0l): Likewise.
24803 * math/w_j1l.c (__j1l, __y1l): Likewise.
24804 * math/w_jnl.c (__jnl, __ynl): Likewise.
24805 * math/w_lgammal.c (__lgammal): Likewise.
24806 * math/w_log10l.c (__log10l): Likewise.
24807 * math/w_log2l.c (__log2l): Likewise.
24808 * math/w_logl.c (__logl): Likewise.
24809 * math/w_powl.c (__powl): Likewise.
24810 * math/w_remainderl.c (__remainderl): Likewise.
24811 * math/w_scalbl.c (sysv_scalbl): Likewise.
24812 * math/w_sinhl.c (__sinhl): Likewise.
24813 * math/w_sqrtl.c (__sqrtl): Likewise.
24814 * math/w_tgammal.c (__tgammal): Likewise.
24815 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24816 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24817 * math/libm-test.inc (acos_test): Add more tests.
24818 (acosh_test): Likewise.
24819 (asin_test): Likewise.
24820 (atanh_test): Likewise.
24821 (exp_test): Likewise.
24822 (exp10_test): Likewise.
24823 (exp2_test): Likewise.
24824 (expm1_test): Likewise.
24825 (lgamma_test): Likewise.
24826 (log_test): Likewise.
24827 (log10_test): Likewise.
24828 (log1p_test): Likewise.
24829 (log2_test): Likewise.
24830 (pow_test): Do not allow some spurious overflow exceptions.
24831 (sqrt_test): Add more tests.
24832 (tgamma_test): Likewise.
24833 (y0_test): Likewise.
24834 (y1_test): Likewise.
24835 (yn_test): Likewise.
24837 2012-03-27 Anton Blanchard <anton@samba.org>
24839 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24841 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24842 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24843 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24845 2012-03-27 David S. Miller <davem@davemloft.net>
24847 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24849 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24850 have-as-vis3 check.
24852 2012-03-27 Andreas Jaeger <aj@suse.de>
24854 * sysdeps/x86_64/elf/configure.in: Moved to ...
24855 * sysdeps/x86_64/configure.in: ... here.
24856 * sysdeps/x86_64/elf/start.S: Moved to ...
24857 * sysdeps/x86_64/start.S: ... here.
24858 * sysdeps/x86_64/elf/configure: Delete.
24860 * sysdeps/x86_64/configure.in: Merge contents from
24861 sysdeps/i386/configure.in (without i686 check).
24863 * sysdeps/i386/elf/Versions: Merge into ...
24864 * sysdeps/i386/Versions: ... this.
24865 * sysdeps/i386/elf/Versions: Delete file.
24866 * sysdeps/i386/elf/start.S: Moved to ...
24867 * sysdeps/i386/start.S: ...here.
24868 * sysdeps/i386/elf/configure.in: Merge into...
24869 * sysdeps/i386/configure.in: ...here.
24870 * sysdeps/i386/elf/configure.in: Delete file.
24871 * sysdeps/i386/elf/configure: Delete file.
24873 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24874 * debug/backtracesyms.c: ... here.
24875 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24876 * debug/backtracesymsfd.c: ... here.
24877 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24878 * sysdeps/generic/ifunc-sel.h: ... here.
24880 * sysdeps/unix/i386/start.c: Delete file.
24881 * sysdeps/unix/sparc/start.c: Delete file.
24882 * sysdeps/unix/start.c: Delete file.
24884 * sysdeps/sh/elf/configure.in: Moved to ...
24885 * sysdeps/sh/configure.in: ... here.
24886 * sysdeps/sh/elf/start.S: Moved to ...
24887 * sysdeps/sh/start.S: ... here.
24888 * sysdeps/sh/elf/configure: Delete file.
24890 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24891 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24892 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24893 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24894 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24895 * sysdeps/powerpc/powerpc64/start.S: here.
24896 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24897 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24898 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24899 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24900 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24902 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24903 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24904 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24905 * sysdeps/powerpc/powerpc32/start.S: ... here.
24906 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24907 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24908 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24910 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24911 * sysdeps/powerpc/ifunc-sel.h: ... here.
24912 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24913 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24915 * sysdeps/sparc/elf/configure.in: Moved to ...
24916 * sysdeps/sparc/configure.in: ... here.
24917 * sysdeps/sparc/elf/configure: Delete file.
24918 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24919 * sysdeps/sparc/sparc32/start.S: ... here.
24920 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24921 * sysdeps/sparc/sparc64/start.S: ... here.
24922 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24923 * sysdeps/sparc/sparc32/Makefile: ... this.
24924 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24925 * sysdeps/sparc/sparc64/Makefile: ... this.
24927 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24928 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24929 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24930 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24931 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24932 * sysdeps/s390/s390-32/setjmp.S: ... here.
24933 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24934 * sysdeps/s390/s390-32/configure.in: ... here.
24935 * sysdeps/s390/s390-32/elf/configure: Delete file.
24936 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24937 * sysdeps/s390/s390-32/start.S: ... here.
24939 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24940 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24941 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24942 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24943 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24944 * sysdeps/s390/s390-64/setjmp.S: ... here.
24945 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24946 * sysdeps/s390/s390-64/configure.in: ... here
24947 * sysdeps/s390/s390-64/elf/configure: Delete file.
24948 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24949 * sysdeps/s390/s390-64/start.S: ... here.
24950 * sysdeps/s390/s390-64/elf/configure: Delete.
24952 * configure.in: Remove support for elf directories in sysdeps.
24954 * configure: Regenerated.
24955 * sysdeps/i386/configure: Regenerated.
24956 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24957 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24958 * sysdeps/s390/s390-32/configure: Regenerated.
24959 * sysdeps/s390/s390-64/configure: Regenerated.
24960 * sysdeps/sh/configure: Regenerated.
24961 * sysdeps/sparc/configure: Regenerated.
24962 * sysdeps/x86_64/configure: Regenerated.
24964 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24969 denormal result into account.
24971 2012-03-25 Roland McGrath <roland@hack.frob.com>
24973 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24974 Reported by Allan McRae <allan@archlinux.org>.
24976 2012-03-23 Jeff Law <law@redhat.com>
24978 * nss/getnssent.c (__nss_getent): Fix typo.
24980 2012-03-23 David S. Miller <davem@davemloft.net>
24982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24984 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24986 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24987 to pad to uint64_t for each field.
24988 (dl_tls_index): Replace unsigned long with uint64_t.
24990 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24991 Paul Pluzhnikov <ppluzhnikov@google.com>
24994 * grp/Makefile (otherlibs): Don't set it.
24995 * inet/Makefile (otherlibs): Likewise.
24996 * login/Makefile (otherlibs): Likewise.
24997 * nscd/Makefile (otherlibs): Likewise.
24998 * posix/Makefile (otherlibs): Likewise.
24999 * pwd/Makefile (otherlibs): Likewise.
25000 * rt/Makefile (otherlibs): Likewise.
25001 * sunrpc/Makefile (otherlibs): Likewise.
25002 * nss/Makefile (otherlibs): Likewise.
25003 Add libnss_files to routines and static-only-routines.
25004 ($(objpfx)getent): Remove rule.
25005 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25006 static-only-routines.
25008 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25011 * math/s_cexp.c: Include <float.h>.
25012 (__cexp): Handle exp result overflowing not necessarily
25013 overflowing both real and imaginary parts of result.
25014 * math/s_cexpf.c: Likewise.
25015 * math/s_cexpl.c: Likewise.
25016 * math/libm-test.inc (cexp_test): Add more tests.
25017 * sysdeps/i386/fpu/libm-test-ulps: Update.
25018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25020 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25022 * include/link.h (ELFW): New macro.
25023 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25024 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25026 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25028 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25031 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25033 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25035 (struct La_x32_retval): Likewise.
25037 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25039 * sysdeps/x86_64/preconfigure.in: New file.
25040 * sysdeps/x86_64/preconfigure: New generated file.
25042 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25045 * math/e_exp2l.c: Include <float.h>.
25046 (__ieee754_exp2l): Handle overflow and underflow cases
25047 separately. Only pass fractional part of argument to
25049 * math/libm-test.inc (exp2_test): Add more tests.
25051 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25052 negating x to take absolute value.
25053 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25055 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25056 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25058 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25059 computing low part if x was negated.
25060 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25062 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25064 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25065 la_x32_gnu_pltexit.
25066 (pltexit): Cast int_retval to ptrdiff_t.
25067 * elf/tst-auditmod3b.c: Likewise.
25068 * elf/tst-auditmod4b.c: Likewise.
25069 * elf/tst-auditmod5b.c: Likewise.
25070 * elf/tst-auditmod6b.c: Likewise.
25071 * elf/tst-auditmod6c.c: Likewise.
25072 * elf/tst-auditmod7b.c: Likewise.
25074 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25075 and x32_gnu_pltexit.
25077 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25078 __ELF_NATIVE_CLASS.
25079 (La_x32_regs): New macro.
25080 (La_x32_retval): Likewise.
25081 (la_x32_gnu_pltenter): New function prototype.
25082 (la_x32_gnu_pltexit): Likewise.
25084 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25091 * configure.in (libc_cv_cc_nofma): Check for option to disable
25092 generation of FMA instructions.
25093 * configure: Regenerate.
25094 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25095 * sysdeps/ieee754/dbl-64/Makefile: New file.
25096 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25097 Remove brandred-fma4.
25098 (CFLAGS-brandred-fma4.c): Remove.
25099 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25100 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25102 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25105 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25107 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25108 LLONG_MAX != LONG_MAX.
25109 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25110 (_fitoa_word): Likewise.
25111 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25112 LLONG_MAX != LONG_MAX.
25113 * stdio-common/_itowa.h: Include <_itoa.h>.
25114 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25115 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25116 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25117 only if not defined.
25118 (_ITOA_WORD_TYPE): Likewise.
25119 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25120 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25122 2012-03-21 David S. Miller <davem@davemloft.net>
25124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25126 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25128 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25129 of x86_64 when setting libc_cv_slibdir, libdir and
25131 * sysdeps/unix/sysv/linux/configure: Regenerated.
25133 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25135 * manual/lang.texi (Old Varargs): Remove section.
25136 (How Variadic): Update menu.
25137 (va_start): Do not mention varargs.h.
25139 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25140 Joseph Myers <joseph@codesourcery.com>
25142 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25144 * configure: Regenerated.
25146 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25148 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25149 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25152 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25155 * Makefile (files-for-dist): Remove NOTES.
25156 (NOTES): Remove rule.
25157 * README: Don't refer to NOTES.
25158 * manual/creature.texi: Don't include macros.texi.
25159 * manual/intro.texi (creature.texi): Remove comment referring to
25162 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25163 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25164 * configure: Regenerated.
25165 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25166 LIBC_TRY_CC_OPTION.
25167 (libc_cv_as_i686): Likewise.
25168 (libc_cv_cc_avx): Likewise.
25169 (libc_cv_cc_sse2avx): Likewise.
25170 (libc_cv_cc_fma4): Likewise.
25171 (libc_cv_cc_novzeroupper): Likewise.
25172 * sysdeps/i386/configure: Regenerated.
25175 * sysdeps/i386/fpu/s_cexp.S: Remove.
25176 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25177 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25178 * math/libm-test.inc (cexp_test): Add more tests.
25179 * sysdeps/i386/fpu/libm-test-ulps: Update.
25180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182 2012-03-21 Allan McRae <allan@archlinux.org>
25184 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25186 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25189 * math/w_exp2.c: Do not include <float.h>.
25190 (o_threshold, u_threshold): Remove.
25191 (__exp2): Calculate result before checking finiteness and calling
25193 * math/w_exp2f.c: Likewise.
25194 * math/w_exp2l.c: Likewise.
25195 * math/libm-test.inc (exp2_test): Require overflow exception for
25199 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25200 range of signed 64-bit integers before using fistpll. Remove
25201 checks for whether integers fit in mantissa bits.
25202 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25203 the range of signed 32-bit integers before using fistpl. Remove
25204 checks for whether integers fit in mantissa bits.
25205 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25206 (__ieee754_powl): Test for y outside the range of signed 64-bit
25207 integers before using fistpll. Reduce 64-bit values to 63-bit
25209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25210 divide-by-zero is raised for zero to large negative powers.
25211 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25212 (__ieee754_powl): Test for y outside the range of signed 64-bit
25213 integers before using fistpll. Reduce 64-bit values to 63-bit
25215 * math/libm-test.inc (pow_test): Add more tests.
25217 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25219 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25220 <stdio-common/_itoa.h>.
25221 * debug/segfault.c: Likewise.
25222 * elf/dl-cache.c: Likewise.
25223 * elf/dl-minimal.c: Likewise.
25224 * elf/dl-misc.c: Likewise.
25225 * elf/dl-sysdep.c: Likewise.
25226 * elf/dl-version.c: Likewise.
25227 * elf/rtld.c: Likewise.
25228 * hurd/hurdsock.c: Likewise.
25229 * hurd/lookup-retry.c: Likewise.
25230 * malloc/malloc.c: Likewise.
25231 * malloc/mtrace.c: Likewise.
25232 * nscd/nscd_getgr_r.c: Likewise.
25233 * nscd/nscd_getpw_r.c: Likewise.
25234 * nscd/nscd_getserv_r.c: Likewise.
25235 * posix/getopt_init.c: Likewise.
25236 * posix/wordexp.c: Likewise.
25237 * stdio-common/_itoa.c: Likewise.
25238 * stdio-common/printf_fphex.c: Likewise.
25239 * stdio-common/vfprintf.c: Likewise.
25240 * string/_strerror.c: Likewise.
25241 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25242 * sysdeps/i386/i686/hp-timing.h: Likewise.
25243 * sysdeps/mach/_strerror.c: Likewise.
25244 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25245 * sysdeps/mach/hurd/sethostid.c: Likewise.
25246 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25247 * sysdeps/mach/xpg-strerror.c: Likewise.
25248 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25250 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25251 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25252 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25253 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25254 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25255 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25256 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25257 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25258 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25259 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25260 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25261 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25262 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25263 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25264 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25265 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25266 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25267 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25268 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25270 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25272 * stdio-common/_itoa.h: Moved to ...
25273 * sysdeps/generic/_itoa.h: Here.
25275 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25277 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25278 instead of "_itoa.h" and "_itowa.h".
25279 * stdio-common/vfprintf.: Likewise.
25281 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25283 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25285 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25286 (__signbit): Likwise.
25287 (llrintf): Likwise.
25290 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25292 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25295 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25297 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25298 OVERFLOW_EXCEPTION_OK.
25299 * math/libm-test.inc ("Philosophy"): Update comment about
25301 (OVERFLOW_EXCEPTION): Define.
25302 (OVERFLOW_EXCEPTION_OK): Likewise.
25303 (INVALID_EXCEPTION_OK): Renumber.
25304 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25305 (IGNORE_ZERO_INF_SIGN): Likewise.
25306 (test_exceptions): Handle FE_OVERFLOW.
25307 (exp10_test): Expect overflow exceptions.
25308 (exp2_test): Likewise.
25309 (expm1_test): Likewise.
25310 (nextafter_test): Likewise.
25311 (pow_test): Likewise.
25312 (scalbn_test): Likewise.
25313 (scalbln_test): Likewise.
25315 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25317 * sysdeps/x86_64/bits/atomic.h
25318 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25320 (atomic_exchange_acq): Likewise.
25321 (__arch_exchange_and_add_body): Likewise.
25322 (__arch_add_body): Likewise.
25323 (atomic_add_negative): Likewise.
25324 (atomic_add_zero): Likewise.
25326 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25328 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25329 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25331 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25333 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25334 Check __x86_64__ instead of __WORDSIZE.
25336 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25338 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25340 2012-03-19 David S. Miller <davem@davemloft.net>
25342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25344 * sysdeps/sparc/fpu/fenv_private.h: New file.
25345 * sysdeps/sparc/fpu/math_private.h: Use it.
25346 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25348 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25349 (libc_feholdexcept_setroundl): Remove.
25350 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25352 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25353 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25355 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25357 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25358 int64_t instead of long int.
25359 (INSERT_WORDS64): Likwise.
25361 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25363 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25364 _Unwind_GetCFA return to _Unwind_Ptr first.
25366 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25369 * math/s_clog.c: Include <float.h>.
25370 (__clog): Scale large or subnormal inputs.
25371 * math/s_clogf.c: Likewise.
25372 * math/s_clogl.c: Likewise.
25373 * math/s_clog10.c: Include <float.h>.
25374 (M_LOG10_2): Define.
25375 (__clog10): Scale large or subnormal inputs.
25376 * math/s_clog10f.c: Likewise.
25377 * math/s_clog10l.c: Likewise.
25378 * math/libm-test.inc (clog_test): Add more tests.
25379 (clog10_test): Likewise.
25380 * sysdeps/i386/fpu/libm-test-ulps: Update.
25381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25384 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25386 * math/libm-test.inc (atan2_test): Add another test.
25388 * Makerules (common-objdir-compile): Remove.
25389 * sysdeps/unix/Makefile (config-generated): Do not add
25390 $(unix-generated) to variable.
25391 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25392 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25394 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25396 [generic bits/local_lim.h] (before-compile): Do not append to
25398 [generic bits/local_lim.h] (common-generated): Likewise.
25399 [generic sys/param.h] (before-compile): Do not append to variable.
25400 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25401 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25402 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25403 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25405 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25406 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25407 [generic sys/param.h] ($(addprefix
25408 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25409 [generic sys/param.h] (common-generated): Do not append to
25411 [generic sys/param.h] (sysdep_headers): Likewise.
25412 [generic bits/errno.h] (before-compile): Do not append to
25414 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25416 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25417 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25418 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25419 [generic bits/errno.h] (common-generated): Do not append to
25421 [generic bits/ioctls.h] (before-compile): Do not append to
25423 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25425 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25426 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25427 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25429 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25430 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25431 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25432 [generic bits/ioctls.h] (common-generated): Do not append to
25434 [generic sys/syscall.h] (syscall.h): Remove variable.
25435 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25437 [generic sys/syscall.h] (before-compile): Do not append to
25439 [generic sys/syscall.h] (common-generated): Likewise.
25440 * sysdeps/unix/errnos-tmpl.c: Remove file.
25441 * sysdeps/unix/errnos.awk: Likewise.
25442 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25443 * sysdeps/unix/ioctls.awk: Likewise.
25444 * sysdeps/unix/mk-local_lim.c: Likewise.
25445 * sysdeps/unix/snarf-ioctls: Likewise.
25447 2012-03-19 Richard Henderson <rth@twiddle.net>
25449 * sysdeps/i386/fpu/fenv_private.h: New file.
25450 * sysdeps/i386/fpu/math_private.h: Use it.
25451 (math_opt_barrier, math_force_eval): Remove.
25452 (libc_feholdexcept_setround_53bit): Remove.
25453 (libc_feupdateenv_53bit): Remove.
25454 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25455 (math_opt_barrier, math_force_eval): Remove.
25456 (libc_feholdexcept): Remove.
25457 (libc_feholdexcept_setround): Remove.
25458 (libc_fetestexcept, libc_fesetenv): Remove.
25459 (libc_feupdateenv_test): Remove.
25460 (libc_feupdateenv, libc_feholdsetround): Remove.
25461 (libc_feresetround): Remove.
25463 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25464 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25466 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25467 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25468 (libc_feupdateenv_testl): New.
25469 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25470 (libc_feupdateenv_testf): New.
25471 (libc_feupdateenv): Use libc_feupdateenv_test.
25472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25473 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25475 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25476 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25477 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25478 (libc_feresetround_noex): New.
25479 (libc_feresetround_noexf): New.
25480 (libc_feresetround_noexl): New.
25481 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25482 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25483 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25484 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25487 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25489 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25490 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25491 SET_RESTORE_ROUND_NOEX.
25492 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25493 SET_RESTORE_ROUND_NOEXF.
25494 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25495 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25496 (libc_feholdsetroundf): New.
25497 (libc_feresetround, libc_feresetroundf): New.
25499 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25500 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25501 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25503 * sysdeps/generic/math_private.h: Include <fenv.h>.
25504 (default_libc_feholdexcept): New.
25505 (default_libc_feholdexcept_setround): New.
25506 (default_libc_fesetenv, default_libc_feupdateenv): New.
25507 (libc_feholdexcept): Only define if undefined.
25508 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25509 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25510 (libc_feholdexcept_setroundl): Likewise.
25511 (libc_feholdexcept_setround_53bit): Likewise.
25512 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25513 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25514 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25515 (libc_feupdateenv_53bit): Likewise.
25516 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25517 (libc_feholdexcept): Convert from macro to inline function.
25518 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25519 (libc_fesetenv, libc_feupdateenv): Likewise.
25521 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25522 not previously defined.
25523 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25524 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25525 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25526 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25527 * sysdeps/ieee754/flt-32/math_private.h: New file.
25528 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25529 math_private.h below SET_FLOAT_WORD.
25530 (__isnan, __isinf_ns, __finite): Remove.
25531 (__isnanf, __isinf_nsf, __finitef): Remove.
25533 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25537 2012-03-17 David S. Miller <davem@davemloft.net>
25540 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25543 2012-03-16 David S. Miller <davem@davemloft.net>
25545 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25549 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25551 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25552 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25553 sysdep_routines when subdir is sysvipc.
25554 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25555 __getshmlba helper.
25557 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25559 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25561 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25564 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25566 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25567 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25568 (__lround): Renamed to ...
25569 (__llround): This. Replace long int with long long int.
25570 Define lround functions as aliases of llround functions.
25571 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25573 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25575 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25576 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25577 adresses to uintptr_t. Replace "long int" and "unsigned long
25578 int" with "greg_t" on va_arg.
25580 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25582 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25583 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25585 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25586 Move e_machine check before EI_CLASS check. Handle x32
25587 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25588 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25589 SKIP_EM_IA_64 and include
25590 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25592 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25593 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25594 (add_system_dir): New macro.
25596 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25597 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25599 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25610 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25612 * math/w_j0f.c (j0f): Likewise.
25614 * math/w_j0l.c (__j0l): Likewise.
25616 * math/w_j1.c (j1): Likewise.
25618 * math/w_j1f.c (j1f): Likewise.
25620 * math/w_j1l.c (__j1l): Likewise.
25622 * math/w_jn.c (jn): Likewise.
25624 * math/w_jnf.c (jnf): Likewise.
25626 * math/w_jnl.c (__jnl): Likewise.
25628 * math/libm-test.inc (j0_test): Add more tests.
25629 (j1_test): Likewise.
25630 (jn_test): Likewise. Add trailing semicolon to existing test.
25631 (y0_test): Likewise.
25632 (y1_test): Likewise.
25633 * sysdeps/i386/fpu/libm-test-ulps: Update.
25634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25638 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25639 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25640 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25641 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25642 (__tanl): Set errno for infinite argument.
25643 * sysdeps/i386/fpu/mptan.c: Remove.
25644 * sysdeps/i386/fpu/s_tan.S: Likewise.
25645 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25646 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25647 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25648 * math/libm-test.inc (tan_test): Add more tests and enable more
25649 tests for double and long double.
25650 * sysdeps/i386/fpu/libm-test-ulps: Update.
25651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25653 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25655 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25656 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25658 2012-03-16 Roland McGrath <roland@hack.frob.com>
25660 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25661 * configure.in: Use it for both main tree and add-ons.
25662 * configure: Regenerated.
25664 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25666 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25668 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25670 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25674 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25675 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25680 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25682 != 0 for prec == 2.
25683 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25684 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25685 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25686 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25687 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25688 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25689 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25690 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25691 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25692 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25693 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25694 * math/libm-test.inc (cos_test): Add more tests and enable more
25695 tests for long double.
25696 (sin_test): Likewise.
25697 (sincos_test): Likewise.
25698 * sysdeps/i386/fpu/libm-test-ulps: Update.
25699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25701 2012-03-16 David S. Miller <davem@davemloft.net>
25703 * sysdeps/sparc/fpu/math_private.h: New file.
25705 2012-03-15 David S. Miller <davem@davemloft.net>
25707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25721 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25722 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25724 * sysdeps/sparc/sparc-ifunc.h: New file.
25725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25770 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25772 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25776 2012-03-15 Andreas Jaeger <aj@suse.de>
25779 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25780 ieee754/flt-32 implementation for sin, cos and sincos.
25781 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25782 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25783 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25784 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25785 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25786 ieee754/flt-32 implementation for tan.
25788 * math/libm-test.inc (cos_test): Enable some large input tests for
25790 (sin_test): Likewise.
25791 (sincos_test): Likewise.
25792 (tan_test): Add tests for large input.
25794 * sysdeps/i386/fpu/libm-test-ulps: Update.
25796 2012-03-15 Andreas Jaeger <aj@suse.de>
25799 * math/libm-test.inc (cos_test): Add more test cases.
25800 (sin_test): Likewise.
25801 (sincos_test): Likewise.
25803 2012-03-15 Andreas Jaeger <aj@suse.de>
25806 * math/libm-test.inc (cos_test): Add a test case for large input
25808 (sin_test): Likewise.
25809 (sincos_test): Likewise.
25811 2012-03-15 Andreas Jaeger <aj@suse.de>,
25812 Joseph Myers <joseph@codesourcery.com>
25815 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25816 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25817 * sysdeps/i386/fpu/branred.c: Likewise.
25818 * sysdeps/i386/fpu/dosincos.c: Likewise.
25819 * sysdeps/i386/fpu/mpa.c: Likewise.
25820 * sysdeps/i386/fpu/s_cos.S: Likewise.
25821 * sysdeps/i386/fpu/s_sin.S: Likewise.
25822 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25823 * sysdeps/i386/fpu/sincos32.c: Likewise.
25825 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25827 (libc_feupdateenv_53bit): Define.
25828 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25830 (libc_feupdateenv_53bit): Define.
25832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25833 53 bit (without extend i386 double precision).
25835 * math/libm-test.inc (sincos_test): Add tests for large input.
25839 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25841 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25845 2012-03-15 David S. Miller <davem@davemloft.net>
25847 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25848 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25849 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25850 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25875 fmin/fmax sysdep routines.
25876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25878 2012-03-14 David S. Miller <davem@davemloft.net>
25880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25884 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25902 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25903 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25952 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25957 * sysdeps/sparc/configure.in: New file.
25958 * sysdeps/sparc/configure: Generate.
25959 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25960 * configure: Regenerate.
25961 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25962 * config.make.in (have-as-vis3): New.
25963 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25964 available use -Av9d instead of -Av9a.
25965 * sysdeps/sparc/sparc64/Makefile: Likewise.
25966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25981 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25982 fzeros/fnegs to load 0x80000000 into a float register instead of
25984 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25986 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25990 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25991 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25992 ($(inst_includedir)/bits/syscall.h): Remove rule.
25993 ($(objpfx)bits/syscall.d): Include instead of
25994 $(objpfx)syscall-list.d.
25995 (generated): Change syscall-list.h and syscall-list.d to
25996 bits/syscall.h and bits/syscall.d.
25998 2012-03-14 Roland McGrath <roland@hack.frob.com>
26001 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26003 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26006 * math/s_csqrt.c: Include <float.h>.
26007 (__csqrt): Scale large or subnormal inputs.
26008 * math/s_csqrtf.c: Likewise.
26009 * math/s_csqrtl.c: Likewise.
26010 * math/libm-test.inc (csqrt_test): Add more tests.
26011 * sysdeps/i386/fpu/libm-test-ulps: Update.
26012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26015 * math/libm-test.inc (hypot_test): Add more tests.
26017 2012-03-13 David S. Miller <davem@davemloft.net>
26020 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26021 double-precision for the calculation instead of scaling.
26023 2012-03-13 Joseph Myers <joseph@codesourcery.com>
26025 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26026 manipulate bits before adding and subtracting TWO52[sx].
26027 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26032 2012-03-13 David S. Miller <davem@davemloft.net>
26034 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26035 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26037 rtld-global-offsets.h
26038 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26040 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26043 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26045 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26046 'err' in the ifdef scope in which it is actually used.
26048 * nss/nss_db/db-init.c: Include string.h
26050 2012-03-12 David S. Miller <davem@davemloft.net>
26052 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26053 masking out of the most significant byte of random value used.
26054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26055 Fix coding style in previous change.
26057 * sysdeps/unix/sysv/linux/kernel-features.h
26058 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26059 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26061 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26064 2012-03-11 David S. Miller <davem@davemloft.net>
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26067 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26068 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26069 for 'resultvar' otherwise things get truncated on 64-bit.
26071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26072 Fix masking out of the most significant byte of random value used.
26074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26076 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26080 2012-03-09 David S. Miller <davem@davemloft.net>
26082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26083 variables with appropriate CPP guards.
26084 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26085 frame pointer, not the stack pointer. Correct layout comments. Fix test
26086 on resulting framesize and the management of the outregs buffer for pltexit.
26087 Preserve floating point return values across _dl_call_pltexit call.
26088 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26089 framesize and the management of the outregs buffer for pltexit.
26090 Preserve floating point return values across _dl_call_pltexit
26092 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26093 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26094 (print_exit): Fix format string for return register value.
26096 2012-03-10 Joseph Myers <joseph@codesourcery.com>
26098 * sunrpc/Makefile (others): Add rpcgen.
26099 ($(objpfx)rpcgen): Remove special build rule and dependency on
26101 * sunrpc/rpcgen.c: New file.
26103 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26106 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26107 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26108 * sysdeps/i386/crti.S: Likewise.
26109 * sysdeps/i386/crtn.S: Likewise.
26110 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26111 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26112 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26113 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26114 * sysdeps/sh/crti.S: Likewise.
26115 * sysdeps/sh/crtn.S: Likewise.
26116 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26119 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26121 * locale/programs/locfile-kw.gperf: Likewise.
26122 * locale/programs/charmap-kw.h: Regenerated.
26123 * locale/programs/locfile-kw.h: Likewise.
26126 * intl/plural.y: Replace FSF snail mail address with URL.
26127 * intl/plural.c: Regenerated.
26129 2012-03-09 Richard Henderson <rth@twiddle.net>
26131 * include/math_private.h: Remove file.
26132 * math/math_private.h: Move file ...
26133 * sysdeps/generic/math_private.h: ... here.
26135 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26136 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26137 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26139 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26140 and <math_private.h>.
26141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26153 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26155 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26156 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26157 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26167 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26173 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26175 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26176 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26177 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26178 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26179 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26181 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26182 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26183 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26184 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26185 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26186 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26187 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26188 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26189 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26190 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26218 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26219 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26222 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26224 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26229 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26230 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26231 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26232 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26233 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26234 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26235 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26236 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26237 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26238 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26239 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26240 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26241 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26242 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26243 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26244 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26245 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26246 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26247 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26248 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26249 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26251 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26252 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26253 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26254 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26255 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26256 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26257 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26258 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26259 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26260 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26261 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26262 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26263 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26264 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26265 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26266 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26267 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26268 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26269 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26270 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26271 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26272 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26273 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26274 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26275 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26276 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26278 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26279 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26280 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26281 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26282 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26283 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26284 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26285 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26286 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26287 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26288 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26289 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26290 * sysdeps/ieee754/k_standard.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26371 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26372 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26373 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26374 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26375 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26376 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26377 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26382 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26384 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26385 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26387 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26390 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26392 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26400 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26402 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26408 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26409 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26410 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26411 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26412 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26413 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26414 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26415 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26416 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26417 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26419 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26420 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26421 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26422 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26423 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26424 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26427 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26428 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26429 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26430 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26431 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26432 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26433 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26434 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26435 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26436 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26438 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26439 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26440 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26441 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26442 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26443 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26445 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26447 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26449 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26450 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26451 * sysdeps/ieee754/s_lib_version.c: Likewise.
26452 * sysdeps/ieee754/s_matherr.c: Likewise.
26453 * sysdeps/ieee754/s_signgam.c: Likewise.
26454 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26455 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26457 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26458 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26459 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26460 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26461 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26462 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26463 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26464 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26465 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26466 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26467 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26468 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26469 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26471 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26473 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26476 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26478 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26479 * sunrpc/rpc_main.c: Likewise.
26480 * sunrpc/rpc_svcout.c: Likewise.
26482 2012-03-09 David S. Miller <davem@davemloft.net>
26484 * include/math_private.h: New file.
26486 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26488 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26489 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26490 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26491 from <bits/socket_type.h>.
26492 (enum __socket_type): Don't define here.
26493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26495 bits/socket_type.h.
26498 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26499 checking __USE_GNU.
26501 * Makerules ($(inst_includedir)/%.h): New rule.
26502 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26503 (install-others): Remove variable setting.
26504 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26506 2012-03-08 Richard Henderson <rth@twiddle.net>
26508 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26509 from macro to inline function; merge with the
26510 !__LIBC_INTERNAL_MATH_INLINES version.
26511 (__ieee754_sqrtf): Likewise.
26513 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26514 to inline function.
26515 (__rintf, __floor, __floorf): Likewise.
26517 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26518 macro to inline function.
26519 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26522 not <math/math_private.h>.
26524 2012-03-08 David S. Miller <davem@davemloft.net>
26526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26528 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26530 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26532 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26534 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26535 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26537 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26539 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26540 be defined individually, they must be defined as a block. Define
26541 S for printing a string instead of hidint the different by using a
26542 macro for adding the 'l'.
26543 * stdio-common/tst-fphex-wide.c: Adjust.
26545 2012-03-07 Marek Polacek <polacek@redhat.com>
26547 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26549 2012-03-08 Marek Polacek <polacek@redhat.com>
26552 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26553 * stdio-common/tst-fphex.c: Define a few macros to make the
26554 test reusable. Use them.
26555 * stdio-common/tst-fphex-wide.c: New file.
26557 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26560 * manual/macros.texi (gnusystems): New macro.
26561 (nongnusystems): Likewise.
26562 (gnulinuxhurdsystems): Likewise.
26563 (gnuhurdsystems): Likewise..
26564 (gnulinuxsystems): Likewise.
26565 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26566 variants of the GNU system, not "GNU system".
26567 * manual/conf.texi: Likewise.
26568 * manual/errno.texi: Likewise. Update example of errno macro
26570 * manual/filesys.texi: Likewise.
26571 (getumask): Document as specific to GNU/Hurd.
26572 * manual/install.texi: Likewise. Reword some references to
26574 * manual/intro.texi: Likewise.
26575 * manual/io.texi: Likewise.
26576 (File Name Portability): Detail which constraints are inapplicable
26577 to all GNU systems and which are only inapplicable to GNU/Hurd.
26578 * manual/job.texi: Likewise.
26579 * manual/llio.texi: Likewise.
26580 (O_NOCTTY): Document as present on GNU/Linux.
26581 * manual/maint.texi: Likewise.
26582 * manual/memory.texi: Likewise.
26583 * manual/pattern.texi: Likewise.
26584 * manual/pipe.texi: Likewise.
26585 * manual/process.texi: Likewise.
26586 * manual/resource.texi: Likewise.
26587 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26589 * manual/setjmp.texi: Likewise.
26590 * manual/signal.texi: Likewise.
26591 * manual/startup.texi: Likewise.
26592 * manual/stdio.texi: Likewise.
26593 * manual/terminal.texi: Likewise.
26594 (ONLCR): Document as POSIX.
26595 (OXTABS): Document availability on GNU/Linux as XTABS.
26596 (ONOEOT): Document availability separately from other bits.
26597 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26598 * manual/time.texi: Likewise.
26599 * manual/users.texi: Likewise.
26600 * INSTALL: Regenerated.
26601 * sysdeps/gnu/errlist.c: Regenerated.
26603 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26604 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26605 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26607 * configure: Regenerated.
26609 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26611 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26612 default includes instead of AC_HEADER_CHECK.
26613 * sysdeps/i386/configure: Regenerated.
26616 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26617 * math/s_cacoshf.c (__cacoshf): Likewise.
26618 * math/s_cacoshl.c (__cacoshl): Likewise.
26619 * math/s_casinh.c (__casinh): Set signs of result from argument.
26620 * math/s_casinhf.c (__casinhf): Likewise.
26621 * math/s_casinhl.c (__casinhl): Likewise.
26622 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26623 (casinh_test): Add more tests.
26624 * sysdeps/i386/fpu/libm-test-ulps: Update.
26625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26627 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26629 * po/zh_TW.po: Update from translation team.
26631 * login/Makefile (distribute): Remove variable.
26632 * catgets/Makefile: Likewise.
26633 * mach/Makefile: Likewise.
26634 * malloc/Makefile: Likewise.
26635 * misc/Makefile: Likewise.
26636 * iconv/Makefile: Likewise.
26637 * nscd/Makefile: Likewise.
26638 * hurd/Makefile: Likewise.
26639 * manual/Makefile: Likewise.
26640 * locale/Makefile: Likewise.
26641 * intl/Makefile: Likewise.
26642 * conform/Makefile: Likewise.
26643 * nss/Makefile: Likewise.
26644 * time/Makefile: Likewise.
26645 * soft-fp/Makefile: Likewise.
26646 * dirent/Makefile: Likewise.
26647 * gmon/Makefile: Likewise.
26648 * po/Makefile: Likewise.
26649 * rt/Makefile: Likewise.
26650 * socket/Makefile: Likewise.
26651 * math/Makefile: Likewise.
26652 * signal/Makefile: Likewise.
26653 * debug/Makefile: Likewise.
26654 * elf/Makefile: Likewise.
26655 * timezone/Makefile: Likewise.
26656 * stdlib/Makefile: Likewise.
26657 * iconvdata/Makefile: Likewise.
26658 * sunrpc/Makefile: Likewise.
26659 * io/Makefile: Likewise.
26660 * argp/Makefile: Likewise.
26661 * inet/Makefile: Likewise.
26662 * hesiod/Makefile: Likewise.
26663 * grp/Makefile: Likewise.
26664 * csu/Makefile: Likewise.
26665 * wctype/Makefile: Likewise.
26666 * crypt/Makefile: Likewise.
26667 * libio/Makefile: Likewise.
26668 * string/Makefile: Likewise.
26669 * nis/Makefile: Likewise.
26670 * resolv/Makefile: Likewise.
26671 * stdio-common/Makefile: Likewise.
26672 * wcsmbs/Makefile: Likewise.
26673 * dlfcn/Makefile: Likewise.
26674 * posix/Makefile: Likewise.
26677 * timezone/Makefile: Don't install timezone files, just the programs
26680 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26682 * nss/databases.def: Add missing gshadow entry.
26684 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26686 2012-03-06 Marek Polacek <polacek@redhat.com>
26689 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26690 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26691 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26692 * stdio-common/tst-long-dbl-fphex.c: New file.
26694 2012-03-06 David S. Miller <davem@davemloft.net>
26696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26697 (set_obp_int): New function.
26698 (get_obp_int): New function.
26699 (__get_clockfreq_via_dev_openprom): Likewise.
26700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26701 Avoid unused variable warnings on 'val' and use builtin_expect.
26702 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26704 (INLINE_CLONE_SYSCALL): Likewise.
26706 2012-03-05 David S. Miller <davem@davemloft.net>
26708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26710 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26715 only for |x| >= 40.
26716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26718 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26721 Replace gettimeofday with __vdso_gettimeofday.
26723 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26724 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26725 __vdso_clock_gettime and __vdso_getcpu.
26727 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26728 time with __vdso_time.
26730 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26732 * manual/lang.texi (size_t): Note types to which size_t may be
26733 equivalent with the GNU C Library, but do not describe when
26734 differences between them are significant.
26736 2012-03-05 Andreas Jaeger <aj@suse.de>
26738 * sysdeps/i386/fpu/libm-test-ulps: Update.
26740 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26743 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26744 (__ieee754_pow): Save and restore rounding mode and use
26745 round-to-nearest for main computations.
26746 * math/libm-test.inc (pow_test_tonearest): New function.
26747 (pow_test_towardzero): Likewise.
26748 (pow_test_downward): Likewise.
26749 (pow_test_upward): Likewise.
26750 (main): Call the new functions.
26751 * sysdeps/i386/fpu/libm-test-ulps: Update.
26752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26755 * math/libm-test.inc (cosh_test_tonearest): New function.
26756 (cosh_test_towardzero): Likewise.
26757 (cosh_test_downward): Likewise.
26758 (cosh_test_upward): Likewise.
26759 (sinh_test_tonearest): Likewise.
26760 (sinh_test_towardzero): Likewise.
26761 (sinh_test_downward): Likewise.
26762 (sinh_test_upward): Likewise.
26763 (main): Call the new functions.
26764 * sysdeps/i386/fpu/libm-test-ulps: Update.
26765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26767 2012-03-05 Tom de Vries <tom@codesourcery.com>
26769 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26770 default stack guard is set in last bytes.
26771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26773 2012-03-05 Kees Cook <keescook@chromium.org>
26775 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26778 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26779 possibly allocate from heap instead of stack.
26780 * stdio-common/bug-vfprintf-nargs.c: New file.
26781 * stdio-common/Makefile (tests): Add nargs overflow test.
26783 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26787 2012-03-03 Marek Polacek <polacek@redhat.com>
26789 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26790 * math/math_private.h: Likewise.
26791 * stdlib/tst-strtod.c: Likewise.
26792 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26793 * sysdeps/x86_64/bits/atomic.h: Likewise.
26795 2012-03-02 David S. Miller <davem@davemloft.net>
26797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26801 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26802 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26803 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26804 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26806 2012-03-02 Roland McGrath <roland@hack.frob.com>
26809 * manual/examples/README: New file, says the example source files
26810 can be used under GPL>=2.
26811 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26812 line containing just "*/".
26813 * manual/examples/add.c: Add copyright header (GPL>=2).
26814 * manual/examples/argp-ex1.c: Likewise.
26815 * manual/examples/argp-ex2.c: Likewise.
26816 * manual/examples/argp-ex3.c: Likewise.
26817 * manual/examples/argp-ex4.c: Likewise.
26818 * manual/examples/atexit.c: Likewise.
26819 * manual/examples/db.c: Likewise.
26820 * manual/examples/dir.c: Likewise.
26821 * manual/examples/dir2.c: Likewise.
26822 * manual/examples/execinfo.c: Likewise.
26823 * manual/examples/filecli.c: Likewise.
26824 * manual/examples/filesrv.c: Likewise.
26825 * manual/examples/fmtmsgexpl.c: Likewise.
26826 * manual/examples/genpass.c: Likewise.
26827 * manual/examples/inetcli.c: Likewise.
26828 * manual/examples/inetsrv.c: Likewise.
26829 * manual/examples/isockad.c: Likewise.
26830 * manual/examples/longopt.c: Likewise.
26831 * manual/examples/memopen.c: Likewise.
26832 * manual/examples/memstrm.c: Likewise.
26833 * manual/examples/mkfsock.c: Likewise.
26834 * manual/examples/mkisock.c: Likewise.
26835 * manual/examples/mygetpass.c: Likewise.
26836 * manual/examples/pipe.c: Likewise.
26837 * manual/examples/popen.c: Likewise.
26838 * manual/examples/rprintf.c: Likewise.
26839 * manual/examples/search.c: Likewise.
26840 * manual/examples/select.c: Likewise.
26841 * manual/examples/setjmp.c: Likewise.
26842 * manual/examples/sigh1.c: Likewise.
26843 * manual/examples/sigusr.c: Likewise.
26844 * manual/examples/stpcpy.c: Likewise.
26845 * manual/examples/strdupa.c: Likewise.
26846 * manual/examples/strftim.c: Likewise.
26847 * manual/examples/strncat.c: Likewise.
26848 * manual/examples/subopt.c: Likewise.
26849 * manual/examples/swapcontext.c: Likewise.
26850 * manual/examples/termios.c: Likewise.
26851 * manual/examples/testopt.c: Likewise.
26852 * manual/examples/testpass.c: Likewise.
26853 * manual/examples/timeval_subtract.c: Likewise.
26856 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26858 * manual/timeval_subtract.c.texi: ... here, new file.
26860 2012-03-02 David S. Miller <davem@davemloft.net>
26862 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26864 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26867 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26868 (__sin): Save and restore rounding mode and use round-to-nearest
26869 for all computations.
26870 (__cos): Save and restore rounding mode and use round-to-nearest
26871 for all computations.
26872 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26874 (tan): Save and restore rounding mode and use round-to-nearest for
26876 * math/libm-test.inc (cos_test_tonearest): New function.
26877 (cos_test_towardzero): Likewise.
26878 (cos_test_downward): Likewise.
26879 (cos_test_upward): Likewise.
26880 (sin_test_tonearest): Likewise.
26881 (sin_test_towardzero): Likewise.
26882 (sin_test_downward): Likewise.
26883 (sin_test_upward): Likewise.
26884 (tan_test_tonearest): Likewise.
26885 (tan_test_towardzero): Likewise.
26886 (tan_test_downward): Likewise.
26887 (tan_test_upward): Likewise.
26888 (main): Call the new functions.
26889 * sysdeps/i386/fpu/libm-test-ulps: Update.
26890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26893 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26894 small n, then large n, before computing and testing k+n.
26895 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26900 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26901 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26902 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26903 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26905 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26906 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26907 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26908 * math/libm-test.inc (scalbn_test): Add more tests.
26909 (scalbln_test): Likewise.
26911 * manual/filesys.texi (mode_t): Describe constraints on size and
26912 signedness, not exact equivalence to a particular type.
26914 (ino64_t): Likewise.
26916 (nlink_t): Likewise.
26917 (blkcnt_t): Likewise.
26918 (blkcnt64_t): Likewise.
26919 * manual/llio.texi (off_t): Likewise.
26922 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26923 (__ieee754_exp): Save and restore rounding mode and use
26924 round-to-nearest for all computations.
26925 * math/libm-test.inc (exp_test_tonearest): New function.
26926 (exp_test_towardzero): Likewise.
26927 (exp_test_downward): Likewise.
26928 (exp_test_upward): Likewise.
26929 (main): Call the new functions.
26930 * sysdeps/i386/fpu/libm-test-ulps: Update.
26931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26933 2012-03-01 Chris Demetriou <cgd@google.com>
26935 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26936 have predictable order.
26938 2012-03-01 David S. Miller <davem@davemloft.net>
26940 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26942 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26943 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26944 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26945 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26947 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26948 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26949 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26951 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26952 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26953 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26954 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26955 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26959 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26960 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26963 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26964 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26965 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26966 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26967 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26968 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26969 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26970 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26971 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26972 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26973 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26974 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26976 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26977 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26979 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26980 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26981 * sysdeps/sparc/elf/configure: Regenerated.
26983 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26985 * configure.in (AS, LD): Require binutils 2.20 or later.
26986 * configure: Regenerated.
26987 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26988 as required minimum version.
26989 * INSTALL: Regenerated.
26993 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26994 before squaring exponent.
26995 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26996 bottom long double and 27 bits of top long double before squaring
26998 * math/libm-test.inc (erfc_test): Add more tests.
26999 * sysdeps/i386/fpu/libm-test-ulps: Update.
27000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27003 2012-03-01 Kai Tietz <ktietz@redhat.com>
27005 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27006 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27007 containing bit-fields.
27008 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27009 * soft-fp/single.h (_FP_UNION_S): Likewise.
27010 * soft-fp/double.h (_FP_UNION_D): Likewise.
27012 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27015 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27016 not include ../strcmp.S.
27017 [USE_AS_STRNCASECMP_L]: Likewise.
27018 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27019 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27020 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27021 (__strncasecmp_l_ia32): Define as alias to
27022 __strncasecmp_l_nonascii.
27025 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27026 * sysdeps/i386/fpu/libm-test-ulps: Update.
27027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27029 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27032 2012-02-29 Jeff Law <law@redhat.com>
27034 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27035 out of bounds read.
27037 2012-02-29 Marek Polacek <polacek@redhat.com>
27040 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27041 * elf/Makefile: Add rules to run tst-unused-dep.out.
27043 2012-02-28 David S. Miller <davem@davemloft.net>
27045 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27046 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27047 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27048 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27049 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27050 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27052 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27054 * math/libm-test.inc (llround_test): Move one test from
27055 lround_test. Use TEST_f_L in moved test.
27056 (lround_test): Move misplaced test to llround_test. Add testcase
27059 2012-02-28 Ulrich Drepper <drepper@gmail.com>
27061 * sysdeps/x86_64/fpu/e_expf.S: New file.
27062 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27064 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27067 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27068 of remain_len that may cause incomplete multi-byte character and
27070 * posix/bug-regex33.c: New file.
27071 * posix/Makefile (tests): Add bug-regex33.
27073 2012-02-28 Joseph Myers <joseph@codesourcery.com>
27075 * manual/macros.texi: New file.
27076 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27077 * manual/libc.texinfo: Include macros.texi.
27078 * manual/creatute.texi: Likewise.
27079 * manual/install.texi: Likewise.
27080 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27081 @glibcadj{} in references to the GNU C Library.
27082 * manual/charset.texi: Likewise.
27083 * manual/conf.texi: Likewise.
27084 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27085 when not using those macros.
27086 * manual/creature.texi: Likewise.
27087 * manual/crypt.texi: Likewise.
27088 * manual/errno.texi: Likewise.
27089 * manual/filesys.texi: Likewise.
27090 * manual/header.texi: Likewise.
27091 * manual/install.texi: Likewise.
27092 * manual/intro.texi: Likewise.
27093 * manual/io.texi: Likewise.
27094 * manual/job.texi: Likewise.
27095 * manual/lang.texi: Likewise.
27096 * manual/libc.texiinfo: Likewise.
27097 * manual/llio.texi: Likewise.
27098 * manual/locale.texi: Likewise.
27099 * manual/maint.texi: Likewise.
27100 * manual/math.texi: Likewise.
27101 * manual/memory.texi: Likewise.
27102 * manual/message.texi: Likewise.
27103 * manual/nss.texi: Likewise.
27104 * manual/pattern.texi: Likewise.
27105 * manual/process.texi: Likewise.
27106 * manual/resource.texi: Likewise.
27107 * manual/search.texi: Likewise.
27108 * manual/setjmp.texi: Likewise.
27109 * manual/signal.texi: Likewise.
27110 * manual/socket.texi: Likewise.
27111 * manual/startup.texi: Likewise.
27112 * manual/stdio.texi: Likewise.
27113 * manual/string.texi: Likewise.
27114 * manual/sysinfo.texi: Likewise.
27115 * manual/syslog.texi: Likewise.
27116 * manual/terminal.texi: Likewise.
27117 * manual/time.texi: Likewise.
27118 * manual/users.texi: Likewise.
27119 * INSTALL: Regenerated.
27120 * NOTES: Regenerated.
27121 * sysdeps/gnu/errlist.c: Regenerated.
27123 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27125 * include/dirent.h: Include <dirstream.h> before
27128 2012-02-28 David S. Miller <davem@davemloft.net>
27130 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27131 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27132 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27133 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27135 2012-02-27 David S. Miller <davem@davemloft.net>
27137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27139 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27140 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27143 frame pointer instead of stack pointer relative arg slot.
27144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27145 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27146 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27148 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27151 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27153 2012-02-27 David S. Miller <davem@davemloft.net>
27155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27159 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27160 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27161 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27162 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27164 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27166 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27167 later. Allow versions 5-9.
27168 * configure: Regenerated.
27169 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27170 required minimum version and 4.6 as recommended version. Do not
27171 mention bugs in GCC 2.7 and 2.8.
27172 * INSTALL: Regenerated.
27174 2012-02-27 David S. Miller <davem@davemloft.net>
27176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27180 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27181 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27182 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27183 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27185 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27186 manipulate bits before adding and subtracting TWO112[sx].
27187 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27189 2012-02-27 Roland McGrath <roland@hack.frob.com>
27192 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27193 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27194 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27195 being in POSIX, because they are in 1003.1-2008.
27197 * rt/tst-aio.c: Include <fcntl.h>.
27198 * rt/tst-aio7.c: Likewise.
27199 * rt/tst-aio64.c: Likewise.
27201 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27203 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27205 * manual/install.texi (--with-headers): Describe headers as
27206 interface headers, not private headers.
27207 (Specific advice for GNU/Linux systems): Describe use of headers
27208 from "make headers_install", not private headers from older
27210 * INSTALL: Regenerated.
27211 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27213 * sysdeps/unix/sysv/linux/configure: Regenerated.
27215 * manual/llio.texi (fclean): Remove documentation.
27217 * manual/Makefile (libc-texi-generated): New variable. Include
27219 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27220 $(libc-texi-generated), not duplicated list of files.
27221 (version.texi, stamp-version): New rules.
27222 (realclean): Remove $(libc-texi-generated), not individual files
27223 from that list. Do not remove dir-add.texinfo.
27224 * manual/libc.texinfo: Comment out uses of edition numbers and
27225 references to printed manual. Remove last-updated dates.
27226 (EDITION): Comment out.
27228 (VERSION, UPDATED): Remove.
27229 (version.texi): Include.
27231 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27233 * sysdeps/posix/spawni.c: Include <signal.h>.
27234 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27235 * sysdeps/pthread/aio_fsync.c: Likewise.
27237 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27239 * conform/Makefile (tests): Run only when not cross-compiling and
27240 when fast-check is not defined.
27242 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27243 * conform/data/limits.h-data: Fixes for POSIX2008.
27244 * conform/run-conformtest.sh: Run all tests.
27245 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27247 * include/bits/dlfcn.h: Likewise.
27248 * include/langinfo.h: Likewise.
27249 * include/monetary.h: Likewise.
27250 * include/sys/poll.h: Likewise.
27252 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27254 * posix/spawn.h: Define __need_sigset_t.
27255 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27256 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27257 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27258 to get sigevent_t only.
27259 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27260 only for __USE_GNU.
27261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27262 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27263 process_vm_writev only for __USE_GNU.
27264 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27266 * conform/Makefile: For now ignore errors from run-conformtest.
27267 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27268 POSIX to avoid namespace pollution. Don't prepend headers.
27269 * conform/data/aio.h-data: Fixes for POSIX testing.
27270 * conform/data/fcntl.h-data: Likewise.
27271 * conform/data/glob.h-data: Likewise.
27272 * conform/data/grp.h-data: Likewise.
27273 * conform/data/pthread.h-data: Likewise.
27274 * conform/data/pwd.h-data: Likewise.
27275 * conform/data/signal.h-data: Likewise.
27276 * conform/data/spawn.h-data: Likewise.
27277 * conform/data/stdio.h-data: Likewise.
27278 * conform/data/stdlib.h-data: Likewise.
27279 * conform/data/stropts.h-data: Likewise.
27280 * conform/data/sys/mman.h-data: Likewise.
27281 * conform/data/sys/stat.h-data: Likewise.
27282 * conform/data/sys/types.h-data: Likewise.
27283 * conform/data/sys/wait.h-data: Likewise.
27284 * conform/data/time.h-data: Likewise.
27285 * conform/data/unistd.h-data: Likewise.
27286 * conform/data/utime.h-data: Likewise.
27288 * io/sys/stat.h: fchmod was always in POSIX.
27289 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27290 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27291 * rt/aio.h: Define __need_timespec before including <time.h>.
27292 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27293 struct. Add forward declaration of pthread_attr_t and use it in
27295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27297 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27298 always remove CLK_TCK definition.
27300 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27302 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27304 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27306 * conform/run-conformtest.sh: New file.
27307 * conform/Makefile: Run run-conformtest for tests.
27308 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27311 * conform/data/uchar.h-data: New file.
27312 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27313 * conform/data/arpa/inet.h-data: Likewise.
27314 * conform/data/assert.h-data: Likewise.
27315 * conform/data/complex.h-data: Likewise.
27316 * conform/data/cpio.h-data: Likewise.
27317 * conform/data/ctype.h-data: Likewise.
27318 * conform/data/dirent.h-data: Likewise.
27319 * conform/data/dlfcn.h-data: Likewise.
27320 * conform/data/errno.h-data: Likewise.
27321 * conform/data/fcntl.h-data: Likewise.
27322 * conform/data/float.h-data: Likewise.
27323 * conform/data/fmtmsg.h-data: Likewise.
27324 * conform/data/fnmatch.h-data: Likewise.
27325 * conform/data/ftw.h-data: Likewise.
27326 * conform/data/glob.h-data: Likewise.
27327 * conform/data/grp.h-data: Likewise.
27328 * conform/data/iconv.h-data: Likewise.
27329 * conform/data/inttypes.h-data: Likewise.
27330 * conform/data/langinfo.h-data: Likewise.
27331 * conform/data/libgen.h-data: Likewise.
27332 * conform/data/limits.h-data: Likewise.
27333 * conform/data/locale.h-data: Likewise.
27334 * conform/data/math.h-data: Likewise.
27335 * conform/data/monetary.h-data: Likewise.
27336 * conform/data/mqueue.h-data: Likewise.
27337 * conform/data/ndbm.h-data: Likewise.
27338 * conform/data/net/if.h-data: Likewise.
27339 * conform/data/netdb.h-data: Likewise.
27340 * conform/data/netinet/in.h-data: Likewise.
27341 * conform/data/nl_types.h-data: Likewise.
27342 * conform/data/poll.h-data: Likewise.
27343 * conform/data/pthread.h-data: Likewise.
27344 * conform/data/pwd.h-data: Likewise.
27345 * conform/data/regex.h-data: Likewise.
27346 * conform/data/sched.h-data: Likewise.
27347 * conform/data/search.h-data: Likewise.
27348 * conform/data/semaphore.h-data: Likewise.
27349 * conform/data/setjmp.h-data: Likewise.
27350 * conform/data/signal.h-data: Likewise.
27351 * conform/data/spawn.h-data: Likewise.
27352 * conform/data/stdarg.h-data: Likewise.
27353 * conform/data/stdio.h-data: Likewise.
27354 * conform/data/stdlib.h-data: Likewise.
27355 * conform/data/string.h-data: Likewise.
27356 * conform/data/strings.h-data: Likewise.
27357 * conform/data/stropts.h-data: Likewise.
27358 * conform/data/sys/ipc.h-data: Likewise.
27359 * conform/data/sys/mman.h-data: Likewise.
27360 * conform/data/sys/msg.h-data: Likewise.
27361 * conform/data/sys/resource.h-data: Likewise.
27362 * conform/data/sys/select.h-data: Likewise.
27363 * conform/data/sys/sem.h-data: Likewise.
27364 * conform/data/sys/shm.h-data: Likewise.
27365 * conform/data/sys/socket.h-data: Likewise.
27366 * conform/data/sys/stat.h-data: Likewise.
27367 * conform/data/sys/statvfs.h-data: Likewise.
27368 * conform/data/sys/time.h-data: Likewise.
27369 * conform/data/sys/timeb.h-data: Likewise.
27370 * conform/data/sys/times.h-data: Likewise.
27371 * conform/data/sys/types.h-data: Likewise.
27372 * conform/data/sys/uio.h-data: Likewise.
27373 * conform/data/sys/un.h-data: Likewise.
27374 * conform/data/sys/utsname.h-data: Likewise.
27375 * conform/data/sys/wait.h-data: Likewise.
27376 * conform/data/syslog.h-data: Likewise.
27377 * conform/data/tar.h-data: Likewise.
27378 * conform/data/termios.h-data: Likewise.
27379 * conform/data/utime.h-data: Likewise.
27380 * conform/data/utmpx.h-data: Likewise.
27381 * conform/data/varargs.h-data: Likewise.
27382 * conform/data/wchar.h-data: Likewise.
27383 * conform/data/wctype.h-data: Likewise.
27384 * conform/data/wordexp.h-data: Likewise.
27386 * include/stropts.h: New file.
27387 * include/uchar.h: New file.
27388 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27389 * include/assert.h: Likewise.
27390 * include/ctype.h: Likewise.
27391 * include/dirent.h: Likewise.
27392 * include/dlfcn.h: Likewise.
27393 * include/fcntl.h: Likewise.
27394 * include/fnmatch.h: Likewise.
27395 * include/glob.h: Likewise.
27396 * include/grp.h: Likewise.
27397 * include/libio.h: Likewise.
27398 * include/locale.h: Likewise.
27399 * include/math.h: Likewise.
27400 * include/net/if.h: Likewise.
27401 * include/netdb.h: Likewise.
27402 * include/netinet/in.h: Likewise.
27403 * include/pthread.h: Likewise.
27404 * include/pwd.h: Likewise.
27405 * include/regex.h: Likewise.
27406 * include/sched.h: Likewise.
27407 * include/search.h: Likewise.
27408 * include/setjmp.h: Likewise.
27409 * include/signal.h: Likewise.
27410 * include/stdio.h: Likewise.
27411 * include/stdlib.h: Likewise.
27412 * include/string.h: Likewise.
27413 * include/sys/cdefs.h: Likewise.
27414 * include/sys/mman.h: Likewise.
27415 * include/sys/msg.h: Likewise.
27416 * include/sys/resource.h: Likewise.
27417 * include/sys/select.h: Likewise.
27418 * include/sys/socket.h: Likewise.
27419 * include/sys/stat.h: Likewise.
27420 * include/sys/statvfs.h: Likewise.
27421 * include/sys/time.h: Likewise.
27422 * include/sys/times.h: Likewise.
27423 * include/sys/uio.h: Likewise.
27424 * include/sys/utsname.h: Likewise.
27425 * include/sys/wait.h: Likewise.
27426 * include/termios.h: Likewise.
27427 * include/time.h: Likewise.
27428 * include/ulimit.h: Likewise.
27429 * include/unistd.h: Likewise.
27430 * include/utime.h: Likewise.
27431 * include/wchar.h: Likewise.
27432 * include/wctype.h: Likewise.
27433 * include/wordexp.h: Likewise.
27435 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27437 * time/time.h: TIME_UTC must be a macro.
27438 Make timespec_get available for ISO C11 only as well.
27440 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27442 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27443 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27445 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27447 * configure.in: Use -o not -a in test for unsupported multi-arch.
27449 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27451 * manual/texinfo.tex: Update to version 2012-01-19.16.
27453 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27455 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27457 2012-02-24 Roland McGrath <roland@hack.frob.com>
27460 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27461 * manual/fdl-1.3.texi: New file.
27462 * manual/fdl-1.1.texi: File removed.
27465 * manual/libc.texinfo (FDL_VERSION): New @set.
27466 Use it for mention of FDL in cover text.
27467 (Documentation License): Use it in @include file name.
27469 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27470 Roland McGrath <roland@hack.frob.com>
27473 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27474 not LONG_LONG_MAX and LONG_LONG_MIN.
27475 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27476 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27478 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27480 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27484 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27485 manipulate bits before adding and subtracting TWO23[sx].
27486 * math/libm-test.inc (nearbyint_test): Add more tests.
27488 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27491 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27492 bits before adding and subtracting TWO23[sx].
27493 * math/libm-test.inc (rint_test): Add more tests.
27494 (rint_test_tonearest): Likewise.
27495 (rint_test_towardzero): Likewise.
27496 (rint_test_downward): Likewise.
27497 (rint_test_upward: Likewise.
27499 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27502 * include/stdc-predef.h: New file. Extracted from features.h.
27503 * include/features.h: Include stdc-predef.h.
27504 * Makefile (headers): Add stdc-predef.h.
27505 * CONFORMANCE (Compiler limitations): Update.
27507 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27509 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27511 2012-02-21 David S. Miller <davem@davemloft.net>
27513 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27514 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27516 2012-02-20 David S. Miller <davem@davemloft.net>
27518 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27519 using a normal save/restore sequence, rather than allocating a
27520 dummy stack frame just to store a frame pointer and restore.
27521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27523 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27525 * manual/install.texi: Fix stray word in line-wrapped comment.
27527 2012-02-20 David S. Miller <davem@davemloft.net>
27529 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27530 both binutils and gcc support GOTDATA.
27532 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27533 "rd %pc" in the PIC register setup sequences.
27535 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27536 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27537 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27538 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27539 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27541 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27543 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27544 (SYSCALL_ERROR_HANDLER): Likewise.
27545 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27548 (SYSCALL_ERROR_HANDLER): Likewise.
27550 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27551 (HAVE_GCC_GOTDATA): New.
27552 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27553 relocation support in both binutils and gcc.
27554 * sysdeps/sparc/elf/configure: Regenerate.
27556 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27557 * sysdeps/sparc/sparc32/elf/configure: Delete.
27558 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27559 * sysdeps/sparc/sparc64/elf/configure: Delete.
27560 * sysdeps/sparc/elf/configure.in: New file.
27561 * sysdeps/sparc/elf/configure: Generate.
27563 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27564 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27565 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27566 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27567 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27569 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27571 * manual/install.texi: Do not mention specific glibc version
27573 * manual/libc.texinfo (VERSION, UPDATED): Update.
27574 (@copying): Use @copyright{} and range of years.
27576 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27579 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27580 [crti.S not in sysdirs] (generated): Do not append.
27581 [crti.S not in sysdirs] (omit-deps): Likewise.
27582 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27583 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27584 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27585 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27586 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27588 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27589 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27590 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27591 * csu/defs.awk: Remove file.
27592 * sysdeps/generic/initfini.c: Likewise.
27593 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27595 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27598 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27600 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27601 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27602 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27603 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27604 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27605 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27607 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27608 (__EPOLL_PACKED): Define to empty if not defined by
27610 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27614 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27616 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27617 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27618 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27619 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27621 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27625 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27627 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27630 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27631 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27634 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27636 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27637 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27639 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27641 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27642 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27644 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27646 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27649 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27651 * math/w_acos.c: Use non-signaling floating-point comparisons.
27652 * math/w_acosf.c: Likewise.
27653 * math/w_acosh.c: Likewise.
27654 * math/w_acoshf.c: Likewise.
27655 * math/w_acoshl.c: Likewise.
27656 * math/w_acosl.c: Likewise.
27657 * math/w_asin.c: Likewise.
27658 * math/w_asinf.c: Likewise.
27659 * math/w_asinl.c: Likewise.
27660 * math/w_atanh.c: Likewise.
27661 * math/w_atanhf.c: Likewise.
27662 * math/w_atanhl.c: Likewise.
27663 * math/w_exp2.c: Likewise.
27664 * math/w_exp2f.c: Likewise.
27665 * math/w_exp2l.c: Likewise.
27666 * math/w_j0.c: Likewise.
27667 * math/w_j0f.c: Likewise.
27668 * math/w_j0l.c: Likewise.
27669 * math/w_j1.c: Likewise.
27670 * math/w_j1f.c: Likewise.
27671 * math/w_j1l.c: Likewise.
27672 * math/w_jn.c: Likewise.
27673 * math/w_jnf.c: Likewise.
27674 * math/w_log.c: Likewise.
27675 * math/w_log10.c: Likewise.
27676 * math/w_log10f.c: Likewise.
27677 * math/w_log10l.c: Likewise.
27678 * math/w_log2.c: Likewise.
27679 * math/w_log2f.c: Likewise.
27680 * math/w_log2l.c: Likewise.
27681 * math/w_logf.c: Likewise.
27682 * math/w_logl.c: Likewise.
27683 * math/w_sqrt.c: Likewise.
27684 * math/w_sqrtf.c: Likewise.
27685 * math/w_sqrtl.c: Likewise.
27686 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27687 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27689 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27690 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27692 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27695 * manual/string.texi (strnlen): Use correct parameter name in
27696 equivalent expression.
27698 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27701 * manual/users.texi (seteuid): Consistently use neweuid for
27704 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27707 * manual/nss.texi (Services in the NSS configuration): Correct
27708 list of services in example configuration file.
27710 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27713 * manual/arith.texi: Remove statements about negative zero
27714 behaving identically to zero.
27716 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27719 * manual/install.texi: Do not document upgrading from libc5.
27721 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27724 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27726 2012-02-18 David S. Miller <davem@davemloft.net>
27728 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27729 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27730 %o7 across the call.
27731 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27734 SETUP_PIC_REG_LEAF.
27735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27736 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27737 * sysdeps/sparc/crtn.S: Likewise.
27739 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27741 * aout/Makefile: Remove.
27743 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27746 * manual/examples/argp-ex1.c (main): Format definition in GNU
27748 * manual/examples/argp-ex2.c (main): Likewise.
27749 * manual/examples/argp-ex3.c (main): Likewise.
27750 * manual/examples/argp-ex4.c (main): Likewise.
27751 * manual/examples/longopt.c (main): Use new-style prototype
27753 * manual/examples/strncat.c (main): Specify return type and use
27754 (void) for arguments.
27755 * manual/examples/subopt.c (main): Use char **argv argument.
27757 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27760 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27763 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27766 * manual/string.texi (strchr): Change when strchrnul is
27769 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27772 * manual/locale.texi (setlocale): Document LOCPATH.
27774 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27777 * manual/process.texi (execle): Move @dots{} before last argument.
27779 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27782 * manual/charset.texi (Generic Charset Conversion): Fix typo
27783 (LC_TYPE -> LC_CTYPE).
27785 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27788 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27789 (scalbnf): Likewise.
27790 (scalbnl): Likewise.
27791 (scalbln): Likewise.
27792 (scalblnf): Likewise.
27793 (scalblnl): Likewise.
27794 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27795 (vwarnx): Likewise.
27798 * manual/filesys.texi (telldir): Use braces around return type.
27799 * manual/llio.texi (mmap): Add space after comma.
27800 (mmap64): Likewise.
27801 * manual/math.texi (jn): Use @var{} on parameter names.
27807 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27809 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27811 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27812 (sched_get_priority_max): Likewise.
27813 * manual/signal.texi (sigvec): Add space after comma.
27814 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27816 (if_indextoname): Likewise.
27817 (if_freenameindex): Likewise.
27818 (sendto): Use ',' instead of '.' in prototype.
27819 * manual/startup.texi (syscall): Use @dots{} instead of literal
27821 * manual/stdio.texi (__fpending): Separate initial words of
27822 paragraph from @deftypefun line.
27823 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27825 (vsyslog): Use @var{} on parameter names.
27826 * manual/terminal.texi (stty): Use @var{} on parameter names.
27827 * manual/users.texi (getutmp): Use @var{} on parameter names.
27828 (getutmpx): Likewise.
27830 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27833 * manual/stdio.texi (fopen): Fix typos in description of
27836 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27839 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27840 get clock_id definition.
27842 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27845 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27846 (madvise): Cast every argument to void on its own.
27848 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27851 * manual/startup.texi (Exit Status): Fix typo.
27853 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27856 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27857 * manual/examples/argp-ex2.c: Likewise.
27858 * manual/examples/argp-ex3.c: Likewise.
27860 2012-02-16 Richard Henderson <rth@redhat.com>
27862 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27863 * sysdeps/s390/s390-32/initfini.c: Remove.
27864 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27865 * sysdeps/s390/s390-64/initfini.c: Remove.
27867 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27869 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27870 compiler output for sysdeps/generic/initfini.c.
27871 * sysdeps/sh/elf/initfini.c: Remove file.
27873 2012-02-16 David S. Miller <davem@davemloft.net>
27876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27878 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27879 * sysdeps/sparc/crti.S: New file.
27880 * sysdeps/sparc/crtn.S: New file.
27881 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27882 * sysdeps/sparc/sparc64/Makefile: Likewise.
27884 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27887 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27889 2012-02-15 Roland McGrath <roland@hack.frob.com>
27892 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27894 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27895 (write, read, close): Likewise.
27896 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27898 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27900 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27901 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27902 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27903 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27905 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27909 2012-02-14 Marek Polacek <polacek@redhat.com>
27911 * sysdeps/x86_64/crti.S: New file.
27912 * sysdeps/x86_64/crtn.S: New file.
27913 * sysdeps/x86_64/elf/initfini.c: Remove file.
27915 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27917 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27918 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27919 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27920 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27922 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27926 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27928 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27929 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27930 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27931 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27933 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27937 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27939 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27940 __feraiseexcept instead of feraiseexcept.
27942 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27943 nanosleep invocations.
27944 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27945 strings, and add error checking for a nanosleep invocations.
27947 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27949 Replace FSF snail mail address with URLs, as per GNU coding standards.
27950 Most of the snail mail addresses were wrong anyway, and omitting
27951 them makes the source code easier to maintain. Almost all of the
27952 changes are to license notices and to locale LC_IDENTIFICATION
27953 addresses, except for this one:
27954 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27955 not its snail mail address.
27957 2012-02-09 Richard Henderson <rth@twiddle.net>
27959 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27960 of kernel-features.h.
27962 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27964 2012-02-08 Marek Polacek <polacek@redhat.com>
27966 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27967 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27968 * sysdeps/gnu/_G_config.h: Likewise.
27969 * sysdeps/generic/_G_config.h: Likewise.
27971 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27973 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27977 * sysdeps/powerpc/powerpc32/crti.S: New file.
27978 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27979 * sysdeps/powerpc/powerpc64/crti.S: New file.
27980 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27982 * Makeconfig (have-initfini): Don't set.
27983 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27984 * configure.in (nopic_initfini): Don't substitute.
27985 * config.h.in (HAVE_INITFINI): Don't #undef.
27986 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27987 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27989 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27991 Support crti.S and crtn.S provided directly by architectures.
27992 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27993 [crti.S in sysdirs] (omit-deps): Likewise.
27994 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27995 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27996 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27997 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27998 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27999 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28000 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28001 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28002 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28003 compiler output for sysdeps/generic/initfini.c.
28004 * sysdeps/i386/elf/Makefile: Remove file.
28005 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28007 2012-02-07 Marek Polacek <polacek@redhat.com>
28009 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28010 * sysdeps/gnu/_G_config.h: Likewise.
28011 * sysdeps/mach/hurd/_G_config.h: Likewise.
28013 2012-02-07 Marek Polacek <polacek@redhat.com>
28015 * math/Makefile (tests): Add tst-CMPLX2.
28016 * math/tst-CMPLX2.c: New file.
28018 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28020 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28022 * math/libm-test.inc (jn_test): Add missing L suffix.
28024 2012-02-06 Marek Polacek <polacek@redhat.com>
28026 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28027 * sysdeps/i386/fpu/e_powf.S: Likewise.
28028 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28029 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28030 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28031 * sysdeps/i386/fpu/e_pow.S: Likewise.
28032 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28033 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28034 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28035 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28036 * sysdeps/i386/fpu/e_log2.S: Likewise.
28037 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28038 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28039 * sysdeps/i386/fpu/e_powl.S: Likewise.
28040 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28041 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28042 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28043 * sysdeps/i386/fpu/e_logl.S: Likewise.
28044 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28045 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28046 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28047 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28048 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28049 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28050 * sysdeps/i386/fpu/e_log.S: Likewise.
28051 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28053 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28054 * sysdeps/i386/fpu/e_logf.S: Likewise.
28055 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28056 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28057 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28058 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28059 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28060 * sysdeps/i386/fpu/e_log10.S: Likewise.
28061 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28062 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28063 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28064 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28065 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28066 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28067 * sysdeps/i386/asm-syntax.h: Likewise.
28068 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28069 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28070 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28071 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28072 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28073 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28074 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28075 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28076 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28077 * sysdeps/powerpc/sysdep.h: Likewise.
28078 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28079 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28081 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28084 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28086 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28088 * sysdeps/i386/sysdep.h: Include <features.h>.
28089 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28092 2012-02-05 Joseph Myers <joseph@codesourcery.com>
28094 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28096 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28099 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28101 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28102 (SETUP_PIC_REG): Use GET_PC_THUNK.
28103 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28106 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28108 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28109 for non-PIC compilation.
28110 (SETUP_PIC_REG): Add .p2align directive.
28111 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28112 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28114 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28115 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28116 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28117 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28119 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28120 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28121 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28122 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28123 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28124 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28125 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28126 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28127 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28128 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28129 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28130 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28132 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28133 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28134 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28135 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28139 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28140 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28141 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28142 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28143 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28144 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28145 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28146 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28147 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28148 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28149 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28150 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28151 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28153 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28155 * math/tst-CMPLX.c: Include <stdio.h>.
28157 2012-01-31 Joseph Myers <joseph@codesourcery.com>
28159 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28161 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28162 * sysdeps/sparc/bits/mathdef.h: Likewise.
28164 2012-01-31 Marek Polacek <polacek@redhat.com>
28166 * libio/libio.h: Don't define _PARAMS.
28167 * locale/programs/config.h: Don't define PARAMS.
28168 * stdlib/strtol_l.c: Likewise.
28169 (__strtol_l): Remove PARAMS from the prototype.
28171 2012-01-31 Ulrich Drepper <drepper@gmail.com>
28173 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28174 names. Just use the correct names. Remove unnecessary wrapper
28176 * malloc/arena.c: Likewise.
28177 * malloc/hooks.c: Likewise.
28179 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28180 ARENA_TEST says not to. Simplify test for creation of a new arena.
28181 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28183 2012-01-30 Ulrich Drepper <drepper@gmail.com>
28185 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28187 (update_get_addr): New function.
28188 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28189 GET_ADDR_MODULE parameter.
28191 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28193 * crypt/cert.c: Remove __STDC__ conditionals.
28194 * crypt/crypt-entry.c: Likewise.
28195 * crypt/crypt_util.c: Likewise.
28196 * libio/filedoalloc.c: Likewise.
28197 * libio/fileops.c: Likewise.
28198 * libio/genops.c: Likewise.
28199 * libio/iofclose.c: Likewise.
28200 * libio/iofdopen.c: Likewise.
28201 * libio/iofopen.c: Likewise.
28202 * libio/iofopen64.c: Likewise.
28203 * libio/iogetdelim.c: Likewise.
28204 * libio/iopopen.c: Likewise.
28205 * libio/obprintf.c: Likewise.
28206 * libio/oldfileops.c: Likewise.
28207 * libio/oldiofclose.c: Likewise.
28208 * libio/oldiofdopen.c: Likewise.
28209 * libio/oldiofopen.c: Likewise.
28210 * libio/oldiopopen.c: Likewise.
28211 * libio/wfiledoalloc.c: Likewise.
28212 * libio/wgenops.c: Likewise.
28213 * locale/programs/xmalloc.c: Likewise.
28214 * misc/syslog.c: Likewise.
28215 * stdio-common/xbug.c: Likewise.
28216 * string/memchr.c: Likewise.
28217 * string/memcmp.c: Likewise.
28218 * string/memrchr.c: Likewise.
28219 * string/rawmemchr.c: Likewise.
28220 * sysdeps/posix/getcwd.c: Likewise.
28221 * time/strftime_l.c: Likewise.
28223 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28225 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28226 * config.make.in (config-cflags-sse2avx): Define.
28227 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28230 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28232 * scripts/config.guess: Update from upstream config git repository.
28233 * scripts/config.sub: Likewise.
28235 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28237 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28239 (R_TILEPRO_*, R_TILEGX_*): New macros.
28241 * scripts/firstversions.awk: Fix bug in version range handling.
28243 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28245 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28247 * include/sys/epoll.h: New file.
28248 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28251 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28253 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28254 Avoid unnecessary __WORDSIZE == 64 test.
28255 (fmaxf): Use VEX format if possible.
28260 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28261 * math/math_private.h: Remove libc_fegetround* and
28263 * sysdeps/i386/configure.in: Check for -msse2avx.
28264 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28265 also if SSE2AVX is defined.
28266 Remove libc_fegetround* and libc_fesetround*.
28267 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28268 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28277 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28279 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28281 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28283 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28285 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28288 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28290 * Makeconfig (libm): Define.
28291 * elf/Makefile: Add rules to build and run tst-relsort1.
28292 * elf/tst-relsort1.c: New file.
28293 * elf/tst-relsort1mod1.c: New file.
28294 * elf/tst-relsort1mod2.c: New file.
28296 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28298 * math/s_ldexp.c: Remove __STDC__ conditionals.
28299 * math/s_ldexpf.c: Likewise.
28300 * math/s_ldexpl.c: Likewise.
28301 * math/s_nextafter.c: Likewise.
28302 * math/s_nexttowardf.c: Likewise.
28303 * math/s_significand.c: Likewise.
28304 * math/s_significandf.c: Likewise.
28305 * math/s_significandl.c: Likewise.
28306 * math/w_jnl.c: Likewise.
28307 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28308 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28309 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28310 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28311 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28312 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28313 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28314 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28316 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28317 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28318 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28319 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28321 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28322 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28323 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28324 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28326 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28327 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28328 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28329 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28330 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28331 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28332 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28333 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28334 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28335 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28336 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28337 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28338 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28339 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28340 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28341 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28342 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28343 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28344 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28345 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28346 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28347 * sysdeps/ieee754/k_standard.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28358 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28362 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28364 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28366 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28367 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28380 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28382 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28386 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28389 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28390 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28391 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28392 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28393 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28395 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28396 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28397 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28398 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28400 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28401 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28403 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28408 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28409 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28410 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28413 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28414 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28415 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28416 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28417 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28418 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28419 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28420 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28422 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28423 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28427 * sysdeps/ieee754/s_matherr.c: Likewise.
28428 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28433 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28435 * crypt/md5.h: Remove __STDC__ conditionals.
28436 * libio/libioP.h: Likewise.
28437 * locale/programs/config.h: Likewise.
28438 * sysdeps/generic/sysdep.h: Likewise.
28439 * sysdeps/i386/asm-syntax.h: Likewise.
28440 * sysdeps/s390/asm-syntax.h: Likewise.
28441 * sysdeps/unix/sysdep.h: Likewise.
28442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28445 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28447 * libio/libio.h: Remove __STDC__ conditionals.
28448 * malloc/obstack.h: Likewise.
28449 * math/complex.h: Likewise.
28450 * math/math.h: Likewise.
28451 * sysdeps/generic/_G_config.h: Likewise.
28452 * sysdeps/gnu/_G_config.h: Likewise.
28453 * sysdeps/mach/hurd/_G_config.h: Likewise.
28454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28455 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28456 * sysdeps/sparc/bits/mathdef.h: Likewise.
28458 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28461 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28462 Clean up HAS_* macros.
28463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28464 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28466 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28474 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28476 * elf/tst-unique3.cc (gets): Remove declaration.
28477 * elf/tst-unique3lib.cc (gets): Likewise.
28478 * elf/tst-unique3lib2.cc (gets): Likewise.
28479 * elf/tst-unique4.cc (gets): Likewise.
28481 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28483 * include/stdio.h: Add C++ protection. Add gets declarations and
28485 * debug/tst-chk1.c: Don't declare gets here.
28486 * stdio-common/tst-gets.c: Likewise.
28488 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28490 * posix/glob: Remove directory.
28492 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28494 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28496 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28498 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28499 of the non-standard EPFNOSUPPORT.
28501 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28503 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28504 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28505 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28507 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28509 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28511 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28513 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28515 * nscd/grpcache.c (cache_addgr): Likewise.
28516 * nscd/hstcache.c (cache_addhst): Likewise.
28517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28518 * nscd/pwdcache.c (cache_addpw): Likewise.
28519 * nscd/servicescache.c (cache_addserv): Likewise.
28521 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28523 * malloc/malloc.c: Various cleanups.
28524 * malloc/hooks.c: Likewise.
28526 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28527 * stdlib/bug-fmtmsg1.c: New file.
28529 * stdlib/fmtmsg.c (init): Add missing unlock.
28530 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28532 2012-01-12 Marek Polacek <polacek@redhat.com>
28534 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28537 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28539 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28540 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28541 macro to ensure uniqueness of label name.
28542 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28543 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28545 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28547 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28549 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28550 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28554 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28556 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28558 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28559 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28560 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28562 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28564 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28565 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28566 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28569 * math/bits/math-finite.h: Add ldexp support.
28571 2012-01-10 Marek Polacek <polacek@redhat.com>
28573 * locale/programs/localedef.h (show_archive_content): Add noreturn
28576 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28578 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28580 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28582 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28584 * io/Makefile (headers): Add bits/poll2.h.
28586 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28589 typo #include statement.
28591 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28593 * include/sys/cdefs.h: Define __attribute_alloc_size.
28594 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28595 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28596 * elf/pldd.c: Likewise.
28597 * iconv/iconv_charmap.c: Likewise.
28598 * iconv/iconvconfig.c: Likewise.
28599 * iconv/strtab.c: Likewise.
28600 * locale/programs/locale.c: Likewise.
28601 * locale/programs/localedef.h: Likewise.
28602 * locale/programs/simple-hash.c: Likewise.
28603 * nscd/nscd.h: Likewise.
28604 * nss/makedb.c: Likewise.
28605 * sysdeps/generic/ldconfig.h: Likewise.
28606 * locale/programs/localedef.c: Remove xmalloc prototype.
28607 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28609 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28611 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28614 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28616 * math/Makefile (tests): Add tst-CMPLX.
28617 * math/tst-CMPLX.c: New file.
28619 * math/complex.h (CMPLXL): Fix typo.
28621 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28622 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28624 * debug/tst-chk1.c: Add poll and ppoll tests.
28625 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28626 * include/sys/poll.h: Add hidden proto for ppoll.
28627 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28628 * sysdeps/mach/hurd/ppoll.c: Likewise.
28629 * io/ppoll.c: Likewise.
28630 * debug/poll_chk.c: New file.
28631 * debug/ppoll_chk.c: New file.
28632 * include/bits/poll2.h: New file.
28633 * io/bits/poll2.h: New file.
28636 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28638 * configure.in: static is always set to yes. Remove.
28639 * config.make.in: Don't set build-static.
28640 * Makeconfig: Remove use of build-static.
28641 * dlfcn/Makefile: Likewise.
28642 * elf/Makefile: Likewise.
28643 * math/Makefile: Likewise.
28644 * misc/Makefile: Likewise.
28645 * nptl/Makefile: Likewise.
28646 * sysdeps/mach/hurd/Makefile: Likewise.
28648 * configure.in: PWD_P is not used anymore.
28649 * config.make.in: Remove PWD_P entry.
28651 * configure.in: Remove last remnants of RANLIB.
28652 No need to check for signed size_t anymore.
28653 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28655 Remove __builtin_expect test because we require at least gcc 3.4.
28656 * aclocal.m4: Likewise.
28658 * wcsmbs/mbrtoc16.c: Implement using towc function.
28659 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28660 * wcsmbs/wcsmbsload.c: Likewise.
28661 * iconv/gconv_simple.c: Likewise.
28662 * iconv/gconv_int.h: Likewise.
28663 * iconv/gconv_builtin.h: Likewise.
28664 * iconv/iconv_prog.c: Remove CHAR16 handling.
28666 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28668 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28670 * configure.in: Remove --with-elf and --enable-bounded options.
28671 Dont set base_machine for ia64. More non-ELF conditions removed.
28672 Remove testing and setting of leading underscore information.
28673 * config.make.in (build-bounded): Set to no.
28674 * config.h.in: Remove NO_UNDERSCORES entry.
28675 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28677 * csu/start.c: Remove !NO_UNDERSCORE code.
28678 * locale/localeinfo.h: Likewise.
28679 * sysdeps/generic/machine-gmon.h: Likewise.
28680 * sysdeps/generic/sysdep.h: Likewise.
28681 * sysdeps/i386/sysdep.h: Likewise.
28682 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28683 * sysdeps/mach/sysdep.h: Likewise.
28684 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28685 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28686 * sysdeps/sh/sysdep.h: Likewise.
28687 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28688 * sysdeps/unix/i386/sysdep.S: Likewise.
28689 * sysdeps/unix/sparc/start.c: Likewise.
28690 * sysdeps/unix/sparc/sysdep.S: Likewise.
28691 * sysdeps/unix/sparc/sysdep.h: Likewise.
28692 * sysdeps/unix/start.c: Likewise.
28693 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28694 * sysdeps/x86_64/sysdep.h: Likewise.
28696 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28699 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28701 * argp/argp-fmtstream.h: Use const instead __const.
28702 * argp/argp.h: Likewise.
28703 * assert/assert.h: Likewise.
28704 * bits/fenv.h: Likewise.
28705 * bits/sched.h: Likewise.
28706 * bits/sigset.h: Likewise.
28707 * bits/sigthread.h: Likewise.
28708 * catgets/nl_types.h: Likewise.
28709 * conform/data/pthread.h-data: Likewise.
28710 * crypt/crypt-private.h: Likewise.
28711 * crypt/crypt.h: Likewise.
28712 * crypt/crypt_util.c: Likewise.
28713 * ctype/ctype.h: Likewise.
28714 * debug/execinfo.h: Likewise.
28715 * debug/mbsnrtowcs_chk.c: Likewise.
28716 * debug/mbsrtowcs_chk.c: Likewise.
28717 * debug/wcsnrtombs_chk.c: Likewise.
28718 * debug/wcsrtombs_chk.c: Likewise.
28719 * debug/wcstombs_chk.c: Likewise.
28720 * dirent/dirent.h: Likewise.
28721 * dlfcn/dlfcn.h: Likewise.
28722 * elf/neededtest4.c: Likewise.
28723 * grp/grp.h: Likewise.
28724 * gshadow/gshadow.h: Likewise.
28725 * iconv/gconv.h: Likewise.
28726 * iconv/gconv_int.h: Likewise.
28727 * iconv/gconv_simple.c: Likewise.
28728 * iconv/iconv.h: Likewise.
28729 * iconv/loop.c: Likewise.
28730 * iconv/skeleton.c: Likewise.
28731 * include/aio.h: Likewise.
28732 * include/aliases.h: Likewise.
28733 * include/argz.h: Likewise.
28734 * include/arpa/inet.h: Likewise.
28735 * include/assert.h: Likewise.
28736 * include/dirent.h: Likewise.
28737 * include/dlfcn.h: Likewise.
28738 * include/execinfo.h: Likewise.
28739 * include/fcntl.h: Likewise.
28740 * include/fenv.h: Likewise.
28741 * include/glob.h: Likewise.
28742 * include/grp.h: Likewise.
28743 * include/libintl.h: Likewise.
28744 * include/mntent.h: Likewise.
28745 * include/netdb.h: Likewise.
28746 * include/pwd.h: Likewise.
28747 * include/rpc/netdb.h: Likewise.
28748 * include/sched.h: Likewise.
28749 * include/search.h: Likewise.
28750 * include/shadow.h: Likewise.
28751 * include/signal.h: Likewise.
28752 * include/stdio.h: Likewise.
28753 * include/stdlib.h: Likewise.
28754 * include/string.h: Likewise.
28755 * include/sys/socket.h: Likewise.
28756 * include/sys/stat.h: Likewise.
28757 * include/sys/statfs.h: Likewise.
28758 * include/sys/statvfs.h: Likewise.
28759 * include/sys/syslog.h: Likewise.
28760 * include/sys/time.h: Likewise.
28761 * include/sys/uio.h: Likewise.
28762 * include/time.h: Likewise.
28763 * include/unistd.h: Likewise.
28764 * include/utmp.h: Likewise.
28765 * include/wchar.h: Likewise.
28766 * include/wctype.h: Likewise.
28767 * inet/aliases.h: Likewise.
28768 * inet/arpa/inet.h: Likewise.
28769 * inet/netinet/ether.h: Likewise.
28770 * inet/netinet/in.h: Likewise.
28771 * intl/libintl.h: Likewise.
28772 * io/bits/fcntl2.h: Likewise.
28773 * io/fcntl.h: Likewise.
28774 * io/ftw.h: Likewise.
28775 * io/sys/poll.h: Likewise.
28776 * io/sys/stat.h: Likewise.
28777 * io/sys/statfs.h: Likewise.
28778 * io/sys/statvfs.h: Likewise.
28779 * io/utime.h: Likewise.
28780 * libio/bits/stdio.h: Likewise.
28781 * libio/bits/stdio2.h: Likewise.
28782 * libio/libio.h: Likewise.
28783 * libio/libioP.h: Likewise.
28784 * libio/stdio.h: Likewise.
28785 * locale/lc-ctype.c: Likewise.
28786 * locale/locale.h: Likewise.
28787 * login/utmp.h: Likewise.
28788 * malloc/arena.c: Likewise.
28789 * malloc/malloc.c: Likewise.
28790 * malloc/malloc.h: Likewise.
28791 * malloc/mcheck.c: Likewise.
28792 * malloc/mtrace.c: Likewise.
28793 * math/bits/mathcalls.h: Likewise.
28794 * math/fenv.h: Likewise.
28795 * math/math_private.h: Likewise.
28796 * misc/bits/error.h: Likewise.
28797 * misc/bits/syslog.h: Likewise.
28798 * misc/err.h: Likewise.
28799 * misc/error.h: Likewise.
28800 * misc/fstab.h: Likewise.
28801 * misc/mntent.h: Likewise.
28802 * misc/regexp.h: Likewise.
28803 * misc/search.h: Likewise.
28804 * misc/sgtty.h: Likewise.
28805 * misc/sys/mman.h: Likewise.
28806 * misc/sys/syslog.h: Likewise.
28807 * misc/sys/uio.h: Likewise.
28808 * misc/sys/xattr.h: Likewise.
28809 * misc/ttyent.h: Likewise.
28810 * nis/rpcsvc/ypclnt.h: Likewise.
28811 * nss/nss.h: Likewise.
28812 * posix/bits/unistd.h: Likewise.
28813 * posix/fnmatch.h: Likewise.
28814 * posix/glob.h: Likewise.
28815 * posix/sched.h: Likewise.
28816 * posix/spawn.h: Likewise.
28817 * posix/sys/wait.h: Likewise.
28818 * posix/unistd.h: Likewise.
28819 * posix/wordexp.h: Likewise.
28820 * pwd/pwd.h: Likewise.
28821 * resolv/netdb.h: Likewise.
28822 * resource/sys/resource.h: Likewise.
28823 * rt/aio.h: Likewise.
28824 * rt/bits/mqueue2.h: Likewise.
28825 * rt/mqueue.h: Likewise.
28826 * shadow/shadow.h: Likewise.
28827 * signal/signal.h: Likewise.
28828 * socket/send.c: Likewise.
28829 * socket/sendto.c: Likewise.
28830 * socket/sys/socket.h: Likewise.
28831 * stdio-common/printf.h: Likewise.
28832 * stdlib/bits/stdlib.h: Likewise.
28833 * stdlib/fmtmsg.h: Likewise.
28834 * stdlib/monetary.h: Likewise.
28835 * stdlib/stdlib.h: Likewise.
28836 * stdlib/ucontext.h: Likewise.
28837 * streams/stropts.h: Likewise.
28838 * string/argz.h: Likewise.
28839 * string/bits/string2.h: Likewise.
28840 * string/string.h: Likewise.
28841 * string/strings.h: Likewise.
28842 * sunrpc/rpc/auth.h: Likewise.
28843 * sunrpc/rpc/auth_des.h: Likewise.
28844 * sunrpc/rpc/clnt.h: Likewise.
28845 * sunrpc/rpc/netdb.h: Likewise.
28846 * sunrpc/rpc/pmap_clnt.h: Likewise.
28847 * sunrpc/rpc/xdr.h: Likewise.
28848 * sysdeps/generic/inttypes.h: Likewise.
28849 * sysdeps/generic/net/if.h: Likewise.
28850 * sysdeps/generic/sys/swap.h: Likewise.
28851 * sysdeps/gnu/net/if.h: Likewise.
28852 * sysdeps/gnu/utmpx.h: Likewise.
28853 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28854 * sysdeps/i386/i486/bits/string.h: Likewise.
28855 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28856 * sysdeps/s390/bits/string.h: Likewise.
28857 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28858 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28859 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28860 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28861 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28862 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28863 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28864 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28865 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28866 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28867 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28868 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28869 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28870 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28871 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28872 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28873 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28875 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28877 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28878 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28879 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28880 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28881 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28882 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28883 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28885 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28886 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28887 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28888 * sysvipc/sys/ipc.h: Likewise.
28889 * sysvipc/sys/msg.h: Likewise.
28890 * sysvipc/sys/sem.h: Likewise.
28891 * sysvipc/sys/shm.h: Likewise.
28892 * termios/termios.h: Likewise.
28893 * time/sys/time.h: Likewise.
28894 * time/time.h: Likewise.
28895 * wcsmbs/bits/wchar2.h: Likewise.
28896 * wcsmbs/uchar.h: Likewise.
28897 * wcsmbs/wchar.h: Likewise.
28898 * wctype/wctype.h: Likewise.
28901 * Makeconfig: Remove all but ELF support including AIX support.
28902 * Makerules: Likewise.
28903 * config.h.in: Likewise.
28904 * config.make.in: Likewise.
28905 * configure: Likewise.
28906 * configure.in: Likewise.
28907 * csu/Makefile: Likewise.
28908 * csu/version.c: Likewise.
28909 * debug/Makefile: Likewise.
28910 * dlfcn/Makefile: Likewise.
28911 * elf/Makefile: Likewise.
28912 * extra-lib.mk: Likewise.
28913 * iconv/Makefile: Likewise.
28914 * include/libc-symbols.h: Likewise.
28915 * include/shlib-compat.h: Likewise.
28916 * resolv/Makefile: Likewise.
28917 * resolv/res_libc.c: Likewise.
28918 * rt/Makefile: Likewise.
28919 * sysdeps/i386/asm-syntax.h: Likewise.
28920 * sysdeps/i386/sysdep.h: Likewise.
28921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28922 * sysdeps/mach/sysdep.h: Likewise.
28923 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28924 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28925 * sysdeps/s390/asm-syntax.h: Likewise.
28926 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28927 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28928 * sysdeps/sh/sysdep.h: Likewise.
28929 * sysdeps/unix/sparc/sysdep.h: Likewise.
28930 * sysdeps/wordsize-32/divdi3.c: Likewise.
28931 * sysdeps/x86_64/sysdep.h: Likewise.
28933 * argp/Versions: Remove _argp_unlock_xxx.
28936 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28937 * abilist/libBrokenLocale.abilist: Likewise.
28938 * abilist/libanl.abilist: Likewise.
28939 * abilist/libc.abilist: Likewise.
28940 * abilist/libcrypt.abilist: Likewise.
28941 * abilist/libdl.abilist: Likewise.
28942 * abilist/libm.abilist: Likewise.
28943 * abilist/libnsl.abilist: Likewise.
28944 * abilist/libpthread.abilist: Likewise.
28945 * abilist/libresolv.abilist: Likewise.
28946 * abilist/librt.abilist: Likewise.
28947 * abilist/libthread_db.abilist: Likewise.
28948 * abilist/libutil.abilist: Likewise.
28949 * abilist/libnss_db.abilist: New file.
28951 * scripts/abilist.awk: Add support for indirect functions.
28953 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28955 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28957 * shlib-versions: Remove entries for ports architectures.
28959 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28961 * elf/stackguard-macros.h: Remove support for IA-64.
28962 * elf/tst-auditmod1.c: Likewise.
28963 * sysdeps/generic/ldsodefs.h: Likewise.
28965 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28966 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28970 * configure.in: Remove --enable-omitfp support.
28972 * config.make.in: Likewise.
28973 * Makeconfig: Likewise.
28974 * manual/install.texi: Likewise.
28976 In case anyone cares, the IA-64 architecture could move to ports.
28977 * sysdeps/ia64/*: Removed.
28978 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28979 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28982 * configure.in: Remove entries for unsupported architectures.
28985 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28986 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28988 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28989 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28990 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28991 fall back to using wcrtomb.
28992 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28993 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28995 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28996 * wcsmbs/tst-c16c32-1.c: New file.
28998 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29001 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29003 * elf/tst-unique3.cc: Add explicit declaration of gets.
29004 * elf/tst-unique3lib.cc: Likewise.
29005 * elf/tst-unique3lib2.cc: Likewise.
29006 * elf/tst-unique4.cc: Likewise.
29008 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29010 2012-01-06 Joseph Myers <joseph@codesourcery.com>
29013 * assert/assert.h (static_assert): Don't define for C++.
29014 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29015 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29017 2012-01-03 Ulrich Drepper <drepper@gmail.com>
29019 * iconv/loop.c (single loop): Fix assertion in storing of
29022 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29024 2012-01-01 Ulrich Drepper <drepper@gmail.com>
29026 * posix/getconf.c: Update copyright year.
29027 * nss/getent.c: Likewise.
29028 * nss/makedb.c: Likewise.
29029 * iconv/iconvconfig.c: Likewise.
29030 * iconv/iconv_prog.c: Likewise.
29031 * elf/ldconfig.c: Likewise.
29032 * elf/pldd.c: Likewise.
29033 * elf/sotruss.ksh: Likewise.
29034 * catgets/gencat.c: Likewise.
29035 * csu/version.c: Likewise.
29036 * elf/ldd.bash.in: Likewise.
29037 * elf/sprof.c (print_version): Likewise.
29038 * locale/programs/locale.c: Likewise.
29039 * locale/programs/localedef.c: Likewise.
29040 * login/programs/pt_chown.c: Likewise.
29041 * nscd/nscd.c (print_version): Likewise.
29042 * debug/xtrace.sh: Likewise.
29043 * malloc/memusage.sh: Likewise.
29044 * malloc/mtrace.pl: Likewise.
29045 * debug/catchsegv.sh: Likewise.
29047 2011-12-30 Jakub Jelinek <jakub@redhat.com>
29049 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29052 2011-12-24 Ulrich Drepper <drepper@gmail.com>
29055 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29056 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29058 * iconv/gconv_int.h: Likewise.
29059 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29060 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29061 from libc for GLIBC_2.16.
29062 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29063 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29064 * wcsmbs/uchar.h: Really define mbstate_t.
29065 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29066 * wcsmbs/c16rtomb.c: New file.
29067 * wcsmbs/mbrtoc16.c: New file.
29068 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29069 for C/POSIX locale.
29070 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29071 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29073 * wcsmbs/wchar.h: Add missing __restrict.
29075 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29078 * time/Makefile (routines): Add timespec_get.
29079 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29080 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29081 timespec for ISO C11.
29082 * time/timespec_get.c: New file.
29083 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29084 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29087 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29088 * stdlib/stdlib.h: Declare aligned_alloc.
29089 * Versions.def: Add GLIBC_2.16 for libc.
29090 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29093 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29096 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29100 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29103 * assert/assert.h (static_assert): Define.
29105 * version.h: Update for 2.16 development version.
29108 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29111 * version.h (RELEASE): Bump for 2.15 release.
29112 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29114 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29115 Patch by Marek Polacek <mpolacek@redhat.com>.
29117 * bits/byteswap.h: Protect long long constants with __extension__.
29118 * sysdeps/i386/bits/byteswap.h: Likewise.
29119 * sysdeps/ia64/bits/byteswap.h: Likewise.
29120 * sysdeps/s390/bits/byteswap.h: Likewise.
29121 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29123 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29126 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29127 destination buffer.
29128 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29130 2011-12-23 Marek Polacek <polacek@redhat.com>
29132 * elf/dl-addr.c (determine_info): Add inline keyword.
29133 * elf/tst-auditmod4b.c (check_avx): Likewise.
29134 * elf/tst-auditmod6b.c (check_avx): Likewise.
29135 * elf/tst-auditmod6c.c (check_avx): Likewise.
29136 * elf/tst-auditmod7b.c (check_avx): Likewise.
29138 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29140 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29143 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29146 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29147 processing for last bytes.
29149 2011-08-06 Bruno Haible <bruno@clisp.org>
29152 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29153 U+0385, not to U+1FEE.
29156 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29157 entry for U+00A5 U+0301.
29159 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29162 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29163 buffer for the output is too small.
29165 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29169 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29170 SSE flags if possible.
29172 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29175 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29176 processing for last bytes.
29178 2011-12-22 Joseph Myers <joseph@codesourcery.com>
29180 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29181 (syscall-list-default-options, syscall-list-default-condition)
29182 (syscall-list-includes): Define.
29183 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29184 list of ABIs and options and #if conditions for each ABI. Do not
29185 handle common syscalls between ABIs specially.
29186 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29188 (syscall-list-variants, syscall-list-32bit-options)
29189 (syscall-list-32bit-condition, syscall-list-64bit-options)
29190 (syscall-list-64bit-condition): Define.
29191 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29192 (syscall-list-variants, syscall-list-32bit-options)
29193 (syscall-list-32bit-condition, syscall-list-64bit-options)
29194 (syscall-list-64bit-condition): Define.
29195 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29197 (syscall-list-variants, syscall-list-32bit-options)
29198 (syscall-list-32bit-condition, syscall-list-64bit-options)
29199 (syscall-list-64bit-condition): Define.
29200 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29202 (syscall-list-variants, syscall-list-32bit-options)
29203 (syscall-list-32bit-condition, syscall-list-64bit-options)
29204 (syscall-list-64bit-condition): Define.
29206 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29208 * locale/iso-639.def: Add brx entry.
29211 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29212 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29214 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29215 __feraiseexcept_renamed.
29217 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29220 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29221 EPOLLET with unsigned values.
29222 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29223 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29225 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29226 to large cancellation.
29227 * math/s_cacoshf.c: Likewise.
29228 * math/s_cacoshl.c: Likewise.
29230 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29234 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29235 * math/s_cacoshf.c: Likewise.
29236 * math/s_cacoshl.c: Likewise.
29238 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29241 * iconv/gconv.h: Define __GCONV_SWAP.
29242 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29243 * iconvdata/utf-16.c: Likewise.
29244 * iconvdata/utf-32.c: Likewise.
29246 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29250 numerator after shifting it by one limb.
29252 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29255 under [__USE_EXTERN_INLINES].
29257 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29260 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29262 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29264 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29265 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29267 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29268 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29269 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29270 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29271 for strncasecmp/strncasecmp_l compilation.
29272 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29273 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29275 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29278 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29281 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29284 * time/tzfile.c (__tzfile_read): Check values from file header.
29286 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29288 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29289 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29290 * powerpc/powerpc32/dl-start.S: Likewise.
29291 * powerpc/powerpc32/elf/start.S: Likewise.
29292 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29293 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29294 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29295 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29296 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29297 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29298 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29299 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29300 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29301 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29302 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29303 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29304 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29305 * powerpc/powerpc32/memset.S: Likewise.
29306 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29307 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29308 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29309 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29310 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29311 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29312 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29313 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29314 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29315 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29316 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29317 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29318 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29320 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29322 * math/libm-test.inc: Added more nearbyint tests.
29323 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29328 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29330 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29333 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29335 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29336 Add wcscpy-ssse3 wcscpy-c.
29337 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29338 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29339 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29340 * sysdeps/x86_64/wcschr.S: New file.
29341 * sysdeps/x86_64/wcsrchr.S: New file.
29342 * string/test-strcmp.c: Remove checking of wcscmp function for
29344 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29345 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29346 wcsrchr-sse2 wcsrchr-c.
29347 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29348 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29349 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29350 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29351 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29352 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29353 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29354 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29355 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29356 * wcsmbc/wcschr.c (WCSCHR): New macro.
29358 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29360 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29361 * wcsmbs/test-wcsrchr.c: New file.
29362 * string/test-strrchr.c: Add wcsrchr support.
29364 * wcsmbs/test-wcscpy.c: New file.
29365 * string/test-strcpy.c: Add wcscpy support.
29368 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29373 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29376 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29378 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29381 Minor optimizations.
29383 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29384 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29385 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29387 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29389 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29390 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29391 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29392 for gcc to avoid warnings.
29393 * inet/Makefile (tests): Add tst-checks.
29394 * inet/tst-checks.c: New file.
29396 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29399 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29402 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29403 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29405 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29407 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29409 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29412 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29414 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29416 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29417 conditional on GCC version.
29418 (__arch_compare_and_exchange_val_8_acq)
29419 (__arch_compare_and_exchange_val_16_acq)
29420 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29421 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29422 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29424 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29426 * sysdeps/sh/backtrace.c: New file.
29428 2011-12-02 Andreas Schwab <schwab@redhat.com>
29430 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29433 2011-12-01 Andreas Schwab <schwab@redhat.com>
29435 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29436 falling back to utime.
29438 2011-11-30 Andreas Schwab <schwab@redhat.com>
29440 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29441 expectations for float.
29443 2011-11-29 Andreas Schwab <schwab@redhat.com>
29445 * locale/weight.h (findidx): Add parameter len.
29446 * locale/weightwc.h (findidx): Likewise.
29447 * posix/fnmatch_loop.c (FCT): Adjust caller.
29448 * posix/regcomp.c (build_equiv_class): Likewise.
29449 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29450 * posix/regexec.c (check_node_accept_bytes): Likewise.
29451 * string/strcoll_l.c (STRCOLL): Likewise.
29452 * string/strxfrm_l.c (STRXFRM): Likewise.
29454 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29456 * Makefile.in: Remove CVSOPT handling.
29457 * configure.in: Remove use of AC_REVISION.
29458 * iconvdata/Makefile (distribute): No need to filter out CVS.
29459 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29462 2011-11-16 Andreas Schwab <schwab@redhat.com>
29464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29465 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29466 [USE_AS_STRNCASECMP_L]: Likewise.
29467 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29468 NO_TLS_DIRECT_SEG_REFS.
29469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29470 Fix argument offsets for non-PIC.
29471 [USE_AS_STRNCASECMP_L]: Likewise.
29472 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29473 NO_TLS_DIRECT_SEG_REFS.
29475 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29477 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29479 * locale/loadlocale.c (_nl_load_locale): Likewise.
29481 2011-11-15 Andreas Schwab <schwab@redhat.com>
29483 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29484 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29485 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29486 (SYSCALL_GETTIME): Set errno on error.
29488 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29489 count references to noai6ai_cached.
29491 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29493 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29495 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29496 FD_CLOEXEC for /proc/self/maps.
29498 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29499 FD_CLOEXEC for /proc/meminfo.
29501 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29504 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29505 FD_CLOEXEC for given file.
29507 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29509 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29510 FD_CLOEXEC for /etc/hosts.
29511 (_gethtent): Likewise.
29513 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29515 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29516 cancellation and set FD_CLOEXEC for /etc/netgroup.
29518 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29519 reading /etc/publickey.
29521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29522 allow cancellation when reading /etc/group.
29524 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29526 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29528 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29529 when using data file.
29531 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29533 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29534 (write_nis_obj): Use "c" and "e" in fopen.
29536 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29538 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29540 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29542 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29544 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29547 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29549 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29551 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29553 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29554 file parsing and set FD_CLOEXEC.
29556 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29558 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29560 2011-11-14 Andreas Schwab <schwab@redhat.com>
29562 * malloc/arena.c (arena_get2): Don't call reused_arena when
29563 _int_new_arena failed.
29565 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29567 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29568 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29570 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29571 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29572 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29573 to compile strcasecmp and strncasecmp.
29574 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29575 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29579 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29581 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29582 locale-defines.sym to gen-as-const-headers.
29583 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29584 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29585 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29586 to compile strcasecmp and strncasecmp.
29587 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29588 strcasecmp_l and strncasecmp_l.
29589 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29590 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29591 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29592 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29593 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29594 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29595 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29596 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29597 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29598 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29599 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29601 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29603 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29604 result of SYSDEP_GETTIME_CPU to retval.
29605 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29606 parameter list to macro. Remove trailing semicolon. Adjust users.
29608 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29611 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29613 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29616 from unused variable.
29618 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29620 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29623 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29626 * sunrpc/rpc_prot.c (rejected): Fix case value.
29628 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29629 unsigned long long int to avoid warnings in shift.
29631 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29633 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29637 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29638 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29640 * nis/nis_table.c (nis_list): Use variable of correct type for
29641 result of __follow_path call.
29643 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29645 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29646 of math functions ceil, trunc, floor, round, and sqrt, when
29647 avaliable on the platform.
29648 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29650 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29651 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29652 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29654 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29656 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29657 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29659 2011-11-11 Roland McGrath <roland@hack.frob.com>
29661 * include/unistd.h: Fix __readlink return type.
29662 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29664 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29666 * stdlib/ucontext.h: Undo last change for makecontext.
29668 2011-11-11 Andreas Schwab <schwab@redhat.com>
29670 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29672 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29673 * setjmp/setjmp.h: Mark functions as non-leaf.
29674 * setjmp/bits/setjmp2.h: Likewise.
29675 * stdlib/ucontext.h: Likewise.
29677 2011-11-10 Andreas Schwab <schwab@redhat.com>
29679 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29680 (reused_arena): Don't check arena limit.
29681 (arena_get2): Atomically check arena limit.
29683 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29685 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29686 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29691 2011-11-07 Andreas Schwab <schwab@redhat.com>
29693 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29694 handler when locking.
29696 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29697 Fix size of allocated buffer.
29699 2011-11-04 Andreas Schwab <schwab@redhat.com>
29702 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29703 declarations for long double functions.
29704 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29706 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29708 2011-11-03 Andreas Schwab <schwab@redhat.com>
29710 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29713 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29716 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29718 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29720 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29722 * include/alloca.h (stackinfo_alloca_round): Define.
29723 (extend_alloca): Use it.
29724 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29725 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29728 * scripts/check-local-headers.sh: Ignore libaudit.h.
29730 * nscd/Makefile (extra-objs): Make recursively expanded.
29732 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29734 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29737 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29738 * posix/tst-rfc3484-2.c: Likewise.
29739 * posix/tst-rfc3484-3.c: Likewise.
29741 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29743 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29745 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29746 process_vm_writev from libc using GLIBC_2.15 version.
29748 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29750 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29752 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29755 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29758 * nss/getent.c (initgroups_keys): Show error message in case no group
29761 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29762 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29763 __bump_nl_timestamp.
29764 * nscd/connections (nscd_init): When host database is served open
29765 netlink socket and request notification about configuration changes.
29766 (main_loop_poll): Track netlink file descriptor and bump timestamp
29767 in case data becomes available.
29768 (main_loop_epoll): Likewise.
29769 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29770 (database_pers_head): Add extra_data fileds.
29771 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29772 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29773 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29775 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29776 in6ai data, call __free_in6ai.
29777 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29778 Add -DHAVE_NETLINK.
29779 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29780 interface information. Reuse previous data if netlink timestamp
29782 (__bump_nl_timestamp): New function.
29783 (__free_in6ai): New function.
29785 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29787 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29788 close_not_cancel_no_status here.
29789 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29791 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29794 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29797 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29798 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29799 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29801 2011-07-03 Andreas Jaeger <aj@suse.de>
29804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29805 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29806 * math/libm-test.inc (sin_test): Add test case.
29808 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29811 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29812 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29814 * elf/chroot_canon.c (chroot_canon): Cleanups.
29816 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29819 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29820 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29822 * string/test-strchr.c: Make usable for strchrnul testing.
29823 * string/test-strchrnul.c: New file.
29824 * string/Makefile (strop-tests): Add strchrnul.
29826 * po/it.po: Update from translation team.
29827 * po/es.po: Likewise.
29829 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29832 the three constants needed as parameters. Drop the others.
29833 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29834 __m128i_strloadu_tolower.
29835 Create and initialize variable zero and use it in all the places
29836 where _mm_setzero_si128 was used.
29838 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29839 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29840 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29841 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29843 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29844 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29845 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29846 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29847 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29848 __mpranred, __mptan.
29849 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29850 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29851 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29852 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29853 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29854 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29855 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29856 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29857 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29859 2011-10-28 Andreas Schwab <schwab@redhat.com>
29861 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29862 redefine if SHARED.
29863 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29866 wide char related routines to wcsmbs subdir.
29868 2011-10-27 Andreas Schwab <schwab@redhat.com>
29871 * misc/sys/cdefs.h (__THROWNL): Define.
29872 * posix/unistd.h: Use __THREADNL instead of __THREAD
29873 for memory synchronization functions.
29875 2011-10-26 Roland McGrath <roland@hack.frob.com>
29878 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29880 * manual/stdio.texi (Obstack Streams): Node removed.
29882 2011-10-26 Andreas Schwab <schwab@redhat.com>
29884 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29885 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29886 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29888 * math/math_private.h (math_force_eval): Allow non-addressable
29890 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29892 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29894 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29895 file is not needed.
29897 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29898 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29899 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29900 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29903 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29904 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29906 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29907 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29908 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29909 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29910 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29911 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29912 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29913 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29914 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29915 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29916 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29917 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29919 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29920 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29921 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29922 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29923 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29924 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29926 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29927 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29929 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29930 place. Use VEX encoding when compiling for AVX.
29932 2011-10-25 Andreas Schwab <schwab@redhat.com>
29934 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29935 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29937 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29939 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29941 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29942 useless if() expression.
29943 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29944 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29945 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29946 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29947 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29951 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29954 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29955 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29956 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29957 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29958 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29959 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29960 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29961 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29963 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29965 2011-10-25 Andreas Schwab <schwab@redhat.com>
29967 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29969 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29971 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29973 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29974 .text section. Avoid duplicate constants.
29975 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29976 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29977 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29983 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29984 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29985 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29986 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29987 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29988 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29989 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29990 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29991 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29992 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29995 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29996 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29997 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29998 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29999 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30000 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30001 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30002 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30004 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30005 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30006 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30007 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30008 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30009 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30010 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30011 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30012 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30013 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30014 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30015 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30016 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30017 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30018 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30019 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30021 2011-10-24 Ulrich Drepper <drepper@gmail.com>
30023 * sysdeps/x86_64/dla.h: Move to ...
30024 * sysdeps/x86_64/fpu/dla.h: ...here.
30025 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30026 situations. Use __builtin_fma only for gcc 4.6 and up.
30028 * config.make.in: Add have-mfma4 entry.
30029 * configure.in: Substitute libc_cv_cc_fma4.
30030 * math/Makefile (dbl-only-routines): Add sincostab.
30031 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30032 Use __sincostab not sincos.
30033 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30035 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30040 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30041 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30042 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30043 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30045 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30046 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30048 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30049 define aliases when function name is a macro.
30050 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30051 sysdeps/ieee754/dbl-64/sincos.tbl.
30052 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30053 fma4-enabled routines.
30054 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30055 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30056 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30057 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30058 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30059 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30060 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30061 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30063 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30064 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30065 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30066 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30067 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30068 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30069 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30070 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30071 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30072 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30073 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30074 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30075 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30077 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30078 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30079 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30080 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30081 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30082 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30083 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30085 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30096 2011-10-24 Andreas Schwab <schwab@redhat.com>
30098 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30100 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30102 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30104 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30106 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30108 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30109 Remove unused variable magic_bits.
30110 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30112 * string/strnlen.c: Define and use STRNLEN macro.
30113 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30114 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30115 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30116 * wcsmbs/wcslen.c: Define and use WCSLEN.
30117 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30118 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30119 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30120 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30121 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30122 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30123 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30125 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30128 strnlen-sse2-no-bsf.
30129 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30130 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30131 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30132 Add strnlen support.
30133 (USE_AS_STRNLEN): New macro.
30134 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30135 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30136 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30137 * sysdeps/x86_64/wcslen.S: New file.
30139 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30142 XMM-moves are used for copying on small sizes.
30144 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30146 * wcsmbs/Makefile (strop-tests): Add wcschr.
30147 * wcsmbs/test-wcschr.c: New file.
30148 * string/test-strchr.c: Update.
30149 Add wcschr support.
30152 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30154 * wcsmbs/Makefile (strop-tests): Add wcslen.
30155 * wcsmbs/test-wcslen.c: New file.
30156 * string/test-strlen.c: Update.
30157 Add wcslen support.
30160 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30162 * po/it.po: Update from translation team.
30164 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30166 * sysdeps/x86_64/wcscmp.S: Update.
30167 Fix wrong comparison semantics.
30168 wcscmp shall use signed comparison not unsigned.
30169 Don't use substraction to avoid overflow bug.
30170 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30171 * wcsmbc/wcscmp.c: Likewise.
30172 * string/test-strcmp.c: Likewise.
30173 Add new tests to check cases with negative values.
30175 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30177 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30178 * sysdeps/x86_64/dla.h: ...here. New file.
30179 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30186 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30187 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30189 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30192 __ynl_finite aliases.
30194 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30198 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30200 [DLA_FMA] (EMULV): Use DLA_FMA.
30201 [DLA_FMA] (MUL12): Use EMULV.
30202 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30203 that are not needed.
30204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30210 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30212 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30214 * math/s_nan.c: Undef __nan.
30215 * math/s_nanf.c: Undef __nanf.
30216 * math/s_nanl.c: Undef __nanl.
30217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30220 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30222 * math/s_catan.c: Add branch predictions.
30223 * math/s_catanf.c: Likewise.
30224 * math/s_catanh.c: Likewise.
30225 * math/s_catanhf.c: Likewise.
30226 * math/s_catanhl.c: Likewise.
30227 * math/s_catanl.c: Likewise.
30228 * math/s_cexp.c: Likewise.
30229 * math/s_cexpf.c: Likewise.
30230 * math/s_cexpl.c: Likewise.
30231 * math/s_clog.c: Likewise.
30232 * math/s_clog10.c: Likewise.
30233 * math/s_clog10f.c: Likewise.
30234 * math/s_clog10l.c: Likewise.
30235 * math/s_clogf.c: Likewise.
30236 * math/s_clogl.c: Likewise.
30237 * math/s_csqrt.c: Likewise.
30238 * math/s_csqrtf.c: Likewise.
30239 * math/s_csqrtl.c: Likewise.
30240 * math/s_ctanf.c: Likewise.
30241 * math/s_ctanh.c: Likewise.
30242 * math/s_ctanhf.c: Likewise.
30243 * math/s_ctanhl.c: Likewise.
30244 * math/s_ctanl.c: Likewise.
30246 * math/math_private.h: Define __nan, __nanf, __nanl.
30247 * math/s_cacosh.c: Include <math_private.h>.
30248 * math/s_cacoshl.c: Likewise.
30249 * math/s_casinh.c: Likewise.
30250 * math/s_casinhf.c: Likewise.
30251 * math/s_casinhl.c: Likewise.
30252 * math/s_ccos.c: Rely entire on ccosh.
30253 * math/s_ccosf.c: Rely entire on ccoshf.
30254 * math/s_ccosl.c: Rely entirely on ccoshl.
30255 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30256 Remove tests for FE_INVALID.
30257 * math/s_ccoshf.c: Likewise.
30258 * math/s_ccoshl.c: Likewise.
30259 * math/s_csin.c: Likewise.
30260 * math/s_csinf.c: Likewise.
30261 * math/s_csinh.c Likewise.
30262 * math/s_csinhf.c: Likewise.
30263 * math/s_csinhl.c: Likewise.
30264 * math/s_csinl.c: Likewise.
30265 * math/s_ctan.c: Likewise.
30266 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30267 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30268 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30270 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30273 compilation problems.
30275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30278 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30280 * sysdeps/i386/configure.in: Test for -mfma4 option.
30281 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30282 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30283 COMMON_CPUID_INDEX_80000001.
30284 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30285 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30286 use it if FMA3 is not supported.
30287 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30289 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30290 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30292 2011-10-20 Andreas Schwab <schwab@redhat.com>
30295 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30296 it would create a cycle with a link time dependency.
30298 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30300 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30302 * string/Makefile (strop-tests): Add rawmemchr.
30303 * string/test-rawmemchr.c: New file.
30305 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30306 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30307 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30308 when compiling str{,n}casecmp and when AVX is available. Hook up
30309 new optimized code in initializers.
30311 2011-10-19 Andreas Schwab <schwab@redhat.com>
30313 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30314 __feraiseexcept instead of feraiseexcept.
30316 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30318 * math/math_private.h: Define defaults for libc_fetestexcept and
30320 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30321 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30322 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30323 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30324 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30325 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30326 libc_fetestexcept and libc_feupdateenv.
30328 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30329 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30330 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30331 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30332 libc_feholdexcept_setround.
30334 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30335 Add s_nearbyint-c and s_nearbyintf-c.
30336 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30337 nearbyintf inlines.
30338 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30339 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30340 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30341 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30343 * math/math_private.h: Define defaults for libc_fegetround,
30344 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30345 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30346 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30347 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30348 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30349 standard functions.
30350 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30351 Remove comments and hacks for old compiler versions.
30352 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30353 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30354 libc_feholdexceptl.
30356 2011-10-18 Andreas Schwab <schwab@redhat.com>
30358 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30359 (__feraiseexcept_renamed): Add __NTH.
30360 (feraiseexcept): Add __NTH. Rename local variables to fix
30361 namespace violations.
30363 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30365 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30367 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30369 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30370 recently added interfaces.
30371 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30373 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30374 about macro parameter expansion.
30376 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30377 __NO_MATH_INLINES is defined. Cleanups.
30379 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30380 and __floorf is target has SSE4.1.
30381 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30382 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30383 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30384 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30386 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30388 (floorf): Likewise.
30390 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30392 2011-10-17 Andreas Schwab <schwab@redhat.com>
30394 * misc/sys/cdefs.h: Fix last change.
30396 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30399 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30401 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30403 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30405 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30406 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30408 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30409 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30410 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30411 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30412 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30413 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30414 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30415 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30416 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30417 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30418 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30419 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30420 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30421 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30422 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30423 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30424 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30426 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30427 ceil, ceilf, floor, floorf.
30429 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30430 Perform IRELATIVE relocations last.
30432 * elf/do-rel.h: Add another parameter nrelative, replacing the
30433 local variable with the same name. Change name of the function
30434 to end in Rel or Rela (uppercase).
30435 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30436 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30437 elf_dynamic_do_##reloc function.
30439 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30441 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30442 is sufficient, at least on modern CPUs.
30444 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30446 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30447 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30449 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30451 * math/bits/math-finite.h: Add entries for exp.
30452 * math/e_expl.c: Add __*_finite alias.
30453 * sysdeps/i386/fpu/e_exp.S: Likewise.
30454 * sysdeps/i386/fpu/e_expf.S: Likewise.
30455 * sysdeps/i386/fpu/e_expl.c: Likewise.
30456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30457 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30458 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30460 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30461 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30462 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30464 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30465 is sufficient, at least on modern CPUs.
30467 * ctype/ctype-info.c (__ctype_init): Define.
30468 * include/ctype.h (__ctype_init): Declare.
30469 (__ctype_b_loc): The variable is always initialized.
30470 (__ctype_toupper_loc): Likewise.
30471 (__ctype_tolower_loc): Likewise.
30472 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30473 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30475 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30477 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30479 * configure.in: Also look in $cxxmachine/include for C++ system
30482 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30484 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30485 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30486 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30487 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30488 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30489 (USE_AS_WMEMCMP): New macro.
30491 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30492 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30493 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30494 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30496 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30497 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30498 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30499 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30500 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30501 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30502 (USE_AS_WMEMCMP): New macro.
30503 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30504 * sysdeps/string/test-memcmp.c: Update.
30505 Fix simple_wmemcmp.
30507 * wcsmbs/wmemcmp.c: Update.
30508 (WMEMCMP): New macro.
30511 2011-10-12 Andreas Jaeger <aj@suse.de>
30514 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30516 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30518 * libio/iofwide.c (do_length): Avoid warning.
30520 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30522 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30524 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30526 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30527 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30528 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30529 * sysdeps/i386/i686/fpu/e_log.S: New file.
30530 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30531 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30533 * ctype/ctype.h: Add support for inlined isXXX functions when
30534 compiling C++ code.
30536 2011-10-14 Andreas Schwab <schwab@redhat.com>
30538 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30540 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30542 2011-10-13 Roland McGrath <roland@hack.frob.com>
30545 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30547 2011-10-13 Andreas Schwab <schwab@redhat.com>
30549 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30550 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30553 * sysdeps/x86_64/memrchr.S: Check for zero size.
30555 * string/stratcliff.c: Add memrchr tests.
30557 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30560 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30561 rawmemchr-sse2 rawmemchr-sse2-bsf.
30562 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30563 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30564 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30565 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30566 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30567 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30568 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30569 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30570 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30571 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30572 * string/memrchr.c (MEMRCHR): New macro.
30574 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30576 Add integration with gcc's -ffinite-math-only and optimize wrapper
30578 * Versions.def: Define GLIBC_2.15 version for libm.
30579 * math/Makefile (headers): Add bits/math-finite.h.
30580 * math/bits/math-finite.h: New file.
30581 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30582 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30583 * math/e_acoshl.c: Add __*_finite alias.
30584 * math/e_acosl.c: Likewise.
30585 * math/e_asinl.c: Likewise.
30586 * math/e_atan2l.c: Likewise.
30587 * math/e_atanhl.c: Likewise.
30588 * math/e_coshl.c: Likewise.
30589 * math/e_exp10.c: Likewise.
30590 * math/e_exp10f.c: Likewise.
30591 * math/e_exp10l.c: Likewise.
30592 * math/e_exp2l.c: Likewise.
30593 * math/e_fmodl.c: Likewise.
30594 * math/e_gammal_r.c: Likewise.
30595 * math/e_hypotl.c: Likewise.
30596 * math/e_j0l.c: Likewise.
30597 * math/e_j1l.c: Likewise.
30598 * math/e_jnl.c: Likewise.
30599 * math/e_lgammal_r.c: Likewise.
30600 * math/e_log10l.c: Likewise.
30601 * math/e_log2l.c: Likewise.
30602 * math/e_logl.c: Likewise.
30603 * math/e_powl.c: Likewise.
30604 * math/e_sinhl.c: Likewise.
30605 * math/e_sqrtl.c: Likewise.
30606 * math/e_scalb.c: Completely rewritten and optimized.
30607 * math/e_scalbf.c: Likewise.
30608 * math/e_scalbl.c: Likewise.
30609 * math/w_acos.c: Likewise.
30610 * math/w_acosf.c: Likewise.
30611 * math/w_acosl.c: Likewise.
30612 * math/w_acosh.c: Likewise.
30613 * math/w_acoshf.c: Likewise.
30614 * math/w_acoshl.c: Likewise.
30615 * math/w_asin.c: Likewise.
30616 * math/w_asinf.c: Likewise.
30617 * math/w_asinl.c: Likewise.
30618 * math/w_atan2.c: Likewise.
30619 * math/w_atan2f.c: Likewise.
30620 * math/w_atan2l.c: Likewise.
30621 * math/w_atanh.c: Likewise.
30622 * math/w_atanhf.c: Likewise.
30623 * math/w_atanhl.c: Likewise.
30624 * math/w_exp10.c: Likewise.
30625 * math/w_exp10f.c: Likewise.
30626 * math/w_exp10l.c: Likewise.
30627 * math/w_fmod.c: Likewise.
30628 * math/w_fmodf.c: Likewise.
30629 * math/w_fmodl.c: Likewise.
30630 * math/w_j0.c: Likewise.
30631 * math/w_j0f.c: Likewise.
30632 * math/w_j0l.c: Likewise.
30633 * math/w_j1.c: Likewise.
30634 * math/w_j1f.c: Likewise.
30635 * math/w_j1l.c: Likewise.
30636 * math/w_jn.c: Likewise.
30637 * math/w_jnf.c: Likewise.
30638 * math/w_log.c: Likewise.
30639 * math/w_logf.c: Likewise.
30640 * math/w_logl.c: Likewise.
30641 * math/w_log10.c: Likewise.
30642 * math/w_log10f.c: Likewise.
30643 * math/w_log10l.c: Likewise.
30644 * math/w_log2.c: Likewise.
30645 * math/w_log2f.c: Likewise.
30646 * math/w_log2l.c: Likewise.
30647 * math/w_pow.c: Likewise.
30648 * math/w_powf.c: Likewise.
30649 * math/w_powl.c: Likewise.
30650 * math/w_remainder.c: Likewise.
30651 * math/w_remainderf.c: Likewise.
30652 * math/w_remainderl.c: Likewise.
30653 * math/w_scalb.c: Likewise.
30654 * math/w_scalbf.c: Likewise.
30655 * math/w_scalbl.c: Likewise.
30656 * math/w_sqrt.c: Likewise.
30657 * math/w_sqrtf.c: Likewise.
30658 * math/w_sqrtl.c: Likewise.
30659 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30660 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30662 * math/math_private.h: Declare __kernel_standard_f.
30663 * math/w_cosh.c: Remove cruft and optimize a bit.
30664 * math/w_coshf.c: Likewise.
30665 * math/w_coshl.c: Likewise.
30666 * math/w_exp2.c: Likewise.
30667 * math/w_exp2f.c: Likewise.
30668 * math/w_exp2l.c: Likewise.
30669 * math/w_hypot.c: Likewise.
30670 * math/w_hypotf.c: Likewise.
30671 * math/w_hypotl.c: Likewise.
30672 * math/w_lgamma.c: Likewise.
30673 * math/w_lgamma_r.c: Likewise.
30674 * math/w_lgammaf.c: Likewise.
30675 * math/w_lgammaf_r.c: Likewise.
30676 * math/w_lgammal.c: Likewise.
30677 * math/w_lgammal_r.c: Likewise.
30678 * math/w_sinh.c: Likewise.
30679 * math/w_sinhf.c: Likewise.
30680 * math/w_sinhl.c: Likewise.
30681 * math/w_tgamma.c: Likewise.
30682 * math/w_tgammaf.c: Likewise.
30683 * math/w_tgammal.c: Likewise.
30684 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30686 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30687 Minor optimizations. Pretty printing. Remove cruft.
30688 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30689 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30690 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30692 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30693 * sysdeps/i386/fpu/e_asin.S: Likewise.
30694 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30695 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30696 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30697 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30698 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30699 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30700 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30701 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30702 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30703 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30704 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30705 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30706 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30707 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30708 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30709 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30710 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30711 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30712 * sysdeps/i386/fpu/e_log.S: Likewise.
30713 * sysdeps/i386/fpu/e_log10.S: Likewise.
30714 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30715 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30716 * sysdeps/i386/fpu/e_log2.S: Likewise.
30717 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30718 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30719 * sysdeps/i386/fpu/e_logf.S: Likewise.
30720 * sysdeps/i386/fpu/e_logl.S: Likewise.
30721 * sysdeps/i386/fpu/e_pow.S: Likewise.
30722 * sysdeps/i386/fpu/e_powf.S: Likewise.
30723 * sysdeps/i386/fpu/e_powl.S: Likewise.
30724 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30725 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30726 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30727 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30728 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30729 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30730 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30731 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30732 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30736 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30737 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30740 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30741 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30746 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30747 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30749 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30750 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30753 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30754 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30755 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30756 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30757 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30758 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30759 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30760 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30761 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30762 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30763 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30764 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30765 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30766 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30767 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30768 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30769 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30770 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30771 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30772 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30773 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30774 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30813 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30816 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30818 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30819 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30824 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30826 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30827 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30828 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30829 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30830 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30831 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30832 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30833 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30834 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30835 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30836 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30837 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30838 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30839 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30841 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30842 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30843 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30844 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30845 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30846 (__isnanf): Likewise.
30847 (__isinf_ns): Likewise.
30848 (__isinf_nsf): Likewise.
30849 (__finite): Likewise.
30850 (__finitef): Likewise.
30851 (__ieee754_sqrt): Define as macro.
30852 (__ieee754_sqrtf): Define as macro.
30853 (__ieee754_sqrtl): Define as macro.
30854 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30856 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30857 __FINITE_MATH_ONLY__ consistent.
30858 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30860 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30862 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30865 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30867 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30869 * po/ja.po: Update from translation team.
30871 2011-10-08 Roland McGrath <roland@hack.frob.com>
30873 * locale/programs/locarchive.c (prepare_address_space): New function.
30874 (create_archive, enlarge_archive, open_archive): Use it.
30876 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30877 inside [SHARED], where it is used.
30879 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30881 * nss/getent.c (netgroup_keys): Remove unused variable.
30882 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30884 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30886 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30887 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30889 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30890 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30891 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30892 * math/Makefile (libm-calls): Add s_isinf_ns.
30893 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30894 * math/multc3.c: Likewise.
30895 * math/s_casin.c: Likewise.
30896 * math/s_casinf.c: Likewise.
30897 * math/s_casinl.c: Likewise.
30898 * math/s_ccos.c: Likewise.
30899 * math/s_ccosf.c: Likewise.
30900 * math/s_ccosl.c: Likewise.
30901 * math/s_ctan.c: Likewise.
30902 * math/s_ctanf.c: Likewise.
30903 * math/s_ctanh.c: Likewise.
30904 * math/s_ctanhf.c: Likewise.
30905 * math/s_ctanhl.c: Likewise.
30906 * math/s_ctanl.c: Likewise.
30907 * math/w_fmod.c: Likewise.
30908 * math/w_fmodf.c: Likewise.
30909 * math/w_fmodl.c: Likewise.
30910 * math/w_remainder.c: Likewise.
30911 * math/w_remainderf.c: Likewise.
30912 * math/w_remainderl.c: Likewise.
30913 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30914 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30915 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30917 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30918 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30919 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30920 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30922 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30924 * stdio-common/printf_fphex.c: Likewise.
30925 * stdio-common/printf_size.c: Likewise.
30927 * math/e_exp10.c: Include math_private.h using <...> not "...".
30928 * math/e_exp10f.c: Likewise.
30929 * math/e_exp10l.c: Likewise.
30930 * math/e_exp2l.c: Likewise.
30931 * math/e_j0l.c: Likewise.
30932 * math/e_j1l.c: Likewise.
30933 * math/e_jnl.c: Likewise.
30934 * math/e_lgammal_r.c: Likewise.
30935 * math/e_rem_pio2l.c: Likewise.
30936 * math/e_scalb.c: Likewise.
30937 * math/e_scalbf.c: Likewise.
30938 * math/e_scalbl.c: Likewise.
30939 * math/k_cosl.c: Likewise.
30940 * math/k_sinl.c: Likewise.
30941 * math/k_tanl.c: Likewise.
30942 * math/s_cacoshf.c: Likewise.
30943 * math/s_catan.c: Likewise.
30944 * math/s_catanf.c: Likewise.
30945 * math/s_catanh.c: Likewise.
30946 * math/s_catanhf.c: Likewise.
30947 * math/s_catanhl.c: Likewise.
30948 * math/s_catanl.c: Likewise.
30949 * math/s_ccosh.c: Likewise.
30950 * math/s_ccoshf.c: Likewise.
30951 * math/s_ccoshl.c: Likewise.
30952 * math/s_cexp.c: Likewise.
30953 * math/s_cexpf.c: Likewise.
30954 * math/s_cexpl.c: Likewise.
30955 * math/s_clog.c: Likewise.
30956 * math/s_clog10.c: Likewise.
30957 * math/s_clog10f.c: Likewise.
30958 * math/s_clog10l.c: Likewise.
30959 * math/s_clogf.c: Likewise.
30960 * math/s_clogl.c: Likewise.
30961 * math/s_csin.c: Likewise.
30962 * math/s_csinf.c: Likewise.
30963 * math/s_csinh.c: Likewise.
30964 * math/s_csinhf.c: Likewise.
30965 * math/s_csinhl.c: Likewise.
30966 * math/s_csinl.c: Likewise.
30967 * math/s_csqrt.c: Likewise.
30968 * math/s_csqrtf.c: Likewise.
30969 * math/s_csqrtl.c: Likewise.
30970 * math/s_ctan.c: Likewise.
30971 * math/s_ctanf.c: Likewise.
30972 * math/s_ctanh.c: Likewise.
30973 * math/s_ctanhf.c: Likewise.
30974 * math/s_ctanhl.c: Likewise.
30975 * math/s_ctanl.c: Likewise.
30976 * math/s_ldexp.c: Likewise.
30977 * math/s_ldexpf.c: Likewise.
30978 * math/s_ldexpl.c: Likewise.
30979 * math/s_significand.c: Likewise.
30980 * math/s_significandf.c: Likewise.
30981 * math/s_significandl.c: Likewise.
30982 * math/w_acos.c: Likewise.
30983 * math/w_acosf.c: Likewise.
30984 * math/w_acosh.c: Likewise.
30985 * math/w_acoshf.c: Likewise.
30986 * math/w_acoshl.c: Likewise.
30987 * math/w_acosl.c: Likewise.
30988 * math/w_asin.c: Likewise.
30989 * math/w_asinf.c: Likewise.
30990 * math/w_asinl.c: Likewise.
30991 * math/w_atan2.c: Likewise.
30992 * math/w_atan2f.c: Likewise.
30993 * math/w_atan2l.c: Likewise.
30994 * math/w_atanh.c: Likewise.
30995 * math/w_atanhf.c: Likewise.
30996 * math/w_atanhl.c: Likewise.
30997 * math/w_cosh.c: Likewise.
30998 * math/w_coshf.c: Likewise.
30999 * math/w_coshl.c: Likewise.
31000 * math/w_dremf.c: Likewise.
31001 * math/w_exp10.c: Likewise.
31002 * math/w_exp10f.c: Likewise.
31003 * math/w_exp10l.c: Likewise.
31004 * math/w_exp2.c: Likewise.
31005 * math/w_exp2f.c: Likewise.
31006 * math/w_fmod.c: Likewise.
31007 * math/w_fmodf.c: Likewise.
31008 * math/w_fmodl.c: Likewise.
31009 * math/w_hypot.c: Likewise.
31010 * math/w_hypotf.c: Likewise.
31011 * math/w_hypotl.c: Likewise.
31012 * math/w_j0.c: Likewise.
31013 * math/w_j0f.c: Likewise.
31014 * math/w_j0l.c: Likewise.
31015 * math/w_j1.c: Likewise.
31016 * math/w_j1f.c: Likewise.
31017 * math/w_j1l.c: Likewise.
31018 * math/w_jn.c: Likewise.
31019 * math/w_jnf.c: Likewise.
31020 * math/w_jnl.c: Likewise.
31021 * math/w_lgamma.c: Likewise.
31022 * math/w_lgamma_r.c: Likewise.
31023 * math/w_lgammaf.c: Likewise.
31024 * math/w_lgammaf_r.c: Likewise.
31025 * math/w_lgammal.c: Likewise.
31026 * math/w_lgammal_r.c: Likewise.
31027 * math/w_log.c: Likewise.
31028 * math/w_log10.c: Likewise.
31029 * math/w_log10f.c: Likewise.
31030 * math/w_log10l.c: Likewise.
31031 * math/w_log2.c: Likewise.
31032 * math/w_log2f.c: Likewise.
31033 * math/w_log2l.c: Likewise.
31034 * math/w_logf.c: Likewise.
31035 * math/w_logl.c: Likewise.
31036 * math/w_pow.c: Likewise.
31037 * math/w_powf.c: Likewise.
31038 * math/w_powl.c: Likewise.
31039 * math/w_remainder.c: Likewise.
31040 * math/w_remainderf.c: Likewise.
31041 * math/w_remainderl.c: Likewise.
31042 * math/w_scalb.c: Likewise.
31043 * math/w_scalbf.c: Likewise.
31044 * math/w_scalbl.c: Likewise.
31045 * math/w_sinh.c: Likewise.
31046 * math/w_sinhf.c: Likewise.
31047 * math/w_sinhl.c: Likewise.
31048 * math/w_sqrt.c: Likewise.
31049 * math/w_sqrtf.c: Likewise.
31050 * math/w_sqrtl.c: Likewise.
31051 * math/w_tgamma.c: Likewise.
31052 * math/w_tgammaf.c: Likewise.
31053 * math/w_tgammal.c: Likewise.
31055 * po/ja.po: Update from translation team.
31057 2011-09-29 Andreas Jaeger <aj@suse.de>
31060 * sunrpc/netname.c (netname2host): Fix logic.
31064 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31066 * math/w_remainder.c (__remainder): Likewise.
31067 * math/w_remainderf.c (__remainderf): Likewise.
31068 * math/libm-test.inc (remainder_test): Add test cases.
31070 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31072 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31075 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31077 * string/test-memcmp.c: Avoid unncessary #defines.
31078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31080 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31082 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31083 Use new sse2 version for core i3 - i7 as it's faster
31084 than sse42 version.
31085 (bit_Prefer_PMINUB_for_stringop): New.
31086 * sysdeps/x86_64/rawmemchr.S: Update.
31087 Replace with faster SSE2 version.
31088 * sysdeps/x86_64/memrchr.S: New file.
31089 * sysdeps/x86_64/memchr.S: Update.
31090 Replace with faster SSE2 version.
31092 2011-09-12 Marek Polacek <mpolacek@redhat.com>
31094 * elf/dl-load.c (lose): Add cast to avoid warning.
31096 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31098 * po/ca.po: Update from translation team.
31100 * inet/getnetgrent_r.c: Hook up nscd.
31101 * nscd/Makefile (routines): Add nscd_netgroup.
31102 (nscd-modules): Add netgroupcache.
31103 (CFLAGS-netgroupcache.c): Define.
31104 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31105 (cache_search): Add const to second parameter.
31106 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31108 (dbs): Add netgrdb entry.
31109 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31110 (verify_persistent_db): Handle netgrdb.
31111 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31112 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31114 (netgroup_response_header): Define.
31115 (innetgroup_response_header): Define.
31116 (datahead): Add netgroup_response_header and innetgroup_response_header
31118 * nscd/nscd.conf: Add entries for netgroup cache.
31119 * nscd/nscd.h (dbtype): Add netgrdb.
31120 (_PATH_NSCD_NETGROUP_DB): Define.
31121 (netgroup_iov_disabled): Declare.
31122 (xmalloc, xcalloc, xrealloc): Move declarations here.
31123 (cache_search): Adjust prototype.
31124 Add netgroup-related prototypes.
31125 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31126 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31127 (__nscd_innetgr): Declare.
31128 * nscd/selinux.c (perms): Use access_vector_t as element type and
31129 add netgroup-related initializers.
31130 * nscd/netgroupcache.c: New file.
31131 * nscd/nscd_netgroup.c: New file.
31132 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31133 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31134 For four parameters use innetgr.
31135 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31136 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31137 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31138 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31140 * nscd/connections.c (register_traced_file): Don't register file
31141 for disabled databases.
31143 2011-10-06 Ulrich Drepper <drepper@gmail.com>
31145 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31147 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31148 from tree and freeing node.
31150 2011-09-25 Jiri Olsa <jolsa@redhat.com>
31152 * nss/nsswitch.c (__nss_database_lookup): Handle
31153 nss_parse_service_list out of memory case.
31155 2011-09-15 Jiri Olsa <jolsa@redhat.com>
31157 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31158 out of memory case.
31160 2011-10-04 Andreas Schwab <schwab@redhat.com>
31162 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31163 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31165 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31166 elf_machine_rela, elf_machine_lazy_rel.
31167 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31168 (ELF_DYNAMIC_DO_REL): Likewise.
31169 (ELF_DYNAMIC_DO_RELA): Likewise.
31170 (ELF_DYNAMIC_RELOCATE): Likewise.
31171 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31172 to ELF_DYNAMIC_DO_REL.
31173 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31174 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31175 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31178 skip_ifunc, don't call ifunc function if non-zero.
31179 (elf_machine_rela): Likewise.
31180 (elf_machine_lazy_rel): Likewise.
31181 (elf_machine_lazy_rela): Likewise.
31182 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31183 (elf_machine_lazy_rel): Likewise.
31184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31186 (elf_machine_lazy_rel): Likewise.
31187 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31189 (elf_machine_lazy_rel): Likewise.
31190 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31191 (elf_machine_lazy_rel): Likewise.
31192 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31193 (elf_machine_lazy_rel): Likewise.
31194 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31195 (elf_machine_lazy_rel): Likewise.
31196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31197 (elf_machine_lazy_rel): Likewise.
31198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31199 (elf_machine_lazy_rel): Likewise.
31200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31201 (elf_machine_lazy_rel): Likewise.
31203 2011-09-28 Ulrich Drepper <drepper@gmail.com>
31205 * nss/nss_files/files-init.c (_nss_files_init): Use static
31206 initialization for all the *_traced_file variables.
31208 2011-09-28 Andreas Schwab <schwab@redhat.com>
31210 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31212 2011-09-27 Roland McGrath <roland@hack.frob.com>
31215 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31217 2011-09-27 Andreas Schwab <schwab@redhat.com>
31219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31220 Reread the line before reparsing it.
31222 2011-09-26 Andreas Schwab <schwab@redhat.com>
31224 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31226 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31227 Maxim Kuvyrkov <maxim@codesourcery.com>
31228 Joseph Myers <joseph@codesourcery.com>
31230 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31231 if needed for __stack_chk_guard.
31233 2011-09-19 Roland McGrath <roland@hack.frob.com>
31235 * sysdeps/posix/spawni.c (script_execute): Always define it.
31236 It will be optimized away if unused.
31237 (maybe_script_execute): New function.
31238 (__spawni): Call it.
31240 * Makerules: Don't include tls.make.
31241 (config-tls): Always set to thread.
31242 * tls.make.c: File removed.
31244 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31246 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31247 * config.make.in (CPPFLAGS-config): New substituted variable.
31249 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31251 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31254 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31255 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31257 2011-09-15 Roland McGrath <roland@hack.frob.com>
31259 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31260 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31262 (CALL_FAIL): Likewise.
31263 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31264 (CALL_FAIL): Macro removed.
31265 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31267 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31269 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31270 for __FINITE_MATH_ONLY__ == 1.
31272 2011-09-15 Andreas Schwab <schwab@redhat.com>
31274 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31275 __ieee754_sqrt instead of sqrt.
31276 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31277 __ieee754_sqrtf instead of sqrtf.
31278 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31279 __floorf instead of floorf.
31280 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31281 __floorf, __truncf instead of floorf, truncf.
31283 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31285 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31287 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31288 __extern_always_inline.
31289 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31292 2011-09-14 Andreas Schwab <schwab@redhat.com>
31294 * elf/rtld.c (dl_main): Also relocate in dependency order when
31295 doing symbol dependency testing.
31297 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31300 Always define `refsym'.
31302 2011-09-13 Andreas Schwab <schwab@redhat.com>
31304 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31305 (__FD_ELT): Renamed from __FDELT.
31306 * misc/bits/select2.h (__FD_ELT): Likewise.
31307 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31308 __FD_MASK instead of __FDELT, __FDMASK.
31309 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31311 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31314 * elf/Makefile (gen-ldd): Fix pattern.
31316 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31317 (init_tls): Likewise.
31319 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31323 2011-09-12 Andreas Schwab <schwab@redhat.com>
31325 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31326 `struct cmsghdr *' instead of `void *'.
31327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31330 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31332 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31334 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31335 ldd_rewrite_script.
31337 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31339 * configure.in: Remove --with-tls option.
31340 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31341 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31342 out in case it is missing.
31343 * sysdeps/ia64/elf/configure.in: Likewise.
31344 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31345 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31346 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31347 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31348 * sysdeps/sh/elf/configure.in: Likewise.
31349 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31350 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31351 * sysdeps/x86_64/elf/configure.in: Likewise.
31352 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31353 * sysdeps/mach/hurd/tls.h: Likewise.
31356 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31359 * configure.in: Fix use of AC_INIT.
31361 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31363 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31365 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31367 * malloc/hooks.c: Likewise.
31370 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31371 variables statically.
31372 (narenas): Initialize.
31373 (list_lock): Initialize.
31374 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31375 initializtion of main_arena and list_lock. Small cleanups.
31376 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31377 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31378 Add initializers to main_arena and mp_.
31379 (malloc_state): Remove pagesize member. Change all users to use
31382 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31383 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31384 is always initialized.
31386 * malloc/malloc.c: Removed unused configurations and dead code.
31387 * malloc/arena.c: Likewise.
31388 * malloc/hooks.c: Likewise.
31389 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31391 * include/tls.h: Removed. USE___THREAD must always be defined.
31392 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31393 * elf/dl-libc.c: Likewise.
31394 * elf/dl-tsd.c: Likewise.
31395 * include/errno.h: Likewise.
31396 * include/netdb.h: Likewise.
31397 * include/resolv.h: Likewise.
31398 * inet/herrno-loc.c: Likewise.
31399 * inet/herrno.c: Likewise.
31400 * malloc/arena.c: Likewise.
31401 * malloc/hooks.c: Likewise.
31402 * malloc/malloc.c: Likewise.
31403 * resolv/res-state.c: Likewise.
31404 * resolv/res_libc.c: Likewise.
31405 * sysdeps/i386/dl-machine.h: Likewise.
31406 * sysdeps/ia64/dl-machine.h: Likewise.
31407 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31408 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31409 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31410 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31411 * sysdeps/sh/dl-machine.h: Likewise.
31412 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31413 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31414 * sysdeps/unix/i386/sysdep.S: Likewise.
31415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31416 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31417 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31418 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31419 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31420 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31421 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31425 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31426 * sysdeps/x86_64/dl-machine.h: Likewise.
31427 * tls.make.c: Likewise.
31429 * configure.in: Remove --with-__thread option. Make tests for
31430 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31431 tls_model attribute fail if no support is available. Remove
31433 * Makeconfig: Adjust for dropped configure option. All features are
31435 * Makerules: Likewise.
31436 * Versions.def: Likewise.
31437 * argp/argp-fmtstream.c: Likewise.
31438 * argp/argp-fmtstream.h: Likewise.
31439 * argp/argp-help.c: Likewise.
31440 * assert/assert.c: Likewise.
31441 * config.h.in: Likewise.
31442 * config.make.in: Likewise.
31443 * configure: Likewise.
31444 * configure.in: Likewise.
31445 * csu/Versions: Likewise.
31446 * csu/init.c: Likewise.
31447 * elf/tst-audit2.c: Likewise.
31448 * elf/tst-tls10.c: Likewise.
31449 * elf/tst-tls10.h: Likewise.
31450 * elf/tst-tls11.c: Likewise.
31451 * elf/tst-tls12.c: Likewise.
31452 * elf/tst-tls14.c: Likewise.
31453 * elf/tst-tlsmod11.c: Likewise.
31454 * elf/tst-tlsmod12.c: Likewise.
31455 * elf/tst-tlsmod13.c: Likewise.
31456 * elf/tst-tlsmod13a.c: Likewise.
31457 * elf/tst-tlsmod14a.c: Likewise.
31458 * elf/tst-tlsmod15b.c: Likewise.
31459 * elf/tst-tlsmod16a.c: Likewise.
31460 * elf/tst-tlsmod16b.c: Likewise.
31461 * elf/tst-tlsmod7.c: Likewise.
31462 * elf/tst-tlsmod8.c: Likewise.
31463 * elf/tst-tlsmod9.c: Likewise.
31464 * gmon/gmon.c: Likewise.
31465 * grp/fgetgrent_r.c: Likewise.
31466 * grp/putgrent.c: Likewise.
31467 * hurd/fopenport.c: Likewise.
31468 * include/libc-symbols.h: Likewise.
31469 * include/tls.h: Likewise.
31470 * intl/gettextP.h: Likewise.
31471 * intl/loadinfo.h: Likewise.
31472 * locale/global-locale.c: Likewise.
31473 * locale/localeinfo.h: Likewise.
31474 * mach/devstream.c: Likewise.
31475 * malloc/arena.c: Likewise.
31476 * malloc/set-freeres.c: Likewise.
31477 * misc/err.c: Likewise.
31478 * misc/getttyent.c: Likewise.
31479 * misc/mntent_r.c: Likewise.
31480 * posix/getopt.c: Likewise.
31481 * posix/wordexp.c: Likewise.
31482 * pwd/fgetpwent_r.c: Likewise.
31483 * resolv/Versions: Likewise.
31484 * resolv/res_hconf.c: Likewise.
31485 * shadow/fgetspent_r.c: Likewise.
31486 * shadow/putspent.c: Likewise.
31487 * stdio-common/printf_fphex.c: Likewise.
31488 * stdio-common/tmpfile.c: Likewise.
31489 * stdlib/abort.c: Likewise.
31490 * stdlib/fmtmsg.c: Likewise.
31491 * sunrpc/auth_unix.c: Likewise.
31492 * sunrpc/clnt_perr.c: Likewise.
31493 * sunrpc/clnt_tcp.c: Likewise.
31494 * sunrpc/clnt_udp.c: Likewise.
31495 * sunrpc/clnt_unix.c: Likewise.
31496 * sunrpc/openchild.c: Likewise.
31497 * sunrpc/svc_simple.c: Likewise.
31498 * sunrpc/svc_tcp.c: Likewise.
31499 * sunrpc/svc_udp.c: Likewise.
31500 * sunrpc/svc_unix.c: Likewise.
31501 * sunrpc/xdr.c: Likewise.
31502 * sunrpc/xdr_array.c: Likewise.
31503 * sunrpc/xdr_rec.c: Likewise.
31504 * sunrpc/xdr_ref.c: Likewise.
31505 * sunrpc/xdr_stdio.c: Likewise.
31507 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31509 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31511 2011-07-03 Andreas Jaeger <aj@suse.de>
31513 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31514 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31515 regenerate with gen-libm-tests.pl.
31517 2010-05-12 Petr Baudis <pasky@suse.cz>
31520 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31521 around j0() zero points by switching to j1().
31522 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31523 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31527 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31529 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31531 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31534 Patch in part by Pavel Roskin <proski@gnu.org>.
31537 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31539 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31540 Free memory block if necessary.
31543 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31544 be NULL. Don't lock in this case.
31546 2011-09-09 Roland McGrath <roland@hack.frob.com>
31548 * elf/elf.h (ELFOSABI_GNU): New macro.
31549 (ELFOSABI_LINUX): Define to that.
31551 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31553 * string/strncat.c (strncat): Undef the symbol in case it has been
31554 defined in bits/string.h.
31556 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31558 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31560 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31563 2011-08-17 Andreas Jaeger <aj@suse.de>
31565 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31567 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31568 Ian Lance Taylor <iant@google.com>
31570 * math/libm-test.inc (lround_test): New testcase.
31571 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31573 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31575 * Makefile: Remove support for automatic cvs check-ins.
31576 * Makerules: Likewise.
31577 * config.make.in: Likewise.
31578 * configure.in: Likewise.
31579 * intl/Makefile: Likewise.
31580 * locale/Makefile: Likewise.
31581 * po/Makefile: Likewise.
31582 * posix/Makefile: Likewise.
31583 * sysdeps/gnu/Makefile: Likewise.
31584 * sysdeps/mach/hurd/Makefile: Likewise.
31585 * sysdeps/sparc/sparc32/Makefile: Likewise.
31588 * posix/Makefile (bug-regex32-ENV): Define.
31589 Patch by John Stanley <jpsinthemix@verizon.net>.
31591 * misc/Makefile (headers): Add bits/select2.h.
31592 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31593 * misc/bits/select2.h: New file.
31594 * include/bits/select2.h: New file.
31595 * debug/Makefile (routines): Add fdelt_chk.
31596 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31597 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31599 * debug/fdelt_chk.c: New file.
31601 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31602 * wcsmbs/test-wmemcmp.c: Likewise.
31603 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31604 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31606 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31608 * string/Makefile (strop-tests): Add memcmp.
31609 * string/test-wmemcmp.c: New file.
31610 * string/test-memcmp.c: Add wmemcmp support.
31612 2011-09-08 Roland McGrath <roland@hack.frob.com>
31615 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31618 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31619 garbage value in a __mach_port_mod_refs call in the cases of the
31620 task-self and thread-self ports.
31622 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31624 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31626 2011-09-08 Andreas Schwab <schwab@redhat.com>
31628 * elf/dl-load.c (lose): Check for non-null L.
31630 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31632 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31634 * elf/dl-libc.c (dlerror_run): Pass back error code from
31638 * elf/dl-load.c (lose): Free l_origin if it is valid.
31640 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31642 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31643 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31645 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31646 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31647 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31649 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31651 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31652 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31653 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31654 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31655 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31656 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31657 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31658 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31659 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31660 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31662 2011-08-15 Alan Modra <amodra@gmail.com>
31665 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31666 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31667 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31668 ppc_mcount to static-only-routines.
31669 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31671 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31672 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31674 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31676 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31677 for finite and infinity parameters.
31679 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31682 and add nop instructions for throughput optimization.
31683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31685 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31687 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31688 aligned copy for power7 with vector-scalar instructions.
31689 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31691 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31696 2011-09-07 Andreas Schwab <schwab@redhat.com>
31699 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31702 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31704 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31705 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31706 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31707 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31710 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31713 Forgot to demangle the pointer.
31715 * sysdeps/i386/sysdep.h: Define atom_text_section.
31716 * sysdeps/x86_64/sysdep.h: Likewise.
31717 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31718 section with atom_text_section.
31719 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31720 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31721 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31722 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31725 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31726 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31727 already be defined. Change to take two parameters and don't assign
31728 result to variable. Adjust all users.
31729 Define INTERNAL_GETTIME if not already defined.
31730 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31733 HAVE_CLOCK_GETTIME_VSYSCALL.
31734 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31737 gettimeofday vsyscall, just use time.
31739 2011-09-06 Andreas Schwab <schwab@redhat.com>
31741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31744 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31746 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31748 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31750 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31751 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31752 syscall if possible.
31754 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31756 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31757 e_ident. Don't pass to find_mapsXX.
31758 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31760 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31763 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31764 * sysdeps/x86_64/multiarch/strchr.S: Update.
31765 Check bit_slow_BSF bit.
31766 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31767 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31768 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31770 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31773 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31775 (tryshell): Define.
31776 (__spawni): Change last parameter to be flag. Test
31777 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31778 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31779 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31780 * posix/spawni.c: Likewise.
31781 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31782 * posix/spawnp.c: Likewise. Change normal version to use
31783 SPAWN_XFLAGS_USE_PATH.
31784 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31785 SPAWN_XFLAGS_TRY_SHELL.
31788 * posix/glob.h: Remove gcc 1.x support.
31791 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31793 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31796 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31798 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31799 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31800 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31801 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31802 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31803 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31805 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31807 * sysdeps/x86_64/wcscmp.S: New file.
31809 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31810 wcscmp-c wcscmp-sse2
31811 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31812 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31814 * wcsmbs/wcscmp.c: Allow renaming.
31816 2011-09-05 David S. Miller <davem@davemloft.net>
31818 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31819 stack slot, rather than the struct return pointer slot.
31820 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31821 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31823 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31825 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31827 * po/ja.po: Update from translation team.
31830 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31831 kernel in 64-bit binaries.
31833 2011-09-01 David S. Miller <davem@davemloft.net>
31835 * elf/elf.h (HWCAP_SPARC_*): Move to..
31836 * sysdeps/sparc/sysdep.h: this new file and add new values.
31837 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31838 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31839 _DL_HWCAP_COUNT to 24.
31840 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31842 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31843 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31844 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31846 instead of magic constants.
31847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31849 2011-08-31 David S. Miller <davem@davemloft.net>
31851 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31853 Reimplement to do errno handling inline.
31854 (SYSCALL_ERROR_HANDLER): New macro.
31855 (__SYSCALL_STRING): Do not do errno handling in asm.
31856 (__CLONE_SYSCALL_STRING): Delete.
31857 (__INTERNAL_SYSCALL_STRING): Delete.
31858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31859 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31860 (PSEUDO): Reimplement to do errno handling inline.
31861 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31862 (SYSCALL_ERROR_HANDLER): New macro.
31863 (__SYSCALL_STRING): Do not do errno handling in asm.
31864 (__CLONE_SYSCALL_STRING): Delete.
31865 (__INTERNAL_SYSCALL_STRING): Delete.
31866 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31867 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31869 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31870 (inline_syscall*): Add 'err' argument.
31871 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31872 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31873 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31874 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31876 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31877 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31879 2011-08-30 Andreas Schwab <schwab@redhat.com>
31881 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31883 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31885 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31888 2011-08-24 David S. Miller <davem@davemloft.net>
31890 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31892 2011-08-24 Andreas Schwab <schwab@redhat.com>
31894 * elf/Makefile: Add rules to build and run unload8 test.
31895 * elf/unload8.c: New file.
31896 * elf/unload8mod1.c: New file.
31897 * elf/unload8mod1x.c: New file.
31898 * elf/unload8mod2.c: New file.
31899 * elf/unload8mod3.c: New file.
31901 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31904 2011-08-23 David S. Miller <davem@davemloft.net>
31906 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31907 subtract stack bias.
31908 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31909 %sp not %fp in calculations.
31910 (_JMPBUF_UNWINDS_ADJ): Likewise.
31912 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31913 (aio_suspend): Call it to force an exception region around the
31914 AIO_MISC_WAIT() invocation.
31916 2011-08-23 Andreas Schwab <schwab@redhat.com>
31918 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31921 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31923 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31925 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31926 and <dl-machine.h>.
31927 (Elf64_FuncDesc): Remove.
31929 2011-08-22 David S. Miller <davem@davemloft.net>
31931 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31932 sigaltstack check, add missing cfi directives.
31933 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31934 missing cfi directives, and sigaltstack handling.
31936 2011-08-16 Andreas Schwab <schwab@redhat.com>
31939 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31940 object is seen twice.
31941 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31943 * elf/Makefile (distribute): Add tst-initorder2.c.
31944 (tests): Add tst-initorder2.
31945 (modules-names): Add tst-initorder2a tst-initorder2b
31946 tst-initorder2c tst-initorder2d. Add rules to build them.
31947 ($(objpfx)tst-initorder2.out): New rule.
31948 * elf/tst-initorder2.c: New file.
31949 * elf/tst-initorder2.exp: New file.
31951 2011-08-22 Andreas Schwab <schwab@redhat.com>
31953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31955 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31956 dependencies back to end of function.
31958 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31959 $(elfobjdir)/ld.so.
31961 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31964 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31966 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31967 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31968 of __vdso_gettimeofday.
31969 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31970 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31972 (_libc_vdso_platform_setup): Remove initialization of
31973 __vdso_gettimeofday and __vdso_time.
31975 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31977 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31978 and fgetc_unlocked.
31979 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31982 * elf/dl-open.c (add_to_global): Report additions to the global scope
31983 for LD_DEBUG=scopes.
31984 (dl_open_worker): Also print scope of newly loaded dependencies.
31985 (_dl_show_scope): Indicate if there is no scope.
31988 * stdio-common/Makefile (tests): Add bug24.
31989 * stdio-common/bug24.c: New file.
31991 2011-08-19 Andreas Jaeger <aj@suse.de>
31994 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31995 non-existant file when using close-on-exec mode.
31997 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32000 the very first instruction.
32002 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32003 the CFI state in the end.
32004 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32005 inclusion of dl-trampoline.h.
32006 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32008 2011-08-19 Andreas Schwab <schwab@redhat.com>
32010 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32011 expectations for long double.
32013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32014 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32016 2011-08-14 David S. Miller <davem@davemloft.net>
32018 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32019 artificual limit depends upon the system page size.
32021 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32023 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32024 * resolv/Makefile: Define CFLAGS-libresolv.
32026 2011-08-17 Andreas Schwab <schwab@redhat.com>
32028 * nss/makedb.c (compute_tables): Make variables used in nested
32031 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32033 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32034 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32035 if buffer was too small.
32037 * elf/pldd.c (main): Attach to all threads in the process.
32038 Rewrite /proc handling to use *at functions.
32040 2011-08-16 Ulrich Drepper <drepper@gmail.com>
32042 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32043 specifies first scope to show.
32044 (dl_open_worker): Update callers. Move printing scope of new
32045 object to before the relocation.
32046 * elf/rtld.c (dl_main): Update _dl_show_scope call.
32047 * sysdeps/generic/ldsodefs.h: Update declaration.
32049 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32050 string for the scope number.
32052 2011-08-14 Ulrich Drepper <drepper@gmail.com>
32054 * nscd/servicescache.c (cache_addserv): Make sure written is always
32057 2011-08-14 Roland McGrath <roland@hack.frob.com>
32059 * sysdeps/i386/i486/bits/atomic.h
32060 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32061 statement expression, so as to suppress "set but not used" warning.
32062 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32064 * string/strncat.c (STRNCAT): Use prototype definition.
32066 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32067 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32069 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32070 (localedef-modules): Add localedef.
32071 (locale-modules): Add locale.
32073 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32074 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32075 to avoid a warning.
32077 2011-08-14 David S. Miller <davem@davemloft.net>
32079 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32080 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32082 2011-08-13 Ulrich Drepper <drepper@gmail.com>
32084 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32085 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32086 * elf/rtld.c (dl_main): Set l_name of vDSO.
32087 Call _dl_show_scope when DL_DEBUG_SCOPES.
32088 (process_dl_debug): Recognize scopes flag and also set it for all.
32089 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32090 Declare _dl_show_scope.
32092 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32093 (do_dlopen): Pass caller_dlopen to dl_open.
32094 (__libc_dlopen_mode): Initialize caller_dlopen.
32096 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32097 of libc. Make tolower call locale-independent. Optimize a bit by
32098 using isdigit instead of isalnum.
32099 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32101 2011-08-12 Ulrich Drepper <drepper@gmail.com>
32103 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32104 was a dependency or dynamically loaded.
32106 2011-08-11 Ulrich Drepper <drepper@gmail.com>
32108 * intl/l10nflist.c: Allow architecture-specific pop function.
32109 * sysdeps/x86_64/l10nflist.c: New file.
32111 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32114 2011-08-10 Andreas Schwab <schwab@redhat.com>
32116 * include/dirent.h: Add libc_hidden_proto for scandirat and
32117 scandirat64. Don't declare __scandirat64.
32118 * dirent/scandirat.c: Add libc_hidden_def.
32119 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32120 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32122 2011-08-10 David S. Miller <davem@davemloft.net>
32124 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32127 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32130 2011-08-09 Ulrich Drepper <drepper@gmail.com>
32132 * Versions.def [libc]: Add GLIBC_2.15.
32133 * dirent/Makefile (routines): Add scandirat and scandirat64.
32134 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32136 * dirent/dirent.h: Declare scandirat and scandirat64.
32137 * dirent/scandirat.c: New file.
32138 * dirent/scandirat64.c: New file.
32139 * sysdeps/wordsize-64/scandirat.c: New file.
32140 * sysdeps/wordsize-64/scandirat64.c: New file.
32141 * dirent/opendir.c: Define opendirat.
32142 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32144 * dirent/scandir64.c: Adjust for scandir.c change.
32145 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32146 __scandirat64, and __scandir_cancel_handler.
32147 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32148 additional parameter and use openat instead of open (outside of ld.so).
32149 Add new __opendir as wrapper around __opendirat.
32150 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32151 here without requiring old scandirat implementation.
32153 2011-08-08 Ulrich Drepper <drepper@gmail.com>
32155 * dirent/scandir.c (cancel_handler): Renamed to
32156 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32157 defined. Adjust users.
32158 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32159 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32161 2011-08-04 Ulrich Drepper <drepper@gmail.com>
32163 * string/test-string.h (IMPL): Use __STRING to expand name and then
32166 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32169 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32171 * string/Makefile: Update.
32172 (strop-tests): Append strncat.
32173 * string/test-wcscmp.c: New file.
32174 New comprehensive test for wcscmp.
32175 * string/test-strcmp.c: Update.
32176 (WIDE): New define.
32178 2011-07-22 Andreas Schwab <schwab@redhat.com>
32180 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32183 2011-07-26 Andreas Schwab <schwab@redhat.com>
32185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32186 encoding to ACE if AI_IDN.
32188 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32190 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32191 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32193 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32196 Fix overflow bug in strncat.
32197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32199 * string/test-strncat.c: Update.
32200 Add new tests for checking overflow bugs.
32202 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32205 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32206 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32207 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32208 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32209 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32210 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32211 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32212 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32215 (USE_AS_STRCAT): Define.
32216 Add strcat and strncat support.
32217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32219 2011-07-25 Andreas Schwab <schwab@redhat.com>
32221 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32222 __n bigger than INT_MAX+1.
32223 (__strncmp_g): Likewise.
32225 2011-07-23 Ulrich Drepper <drepper@gmail.com>
32227 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32228 * libio/stido.h: Likewise.
32230 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32235 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32236 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32237 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32238 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32242 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32247 (_dl_x86_64_save_sse): Likewise.
32249 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32253 (_dl_x86_64_save_sse): Likewise.
32255 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32257 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32259 2011-07-21 Andreas Schwab <schwab@redhat.com>
32261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32263 (_dl_x86_64_save_sse): Use correct AVX check.
32265 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32268 bug in strncpy/strncat.
32269 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32271 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32273 * string/tester.c (test_strcat): Add tests for different alignments
32274 of source and destination.
32275 (test_strncat): Likewise.
32277 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32280 * posix/glob.c (glob): Check passed in values before using them in
32281 expressions to avoid some overflows.
32282 (glob_in_dir): Likewise.
32285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32286 check for AVX enablement so that we don't crash with old kernels and
32288 * elf/tst-audit4.c: Add same checks here.
32289 * elf/tst-audit6.c: Likewise.
32291 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32293 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32295 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32297 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32299 * po/cs.po: Update from translation team.
32300 * po/bg.po: Likewise.
32302 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32304 * misc/sys/cdefs.h: Add support for const attribute.
32305 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32306 to gnu_dev_{major,minor,makedev} functions.
32308 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32310 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32312 2011-07-20 Andreas Schwab <schwab@redhat.com>
32314 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32317 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32320 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32321 register in order to avoid conflicts with the soft frame pointer
32322 being held in r11 when necessary.
32323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32324 (INTERNAL_VSYSCALL_NCS): Likewise.
32326 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32328 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32329 * elf/dl-fini.c (_dl_fini): Adjust caller.
32330 * elf/dl-close.c (_dl_close_worker): Likewise.
32331 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32333 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32335 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32336 "aux_cache->nlibs < 0".
32338 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32339 in the reload-count case.
32341 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32344 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32345 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32346 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32347 * sysdeps/x86_64/multiarch/strcat.S: New file.
32348 * sysdeps/x86_64/multiarch/strncat.S: New file.
32349 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32350 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32351 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32352 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32354 (USE_AS_STRCAT): Define.
32355 Add strcat and strncat support.
32356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32358 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32359 * string/strncat.c: Update.
32360 (USE_AS_STRNCAT): Define.
32361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32362 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32364 * sysdeps/x86_64/multiarch/init-arch.h
32365 (bit_Prefer_PMINUB_for_stringop): New.
32366 (index_Prefer_PMINUB_for_stringop): Likewise.
32367 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32368 bit_Prefer_PMINUB_for_stringop.
32370 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32372 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32374 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32375 of casting of buffer.
32376 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32377 buffer32 and buffer64.
32378 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32379 writes instead of casting of buffer.
32380 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32382 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32385 2011-07-19 Andreas Schwab <schwab@redhat.com>
32387 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32389 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32391 * nscd/nscd.c (termination_handler): Don't do anything for a database
32392 if it has not yet been initialized.
32394 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32396 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32398 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32400 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32402 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32404 * po/nl.po: Update from translation team.
32405 * po/sv.po: Likewise.
32407 2011-07-16 Roland McGrath <roland@hack.frob.com>
32409 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32410 now disallowed by GCC.
32412 * configure.in (use-default-link): Default to yes if a test -shared
32413 link meets our qualifications.
32414 * configure: Regenerated.
32416 * config.make.in (output-format): New variable.
32417 * configure.in: Check for ld --print-output-format support.
32418 * configure: Regenerated.
32419 * Makerules ($(common-objpfx)format.lds)
32420 [$(output-format) != unknown]: Just use $(output-format),
32421 instead of the linker-script munging.
32423 2011-07-14 Roland McGrath <roland@hack.frob.com>
32425 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32426 of $(common-objpfx)shlib.lds.
32427 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32429 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32430 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32432 * configure.in (-z relro check): Adjust test code to add a large
32433 writable data section after it.
32434 * configure: Regenerated.
32436 2011-07-11 Roland McGrath <roland@hack.frob.com>
32438 * configure.in (-z relro check): Fix test code to make the variable
32440 * configure: Regenerated.
32442 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32444 * nscd/nscd.h (struct traced_file): Define.
32445 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32446 elements. Add traced_files.
32447 (inotify_fd): Declare.
32448 (register_traced_file): Declare.
32449 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32450 (inotify_fd): Export.
32451 (resolv_conf_descr): Remove.
32452 (nscd_init): Move inotify descriptor creation to main.
32453 Don't register files for notification here.
32454 (register_traced_file): New function.
32455 (invalidate_cache): Don't use reset_res to determine whether to call
32456 res_init, go through the list of registered files.
32457 (main_loop_poll): The inotify descriptors are now stored in the
32458 structures for the traced files.
32459 (main_loop_epoll): Likewise
32460 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32461 to __nss_disable_nscd.
32462 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32463 for a database anymore. Check the records for all the registered
32465 * nss/Makefile (libnss_files-routines): Add files-init.
32466 (libnss_db-routines): Add db-init.
32467 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32468 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32469 * nss/nss_db/db-init.c: New file.
32470 * nss/nss_files/files-init.c: New file.
32471 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32472 __nss_lookup_function.
32473 (__nss_lookup_function): Call nss_load_library.
32474 (nss_load_all_libraries): New function.
32475 (__nss_disable_nscd): Take parameter with callback function for files
32476 to register. Set is_nscd. Load all the DSOs for the NSS modules
32477 used for the cached services.
32478 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32479 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32480 options for features to all the files in nscd.
32482 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32484 2011-07-10 Roland McGrath <roland@hack.frob.com>
32486 * csu/elf-init.c (__libc_csu_init): Comment typo.
32488 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32490 * po/pl.po: Update from translation team.
32491 * po/ja.po: Likewise.
32492 * po/ru.po: Likewise.
32493 * po/ko.po: Likewise.
32494 * po/fr.po: Likewise.
32496 2011-07-09 Roland McGrath <roland@hack.frob.com>
32498 * configure.in (.ctors/.dtors header and trailer check):
32499 Use an empirical test on a built program.
32500 * configure: Regenerated.
32502 * configure.in (-z relro check): Use an empirical test on a built DSO.
32503 Detect, but do not require, on ia64.
32504 * configure: Regenerated.
32506 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32507 Update tests that use readelf to use $READELF instead.
32508 * configure: Regenerated.
32510 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32512 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32513 if the result is not used.
32515 2011-07-05 Andreas Jaeger <aj@suse.de>
32518 * stdlib/tst-strtod.c: Add testcase.
32520 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32522 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32523 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32524 The latter has a higher limit. Take additional parameter to pass to
32526 (__pathconf): Pass file to __statfs_link_max.
32527 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32529 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32533 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32534 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32536 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32537 (__statfs_filesize_max): Likewise.
32538 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32540 2011-07-05 Andreas Jaeger <aj@suse.de>
32542 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32544 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32546 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32548 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32551 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32553 * Makefile (strop-tests): Add strncat.
32554 * string/test-strncat.c: New file.
32556 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32558 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32560 2011-06-21 Andreas Jaeger <aj@suse.de>
32562 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32563 Copy rule from iconvdata/Makefile.
32565 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32568 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32569 but no long options are defined, just return 'W'.
32571 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32574 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32576 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32578 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32580 (innetgr): Likewise.
32582 2011-07-05 Roland McGrath <roland@hack.frob.com>
32584 * config.make.in (install_root): Default to $(DESTDIR).
32586 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32588 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32590 2011-07-02 Roland McGrath <roland@hack.frob.com>
32592 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32594 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32595 containing directory rather than embedding absolute directory names.
32597 * scripts/check-local-headers.sh: Rewritten using awk.
32598 Match by word, not by line. Print error messages for matches.
32599 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32601 * Makerules [shlib-lds-flags empty]:
32602 ($(common-objpfx)libc_pic.opts): New target.
32603 ($(common-objpfx)libc_pic.os.clean): New target.
32604 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32606 * config.make.in (OBJCOPY): New variable.
32607 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32608 * configure: Regenerated.
32610 * config.make.in (use-default-link): New variable.
32611 * configure.in (use_default_link): Grok --with-default-link to set it.
32612 * configure: Regenerated.
32613 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32614 (shlib-lds, shlib-lds-flags): Define to empty.
32616 * Makerules (shlib-lds): New variable.
32617 (shlib-lds-flags): New variable.
32618 (build-shlib, build-moduile, build-module-asneeded): Use it.
32619 ($(common-objpfx)libc.so): Use $(shlib-lds).
32620 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32621 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32623 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32624 DT_FLAGS/DT_FLAGS_1 with zero flags.
32626 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32627 linker script munging.
32629 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32631 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32633 * crypt/sha512.c (sha512_process_block): Perform total addition using
32634 128-bit if possible.
32635 (__sha512_finish_ctx): Likewise.
32636 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32638 * crypt/sha256.c (SWAP64): Define.
32639 (sha256_process_block): Perform total addition using 64-bit if
32641 (__sha256_finish_ctx): Likewise.
32643 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32645 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32647 * nscd/hstcache.c (cache_addhst): Likewise.
32648 * nscd/grpcache.c (cache_addgr): Likewise.
32649 * nscd/aicache.c (addhstaiX): Likewise
32650 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32652 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32654 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32656 * nscd/hstcache.c (cache_addhst): Likewise.
32657 * nscd/grpcache.c (cache_addgr): Likewise.
32658 * nscd/aicache.c (addhstaiX): Likewise
32660 2011-07-01 Andreas Schwab <schwab@redhat.com>
32662 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32663 domain only when needed.
32665 2011-06-30 Andreas Schwab <schwab@redhat.com>
32667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32668 is always restored.
32670 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32672 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32673 are re-adding the entry.
32674 * nscd/servicescache.c (cache_addserv): Likewise.
32676 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32678 * sysdeps/generic/dl-irel.h: fix protection against multiple
32680 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32682 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32685 * malloc/memusage.sh: Fix quoting in message.
32686 * debug/xtrace.sh: Likewise.
32688 * configure.in: Remove support for --experimental-malloc option, make
32690 * config.make.in: Likewise.
32691 * malloc/Makefile: Likewise.
32693 2011-06-27 Andreas Schwab <schwab@redhat.com>
32695 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32696 two-byte characters.
32698 2011-06-27 Roland McGrath <roland@hack.frob.com>
32700 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32701 AC_CACHE_CHECK invocation.
32702 * configure: Regenerated.
32704 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32706 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32709 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32710 bit from old_res_options.
32712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32714 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32715 value type for setfct.
32717 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32719 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32720 __gettimeofday instead of gettimeofday.
32722 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32724 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32726 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32728 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32733 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32736 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32737 strcpy-sse2-unaligned strncpy-sse2-unaligned
32738 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32739 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32740 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32741 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32742 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32745 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32746 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32747 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32748 (STRCPY): Support SSE2 and SSSE3 versions.
32750 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32754 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32755 kernels which artificially limit size of requests.
32757 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32760 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32761 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32762 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32763 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32764 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32765 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32766 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32769 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32770 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32771 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32772 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32773 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32775 Enable unaligned load optimization for Intel Core i3, i5 and i7
32777 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32779 (index_Fast_Unaligned_Load): Define.
32780 (HAS_FAST_UNALIGNED_LOAD): Define.
32782 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32784 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32786 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32789 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32790 until it is clear that the information is realy needed.
32791 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32793 2011-06-22 Andreas Schwab <schwab@redhat.com>
32795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32797 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32800 /sys/devices/system/cpu/online if it is usable.
32802 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32803 reading the information from the /proc filesystem to once a second.
32805 2011-06-21 Andreas Jaeger <aj@suse.de>
32807 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32808 NULL after inclusion of kernel headers.
32810 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32812 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32813 calls to internal_setent.
32816 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32817 addresses using gethostbyname4_r ignore IPv4 addresses.
32819 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32820 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32822 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32824 2011-06-20 David S. Miller <davem@davemloft.net>
32826 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32828 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32830 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32831 (elf_irel): Use it.
32832 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32833 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32834 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32835 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32836 * sysdeps/x86_64/dl-irel.h: Likewise.
32838 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32839 * elf/dl-sym.c: Likewise.
32841 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32843 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32844 need to dereference resplen2.
32846 2011-06-14 Andreas Schwab <schwab@redhat.com>
32848 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32850 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32852 * Makeconfig: Define vardbdir and inst_vardbdir.
32853 * nss/Makefile: Add rules to install db-Makefile.
32855 * nss/nss_db/db-XXX.c: Cleanup.
32857 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32858 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32860 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32861 * nss/makedb.c: Implement -g option to specify that value strings
32862 are generated and should not be added to table iterated over for
32864 * nss/nss_db/db-initgroups.c: New file.
32866 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32869 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32870 (internal_getgrouplist): Adjust to name change.
32871 Update use_initgroups_entry if this is not the first call.
32872 * nss/databases.def: Add initgroups entry.
32874 * nss/makedb.c (compute_tables): Check result of multiple hash table
32875 sizes to minimize maximum chain length.
32877 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32879 * Versions.def: Add entry for libnss_db.
32880 * shlib-versions: Likewise.
32881 * nss/Makefile: Add rules to build libnss_db.
32882 * nss/Versions: Add libnss_db information. Organize libnss_files
32884 * nss/db-Makefile: Add gshadow support. Change rules for the new
32885 makedb progra. Some minor improvements to generate smaller files.
32886 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32888 * nss/makedb.c: ...here.
32889 Improve database format to be smaller and require less memory at
32891 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32893 * nss/nss_db/db-netgrp.c: Likewise.
32894 * nss/nss_db/db-open.c: Likewise.
32895 * nss/nss_files/flies-XXX.x: Adjust comments.
32896 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32897 * nss/nss_files/files-grp.c: Likewise.
32898 * nss/nss_files/files-hosts.c: Likewise.
32899 * nss/nss_files/files-network.c: Likewise.
32900 * nss/nss_files/files-proto.c: Likewise.
32901 * nss/nss_files/files-pwd.c: Likewise.
32902 * nss/nss_files/files-rpc.c: Likewise.
32903 * nss/nss_files/files-service.c: Likewise.
32904 * nss/nss_files/files-sgrp.c: Likewise.
32905 * nss/nss_files/files-spwd.c: Likewise.
32906 * nss/nss_db/db-alias.c: Removed.
32907 * nss/nss_db/dummy-db.h: Removed.
32909 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32911 * nss/makedb.c: Rewritten to not use database library.
32912 * nss/Makefile: Update to build new makedb program.
32914 2011-06-14 Andreas Jaeger <aj@suse.de>
32916 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32917 memset declaration.
32919 2011-06-10 Andreas Schwab <schwab@redhat.com>
32921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32924 2011-06-10 Roland McGrath <roland@hack.frob.com>
32926 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32927 * elf/Makefile ($(objpfx)ld.so): Likewise.
32929 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32930 Don't list ld.so twice in dependencies.
32932 * posix/bug-regex31.c: Include <stdlib.h>.
32934 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32936 * nis/nss_compat/compat-spwd.c
32937 (getspent_next_nss_netgr): Remove unused variable.
32938 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32940 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32941 nonmembers" output to use the right array.
32943 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32945 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32947 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32948 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32949 * catgets/gencat.c (read_input_file): Likewise.
32950 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32952 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32953 variable definition inside #if's controlling its use.
32955 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32957 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32959 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32961 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32964 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32966 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32967 * configure: Regenerated.
32969 * Makerules: Revert last change.
32970 * elf/Makefile: Likewise.
32972 2011-06-09 Roland McGrath <roland@hack.frob.com>
32974 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32975 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32976 (reloc-link): Likewise.
32978 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32980 * elf/Makefile: Add rules to build pldd.
32981 * elf/pldd.c: New file.
32982 * elf/pldd-xx.c: New file.
32984 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32986 * version.h: Update for 2.15 development version.
32988 2011-06-07 David S. Miller <davem@davemloft.net>
32990 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32992 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32993 elf_machine_lazy_rel): Likewise.
32994 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32995 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32996 elf_machine_lazy_rel): Likewise.
32997 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32998 dl_hwcap via passed in argument.
32999 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33002 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33004 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33006 2011-06-06 Roland McGrath <roland@hack.frob.com>
33009 * manual/fdl-1.1.texi: New file, verbatim from:
33010 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33011 * manual/lgpl-2.1.texi: New file, verbatim from:
33012 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33013 * manual/Makefile (licenses): New variable, list those new file names.
33015 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33017 * manual/fdl.texi: File removed.
33018 * manual/lesser.texi: File removed.
33019 * manual/libc.texinfo (Copying, Documentation License):
33020 Use new @include file names, put @appendix directive before @include.
33022 2011-06-04 Jakub Jelinek <jakub@redhat.com>
33025 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33026 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33027 (mq_open): Add __NTH.
33029 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33032 Assume Intel Core i3/i5/i7 processor if AVX is available.
33034 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33036 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33039 2011-05-31 Andreas Schwab <schwab@redhat.com>
33041 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33042 memory. Use alloca_account. Fix memory leak when retrying.
33044 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33046 * version.h (RELEASE): Bump for 2.14 release.
33047 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33049 * config.make.in (RANLIB): Remove entry.
33051 2011-05-30 Ulrich Drepper <drepper@gmail.com>
33053 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33054 (libc.pot): Work around missing support for .ksh extension in xgettext.
33057 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33058 if both request failed.
33059 (send_dg): In case of server errors clear resplen or *resplen2.
33062 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33063 when there are multiple maps.
33064 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33065 (_dl_fini): Remove test here.
33067 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33069 2011-05-29 Ulrich Drepper <drepper@gmail.com>
33072 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33073 bit from old_res_options.
33074 (gaih_inet): Likewise.
33077 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33080 * resolv/res_init.c (res_setoptions): Make the code more compact.
33083 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33087 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33089 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33092 * malloc/malloc.h: Declare malloc hook variables as volatile.
33094 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33098 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33099 raise in the comment.
33100 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33101 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33102 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33104 2011-05-28 Ulrich Drepper <drepper@gmail.com>
33107 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33108 grow the buffers more if it already has to be sufficient.
33109 (build_wcs_upper_buffer): Likewise.
33110 * posix/regexec.c (check_matching): Likewise.
33111 (clean_state_log_if_needed): Likewise.
33112 (extend_buffers): Don't enlarge buffers beyond size of the input
33114 Patches mostly by Emil Wojak <emil@wojak.eu>.
33115 * posix/bug-regex32.c: New file.
33116 * posix/Makefile (tests): Add bug-regex32.
33118 * locale/findlocale.c (_nl_find_locale): Return right away if
33119 _nl_explode_name failed.
33120 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33122 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33124 * debug/xtrace.sh: Unify messages.
33125 * malloc/memusage.sh: Likewise.
33128 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33129 time symbol from vDSO. Substitute with vsyscall if not available.
33130 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33133 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33134 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33135 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33136 Add sendmmsg and internal_sendmmsg.
33137 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33138 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33141 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33142 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33143 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33145 2011-05-27 Ulrich Drepper <drepper@gmail.com>
33148 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33149 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33155 * iconvdata/Makefile (tests): Add bug-iconv9.
33156 * iconvdata/bug-iconv9.c: New file.
33158 2011-05-27 Andreas Schwab <schwab@redhat.com>
33161 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33163 2011-05-25 Jakub Jelinek <jakub@redhat.com>
33165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33166 (struct user_regs_struct): Change intcs field back to cs.
33168 2011-05-25 Ulrich Drepper <drepper@gmail.com>
33170 * po/ja.po: Update from translation team.
33172 2011-05-23 Ulrich Drepper <drepper@gmail.com>
33175 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33176 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33178 2011-05-20 Andreas Schwab <schwab@redhat.com>
33180 * stdlib/longlong.h: Update from GCC.
33182 2011-05-23 Andreas Schwab <schwab@redhat.com>
33184 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33186 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33187 Add parameter name.
33188 (__sysconf): Pass it down.
33190 2011-05-22 Ulrich Drepper <drepper@gmail.com>
33193 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33195 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33196 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33197 add in in __libc_use_alloca calls. Adjust callers.
33198 (glob): Use malloc in some situations.
33200 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33201 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33204 2011-05-21 Ulrich Drepper <drepper@gmail.com>
33206 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33207 and CLOCK_BOOTTIME_ALARM.
33210 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33213 * string/_strerror.c (__strerror_r): Print negative errors as signed
33217 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33218 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33219 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33221 * configure.in: Fix typo in redirection and correct removal of test
33222 files in two cases.
33225 * locale/setlocale.c (new_composite_name): Fix test to check for
33226 identical name of all categories.
33229 * libio/filedoalloc.c (local_isatty): New function.
33230 (_IO_file_doallocate): Use local_isatty.
33231 * stdio-common/perror.c (perror): In case a new stream is used
33232 forward the stream error.
33233 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33236 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33241 * include/alloca.h (extend_alloca_account): Define.
33244 * posix/regex.h: Fix comments with documentation of user-accessible
33245 fields after compilation and describe correct free'ing of pattern
33246 after re_compile_pattern.
33247 Patch by Reuben Thomas <rrt@sc3d.org>.
33249 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33251 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33252 and -mno-altivec to prevent the compiler from using Altivec and/or
33253 VSX instructions when the corresponding registers are not available.
33255 2011-05-19 Andreas Schwab <schwab@redhat.com>
33257 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33259 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33261 * libio/freopen.c (freopen): Use __dup2, not dup2.
33262 * libio/freopen64.c (freopen64): Likewise.
33264 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33267 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33268 * math/Makefile (tests): Add test-powl.
33269 (CFLAGS-test-powl.c): Define.
33270 * math/test-powl.c: New file.
33272 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33274 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33276 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33279 * iconvdata/gb18030.c: Update to GB18020-2005.
33281 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33283 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33284 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33285 Patch by Aharon Robbins <arnold@skeeve.com>.
33288 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33292 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33293 through underflows.
33296 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33297 point to strings before performing equality test for error_one_per_line
33301 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33304 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33305 (struct user_fpregs_struct): Avoid __uint*_t types.
33308 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33309 symbol info. Use it instead of calling _dl_addr locally.
33310 (lock_and_info): New function.
33311 (tr_freehook): Call lock_and_info and pass symbol info as additional
33312 parameter to tr_where.
33313 (tr_mallochook): Likewise.
33314 (tr_reallochook): Likewise.
33315 (tr_memalignhook): Likewise.
33317 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33318 used and couldn't be at all thread-safe.
33320 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33322 * libio/freopen.c (freopen): Don't close old file descriptor
33323 before the new one is opened. Instead dup the new file descriptor
33324 to the old one after the new stream is created.
33325 * libio/freopen64.c (freopen64): Likewise.
33326 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33327 * libio/fileops.c (_IO_new_file_close_it): Handle new
33328 _IO_FLAGS2_NOCLOSE flag.
33329 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33330 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33331 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33332 _IO_FLAGS2_NOCLOSE flag.
33333 * include/unistd.h: Add hidden_proto for dup3.
33334 Define __have_dup3.
33335 * io/dup3.c: Define hidden symbol.
33336 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33339 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33340 when an incomplete long option is used.
33341 * posix/tst-getopt_long1.c: New file.
33342 * posix/Makefile (tests): Add tst-getopt_long1.
33345 * scripts/config.guess: Update from autoconf-2.68.
33346 * scripts/config.sub: Likewise.
33349 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33351 (has_cpuclock): ...this. New function.
33352 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33353 macro here based on has_cpuclock code.
33356 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33357 First byte (not low byte) is now always NUL.
33358 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33361 Use non-cancelable interfaces.
33364 * locale/iso-639.def: Add entry for Sorani.
33367 * include/stdlib.h: Move include protection to the right place.
33368 Define abort_msg_s. Declare __abort_msg with it.
33369 * stdlib/abort.c (__abort_msg): Adjust type.
33370 * assert/assert.c (__assert_fail_base): New function. Majority
33371 of code from __assert_fail. Allocate memory for __abort_msg with
33373 (__assert_fail): Now call __assert_fail_base.
33374 * assert/assert-perr.c: Remove bulk of implementation. Use
33375 __assert_fail_base.
33376 * include/assert.hL Declare __assert_fail_base.
33377 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33379 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33381 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33385 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33386 until all modules are registered in the DTV.
33387 * elf/Makefile: Add rules to build and run tst-tls19.
33388 * elf/tst-tls19.c: New file.
33389 * elf/tst-tls19mod1.c: New file.
33390 * elf/tst-tls19mod2.c: New file.
33391 * elf/tst-tls19mod3.c: New file.
33392 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33395 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33399 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33400 two-byte sequence errors.
33401 * iconvdata/Makefile (tests): Add bug-iconv8.
33402 * iconvdata/bug-iconv8.c: New file.
33405 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33408 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33411 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33412 (dummy_getcfa): New function.
33413 (init): Get _Unwind_GetCFA address, use dummy if not found.
33414 (backtrace_helper): In recursion check, also check whether CFA changes.
33415 (__backtrace): Completely initialize arg.
33417 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33418 storing incomplete byte sequence in state object. Avoid testing for
33419 guaranteed too small input if we know there is enough data available.
33421 2011-05-11 Andreas Schwab <schwab@redhat.com>
33423 * Makeconfig (+link-pie): Indent.
33424 * Rules (binaries-pie): Define if $(have-fpie) and
33426 (binaries-shared): Also filter out $(binaries-pie).
33427 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33428 * nscd/Makefile (others-pie): Add nscd.
33429 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33430 ($(objpfx)nscd): Remove command override.
33431 * login/Makefile (others-pie): Add pt_chown.
33432 ($(objpfx)pt_chown): Remove command override.
33433 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33434 remove command overrides.
33436 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33438 * libio/tst_putwc.c: Fix error messages.
33441 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33442 currently writing and seek to current position when not.
33443 * libio/Makefile (tests): Add bug-fclose1.
33444 * libio/bug-fclose1.c: New file.
33446 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33449 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33450 don't set DF_1_NODELETE here.
33451 (do_lookup_x): When entering new entry test for copy relocation
33452 and if necessary set DF_1_NODELETE flag.
33453 * elf/tst-unique4.cc: New file.
33454 * elf/tst-unique4.h: New file.
33455 * elf/tst-unique4lib.cc: New file.
33456 * elf/Makefile: Add rules to build and run tst-unique4.
33457 Patch by Piotr Bury <pbury@goahead.com>.
33459 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33462 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33465 * misc/mntent_r.c (addmntent): Flush the stream after the output
33468 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33469 (is_trusted_path_normalize): Skip initial colon. Append slash
33470 to empty buffer. Duplicate is_trusted_path code but allow
33471 constructed patch to be prefix.
33472 (is_dst): Allow $ORIGIN followed by /.
33473 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33474 Correct testing of result of is_trusted_path_normalize
33475 (decompose_rpath): Fix warning.
33477 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33480 * grp/initgroups.c (internal_getgrouplist): When we found the service
33481 list through the initgroups entry in nsswitch.conf do not always
33482 continue on a successful lookup. Don't always use the
33483 __nss_group_database value if it is set.
33484 * nss/nsswitch.conf (initgroups): Change action for successful db
33485 lookup to continue for compatibility.
33487 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33490 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33492 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33494 * iconvdata/tst-tables.sh: Likewise.
33495 * iconvdata/cp770.c: New file.
33496 * iconvdata/cp771.c: New file.
33497 * iconvdata/cp772.c: New file.
33498 * iconvdata/cp773.c: New file.
33499 * iconvdata/cp774.c: New file.
33500 * iconvdata/testdata/CP770: New file.
33501 * iconvdata/testdata/CP770..UTF8: New file.
33502 * iconvdata/testdata/CP771: New file.
33503 * iconvdata/testdata/CP771..UTF8: New file.
33504 * iconvdata/testdata/CP772: New file.
33505 * iconvdata/testdata/CP772..UTF8: New file.
33506 * iconvdata/testdata/CP773: New file.
33507 * iconvdata/testdata/CP773..UTF8: New file.
33508 * iconvdata/testdata/CP774: New file.
33509 * iconvdata/testdata/CP774..UTF8: New file.
33511 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33513 * iconvdata/gen-8bit-gap.sh: Likewise.
33514 * iconvdata/gen-8bit.sh: Likewise.
33516 * locale/iso-639.def: Add ary entry.
33519 * locale/C-translit.h.in: Add U20A1 transliteration.
33522 * locale/iso-639.def: Add wae entry.
33523 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33526 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33530 * locale/C-translit.h.in: Add entry for U20B9.
33531 Patch by pravin.d.s@gmail.com.
33533 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33536 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33537 ENAMETOOLONG use generic getcwd.
33538 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33539 in rtld. Use *stat64.
33540 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33541 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33542 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33543 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33544 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33545 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33546 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33547 __fstatat64 macros.
33548 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33549 * dirent/rewinddir.c: Add libc_hidden_def.
33550 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33551 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33553 * include/dirent.h (__alloc_dir): Add flags parameter.
33554 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33555 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33557 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33558 from fdopendir if O_CLOEXEC is already set.
33560 2011-03-15 Alan Modra <amodra@gmail.com>
33562 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33563 l_tls_firstbyte_offset non-zero. Save padding offset in
33564 l_tls_firstbyte_offset for later use.
33565 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33566 freeing static tls block.
33568 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33570 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33571 where #ifdef was intended. The intent is to prevent ARG_MAX from
33572 being defined by the kernel headers.
33574 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33577 * resolv/resolv.h: Define RES_NOTLDQUERY.
33578 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33579 no-tld-query and set RES_NOTLDQUERY.
33580 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33581 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33582 modern BIND to search name as TLD unless forbidden.
33584 2011-05-07 Petr Baudis <pasky@suse.cz>
33585 Ulrich Drepper <drepper@gmail.com>
33588 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33589 (is_trusted_path): ...to here.
33590 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33591 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33592 using is_trusted_path_normalize() in setuid scripts.
33594 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33596 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33597 __BEGIN/__END_DECLS.
33599 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33602 NSS_STATUS_NOTFOUND if no record was found.
33604 2011-05-05 Andreas Schwab <schwab@redhat.com>
33606 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33607 (headers-not-in-tirpc): Remove rpc/netdb.h
33608 * resolv/netdb.h: Revert last change.
33610 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33612 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33613 circular dependency between libgcc.a and libc.a.
33615 2011-05-05 Andreas Schwab <schwab@redhat.com>
33617 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33618 * nis/Makefile: Don't install rpcsvc/*.
33619 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33620 instead of <rpc/types.h>.
33621 (MAXHOSTNAMELEN): Define.
33623 2011-05-03 Andreas Schwab <schwab@redhat.com>
33625 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33627 2011-04-28 Maciej Babinski <mbabinski@google.com>
33630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33631 gethostbyname4_r when IPv6 results are possible.
33633 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33636 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33637 _PC_PIPE_BUF handling.
33639 2011-04-30 Bruno Haible <bruno@clisp.org>
33642 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33643 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33645 * inet/getnameinfo.c (getnameinfo): Likewise.
33647 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33649 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33650 to groups setting in database lookup.
33651 * nss/nsswitch.conf: Add initgroups entry.
33653 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33656 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33658 Patch by Eric Blake <eblake@redhat.com>.
33660 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33662 * sunrpc/Makefile (need-export-routines): Add svc_run.
33663 (routines): Remove svc_run.
33664 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33665 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33666 * sunrpc/svc_run.c (svc_run): Likewise.
33667 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33669 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33672 problem in reallocation in last patch.
33674 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33676 * sunrpc/Makefile: Move inclusion of Rules.
33678 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33680 * nss/nss_files/files-initgroups.c: New file.
33681 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33682 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33683 _nss_files_initgroups_dyn.
33685 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33687 * elf/elf.h (R_ARM_IRELATIVE): Define.
33689 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33691 * po/ru.po: Update from translation team.
33693 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33695 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33698 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33701 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33702 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33703 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33704 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33705 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33707 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33709 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33711 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33712 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33713 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33715 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33718 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33720 * stdlib/bug-getcontext.c: New file.
33721 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33723 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33725 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33726 instructions into .machine "z9-109".
33727 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33728 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33730 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33732 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33733 between environment variables and auxiliary vector.
33735 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33737 * Makefile: Add rules to build linkobj/libc.so.
33738 * include/libc-symbols.h: Define libc_hidden_nolink.
33739 * include/rpc/auth.h: Mark functions which are to be hidden.
33740 * include/rpc/auth_des.h: Likewise.
33741 * include/rpc/auth_unix.h: Likewise.
33742 * include/rpc/clnt.h: Likewise.
33743 * include/rpc/des_crypt.h: Likewise.
33744 * include/rpc/key_prot.h: Likewise.
33745 * include/rpc/pmap_clnt.h: Likewise.
33746 * include/rpc/pmap_prot.h: Likewise.
33747 * include/rpc/pmap_rmt.h: Likewise.
33748 * include/rpc/rpc_msg.h: Likewise.
33749 * include/rpc/svc.h: Likewise.
33750 * include/rpc/svc_auth.h: Likewise.
33751 * include/rpc/xdr.h: Likewise.
33752 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33753 * nss/Makefile: Likewise.
33754 * sunrpc/Makefile: Don't install headers. Build library with normal
33755 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33756 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33757 for the compat linking library. Remove use of INTDEF/INTUSE.
33758 * sunrpc/auth_none.c: Likewise.
33759 * sunrpc/auth_unix.c: Likewise.
33760 * sunrpc/authdes_prot.c: Likewise.
33761 * sunrpc/authuxprot.c: Likewise.
33762 * sunrpc/clnt_gen.c: Likewise.
33763 * sunrpc/clnt_perr.c: Likewise.
33764 * sunrpc/clnt_raw.c: Likewise.
33765 * sunrpc/clnt_simp.c: Likewise.
33766 * sunrpc/clnt_tcp.c: Likewise.
33767 * sunrpc/clnt_udp.c: Likewise.
33768 * sunrpc/clnt_unix.c: Likewise.
33769 * sunrpc/des_crypt.c: Likewise.
33770 * sunrpc/des_soft.c: Likewise.
33771 * sunrpc/get_myaddr.c: Likewise.
33772 * sunrpc/key_call.c: Likewise.
33773 * sunrpc/key_prot.c: Likewise.
33774 * sunrpc/netname.c: Likewise.
33775 * sunrpc/pm_getmaps.c: Likewise.
33776 * sunrpc/pm_getport.c: Likewise.
33777 * sunrpc/pmap_clnt.c: Likewise.
33778 * sunrpc/pmap_prot.c: Likewise.
33779 * sunrpc/pmap_prot2.c: Likewise.
33780 * sunrpc/pmap_rmt.c: Likewise.
33781 * sunrpc/publickey.c: Likewise.
33782 * sunrpc/rpc_cmsg.c: Likewise.
33783 * sunrpc/rpc_common.c: Likewise.
33784 * sunrpc/rpc_dtable.c: Likewise.
33785 * sunrpc/rpc_prot.c: Likewise.
33786 * sunrpc/rpc_thread.c: Likewise.
33787 * sunrpc/rtime.c: Likewise.
33788 * sunrpc/svc.c: Likewise.
33789 * sunrpc/svc_auth.c: Likewise.
33790 * sunrpc/svc_authux.c: Likewise.
33791 * sunrpc/svc_raw.c: Likewise.
33792 * sunrpc/svc_run.c: Likewise.
33793 * sunrpc/svc_simple.c: Likewise.
33794 * sunrpc/svc_tcp.c: Likewise.
33795 * sunrpc/svc_udp.c: Likewise.
33796 * sunrpc/svc_unix.c: Likewise.
33797 * sunrpc/svcauth_des.c: Likewise.
33798 * sunrpc/xcrypt.c: Likewise.
33799 * sunrpc/xdr.c: Likewise.
33800 * sunrpc/xdr_array.c: Likewise.
33801 * sunrpc/xdr_float.c: Likewise.
33802 * sunrpc/xdr_intXX_t.c: Likewise.
33803 * sunrpc/xdr_mem.c: Likewise.
33804 * sunrpc/xdr_rec.c: Likewise.
33805 * sunrpc/xdr_ref.c: Likewise.
33806 * sunrpc/xdr_sizeof.c: Likewise.
33807 * sunrpc/xdr_stdio.c: Likewise.
33809 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33812 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33813 * sysdeps/ia64/dl-tls.h: Likewise.
33814 * sysdeps/powerpc/dl-tls.h: Likewise.
33815 * sysdeps/s390/dl-tls.h: Likewise.
33816 * sysdeps/sh/dl-tls.h: Likewise.
33817 * sysdeps/sparc/dl-tls.h: Likewise.
33818 * sysdeps/x86_64/dl-tls.h: Likewise.
33819 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33821 2011-03-14 Andreas Schwab <schwab@redhat.com>
33823 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33824 rpath element also skip the following colon.
33825 (expand_dynamic_string_token): Add is_path parameter and pass
33826 down to DL_DST_REQUIRED and _dl_dst_substitute.
33827 (decompose_rpath): Call expand_dynamic_string_token with
33828 non-zero is_path. Ignore empty rpaths.
33829 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33832 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33837 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33840 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33841 Patch by Filipe David Manana <fdmanana@apache.org>.
33843 2011-04-07 Andreas Schwab <schwab@redhat.com>
33845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33846 Maintain aligned stack.
33847 (CHECK_RSP): Remove unused macro.
33849 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33851 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33852 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33854 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33856 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33858 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33860 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33863 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33864 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33865 * sysdeps/x86_64/memmove.c: New file.
33866 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33867 (memcpy): Renamed to ...
33868 (__new_memcpy): This.
33869 (memcpy): Provide GLIBC_2_14 memcpy.
33870 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33871 (memcpy): Provide GLIBC_2_2_5 memcpy.
33873 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33876 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33878 2011-03-30 Andreas Schwab <schwab@redhat.com>
33880 * misc/syncfs.c: New file.
33881 * misc/Makefile (routines): Add syncfs.
33882 * posix/unistd.h: Declare syncfs.
33883 * sysdeps/unix/syscalls.list: Add syncfs.
33885 2011-04-01 Andreas Schwab <schwab@redhat.com>
33887 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33890 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33892 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33894 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33897 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33901 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33907 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33908 sync_file_range.c with -fexceptions.
33909 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33910 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33911 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33912 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33913 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33914 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33915 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33916 sync_file_range as cancellation point
33917 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33918 now a wrapper around __call_sync_file_range with cancellation handling.
33919 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33920 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33921 function name to __call_sync_file_range.
33922 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33923 Add call_sync_file_range.
33925 2011-04-01 Andreas Schwab <schwab@redhat.com>
33927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33930 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33932 * iconv/iconv.h: Fix typo in comment.
33933 * io/fcntl.h: Likewise.
33934 * libio/stdio.h: Likewise.
33935 * posix/spawn.h: Likewise.
33936 * posix/unistd.h: Likewise.
33937 * stdlib/stdlib.h: Likewise.
33938 * time/time.h: Likewise.
33939 * wcsmbs/wchar.h: Likewise.
33941 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33942 open_by_handle): Add.
33943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33944 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33945 Augment a few comments.
33946 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33948 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33950 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33951 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33954 * io/fcntl.h (AT_EMPTY_PATH): Define.
33956 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33958 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33959 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33960 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33962 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33963 * Versions.def: Add GLIBC_2.14.
33964 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33967 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33969 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33971 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33973 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33976 * string/test-strncmp.c (do_page_test): New function.
33977 (check2): Likewise.
33978 (test_main): Call check2.
33979 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33981 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33985 Handle cache information in CPU leaf 4.
33986 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33988 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33991 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33992 character representation.
33993 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33995 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33997 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33998 END(__isnan) to END(__isnanf) to match function entry point/label
33999 EALIGN(__isnanf,...).
34001 2011-03-10 Jakub Jelinek <jakub@redhat.com>
34003 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34005 2011-03-10 Ulrich Drepper <drepper@gmail.com>
34008 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34009 copy from the symbol referenced in the relocation to initialize the
34011 Patch by Piotr Bury <pbury@goahead.com>.
34012 * elf/Makefile: Add rules to build and tst-unique3.
34013 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34014 * elf/tst-unique3.cc: New file.
34015 * elf/tst-unique3.h: New file.
34016 * elf/tst-unique3lib.cc: New file.
34017 * elf/tst-unique3lib2.cc: New file.
34019 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34021 2011-03-10 Mike Frysinger <vapier@gentoo.org>
34023 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34024 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34027 2011-03-06 Ulrich Drepper <drepper@gmail.com>
34029 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34030 to-be-loaded object along a path to loader is ld.so.
34032 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34033 Ulrich Drepper <drepper@gmail.com>
34035 * sysdeps/x86_64/memset.S: After aligning destination, code
34036 branches to different locations depending on the value of
34037 misalignment, when multiarch is enabled. Fix this.
34039 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34041 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34042 Set _x86_64_preferred_memory_instruction for AMD processsors.
34043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34044 Set bit_Prefer_SSE_for_memop for AMD processors.
34046 2011-03-04 Ulrich Drepper <drepper@gmail.com>
34048 * libio/fmemopen.c (fmemopen): Optimize a bit.
34050 2011-03-03 Andreas Schwab <schwab@redhat.com>
34052 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34054 2011-03-03 Roland McGrath <roland@redhat.com>
34056 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34058 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34060 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34061 __bzero_ultra1 instead of __memset_ultra1.
34063 2011-02-23 Andreas Schwab <schwab@redhat.com>
34064 Ulrich Drepper <drepper@gmail.com>
34067 * include/link.h (struct link_map): Add l_orig_initfini.
34068 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34069 returning unsuccessfully.
34070 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34071 close of a file loaded at startup, restore the original l_initfini
34073 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34074 list, store the pointer.
34075 * elf/Makefile ($(objpfx)noload-mem): New rule.
34076 (noload-ENV): Define.
34077 (tests): Add $(objpfx)noload-mem.
34078 * elf/noload.c: Include <memcheck.h>.
34079 (main): Call mtrace. Close all opened handles.
34081 2011-02-17 Andreas Schwab <schwab@redhat.com>
34084 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34085 dependencies are missing.
34087 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34089 Fix __if_freereq crash: Unlike the generic version which uses free,
34091 * sysdeps/mach/hurd/ifreq.h: New file.
34093 2011-01-27 Petr Baudis <pasky@suse.cz>
34094 Ulrich Drepper <drepper@gmail.com>
34097 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34098 to extend_alloca().
34099 * stdio-common/bug23.c: New file.
34100 * stdio-common/Makefile (tests): Add bug23.
34102 2010-09-28 Andreas Schwab <schwab@redhat.com>
34103 Ulrich Drepper <drepper@gmail.com>
34106 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34107 before performing relro protection. At old place add assertion
34108 to make sure nothing changed.
34110 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34111 Glauber de Oliveira Costa <glommer@gmail.com>
34113 * elf/elf.h: Add new ARM TLS relocs.
34115 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34118 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34120 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34122 * sysdeps/wordsize-64/tst-writev.c: New file.
34124 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34126 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34127 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34128 insns in _dl_start to prevent a TOC reference before relocs are
34131 2011-02-15 Ulrich Drepper <drepper@gmail.com>
34134 * Makeconfig: Remove RANLIB definition.
34135 * Makerules: Don't use RANLIB.
34136 * aclocal.m4: Remove ranlib test.
34137 * configure.in: No need to check for ranlib.
34138 * elf/rtld-Rules: Don't use RANLIB.
34140 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34142 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34144 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34145 inclusion protection macro.
34147 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34148 SIGRTMIN and SIGRTMAX and print information in that case only when
34149 SIGRTMIN is defined.
34151 2011-02-11 Jakub Jelinek <jakub@redhat.com>
34153 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34154 arginfo fn returning -1.
34156 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34157 and thousands string is zero terminated.
34159 2011-02-03 Andreas Schwab <schwab@redhat.com>
34161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34162 sysdeps/unix/sysv/linux/bits/socket.h.
34164 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34166 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34167 (__CPU_COUNT): Remove old macros.
34168 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34169 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34170 (__CPU_ALLOC, __CPU_FREE): Add macros.
34171 (__sched_cpualloc, __sched_cpufree): Add declarations.
34173 2011-02-05 Ulrich Drepper <drepper@gmail.com>
34175 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34176 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34177 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34178 (readdhstai): Return value of addhstaiX call.
34179 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34180 (addgrbyX): Return value returned by cache_addgr.
34181 (readdgrbyname): Return value returned by addgrbyX.
34182 (readdgrbygid): Likewise.
34183 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34184 (addpwbyX): Return value returned by cache_addpw.
34185 (readdpwbyname): Return value returned by addhstbyX.
34186 (readdpwbyuid): Likewise.
34187 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34188 (addservbyX): Return value returned by cache_addserv.
34189 (readdservbyname): Return value returned by addservbyX:
34190 (readdservbyport): Likewise.
34191 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34192 (addhstbyX): Return value returned by cache_addhst.
34193 (readdhstbyname): Return value returned by addhstbyX.
34194 (readdhstbyaddr): Likewise.
34195 (readdhstbynamev6): Likewise.
34196 (readdhstbyaddrv6): Likewise.
34197 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34198 (readdinitgroups): Return value returned by addinitgroupsX.
34199 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34200 (prune_cache): Keep track of timeout value of re-added entries.
34201 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34202 * nscd/nscd.h: Adjust prototypes of readd* functions.
34204 2011-02-04 Roland McGrath <roland@redhat.com>
34206 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34207 (nis_stats): Likewise.
34208 * nis/nis_modify.c (nis_modify): Likewise.
34209 * nis/nis_remove.c (nis_remove): Likewise.
34210 * nis/nis_add.c (nis_add): Likewise.
34212 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34214 * posix/fnmatch_loop.c: Add some consts.
34216 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34218 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34221 * config.make.in (config-cflags-novzeroupper): Define.
34222 * configure.in: Substitute libc_cv_cc_novzeroupper.
34223 * elf/Makefile (AVX-CFLAGS): Define.
34224 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34225 (CFLAGS-tst-auditmod4a.c): Likewise.
34226 (CFLAGS-tst-auditmod4b.c): Likewise.
34227 (CFLAGS-tst-auditmod6b.c): Likewise.
34228 (CFLAGS-tst-auditmod6c.c): Likewise.
34229 (CFLAGS-tst-auditmod7b.c): Likewise.
34230 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34232 2011-02-02 Ulrich Drepper <drepper@gmail.com>
34234 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34235 function to the callback.
34236 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34238 2011-02-02 Andreas Schwab <schwab@redhat.com>
34240 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34243 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34246 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34248 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34250 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34253 * elf/Makefile: Add rules to build and run new test.
34254 * elf/tst-initorder.c: New file.
34255 * elf/tst-initorder.exp: New file.
34256 * elf/tst-initordera1.c: New file.
34257 * elf/tst-initordera2.c: New file.
34258 * elf/tst-initordera3.c: New file.
34259 * elf/tst-initordera4.c: New file.
34260 * elf/tst-initorderb1.c: New file.
34261 * elf/tst-initorderb2.c: New file.
34262 * elf/tst-order-a1.c: New file.
34263 * elf/tst-order-a2.c: New file.
34264 * elf/tst-order-a3.c: New file.
34265 * elf/tst-order-a4.c: New file.
34266 * elf/tst-order-b1.c: New file.
34267 * elf/tst-order-b2.c: New file.
34268 * elf/tst-order-main.c: New file.
34269 New test case by George Gensure <werkt0@gmail.com>.
34271 2010-10-01 Andreas Schwab <schwab@redhat.com>
34273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34274 decoding ACE if AI_CANONIDN.
34276 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34278 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34280 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34282 * version.h (RELEASE): Bump for 2.13 release.
34283 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34285 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34287 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34289 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34290 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34292 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34294 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34296 * posix/getconf.c: Update copyright year.
34297 * catgets/gencat.c: Likewise.
34298 * csu/version.c: Likewise.
34299 * debug/catchsegv.sh: Likewise.
34300 * debug/xtrace.sh: Likewise.
34301 * elf/ldconfig.c: Likewise.
34302 * elf/ldd.bash.in: Likewise.
34303 * elf/sprof.c (print_version): Likewise.
34304 * iconv/iconv_prog.c: Likewise.
34305 * iconv/iconvconfig.c: Likewise.
34306 * locale/programs/locale.c: Likewise.
34307 * locale/programs/localedef.c: Likewise.
34308 * malloc/memusage.sh: Likewise.
34309 * malloc/mtrace.pl: Likewise.
34310 * nscd/nscd.c (print_version): Likewise.
34311 * nss/getent.c: Likewise.
34313 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34314 PF_CAIF, and PF_ALG.
34315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34317 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34319 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34320 (modules-names): Use them.
34321 (ifunc-test-modules, ifunc-pie-tests): Define.
34322 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34323 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34324 (test-extras): Likewise.
34325 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34326 $(compile-command.c).
34327 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34328 (all-built-dso): Define.
34329 (check-textrel.out, check-execstack.out): Depend on it.
34331 * configure.in: Don't override --enable-multi-arch.
34333 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34336 * nscd/hstcache.c (tryagain): Define.
34337 (cache_addhst): Return tryagain not notfound for temporary errors.
34338 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34341 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34344 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34345 to make the syscall.
34346 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34349 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34350 and fall back to matching as normal character if the string ends before
34351 the matching ']' is found. This is what POSIX requires.
34352 * posix/testfnm.c: Adjust test result.
34353 * posix/globtest.sh: Adjust test result. Add new test.
34354 * posix/tst-fnmatch.input: Likewise.
34355 * posix/tst-fnmatch2.c: Add new test.
34357 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34359 * elf/Makefile (check-execstack): Revert last change. Depend on
34361 (check-execstack.h): New target.
34362 (generated): Add check-execstack.h.
34363 * elf/check-execstack.c: Include "check-execstack.h".
34364 (main): Revert last change.
34365 (handle_file): Return zero if GNU_STACK is absent and
34366 DEFAULT_STACK_PERMS doesn't include PF_X.
34368 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34370 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34371 in child fails because the descriptor is already closed.
34372 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34373 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34374 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34377 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34381 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34382 temporary buffer used to handle multi lookups locally.
34383 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34385 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34387 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34390 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34392 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34393 alignment for SSE2.
34395 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34398 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34399 characters. When rounding increased number of integer digits recompute
34401 * stdio-common/tst-grouping.c: New file.
34402 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34404 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34406 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34407 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34409 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34411 * bits/select.h: Likewise.
34413 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34415 * po/ja.po: Update from translation team.
34417 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34420 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34421 implementation just like for lxstat, fxstatat, et al.
34423 2010-12-27 Jim Meyering <meyering@redhat.com>
34426 * posix/regexec.c (build_trtable): Return failure indication upon
34427 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34429 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34432 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34433 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34434 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34435 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34438 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34441 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34442 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34444 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34446 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34447 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34448 script has SORT_BY_INIT_PRIORITY.
34449 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34450 NO_CTORS_DTORS_SECTIONS is defined.
34451 * elf/soinit.c: Likewise.
34452 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34453 NO_CTORS_DTORS_SECTIONS is defined.
34454 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34455 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34456 * sysdeps/sh/init-first.c: Likewise.
34457 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34459 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34461 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34462 always use the slow path.
34464 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34466 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34467 similar rule which adds the sysdep directories to the header search in
34468 order to pick up the correct platform stackinfo.h.
34469 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34470 perform test if it is, otherwise return successfully without testing.
34471 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34472 DEFAULT_STACK_PERMS define in stackinfo.h.
34473 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34474 defined in stackinfo.h.
34475 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34476 DEFAULT_STACK_PERMS defined in stackinfo.h.
34477 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34478 * sysdeps/ia64/stackinfo.h: Likewise.
34479 * sysdeps/s390/stackinfo.h: Likewise.
34480 * sysdeps/sh/stackinfo.h: Likewise.
34481 * sysdeps/sparc/stackinfo.h: Likewise.
34482 * sysdeps/x86_64/stackinfo.h: Likewise.
34483 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34484 PF_X for powerpc64. Retain PF_X for powerpc32.
34486 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34488 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34490 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34491 GETDENTS_64BIT_ALIGNED.
34493 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34495 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34497 2010-12-10 Andreas Schwab <schwab@redhat.com>
34499 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34502 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34503 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34505 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34506 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34508 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34511 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34514 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34516 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34518 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34520 * po/it.po: Update from translation team.
34522 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34527 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34529 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34531 2010-11-24 Andreas Schwab <schwab@redhat.com>
34533 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34535 (gaih_getanswer_slice): Likewise.
34537 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34541 2010-05-31 Petr Baudis <pasky@suse.cz>
34544 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34545 silently even in the chroot mode.
34547 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34549 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34550 last patch a bit. Pretty printing
34552 2010-05-31 Petr Baudis <pasky@suse.cz>
34555 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34556 initialization of skip_initgroups_dyn.
34558 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34560 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34561 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34563 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34565 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34567 2010-11-11 Andreas Schwab <schwab@redhat.com>
34569 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34570 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34571 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34572 ($(objpfx)tst-fnmatch-mem): New rule.
34573 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34574 * posix/tst-fnmatch.c (main): Call mtrace.
34576 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34579 Support Intel processor model 6 and model 0x2c.
34581 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34583 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34586 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34589 * string/test-strncasecmp.c (check_result): New function.
34590 (do_one_test): Use it.
34591 (check1): New function.
34592 (test_main): Use it.
34593 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34594 Support strcasecmp and strncasecmp.
34596 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34599 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34600 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34602 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34604 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34608 * sysdeps/x86_64/multiarch/bzero.S: New file.
34609 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34610 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34611 * sysdeps/x86_64/multiarch/memset.S: New file.
34612 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34614 Set bit_Prefer_SSE_for_memop for Intel processors.
34615 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34617 (index_Prefer_SSE_for_memop): Define.
34618 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34620 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34622 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34623 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34625 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34628 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34629 (__x86_64_raw_data_cache_size_half): Likewise.
34630 (__x86_64_raw_shared_cache_size): Likewise.
34631 (__x86_64_raw_shared_cache_size_half): Likewise.
34633 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34634 (__x86_64_raw_data_cache_size_half): Likewise.
34635 (__x86_64_raw_shared_cache_size): Likewise.
34636 (__x86_64_raw_shared_cache_size_half): Likewise.
34637 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34638 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34639 and __x86_64_raw_shared_cache_size_half. Round
34640 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34641 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34642 to multiple of 256 bytes.
34644 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34647 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34648 of inacessible symlinks. Verify result of symlink before returning it.
34649 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34650 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34652 2010-10-28 Erich Ritz <erichritz@gmail.com>
34654 * math/math.h (isinf): Fix typo in comment.
34656 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34658 * po/da.po: Update from translation team.
34660 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34662 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34663 is added to the list.
34665 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34666 Ulrich Drepper <drepper@gmail.com>
34668 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34669 the global list here. Move code to...
34670 (_dl_add_to_namespace_list): ...here. New function.
34671 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34672 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34673 * elf/dl-load.c (lose): Don't remove the element from the list.
34674 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34675 (_dl_map_object): Likewise.
34677 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34680 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34681 into all bytes of SSE register.
34682 Patch by Richard Li <richardpku@gmail.com>.
34684 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34687 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34690 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34692 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34693 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34694 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34695 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34700 2010-10-22 Andreas Schwab <schwab@redhat.com>
34702 * include/dlfcn.h (__RTLD_SECURE): Define.
34703 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34704 mode & __RTLD_SECURE instead.
34705 (open_path): Rename preloaded parameter to secure.
34706 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34707 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34708 * elf/dl-deps.c (openaux): Likewise.
34709 * elf/rtld.c (struct map_args): Remove is_preloaded.
34710 (map_doit): Don't use it.
34711 (dl_main): Likewise.
34712 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34713 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34715 2010-09-09 Andreas Schwab <schwab@redhat.com>
34717 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34718 (sysd-rules-targets): Remove duplicates.
34719 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34720 rtld-%.$o dependency.
34722 2010-10-18 Andreas Schwab <schwab@redhat.com>
34724 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34725 _dl_map_object do it.
34727 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34729 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34730 fast fma builtins, define the macros in the C99 standard.
34731 (FP_FAST_FMAF): Likewise.
34732 (FP_FAST_FMAL): Likewise.
34733 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34735 * bits/mathdef.h: Update copyright year.
34736 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34738 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34740 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34741 builtins, define the macros in the C99 standard.
34742 (FP_FAST_FMAF): Likewise.
34743 (FP_FAST_FMAL): Likewise.
34744 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34746 (FP_FAST_FMAF): Likewise.
34748 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34751 * math/libm-test.inc (fma_test): Some new testcases.
34752 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34753 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34754 y and infinite z. Do multiplication by C already in long double.
34755 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34757 y and infinite z. Do bitwise or of inexact bit into u.d.
34758 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34759 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34760 * sysdeps/i386/fpu/s_fma.S: Removed.
34761 * sysdeps/i386/fpu/s_fmal.S: Removed.
34763 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34766 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34768 computation is not scheduled after fetestexcept. Fix value
34769 of minimum denormal long double.
34771 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34774 * math/libm-test.inc (fma_test): Add some more tests.
34775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34778 2010-10-15 Andreas Schwab <schwab@redhat.com>
34780 * scripts/data/localplt-s390-linux-gnu.data: New file.
34781 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34783 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34786 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34787 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34789 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34791 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34793 if one of x and y is very large and the other is subnormal.
34794 * sysdeps/s390/fpu/s_fmaf.c: New file.
34795 * sysdeps/s390/fpu/s_fma.c: New file.
34796 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34797 * sysdeps/powerpc/fpu/s_fma.S: New file.
34798 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34799 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34800 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34802 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34805 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34808 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34809 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34810 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34811 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34812 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34813 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34815 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34818 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34819 * posix/bug-regex31.input: Add test case.
34821 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34823 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34824 * posix/bug-regex31.input: New file.
34827 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34828 (parse_sub_exp): Fix last change, use postorder.
34830 * posix/bug-regex31.c: New file.
34831 * posix/Makefile: Add rules to build and run bug-regex31.
34833 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34836 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34839 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34840 to have entries in sys_siglist.
34843 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34846 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34849 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34850 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34851 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34852 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34853 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34854 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34855 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34856 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34857 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34858 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34859 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34860 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34861 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34862 * math/ftestexcept.c (fetestexcept): Likewise.
34863 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34864 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34865 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34866 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34867 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34868 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34869 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34871 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34874 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34877 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34879 * string/bug-strstr1.c: New file.
34880 * string/Makefile: Add rules to build and run bug-strstr1.
34882 2010-10-05 Eric Blake <eblake@redhat.com>
34885 * string/str-two-way.h (two_way_long_needle): Always clear memory
34886 when skipping input due to the shift table.
34888 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34891 * malloc/mcheck.c: Handle large requests.
34894 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34895 for strncmp and strncasecmp.
34896 * string/stratcliff.c: Add tests for strcmp and strncmp.
34897 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34899 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34901 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34904 2010-09-30 Andreas Jaeger <aj@suse.de>
34906 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34907 (CGROUP_SUPER_MAGIC): Define.
34908 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34909 Handle btrfs and cgroup file systems.
34910 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34913 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34915 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34916 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34918 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34921 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34922 trying to locate the ELF header.
34924 2010-09-27 Andreas Schwab <schwab@redhat.com>
34927 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34928 Mask out sign-bit copies when constructing f_fsid.
34930 2010-09-24 Petr Baudis <pasky@suse.cz>
34932 * debug/stack_chk_fail_local.c: Add missing licence exception.
34933 * debug/warning-nop.c: Likewise.
34935 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34937 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34938 implementing getdents64 using getdents syscall, set d_type if
34939 __ASSUME_GETDENTS32_D_TYPE.
34941 2010-09-16 Andreas Schwab <schwab@redhat.com>
34943 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34944 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34946 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34949 * posix/unistd.h: Undo change of feature selection for ftruncate from
34952 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34954 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34957 2010-09-20 Andreas Schwab <schwab@redhat.com>
34959 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34961 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34963 2010-09-14 Andreas Schwab <schwab@redhat.com>
34965 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34966 variables after CHECK_SP call.
34967 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34969 2010-09-13 Andreas Schwab <schwab@redhat.com>
34970 Ulrich Drepper <drepper@redhat.com>
34972 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34973 re-relocationg ld.so.
34974 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34975 _dl_init_paths call.
34976 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34979 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34981 * resolv/res_init.c (__res_vinit): Count the default server we added.
34983 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34984 Ulrich Drepper <drepper@redhat.com>
34987 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34988 (____longjmp_chk): Use %ebx for saving value across system call.
34991 2010-09-06 Andreas Schwab <schwab@redhat.com>
34993 * manual/Makefile: Don't mix pattern rules with normal rules.
34995 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34997 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34999 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35000 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35001 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35002 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35006 2010-09-04 Ulrich Drepper <drepper@redhat.com>
35009 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35010 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35012 2010-09-02 Ulrich Drepper <drepper@redhat.com>
35014 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35015 * sysdeps/x86_64/addmul_1.S: Likewise.
35016 * sysdeps/x86_64/lshift.S: Likewise.
35017 * sysdeps/x86_64/mul_1.S: Likewise.
35018 * sysdeps/x86_64/rshift.S: Likewise.
35019 * sysdeps/x86_64/sub_n.S: Likewise.
35020 * sysdeps/x86_64/submul_1.S: Likewise.
35022 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35024 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35025 Define __sched_param instead of SCHED_* and sched_param when
35026 <bits/sched.h> is included with __need_schedparam defined.
35027 * bits/sched.h [__need_schedparam]
35028 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35029 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35030 (__defined_schedparam): Define to 1.
35031 (__sched_param): New structure, identical to sched_param.
35032 (__need_schedparam): Undefine.
35034 2010-08-31 Mike Frysinger <vapier@gentoo.org>
35036 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35037 (epoll_create1): Declare.
35039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35041 2010-08-31 Andreas Schwab <schwab@redhat.com>
35044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35045 shifting retval into place.
35047 2010-09-01 Ulrich Drepper <drepper@redhat.com>
35049 * nis/rpcsvc/nis.h: Update copyright notice.
35050 * nis/rpcsvc/nis.x: Likewise.
35051 * nis/rpcsvc/nis_callback.h: Likewise.
35052 * nis/rpcsvc/nis_callback.x: Likewise.
35053 * nis/rpcsvc/nis_object.x: Likewise.
35054 * nis/rpcsvc/nis_tags.h: Likewise.
35055 * nis/rpcsvc/yp.h: Likewise.
35056 * nis/rpcsvc/yp.x: Likewise.
35057 * nis/rpcsvc/ypupd.h: Likewise.
35058 * nis/yp_xdr.c: Likewise.
35059 * nis/ypupdate_xdr.c: Likewise.
35061 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35062 mainly the body of pmap_getport. Add parameters to specify timeouts.
35063 (pmap_getport): Use __libc_rpc_getport.
35064 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35065 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35066 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35068 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35073 2010-08-27 Roland McGrath <roland@redhat.com>
35075 * sysdeps/i386/i686/multiarch/Makefile
35076 (CFLAGS-varshift.c): New variable.
35078 2010-08-27 Ulrich Drepper <drepper@redhat.com>
35080 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35081 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35085 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35087 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35089 * sysdeps/x86_64/strlen.S: Unroll the loop.
35090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35091 strlen-sse2 strlen-sse2-bsf.
35092 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35093 __strlen_no_bsf if bit_Slow_BSF is set.
35094 (__strlen_sse42): Removed.
35095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35096 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35098 2010-08-25 Roland McGrath <roland@redhat.com>
35100 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35101 * sysdeps/x86_64/multiarch/varshift.c: New file.
35102 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35103 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35104 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35105 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35107 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35110 strlen-sse2 strlen-sse2-bsf.
35111 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35112 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35113 (__strlen_sse2): Removed.
35114 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35115 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35117 bit_Slow_BSF for Atom.
35118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35119 (index_Slow_BSF): Define.
35120 (HAS_SLOW_BSF): Define.
35122 2010-08-25 Ulrich Drepper <drepper@redhat.com>
35125 * resolv/res_init.c (__res_vinit): When no server address at all
35126 is given default to loopback.
35128 2010-08-24 Roland McGrath <roland@redhat.com>
35130 * configure.in: Remove config-name.h generation.
35131 * configure: Regenerated.
35132 * config-name.in: File removed.
35133 * scripts/config-uname.sh: New file.
35134 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35135 ($(objdir)config-name.h): New target.
35137 * sunrpc/rpc_parse.h: Avoid nested comment.
35139 2010-08-24 Richard Henderson <rth@redhat.com>
35140 Ulrich Drepper <drepper@redhat.com>
35141 H.J. Lu <hongjiu.lu@intel.com>
35143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35145 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35146 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35147 _mm_alignr_epi8 with _mm_loadu_si128.
35148 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35149 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35150 (__m128i_shift_right): Removed.
35151 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35152 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35153 * sysdeps/x86_64/multiarch/varshift.h: New file.
35154 * sysdeps/x86_64/multiarch/varshift.S: New file.
35156 2010-08-21 Mike Frysinger <vapier@gentoo.org>
35158 * configure.in: Move assembler checks to before sysdep dir checking.
35160 2010-08-20 Petr Baudis <pasky@suse.cz>
35162 * LICENSES: Sync the sunrpc license.
35164 2010-08-19 Ulrich Drepper <drepper@redhat.com>
35166 * sunrpc/auth_des.c: Update copyright notice once again.
35167 * sunrpc/auth_none.c: Likewise.
35168 * sunrpc/auth_unix.c: Likewise.
35169 * sunrpc/authdes_prot.c: Likewise.
35170 * sunrpc/authuxprot.c: Likewise.
35171 * sunrpc/bindrsvprt.c: Likewise.
35172 * sunrpc/clnt_gen.c: Likewise.
35173 * sunrpc/clnt_perr.c: Likewise.
35174 * sunrpc/clnt_raw.c: Likewise.
35175 * sunrpc/clnt_simp.c: Likewise.
35176 * sunrpc/clnt_tcp.c: Likewise.
35177 * sunrpc/clnt_udp.c: Likewise.
35178 * sunrpc/clnt_unix.c: Likewise.
35179 * sunrpc/des_crypt.c: Likewise.
35180 * sunrpc/des_soft.c: Likewise.
35181 * sunrpc/get_myaddr.c: Likewise.
35182 * sunrpc/getrpcport.c: Likewise.
35183 * sunrpc/key_call.c: Likewise.
35184 * sunrpc/key_prot.c: Likewise.
35185 * sunrpc/openchild.c: Likewise.
35186 * sunrpc/pm_getmaps.c: Likewise.
35187 * sunrpc/pm_getport.c: Likewise.
35188 * sunrpc/pmap_clnt.c: Likewise.
35189 * sunrpc/pmap_prot.c: Likewise.
35190 * sunrpc/pmap_prot2.c: Likewise.
35191 * sunrpc/pmap_rmt.c: Likewise.
35192 * sunrpc/rpc/auth.h: Likewise.
35193 * sunrpc/rpc/auth_unix.h: Likewise.
35194 * sunrpc/rpc/clnt.h: Likewise.
35195 * sunrpc/rpc/des_crypt.h: Likewise.
35196 * sunrpc/rpc/key_prot.h: Likewise.
35197 * sunrpc/rpc/netdb.h: Likewise.
35198 * sunrpc/rpc/pmap_clnt.h: Likewise.
35199 * sunrpc/rpc/pmap_prot.h: Likewise.
35200 * sunrpc/rpc/pmap_rmt.h: Likewise.
35201 * sunrpc/rpc/rpc.h: Likewise.
35202 * sunrpc/rpc/rpc_des.h: Likewise.
35203 * sunrpc/rpc/rpc_msg.h: Likewise.
35204 * sunrpc/rpc/svc.h: Likewise.
35205 * sunrpc/rpc/svc_auth.h: Likewise.
35206 * sunrpc/rpc/types.h: Likewise.
35207 * sunrpc/rpc/xdr.h: Likewise.
35208 * sunrpc/rpc_clntout.c: Likewise.
35209 * sunrpc/rpc_cmsg.c: Likewise.
35210 * sunrpc/rpc_common.c: Likewise.
35211 * sunrpc/rpc_cout.c: Likewise.
35212 * sunrpc/rpc_dtable.c: Likewise.
35213 * sunrpc/rpc_hout.c: Likewise.
35214 * sunrpc/rpc_main.c: Likewise.
35215 * sunrpc/rpc_parse.c: Likewise.
35216 * sunrpc/rpc_parse.h: Likewise.
35217 * sunrpc/rpc_prot.c: Likewise.
35218 * sunrpc/rpc_sample.c: Likewise.
35219 * sunrpc/rpc_scan.c: Likewise.
35220 * sunrpc/rpc_scan.h: Likewise.
35221 * sunrpc/rpc_svcout.c: Likewise.
35222 * sunrpc/rpc_tblout.c: Likewise.
35223 * sunrpc/rpc_util.c: Likewise.
35224 * sunrpc/rpc_util.h: Likewise.
35225 * sunrpc/rpcinfo.c: Likewise.
35226 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35227 * sunrpc/rpcsvc/key_prot.x: Likewise.
35228 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35229 * sunrpc/rpcsvc/mount.x: Likewise.
35230 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35231 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35232 * sunrpc/rpcsvc/rex.x: Likewise.
35233 * sunrpc/rpcsvc/rstat.x: Likewise.
35234 * sunrpc/rpcsvc/rusers.x: Likewise.
35235 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35236 * sunrpc/rpcsvc/spray.x: Likewise.
35237 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35238 * sunrpc/rtime.c: Likewise.
35239 * sunrpc/svc.c: Likewise.
35240 * sunrpc/svc_auth.c: Likewise.
35241 * sunrpc/svc_authux.c: Likewise.
35242 * sunrpc/svc_raw.c: Likewise.
35243 * sunrpc/svc_run.c: Likewise.
35244 * sunrpc/svc_simple.c: Likewise.
35245 * sunrpc/svc_tcp.c: Likewise.
35246 * sunrpc/svc_udp.c: Likewise.
35247 * sunrpc/svc_unix.c: Likewise.
35248 * sunrpc/svcauth_des.c: Likewise.
35249 * sunrpc/xcrypt.c: Likewise.
35250 * sunrpc/xdr.c: Likewise.
35251 * sunrpc/xdr_array.c: Likewise.
35252 * sunrpc/xdr_float.c: Likewise.
35253 * sunrpc/xdr_mem.c: Likewise.
35254 * sunrpc/xdr_rec.c: Likewise.
35255 * sunrpc/xdr_ref.c: Likewise.
35256 * sunrpc/xdr_sizeof.c: Likewise.
35257 * sunrpc/xdr_stdio.c: Likewise.
35259 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35262 2010-08-19 Andreas Schwab <schwab@redhat.com>
35264 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35266 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35268 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35269 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35270 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35271 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35272 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35273 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35274 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35275 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35276 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35277 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35278 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35279 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35280 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35281 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35283 2010-07-26 Anton Blanchard <anton@samba.org>
35285 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35286 * malloc/arena.c (heap_trim): Likewise.
35288 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35290 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35292 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35293 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35295 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35297 * sysdeps/i386/elf/Makefile: New file.
35299 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35301 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35302 from fanotify_init.
35303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35306 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35308 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35310 * sysdeps/multiarch/strcmp.S: Likewise.
35312 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35314 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35315 strncase_l-nonascii.
35316 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35317 Add strncase_l-ssse3.
35318 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35319 * sysdeps/x86_64/strcmp.S: Likewise.
35320 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35321 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35322 * sysdeps/x86_64/strncase.S: New file.
35323 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35324 * sysdeps/x86_64/strncase_l.S: New file.
35325 * string/Makefile (strop-tests): Add strncasecmp.
35326 * string/test-strncasecmp.c: New file.
35328 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35331 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35332 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35334 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35336 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35338 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35340 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35341 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35342 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35344 2010-05-01 Alan Modra <amodra@gmail.com>
35346 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35347 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35348 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35349 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35350 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35351 tidying. Don't tail-call __sigjmp_save for static lib.
35352 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35354 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35355 (CALL_MCOUNT): Add eh info, and nop after bl.
35356 (TAIL_CALL_SYSCALL_ERROR): New macro.
35357 (PSEUDO_RET): Use it.
35358 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35359 Correct save location of integer regs and cr.
35360 (_dl_profile_resolve): Correct cr save location. Delete nops
35361 after bl when SHARED. Reduce cfi size a little by better
35362 placement of cfi directives.
35363 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35364 make a stack frame. Instead use parm save area as a temp.
35365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35366 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35368 Don't make a stack frame for parent, use parm save area.
35369 Increase child stack frame to 112 bytes. Don't save unused reg,
35370 and adjust reg usage. Set up cfi on error recovery and
35371 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35373 (__makecontext): Add dummy nop after jump to exit.
35374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35375 Use correct parm save area and cr save, reduce stack frame.
35376 Correct cfi for possible PSEUDO_RET frame setup.
35377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35378 Branch to local label emitted by PSEUDO_RET rather than
35381 2010-08-12 Andreas Schwab <schwab@redhat.com>
35384 * locale/programs/locale.c (print_assignment): New function.
35385 (show_locale_vars): Use it.
35387 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35389 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35391 (struct statfs64): Likewise.
35392 (_STATFS_F_FLAGS): Define.
35393 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35394 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35395 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35396 (ST_VALID): Define locally.
35397 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35398 __statvfs_getflags, use the provided value.
35399 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35400 __ASSUME_STATFS_F_FLAGS.
35402 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35404 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35405 Add sys/fanotify.h.
35406 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35407 fanotify_mask for GLIBC_2.13.
35408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35409 fanotify_init and fanotify_mark.
35410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35411 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35413 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35415 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35416 prlimit64 for GLIBC_2.13.
35417 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35419 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35422 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35423 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35424 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35427 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35430 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35431 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35433 * nss/Makefile: Add rules to build and run tst-nss-test1.
35434 * shlib-versions: Add entry for libnss_test1.
35435 * nss/nss_test1.c: New file.
35436 * nss/tst-nss-test1.c: New file.
35438 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35439 (__nss_configure_lookup): Set appropriate entry in
35440 __nss_configure_lookup to true.
35441 * nss/nsswitch.h: Define enum with indeces of databases in
35442 databases and __nss_database_custom arrays. Declare
35443 __nss_database_custom.
35444 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35445 to avoid using nscd when custom rules are installed.
35446 * nss/getXXbyYY_r.c: Likewise.
35447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35449 * nss/nss_files/files-parse.c: Whitespace fixes.
35451 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35454 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35455 * posix/fnmatch_loop.c: Likewise.
35457 2010-07-17 Andi Kleen <ak@linux.intel.com>
35459 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35460 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35461 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35462 * Versions.def [GLIBC_2.13]: Add.
35464 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35466 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35467 Also fail if tpwd after pwuid call is NULL.
35469 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35471 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35472 when converting to ms.
35474 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35476 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35477 EOPNOTSUPP errors with ENOTTY.
35478 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35479 EOPNOTSUPP errors with ENOTTY.
35481 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35483 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35484 Add strcasecmp_l-ssse3.
35485 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35487 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35488 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35489 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35491 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35493 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35495 * string/Makefile (strop-tests): Add strcasecmp.
35496 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35497 strcasecmp_l-nonascii.
35498 (gen-as-const-headers): Add locale-defines.sym.
35499 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35500 * sysdeps/x86_64/strcasecmp.S: New file.
35501 * sysdeps/x86_64/strcasecmp_l.S: New file.
35502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35503 * sysdeps/x86_64/locale-defines.sym: New file.
35504 * string/test-strcasecmp.c: New file.
35506 * string/test-strcasestr.c: Test both ends of the range of characters.
35507 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35509 2010-07-29 Roland McGrath <roland@redhat.com>
35512 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35514 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35516 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35519 2010-07-27 Andreas Schwab <schwab@redhat.com>
35521 * manual/memory.texi (Malloc Tunable Parameters): Document
35524 2010-07-26 Roland McGrath <roland@redhat.com>
35527 * configure.in (-fgnu89-inline check): Set and substitute
35528 gnu89_inline, not libc_cv_gnu89_inline.
35529 * configure: Regenerated.
35530 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35532 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35534 * string/test-strnlen.c: New file.
35535 * string/Makefile (strop-tests): Add strnlen.
35536 * string/tester.c (test_strnlen): Add a few more test cases.
35537 * string/tst-strlen.c: Better error reporting.
35539 * sysdeps/x86_64/strnlen.S: New file.
35541 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35544 lower-latency instructions.
35546 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35548 * string/test-strcasestr.c: New file.
35549 * string/test-strstr.c: New file.
35550 * string/Makefile (strop-tests): Add strstr and strcasestr.
35551 * string/str-two-way.h: Don't undefine MAX.
35552 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35554 2010-07-21 Andreas Schwab <schwab@redhat.com>
35556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35557 strcasestr-nonascii.
35558 (CFLAGS-strcasestr-nonascii.c): Define.
35559 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35560 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35561 Remove unused attribute.
35563 2010-07-20 Roland McGrath <roland@redhat.com>
35565 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35566 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35567 ld.so.cache was broken. With it, there is no way to disable dsocaps
35568 like LD_HWCAP_MASK can disable hwcaps.
35570 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35572 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35574 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35576 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35577 call in strcasestr.
35578 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35579 __strcasestr_sse42_nonascii.
35580 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35581 strcasestr-nonascii.c.
35582 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35584 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35586 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35587 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35588 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35589 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35591 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35593 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35596 2010-07-06 Andreas Schwab <schwab@redhat.com>
35599 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35602 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35604 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35605 _PC_PIPE_BUF using F_GETPIPE_SZ.
35607 2010-07-05 Roland McGrath <roland@redhat.com>
35609 * manual/arith.texi (Rounding Functions): Fix rint description
35610 implicit in round description.
35612 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35614 * elf/Makefile: Fix linking for a few tests to make recent linker
35617 2010-06-30 Andreas Schwab <schwab@redhat.com>
35619 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35620 $(common-objpfx)libc_nonshared.a.
35622 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35624 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35625 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35626 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35627 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35628 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35629 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35630 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35631 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35646 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35647 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35648 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35649 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35650 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35651 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35652 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35653 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35654 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35655 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35656 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35657 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35673 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35675 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35676 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35677 * string/memmove.c (memmove): Renamed to ...
35678 (MEMMOVE): ...this. Default to memmove.
35679 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35680 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35683 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35684 mempcpy-ssse3-back memmove-ssse3-back.
35685 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35686 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35687 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35688 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35689 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35690 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35691 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35692 * sysdeps/x86_64/multiarch/memmove.c: New file.
35693 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35694 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35695 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35696 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35697 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35700 (index_Fast_Copy_Backward): Define.
35701 (HAS_ARCH_FEATURE): Define.
35702 (HAS_FAST_REP_STRING): Define.
35703 (HAS_FAST_COPY_BACKWARD): Define.
35705 2010-06-21 Andreas Schwab <schwab@redhat.com>
35707 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35708 Restore proper fallback handling.
35710 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35713 * posix/group_member.c (__group_member): Correct checking loop.
35715 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35716 OOM in getpwuid_r correctly. Return error number when the caller
35717 should return, otherwise -1.
35718 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35719 call returning > 0 value.
35720 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35722 2010-06-07 Andreas Schwab <schwab@redhat.com>
35724 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35725 libc_nonshared.a from targets in modules-names.
35727 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35729 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35732 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35734 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35735 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35739 2010-06-02 Andreas Schwab <schwab@redhat.com>
35741 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35743 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35745 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35754 2010-06-14 Roland McGrath <roland@redhat.com>
35756 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35758 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35760 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35761 __REDIRECT followed by __THROW.
35762 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35763 * posix/getopt.h (getopt): Likewise.
35765 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35767 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35768 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35769 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35771 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35772 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35774 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35778 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35782 Properly check family and model.
35784 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35786 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35788 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35790 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35792 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35794 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35797 2010-05-19 Andreas Schwab <schwab@redhat.com>
35799 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35802 2010-05-21 Andreas Schwab <schwab@redhat.com>
35804 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35805 and internal_recvmmsg.
35806 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35807 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35809 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35811 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35812 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35813 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35815 2010-05-20 Andreas Schwab <schwab@redhat.com>
35817 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35819 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35821 POWER7 optimizations.
35822 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35823 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35825 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35827 * version.h: Update for 2.13 development version.
35829 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35831 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35832 exceptions. Return 0.
35834 2010-05-07 Roland McGrath <roland@redhat.com>
35836 * elf/ldconfig.c (main): Add a const.
35838 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35840 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35841 (args_options): Add no-idn option.
35842 (ahosts_keys_int): Add idn_flags to ai_flags.
35843 (parse_option): Handle 'i' option to clear idn_flags.
35845 * malloc/malloc.c (_int_free): Possible race in the most recently
35846 added check. Only act on the data if no current modification
35849 See ChangeLog.17 for earlier changes.