1 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
5 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17 * math/auto-libm-test-out: Regenerated.
18 * sysdeps/i386/fpu/libm-test-ulps: Update.
19 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22 exp2, expm1, j0 and j1.
23 * math/auto-libm-test-out: Regenerated.
24 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25 (erfc_test_data): Likewise.
26 (exp_test_data): Likewise.
27 (exp_tonearest_test_data): Likewise.
28 (exp_towardzero_test_data): Likewise.
29 (exp_downward_test_data): Likewise.
30 (exp_upward_test_data): Likewise.
31 (exp10_test_data): Likewise.
32 (exp2_test_data): Likewise.
33 (expm1_test_data): Likewise.
34 (j0_test_data): Likewise.
35 (j1_test_data): Likewise.
36 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37 (input_flag_type): Add flag_xfail_rounding.
38 (input_flags): Add xfail-rounding.
39 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40 (output_for_one_input_case): Handle flag_xfail_rounding.
41 * sysdeps/i386/fpu/libm-test-ulps: Update.
42 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
47 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
53 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55 (STAP_PROBE0): New macro.
56 (STAP_PROBE1): Likewise.
57 (STAP_PROBE2): Likewise.
58 (STAP_PROBE3): Likewise.
59 (STAP_PROBE4): Likewise.
61 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
63 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
65 2013-12-02 Steve Ellcey <sellcey@mips.com>
67 * benchtests/Makefile (bench): Add sqrt.
68 (LDLIBS-bench-sqrt): New.
69 * benchtests/sqrt-input: New.
71 2013-12-02 Pavel Simerda <psimerda@redhat.com>
73 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
75 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
76 (gaih_inet): Likewise.
77 (getaddrinfo): Don't use GAIH_EAI.
79 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
80 (struct gaih): Remove definition.
82 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
84 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
87 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
91 2013-11-30 Joseph Myers <joseph@codesourcery.com>
93 * math/gen-auto-libm-tests.c (test_functions): Add more
94 single-argument functions.
95 (special_fill_pi_2): New function.
96 (special_fill_minus_pi_2): Likewise.
97 (special_fill_pi_6): Likewise.
98 (special_fill_minus_pi_6): Likewise.
99 (special_fill_pi_3): Likewise.
100 (special_fill_2pi_3): Likewise.
101 (special_fill_e): Likewise.
102 (special_fill_1_e): Likewise.
103 (special_fill_e_minus_1): Likewise.
104 (special_real_inputs): Add more special inputs.
105 (output_for_one_input_case): Do not require ERANGE on underflow to
106 zero if round-to-nearest result does not underflow to zero, unless
107 exact results required.
108 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
109 atan, atanh, cbrt, cos and cosh.
110 * math/auto-libm-test-out: Regenerated.
111 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
112 (acos_tonearest_test_data): Likewise.
113 (acos_towardzero_test_data): Likewise.
114 (acos_downward_test_data): Likewise.
115 (acos_upward_test_data): Likewise.
116 (acosh_test_data): Likewise.
117 (asin_test_data): Likewise.
118 (asin_tonearest_test_data): Likewise.
119 (asin_towardzero_test_data): Likewise.
120 (asin_upward_test_data): Likewise.
121 (asinh_test_data): Likewise.
122 (atan_test_data): Likewise.
123 (atanh_test_data): Likewise.
124 (cbrt_test_data): Likewise.
125 (cos_test_data): Likewise.
126 (cos_tonearest_test_data): Likewise.
127 (cos_towardzero_test_data): Likewise.
128 (cos_downward_test_data): Likewise.
129 (cos_upward_test_data): Likewise.
130 (cosh_test_data): Likewise.
131 (cosh_tonearest_test_data): Likewise.
132 (cosh_towardzero_test_data): Likewise.
133 (cosh_downward_test_data): Likewise.
134 (cosh_upward_test_data): Likewise.
135 * sysdeps/i386/fpu/libm-test-ulps: Update.
136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
138 2013-11-29 Joseph Myers <joseph@codesourcery.com>
141 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
142 * math/w_exp10f.c (__exp10f): Likewise.
143 * math/w_exp10l.c (__exp10l): Likewise.
144 * math/libm-test.inc (exp10_test_data): Add more tests and expect
145 errno settings in existing tests.
148 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
149 precision control set to double precision.
150 * sysdeps/i386/fpu/w_sqrt.c: New file.
151 * math/auto-libm-test-in: Add more tests.
152 * math/auto-libm-test-out: Update.
154 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
155 (sqrt_test_tonearest): New function.
156 (sqrt_towardzero_test_data): New variable.
157 (sqrt_test_towardzero): New function.
158 (sqrt_downward_test_data): New variable.
159 (sqrt_test_downward): New function.
160 (sqrt_upward_test_data): New variable.
161 (sqrt_test_upward): New function.
162 (main): Call the new functions.
164 * math/gen-auto-libm-tests.c: New file.
165 * math/auto-libm-test-in: Likewise.
166 * math/auto-libm-test-out: New generated file.
167 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
169 (%beautify): Add generated representations of zero.
170 (top level): Set $auto_input and call parse_auto_input.
171 (beautify): Remove trailing "f" from hex float constants.
172 (parse_args): Handle XFAIL_TEST.
173 (convert_condition): New function.
174 (or_value): Likewise.
175 (or_cond_value): Likewise.
176 (generate_testfile): Handle AUTO_TESTS_* lines.
177 (parse_auto_input): New function.
178 * math/libm-test.inc (XFAIL_TEST): New macro.
179 (ERRNO_UNCHANGED): Update value.
180 (ERRNO_EDOM): Likewise.
181 (ERRNO_ERANGE): Likewise.
182 (IGNORE_RESULT): Likewise.
183 (TEST_COND_flt_32): New macro.
184 (TEST_COND_dbl_64): Likewise.
185 (TEST_COND_ldbl_96_intel): Likewise.
186 (TEST_COND_ldbl_96_m68k): Likewise.
187 (TEST_COND_ldbl_128): Likewise.
188 (TEST_COND_ldbl_128ibm): Likewise.
189 (TEST_COND_long32): Likewise.
190 (TEST_COND_long64): Likewise.
191 (TEST_COND_before_rounding): Likewise.
192 (TEST_COND_after_rounding): Likewise.
193 (enable_test): Handle XFAIL_TEST flag.
194 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
196 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
199 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
200 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
203 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
204 __tls_get_addr_internal instead of __tls_get_offset in order to
205 avoid GOT pointer dependency. Make rtld export
206 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
207 __tls_get_addr since we are a __tls_get_offset platform.
208 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
209 GOT pointer being set up before.
210 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
212 2013-11-28 Joseph Myers <joseph@codesourcery.com>
214 * manual/math.texi (Errors in Math Functions): Document accuracy
218 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
219 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
220 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
221 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
222 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
223 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
224 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
225 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
226 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
227 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
228 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
229 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
230 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
231 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
232 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
233 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
235 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
236 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
237 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
238 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
239 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
241 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
243 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
245 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
246 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
247 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
248 atomic-feupdateenv and flt-rounds.
249 * sysdeps/powerpc/nofpu/Versions (libc): Add
250 __atomic_feholdexcept, __atomic_feclearexcept,
251 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
252 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
253 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
254 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
255 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
260 * manual/arith.texi (FP Exceptions): Document that exceptions may
261 not be raised when matherr is used.
262 (Math Error Reporting): Document overflow in directed rounding
263 modes. Document that errno may not be set when finite values are
264 returned on overflow. Document intent to set errno on underflow
265 only for underflow to zero.
268 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
269 round-to-nearest then adjust result for other rounding modes.
270 * include/fenv.h (fegetround): Use libm_hidden_proto.
271 * math/fegetround.c (fegetround): Use libm_hidden_def.
272 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
273 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
274 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
275 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
277 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
278 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
279 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
280 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
282 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
285 * nss/Versions (libnss_files): Add
286 _nss_files_gethostbyname3_r.
287 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
289 (HOST_DB_LOOKUP): Remove macro.
290 (_nss_files_gethostbyname_r): Implement function without the
291 HOST_DB_LOOKUP macro.
292 (_nss_files_gethostbyname2_r): Likewise.
294 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
296 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
298 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
300 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
301 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
304 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
307 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
308 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
309 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
310 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
311 __fe_nomask_env_priv and attribute_hidden.
312 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
313 (libc_feupdateenv_test_ppc): Likewise.
314 (libc_feresetround_ppc): Likewise.
315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
316 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
319 (__fe_nomask_env): Likewise.
320 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
322 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
324 * string/Makefile: Remove ifunc tests.
325 * string/test-string.h: Define TEST_IFUNC.
326 * string/test-bcopy-ifunc.c: Remove.
327 * string/test-bzero-ifunc.c: Likewise.
328 * string/test-memccpy-ifunc.c: Likewise.
329 * string/test-memchr-ifunc.c: Likewise.
330 * string/test-memcmp-ifunc.c: Likewise.
331 * string/test-memcpy-ifunc.c: Likewise.
332 * string/test-memmem-ifunc.c: Likewise.
333 * string/test-memmove-ifunc.c: Likewise.
334 * string/test-mempcpy-ifunc.c: Likewise.
335 * string/test-memrchr-ifunc.c: Likewise.
336 * string/test-memset-ifunc.c: Likewise.
337 * string/test-rawmemchr-ifunc.c: Likewise.
338 * string/test-stpcpy-ifunc.c: Likewise.
339 * string/test-stpncpy-ifunc.c: Likewise.
340 * string/test-strcasecmp-ifunc.c: Likewise.
341 * string/test-strcasestr-ifunc.c: Likewise.
342 * string/test-strcat-ifunc.c: Likewise.
343 * string/test-strchr-ifunc.c: Likewise.
344 * string/test-strchrnul-ifunc.c: Likewise.
345 * string/test-strcmp-ifunc.c: Likewise.
346 * string/test-strcpy-ifunc.c: Likewise.
347 * string/test-strcspn-ifunc.c: Likewise.
348 * string/test-strlen-ifunc.c: Likewise.
349 * string/test-strncasecmp-ifunc.c: Likewise.
350 * string/test-strncat-ifunc.c: Likewise.
351 * string/test-strncmp-ifunc.c: Likewise.
352 * string/test-strncpy-ifunc.c: Likewise.
353 * string/test-strnlen-ifunc.c: Likewise.
354 * string/test-strpbrk-ifunc.c: Likewise.
355 * string/test-strrchr-ifunc.c: Likewise.
356 * string/test-strspn-ifunc.c: Likewise.
357 * string/test-strstr-ifunc.c: Likewise.
359 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
361 * benchtests/Makefile: Remove ifunc tests.
362 * benchtests/bench-string.h: Define TEST_IFUNC.
363 * benchtests/bench-bcopy-ifunc.c: Remove.
364 * benchtests/bench-bzero-ifunc.c: Likewise.
365 * benchtests/bench-memccpy-ifunc.c: Likewise.
366 * benchtests/bench-memchr-ifunc.c: Likewise.
367 * benchtests/bench-memcmp-ifunc.c: Likewise.
368 * benchtests/bench-memcpy-ifunc.c: Likewise.
369 * benchtests/bench-memmem-ifunc.c: Likewise.
370 * benchtests/bench-memmove-ifunc.c: Likewise.
371 * benchtests/bench-mempcpy-ifunc.c: Likewise.
372 * benchtests/bench-memrchr-ifunc.c: Likewise.
373 * benchtests/bench-memset-ifunc.c: Likewise.
374 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
375 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
376 * benchtests/bench-stpcpy-ifunc.c: Likewise.
377 * benchtests/bench-stpncpy-ifunc.c: Likewise.
378 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
379 * benchtests/bench-strcasestr-ifunc.c: Likewise.
380 * benchtests/bench-strcat-ifunc.c: Likewise.
381 * benchtests/bench-strchr-ifunc.c: Likewise.
382 * benchtests/bench-strchrnul-ifunc.c: Likewise.
383 * benchtests/bench-strcmp-ifunc.c: Likewise.
384 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
385 * benchtests/bench-strcpy-ifunc.c: Likewise.
386 * benchtests/bench-strcspn-ifunc.c: Likewise.
387 * benchtests/bench-strlen-ifunc.c: Likewise.
388 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
389 * benchtests/bench-strncat-ifunc.c: Likewise.
390 * benchtests/bench-strncmp-ifunc.c: Likewise.
391 * benchtests/bench-strncpy-ifunc.c: Likewise.
392 * benchtests/bench-strnlen-ifunc.c: Likewise.
393 * benchtests/bench-strpbrk-ifunc.c: Likewise.
394 * benchtests/bench-strrchr-ifunc.c: Likewise.
395 * benchtests/bench-strsep-ifunc.c: Likewise.
396 * benchtests/bench-strspn-ifunc.c: Likewise.
397 * benchtests/bench-strstr-ifunc.c: Likewise.
399 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
401 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
403 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
405 * resolv/netdb.h: Use __glibc_reserved instead __unused.
406 * rt/aio.h: Likewise.
407 * sysdeps/gnu/bits/utmp.h: Likewise.
408 * sysdeps/gnu/bits/utmpx.h: Likewise.
409 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
410 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
411 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
412 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
413 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
414 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
415 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
416 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
417 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
419 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
421 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
423 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
424 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
425 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
426 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
427 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
428 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
429 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
430 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
431 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
432 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
433 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
435 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
436 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
437 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
438 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
439 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
440 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
441 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
442 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
443 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
444 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
445 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
446 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
447 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
448 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
449 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
450 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
452 2013-11-25 Carlos O'Donell <carlos@redhat.com>
455 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
456 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
458 2013-11-25 Joseph Myers <joseph@codesourcery.com>
460 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
461 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
464 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
467 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
468 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
469 (__fesetround): Remove define.
470 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
471 rounding and exceptions handling.
472 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
473 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
474 (__fe_nomask_env): Likewise.
475 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
476 __fegetround instead of fegetround.
477 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
478 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
480 2013-11-21 Roland McGrath <roland@hack.frob.com>
482 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
485 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
487 2013-11-21 Meador Inge <meadori@codesourcery.com>
490 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
491 (encrypt_r): Likewise.
492 * malloc/obstack.h (obstack_free): Likewise.
493 * posix/unistd.h (encrypt): Likewise.
495 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
497 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
498 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
499 DL_CALL_DT_FINI() that call the functions directly.
500 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
501 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
502 * elf/dl-fini.c: Likewise.
504 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
506 * malloc/hooks.c (memalign_check): Add alignment rounding.
507 * malloc/malloc.c (_mid_memalign): New function.
508 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
509 Implement by calling _mid_memalign.
510 * manual/probes.texi (Memory Allocation Probes): Remove
511 memory_valloc_retry and memory_pvalloc_retry.
513 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
515 * locale/programs/locarchive.c (open_archive): Add const
516 qualifier to ARCHIVEFNAME and copy default fname to
520 * libio/tst-widetext.input: Rename Oriya to Odia.
521 * locale/iso-639.def: Likewise.
523 * manual/probes.texi (Mathematical Function Probes): Add
524 documentation for sin, cos, asin and acos probes.
525 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
526 (__sin32): Add slowasin probe.
527 (__cos32): Add slowacos probe.
528 (__mpsin): Add slowsin probe.
529 (__mpcos): Add slowcos probe.
531 2013-11-19 Joseph Myers <joseph@codesourcery.com>
534 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
535 thread-local __sim_exceptions_thread and global
536 __sim_exceptions_global.
537 (__sim_disabled_exceptions): Change to thread-local
538 __sim_disabled_exceptions_thread and global
539 __sim_disabled_exceptions_global.
540 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
541 and global __sim_round_mode_global.
542 (__simulate_exceptions): Use thread-local floating-point state and
543 set global state from it as needed.
544 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
545 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
546 __sim_round_mode_thread.
547 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
548 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
549 and global __sim_exceptions_global.
550 (__sim_disabled_exceptions): Change to thread-local
551 __sim_disabled_exceptions_thread and global
552 __sim_disabled_exceptions_global.
553 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
554 and global __sim_round_mode_global.
555 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
556 (SIM_SET_GLOBAL): Likewise.
557 * sysdeps/powerpc/soft-fp/sfp-machine.h
558 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
559 __sim_round_mode_thread.
560 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
561 __sim_disabled_exceptions_thread.
562 (__sim_exceptions): Change to __sim_exceptions_thread.
563 (__sim_disabled_exceptions): Change to
564 __sim_disabled_exceptions_thread.
565 (__sim_round_mode): Change to __sim_round_mode_thread.
566 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
567 thread-local floating-point state and set global state from it as
569 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
570 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
571 (__sim_disabled_exceptions): Remove extern declaration.
572 (feenableexcept): Use thread-local floating-point state and set
573 global state from it as needed.
574 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
576 (__sim_disabled_exceptions): Likewise.
577 (__sim_round_mode): Likewise.
578 (__fegetenv): Use thread-local floating-point state.
579 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
580 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
581 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
582 floating-point state and set global state from it as needed.
583 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
584 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
585 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
587 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
588 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
590 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
591 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
592 Use __sim_round_mode_thread.
593 * math/test-fenv-tls.c: New file.
594 * math/Makefile (tests): Add test-fenv-tls.
595 ($(objpfx)test-fenv-tls): Depend on
596 $(common-objpfx)nptl/libpthread.so.
598 2013-11-19 Andreas Schwab <schwab@suse.de>
600 * locale/programs/locale.c (show_info): Decode wordarray elements.
601 * locale/categories.def (LC_MONETARY): Add element for
602 _NL_MONETARY_CRNCYSTR.
603 * locale/C-monetary.c (conversion_rate): New variable.
604 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
607 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
609 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
610 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
612 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
614 * elf/Makefile (tst-auxv): New test.
615 * elf/tst-auxv.c: New
616 * elf/rtld.c (dl_main): Adjust AT_EXECFN
618 2013-11-18 Joseph Myers <joseph@codesourcery.com>
620 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
621 (hidden_proto): Caller changed.
622 (hidden_tls_proto): New macro.
623 (libc_hidden_tls_proto): Likewise.
624 (rtld_hidden_tls_proto): Likewise.
625 (libm_hidden_tls_proto): Likewise.
626 (libresolv_hidden_tls_proto): Likewise.
627 (librt_hidden_tls_proto): Likewise.
628 (libdl_hidden_tls_proto): Likewise.
629 (libnss_files_hidden_tls_proto): Likewise.
630 (libnsl_hidden_tls_proto): Likewise.
631 (libnss_nisplus_hidden_tls_proto): Likewise.
632 (libutil_hidden_tls_proto): Likewise.
634 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
637 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
638 (decompose_rpath): Defer expansion to fillin_rpath.
639 (_dl_init_paths): Pass linkmap to fillin_rpath.
641 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
643 * benchtests/Makefile: Add strsep.
644 * benchtests/bench-strsep.c: New file: strsep benchtest.
645 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
647 2013-11-18 Andreas Schwab <schwab@suse.de>
649 * locale/programs/locale.c (show_info) [case byte]: Check for
650 '\377' instead of '\177'.
651 * locale/C-monetary.c (not_available): Always use "\377".
652 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
653 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
654 detect unavailable sign_posn locale elements.
655 * locale/localeconv.c (__localeconv): For grouping and
656 mon_grouping handle "\177" and "\377" like no grouping.
657 (INT_ELEM): New macro. Use it to set all numeric members.
658 * locale/programs/ld-monetary.c (monetary_read)
659 <tok_mon_grouping>: Normalize single -1 to the empty string.
660 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
663 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
666 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
668 * stdio-common/tst-sscanf.c (struct test): Add testcase.
670 2013-11-16 Joseph Myers <joseph@codesourcery.com>
672 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
673 (NO_TEST_INLINE): Update value.
674 (ERRNO_UNCHANGED): Likewise.
675 (ERRNO_EDOM): Likewise.
676 (ERRNO_ERANGE): Likewise.
677 (IGNORE_RESULT): Likewise.
678 (check_float_internal): Check signs of NaN results if
680 (check_complex): Pass TEST_NAN_SIGN flag through to second
681 check_float_internal call.
682 (copysign_test_data): Add tests with quiet NaNs as second
683 argument. Use TEST_NAN_SIGN.
684 (fabs_test_data): Add test of negative quiet NaN argument. Use
686 (signbit_test_data): Add tests of quiet NaN argument.
687 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
689 * math/gen-libm-test.pl (show_exceptions): Take extra argument
691 (parse_args): Handle function results specified as IGNORE.
692 * math/libm-test.inc (IGNORE_RESULT): New macro.
693 (check_float_internal): Do not check numerical result if flag
695 (check_complex): Pass through IGNORE_RESULT to second
696 check_float_internal call.
697 (check_int): Do not check numerical result if flag IGNORE_RESULT
699 (check_long): Likewise.
700 (check_bool): Likewise.
701 (check_longlong): Likewise.
702 (lrint_test_data): Add tests of infinite and NaN arguments.
703 (lrint_tonearest_test_data): Likewise.
704 (lrint_towardzero_test_data): Likewise.
705 (lrint_downward_test_data): Likewise.
706 (lrint_upward_test_data): Likewise.
707 (llrint_test_data): Likewise.
708 (llrint_tonearest_test_data): Likewise.
709 (llrint_towardzero_test_data): Likewise.
710 (llrint_downward_test_data): Likewise.
711 (llrint_upward_test_data): Likewise.
712 (lround_test_data): Likewise.
713 (llround_test_data): Likewise.
715 * math/libm-test.inc (NO_TEST_INLINE): New macro.
716 (ERRNO_UNCHANGED): Update value.
717 (ERRNO_EDOM): Likewise.
718 (ERRNO_ERANGE): Likewise.
719 (NO_TEST_INLINE_FLOAT): New macro.
720 (NO_TEST_INLINE_DOUBLE): Likewise.
721 (enable_test): New function.
722 (RUN_TEST_f_f): Check enable_test before running test.
723 (RUN_TEST_2_f): Likewise.
724 (RUN_TEST_fff_f): Likewise.
725 (RUN_TEST_c_f): Likewise.
726 (RUN_TEST_f_f1): Likewise.
727 (RUN_TEST_fF_f1): Likewise.
728 (RUN_TEST_fI_f1): Likewise.
729 (RUN_TEST_ffI_f1): Likewise.
730 (RUN_TEST_c_c): Likewise.
731 (RUN_TEST_cc_c): Likewise.
732 (RUN_TEST_f_i): Likewise.
733 (RUN_TEST_f_i_tg): Likewise.
734 (RUN_TEST_ff_i_tg): Likewise.
735 (RUN_TEST_f_b): Likewise.
736 (RUN_TEST_f_b_tg): Likewise.
737 (RUN_TEST_f_l): Likewise.
738 (RUN_TEST_f_L): Likewise.
739 (RUN_TEST_fFF_11): Likewise.
740 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
742 (cosh_test_data): Likewise.
743 (exp_test_data): Likewise.
744 (expm1_test_data): Likewise.
745 (hypot_test_data): Likewise.
746 (pow_test_data): Likewise.
747 (sinh_test_data): Likewise.
748 (tanh_test_data): Likewise.
749 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
752 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
753 tests with quiet NaN input and output.
754 (acosh_test_data): Likewise.
755 (asin_test_data): Likewise.
756 (asinh_test_data): Likewise.
757 (atan_test_data): Likewise.
758 (atanh_test_data): Likewise.
759 (atan2_test_data): Likewise.
760 (cbrt_test_data): Likewise.
761 (cos_test_data): Likewise.
762 (cosh_test_data): Likewise.
763 (erf_test_data): Likewise.
764 (erfc_test_data): Likewise.
765 (exp_test_data): Likewise.
766 (exp10_test_data): Likewise.
767 (exp2_test_data): Likewise.
768 (expm1_test_data): Likewise.
769 (hypot_test_data): Likewise.
770 (j0_test_data): Likewise.
771 (j1_test_data): Likewise.
772 (jn_test_data): Likewise.
773 (lgamma_test_data): Likewise.
774 (log_test_data): Likewise.
775 (log10_test_data): Likewise.
776 (log1p_test_data): Likewise.
777 (log2_test_data): Likewise.
778 (pow_test_data): Likewise.
779 (scalb_test_data): Likewise.
780 (sin_test_data): Likewise.
781 (sincos_test_data): Likewise.
782 (sinh_test_data): Likewise.
783 (tan_test_data): Likewise.
784 (tanh_test_data): Likewise.
785 (tgamma_test_data): Likewise.
786 (y0_test_data): Likewise.
787 (y1_test_data): Likewise.
788 (yn_test_data): Likewise.
791 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
792 argument being NaN and avoid computations with second argument in
794 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
795 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
796 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
798 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
800 * locale/iso-639.def: Add Chitwani Tharu (the).
802 2013-11-14 Andreas Schwab <schwab@suse.de>
804 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
805 word instead of empty string.
807 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
810 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
812 (__fe_nomask_env): Likewise.
814 2013-11-13 Steve Ellcey <sellcey@mips.com>
816 * benchtests/bench-timing.h: Include time.h.
818 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
821 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
823 * sysdeps/unix/sysv/linux/configure: Regenerated.
825 2013-11-13 Joseph Myers <joseph@codesourcery.com>
828 * stdlib/strtod_l.c (round_and_return): Do not consider
829 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
830 exponent one less than half the least subnormal exponent.
831 * stdlib/test-strtod-round-data: Add more tests.
832 * stdlib/tst-strtod-round.c (tests): Regenerated.
834 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
838 (__fe_mask_env): Likewise.
839 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
840 libm_hidden_proto and add function prototype.
841 (__fe_mask_env): Add function prototype.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
843 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
845 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
847 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
849 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
851 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
852 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
854 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
856 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
859 2013-11-11 David S. Miller <davem@davemloft.net>
862 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
863 symbol in the non-vis3 case in static builds.
864 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
865 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
866 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
867 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
869 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
872 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
875 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877 * benchtests/Makefile: Add bench-strtod.
878 * benchtests/bench-strtod.c: New file: strtod benchtest
880 2013-11-11 Andreas Schwab <schwab@suse.de>
883 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
884 terminating NUL in key length.
886 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
888 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
889 Add artificial ODP entry for vDSO symbol for PPC64.
890 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
891 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
893 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
896 * nss/getent.c (services_keys): Recognize services starting with digit.
898 2013-11-06 David S. Miller <davem@davemloft.net>
901 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
902 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
904 2013-11-06 Will Newton <will.newton@linaro.org>
906 * manual/memory.texi (Malloc Examples): Remove register
907 keyword from examples.
909 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
911 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
913 2013-11-04 Joseph Myers <joseph@codesourcery.com>
915 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
916 depending on [__GCC_IEC_559 > 0].
917 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
918 depending on [__GCC_IEC_559_COMPLEX > 0].
920 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
922 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
925 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
927 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
929 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
932 * malloc/malloc (malloc_info): Do not handle first bin as
935 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
937 * locale/iso-639.def: Add Central Nahuatl (nhn).
939 2013-11-01 Bruno Haible <bruno@clisp.org>
942 * manual/math.texi (BSD Random): Specify range upper bound as
945 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
947 * locale/iso-639.def: Add Meadow Mari (mhr).
949 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
951 [BZ #14752], [BZ #15763]
952 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
954 * rt/tst_shm.c: Add test for escaping directory.
956 2013-10-31 Andreas Schwab <schwab@suse.de>
959 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
960 followed by 'x' as part of digit sequence.
961 * stdio-common/tst-sscanf.c (double_tests2): New tests.
963 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
966 * configure.ac: allow GNU Make 4.0 and greater.
967 * configure: Regenerated.
969 2013-10-30 Will Newton <will.newton@linaro.org>
972 * malloc/hooks.c (memalign_check): Limit alignment to the
973 maximum representable power of two.
974 * malloc/malloc.c (__libc_memalign): Likewise.
975 * malloc/tst-memalign.c (do_test): Add test for very
976 large alignment values.
977 * malloc/tst-posix_memalign.c (do_test): Likewise.
979 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
982 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
983 (munmap_chunk): Likewise.
984 (mremap_chunk): Likewise.
986 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
989 * stdlib/div.c (div): Remove obsolete code.
990 * stdlib/ldiv.c (ldiv): Likewise.
991 * stdlib/lldiv.c (lldiv): Likewise.
993 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
996 * nss/nss_files/files-XXX.c (get_contents_ret): New
998 (get_contents): New function.
999 (internal_getent): Use it. Expand size of LINEBUFLEN.
1001 2013-10-30 Mike Frysinger <vapier@gentoo.org>
1003 * configure.in: Moved to ...
1004 * configure.ac: ... here. Change reference to configure.in
1006 * sysdeps/arm/preconfigure.ac: ... here.
1007 configure.in to configure.ac.
1008 * sysdeps/gnu/configure.in: Moved to ...
1009 * sysdeps/gnu/configure.ac: ... here.
1010 * sysdeps/i386/configure.in: Moved to ...
1011 * sysdeps/i386/configure.ac: ... here.
1012 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1013 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1014 * sysdeps/mach/configure.in: Moved to ...
1015 * sysdeps/mach/configure.ac: ... here.
1016 * sysdeps/mach/hurd/configure.in: Moved to ...
1017 * sysdeps/mach/hurd/configure.ac: ... here.
1018 * sysdeps/powerpc/configure.in: Moved to ...
1019 * sysdeps/powerpc/configure.ac: ... here.
1020 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1021 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1022 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1023 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1024 * sysdeps/s390/s390-32/configure.in: Moved to ...
1025 * sysdeps/s390/s390-32/configure.ac: ... here.
1026 * sysdeps/s390/s390-64/configure.in: Moved to ...
1027 * sysdeps/s390/s390-64/configure.ac: ... here.
1028 * sysdeps/sh/configure.in: Moved to ...
1029 * sysdeps/sh/configure.ac: ... here.
1030 * sysdeps/sparc/configure.in: Moved to ...
1031 * sysdeps/sparc/configure.ac: ... here.
1032 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1033 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1034 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1035 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1036 * sysdeps/x86_64/configure.in: Moved to ...
1037 * sysdeps/x86_64/configure.ac: ... here.
1038 * sysdeps/x86_64/preconfigure.in: Moved to ...
1039 * sysdeps/x86_64/preconfigure.ac: ... here.
1040 * aclocal.m4: Change reference to configure.in to configure.ac.
1041 * config.h.in: Likewise.
1042 * manual/install.texi: Likewise.
1043 * manual/maint.texi: Likewise.
1044 * Makefile: Likewise.
1045 * malloc/Makefile: Likewise.
1046 * nscd/Makefile: Likewise.
1047 * Makeconfig: Change reference to configure.in and
1048 preconfigure.in to configure.ac and preconfigure.ac
1050 * INSTALL: Regenerated.
1051 * configure: Likewise.
1052 * sysdeps/gnu/configure: Likewise.
1053 * sysdeps/i386/configure: Likewise.
1054 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1055 * sysdeps/mach/configure: Likewise.
1056 * sysdeps/mach/hurd/configure: Likewise.
1057 * sysdeps/powerpc/configure: Likewise.
1058 * sysdeps/powerpc/powerpc32/configure: Likewise.
1059 * sysdeps/powerpc/powerpc64/configure: Likewise.
1060 * sysdeps/s390/s390-32/configure: Likewise.
1061 * sysdeps/s390/s390-64/configure: Likewise.
1062 * sysdeps/sh/configure: Likewise.
1063 * sysdeps/sparc/configure: Likewise.
1064 * sysdeps/unix/sysv/linux/configure: Likewise.
1065 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1066 * sysdeps/x86_64/configure: Likewise.
1067 * sysdeps/x86_64/preconfigure: Likewise.
1069 2013-10-29 Andreas Schwab <schwab@suse.de>
1071 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1073 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1075 * benchtests/pow-inputs: Add new inputs.
1077 * benchtests/exp-inputs: Add new inputs.
1079 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1080 conditional check for return value.
1081 (__cos32): Likewise.
1083 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1086 to provide a boost for large inputs with word alignment.
1087 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1088 implementation based on optimized PPC64 strcpy.
1089 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1090 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1091 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1092 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1094 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1097 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1099 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1102 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1103 * time/tst-strptime.c (day_tests): Add testcase.
1105 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1108 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1110 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1113 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1114 MAP_FAILED on error.
1116 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1119 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1120 heap for large requests.
1122 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1125 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1126 result if the result has no associated interface.
1127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1128 interface for all 127.X.Y.Z addresses.
1130 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
1132 * locale/iso-639.def: Add Ligurian (lij)
1134 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
1137 * sunrpc/rpc_main.c: Document rpcgen -5.
1139 2013-10-19 Michael Stahl <mstahl@redhat.com>
1141 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1143 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1146 * posix/glob.c: Match only directories when trailing slash is present.
1147 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1148 (main): Add testcase.
1150 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1153 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1155 2013-10-18 Carlos O'Donell <carlos@redhat.com>
1157 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1158 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1159 AUTH_DES and cindex for FIPS 140-2.
1160 (DES Encryption): Add cindex FIPS 46-3.
1162 * locale/locarchive.h (struct locarhandle): Add fname.
1163 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1164 if an optional argument was specified to --list-archive,
1166 * locale/programs/locarchive.c (show_archive_content): Take new
1167 argument fname and pass it via ah.fname to open_archive.
1168 * locale/programs/localedef.h: Update decl.
1169 (open_archive): If AH->fname is non-null, open that file
1170 rather than the default file name, and don't ignore ENOENT.
1171 (create_archive): Set AH.fname to NULL.
1172 (delete_locales_from_archive): Likewise.
1173 (add_locales_to_archive): Likewise.
1174 * locale/programs/locfile.c (write_all_categories): Likewise.
1176 2013-10-18 Joseph Myers <joseph@codesourcery.com>
1177 Aldy Hernandez <aldyh@redhat.com>
1179 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1180 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1181 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1182 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1183 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1184 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1185 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1186 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1187 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1188 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1189 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1190 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1191 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1192 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1193 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1195 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1197 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1199 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1201 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1202 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1204 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1205 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1206 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1207 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1209 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1210 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1211 * sysdeps/powerpc/preconfigure: Likewise.
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1214 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1215 Replace contents of file by #include of <fenv_libc.h>.
1216 * sysdeps/powerpc/soft-fp/sfp-machine.h
1217 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1219 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1232 Allow copysignl PLT reference to be missing.
1234 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1235 Joseph Myers <joseph@codesourcery.com
1238 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1240 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1242 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1244 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1245 * elf/tst-tls1.c: Likewise.
1246 * elf/tst-tls10.h: Likewise.
1247 * elf/tst-tls14.c: Likewise.
1248 * elf/tst-tls2.c: Likewise.
1249 * elf/tst-tls3.c: Likewise.
1250 * elf/tst-tls4.c: Likewise.
1251 * elf/tst-tls5.c: Likewise.
1252 * elf/tst-tls6.c: Likewise.
1253 * elf/tst-tls7.c: Likewise.
1254 * elf/tst-tls8.c: Likewise.
1255 * elf/tst-tls9.c: Likewise.
1256 * elf/tst-tlsmod1.c: Likewise.
1257 * elf/tst-tlsmod13.c: Likewise.
1258 * elf/tst-tlsmod13a.c: Likewise.
1259 * elf/tst-tlsmod14a.c: Likewise.
1260 * elf/tst-tlsmod16a.c: Likewise.
1261 * elf/tst-tlsmod16b.c: Likewise.
1262 * elf/tst-tlsmod2.c: Likewise.
1263 * elf/tst-tlsmod3.c: Likewise.
1264 * elf/tst-tlsmod4.c: Likewise.
1265 * elf/tst-tlsmod5.c: Likewise.
1266 * elf/tst-tlsmod6.c: Likewise.
1268 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1271 * malloc/malloc.c: remove checks for statistics.
1273 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1276 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1277 * inet/tst-network.c: Add testcase.
1279 2013-10-17 Andreas Schwab <schwab@suse.de>
1282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1283 to determine canonical name.
1285 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1287 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1288 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1290 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1292 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1293 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1294 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1295 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1296 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1297 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1298 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1299 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1300 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1301 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1302 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1304 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1305 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1306 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1307 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1308 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1309 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1310 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1311 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1312 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1313 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1314 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1315 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1316 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1317 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1318 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1319 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1320 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1321 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1322 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1323 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1324 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1325 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1326 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1327 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1328 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1331 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1332 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1333 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1334 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1335 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1336 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1337 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1338 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1339 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1340 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1342 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1344 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1346 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1349 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1350 make result into a quiet NaN.
1352 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1354 * soft-fp/adddf3.c: Fix horizontal whitespace.
1355 * soft-fp/addsf3.c: Likewise.
1356 * soft-fp/addtf3.c: Likewise.
1357 * soft-fp/divdf3.c: Likewise.
1358 * soft-fp/divsf3.c: Likewise.
1359 * soft-fp/divtf3.c: Likewise.
1360 * soft-fp/double.h: Likewise.
1361 * soft-fp/eqdf2.c: Likewise.
1362 * soft-fp/eqsf2.c: Likewise.
1363 * soft-fp/eqtf2.c: Likewise.
1364 * soft-fp/extenddftf2.c: Likewise.
1365 * soft-fp/extended.h: Likewise.
1366 * soft-fp/extendsfdf2.c: Likewise.
1367 * soft-fp/extendsftf2.c: Likewise.
1368 * soft-fp/extendxftf2.c: Likewise.
1369 * soft-fp/fixdfdi.c: Likewise.
1370 * soft-fp/fixdfsi.c: Likewise.
1371 * soft-fp/fixdfti.c: Likewise.
1372 * soft-fp/fixsfdi.c: Likewise.
1373 * soft-fp/fixsfsi.c: Likewise.
1374 * soft-fp/fixsfti.c: Likewise.
1375 * soft-fp/fixtfdi.c: Likewise.
1376 * soft-fp/fixtfsi.c: Likewise.
1377 * soft-fp/fixtfti.c: Likewise.
1378 * soft-fp/fixunsdfdi.c: Likewise.
1379 * soft-fp/fixunsdfsi.c: Likewise.
1380 * soft-fp/fixunsdfti.c: Likewise.
1381 * soft-fp/fixunssfdi.c: Likewise.
1382 * soft-fp/fixunssfsi.c: Likewise.
1383 * soft-fp/fixunssfti.c: Likewise.
1384 * soft-fp/fixunstfdi.c: Likewise.
1385 * soft-fp/fixunstfsi.c: Likewise.
1386 * soft-fp/fixunstfti.c: Likewise.
1387 * soft-fp/floatdidf.c: Likewise.
1388 * soft-fp/floatdisf.c: Likewise.
1389 * soft-fp/floatditf.c: Likewise.
1390 * soft-fp/floatsidf.c: Likewise.
1391 * soft-fp/floatsisf.c: Likewise.
1392 * soft-fp/floatsitf.c: Likewise.
1393 * soft-fp/floattidf.c: Likewise.
1394 * soft-fp/floattisf.c: Likewise.
1395 * soft-fp/floattitf.c: Likewise.
1396 * soft-fp/floatundidf.c: Likewise.
1397 * soft-fp/floatundisf.c: Likewise.
1398 * soft-fp/floatunditf.c: Likewise.
1399 * soft-fp/floatunsidf.c: Likewise.
1400 * soft-fp/floatunsisf.c: Likewise.
1401 * soft-fp/floatunsitf.c: Likewise.
1402 * soft-fp/floatuntidf.c: Likewise.
1403 * soft-fp/floatuntisf.c: Likewise.
1404 * soft-fp/floatuntitf.c: Likewise.
1405 * soft-fp/fmadf4.c: Likewise.
1406 * soft-fp/fmasf4.c: Likewise.
1407 * soft-fp/fmatf4.c: Likewise.
1408 * soft-fp/gedf2.c: Likewise.
1409 * soft-fp/gesf2.c: Likewise.
1410 * soft-fp/getf2.c: Likewise.
1411 * soft-fp/ledf2.c: Likewise.
1412 * soft-fp/lesf2.c: Likewise.
1413 * soft-fp/letf2.c: Likewise.
1414 * soft-fp/muldf3.c: Likewise.
1415 * soft-fp/mulsf3.c: Likewise.
1416 * soft-fp/multf3.c: Likewise.
1417 * soft-fp/negdf2.c: Likewise.
1418 * soft-fp/negsf2.c: Likewise.
1419 * soft-fp/negtf2.c: Likewise.
1420 * soft-fp/op-1.h: Likewise.
1421 * soft-fp/op-2.h: Likewise.
1422 * soft-fp/op-4.h: Likewise.
1423 * soft-fp/op-8.h: Likewise.
1424 * soft-fp/op-common.h: Likewise.
1425 * soft-fp/quad.h: Likewise.
1426 * soft-fp/single.h: Likewise.
1427 * soft-fp/soft-fp.h: Likewise.
1428 * soft-fp/sqrtdf2.c: Likewise.
1429 * soft-fp/sqrtsf2.c: Likewise.
1430 * soft-fp/sqrttf2.c: Likewise.
1431 * soft-fp/subdf3.c: Likewise.
1432 * soft-fp/subsf3.c: Likewise.
1433 * soft-fp/subtf3.c: Likewise.
1434 * soft-fp/truncdfsf2.c: Likewise.
1435 * soft-fp/trunctfdf2.c: Likewise.
1436 * soft-fp/trunctfsf2.c: Likewise.
1437 * soft-fp/trunctfxf2.c: Likewise.
1438 * soft-fp/unorddf2.c: Likewise.
1439 * soft-fp/unordsf2.c: Likewise.
1440 * soft-fp/unordtf2.c: Likewise.
1442 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1444 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1445 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1447 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1449 * elf/dl-libc.c: Clear initfini list after freeing.
1451 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1453 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1454 * soft-fp/addsf3.c: Likewise.
1455 * soft-fp/addtf3.c: Likewise.
1456 * soft-fp/divdf3.c: Likewise.
1457 * soft-fp/divsf3.c: Likewise.
1458 * soft-fp/divtf3.c: Likewise.
1459 * soft-fp/double.h: Likewise.
1460 * soft-fp/eqdf2.c: Likewise.
1461 * soft-fp/eqsf2.c: Likewise.
1462 * soft-fp/eqtf2.c: Likewise.
1463 * soft-fp/extenddftf2.c: Likewise.
1464 * soft-fp/extended.h: Likewise.
1465 * soft-fp/extendsfdf2.c: Likewise.
1466 * soft-fp/extendsftf2.c: Likewise.
1467 * soft-fp/extendxftf2.c: Likewise.
1468 * soft-fp/fixdfdi.c: Likewise.
1469 * soft-fp/fixdfsi.c: Likewise.
1470 * soft-fp/fixdfti.c: Likewise.
1471 * soft-fp/fixsfdi.c: Likewise.
1472 * soft-fp/fixsfsi.c: Likewise.
1473 * soft-fp/fixsfti.c: Likewise.
1474 * soft-fp/fixtfdi.c: Likewise.
1475 * soft-fp/fixtfsi.c: Likewise.
1476 * soft-fp/fixtfti.c: Likewise.
1477 * soft-fp/fixunsdfdi.c: Likewise.
1478 * soft-fp/fixunsdfsi.c: Likewise.
1479 * soft-fp/fixunsdfti.c: Likewise.
1480 * soft-fp/fixunssfdi.c: Likewise.
1481 * soft-fp/fixunssfsi.c: Likewise.
1482 * soft-fp/fixunssfti.c: Likewise.
1483 * soft-fp/fixunstfdi.c: Likewise.
1484 * soft-fp/fixunstfsi.c: Likewise.
1485 * soft-fp/fixunstfti.c: Likewise.
1486 * soft-fp/floatdidf.c: Likewise.
1487 * soft-fp/floatdisf.c: Likewise.
1488 * soft-fp/floatditf.c: Likewise.
1489 * soft-fp/floatsidf.c: Likewise.
1490 * soft-fp/floatsisf.c: Likewise.
1491 * soft-fp/floatsitf.c: Likewise.
1492 * soft-fp/floattidf.c: Likewise.
1493 * soft-fp/floattisf.c: Likewise.
1494 * soft-fp/floattitf.c: Likewise.
1495 * soft-fp/floatundidf.c: Likewise.
1496 * soft-fp/floatundisf.c: Likewise.
1497 * soft-fp/floatunsidf.c: Likewise.
1498 * soft-fp/floatunsisf.c: Likewise.
1499 * soft-fp/floatuntidf.c: Likewise.
1500 * soft-fp/floatuntisf.c: Likewise.
1501 * soft-fp/floatuntitf.c: Likewise.
1502 * soft-fp/fmadf4.c: Likewise.
1503 * soft-fp/fmasf4.c: Likewise.
1504 * soft-fp/fmatf4.c: Likewise.
1505 * soft-fp/gedf2.c: Likewise.
1506 * soft-fp/gesf2.c: Likewise.
1507 * soft-fp/getf2.c: Likewise.
1508 * soft-fp/ledf2.c: Likewise.
1509 * soft-fp/lesf2.c: Likewise.
1510 * soft-fp/letf2.c: Likewise.
1511 * soft-fp/muldf3.c: Likewise.
1512 * soft-fp/mulsf3.c: Likewise.
1513 * soft-fp/multf3.c: Likewise.
1514 * soft-fp/negdf2.c: Likewise.
1515 * soft-fp/negsf2.c: Likewise.
1516 * soft-fp/negtf2.c: Likewise.
1517 * soft-fp/op-1.h: Likewise.
1518 * soft-fp/op-2.h: Likewise.
1519 * soft-fp/op-4.h: Likewise.
1520 * soft-fp/op-8.h: Likewise.
1521 * soft-fp/op-common.h: Likewise.
1522 * soft-fp/quad.h: Likewise.
1523 * soft-fp/single.h: Likewise.
1524 * soft-fp/soft-fp.h: Likewise.
1525 * soft-fp/sqrtdf2.c: Likewise.
1526 * soft-fp/sqrtsf2.c: Likewise.
1527 * soft-fp/sqrttf2.c: Likewise.
1528 * soft-fp/subdf3.c: Likewise.
1529 * soft-fp/subsf3.c: Likewise.
1530 * soft-fp/subtf3.c: Likewise.
1531 * soft-fp/truncdfsf2.c: Likewise.
1532 * soft-fp/trunctfdf2.c: Likewise.
1533 * soft-fp/trunctfsf2.c: Likewise.
1534 * soft-fp/trunctfxf2.c: Likewise.
1535 * soft-fp/unorddf2.c: Likewise.
1536 * soft-fp/unordsf2.c: Likewise.
1537 * soft-fp/unordtf2.c: Likewise.
1539 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1542 * misc/error.c (error_tail): Fix possible buffer overflow.
1544 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1547 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1550 2013-10-14 P. J. McDermott <pj@pehjota.net>
1553 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1554 testing pipefail option.
1556 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1558 * soft-fp/double.h: Indent preprocessor directives inside #if.
1559 * soft-fp/extended.h: Likewise.
1560 * soft-fp/op-2.h: Likewise.
1561 * soft-fp/op-4.h: Likewise.
1562 * soft-fp/op-common.h: Likewise.
1563 * soft-fp/quad.h: Likewise.
1564 * soft-fp/single.h: Likewise.
1565 * soft-fp/soft-fp.h: Likewise.
1567 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1569 * iconv/iconv_prog.c: Fix typos.
1570 * stdio-common/psiginfo-data.h: Likewise.
1572 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1575 * locale/setlocale.c: Fix typo.
1577 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1580 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1581 signaling NaN arguments.
1582 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1583 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1586 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1588 * soft-fp/gesf2.c (__gesf2): Likewise.
1589 * soft-fp/getf2.c (__getf2): Likewise.
1590 * soft-fp/ledf2.c (__ledf2): Likewise.
1591 * soft-fp/lesf2.c (__lesf2): Likewise.
1592 * soft-fp/letf2.c (__letf2): Likewise.
1594 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1595 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1596 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1597 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1598 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1599 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1600 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1601 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1602 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1603 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1604 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1605 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1606 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1607 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1608 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1609 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1610 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1611 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1612 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1613 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1614 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1615 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1616 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1617 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1618 * soft-fp/floattidf.c (__floattidf): Likewise.
1619 * soft-fp/floattisf.c (__floattisf): Likewise.
1620 * soft-fp/floattitf.c (__floattitf): Likewise.
1621 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1622 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1623 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1624 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1625 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1626 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1627 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1628 * soft-fp/gesf2.c (__gesf2): Likewise.
1629 * soft-fp/getf2.c (__getf2): Likewise.
1630 * soft-fp/ledf2.c (__ledf2): Likewise.
1631 * soft-fp/lesf2.c (__lesf2): Likewise.
1632 * soft-fp/letf2.c (__letf2): Likewise.
1634 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1635 Undefine and redefine.
1636 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1637 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1638 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1639 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1640 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1641 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1642 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1643 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1644 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1645 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1646 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1647 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1648 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1649 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1650 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1653 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1654 without decrementing exponent if mantissa >= that for the
1656 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1657 denominator, not >. Decrement exponent in < case instead of
1658 incrementing in >= case.
1659 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1660 without decrementing exponent if mantissa >= that for the
1663 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1664 computing saturated result for unsigned overflow.
1666 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 Jeff Law <law@redhat.com>
1669 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1670 (atan2Mp): Add systemtap probe marker.
1671 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1672 (__ieee754_log): Add systemtap probe marker.
1673 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1674 (atanMp): Add systemtap probe marker.
1675 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1676 (tanMp): Add systemtap probe marker.
1677 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1678 (__slowexp): Add systemtap probe marker.
1679 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1680 (__slowpow): Add systemtap probe marker.
1681 * manual/probes.texi: Document probes.
1683 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1686 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1688 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1690 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1691 written to buffer but not flushed.
1692 * libio/iofwrite_u.c: Likewise.
1693 * libio/iopadn.c: Return bytes returned even if EOF was
1695 * libio/iowpadn.c: Likewise.
1696 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1697 if _IO_padn does not write the whole buffer.
1698 [!COMPILE_WPRINTF] (PAD): Likewise.
1700 2013-10-10 David S. Miller <davem@davemloft.net>
1702 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1705 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1707 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1708 instead of FSF address.
1709 * soft-fp/fixdfti.c: Likewise.
1710 * soft-fp/fixsfti.c: Likewise.
1711 * soft-fp/fixtfti.c: Likewise.
1712 * soft-fp/fixunsdfti.c: Likewise.
1713 * soft-fp/fixunssfti.c: Likewise.
1714 * soft-fp/fixunstfti.c: Likewise.
1715 * soft-fp/floattidf.c: Likewise.
1716 * soft-fp/floattisf.c: Likewise.
1717 * soft-fp/floattitf.c: Likewise.
1718 * soft-fp/floatuntidf.c: Likewise.
1719 * soft-fp/floatuntisf.c: Likewise.
1720 * soft-fp/floatuntitf.c: Likewise.
1721 * soft-fp/trunctfxf2.c: Likewise.
1723 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1724 * soft-fp/fixdfti.c: Likewise.
1725 * soft-fp/fixsfti.c: Likewise.
1726 * soft-fp/fixtfti.c: Likewise.
1727 * soft-fp/fixunsdfti.c: Likewise.
1728 * soft-fp/fixunssfti.c: Likewise.
1729 * soft-fp/fixunstfti.c: Likewise.
1730 * soft-fp/floattidf.c: Likewise.
1731 * soft-fp/floattisf.c: Likewise.
1732 * soft-fp/floattitf.c: Likewise.
1733 * soft-fp/floatuntidf.c: Likewise.
1734 * soft-fp/floatuntisf.c: Likewise.
1735 * soft-fp/floatuntitf.c: Likewise.
1736 * soft-fp/trunctfxf2.c: Likewise.
1738 2013-10-10 David S. Miller <davem@davemloft.net>
1740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1742 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1744 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1745 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1746 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1747 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1748 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1749 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1750 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1752 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1753 for NaNs before doing comparisons on argument.
1754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1757 2013-10-10 Will Newton <will.newton@linaro.org>
1759 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1760 passed to _int_memalign does not overflow.
1762 2013-10-10 Torvald Riegel <triegel@redhat.com>
1764 * scripts/bench.pl: Add include-sources directive.
1765 * benchtests/README: Update documentation.
1767 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1769 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1770 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1771 instead of FP_INIT_ROUNDMODE.
1772 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1773 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1776 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1777 copy class of input value.
1778 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1779 not handle exceptions.
1780 * soft-fp/negsf2.c (__negsf2): Likewise.
1781 * soft-fp/negtf2.c (__negtf2): Likewise.
1782 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1784 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1786 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1787 semicolon. From Linux kernel.
1789 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1791 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1793 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1796 * manual/socket.texi: Added statement about buffer
1797 for gethostbyname2_r.
1799 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1801 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1802 Use .p2align directive instead, throughout.
1803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1804 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1805 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1808 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1809 * sysdeps/x86_64/strchr.S: Likewise.
1810 * sysdeps/x86_64/strrchr.S: Likewise.
1812 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1814 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1816 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1818 * sysdeps/generic/math_private.h (__mpsin1): Remove
1820 (__mpcos1): Likewise.
1821 (__mpsin): New argument __range_reduce.
1822 (__mpcos): Likewise.
1823 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1824 (slow): Use __mpsin and __mpcos.
1831 (bsloww1): Likewise.
1832 (bsloww2): Likewise.
1835 (csloww1): Likewise.
1836 (csloww2): Likewise.
1837 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1838 range_reduce. Merge in __mpsin1.
1839 (__mpcos): Likewise.
1841 (__mpcos1): Likewise.
1843 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1845 * locale/loadlocale.c (_nl_intern_locale_data): Use
1847 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1848 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1849 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1850 obstack data is appropriately aligned.
1851 (obstack_int32_grow_fast): Likewise.
1852 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1853 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1854 (add_locale_uint32_array): Likewise.
1856 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1858 * benchtests/Makefile: Remove ARGLIST and RET variables.
1859 ($(objpfx)bench-%.c): Pass only function name to the script.
1860 * benchtests/README: Update documentation.
1861 * benchtests/acos-inputs: Add new directives.
1862 * benchtests/acosh-inputs: Likewise.
1863 * benchtests/asin-inputs: Likewise.
1864 * benchtests/asinh-inputs: Likewise.
1865 * benchtests/atan-inputs: Likewise.
1866 * benchtests/atanh-inputs: Likewise.
1867 * benchtests/cos-inputs: Likewise.
1868 * benchtests/cosh-inputs: Likewise.
1869 * benchtests/exp-inputs: Likewise.
1870 * benchtests/log-inputs: Likewise.
1871 * benchtests/pow-inputs: Likewise.
1872 * benchtests/rint-inputs: Likewise.
1873 * benchtests/sin-inputs: Likewise.
1874 * benchtests/sinh-inputs: Likewise.
1875 * benchtests/tan-inputs: Likewise.
1876 * benchtests/tanh-inputs: Likewise.
1877 * scripts/bench.pl: Add support for new directives.
1879 2013-10-07 Alan Modra <amodra@gmail.com>
1881 * README: Fix careless merge.
1883 2013-10-05 Alan Modra <amodra@gmail.com>
1885 * NEWS: Mention powerpc64le support and bugs fixed.
1886 * README: Both big-endian and little-endian powerpc64 supported.
1888 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1890 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1891 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1892 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1893 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1895 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1897 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1900 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1902 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1903 Move -mhard-float appending from
1904 ports/sysdeps/powerpc/powerpc32/Makefile.
1905 [$(with-fp) = yes] (ASFLAGS): Likewise.
1906 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1907 * sysdeps/powerpc/nofpu: Move directory from
1908 ports/sysdeps/powerpc/nofpu.
1909 * sysdeps/powerpc/soft-fp: Move directory from
1910 ports/sysdeps/powerpc/soft-fp.
1911 * sysdeps/powerpc/powerpc32/405: Move directory from
1912 ports/sysdeps/powerpc/powerpc32/405.
1913 * sysdeps/powerpc/powerpc32/440: Move directory from
1914 ports/sysdeps/powerpc/powerpc32/440.
1915 * sysdeps/powerpc/powerpc32/464: Move directory from
1916 ports/sysdeps/powerpc/powerpc32/464.
1917 * sysdeps/powerpc/powerpc32/476: Move directory from
1918 ports/sysdeps/powerpc/powerpc32/476.
1919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1920 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1922 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1924 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1926 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1928 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1929 * README: Update for powerpc-*-linux-gnu software floating point
1932 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1933 case to powerpc/powerpc32*.
1934 * sysdeps/unix/sysv/linux/configure: Regenerated.
1936 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1937 (_FPU_MASK_OM): Define as 0x04.
1938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1946 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1949 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1952 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1953 and setcontext_e500.
1955 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1957 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1959 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1961 * manual/threads.texi (Default Thread Attributes): Fix typo.
1963 2013-10-04 Will Newton <will.newton@linaro.org>
1965 * malloc/Makefile: Add tst-memalign.
1966 * malloc/tst-memalign.c: New file.
1968 * malloc/tst-posix_memalign.c: Add comments.
1969 (do_test): Add comments and call free on all potentially
1970 allocated pointers. Add space after cast.
1972 * malloc/tst-pvalloc.c: Add comments.
1973 (do_test): Add comments and call free on all potentially
1974 allocated pointers. Remove duplicate check for NULL pointer.
1975 Add space after cast.
1977 * malloc/tst-valloc.c: Add comments.
1978 (do_test): Add comments and call free on all potentially
1979 allocated pointers. Remove duplicate check for NULL pointer.
1980 Add space after cast.
1982 2013-10-04 Alan Modra <amodra@gmail.com>
1984 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1985 Use stdint types in rather than __attribute__((mode())).
1986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1988 2013-10-04 Alan Modra <amodra@gmail.com>
1990 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1991 Correct handling of unaligned relocs for little-endian.
1992 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1994 2013-10-04 Alan Modra <amodra@gmail.com>
1996 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1997 * configure: Regenerate.
1998 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1999 * shlib-versions: Likewise.
2001 2013-10-04 Alan Modra <amodra@gmail.com>
2003 * string/tester.c (test_memrchr): Increment reported test cycle.
2005 2013-10-04 Alan Modra <amodra@gmail.com>
2007 * string/test-memcpy.c (do_one_test): When reporting errors, print
2008 string address and don't overrun end of string.
2010 2013-10-04 Alan Modra <amodra@gmail.com>
2012 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2013 insrdi. Make better use of reg selection to speed exit slightly.
2014 Schedule entry path a little better. Remove useless "are we done"
2015 checks on entry to main loop. Handle wrapping around zero address.
2016 Correct main loop count. Handle single left-over word from main
2017 loop inline rather than by using loop_small. Remove extra word
2018 case in loop_small caused by wrong loop count. Add little-endian
2020 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2021 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2023 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2024 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2025 support. Avoid rlwimi.
2026 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2028 2013-10-04 Alan Modra <amodra@gmail.com>
2030 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2032 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2033 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2034 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2036 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2039 2013-10-04 Alan Modra <amodra@gmail.com>
2041 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2042 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2043 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2044 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2046 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2048 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2050 use of regs. Use power7 mtocrf. Tidy function tails.
2052 2013-10-04 Alan Modra <amodra@gmail.com>
2054 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2055 Formatting. Consistently use rXXX register defines or rN defines.
2056 Use early exit labels that avoid restoring unused non-volatile regs.
2057 Make cr field use more consistent with rWORDn compares. Rename
2058 regs used as shift registers for unaligned loop, using rN defines
2059 for short lifetime/multiple use regs.
2060 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2061 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2062 addi 1,1,64 to pop stack frame. Simplify return value code.
2063 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2065 2013-10-04 Alan Modra <amodra@gmail.com>
2067 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2068 support. Correct typos, formatting. Optimize tail. Use insrdi
2070 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2072 little-endian support. Correct typos.
2073 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2075 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2076 in loop and entry code to keep "and." results.
2077 (strchr): Add little-endian support. Comment. Move cntlzd
2079 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2081 2013-10-04 Alan Modra <amodra@gmail.com>
2083 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2084 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2085 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2086 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2088 2013-10-04 Alan Modra <amodra@gmail.com>
2090 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2091 (rTMP): Define as r11.
2092 (strcmp): Add little-endian support. Optimise tail.
2093 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2094 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2095 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2096 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2097 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2101 2013-10-04 Alan Modra <amodra@gmail.com>
2103 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2104 little-endian support. Remove unnecessary "are we done" tests.
2105 Handle "s" wrapping around zero and extremely large "size".
2106 Correct main loop count. Handle single left-over word from main
2107 loop inline rather than by using small_loop. Correct comments.
2108 Delete "zero" tail, use "end_max" instead.
2109 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2111 2013-10-04 Alan Modra <amodra@gmail.com>
2113 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2114 support. Don't branch over align.
2115 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2116 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2117 support. Rearrange tmp reg use to suit. Comment.
2118 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2120 2013-10-04 Alan Modra <amodra@gmail.com>
2122 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2124 2013-10-04 Alan Modra <amodra@gmail.com>
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2127 conditional form of branch and link when obtaining pc.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2130 2013-10-04 Alan Modra <amodra@gmail.com>
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2137 2013-10-04 Alan Modra <amodra@gmail.com>
2139 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2140 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2141 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2142 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2143 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2144 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2145 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2146 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2147 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2148 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2150 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2151 Alistair Popple <alistair@ozlabs.au.ibm.com>
2152 Alan Modra <amodra@gmail.com>
2155 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2156 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2157 _dl_hwcap access for little-endian.
2158 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2159 destroy vmx regs when saving unaligned.
2160 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2161 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2162 destroy vmx regs when saving unaligned.
2164 2013-10-04 Alan Modra <amodra@gmail.com>
2166 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2167 Don't use a union to pack hi/low value.
2169 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2171 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2173 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2175 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2176 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2177 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2179 2013-10-04 Alan Modra <amodra@gmail.com>
2181 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2182 constants to usual value for .cst8 section, and remove redundant
2184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2185 constant for 0x1p52. Load little-endian words of double from
2186 correct stack offsets.
2188 2013-10-04 Alan Modra <amodra@gmail.com>
2190 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2191 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2192 words of double from correct stack offsets.
2193 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2194 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2195 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2196 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2197 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2198 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2200 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2201 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2203 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2204 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2205 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2206 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2207 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2208 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2209 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2211 2013-10-04 Alan Modra <amodra@gmail.com>
2213 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2214 64-bit int/double union.
2215 (_FPU_SETCW): Likewise.
2216 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2217 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2219 2013-10-04 Alan Modra <amodra@gmail.com>
2221 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2222 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2224 2013-10-04 Alan Modra <amodra@gmail.com>
2226 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2227 use vector int constants.
2228 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2230 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2232 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2233 array with long long.
2234 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2235 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2236 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2237 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2238 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2239 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2240 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2241 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2242 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2243 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2244 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2245 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2246 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2248 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2250 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2251 (__signbit): Likewise. Correct for little-endian.
2252 (__signbitl): Call __signbit.
2253 (lrint): Correct for little-endian.
2254 (lrintf): Call lrint.
2256 2013-10-04 Alan Modra <amodra@gmail.com>
2258 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2259 union 32-bit int array member with 64-bit int array.
2260 (t515, tm256): Double rather than long double.
2261 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2263 2013-10-04 Alan Modra <amodra@gmail.com>
2265 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2267 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2269 version of math_ldbl.h.
2271 2013-10-04 Alan Modra <amodra@gmail.com>
2273 [BZ #15734], [BZ #15735]
2274 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2275 all uses of ieee875 long double macros and unions. Simplify test
2276 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2277 ldbl_extract_mantissa value for ix,iy exponents. Properly
2278 normalize after ldbl_extract_mantissa, and don't add hidden bit
2279 already handled. Don't treat low word of ieee854 mantissa like
2280 low word of IBM long double and mask off bit when testing for
2282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2283 all uses of ieee875 long double macros and unions. Simplify tests
2284 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2285 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2286 two1022, instead use their values. Recognise that tests for large
2287 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2289 Rewrite all uses of ieee875 long double macros and unions. Simplify
2290 test for 0.0L and nan. Correct negation.
2291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2292 ieee875 long double macros and unions. Correct output for large
2293 magnitude x. Correct absolute value calculation.
2294 (__erfcl): Likewise.
2295 * math/libm-test.inc: Add tests for errors discovered in IBM long
2296 double versions of fmodl, remainderl, erfl and erfcl.
2298 2013-10-04 Alan Modra <amodra@gmail.com>
2300 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2301 all uses of ieee854 long double macros and unions. Simplify tests
2302 for long doubles that are fully specified by the high double.
2303 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2305 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2306 Remove dead code too.
2307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2308 (__ieee754_ynl): Likewise.
2309 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2310 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2312 Remove dead code too.
2313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2316 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2320 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2321 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2323 Comment on variable precision.
2324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2325 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2327 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2330 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2331 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2333 2013-10-04 Alan Modra <amodra@gmail.com>
2335 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2336 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2337 all uses of ieee854 long double macros and unions.
2338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2340 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2341 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2342 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2343 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2346 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2348 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2351 Simplify sign and nan test too.
2352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2354 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2357 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2358 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2367 2013-10-04 Alan Modra <amodra@gmail.com>
2369 * stdio-common/printf_size.c (__printf_size): Don't use
2370 union ieee854_long_double in fpnum union.
2371 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2372 signbit macro to retrieve sign from long double.
2373 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2374 retrieve sign from long double.
2375 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2376 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2377 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2378 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2379 * math/test-misc.c (main): Don't use union ieee854_long_double.
2381 2013-10-04 Alan Modra <amodra@gmail.com>
2384 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2385 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2386 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2387 calculation. Remove unnecessary test for denormal exponent.
2388 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2389 Correct handling of denormals. Avoid undefined shift behaviour.
2390 Correct normalisation of low mantissa when low double is denormal.
2391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2392 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2393 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2394 Correct normalisation of low mantissa. Test for overflow of high
2395 mantissa and normalise.
2396 (ldbl_nearbyint): Use more readable constant for two52.
2397 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2398 (__mpn_construct_long_double): Fix test for overflow of high
2399 mantissa and correct normalisation. Avoid undefined shift.
2401 2013-10-04 Alan Modra <amodra@gmail.com>
2403 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2404 (union ibm_extended_long_double): Define as an array of ieee754_double.
2405 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2406 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2407 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2408 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2417 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2419 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2420 page size instead of calling getpagesize.
2422 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2423 (LOCFILE_ALIGN_MASK): Likewise.
2424 (LOCFILE_ALIGN_UP): Likewise.
2425 (LOCFILE_ALIGNED_P): Likewise.
2426 * locale/programs/ld-collate.c (collate_output): Use the new
2427 macros instead of __alignof__ (int32_t).
2428 * locale/weight.h (findidx): Likewise.
2430 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2433 * manual/string.texi: Fix strncat and wcsncat.
2435 2013-10-03 Brooks Moses <bmoses@google.com>
2438 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2439 * Makerules: ...here, and adjust associated comments.
2441 2013-10-02 Will Newton <will.newton@linaro.org>
2443 * malloc/Makefile: Add tst-pvalloc.
2444 * malloc/tst-pvalloc.c: New file.
2446 2013-10-02 Will Newton <will.newton@linaro.org>
2448 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2449 improve test coverage.
2451 2013-10-02 Will Newton <will.newton@linaro.org>
2453 * malloc/Makefile: Add tst-posix_memalign.
2454 * malloc/tst-posix_memalign.c: New file.
2456 2013-10-01 Eric Blake <eblake@redhat.com>
2458 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2459 Use __THROWNL rather than __THROW on static functions.
2461 2013-09-30 Petr Machata <pmachata@redhat.com>
2463 * elf/elf.h (R_AARCH64_ABS16): New macro.
2464 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2465 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2466 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2467 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2468 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2469 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2470 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2471 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2472 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2473 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2474 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2475 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2476 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2477 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2478 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2479 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2480 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2481 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2482 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2483 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2484 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2485 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2486 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2487 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2488 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2489 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2490 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2491 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2492 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2493 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2494 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2495 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2496 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2497 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2498 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2499 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2500 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2501 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2502 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2503 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2504 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2505 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2506 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2507 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2508 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2509 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2510 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2511 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2512 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2513 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2514 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2515 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2516 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2517 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2518 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2519 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2520 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2521 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2522 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2523 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2524 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2525 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2526 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2527 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2528 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2529 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2530 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2531 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2532 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2533 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2534 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2535 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2536 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2537 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2538 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2539 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2540 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2541 (R_AARCH64_TLSDESC_LDR): Likewise.
2542 (R_AARCH64_TLSDESC_ADD): Likewise.
2543 (R_AARCH64_TLSDESC_CALL): Likewise.
2545 2013-09-30 Andreas Schwab <schwab@suse.de>
2548 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2549 the nss database lookup.
2550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2553 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2555 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2557 2013-09-28 P. J. McDermott <pj@pehjota.net>
2559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2560 ${Bash-specific parameter/pattern/string} parameter expansion.
2561 * sysdeps/unix/make-syscalls.sh: Likewise.
2563 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2565 * sysdeps/sh/stackguard-macros.h: New file.
2567 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2571 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2572 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2573 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2574 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2576 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2578 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2579 Fix thread ID register.
2581 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2583 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2584 [POSIX || UNIX98]: Require rather than permitting all symbols from
2586 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2587 element of struct sched_param.
2588 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2589 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2590 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2591 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2594 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2596 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2597 argument calculation.
2599 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2601 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2603 [POSIX] (pthread_attr_t): Do not require type.
2604 [POSIX] (pthread_cond_t): Likewise.
2605 [POSIX] (pthread_condattr_t): Likewise.
2606 [POSIX] (pthread_key_t): Likewise.
2607 [POSIX] (pthread_mutex_t): Likewise.
2608 [POSIX] (pthread_mutexattr_t): Likewise.
2609 [POSIX] (pthread_once_t): Likewise.
2610 [POSIX] (pthread_t): Likewise.
2611 [POSIX-based standards] (pthread_atfork): Expect function.
2613 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2614 Richard Sandiford <richard@codesourcery.com>
2616 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2617 (swap_endianness_p): New extern variable.
2618 (set_big_endian): New inline function.
2619 (maybe_swap_uint32): Likewise.
2620 (maybe_swap_uint32_array): Likewise.
2621 (maybe_swap_uint32_obstack): Likewise.
2622 * locale/programs/locfile.c: Include <stdbool.h>.
2623 (swap_endianness_p): New variable.
2624 (add_locale_uint32): Call maybe_swap_uint32.
2625 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2626 (write_locale_data): Call maybe_swap_uint32_array.
2627 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2629 (obstack_int32_grow_fast): Likewise.
2630 (output_weightwc): Call maybe_swap_uint32_obstack.
2631 (collate_output): Likewise.
2632 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2633 (OPT_LITTLE_ENDIAN): Likewise.
2634 (options): Add --little-endian and --big-endian options.
2635 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2636 * locale/programs/locarchive.c: Include "locfile.h".
2640 (create_archive): Use the new macros to access fields of
2641 structures directly mapped from or written to locale archives.
2642 (oldlocrecentcmp): Likewise.
2643 (enlarge_archive): Likewise.
2644 (insert_name): Likewise.
2645 (add_alias): Likewise.
2646 (add_locale): Likewise.
2647 (delete_locales_from_archive): Likewise.
2648 (show_archive_content): Likewise.
2649 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2652 2013-09-24 Roland McGrath <roland@hack.frob.com>
2654 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2655 http://www.gnu.org/doc/freemanuals.texi.
2656 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2658 2013-09-24 Will Newton <will.newton@linaro.org>
2660 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2663 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2665 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2668 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2670 * manual/threads.texi (POSIX Threads): Fix a typo.
2672 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2675 * string/tst-strcoll-overflow.c: New test case.
2676 * string/Makefile (xtests): Add tst-strcoll-overflow.
2677 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2678 cache if string sizes may cause integer overflow.
2681 * string/strcoll_l.c (coll_seq): New members rule, idx,
2682 save_idx and back_us.
2683 (get_next_seq_nocache): New function.
2684 (do_compare_nocache): New function.
2685 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2688 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2691 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2692 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2693 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2696 * elf/Makefile (tests): Add tst-ptrguard1.
2697 (tests-static): Add tst-ptrguard1-static.
2698 (tst-ptrguard1-ARGS): Define.
2699 (tst-ptrguard1-static-ARGS): Define.
2700 * elf/tst-ptrguard1.c: New file.
2701 * elf/tst-ptrguard1-static.c: New file.
2702 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2703 * sysdeps/i386/stackguard-macros.h: Likewise.
2704 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2705 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2706 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2707 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2708 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2709 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2711 2013-09-23 Hector Marco <hecmargi@upv.es>
2712 Ismael Ripoll <iripoll@disca.upv.es>
2713 Carlos O'Donell <carlos@redhat.com>
2716 * sysdeps/generic/stackguard-macros.h: Define
2717 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2718 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2719 Define __pointer_chk_guard_local.
2720 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2721 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2723 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2726 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2728 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2730 * include/string.h (__ffs): Declare as hidden.
2731 * string/ffs.c (__ffs): Define as hidden.
2732 * sysdeps/i386/ffs.c (__ffs): Likewise.
2733 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2734 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2735 * sysdeps/s390/ffs.c (__ffs): Likewise.
2736 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2738 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2740 * NEWS: Mention malloc probes.
2742 * malloc/arena.c (new_heap): New memory_heap_new probe.
2743 (grow_heap): New memory_heap_more probe.
2744 (shrink_heap): New memory_heap_less probe.
2745 (heap_trim): New memory_heap_free probe.
2746 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2747 (systrim): New memory_sbrk_less probe.
2748 * manual/probes.texi: Document them.
2750 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2751 * manual/probes.texi: Document it.
2753 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2754 (__libc_realloc): Add memory_realloc_retry probe.
2755 (__libc_memalign): Add memory_memalign_retry probe.
2756 (__libc_valloc): Add memory_valloc_retry probe.
2757 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2758 (__libc_calloc): Add memory_calloc_retry probe.
2759 * manual/probes.texi: Document them.
2761 * malloc/arena.c (get_free_list): Add probe
2762 memory_arena_reuse_free_list.
2763 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2764 and memory_arena_reuse.
2765 (arena_get2) [!PER_THREAD]: Likewise.
2766 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2767 memory_arena_reuse_realloc.
2768 * manual/probes.texi: Document them.
2770 * malloc/malloc.c (__libc_free): Add
2771 memory_mallopt_free_dyn_thresholds probe.
2772 (__libc_mallopt): Add multiple memory_mallopt probes.
2773 * manual/probes.texi: Document them.
2775 * malloc/malloc.c: Include stap-probe.h.
2776 (__libc_mallopt): Add memory_mallopt probe.
2777 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2778 * manual/probes.texi: New.
2779 * manual/Makefile (chapters): Add probes.
2780 * manual/threads.texi: Set next node.
2782 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2785 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2786 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2787 Add `Chinese' to `nan' entry name.
2789 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2791 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2792 (POLYNOMIAL): Likewise.
2793 (TAYLOR_SINCOS): Likewise.
2794 (TAYLOR_SLOW): Likewise.
2795 (__sin): Use TAYLOR_SINCOS.
2797 (slow): Use TAYLOR_SLOW.
2802 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2804 * stdlib/strtod_l.c: Fix buffer overrun.
2806 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2808 * benchtests/Makefile (bench): Add sincos.
2809 * benchtests/bench-sincos.c: New file.
2811 * math/libm-test.inc (cos_test_data): New test inputs.
2812 (sin_test_data): Likewise.
2814 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2822 (bsloww1): Likewise.
2823 (bsloww2): Likewise.
2825 (csloww1): Likewise.
2826 (csloww2): Likewise.
2828 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2833 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2837 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2839 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2840 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2841 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2842 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2843 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2844 * elf/cache.c (print_entry): Handle the new cache flags.
2846 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2847 Aldy Hernandez <aldyh@redhat.com>
2849 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2850 Change condition to [_SOFT_FLOAT].
2851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2863 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2866 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2869 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2871 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2872 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2873 (__longjmp): Use LOAD_GP to load saved GPRs.
2874 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2875 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2876 (__sigsetjmp): Use SAVE_GP to save GPRs.
2878 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2879 Do not append -msoft-float.
2880 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2882 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2884 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2886 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2889 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2890 (_FPU_GETCW): Use initial "__" on variable and field names but not
2891 on macro parameter name.
2892 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2893 parentheses around reference to macro parameter.
2895 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2897 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2899 (ctype_startup): Use uint32_t in cast and sizeof for
2902 2013-09-11 Jia Liu <proljc@gmail.com>
2904 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2906 [__FreeBSD__]: Likewise.
2908 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2910 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2911 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2912 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2913 (strchr): Remove __strchr_sse42 ifunc selection.
2914 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2915 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2917 2013-09-11 Will Newton <will.newton@linaro.org>
2919 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2920 parameter to RES. Remove hardcoded 1000 value.
2921 * benchtests/bench-skeleton.c (main): Pass RES parameter
2922 to TIMING_INIT and multiply result by 1000.
2924 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2928 2013-09-11 Andreas Schwab <schwab@suse.de>
2930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2932 (O_TMPFILE) [__USE_GNU]: Define.
2933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2936 2013-09-11 Will Newton <will.newton@linaro.org>
2939 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2942 2013-09-11 Will Newton <will.newton@linaro.org>
2945 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2948 2013-09-11 Will Newton <will.newton@linaro.org>
2951 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2954 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2956 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2962 2013-09-10 Allan McRae <allan@archlinux.org>
2965 * manual/arith.texi (Parsing of Floats): Clarify
2969 * manual/install.texi (Running make install): Mention
2971 * INSTALL: Regenerated.
2973 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2975 * csu/init-first.c (_init): Remove the !SHARED condition around
2976 FPU control word initialization.
2977 * elf/dl-support.c (_dl_fpu_control): New variable.
2978 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2979 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2980 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2981 * math/test-fpucw-static.c: New file.
2982 * math/test-fpucw-ieee.c: New file.
2983 * math/test-fpucw-ieee-static.c: New file.
2984 * math/Makefile (tests): Add `test-fpucw-ieee' and
2986 (tests-static): New variable.
2987 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2989 [($(build-shared),yes)]
2990 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2992 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2995 2013-09-09 Allan McRae <allan@archlinux.org>
2998 * manual/string.texi (Collation Functions): Fix typo in
3000 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3003 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3006 * libio/memstream.c (open_memstream): Fix memory leak.
3007 * libio/wmemstream.c (open_wmemstream): Likewise.
3010 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3012 2013-09-09 Will Newton <will.newton@linaro.org>
3014 * malloc/Makefile: Add tst-realloc to tests.
3015 * malloc/tst-realloc.c: New file.
3017 2013-09-09 Allan McRae <allan@archlinux.org>
3020 * COPYING: Update from GNU website to fix FSF address.
3021 * COPYING.LIB: Likewise.
3023 2013-09-06 David S. Miller <davem@davemloft.net>
3025 * po/zh_TW.po: Update Chinese (traditional) translation from
3026 translation project.
3028 2013-09-06 Richard Sandiford <richard@codesourcery.com>
3029 Joseph Myers <joseph@codesourcery.com>
3031 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3033 (obstack_chunk_alloc): New macro.
3034 (obstack_chunk_free): Likewise.
3035 (record_offset): New function.
3036 (init_locale_data): Likewise.
3037 (align_locale_data): Likewise.
3038 (add_locale_empty): Likewise.
3039 (add_locale_raw_data): Likewise.
3040 (add_locale_raw_obstack): Likewise.
3041 (add_locale_string): Likewise.
3042 (add_locale_wstring): Likewise.
3043 (add_locale_uint32): Likewise.
3044 (add_locale_uint32_array): Likewise.
3045 (add_locale_char): Likewise.
3046 (start_locale_structure): Likewise.
3047 (end_locale_structure): Likewise.
3048 (start_locale_prelude): Likewise.
3049 (end_locale_prelude): Likewise.
3050 (write_locale_data): Take locale_file structure rather than an
3052 * locale/programs/locfile.h: Include "obstack.h".
3053 (struct locale_file): Change to store locale file contents instead
3055 (init_locale_data): New prototype.
3056 (align_locale_data): Likewise.
3057 (add_locale_empty): Likewise.
3058 (add_locale_raw_data): Likewise.
3059 (add_locale_raw_obstack): Likewise.
3060 (add_locale_string): Likewise.
3061 (add_locale_wstring): Likewise.
3062 (add_locale_uint32): Likewise.
3063 (add_locale_uint32_array): Likewise.
3064 (add_locale_char): Likewise.
3065 (start_locale_structure): Likewise.
3066 (end_locale_structure): Likewise.
3067 (start_locale_prelude): Likewise.
3068 (end_locale_prelude): Likewise.
3069 (write_locale_data): Update prototype.
3070 * locale/programs/3level.h (struct TABLE): Remove result field.
3071 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3072 Use new locale_file interface.
3073 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3074 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3075 * locale/programs/ld-address.c (address_output): Use new
3076 locale_file interface.
3077 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3079 (collate_finish): Don't call collseq_table_finalize.
3080 (collate_output): Use new locale_file interface.
3081 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3083 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3084 (TABLE): Move defines earlier in file.
3085 (ELEMENT): Likewise.
3086 (DEFAULT): Likewise.
3087 (wctrans_table_add): Move macro and inline function earlier in
3089 (struct wctype_table): Move type earlier in file.
3090 (add_locale_wctype_table): New static prototype.
3091 (struct locale_ctype_t): Use logical types instead of struct iovec
3092 pointers for members.
3093 (ctype_output): Use new locale_file interface.
3094 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3095 new locale_file interface.
3096 (allocate_arrays): Update for use of new locale_file interface.
3097 * locale/programs/ld-identification.c (identification_output): Use
3098 new locale_file interface.
3099 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3100 * locale/programs/ld-messages.c (messages_output): Likewise.
3101 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3102 * locale/programs/ld-name.c (name_output): Likewise.
3103 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3104 * locale/programs/ld-paper.c (paper_output): Likewise.
3105 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3106 * locale/programs/ld-time.c (time_output): Likewise.
3108 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3110 * benchtests/Makefile: Add memrchr benchmark.
3111 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3112 benchmark as memrchr.
3113 * benchtests/bench-memrchr-ifunc.c: New file.
3114 * benchtests/bench-memrchr.c: New file.
3116 2013-09-06 Will Newton <will.newton@linaro.org>
3118 * benchtests/Makefile (string-bench): Add memcpy.
3120 2013-09-05 Carlos O'Donell <carlos@redhat.com>
3121 Cong Wang <amwang@redhat.com>
3123 * sysdeps/unix/sysv/linux/bits/in.h
3124 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3125 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3126 before __USE_KERNEL_IPV6_DEFS uses.
3127 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3129 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3130 sockaddr_in6, or ipv6_mreq.
3132 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3134 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3135 memory access for final bytes in some large inputs.
3136 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3138 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3140 * string/test-memrchr.c: New file.
3141 * string/test-memrchr-ifunc.c: New file.
3142 * string/Makefile: Add new memrchr testcase.
3144 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3146 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3147 fanotify_init returns EPERM.
3149 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3151 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3153 (top level): Treat second token from macro or constant entries for
3154 allowed headers as allowed.
3155 * include/complex.h: Condition internal declarations on
3157 * include/fenv.h: Condition include of <stdbool.h> and internal
3158 declarations on [!_ISOMAC].
3160 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3163 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3165 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3167 * configure.in (--enable-versioning): Remove configure option.
3168 (libc_cv_asm_symver_directive): Remove configure test.
3169 (libc_cv_ld_version_script_option): Likewise.
3170 (VERSIONING): Remove variable and AC_SUBST.
3171 (DO_VERSIONING): Remove AC_DEFINE.
3172 * configure: Regenerated.
3173 * config.h.in (DO_VERSIONING): Remove macro.
3174 * Makerules [$(versioning) = yes]: Change conditionals to
3175 [$(build-shared) = yes].
3176 * config.make.in (versioning): Remove variable.
3177 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3178 [$(build-shared) = yes].
3179 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3180 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3181 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3182 [$(build-shared) = yes].
3183 * extra-lib.mk [$(versioning) = yes]: Likewise.
3184 * hurd/Makefile [$(versioning) = yes]: Likewise.
3185 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3187 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3189 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3190 [SHARED && !NO_HIDDEN].
3191 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3193 [SHARED && DO_VERSIONING]: Likewise..
3194 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3195 [$(build-shared) = yes].
3196 * manual/install.texi (--disable-versioning): Remove
3198 * INSTALL: Regenerated.
3199 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3201 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3202 [$(build-shared) = yes].
3203 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3204 * sysdeps/i386/i686/multiarch/strstr-c.c
3205 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3206 [SHARED && !NO_HIDDEN].
3207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3208 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3209 * sysdeps/powerpc/powerpc32/dl-machine.c
3210 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3211 * sysdeps/powerpc/powerpc32/sysdep.h
3212 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3213 to [SHARED && PIC && !NO_HIDDEN].
3214 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3215 conditional to [SHARED].
3217 2013-09-04 Will Newton <will.newton@linaro.org>
3219 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3220 * benchtests/bench-string.h: Include bench-timing.h instead
3221 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3222 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3223 call to HP_TIMING_DIFF_INIT.
3224 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3225 instead of hp-timing.h macros.
3226 * benchtests/bench-memchr.c: Likewise.
3227 * benchtests/bench-memcmp.c: Likewise.
3228 * benchtests/bench-memcpy.c: Likewise.
3229 * benchtests/bench-memmem.c: Likewise.
3230 * benchtests/bench-memmove.c: Likewise.
3231 * benchtests/bench-memset.c: Likewise.
3232 * benchtests/bench-rawmemchr.c: Likewise.
3233 * benchtests/bench-strcasecmp.c: Likewise.
3234 * benchtests/bench-strcasestr.c: Likewise.
3235 * benchtests/bench-strcat.c: Likewise.
3236 * benchtests/bench-strchr.c: Likewise.
3237 * benchtests/bench-strcmp.c: Likewise.
3238 * benchtests/bench-strcpy.c: Likewise.
3239 * benchtests/bench-strcpy_chk.c: Likewise.
3240 * benchtests/bench-strlen.c: Likewise.
3241 * benchtests/bench-strncasecmp.c: Likewise.
3242 * benchtests/bench-strncat.c: Likewise.
3243 * benchtests/bench-strncmp.c: Likewise.
3244 * benchtests/bench-strncpy.c: Likewise.
3245 * benchtests/bench-strnlen.c: Likewise.
3246 * benchtests/bench-strpbrk.c: Likewise.
3247 * benchtests/bench-strrchr.c: Likewise.
3248 * benchtests/bench-strspn.c: Likewise.
3249 * benchtests/bench-strstr.c: Likewise.
3251 2013-09-04 Will Newton <will.newton@linaro.org>
3253 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3255 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3258 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3259 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3260 * math/libm-test.inc (lgamma_test_data): Add more tests.
3261 * sysdeps/i386/fpu/libm-test-ulps: Update.
3262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3264 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3266 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3270 Add strcmp-sse2-unaligned
3271 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3273 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3275 * Versions.def (libc): Add GLIBC_2.19.
3277 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3279 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3280 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3282 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3286 intermediate calculations in recurrence.
3287 (__ieee754_ynf): Likewise.
3288 * math/libm-test.inc (jn_test_data): Do not allow spurious
3289 underflow exception. Add more tests.
3290 (yn_test_data): Add more tests.
3291 * sysdeps/i386/fpu/libm-test-ulps: Update.
3292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3294 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3296 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3298 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3300 * csu/init-first.c: Fix then/than typos.
3301 * locale/programs/ld-collate.c: Likewise.
3302 * locale/programs/linereader.h: Likewise.
3303 * manual/charset.texi: Likewise.
3304 * manual/filesys.texi: Likewise.
3305 * manual/stdio.texi: Likewise.
3306 * manual/string.texi: Likewise.
3307 * stdlib/fmtmsg.c: Likewise.
3308 * sysdeps/i386/stpncpy.S: Likewise.
3309 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3310 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3311 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3314 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3316 * elf/dl-open.c: Fix typos.
3317 * iconvdata/gbbig5.c: Likewise.
3318 * iconvdata/iso-2022-jp.c: Likewise.
3319 * iconv/gconv_int.h: Likewise.
3320 * iconv/loop.c: Likewise.
3321 * nis/rpcsvc/nis.h: Likewise.
3322 * resolv/ns_name.c: Likewise.
3323 * stdio-common/vfscanf.c: Likewise.
3324 * streams/stropts.h: Likewise.
3325 * sunrpc/rpc_thread.c: Likewise.
3326 * sysdeps/i386/strpbrk.S: Likewise.
3327 * sysdeps/ieee754/k_standard.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3330 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3331 * sysdeps/mach/hurd/profil.c: Likewise.
3332 * sysdeps/s390/dl-procinfo.h: Likewise.
3333 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3335 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3336 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3339 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3341 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3344 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3348 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3349 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3350 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3351 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3352 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3354 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3355 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3357 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3358 Roland McGrath <roland@hack.frob.com>
3360 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3361 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3363 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3365 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3366 __executable_start symbol instead of _start.
3368 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3370 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3371 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3373 * sysdeps/gnu/ldsodefs.h: ... this new file.
3375 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3376 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3377 instead of ELFOSABI_LINUX.
3379 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3380 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3381 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3382 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3384 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3385 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3386 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3388 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3389 (ibm_extended_long_double): Add ieee_nan member.
3390 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3391 (do_test): New function.
3393 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3395 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3396 functions, renamed from truncdfsf_test, trunctfsf_test,
3398 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3400 (do_test): Run all these.
3402 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3404 * argp/argp-help.c: Fix typos.
3405 * argp/argp-parse.c: Likewise.
3406 * debug/backtracesyms.c: Likewise.
3407 * elf/elf.h: Likewise.
3408 * malloc/malloc.c: Likewise.
3409 * nis/nis_print.c: Likewise.
3410 * resolv/res_comp.c: Likewise.
3411 * stdlib/stdlib.h: Likewise.
3412 * sunrpc/clnt_tcp.c: Likewise.
3413 * sunrpc/clnt_udp.c: Likewise.
3414 * sunrpc/clnt_unix.c: Likewise.
3415 * sysdeps/unix/bsd/ptsname.c: Likewise.
3416 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3417 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3424 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3426 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3428 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3431 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3434 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3435 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3436 ($(objpfx)bug-dl-leaf): New rule.
3437 ($(objpfx)bug-dl-leaf.so): Likewise.
3438 ($(objpfx)bug-dl-leaf.out): Likewise.
3439 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3440 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3441 * dlfcn/bug-dl-leaf.c: New test.
3442 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3443 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3444 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3445 (dlclose): Likewise.
3446 (dlmopen): Likewise.
3448 2013-08-27 Roland McGrath <roland@hack.frob.com>
3450 * include/netdb.h [!_ISOMAC]:
3451 Don't include <tls.h>.
3452 (h_errno, __libc_h_errno): Move declaration and macros out of
3455 * include/resolv.h [_RESOLV_H_]:
3456 Don't include <tls.h>.
3457 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3458 * resolv/res_libc.c: Don't include <tls.h>.
3459 (_res): Use __attribute__ ((nocommon)) in place of
3460 __attribute__ ((section (".bss"))).
3462 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3463 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3465 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3467 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3468 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3470 * resolv/res_mkquery.c: Include <sys/time.h>.
3472 * inet/ifreq.c: Moved to ...
3473 * sysdeps/unix/ifreq.c: ... here.
3474 * inet/ifreq.c: New file, true stub version.
3476 * socket/sa_len.c: New file.
3477 * socket/Makefile (aux): Add it.
3478 * sysdeps/unix/sysv/linux/Makefile
3479 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3480 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3481 and #include <socket/sa_len.c>.
3482 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3483 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3486 * bits/socket.h: ... here.
3488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3489 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3490 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3492 2013-08-27 Andreas Schwab <schwab@suse.de>
3495 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3496 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3497 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3498 * string/test-strcasecmp.c (test_main): Run tests in several
3500 * string/test-strncasecmp.c (test_main): Likewise.
3502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3503 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3504 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3506 (__strncasecmp_ssse3) [PIC]: Likewise.
3508 2013-08-26 Roland McGrath <roland@hack.frob.com>
3510 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3512 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3513 instead of explicitly declaring xdecrypt.
3514 * nis/nss_nis/nis-publickey.c: Likewise.
3516 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3519 * nscd/aicache.c: Include res_hconf.h.
3520 (addhstaiX): Initialize res_hconf.
3522 2013-08-26 Andreas Schwab <schwab@suse.de>
3524 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3525 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3527 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3529 * nscd/aicache.c (addhstaiX): Fix indentation.
3531 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3533 * configure.ac: Quote $build_pt_chown test.
3534 * configure: Regenerated.
3536 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3539 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3540 * math/s_cexpf.c (__cexpf): Likewise.
3541 * math/s_cexpl.c (__cexpl): Likewise.
3542 * math/libm-test.inc (cexp_test_data): Correct expected return
3543 value for NaN + i0. Add another test.
3545 2013-08-22 David S. Miller <davem@davemloft.net>
3547 * po/ca.po: Update Catalan translation from translation project.
3548 * po/uk.po: Add Ukrainian translations from translation project.
3550 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3553 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3554 is infinite, not alongside NaN test.
3555 * math/s_fdimf.c (__fdimf): Likewise.
3556 * math/s_fdiml.c (__fdiml): Likewise.
3557 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3560 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3562 * argp/argp-help.c: Fix typos.
3563 * crypt/speeds.c: Likewise.
3564 * csu/check_fds.c: Likewise.
3565 * elf/dl-load.c: Likewise.
3566 * elf/dl-open.c: Likewise.
3567 * elf/reldep3.c: Likewise.
3568 * elf/reldep.c: Likewise.
3569 * elf/sprof.c: Likewise.
3570 * iconv/iconv_charmap.c: Likewise.
3571 * iconv/skeleton.c: Likewise.
3572 * iconv/strtab.c: Likewise.
3573 * io/lockf64.c: Likewise.
3574 * libio/libioP.h: Likewise.
3575 * resolv/gai_notify.c: Likewise.
3576 * resolv/ns_name.c: Likewise.
3577 * resolv/ns_samedomain.c: Likewise.
3578 * resolv/res_send.c: Likewise.
3579 * stdlib/random.c: Likewise.
3580 * sunrpc/rpc/xdr.h: Likewise.
3581 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3589 * sysdeps/mach/hurd/check_fds.c: Likewise.
3590 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3591 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3592 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3594 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3595 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3596 * sysdeps/pthread/aio_notify.c: Likewise.
3597 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3598 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3599 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3600 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3601 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3603 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3605 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3606 version if bit_Slow_SSE4_2 is set.
3607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3610 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3613 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3614 trampoline stack frame information.
3615 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3617 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3618 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3619 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3620 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3621 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3622 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3624 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3625 interrupting a syscall and set with option SA_SIGINFO.
3627 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3630 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3631 argument is infinite.
3632 * math/s_cprojf.c (__cprojf): Likewise.
3633 * math/s_cprojl.c (__cprojl): Likewise.
3634 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3635 * math/libm-test.inc (cproj_test_data): Add more tests.
3637 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3639 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3640 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3641 size. Use __ffs to determine corresponding shift.
3643 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3644 Roland McGrath <roland@hack.frob.com>
3646 * Makefile (INSTALL): Remove trailing blank lines from output of
3649 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3651 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3652 Align 32 bit compat elf_greg to 8 bytes.
3654 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3656 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3658 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3660 * string/strcoll_l.c (coll_seq): New structure.
3661 (get_next_seq_cached): New function.
3662 (get_next_seq): New function.
3663 (do_compare): New function.
3664 (STRCOLL): Use GNU style definition. Simplify implementation
3665 by using get_next_seq, get_next_seq_cached and do_compare.
3667 2013-08-16 Florian Weimer <fweimer@redhat.com>
3671 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3673 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3675 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3676 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3677 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3679 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3680 GETDENTS_64BIT_ALIGNED.
3681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3682 * manual/filesys.texi (Reading/Closing Directory): Document
3683 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3685 * manual/conf.texi (Limits for Files): Add portability note to
3687 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3689 2013-08-13 Andreas Schwab <schwab@suse.de>
3692 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3694 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3695 LDBL_MAX_EXP >= 16384]: Add tests for it.
3697 2013-08-12 David S. Miller <davem@davemloft.net>
3699 * version.h (RELEASE): Set to "development".
3700 (VERSION): Set to "2.18.90".
3701 * NEWS: Add 2.19 section.
3703 2013-08-03 David S. Miller <davem@davemloft.net>
3705 * po/ko.po: Update Korean translation from translation project.
3707 2013-08-01 David S. Miller <davem@davemloft.net>
3709 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3710 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3713 2013-07-30 David S. Miller <davem@davemloft.net>
3715 * po/fr.po: Update French translation from translation project.
3717 2013-07-28 David S. Miller <davem@davemloft.net>
3719 * po/cs.po: Update Czech translation from translation project.
3721 * po/sv.po: Update Swedish translation from translation project.
3723 2013-07-27 David S. Miller <davem@davemloft.net>
3725 * po/eo.po: Update Esperanto translation from translation project.
3727 * po/vi.po: Update Vietnamese translation from translation project.
3729 * po/de.po: Update German translation from translation project.
3731 2013-07-26 David S. Miller <davem@davemloft.net>
3733 * po/bg.po: Update Bulgarian translation from translation project.
3735 * po/nl.po: Update Dutch translation from translation project.
3736 * po/pl.po: Update Polish translation from translation project.
3737 * po/ru.po: Update Russian translation from translation project.
3739 2013-07-24 David S. Miller <davem@davemloft.net>
3741 * po/libc.pot: Update.
3743 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3745 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3747 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3749 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3751 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3753 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3755 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3756 Andreas Schwab <schwab@suse.de>
3757 Roland McGrath <roland@hack.frob.com>
3758 Joseph Myers <joseph@codesourcery.com>
3759 Carlos O'Donell <carlos@redhat.com>
3762 * config.h.in: Define HAVE_PT_CHOWN.
3763 * config.make.in (build-pt-chown): New variable.
3764 * configure.in (--enable-pt_chown): New configure option.
3765 * configure: Regenerate.
3766 * login/Makefile: Include Makeconfig. Build pt_chown only if
3767 build-pt-chown is enabled.
3768 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3769 pt_chown to fix pty ownership.
3770 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3772 * manual/install.texi (Configuring and compiling): Mention
3773 --enable-pt_chown. Add @findex for grantpt.
3774 * INSTALL: Regenerate.
3776 2013-07-20 David S. Miller <davem@davemloft.net>
3778 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3779 difference between 32-bit and 64-bit.
3781 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3784 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3785 Avoid system header dependency with -ffreestanding.
3786 ($(objpfx)bits/syscall%d): Likewise.
3788 2013-07-13 David S. Miller <davem@davemloft.net>
3790 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3791 underflows from atanl/atan2l due to bug 15319.
3792 (casinh_test_data): Likewise.
3794 2013-07-07 David S. Miller <davem@davemloft.net>
3796 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3798 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3800 * sysdeps/i386/fpu/libm-test-ulps: Update.
3801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3803 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3805 * configure.in (--enable-lock-elision): Fix message text.
3806 * INSTALL: Regenerate.
3807 * configure: Regenerate.
3809 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3813 2013-07-03 Andreas Jaeger <aj@suse.de>
3815 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3817 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3818 (ptrace_peeksiginfo_args): Add.
3819 (__ptrace_peeksiginfo_flags): Add.
3820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3824 2013-07-03 Allan McRae <allan@archlinux.org>
3826 * sysdeps/i386/fpu/libm-test-ulps: Update.
3828 2013-07-02 David S. Miller <davem@davemloft.net>
3830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3832 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3836 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3838 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3841 2013-07-02 Andi Kleen <ak@linux.intel.com>
3843 * config.h.in (ENABLE_LOCK_ELISION): Add.
3844 * configure.in (--enable-lock-elision): Add option.
3845 * manual/install.texi: Document --enable lock elision.
3846 * configure: Regenerate
3847 * INSTALL: Regenerate.
3849 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3851 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3852 SSE4.2 strcasecmp for libc.a.
3853 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3855 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3858 * soft-fp/op-common.h (_FP_FMA): New macro.
3859 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3860 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3861 (_FP_MUL_MEAT_1_imm): ... here.
3862 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3863 (_FP_MUL_MEAT_1_wide): ... here.
3864 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3865 (_FP_MUL_MEAT_1_hard): ... here.
3866 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3867 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3868 (_FP_MUL_MEAT_2_wide): ... here.
3869 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3870 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3871 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3872 (_FP_MUL_MEAT_2_gmp): ... here.
3873 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3874 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3875 (_FP_MUL_MEAT_4_wide): ... here.
3876 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3877 (_FP_MUL_MEAT_4_gmp): ... here.
3878 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3879 (_FP_WFRACBITS_DW_S): Likewise.
3880 (_FP_WFRACXBITS_DW_S): Likewise.
3881 (_FP_HIGHBIT_DW_S): Likewise.
3882 (FP_FMA_S): Likewise.
3883 (_FP_FRAC_HIGH_DW_S): Likewise.
3884 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3885 (_FP_WFRACBITS_DW_D): Likewise.
3886 (_FP_WFRACXBITS_DW_D): Likewise.
3887 (_FP_HIGHBIT_DW_D): Likewise.
3888 (FP_FMA_D): Likewise.
3889 (_FP_FRAC_HIGH_DW_D): Likewise.
3890 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3891 (_FP_WFRACBITS_DW_E): Likewise.
3892 (_FP_WFRACXBITS_DW_E): Likewise.
3893 (_FP_HIGHBIT_DW_E): Likewise.
3894 (FP_FMA_E): Likewise.
3895 (_FP_FRAC_HIGH_DW_E): Likewise.
3896 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3897 (_FP_WFRACBITS_DW_Q): Likewise.
3898 (_FP_WFRACXBITS_DW_Q): Likewise.
3899 (_FP_HIGHBIT_DW_Q): Likewise.
3900 (FP_FMA_Q): Likewise.
3901 (_FP_FRAC_HIGH_DW_Q): Likewise.
3902 * soft-fp/fmasf4.c: New file.
3903 * soft-fp/fmadf4.c: Likewise.
3904 * soft-fp/fmatf4.c: Likewise.
3906 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3909 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3913 (index_Slow_SSE4_2): Likewise.
3914 (index_Prefer_PMINUB_for_stringop): Likewise.
3915 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3916 bit_Slow_SSE4_2 is set.
3917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3918 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3920 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3922 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3923 rtld_global._dl_hwcap2.
3924 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3927 POWER8 feature descriptions defined in _dl_hwcap2.
3928 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3929 string handling for POWER8 feature bits.
3930 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3931 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3932 _dl_powerpc_cap_flags.
3933 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3934 * sysdeps/powerpc/rtld-global-offsets.sym
3935 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3936 _dl_hwcap2 in the rtld_global_ro structure.
3938 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3940 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3941 hardware capabilities in support of AT_HWCAP2.
3942 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3943 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3945 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3946 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3947 explicitly the unknown a_type display mechanism is used.
3948 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3949 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3951 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3952 to macro prototype for AT_HWCAP2 support.
3953 * sysdeps/i386/dl-procinfo.h: Likewise.
3954 * sysdeps/s390/dl-procinfo.h: Likewise.
3955 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3956 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3957 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3958 return -1 for unknown a_type display fallback.
3959 * sysdeps/sparc/dl-procinfo.h: Likewise.
3960 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3961 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3963 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3966 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3968 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3971 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3972 mprotect making __stack_prot writable.
3974 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3975 Joseph Myers <joseph@codesourcery.com>
3977 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3978 as being properly aligned.
3980 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3982 * dlfcn/modstatic5.c: New file.
3983 * dlfcn/tststatic5.c: New file.
3984 * dlfcn/Makefile (tests): Add tststatic5.
3985 (tests-static): Likewise.
3986 (modules-names): Add modstatic5.
3987 (tststatic5-ENV): New variable.
3988 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3991 * elf/dl-support.c (_dl_main_map): New variable.
3992 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3993 (_dl_nns, _dl_load_adds): Set to 1.
3994 (_dl_initial_searchlist): Refer to _dl_main_map.
3995 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3996 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3997 call to _dl_get_origin.
3998 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4000 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4001 * dlfcn/modstatic3.c: New file.
4002 * dlfcn/tststatic3.c: New file.
4003 * dlfcn/tststatic4.c: New file.
4004 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4005 (tests-static): Likewise.
4006 (modules-names): Add modstatic3.
4007 (tststatic3-ENV, tststatic4-ENV): New variables.
4008 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4009 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4011 2013-06-26 Joseph Myers <joseph@codesourcery.com>
4013 * configure.in (CC): Require GCC version 4.4 or later.
4014 * configure: Regenerated.
4015 * manual/install.texi (Tools for Compilation): Update GCC version
4017 * INSTALL: Regenerated.
4019 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4022 * string/test-memcmp.c (check2): New.
4023 (main): Call check2.
4025 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4027 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4030 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4032 (dl_open_worker) [!SHARED]: ... here.
4034 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4036 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4038 2013-06-25 Richard Henderson <rth@redhat.com>
4040 * locale/programs/locarchive.c: Include <libc-internal.h>
4042 2013-06-25 Joseph Myers <joseph@codesourcery.com>
4044 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4045 trailing whitespace removed.
4047 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4050 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4051 * locale/programs/locarchive.c: Include libc-mmap.h.
4052 (prepare_address_space): Take two new outputs (the mmap base and len).
4053 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4055 (create_archive): Declare new mmap base and len values for
4056 prepare_address_space, and store the result in ah.
4057 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4058 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4060 Declare new mmap base and len values for
4061 prepare_address_space, and store the result in new_ah.
4062 (open_archive): Declare new mmap base and len values for
4063 prepare_address_space, and store the result in ah.
4064 (close_archive): If ah->mmap_base is not NULL, use that and
4065 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4066 * sysdeps/generic/libc-mmap.h: New file.
4068 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4070 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4071 (ALIGN_UP): Likewise.
4072 (PTR_ALIGN_DOWN): Likewise.
4073 (PTR_ALIGN_UP): Likewise.
4075 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4077 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4078 entry mapped to PPC_PLATFORM_POWER8.
4079 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4081 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4082 (_dl_string_platform): Add case for exporting platform position for
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4085 search path to sysdeps/powerpc/powerpc32/power8 directory.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4087 search path to sysdeps/powerpc/powerpc64/power8 directory.
4088 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4090 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4093 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4095 * INSTALL: Regenerate.
4097 * nscd/connections.c (nscd_init): Fix comment.
4099 2013-06-22 Joseph Myers <joseph@codesourcery.com>
4101 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4104 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4105 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4107 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4109 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4111 (DL_DST_REQ_STATIC): Remove macro.
4113 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4116 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4117 with a shift of 0 bits.
4119 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4121 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4124 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4127 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4129 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4131 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4132 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4133 accepts -fno-tree-loop-distribute-patterns.
4134 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4135 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4137 * string/memset.c (memset): Likewise.
4138 * string/test-memmove.c (simple_memmove): Disable loop transformation
4140 * string/test-memset.c (simple_memset): Likewise.
4141 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4142 * benchtests/bench-memset.c (simple_memset): Likewise.
4143 * configure: Regenerated.
4145 2013-06-20 Joseph Myers <joseph@codesourcery.com>
4147 * math/test-misc.c (main): Ignore fesetround failure when failures
4148 of subsequent rounding tests would be ignored.
4151 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4152 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4153 * math/fegetenv.c (__fegetenv): Return 0.
4154 * math/fegetexcept.c (fegetexcept): Return 0.
4155 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4157 * math/feholdexcpt.c (feholdexcept): Return 0.
4158 * math/fesetenv.c (__fesetenv): Return 0.
4159 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4160 argument FE_TONEAREST.
4161 * math/feupdateenv.c (__feupdateenv): Return 0.
4162 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4164 2013-06-18 Roland McGrath <roland@hack.frob.com>
4166 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4167 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4168 ($(objpfx)rtld-%.os rules): Use them.
4170 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4172 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4175 2013-06-17 Roland McGrath <roland@hack.frob.com>
4177 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4178 length of target pattern, then descending length of dependency pattern.
4179 * configure.in (AWK): Require gawk 3.1.2 or newer.
4180 * manual/install.texi (Tools for Compilation): Say that we do.
4181 * configure: Regenerated.
4183 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4184 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4185 * scripts/sysd-rules.awk: ... this new script.
4186 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4187 than a glob-style pattern.
4189 2013-06-17 Joseph Myers <joseph@codesourcery.com>
4191 * math/test-misc.c (main): Do not treat incorrectly rounded
4192 conversions as failure unless ROUNDING_TESTS passes.
4194 2013-06-15 Joseph Myers <joseph@codesourcery.com>
4197 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4198 restore exception state around main square root computation, then
4199 check for inexactness explicitly.
4201 * math/libm-test.inc (fma_test_data): Add another test.
4203 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4205 * manual/threads.texi (Non-POSIX Extensions): New document
4206 node. Document pthread_getattr_default_np and
4207 pthread_setattr_default_np.
4209 * Versions.def (libpthread): Add GLIBC_2.18.
4210 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4219 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4230 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4233 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4235 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4236 H.J. Lu <hjl.tools@gmail.com>
4239 * sysdeps/x86_64/rtld-memset.c: Remove file.
4240 * sysdeps/x86_64/rtld-memset.S: New file.
4242 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4244 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4245 (test_in_one_mode): Take arguments for whether the rounding mode
4246 is supported for each floating-point type.
4247 (do_test): Pass new arguments to test_in_one_mode using
4250 2013-06-13 Roland McGrath <roland@hack.frob.com>
4252 * posix/tst-waitid.c (do_test): Distinguish different instances of
4253 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4254 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4255 before entering the kernel for waitpid.
4257 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4259 * NEWS: Fix note on clock function precision. Text by Roland
4262 2013-06-13 Roland McGrath <roland@hack.frob.com>
4264 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4265 it into place only when and if the sanity check passes.
4267 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4269 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4270 output for whether conversion result is exact. Take argument
4271 indicating whether type is IBM long double.
4272 (round_for_all): Change need_exact field to ibm_ld.
4273 * stdlib/tst-strtod-round.c (struct exactness): New type.
4274 (struct test): Change bool ld_ok field to struct exactness exact.
4275 (TEST): Update all definitions for change to field.
4276 (tests): Regenerate array contents.
4277 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4278 field value. Check for IBM long double here.
4279 (do_test): Update calls to test_in_one_mode.
4281 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4284 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4285 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4287 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4290 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4291 generated by the compiler on loop optimizations.
4292 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4293 general definitions.
4295 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4297 * math/bug-nextafter.c: Include <math-tests.h>.
4298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4300 * math/bug-nexttoward.c: Include <math-tests.h>.
4301 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4303 * math/test-misc.c: Include <math-tests.h>.
4304 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4307 2013-06-12 Andreas Jaeger <aj@suse.de>
4309 * po/ia.po: Update Interlingua translation from translation
4312 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4314 * include/fenv.h: Include stdbool.h.
4315 (struct rm_ctx): New structure.
4316 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4318 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4319 (SET_RESTORE_ROUNDF): Likewise.
4320 (SET_RESTORE_ROUNDL): Likewise.
4321 (SET_RESTORE_ROUND_NOEX): Likewise.
4322 (SET_RESTORE_ROUND_NOEXF): Likewise.
4323 (SET_RESTORE_ROUND_NOEXL): Likewise.
4324 (SET_RESTORE_ROUND_53BIT): Likewise.
4325 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4326 (libc_feresetround_noexf_ctx): Likewise.
4327 (libc_feresetround_noexl_ctx): Likewise.
4328 (libc_feholdsetround_53bit_ctx): Likewise.
4329 (libc_feresetround_53bit_ctx): Likewise.
4330 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4331 (libc_feholdexcept_setround_sse_ctx): New function.
4332 (libc_fesetenv_sse_ctx): Likewise.
4333 (libc_feupdateenv_sse_ctx): Likewise.
4334 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4335 (libc_feholdexcept_setround_387_ctx): Likewise.
4336 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4337 (libc_feholdsetround_387_prec_ctx): Likewise.
4338 (libc_feholdsetround_387_ctx): Likewise.
4339 (libc_feholdsetround_387_53bit_ctx): Likewise.
4340 (libc_feholdsetround_sse_ctx): Likewise.
4341 (libc_feresetround_sse_ctx): Likewise.
4342 (libc_feresetround_387_ctx): Likewise.
4343 (libc_feupdateenv_387_ctx): Likewise.
4344 (libc_feholdexcept_setroundf_ctx): Define macro.
4345 (libc_fesetenvf_ctx): Likewise.
4346 (libc_feupdateenvf_ctx): Likewise.
4347 (libc_feholdsetroundf_ctx): Likewise.
4348 (libc_feresetroundf_ctx): Likewise.
4349 (libc_feholdexcept_setround_ctx): Likewise.
4350 (libc_fesetenv_ctx): Likewise.
4351 (libc_feupdateenv_ctx): Likewise.
4352 (libc_feholdsetround_ctx): Likewise.
4353 (libc_feresetround_ctx): Likewise.
4354 (libc_feholdexcept_setroundl_ctx): Likewise.
4355 (libc_feupdateenvl_ctx): Likewise.
4356 (libc_feholdsetroundl_ctx): Likewise.
4357 (libc_feresetroundl_ctx): Likewise.
4358 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4359 (libc_feresetround_53bit_ctx): Likewise.
4361 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4363 * locale/iso-639.def: Convert to UTF-8.
4365 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4367 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4368 (EXCEPTION_TESTS_double): Likewise.
4369 (EXCEPTION_TESTS_long_double): Likewise.
4370 (EXCEPTION_TESTS): Likewise.
4371 * math/libm-test.inc (test_exceptions): Only test exceptions if
4372 EXCEPTION_TESTS (FLOAT).
4374 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4376 * benchtests/Makefile (string-bench): Add strcpy_chk and
4378 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4379 * benchtests/bench-stpcpy_chk.c: New file.
4380 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4381 * benchtests/bench-strcpy_chk.c: New file.
4382 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4384 (do_test): Likewise.
4386 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4388 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4389 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4390 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4391 with tabs where appropriate.
4392 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4394 [PPC_PLATFORM_PPC440]: Likewise.
4395 [PPC_PLATFORM_PPC464]: Likewise.
4396 [PPC_PLATFORM_PPC476]: Likewise.
4397 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4398 ppc464, and ppc476 platform strings merging from ports/
4401 2013-06-11 Andreas Schwab <schwab@suse.de>
4404 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4405 (from_ucs4_idx): Regenerate.
4406 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4407 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4408 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4409 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4410 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4411 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4412 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4413 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4414 from FROM_LOOP and TO_LOOP specific macros.
4415 (BODY): Handle combining characters.
4416 * iconvdata/BIG5HKSCS.irreversible: Update.
4417 * iconvdata/BIG5HKSCS.precomposed: New file.
4418 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4420 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4422 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4424 * include/sys/time.h: Fix indentation and add copyright header.
4426 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4427 (do_test): Likewise.
4428 * string/test-memchr.c (do_one_test): Likewise.
4429 (do_test): Likewise.
4430 * string/test-memcmp.c (do_one_test): Likewise.
4431 (do_test): Likewise.
4432 * string/test-memcpy.c (do_one_test): Likewise.
4433 (do_test): Likewise.
4434 * string/test-memmem.c (do_one_test): Likewise.
4435 (do_test): Likewise.
4436 (do_random_tests): Likewise.
4437 * string/test-memmove.c (do_one_test): Likewise.
4438 (do_test): Likewise.
4439 * string/test-memset.c (do_one_test): Likewise.
4440 (do_test): Likewise.
4441 * string/test-rawmemchr.c (do_one_test): Likewise.
4442 (do_test): Likewise.
4443 * string/test-strcasecmp.c (do_one_test): Likewise.
4444 (do_test): Likewise.
4445 * string/test-strcasestr.c (do_one_test): Likewise.
4446 (do_test): Likewise.
4447 * string/test-strcat.c (do_one_test): Likewise.
4448 (do_test): Likewise.
4449 * string/test-strchr.c (do_one_test): Likewise.
4450 (do_test): Likewise.
4451 * string/test-strcmp.c (do_one_test): Likewise.
4452 (do_test): Likewise.
4453 * string/test-strcpy.c (do_one_test): Likewise.
4454 (do_test): Likewise.
4455 * string/test-string.h: Likewise.
4456 (test_init): Likewise.
4457 * string/test-strlen.c (do_one_test): Likewise.
4458 (do_test): Likewise.
4459 * string/test-strncasecmp.c (do_one_test): Likewise.
4460 (do_test): Likewise.
4461 * string/test-strncat.c (do_one_test): Likewise.
4462 (do_test): Likewise.
4463 * string/test-strncmp.c (do_one_test): Likewise.
4464 (do_test_limit): Likewise.
4465 (do_test): Likewise.
4466 * string/test-strncpy.c (do_one_test): Likewise.
4467 (do_test): Likewise.
4468 * string/test-strnlen.c (do_one_test): Likewise.
4469 (do_test): Likewise.
4470 * string/test-strpbrk.c (do_one_test): Likewise.
4471 (do_test): Likewise.
4472 * string/test-strrchr.c (do_one_test): Likewise.
4473 (do_test): Likewise.
4474 * string/test-strspn.c (do_one_test): Likewise.
4475 (do_test): Likewise.
4476 * string/test-strstr.c (do_one_test): Likewise.
4477 (do_test): Likewise.
4479 * benchtests/Makefile (string-bench): Add string benchmarks.
4480 * benchtests/bench-bcopy-ifunc.c: New file.
4481 * benchtests/bench-bcopy.c: New file.
4482 * benchtests/bench-bzero-ifunc.c: New file.
4483 * benchtests/bench-bzero.c: New file.
4484 * benchtests/bench-memccpy-ifunc.c: New file.
4485 * benchtests/bench-memccpy.c: New file.
4486 * benchtests/bench-memchr-ifunc.c: New file.
4487 * benchtests/bench-memchr.c: New file.
4488 * benchtests/bench-memcmp-ifunc.c: New file.
4489 * benchtests/bench-memcmp.c: New file.
4490 * benchtests/bench-memmem-ifunc.c: New file.
4491 * benchtests/bench-memmem.c: New file.
4492 * benchtests/bench-memmove-ifunc.c: New file.
4493 * benchtests/bench-memmove.c: New file.
4494 * benchtests/bench-mempcpy-ifunc.c: New file.
4495 * benchtests/bench-mempcpy.c: New file.
4496 * benchtests/bench-memset-ifunc.c: New file.
4497 * benchtests/bench-memset.c: New file.
4498 * benchtests/bench-rawmemchr-ifunc.c: New file.
4499 * benchtests/bench-rawmemchr.c: New file.
4500 * benchtests/bench-stpcpy-ifunc.c: New file.
4501 * benchtests/bench-stpcpy.c: New file.
4502 * benchtests/bench-stpncpy-ifunc.c: New file.
4503 * benchtests/bench-stpncpy.c: New file.
4504 * benchtests/bench-strcasecmp-ifunc.c: New file.
4505 * benchtests/bench-strcasecmp.c: New file.
4506 * benchtests/bench-strcasestr-ifunc.c: New file.
4507 * benchtests/bench-strcasestr.c: New file.
4508 * benchtests/bench-strcat-ifunc.c: New file.
4509 * benchtests/bench-strcat.c: New file.
4510 * benchtests/bench-strchr-ifunc.c: New file.
4511 * benchtests/bench-strchr.c: New file.
4512 * benchtests/bench-strchrnul-ifunc.c: New file.
4513 * benchtests/bench-strchrnul.c: New file.
4514 * benchtests/bench-strcmp-ifunc.c: New file.
4515 * benchtests/bench-strcmp.c: New file.
4516 * benchtests/bench-strcpy-ifunc.c: New file.
4517 * benchtests/bench-strcpy.c: New file.
4518 * benchtests/bench-strcspn-ifunc.c: New file.
4519 * benchtests/bench-strcspn.c: New file.
4520 * benchtests/bench-strlen-ifunc.c: New file.
4521 * benchtests/bench-strlen.c: New file.
4522 * benchtests/bench-strncasecmp-ifunc.c: New file.
4523 * benchtests/bench-strncasecmp.c: New file.
4524 * benchtests/bench-strncat-ifunc.c: New file.
4525 * benchtests/bench-strncat.c: New file.
4526 * benchtests/bench-strncmp-ifunc.c: New file.
4527 * benchtests/bench-strncmp.c: New file.
4528 * benchtests/bench-strncpy-ifunc.c: New file.
4529 * benchtests/bench-strncpy.c: New file.
4530 * benchtests/bench-strnlen-ifunc.c: New file.
4531 * benchtests/bench-strnlen.c: New file.
4532 * benchtests/bench-strpbrk-ifunc.c: New file.
4533 * benchtests/bench-strpbrk.c: New file.
4534 * benchtests/bench-strrchr-ifunc.c: New file.
4535 * benchtests/bench-strrchr.c: New file.
4536 * benchtests/bench-strspn-ifunc.c: New file.
4537 * benchtests/bench-strspn.c: New file.
4538 * benchtests/bench-strstr-ifunc.c: New file.
4539 * benchtests/bench-strstr.c: New file.
4541 * benchtests/Makefile: Disable parallel execution of targets.
4542 (string-bench): Add memcpy.
4543 (benchset): New variable to store a list of benchmark sets.
4544 (bench-func): Renamed from bench.
4545 (bench-set): New target.
4546 (bench): Depend on bench-func and bench-set.
4547 * benchtests/README: Add section on benchmark sets.
4548 * benchtests/bench-memcpy-ifunc.c: New file.
4549 * benchtests/bench-memcpy.c: New file.
4550 * benchtests/bench-string.h: New file.
4552 2013-06-11 Andreas Schwab <schwab@suse.de>
4555 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4556 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4557 values in the triple.
4558 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4559 terminator in the group key.
4561 2013-06-11 Andreas Jaeger <aj@suse.de>
4563 * po/zh_TW.po: Update Chinese (traditional) translation from
4564 translation project.
4566 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4568 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4569 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4570 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4572 (clock_getcpuclockid): Likewise.
4573 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4574 Add weak_alias and libc_hidden_def.
4575 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4576 * rt/clock_gettime.c (clock_gettime): Rename to
4577 __clock_gettime. Add weak_alias and libc_hidden_def.
4578 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4579 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4580 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4581 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4582 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4584 * rt/clock_settime.c (clock_settime): Rename to
4585 __clock_settime. Add weak_alias and libc_hidden_def.
4586 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4588 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4590 * mach/err_boot.sub: Remove trailing whitespace.
4591 * mach/err_ipc.sub: Likewise.
4592 * mach/err_mach.sub: Likewise.
4594 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4595 (ROUNDING_TESTS_double): Likewise.
4596 (ROUNDING_TESTS_long_double): Likewise.
4597 (ROUNDING_TESTS): Likewise.
4598 * math/libm-test.inc: Include <math-tests.h>.
4599 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4600 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4601 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4602 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4604 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4606 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4609 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4611 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4612 otherwise empty TRANS lines.
4613 * sysdeps/gnu/errlist.c: Regenerated.
4615 * catgets/gencat.c (error_print): Use (void) in function
4617 * crypt/crypt_util.c (__init_des): Likewise.
4618 * crypt/speeds.c (Stop): Likewise.
4620 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4621 * inet/ruserpass.c (token): Likewise.
4622 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4623 * intl/localealias.c (extend_alias_table): Likewise.
4624 * intl/plural-exp.c (init_germanic_plural): Likewise.
4625 * libio/fcloseall.c (__fcloseall): Likewise.
4626 * libio/genops.c (_IO_flush_all): Likewise.
4627 (_IO_flush_all_linebuffered): Likewise.
4628 (_IO_cleanup): Likewise.
4629 (_IO_iter_begin): Likewise.
4630 (_IO_iter_end): Likewise.
4631 (_IO_list_lock): Likewise.
4632 (_IO_list_unlock): Likewise.
4633 (_IO_list_resetlock): Likewise.
4634 * libio/getchar.c (getchar): Likewise.
4635 * libio/getchar_u.c (getchar_unlocked): Likewise.
4636 * libio/getwchar.c (getwchar): Likewise.
4637 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4638 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4639 * login/getpt.c (__getpt): Likewise.
4640 * login/tst-utmp.c (main): Likewise.
4641 * malloc/hooks.c (__malloc_check_init): Likewise.
4642 * malloc/malloc.c (__malloc_stats): Likewise.
4643 * malloc/mtrace.c (tr_break): Likewise.
4645 (muntrace): Likewise.
4646 * misc/fstab.c (endfsent): Likewise.
4647 * misc/getclktck.c (__getclktck): Likewise.
4648 * misc/getdtsz.c (__getdtablesize): Likewise.
4649 * misc/gethostid.c (gethostid): Likewise.
4650 * misc/getpagesize.c (__getpagesize): Likewise.
4651 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4652 (__get_nprocs): Likewise.
4653 (__get_phys_pages): Likewise.
4654 (__get_avphys_pages): Likewise.
4655 * misc/getttyent.c (getttyent): Likewise.
4656 (setttyent): Likewise.
4657 (endttyent): Likewise.
4658 * misc/getusershell.c (getusershell): Likewise.
4659 (endusershell): Likewise.
4660 (setusershell): Likewise.
4661 (initshells): Likewise.
4662 * misc/hsearch.c (__hdestroy): Likewise.
4663 * misc/sync.c (sync): Likewise.
4664 * misc/syslog.c (closelog_internal): Likewise.
4665 (closelog): Likewise.
4666 * misc/ttyslot.c (ttyslot): Likewise.
4667 * misc/vhangup.c (vhangup): Likewise.
4668 * posix/fork.c (__fork): Likewise.
4669 * posix/getegid.c (__getegid): Likewise.
4670 * posix/geteuid.c (__geteuid): Likewise.
4671 * posix/getgid.c (__getgid): Likewise.
4672 * posix/getpid.c (__getpid): Likewise.
4673 * posix/getppid.c (__getppid): Likewise.
4674 * posix/getuid.c (__getuid): Likewise.
4675 * posix/pause.c (pause): Likewise.
4676 * posix/setpgrp.c (setpgrp): Likewise.
4677 * posix/setsid.c (__setsid): Likewise.
4678 * posix/test-vfork.c (noop): Likewise.
4679 * resolv/gethnamaddr.c (_endhtent): Likewise.
4680 (_gethtent): Likewise.
4681 (ht_endhostent): Likewise.
4682 (gethostent): Likewise.
4683 (dns_service): Likewise.
4684 * stdlib/drand48.c (drand48): Likewise.
4685 * stdlib/lrand48.c (lrand48): Likewise.
4686 * stdlib/mrand48.c (mrand48): Likewise.
4687 * stdlib/rand.c (rand): Likewise.
4688 * stdlib/random.c (__random): Likewise.
4689 * stdlib/setenv.c (clearenv): Likewise.
4690 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4691 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4692 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4693 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4694 (__get_nprocs): Likewise.
4695 (__get_phys_pages): Likewise.
4696 (__get_avphys_pages): Likewise.
4697 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4698 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4699 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4700 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4701 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4702 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4703 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4704 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4705 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4706 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4707 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4708 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4709 * sysdeps/posix/clock.c (clock): Likewise.
4710 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4711 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4712 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4713 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4714 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4716 (__get_nprocs_conf): Likewise.
4717 (__get_phys_pages): Likewise.
4718 (__get_avphys_pages): Likewise.
4719 * time/clock.c (clock): Likewise.
4720 * time/tzset.c (__tzname_max): Likewise.
4722 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4724 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4725 (__bswap_32): Do not use "register".
4726 * crypt/crypt.c (_ufc_doit_r): Likewise.
4727 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4728 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4729 * gmon/gmon.c (__monstartup): Likewise.
4730 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4731 * hurd/hurdmalloc.c (more_memory): Likewise.
4734 (realloc): Likewise.
4735 (malloc_fork_prepare): Likewise.
4736 (malloc_fork_parent): Likewise.
4737 (malloc_fork_child): Likewise.
4738 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4739 (_svcauth_des): Likewise.
4740 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4741 * inet/inet_net.c (inet_network): Likewise.
4742 * inet/inet_netof.c (inet_netof): Likewise.
4743 * inet/rcmd.c (__validuser2_sa): Likewise.
4744 * io/fts.c (fts_open): Likewise.
4745 (fts_load): Likewise.
4746 (fts_close): Likewise.
4747 (fts_read): Likewise.
4748 (fts_children): Likewise.
4749 (fts_build): Likewise.
4750 (fts_stat): Likewise.
4751 (fts_sort): Likewise.
4752 (fts_alloc): Likewise.
4753 (fts_lfree): Likewise.
4754 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4755 (_IO_file_xsgetn): Likewise.
4756 (_IO_file_xsgetn_mmap): Likewise.
4757 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4758 (_IO_cookie_write): Likewise.
4759 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4760 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4761 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4762 * malloc/obstack.c (_obstack_begin): Likewise.
4763 (_obstack_begin_1): Likewise.
4764 (_obstack_newchunk): Likewise.
4765 (_obstack_allocated_p): Likewise.
4766 (obstack_free): Likewise.
4767 (_obstack_memory_used): Likewise.
4768 * misc/getttyent.c (getttynam): Likewise.
4769 (getttyent): Likewise.
4772 * misc/getusershell.c (initshells): Likewise.
4773 * misc/syslog.c (__vsyslog_chk): Likewise.
4774 * misc/ttyslot.c (ttyslot): Likewise.
4775 * nis/nis_hash.c (__nis_hash): Likewise.
4776 * posix/fnmatch_loop.c (FCT): Likewise.
4777 * posix/getconf.c (print_all): Likewise.
4779 * posix/getopt.c (exchange): Likewise.
4780 * posix/glob.c (globfree): Likewise.
4781 (prefix_array): Likewise.
4782 (__glob_pattern_type): Likewise.
4783 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4784 (NS_GET32): Likewise.
4785 (NS_PUT16): Likewise.
4786 (NS_PUT32): Likewise.
4787 * resolv/gethnamaddr.c (getanswer): Likewise.
4788 (gethostbyname2): Likewise.
4789 (gethostbyaddr): Likewise.
4790 (_gethtent): Likewise.
4791 (_gethtbyname2): Likewise.
4792 (_gethtbyaddr): Likewise.
4793 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4794 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4795 * resolv/res_init.c (__res_vinit): Likewise.
4796 (net_mask): Likewise.
4797 * resolv/res_mkquery.c (outchar): Likewise.
4799 * stdio-common/printf_fp.c (outchar): Likewise.
4801 * stdio-common/printf_fphex.c (outchar): Likewise.
4803 * stdio-common/printf_size.c (outchar): Likewise.
4805 * stdio-common/test_rdwr.c (main): Likewise.
4806 * stdio-common/tfformat.c (matches): Likewise.
4807 * stdio-common/vfprintf.c (outchar): Likewise.
4808 (printf_unknown): Likewise.
4809 (buffered_vfprintf): Likewise.
4810 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4811 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4812 (ReadFile): Likewise.
4813 * stdlib/qsort.c (SWAP): Likewise.
4814 (_quicksort): Likewise.
4815 * stdlib/setenv.c (__add_to_environ): Likewise.
4816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4817 * stdlib/strtol_l.c (__strtol_l): Likewise.
4818 * stdlib/tst-strtod.c (main): Likewise.
4819 * stdlib/tst-strtol.c (main): Likewise.
4820 * stdlib/tst-strtoll.c (main): Likewise.
4821 * string/bits/string2.h (__strcmp_cc): Likewise.
4822 (__strcmp_cg): Likewise.
4823 (__strcspn_c1): Likewise.
4824 (__strcspn_c2): Likewise.
4825 (__strcspn_c3): Likewise.
4826 (__strspn_c1): Likewise.
4827 (__strspn_c2): Likewise.
4828 (__strspn_c3): Likewise.
4829 (__strsep_1c): Likewise.
4830 (__strsep_2c): Likewise.
4831 (__strsep_3c): Likewise.
4832 * string/memccpy.c (__memccpy): Likewise.
4833 * string/stpcpy.c (__stpcpy): Likewise.
4834 * string/strcmp.c (strcmp): Likewise.
4835 * string/strrchr.c (strrchr): Likewise.
4836 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4838 * sysdeps/mach/hurd/getcwd.c
4839 (_hurd_canonicalize_directory_name_internal): Likewise.
4840 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4841 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4842 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4843 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4844 Likewise, in both definitions.
4845 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4847 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4848 64] (__bswap_64): Likewise.
4849 * time/test_time.c (main): Likewise.
4850 * time/tzfile.c (__tzfile_read): Likewise.
4851 (__tzfile_compute): Likewise.
4852 * time/tzset.c (__tzset_parse_tz): Likewise.
4853 (tzset_internal): Likewise.
4854 (compute_change): Likewise.
4855 * wcsmbs/wcscat.c (__wcscat): Likewise.
4856 * wcsmbs/wcschr.c (wcschr): Likewise.
4857 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4858 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4859 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4860 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4861 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4862 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4863 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4864 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4865 * wcsmbs/wmemset.c (wmemset): Likewise.
4867 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4869 * scripts/config.guess: Update to version 2013-05-16.
4870 * scripts/config.sub: Update to version 2013-04-24.
4871 * scripts/install-sh: Update to version 2011-11-20.07.
4872 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4873 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4875 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4877 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4878 * elf/sln.c: Likewise.
4879 * hurd/hurd/ioctl.h: Likewise.
4880 * hurd/hurdmalloc.c: Likewise.
4881 * hurd/xattr.c: Likewise.
4882 * include/shlib-compat.h: Likewise.
4883 * inet/ruserpass.c: Likewise.
4884 * libio/iofgets_u.c: Likewise.
4885 * libio/iofgetws_u.c: Likewise.
4886 * locale/programs/ld-identification.c: Likewise.
4887 * locale/programs/ld-time.c: Likewise.
4888 * mach/msg-destroy.c: Likewise.
4889 * nss/nss_files/files-netgrp.c: Likewise.
4890 * resolv/res_data.c: Likewise.
4891 * soft-fp/op-1.h: Likewise.
4892 * soft-fp/op-2.h: Likewise.
4893 * soft-fp/op-4.h: Likewise.
4894 * soft-fp/op-common.h: Likewise.
4895 * stdio-common/printf_fphex.c: Likewise.
4896 * stdlib/strtod_l.c: Likewise.
4897 * sunrpc/rpc/clnt.h: Likewise.
4898 * sysdeps/generic/framestate.c: Likewise.
4899 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4900 * sysdeps/i386/bsd-setjmp.S: Likewise.
4901 * sysdeps/i386/__longjmp.S: Likewise.
4902 * sysdeps/i386/setjmp.S: Likewise.
4903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4904 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4906 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4908 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4921 * sysdeps/ieee754/support.c: Likewise.
4922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4923 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4924 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4925 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4926 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4927 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4928 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4929 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4930 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4931 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4932 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4933 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4934 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4935 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4936 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4937 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4938 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4941 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4943 * posix/transbug.c: Remove executable mode.
4945 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4947 * crypt/speeds.c: Remove trailing whitespace.
4948 * dlfcn/default.c: Likewise.
4949 * elf/ifuncdep2.c: Likewise.
4950 * elf/ifuncmain1.c: Likewise.
4951 * elf/ifuncmain1vis.c: Likewise.
4952 * elf/testobj.h: Likewise.
4953 * elf/tst-stackguard1.c: Likewise.
4954 * gmon/sys/gmon.h: Likewise.
4955 * hurd/hurdmsg.c: Likewise.
4956 * hurd/new-fd.c: Likewise.
4957 * hurd/ports-get.c: Likewise.
4958 * iconvdata/ibm1008_420.c: Likewise.
4959 * inet/tst-getni1.c: Likewise.
4960 * inet/tst-getni2.c: Likewise.
4961 * libio/ioungetc.c: Likewise.
4962 * libio/wfiledoalloc.c: Likewise.
4963 * manual/libm-err-tab.pl: Likewise.
4964 * math/w_dremf.c: Likewise.
4965 * misc/ftruncate.c: Likewise.
4966 * posix/bug-glob2.c: Likewise.
4967 * posix/tst-pcre.c: Likewise.
4968 * posix/wait4.c: Likewise.
4969 * resolv/README: Likewise.
4970 * resolv/res_debug.h: Likewise.
4971 * resolv/tst-inet_ntop.c: Likewise.
4972 * setjmp/bug269-setjmp.c: Likewise.
4973 * soft-fp/extended.h: Likewise.
4974 * soft-fp/op-1.h: Likewise.
4975 * soft-fp/op-2.h: Likewise.
4976 * soft-fp/op-4.h: Likewise.
4977 * soft-fp/op-8.h: Likewise.
4978 * soft-fp/testit.c: Likewise.
4979 * stdio-common/bug16.c: Likewise.
4980 * stdlib/random.c: Likewise.
4981 * sunrpc/rpcsvc/rquota.x: Likewise.
4982 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4983 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4985 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4986 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4987 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4988 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4997 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5002 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5004 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5011 * sysdeps/ieee754/s_lib_version.c: Likewise.
5012 * sysdeps/mach/hurd/check_fds.c: Likewise.
5013 * sysdeps/mach/hurd/getsockname.c: Likewise.
5014 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5015 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5016 * sysdeps/powerpc/bits/link.h: Likewise.
5017 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5018 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5019 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5020 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5021 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5023 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5024 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5025 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5026 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5027 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5028 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5029 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5030 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5031 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5032 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5037 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5038 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5040 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5041 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5051 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5052 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5053 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5054 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5055 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5056 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5057 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5058 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5059 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5060 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5061 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5062 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5063 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5064 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5065 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5066 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5070 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5071 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5072 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5073 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5074 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5075 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5077 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5078 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5079 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5080 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5081 * sysdeps/powerpc/sysdep.h: Likewise.
5082 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5083 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5084 * sysdeps/sh/dl-trampoline.S: Likewise.
5085 * sysdeps/sh/memset.S: Likewise.
5086 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5087 * sysdeps/sh/strlen.S: Likewise.
5088 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5089 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5090 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5091 * sysdeps/sparc/sparc32/rem.S: Likewise.
5092 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5093 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5094 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5095 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5096 * sysdeps/sparc/sparc32/urem.S: Likewise.
5097 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5098 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5099 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5100 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5101 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5102 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5103 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5104 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5105 * sysdeps/unix/bsd/times.c: Likewise.
5106 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5107 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5111 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5112 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5113 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5115 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5116 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5117 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5118 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5119 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5120 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5121 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5122 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5123 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5124 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5125 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5126 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5127 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5128 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5129 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5130 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5131 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5132 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5133 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5134 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5135 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5136 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5137 * sysdeps/x86_64/strcspn.S: Likewise.
5139 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5141 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5142 generated file. Regenerate properly from gen-translit.pl.
5143 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5144 locale/C-translit.h.
5146 2013-06-05 Andreas Schwab <schwab@suse.de>
5149 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5150 week as 6 instead of -1.
5151 * time/tst-strptime.c (day_tests): Add test case.
5153 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5155 * sysdeps/generic/math_private.h
5156 (libc_feholdexcept_setround_53bit): Replace with
5157 libc_feholdsetround_53bit.
5158 (libc_feupdateenv_53bit): Replace with
5159 libc_feresetround_53bit.
5160 (SET_RESTORE_ROUND_53BIT): Adjust.
5162 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5164 * string/test-strchrnul.c: Add copyright header.
5166 * posix/tst-getaddrinfo4.c: Increase test timeout.
5168 2013-06-03 Carlos O'Donell <carlos@redhat.com>
5171 * math/libm-test.inc (MAX_EXP): Remove
5173 (ulp): Use MIN_EXP - MANT_DIG.
5174 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5176 2013-05-31 Carlos O'Donell <carlos@redhat.com>
5178 * po/be.po: Revert last change.
5179 * po/zh_CN.po: Likewise.
5180 * po/header.pot: Likewise.
5182 2013-05-31 Joseph Myers <joseph@codesourcery.com>
5184 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5185 link-libc-deps to empty as target-specific variable.
5186 * Makerules (link-libc-args): New variable.
5187 (libc-for-link): Likewise.
5188 (link-libc-deps): Likewise.
5189 (lib%.so): Depend on $(link-libc-deps). Link with
5191 (build-module): Link with $(link-libc-args).
5192 (build-module-asneeded): Likewise.
5193 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5195 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5196 target-specific variable.
5197 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5198 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5199 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5201 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5203 ($(objpfx)libpcprofile.so): Likewise.
5204 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5206 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5207 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5208 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5210 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5211 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5212 * login/Makefile ($(objpfx)libutil.so): Likewise.
5213 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5214 * math/Makefile ($(objpfx)libm.so): Likewise.
5215 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5216 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5217 variable instead of depending directly on libc.
5218 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5219 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5221 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5223 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5224 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5225 ($(objpfx)libanl.so): Likewise.
5226 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5228 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5230 * sysdeps/i386/fpu/Makefile: Remove file.
5231 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5232 ($(objpfx)libm.so): Remove dependency on ld.so.
5234 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5237 * nis/yp_xdr.c (XDRMAXNAME): Define.
5238 (XDRMAXRECORD): Define.
5239 (xdr_domainname): Use XDRMAXNAME.
5240 (xdr_mapname): Likewise.
5241 (xdr_peername): Likewise.
5242 (xdr_keydat): Use XDRMAXRECORD.
5243 (xdr_valdat): Likewise.
5245 2013-05-30 Jeff Law <law@redhat.com>
5248 * manual/errno.texi (ESTALE): Update to account for more than
5249 just NFS file systems.
5250 * sysdeps/gnu/errlist.c: Regenerated.
5252 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5255 * elf/Makefile (tests): Add tst-null-argv.
5256 (modules-names): Add tst-null-argv-lib.
5257 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5258 (tst-null-argv-ENV): Set environment for tst-null-argv.
5259 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5260 (RTLD_PROGNAME): New macro.
5261 * elf/tst-null-argv.c: New test case.
5262 * elf/tst-null-argv-lib.c: Library for test case.
5263 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5264 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5265 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5266 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5267 * elf/dl-init.c (call_init): Likewise.
5268 (_dl_init): Likewise.
5269 * elf/dl-load.c (print_search_path): Likewise.
5270 (_dl_map_object): Likewise.
5271 * elf/dl-lookup.c (do_lookup_x): Likewise.
5272 (add_dependency): Likewise.
5273 (_dl_lookup_symbol_x): Likewise.
5274 (_dl_debug_bindings): Likewise.
5275 * elf/dl-open.c (_dl_show_scope): Likewise.
5276 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5277 * elf/dl-version.c (match_symbol): Likewise.
5278 (_dl_check_map_versions): Likewise.
5279 * elf/rtld.c (dl_main): Likewise.
5280 (print_unresolved): Use RTLD_PROGNAME.
5281 (print_missing_version): Likewise.
5282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5283 (elf_machine_rela): Likewise.
5284 * sysdeps/powerpc/powerpc32/dl-machine.c
5285 (__process_machine_rela): Likewise.
5286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5299 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5301 * po/be.po: Add descriptive title.
5302 * po/zh_CN.po: Likewise.
5303 * po/header.pot: Likewise.
5305 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5307 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5309 (enlarge_archive): Likewise.
5311 2013-05-28 Ben North <ben@redfrontdoor.org>
5313 * manual/arith.texi (frexp): It is the magnitude of the return
5314 value which lies in [0.5, 1), not the return value itself.
5316 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5320 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5322 * stdio-common/bug26.c (main): Correct fscanf template.
5324 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5325 declare _dl_skip_args.
5327 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5330 * manual/platform.texi: Add missing @end deftypefun.
5332 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5335 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5336 bit of mantissa of 2^16382.
5337 * math/libm-test.inc (hypot_test_data): Add more tests.
5339 * math/libm-test.inc: Add drem and pow10 to list of tested
5341 (pow10_test): New function.
5342 (drem_test): Likewise.
5343 (drem_test_tonearest): Likewise.
5344 (drem_test_towardzero): Likewise.
5345 (drem_test_downward): Likewise.
5346 (drem_test_upward): Likewise.
5347 (main): Call the new functions.
5349 * math/libm-test.inc (finite_test_data): Remove.
5350 (finite_test): Run tests from isfinite_test_data.
5351 (gamma_test_data): Remove.
5352 (gamma_test): Run tests from lgamma_test_data.
5353 * sysdeps/i386/fpu/libm-test-ulps: Update.
5354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5356 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5358 * manual/platform.texi: Add PowerPC PPR function set documentation.
5359 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5362 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5364 * math/libm-test.inc (MAX_EXP): Define.
5366 (ulp): New function.
5367 (check_float_internal): Use ULPDIFF.
5368 (cpow_test): Disable failing test.
5369 (check_ulp): Test ulp() implemetnation.
5370 (main): Call check_ulp before starting tests.
5372 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5374 * math/gen-libm-test.pl (generate_testfile): Do not handle
5375 START_DATA and END_DATA.
5376 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5378 (acos_tonearest_test_data): Likewise.
5379 (acos_towardzero_test_data): Likewise.
5380 (acos_downward_test_data): Likewise.
5381 (acos_upward_test_data): Likewise.
5382 (acosh_test_data): Likewise.
5383 (asin_test_data): Likewise.
5384 (asin_tonearest_test_data): Likewise.
5385 (asin_towardzero_test_data): Likewise.
5386 (asin_downward_test_data): Likewise.
5387 (asin_upward_test_data): Likewise.
5388 (asinh_test_data): Likewise.
5389 (atan_test_data): Likewise.
5390 (atanh_test_data): Likewise.
5391 (atan2_test_data): Likewise.
5392 (cabs_test_data): Likewise.
5393 (cacos_test_data): Likewise.
5394 (cacosh_test_data): Likewise.
5395 (carg_test_data): Likewise.
5396 (casin_test_data): Likewise.
5397 (casinh_test_data): Likewise.
5398 (catan_test_data): Likewise.
5399 (catanh_test_data): Likewise.
5400 (cbrt_test_data): Likewise.
5401 (ccos_test_data): Likewise.
5402 (ccosh_test_data): Likewise.
5403 (ceil_test_data): Likewise.
5404 (cexp_test_data): Likewise.
5405 (cimag_test_data): Likewise.
5406 (clog_test_data): Likewise.
5407 (clog10_test_data): Likewise.
5408 (conj_test_data): Likewise.
5409 (copysign_test_data): Likewise.
5410 (cos_test_data): Likewise.
5411 (cos_tonearest_test_data): Likewise.
5412 (cos_towardzero_test_data): Likewise.
5413 (cos_downward_test_data): Likewise.
5414 (cos_upward_test_data): Likewise.
5415 (cosh_test_data): Likewise.
5416 (cosh_tonearest_test_data): Likewise.
5417 (cosh_towardzero_test_data): Likewise.
5418 (cosh_downward_test_data): Likewise.
5419 (cosh_upward_test_data): Likewise.
5420 (cpow_test_data): Likewise.
5421 (cproj_test_data): Likewise.
5422 (creal_test_data): Likewise.
5423 (csin_test_data): Likewise.
5424 (csinh_test_data): Likewise.
5425 (csqrt_test_data): Likewise.
5426 (ctan_test_data): Likewise.
5427 (ctan_tonearest_test_data): Likewise.
5428 (ctan_towardzero_test_data): Likewise.
5429 (ctan_downward_test_data): Likewise.
5430 (ctan_upward_test_data): Likewise.
5431 (ctanh_test_data): Likewise.
5432 (ctanh_tonearest_test_data): Likewise.
5433 (ctanh_towardzero_test_data): Likewise.
5434 (ctanh_downward_test_data): Likewise.
5435 (ctanh_upward_test_data): Likewise.
5436 (erf_test_data): Likewise.
5437 (erfc_test_data): Likewise.
5438 (exp_test_data): Likewise.
5439 (exp_tonearest_test_data): Likewise.
5440 (exp_towardzero_test_data): Likewise.
5441 (exp_downward_test_data): Likewise.
5442 (exp_upward_test_data): Likewise.
5443 (exp10_test_data): Likewise.
5444 (exp2_test_data): Likewise.
5445 (expm1_test_data): Likewise.
5446 (fabs_test_data): Likewise.
5447 (fdim_test_data): Likewise.
5448 (finite_test_data): Likewise.
5449 (floor_test_data): Likewise.
5450 (fma_test_data): Likewise.
5451 (fma_towardzero_test_data): Likewise.
5452 (fma_downward_test_data): Likewise.
5453 (fma_upward_test_data): Likewise.
5454 (fmax_test_data): Likewise.
5455 (fmin_test_data): Likewise.
5456 (fmod_test_data): Likewise.
5457 (fpclassify_test_data): Likewise.
5458 (frexp_test_data): Likewise.
5459 (gamma_test_data): Likewise.
5460 (hypot_test_data): Likewise.
5461 (ilogb_test_data): Likewise.
5462 (isfinite_test_data): Likewise.
5463 (isgreater_test_data): Likewise.
5464 (isgreaterequal_test_data): Likewise.
5465 (isinf_test_data): Likewise.
5466 (isless_test_data): Likewise.
5467 (islessequal_test_data): Likewise.
5468 (islessgreater_test_data): Likewise.
5469 (isnan_test_data): Likewise.
5470 (isnormal_test_data): Likewise.
5471 (issignaling_test_data): Likewise.
5472 (isunordered_test_data): Likewise.
5473 (j0_test_data): Likewise.
5474 (j1_test_data): Likewise.
5475 (jn_test_data): Likewise.
5476 (ldexp_test_data): Likewise.
5477 (lgamma_test_data): Likewise.
5478 (lrint_test_data): Likewise.
5479 (lrint_tonearest_test_data): Likewise.
5480 (lrint_towardzero_test_data): Likewise.
5481 (lrint_downward_test_data): Likewise.
5482 (lrint_upward_test_data): Likewise.
5483 (llrint_test_data): Likewise.
5484 (llrint_tonearest_test_data): Likewise.
5485 (llrint_towardzero_test_data): Likewise.
5486 (llrint_downward_test_data): Likewise.
5487 (llrint_upward_test_data): Likewise.
5488 (log_test_data): Likewise.
5489 (log10_test_data): Likewise.
5490 (log1p_test_data): Likewise.
5491 (log2_test_data): Likewise.
5492 (logb_test_data): Likewise.
5493 (logb_downward_test_data): Likewise.
5494 (lround_test_data): Likewise.
5495 (llround_test_data): Likewise.
5496 (modf_test_data): Likewise.
5497 (nearbyint_test_data): Likewise.
5498 (nextafter_test_data): Likewise.
5499 (nexttoward_test_data): Likewise.
5500 (pow_test_data): Likewise.
5501 (pow_tonearest_test_data): Likewise.
5502 (pow_towardzero_test_data): Likewise.
5503 (pow_downward_test_data): Likewise.
5504 (pow_upward_test_data): Likewise.
5505 (remainder_test_data): Likewise.
5506 (remainder_tonearest_test_data): Likewise.
5507 (remainder_towardzero_test_data): Likewise.
5508 (remainder_downward_test_data): Likewise.
5509 (remainder_upward_test_data): Likewise.
5510 (remquo_test_data): Likewise.
5511 (rint_test_data): Likewise.
5512 (rint_tonearest_test_data): Likewise.
5513 (rint_towardzero_test_data): Likewise.
5514 (rint_downward_test_data): Likewise.
5515 (rint_upward_test_data): Likewise.
5516 (round_test_data): Likewise.
5517 (scalb_test_data): Likewise.
5518 (scalbn_test_data): Likewise.
5519 (scalbln_test_data): Likewise.
5520 (signbit_test_data): Likewise.
5521 (sin_test_data): Likewise.
5522 (sin_tonearest_test_data): Likewise.
5523 (sin_towardzero_test_data): Likewise.
5524 (sin_downward_test_data): Likewise.
5525 (sin_upward_test_data): Likewise.
5526 (sincos_test_data): Likewise.
5527 (sinh_test_data): Likewise.
5528 (sinh_tonearest_test_data): Likewise.
5529 (sinh_towardzero_test_data): Likewise.
5530 (sinh_downward_test_data): Likewise.
5531 (sinh_upward_test_data): Likewise.
5532 (sqrt_test_data): Likewise.
5533 (tan_test_data): Likewise.
5534 (tan_tonearest_test_data): Likewise.
5535 (tan_towardzero_test_data): Likewise.
5536 (tan_downward_test_data): Likewise.
5537 (tan_upward_test_data): Likewise.
5538 (tanh_test_data): Likewise.
5539 (tgamma_test_data): Likewise.
5540 (trunc_test_data): Likewise.
5541 (y0_test_data): Likewise.
5542 (y1_test_data): Likewise.
5543 (yn_test_data): Likewise.
5544 (significand_test_data): Likewise.
5546 * math/gen-libm-test.pl (@functions): Remove variable.
5547 (generate_testfile): Don't handle START and END lines.
5548 * math/libm-test.inc (START): New macro.
5550 (END_COMPLEX): Likewise.
5551 (acos_test): Use END macro without arguments.
5552 (acos_test_tonearest): Likewise.
5553 (acos_test_towardzero): Likewise.
5554 (acos_test_downward): Likewise.
5555 (acos_test_upward): Likewise.
5556 (acosh_test): Likewise.
5557 (asin_test): Likewise.
5558 (asin_test_tonearest): Likewise.
5559 (asin_test_towardzero): Likewise.
5560 (asin_test_downward): Likewise.
5561 (asin_test_upward): Likewise.
5562 (asinh_test): Likewise.
5563 (atan_test): Likewise.
5564 (atanh_test): Likewise.
5565 (atan2_test): Likewise.
5566 (cabs_test): Likewise.
5567 (cacos_test): Use END_COMPLEX macro without arguments.
5568 (cacosh_test): Likewise.
5569 (carg_test): Use END macro without arguments.
5570 (casin_test): Use END_COMPLEX macro without arguments.
5571 (casinh_test): Likewise.
5572 (catan_test): Likewise.
5573 (catanh_test): Likewise.
5574 (cbrt_test): Use END macro without arguments.
5575 (ccos_test): Use END_COMPLEX macro without arguments.
5576 (ccosh_test): Likewise.
5577 (ceil_test): Use END macro without arguments.
5578 (cexp_test): Use END_COMPLEX macro without arguments.
5579 (cimag_test): Use END macro without arguments.
5580 (clog_test): Use END_COMPLEX macro without arguments.
5581 (clog10_test): Likewise.
5582 (conj_test): Likewise.
5583 (copysign_test): Use END macro without arguments.
5584 (cos_test): Likewise.
5585 (cos_test_tonearest): Likewise.
5586 (cos_test_towardzero): Likewise.
5587 (cos_test_downward): Likewise.
5588 (cos_test_upward): Likewise.
5589 (cosh_test): Likewise.
5590 (cosh_test_tonearest): Likewise.
5591 (cosh_test_towardzero): Likewise.
5592 (cosh_test_downward): Likewise.
5593 (cosh_test_upward): Likewise.
5594 (cpow_test): Use END_COMPLEX macro without arguments.
5595 (cproj_test): Likewise.
5596 (creal_test): Use END macro without arguments.
5597 (csin_test): Use END_COMPLEX macro without arguments.
5598 (csinh_test): Likewise.
5599 (csqrt_test): Likewise.
5600 (ctan_test): Likewise.
5601 (ctan_test_tonearest): Likewise.
5602 (ctan_test_towardzero): Likewise.
5603 (ctan_test_downward): Likewise.
5604 (ctan_test_upward): Likewise.
5605 (ctanh_test): Likewise.
5606 (ctanh_test_tonearest): Likewise.
5607 (ctanh_test_towardzero): Likewise.
5608 (ctanh_test_downward): Likewise.
5609 (ctanh_test_upward): Likewise.
5610 (erf_test): Use END macro without arguments.
5611 (erfc_test): Likewise.
5612 (exp_test): Likewise.
5613 (exp_test_tonearest): Likewise.
5614 (exp_test_towardzero): Likewise.
5615 (exp_test_downward): Likewise.
5616 (exp_test_upward): Likewise.
5617 (exp10_test): Likewise.
5618 (exp2_test): Likewise.
5619 (expm1_test): Likewise.
5620 (fabs_test): Likewise.
5621 (fdim_test): Likewise.
5622 (finite_test): Likewise.
5623 (floor_test): Likewise.
5624 (fma_test): Likewise.
5625 (fma_test_towardzero): Likewise.
5626 (fma_test_downward): Likewise.
5627 (fma_test_upward): Likewise.
5628 (fmax_test): Likewise.
5629 (fmin_test): Likewise.
5630 (fmod_test): Likewise.
5631 (fpclassify_test): Likewise.
5632 (frexp_test): Likewise.
5633 (gamma_test): Likewise.
5634 (hypot_test): Likewise.
5635 (ilogb_test): Likewise.
5636 (isfinite_test): Likewise.
5637 (isgreater_test): Likewise.
5638 (isgreaterequal_test): Likewise.
5639 (isinf_test): Likewise.
5640 (isless_test): Likewise.
5641 (islessequal_test): Likewise.
5642 (islessgreater_test): Likewise.
5643 (isnan_test): Likewise.
5644 (isnormal_test): Likewise.
5645 (issignaling_test): Likewise.
5646 (isunordered_test): Likewise.
5647 (j0_test): Likewise.
5648 (j1_test): Likewise.
5649 (jn_test): Likewise.
5650 (ldexp_test): Likewise.
5651 (lgamma_test): Likewise.
5652 (lrint_test): Likewise.
5653 (lrint_test_tonearest): Likewise.
5654 (lrint_test_towardzero): Likewise.
5655 (lrint_test_downward): Likewise.
5656 (lrint_test_upward): Likewise.
5657 (llrint_test): Likewise.
5658 (llrint_test_tonearest): Likewise.
5659 (llrint_test_towardzero): Likewise.
5660 (llrint_test_downward): Likewise.
5661 (llrint_test_upward): Likewise.
5662 (log_test): Likewise.
5663 (log10_test): Likewise.
5664 (log1p_test): Likewise.
5665 (log2_test): Likewise.
5666 (logb_test): Likewise.
5667 (logb_test_downward): Likewise.
5668 (lround_test): Likewise.
5669 (llround_test): Likewise.
5670 (modf_test): Likewise.
5671 (nearbyint_test): Likewise.
5672 (nextafter_test): Likewise.
5673 (nexttoward_test): Likewise.
5674 (pow_test): Likewise.
5675 (pow_test_tonearest): Likewise.
5676 (pow_test_towardzero): Likewise.
5677 (pow_test_downward): Likewise.
5678 (pow_test_upward): Likewise.
5679 (remainder_test): Likewise.
5680 (remainder_test_tonearest): Likewise.
5681 (remainder_test_towardzero): Likewise.
5682 (remainder_test_downward): Likewise.
5683 (remainder_test_upward): Likewise.
5684 (remquo_test): Likewise.
5685 (rint_test): Likewise.
5686 (rint_test_tonearest): Likewise.
5687 (rint_test_towardzero): Likewise.
5688 (rint_test_downward): Likewise.
5689 (rint_test_upward): Likewise.
5690 (round_test): Likewise.
5691 (scalb_test): Likewise.
5692 (scalbn_test): Likewise.
5693 (scalbln_test): Likewise.
5694 (signbit_test): Likewise.
5695 (sin_test): Likewise.
5696 (sin_test_tonearest): Likewise.
5697 (sin_test_towardzero): Likewise.
5698 (sin_test_downward): Likewise.
5699 (sin_test_upward): Likewise.
5700 (sincos_test): Likewise.
5701 (sinh_test): Likewise.
5702 (sinh_test_tonearest): Likewise.
5703 (sinh_test_towardzero): Likewise.
5704 (sinh_test_downward): Likewise.
5705 (sinh_test_upward): Likewise.
5706 (sqrt_test): Likewise.
5707 (tan_test): Likewise.
5708 (tan_test_tonearest): Likewise.
5709 (tan_test_towardzero): Likewise.
5710 (tan_test_downward): Likewise.
5711 (tan_test_upward): Likewise.
5712 (tanh_test): Likewise.
5713 (tgamma_test): Likewise.
5714 (trunc_test): Likewise.
5715 (y0_test): Likewise.
5716 (y1_test): Likewise.
5717 (yn_test): Likewise.
5718 (significand_test): Likewise.
5720 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5723 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5725 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5728 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5729 __ppc_mdoio and __ppc_mdoom.
5730 * manual/platform.texi: Document new functions __ppc_yield,
5731 __ppc_mdoio and __ppc_mdoom.
5733 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5735 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5736 (main): Mention "tls" pseudo-hwcap is legacy.
5737 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5739 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5741 * math/gen-libm-test.pl (parse_args): Output only string of
5742 arguments as text for test name, not full call or descriptions of
5743 tests for extra outputs.
5744 (generate_testfile): Do not pass function name to parse_args.
5745 Generate this_func variable from START.
5746 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5748 (struct test_ff_f_data): Likewise.
5749 (test_ff_f_data_nexttoward): Likewise.
5750 (struct test_fi_f_data): Likewise.
5751 (struct test_fl_f_data): Likewise.
5752 (struct test_if_f_data): Likewise.
5753 (struct test_fff_f_data): Likewise.
5754 (struct test_c_f_data): Likewise.
5755 (struct test_f_f1_data): Likewise. Remove field extra_name.
5756 (struct test_fF_f1_data): Likewise.
5757 (struct test_ffI_f1_data): Likewise.
5758 (struct test_c_c_data): Rename test_name field to arg_str.
5759 (struct test_cc_c_data): Likewise.
5760 (struct test_f_i_data): Likewise.
5761 (struct test_ff_i_data): Likewise.
5762 (struct test_f_l_data): Likewise.
5763 (struct test_f_L_data): Likewise.
5764 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5766 (COMMON_TEST_SETUP): New macro.
5767 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5768 (COMMON_TEST_CLEANUP): Likewise.
5769 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5770 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5772 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5773 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5775 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5776 (RUN_TEST_fff_f): Take argument string. Call new setup and
5778 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5779 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5781 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5782 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5784 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5785 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5787 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5788 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5790 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5791 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5793 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5794 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5796 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5797 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5799 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5800 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5802 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5803 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5805 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5806 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5808 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5809 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5811 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5812 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5814 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5815 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5817 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5818 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5820 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5821 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5823 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5825 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5827 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5828 to _sifields.sigfault.
5829 (si_addr_lsb): Define new macro.
5830 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5832 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5834 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5837 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5839 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5841 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5844 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5846 * math/gen-libm-test.pl (parse_args): Do not include expected
5847 result in test name.
5848 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5850 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5851 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5852 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5855 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5857 * benchtests/Makefile: Sort function entries.
5859 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5860 tanh, asinh, acosh, atanh.
5861 * benchtests/acos-inputs: New file.
5862 * benchtests/acosh-inputs: New file.
5863 * benchtests/asin-inputs: New file.
5864 * benchtests/asinh-inputs: New file.
5865 * benchtests/atanh-inputs: New file.
5866 * benchtests/cosh-inputs: New file.
5867 * benchtests/log-inputs: New file.
5868 * benchtests/sinh-inputs: New file.
5869 * benchtests/tanh-inputs: New file.
5871 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5874 * posix/tst-getaddrinfo4.c: New test.
5875 * posix/Makefile (tests): Add it.
5877 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5880 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5881 when no services were used.
5882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5883 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5885 2013-05-21 Andreas Schwab <schwab@suse.de>
5888 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5889 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5891 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5892 redundant variable declarations and reallocation of buffer when
5893 parsing as IPv6 address. Always set NSS status when called from
5894 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5895 buffer too small. Correct computation of needed size.
5896 * nss/Makefile (tests): Add test-digits-dots.
5897 * nss/test-digits-dots.c: New test.
5899 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5901 * benchtests/Makefile: Remove instructions for adding
5903 * benchtests/README: New file to explain how to execute and
5904 enhance the benchmark tests.
5906 2013-05-21 Andreas Schwab <schwab@suse.de>
5909 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5910 * setjmp/tst-sigsetjmp.c: New test.
5912 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5914 * sysdeps/x86_64/memset.S (memset): New implementation.
5915 (__bzero): Likewise.
5916 (__memset_tail): New function.
5918 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5920 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5921 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5922 __memcpy_sse2_unaligned ifunc selection.
5923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5924 Add memcpy-sse2-unaligned.S.
5925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5926 Add: __memcpy_sse2_unaligned.
5928 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5931 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5932 math_force_eval before restoring floating-point envrionment.
5933 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5938 (__nearbyintl): Use math_force_eval before restoring
5939 floating-point environment.
5940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5942 * math/gen-libm-test.pl (special_functions): Remove.
5943 (parse_args): Don't handle TEST_extra. Handle functions with no
5945 * math/libm-test.inc (struct test_sincos_data): Replace with
5946 struct test_fFF_11_data.
5947 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5948 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5949 (sincos_test_data): Change element type to struct
5950 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5951 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5952 RUN_TEST_LOOP_sincos.
5953 * math/README.libm-test: Don't mention special handling of
5954 individual functions.
5955 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5957 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5959 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962 * math/gen-libm-test.pl (get_variable): Remove function.
5963 (parse_args): Don't show pointer parameters to call in test
5964 names. Use "extra output N" in test names for extra outputs
5965 rather than naming variables.
5967 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5970 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5971 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5972 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5974 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5976 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5979 * math/gen-libm-test.pl (@tests): Remove variable.
5981 (new_test): Remove function.
5982 (show_exceptions): New function.
5983 (special_functions): Use show_exceptions instead of new_test.
5984 (parse_args): Likewise.
5985 (generate_testfile): Pass only function name in generated call to
5986 print_max_error or print_complex_max_error.
5987 (get_ulps): Do not handle complex tests specially.
5988 (output_test): Rename to ...
5989 (get_all_ulps_for_test): ... this. Return a string rather than
5990 printing to a file. Require ulps to be present.
5991 (output_ulps): Generate arrays rather than #defines.
5992 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5993 (struct ulp_data): New type.
5994 (BUILD_COMPLEX_ULP): Remove macro.
5995 (compare_ulp_data): New function.
5996 (find_ulps): Likewise.
5997 (find_test_ulps): Likewise.
5998 (find_function_ulps): Likewise.
5999 (find_complex_function_ulps): Likewise.
6000 (print_max_error): Determine allowed ulps using
6002 (print_complex_max_error): Determine allowed ulps using
6003 find_complex_function_ulps.
6004 (check_float_internal): Determine max ulps using find_test_ulps.
6005 (check_float): Do not take max_ulp parameter. Update call to
6006 check_float_internal.
6007 (check_complex): Likewise.
6008 (check_int): Do not take max_ulp parameter.
6009 (check_long): Likewise.
6010 (check_bool): Likewise.
6011 (check_longlong): Likewise.
6012 (struct test_f_f_data): Remove max_ulp field.
6013 (struct test_ff_f_data): Likewise.
6014 (struct test_ff_f_data_nexttoward): Likewise.
6015 (struct test_fi_f_data): Likewise.
6016 (struct test_fl_f_data): Likewise.
6017 (struct test_if_f_data): Likewise.
6018 (struct test_fff_f_data): Likewise.
6019 (struct test_c_f_data): Likewise.
6020 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6021 (struct test_fF_f1_data): Likewise.
6022 (struct test_ffI_f1_data): Likewise.
6023 (struct test_c_c_data): Remove max_ulp field.
6024 (struct test_cc_c_data): Likewise.
6025 (struct test_f_i_data): Likewise.
6026 (struct test_ff_i_data): Likewise.
6027 (struct test_f_l_data): Likewise.
6028 (struct test_f_L_data): Likewise.
6029 (struct test_sincos_data): Likewise.
6030 (RUN_TEST_f_f): Do not handle ulps.
6031 (RUN_TEST_LOOP_f_f): Likewise.
6032 (RUN_TEST_2_f): Likewise.
6033 (RUN_TEST_LOOP_2_f): Likewise.
6034 (RUN_TEST_fff_f): Likewise.
6035 (RUN_TEST_LOOP_fff_f): Likewise.
6036 (RUN_TEST_c_f): Likewise.
6037 (RUN_TEST_LOOP_c_f): Likewise.
6038 (RUN_TEST_f_f1): Likewise.
6039 (RUN_TEST_LOOP_f_f1): Likewise.
6040 (RUN_TEST_fF_f1): Likewise.
6041 (RUN_TEST_LOOP_fF_f1): Likewise.
6042 (RUN_TEST_fI_f1): Likewise.
6043 (RUN_TEST_LOOP_fI_f1): Likewise.
6044 (RUN_TEST_ffI_f1): Likewise.
6045 (RUN_TEST_LOOP_ffI_f1): Likewise.
6046 (RUN_TEST_c_c): Likewise.
6047 (RUN_TEST_LOOP_c_c): Likewise.
6048 (RUN_TEST_cc_c): Likewise.
6049 (RUN_TEST_LOOP_cc_c): Likewise.
6050 (RUN_TEST_f_i): Likewise.
6051 (RUN_TEST_LOOP_f_i): Likewise.
6052 (RUN_TEST_f_i_tg): Likewise.
6053 (RUN_TEST_LOOP_f_i_tg): Likewise.
6054 (RUN_TEST_ff_i_tg): Likewise.
6055 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6056 (RUN_TEST_f_b): Likewise.
6057 (RUN_TEST_LOOP_f_b): Likewise.
6058 (RUN_TEST_f_b_tg): Likewise.
6059 (RUN_TEST_LOOP_f_b_tg): Likewise.
6060 (RUN_TEST_f_l): Likewise.
6061 (RUN_TEST_LOOP_f_l): Likewise.
6062 (RUN_TEST_f_L): Likewise.
6063 (RUN_TEST_LOOP_f_L): Likewise.
6064 (RUN_TEST_sincos): Likewise.
6065 (RUN_TEST_LOOP_sincos): Likewise.
6067 2013-05-17 Joseph Myers <joseph@codesourcery.com>
6071 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6072 main case of finite arguments, set rounding mode to FE_TONEAREST
6073 and discard exceptions.
6074 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6076 (remainder_tonearest_test_data): New variable.
6077 (remainder_test_tonearest): New function.
6078 (remainder_towardzero_test_data): New variable.
6079 (remainder_test_towardzero): New function.
6080 (remainder_downward_test_data): New variable.
6081 (remainder_test_downward): New function.
6082 (remainder_upward_test_data): New variable.
6083 (remainder_test_upward): New function.
6084 (main): Call the new test functions.
6086 * math/libm-test.inc (struct test_f_f1_data): Remove field
6088 (struct test_fF_f1_data): Likewise.
6089 (struct test_ffI_f1_data): Likewise.
6090 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6091 based on value of EXTRA_EXPECTED.
6092 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6093 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6094 EXTRA_VAR based on value of EXTRA_EXPECTED.
6095 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6096 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6097 EXTRA_VAR based on value of EXTRA_EXPECTED.
6098 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6099 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6100 EXTRA_VAR based on value of EXTRA_EXPECTED.
6101 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6102 * math/gen-libm-test.pl (parse_args): Don't output initializers
6103 for extra output values.
6105 * math/libm-test.inc (check_int): Expect result to be exactly
6106 equal to expected value and do not handle ulps.
6107 (check_long): Likewise.
6108 (check_longlong): Likewise.
6110 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6112 (cimag_test_data): Likewise.
6113 (conj_test_data): Likewise.
6114 (copysign_test_data): Likewise.
6115 (cproj_test_data): Likewise.
6116 (creal_test_data): Likewise.
6117 (fabs_test_data): Likewise.
6118 (fdim_test_data): Likewise.
6119 (finite_test_data): Likewise.
6120 (floor_test_data): Likewise.
6121 (fmax_test_data): Likewise.
6122 (fmin_test_data): Likewise.
6123 (fmod_test_data): Likewise.
6124 (fpclassify_test_data): Likewise.
6125 (frexp_test_data): Likewise.
6126 (ilogb_test_data): Likewise.
6127 (isfinite_test_data): Likewise.
6128 (isgreater_test_data): Likewise.
6129 (isgreaterequal_test_data): Likewise.
6130 (isinf_test_data): Likewise.
6131 (isless_test_data): Likewise.
6132 (islessequal_test_data): Likewise.
6133 (islessgreater_test_data): Likewise.
6134 (isnan_test_data): Likewise.
6135 (isnormal_test_data): Likewise.
6136 (issignaling_test_data): Likewise.
6137 (isunordered_test_data): Likewise.
6138 (ldexp_test_data): Likewise.
6139 (lrint_test_data): Likewise.
6140 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6141 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6142 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6143 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6144 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6145 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6147 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6148 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6149 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6150 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6152 (lrint_downward_test_data): Test for "inexact" exceptions.
6153 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6154 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6155 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6157 (lrint_upward_test_data): Test for "inexact" exceptions.
6158 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6160 (llrint_test_data): Test for "inexact" exceptions.
6161 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6162 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6163 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6164 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6165 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6166 (llrint_downward_test_data): Test for "inexact" exceptions.
6167 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6168 (llrint_upward_test_data): Test for "inexact" exceptions.
6169 (logb_test_data): Likewise.
6170 (logb_downward_test_data): Likewise.
6171 (nextafter_test_data): Likewise.
6172 (nexttoward_test_data): Likewise.
6173 (remainder_test_data): Likewise.
6174 (remquo_test_data): Likewise.
6175 (scalbn_test_data): Likewise.
6176 (scalbln_test_data): Likewise.
6177 (signbit_test_data): Likewise.
6178 (sqrt_test_data): Likewise.
6179 (significand_test_data): Likewise.
6181 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6184 * benchtests/bench-modf.c (struct args): Mark arg0 as
6186 * scripts/bench.pl: Mark members of struct args as volatile.
6188 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6192 negative infinity on POWER6 or lower.
6193 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6195 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6198 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6199 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6200 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6201 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6202 (_FP_SETQNAN): New macro.
6203 (_FP_SETQNAN_SEMIRAW): Likewise.
6204 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6205 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6206 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6207 (FP_EXTEND): Use _FP_FRAC_SNANP.
6208 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6209 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6216 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6218 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6219 with DIVIDE_BY_ZERO_EXCEPTION.
6220 (gamma_test_data): Likewise.
6221 (lgamma_test_data): Likewise.
6222 (log_test_data): Likewise.
6223 (log10_test_data): Likewise.
6224 (log2_test_data): Likewise.
6225 (tgamma_test_data): Likewise.
6227 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6228 (acos_test_tonearest): Likewise.
6229 (acos_test_towardzero): Likewise.
6230 (acos_test_downward): Likewise.
6231 (acos_test_upward): Likewise.
6232 (acosh_test): Likewise.
6233 (asin_test): Likewise.
6234 (asin_test_tonearest): Likewise.
6235 (asin_test_towardzero): Likewise.
6236 (asin_test_downward): Likewise.
6237 (asin_test_upward): Likewise.
6238 (asinh_test): Likewise.
6239 (atan_test): Likewise.
6240 (atanh_test): Likewise.
6241 (atan2_test): Likewise.
6242 (cabs_test): Likewise.
6243 (cacos_test): Likewise.
6244 (cacosh_test): Likewise.
6245 (casin_test): Likewise.
6246 (casinh_test): Likewise.
6247 (catan_test): Likewise.
6248 (catanh_test): Likewise.
6249 (cbrt_test): Likewise.
6250 (ccos_test): Likewise.
6251 (ccosh_test): Likewise.
6252 (cexp_test): Likewise.
6253 (clog_test): Likewise.
6254 (clog10_test): Likewise.
6255 (cos_test): Likewise.
6256 (cos_test_tonearest): Likewise.
6257 (cos_test_towardzero): Likewise.
6258 (cos_test_downward): Likewise.
6259 (cos_test_upward): Likewise.
6260 (cosh_test): Likewise.
6261 (cosh_test_tonearest): Likewise.
6262 (cosh_test_towardzero): Likewise.
6263 (cosh_test_downward): Likewise.
6264 (cosh_test_upward): Likewise.
6265 (cpow_test): Likewise.
6266 (csin_test): Likewise.
6267 (csinh_test): Likewise.
6268 (csqrt_test): Likewise.
6269 (ctan_test): Likewise.
6270 (ctan_test_tonearest): Likewise.
6271 (ctan_test_towardzero): Likewise.
6272 (ctan_test_downward): Likewise.
6273 (ctan_test_upward): Likewise.
6274 (ctanh_test): Likewise.
6275 (ctanh_test_tonearest): Likewise.
6276 (ctanh_test_towardzero): Likewise.
6277 (ctanh_test_downward): Likewise.
6278 (ctanh_test_upward): Likewise.
6279 (erf_test): Likewise.
6280 (erfc_test): Likewise.
6281 (exp_test): Likewise.
6282 (exp_test_tonearest): Likewise.
6283 (exp_test_towardzero): Likewise.
6284 (exp_test_downward): Likewise.
6285 (exp_test_upward): Likewise.
6286 (exp10_test): Likewise.
6287 (exp2_test): Likewise.
6288 (expm1_test): Likewise.
6289 (fmod_test): Likewise.
6290 (gamma_test): Likewise.
6291 (hypot_test): Likewise.
6292 (j0_test): Likewise.
6293 (j1_test): Likewise.
6294 (jn_test): Likewise.
6295 (lgamma_test): Likewise.
6296 (log_test): Likewise.
6297 (log10_test): Likewise.
6298 (log1p_test): Likewise.
6299 (log2_test): Likewise.
6300 (logb_test_downward): Likewise.
6301 (pow_test): Likewise.
6302 (pow_test_tonearest): Likewise.
6303 (pow_test_towardzero): Likewise.
6304 (pow_test_downward): Likewise.
6305 (pow_test_upward): Likewise.
6306 (remainder_test): Likewise.
6307 (remquo_test): Likewise.
6308 (sin_test): Likewise.
6309 (sin_test_tonearest): Likewise.
6310 (sin_test_towardzero): Likewise.
6311 (sin_test_downward): Likewise.
6312 (sin_test_upward): Likewise.
6313 (sincos_test): Likewise.
6314 (sinh_test): Likewise.
6315 (sinh_test_tonearest): Likewise.
6316 (sinh_test_towardzero): Likewise.
6317 (sinh_test_downward): Likewise.
6318 (sinh_test_upward): Likewise.
6319 (sqrt_test): Likewise.
6320 (tan_test): Likewise.
6321 (tan_test_tonearest): Likewise.
6322 (tan_test_towardzero): Likewise.
6323 (tan_test_downward): Likewise.
6324 (tan_test_upward): Likewise.
6325 (tanh_test): Likewise.
6326 (tgamma_test): Likewise.
6327 (y0_test): Likewise.
6328 (y1_test): Likewise.
6329 (yn_test): Likewise.
6331 * math/gen-libm-test.pl (adjust_arg): Remove function.
6332 (special_function): Remove argument $in_func. Only handle
6333 generating output for tables of tests, not inside functions.
6334 (parse_args): Likewise.
6335 (generate_testfile): Remove variable $in_func. Update call to
6337 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6338 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6339 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6340 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6341 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6342 (MAX_VALUE_INIT): Rename macro to max_value.
6343 (MIN_VALUE_INIT): Rename macro to min_value.
6344 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6345 (plus_zero): Remove variable.
6346 (minus_zero): Likewise.
6347 (plus_infty): Likewise.
6348 (minus_infty): Likewise.
6349 (qnan_value): Likewise.
6350 (max_value): Likewise.
6351 (min_value): Likewise.
6352 (min_subnorm_value): Likewise.
6354 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6356 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6357 uint64_t or uint32_t usage.
6358 * crypt/sha256-block.c: Likewise.
6359 * crypt/sha256-crypt.c: Likewise.
6360 * crypt/sha256.c: Likewise.
6361 * crypt/sha512-block.c: Likewise.
6362 * crypt/sha512-crypt.c: Likewise.
6363 * crypt/sha512.c: Likewise.
6364 * debug/backtrace-tst.c: Likewise.
6365 * debug/pcprofiledump.c: Likewise.
6366 * elf/cache.c: Likewise.
6367 * elf/dl-cache.c: Likewise.
6368 * elf/dl-misc.c: Likewise.
6369 * elf/dl-profile.c: Likewise.
6370 * elf/dl-support.c: Likewise.
6371 * elf/ldconfig.c: Likewise.
6372 * elf/sprof.c: Likewise.
6373 * iconv/dummy-repertoire.c: Likewise.
6374 * iconv/iconv_charmap.c: Likewise.
6375 * iconv/skeleton.c: Likewise.
6376 * iconvdata/8bit-generic.c: Likewise.
6377 * iconvdata/cp737.h: Likewise.
6378 * iconvdata/cp775.h: Likewise.
6379 * iconvdata/ibm1008.h: Likewise.
6380 * iconvdata/ibm1025.h: Likewise.
6381 * iconvdata/ibm1046.h: Likewise.
6382 * iconvdata/ibm1097.h: Likewise.
6383 * iconvdata/ibm1112.h: Likewise.
6384 * iconvdata/ibm1122.h: Likewise.
6385 * iconvdata/ibm1123.h: Likewise.
6386 * iconvdata/ibm1124.h: Likewise.
6387 * iconvdata/ibm1129.h: Likewise.
6388 * iconvdata/ibm1130.h: Likewise.
6389 * iconvdata/ibm1132.h: Likewise.
6390 * iconvdata/ibm1133.h: Likewise.
6391 * iconvdata/ibm1137.h: Likewise.
6392 * iconvdata/ibm1140.h: Likewise.
6393 * iconvdata/ibm1141.h: Likewise.
6394 * iconvdata/ibm1142.h: Likewise.
6395 * iconvdata/ibm1143.h: Likewise.
6396 * iconvdata/ibm1144.h: Likewise.
6397 * iconvdata/ibm1145.h: Likewise.
6398 * iconvdata/ibm1146.h: Likewise.
6399 * iconvdata/ibm1147.h: Likewise.
6400 * iconvdata/ibm1148.h: Likewise.
6401 * iconvdata/ibm1149.h: Likewise.
6402 * iconvdata/ibm1153.h: Likewise.
6403 * iconvdata/ibm1154.h: Likewise.
6404 * iconvdata/ibm1155.h: Likewise.
6405 * iconvdata/ibm1156.h: Likewise.
6406 * iconvdata/ibm1157.h: Likewise.
6407 * iconvdata/ibm1158.h: Likewise.
6408 * iconvdata/ibm1160.h: Likewise.
6409 * iconvdata/ibm1161.h: Likewise.
6410 * iconvdata/ibm1162.h: Likewise.
6411 * iconvdata/ibm1163.h: Likewise.
6412 * iconvdata/ibm1164.h: Likewise.
6413 * iconvdata/ibm1166.h: Likewise.
6414 * iconvdata/ibm1167.h: Likewise.
6415 * iconvdata/ibm12712.h: Likewise.
6416 * iconvdata/ibm1390.h: Likewise.
6417 * iconvdata/ibm1399.h: Likewise.
6418 * iconvdata/ibm16804.h: Likewise.
6419 * iconvdata/ibm4517.h: Likewise.
6420 * iconvdata/ibm4899.h: Likewise.
6421 * iconvdata/ibm4909.h: Likewise.
6422 * iconvdata/ibm4971.h: Likewise.
6423 * iconvdata/ibm5347.h: Likewise.
6424 * iconvdata/ibm803.h: Likewise.
6425 * iconvdata/ibm856.h: Likewise.
6426 * iconvdata/ibm901.h: Likewise.
6427 * iconvdata/ibm902.h: Likewise.
6428 * iconvdata/ibm9030.h: Likewise.
6429 * iconvdata/ibm9066.h: Likewise.
6430 * iconvdata/ibm921.h: Likewise.
6431 * iconvdata/ibm922.h: Likewise.
6432 * iconvdata/ibm9448.h: Likewise.
6433 * iconvdata/isiri-3342.h: Likewise.
6434 * iconvdata/jis0201.h: Likewise.
6435 * include/link.h: Likewise.
6436 * include/netdb.h: Likewise.
6437 * inet/check_native.c: Likewise.
6438 * inet/check_pf.c: Likewise.
6439 * inet/getipv4sourcefilter.c: Likewise.
6440 * inet/getnameinfo.c: Likewise.
6441 * inet/getsourcefilter.c: Likewise.
6442 * inet/htonl.c: Likewise.
6443 * inet/setipv4sourcefilter.c: Likewise.
6444 * inet/setsourcefilter.c: Likewise.
6445 * inet/test-inet6_opt.c: Likewise.
6446 * inet/tst-network.c: Likewise.
6447 * locale/C-collate.c: Likewise.
6448 * locale/C-ctype.c: Likewise.
6449 * locale/C-time.c: Likewise.
6450 * locale/C-translit.h: Likewise.
6451 * locale/loadarchive.c: Likewise.
6452 * locale/programs/3level.h: Likewise.
6453 * locale/programs/charmap.c: Likewise.
6454 * locale/programs/charmap.h: Likewise.
6455 * locale/programs/ld-address.c: Likewise.
6456 * locale/programs/ld-collate.c: Likewise.
6457 * locale/programs/ld-ctype.c: Likewise.
6458 * locale/programs/ld-identification.c: Likewise.
6459 * locale/programs/ld-measurement.c: Likewise.
6460 * locale/programs/ld-messages.c: Likewise.
6461 * locale/programs/ld-monetary.c: Likewise.
6462 * locale/programs/ld-name.c: Likewise.
6463 * locale/programs/ld-numeric.c: Likewise.
6464 * locale/programs/ld-paper.c: Likewise.
6465 * locale/programs/ld-telephone.c: Likewise.
6466 * locale/programs/ld-time.c: Likewise.
6467 * locale/programs/linereader.c: Likewise.
6468 * locale/programs/locale.c: Likewise.
6469 * locale/programs/locarchive.c: Likewise.
6470 * locale/programs/locfile.h: Likewise.
6471 * locale/programs/repertoire.c: Likewise.
6472 * locale/programs/simple-hash.c: Likewise.
6473 * locale/programs/simple-hash.h: Likewise.
6474 * malloc/memusage.c: Likewise.
6475 * malloc/memusagestat.c: Likewise.
6476 * nis/nis_defaults.c: Likewise.
6477 * nis/nis_hash.c: Likewise.
6478 * nis/nis_print.c: Likewise.
6479 * nis/nis_xdr.c: Likewise.
6480 * nscd/connections.c: Likewise.
6481 * nscd/hstcache.c: Likewise.
6482 * nscd/nscd_gethst_r.c: Likewise.
6483 * nscd/nscd_getserv_r.c: Likewise.
6484 * nscd/nscd_helper.c: Likewise.
6485 * nscd/servicescache.c: Likewise.
6486 * nss/makedb.c: Likewise.
6487 * nss/nss_db/db-XXX.c: Likewise.
6488 * nss/nss_db/db-initgroups.c: Likewise.
6489 * nss/nss_db/db-netgrp.c: Likewise.
6490 * nss/nss_files/files-network.c: Likewise.
6491 * nss/nss_files/files-parse.c: Likewise.
6492 * posix/bug-regex5.c: Likewise.
6493 * posix/fnmatch_loop.c: Likewise.
6494 * posix/regcomp.c: Likewise.
6495 * posix/regexec.c: Likewise.
6496 * posix/tst-rfc3484-2.c: Likewise.
6497 * posix/tst-rfc3484-3.c: Likewise.
6498 * posix/tst-rfc3484.c: Likewise.
6499 * resolv/nss_dns/dns-canon.c: Likewise.
6500 * resolv/nss_dns/dns-network.c: Likewise.
6501 * resolv/res_init.c: Likewise.
6502 * resolv/res_mkquery.c: Likewise.
6503 * resolv/tst-aton.c: Likewise.
6504 * stdlib/cxa_atexit.c: Likewise.
6505 * stdlib/cxa_finalize.c: Likewise.
6506 * stdlib/gen-fpioconst.c: Likewise.
6507 * stdlib/strtol_l.c: Likewise.
6508 * string/tst-endian.c: Likewise.
6509 * sunrpc/auth_des.c: Likewise.
6510 * sunrpc/clnt_udp.c: Likewise.
6511 * sunrpc/rtime.c: Likewise.
6512 * sunrpc/svcauth_des.c: Likewise.
6513 * sunrpc/xdr.c: Likewise.
6514 * sunrpc/xdr_intXX_t.c: Likewise.
6515 * sunrpc/xdr_rec.c: Likewise.
6516 * sysdeps/generic/ldconfig.h: Likewise.
6517 * sysdeps/generic/ldsodefs.h: Likewise.
6518 * sysdeps/generic/memusage.h: Likewise.
6519 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6529 * sysdeps/posix/getaddrinfo.c: Likewise.
6530 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6534 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6535 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6536 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6537 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6538 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6539 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6540 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6541 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6542 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6543 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6544 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6545 * sysdeps/x86_64/dl-tls.h: Likewise.
6546 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6547 * time/alt_digit.c: Likewise.
6548 * time/era.c: Likewise.
6549 * wcsmbs/tst-c16c32-1.c: Likewise.
6551 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6553 * math/libm-test.inc (struct test_sincos_data): New type.
6554 (RUN_TEST_LOOP_sincos): New macro.
6555 (sincos_test_data): New variable.
6556 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6558 2013-05-16 Richard Henderson <rth@redhat.com>
6560 * math/atest-exp2.c (LIMB64): New macro.
6561 (CONSTSZ): New macro.
6562 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6564 (print_mpn_fp): ... to function scope.
6565 (read_mpn_hex): Remove.
6567 (exp2_mpn): Use mp_log2.
6568 (main): Use mp_exp1.
6570 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6572 * math/libm-test.inc: Remove comment about not testing "inexact"
6574 (INEXACT_EXCEPTION): New macro.
6575 (NO_INEXACT_EXCEPTION): Likewise.
6576 (INVALID_EXCEPTION_OK): Update value.
6577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6578 (OVERFLOW_EXCEPTION_OK): Likewise.
6579 (UNDERFLOW_EXCEPTION_OK): Likewise.
6580 (IGNORE_ZERO_INF_SIGN): Likewise.
6581 (ERRNO_UNCHANGED): Likewise.
6582 (ERRNO_EDOM): Likewise.
6583 (ERRNO_ERANGE): Likewise.
6584 (test_exceptions): Handle testing "inexact" exceptions.
6585 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6586 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6587 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6588 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6590 (rint_towardzero_test_data): Likewise.
6591 (rint_downward_test_data): Likewise.
6592 (rint_upward_test_data): Likewise.
6594 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6595 with OVERFLOW_EXCEPTION.
6596 (exp10_test_data): Likewise.
6597 (exp2_test_data): Likewise.
6598 (expm1_test_data): Likewise.
6599 (lgamma_test_data): Likewise.
6600 (pow_test_data): Likewise.
6601 (tgamma_test_data): Likewise.
6602 (yn_test_data): Remove duplicate test of overflow.
6604 * math/libm-test.inc (struct test_cc_c_data): New type.
6605 (RUN_TEST_LOOP_cc_c): New macro.
6606 (cpow_test_data): New variable.
6607 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6609 * math/libm-test.inc (struct test_f_L_data): New type.
6610 (RUN_TEST_LOOP_f_L): New macro.
6611 (llrint_test_data): New variable.
6612 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6613 (llrint_tonearest_test_data): New variable.
6614 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6615 (llrint_towardzero_test_data): New variable.
6616 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6617 (llrint_downward_test_data): New variable.
6618 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6619 (llrint_upward_test_data): New variable.
6620 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6621 (llround_test_data): New variable.
6622 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6624 2013-05-13 Peter Collingbourne <pcc@google.com>
6626 * math/atest-exp2.c (get_log2): Remove const attribute.
6628 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6630 * math/libm-test.inc (struct test_f_l_data): New type.
6631 (RUN_TEST_LOOP_f_l): New macro.
6632 (lrint_test_data): New variable.
6633 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6634 (lrint_tonearest_test_data): New variable.
6635 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6636 (lrint_towardzero_test_data): New variable.
6637 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6638 (lrint_downward_test_data): New variable.
6639 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6640 (lrint_upward_test_data): New variable.
6641 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6642 (lround_test_data): New variable.
6643 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6645 2013-05-15 Peter Collingbourne <pcc@google.com>
6647 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6648 (EXTRACT_WORDS64) Use where appropriate.
6649 (INSERT_WORDS64) Likewise.
6651 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6652 constraints with x constraints.
6653 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6655 * malloc/obstack.c (_obstack_compat): Add initializer.
6657 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6660 si_trapno and add si_addr_lsb to _sifields.sigfault.
6661 (si_trapno): Remove macro.
6662 (si_addr_lsb): Define new macro.
6663 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6665 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6667 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6668 instead of TEST_f_l.
6669 (llrint_test_tonearest): Likewise.
6670 (llrint_test_towardzero): Likewise.
6671 (llrint_test_downward): Likewise.
6672 (llrint_test_upward): Likewise.
6673 (llround_test): Likewise.
6675 * math/libm-test.inc (struct test_f_i_data): Add comment.
6676 (RUN_TEST_LOOP_f_b): New macro.
6677 (RUN_TEST_LOOP_f_b_tg): Likewise.
6678 (finite_test_data): New variable.
6679 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6680 (isfinite_test_data): New variable.
6681 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6682 (isinf_test_data): New variable.
6683 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6684 (isnan_test_data): New variable.
6685 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6686 (isnormal_test_data): New variable.
6687 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6688 (issignaling_test_data): New variable.
6689 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6690 (signbit_test_data): New variable.
6691 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6693 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6694 with INVALID_EXCEPTION.
6695 (acosh_test_data): Likewise.
6696 (asin_test_data): Likewise.
6697 (atanh_test_data): Likewise.
6698 (fmod_test_data): Likewise.
6699 (log_test_data): Likewise.
6700 (log10_test_data): Likewise.
6701 (log2_test_data): Likewise.
6702 (pow_test_data): Likewise.
6703 (sqrt_test_data): Likewise.
6704 (y0_test_data): Likewise.
6705 (y1_test_data): Likewise.
6706 (yn_test_data): Likewise.
6708 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6711 * math/libm-test.inc (struct test_ff_i_data): New type.
6712 (RUN_TEST_LOOP_ff_i_tg): New macro.
6713 (isgreater_test_data): New variable.
6714 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6715 (isgreaterequal_test_data): New variable.
6716 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6717 (isless_test_data): New variable.
6718 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6719 (islessequal_test_data): New variable.
6720 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6721 (islessgreater_test_data): New variable.
6722 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6723 (isunordered_test_data): New variable.
6724 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6726 2013-05-14 David S. Miller <davem@davemloft.net>
6728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6730 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6732 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6734 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6736 (struct test_f_i_data): Change type of max_ulp to int.
6738 * math/libm-test.inc (test_ffI_f1_data): New type.
6739 (RUN_TEST_LOOP_ffI_f1): New macro.
6740 (remquo_test_data): New variable.
6741 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6743 * setjmp/tst-setjmp-fp.c: New file.
6744 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6745 (link-libm): New variable.
6746 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6748 * math/libm-test.inc (struct test_f_i_data): New type.
6749 (RUN_TEST_LOOP_f_i): New macro.
6750 (RUN_TEST_LOOP_f_i_tg): Likewise.
6751 (fpclassify_test_data): New variable.
6752 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6753 (ilogb_test_data): New variable.
6754 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6756 * math/libm-test.inc (scalbln_test): Correct function name in END
6759 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6760 (RUN_TEST_LOOP_fI_f1): New macro.
6761 (frexp_test_data): New variable.
6762 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6764 * math/libm-test.inc (struct test_fF_f1_data): New type.
6765 (RUN_TEST_LOOP_fF_f1): New macro.
6766 (modf_test_data): New variable.
6767 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6769 * math/libm-test.inc (struct test_f_f1_data): New type.
6770 (RUN_TEST_LOOP_f_f1): New macro.
6771 (gamma_test_data): New variable.
6772 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6773 (lgamma_test_data): New variable.
6774 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6776 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6778 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6779 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6780 (main): Comment "tls" pseudo-hwcap.
6782 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6784 * math/libm-test.inc (struct test_fl_f_data): New type.
6785 (RUN_TEST_LOOP_fl_f): New variable.
6786 (scalbln_test_data): New variable.
6787 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6789 * math/libm-test.inc (struct test_fi_f_data): New type.
6790 (RUN_TEST_LOOP_fi_f): New macro.
6791 (ldexp_test_data): New variable.
6792 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6793 (scalbn_test_data): New variable.
6794 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6796 * math/libm-test.inc (struct test_c_f_data): New type.
6797 (RUN_TEST_LOOP_c_f): New macro.
6798 (cabs_test_data): New variable.
6799 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6800 (carg_test_data): New variable.
6801 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6802 (cimag_test_data): New variable.
6803 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6804 (creal_test_data): New variable.
6805 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6807 * math/libm-test.inc (struct test_if_f_data): New type.
6808 (RUN_TEST_LOOP_if_f): New macro.
6809 (jn_test_data): New variable.
6810 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6811 (yn_test_data): New variable.
6812 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6814 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6816 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6818 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6819 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6821 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6823 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6824 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6825 (bench-deps): Add bench-timing.h.
6826 * benchtests-bench-skeleton.c: Include bench-timing.h.
6827 (main): Use TIMING_* macros instead of clock_gettime.
6828 * benchtests/bench-timing.h: New file.
6831 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6832 Renamed from _LIB_VERSION.
6833 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6835 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6837 * math/libm-test.inc (struct test_fff_f_data): New type.
6838 (RUN_TEST_LOOP_fff_f): New macro.
6839 (fma_test_data): New variable.
6840 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6841 (fma_towardzero_test_data): New variable.
6842 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6843 (fma_downward_test_data): New variable.
6844 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6845 (fma_upward_test_data): New variable.
6846 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6848 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6849 (struct test_c_c_data): New type.
6850 (RUN_TEST_LOOP_c_c): New macro.
6851 (cacos_test_data): New variable.
6852 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6853 (cacosh_test_data): New variable.
6854 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6855 (casin_test_data): New variable.
6856 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6857 (casinh_test_data): New variable.
6858 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6859 (catan_test_data): New variable.
6860 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6861 (catanh_test_data): New variable.
6862 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6863 (ccos_test_data): New variable.
6864 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6865 (ccosh_test_data): New variable.
6866 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6867 (cexp_test_data): New variable.
6868 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6869 (clog_test_data): New variable.
6870 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6871 (clog10_test_data): New variable.
6872 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6873 (conj_test_data): New variable.
6874 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6875 (cproj_test_data): New variable.
6876 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6877 (csin_test_data): New variable.
6878 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6879 (csinh_test_data): New variable.
6880 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6881 (csqrt_test_data): New variable.
6882 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6883 (ctan_test_data): New variable.
6884 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6885 (ctan_tonearest_test_data): New variable.
6886 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6887 (ctan_towardzero_test_data): New variable.
6888 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6889 (ctan_downward_test_data): New variable.
6890 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6891 (ctan_upward_test_data): New variable.
6892 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6893 (ctanh_test_data): New variable.
6894 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6895 (ctanh_tonearest_test_data): New variable.
6896 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6897 (ctanh_towardzero_test_data): New variable.
6898 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6899 (ctanh_downward_test_data): New variable.
6900 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6901 (ctanh_upward_test_data): New variable.
6902 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6903 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6906 * math/libm-test.inc (struct test_ff_f_data): New type.
6907 (struct test_ff_f_data_nexttoward): Likewise.
6908 (RUN_TEST_LOOP_2_f): New macro.
6909 (RUN_TEST_LOOP_ff_f): Likewise.
6910 (atan2_test_data): New variable.
6911 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6912 (copysign_test_data): New variable.
6913 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6914 (fdim_test_data): New variable.
6915 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6916 (fmax_test_data): New variable.
6917 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6918 (fmin_test_data): New variable.
6919 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6920 (fmod_test_data): New variable.
6921 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6922 (hypot_test_data): New variable.
6923 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6924 (nextafter_test_data): New variable.
6925 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6926 (nexttoward_test_data): New variable.
6927 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6928 (pow_test_data): New variable.
6929 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6930 (pow_tonearest_test_data): New variable.
6931 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6932 (pow_towardzero_test_data): New variable.
6933 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6934 (pow_downward_test_data): New variable.
6935 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6936 (pow_upward_test_data): New variable.
6937 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6938 (remainder_test_data): New variable.
6939 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6940 (scalb_test_data): New variable.
6941 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6942 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6946 * math/libm-test.inc (fma_test): Use max_value instead of local
6948 (nextafter_test): Likewise.
6950 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6951 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6952 (acos_downward_test_data): New variable.
6953 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6954 (acos_upward_test_data): New variable.
6955 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6956 (acosh_test_data): New variable.
6957 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6958 (asin_test_data): New variable.
6959 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6960 (asin_tonearest_test_data): New variable.
6961 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6962 (asin_towardzero_test_data): New variable.
6963 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6964 (asin_downward_test_data): New variable.
6965 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6966 (asin_upward_test_data): New variable.
6967 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6968 (asinh_test_data): New variable.
6969 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6970 (atan_test_data): New variable.
6971 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6972 (atanh_test_data): New variable.
6973 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6974 (cbrt_test_data): New variable.
6975 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6976 (ceil_test_data): New variable.
6977 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6978 (cos_test_data): New variable.
6979 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6980 (cos_tonearest_test_data): New variable.
6981 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6982 (cos_towardzero_test_data): New variable.
6983 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6984 (cos_downward_test_data): New variable.
6985 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6986 (cos_upward_test_data): New variable.
6987 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6988 (cosh_test_data): New variable.
6989 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6990 (cosh_tonearest_test_data): New variable.
6991 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6992 (cosh_towardzero_test_data): New variable.
6993 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6994 (cosh_downward_test_data): New variable.
6995 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6996 (cosh_upward_test_data): New variable.
6997 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6998 (erf_test_data): New variable.
6999 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7000 (erfc_test_data): New variable.
7001 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7002 (exp_test_data): New variable.
7003 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7004 (exp_tonearest_test_data): New variable.
7005 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7006 (exp_towardzero_test_data): New variable.
7007 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7008 (exp_downward_test_data): New variable.
7009 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7010 (exp_upward_test_data): New variable.
7011 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7012 (exp10_test_data): New variable.
7013 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7014 (exp2_test_data): New variable.
7015 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7016 (expm1_test_data): New variable.
7017 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7018 (fabs_test_data): New variable.
7019 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7020 (floor_test_data): New variable.
7021 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7022 (j0_test_data): New variable.
7023 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7024 (j1_test_data): New variable.
7025 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7026 (log_test_data): New variable.
7027 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7028 (log10_test_data): New variable.
7029 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7030 (log1p_test_data): New variable.
7031 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7032 (log2_test_data): New variable.
7033 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7034 (logb_test_data): New variable.
7035 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7036 (logb_downward_test_data): New variable.
7037 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7038 (nearbyint_test_data): New variable.
7039 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7040 (rint_test_data): New variable.
7041 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7042 (rint_tonearest_test_data): New variable.
7043 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7044 (rint_towardzero_test_data): New variable.
7045 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7046 (rint_downward_test_data): New variable.
7047 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7048 (rint_upward_test_data): New variable.
7049 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7050 (round_test_data): New variable.
7051 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7052 (sin_test_data): New variable.
7053 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7054 (sin_tonearest_test_data): New variable.
7055 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7056 (sin_towardzero_test_data): New variable.
7057 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7058 (sin_downward_test_data): New variable.
7059 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7060 (sin_upward_test_data): New variable.
7061 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7062 (sinh_test_data): New variable.
7063 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7064 (sinh_tonearest_test_data): New variable.
7065 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7066 (sinh_towardzero_test_data): New variable.
7067 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7068 (sinh_downward_test_data): New variable.
7069 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7070 (sinh_upward_test_data): New variable.
7071 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7072 (sqrt_test_data): New variable.
7073 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7074 (tan_test_data): New variable.
7075 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7076 (tan_tonearest_test_data): New variable.
7077 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7078 (tan_towardzero_test_data): New variable.
7079 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7080 (tan_downward_test_data): New variable.
7081 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7082 (tan_upward_test_data): New variable.
7083 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7084 (tanh_test_data): New variable.
7085 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7086 (tgamma_test_data): New variable.
7087 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7088 (trunc_test_data): New variable.
7089 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7090 (y0_test_data): New variable.
7091 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7092 (y1_test_data): New variable.
7093 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7094 (significand_test_data): New variable.
7095 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7097 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7100 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7102 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7104 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7106 2013-05-10 Andreas Jaeger <aj@suse.de>
7109 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7110 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7112 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7114 * math/gen-libm-test.pl (adjust_arg): New function.
7115 (special_functions): Handle generating output in both functions
7117 (parse_args): Likewise.
7118 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7119 $in_func argument to parse_args.
7120 * math/libm-test.inc (struct test_f_f_data): New type.
7121 (IF_ROUND_INIT_): New macro.
7122 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7123 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7124 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7125 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7126 (ROUND_RESTORE_): Likewise.
7127 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7128 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7129 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7130 (ROUND_RESTORE_FE_UPWARD): Likewise.
7131 (RUN_TEST_LOOP_f_f): New macro.
7132 (acos_test_data): New variable.
7133 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7134 (acos_tonearest_test_data): New variable.
7135 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7137 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7139 * benchtests/bench-skeleton.c (startup): Fix coding style.
7141 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7144 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7145 negative infinity argument.
7146 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7147 negative infinity argument.
7148 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7149 negative infinity argument.
7150 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7153 2013-05-10 Florian Weimer <fweimer@redhat.com>
7155 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7156 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7157 * iconv/iconv_prog.c (main): Likewise.
7158 * locale/programs/charmap-dir.c (charmap_readdir)
7159 (fopen_uncompressed): Likewise.
7160 * locale/programs/locfile.c (siblings_uncached)
7161 (write_locale_data): Use lstat64 instead of lstat.
7162 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7165 2013-05-10 Andreas Jaeger <aj@suse.de>
7168 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7172 2013-05-09 Carlos O'Donell <carlos@redhat.com>
7174 * elf/dl-close.c (_dl_close_worker): Add comments.
7176 2013-05-09 Joseph Myers <joseph@codesourcery.com>
7179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7181 (__ieee754_rem_pio2l): Update comments.
7184 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7186 (__ieee754_rem_pio2l): Update comments.
7188 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7189 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7191 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7194 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7195 (M_PI_34_LOG10El): Likewise.
7196 (M_PI2_LOG10El): Likewise.
7197 (M_PI4_LOG10El): Likewise.
7198 (M_PI_LOG10El): Likewise.
7200 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7204 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7206 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7207 (MINUS_ZERO_INIT): Likewise.
7208 (PLUS_INFTY_INIT): Likewise.
7209 (MINUS_INFTY_INIT): Likewise.
7210 (QNAN_VALUE_INIT): Likewise.
7211 (MAX_VALUE_INIT): Likewise.
7212 (MIN_VALUE_INIT): Likewise.
7213 (MIN_SUBNORM_VALUE_INIT): Likewise.
7214 (plus_zero): Initialize with PLUS_ZERO_INIT.
7215 (minus_zero): Initialize with MINUS_ZERO_INIT.
7216 (plus_infty): Initialize with PLUS_INFTY_INIT.
7217 (minus_infty): Initialize with MINUS_INFTY_INIT.
7218 (qnan_value): Initialize with QNAN_VALUE_INIT.
7219 (max_value): Initialize with MAX_VALUE_INIT.
7220 (min_value): Initialize with MIN_VALUE_INIT.
7221 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7223 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7224 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7225 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7226 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7228 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7229 (RUN_TEST_2_f): Likewise.
7230 (RUN_TEST_ff_f): Likewise.
7231 (RUN_TEST_fi_f): Likewise.
7232 (RUN_TEST_fl_f): Likewise.
7233 (RUN_TEST_fff_f): Likewise.
7234 (RUN_TEST_c_f): Likewise.
7235 (RUN_TEST_f_f1): Likewise.
7236 (RUN_TEST_fF_f1): Likewise.
7237 (RUN_TEST_fI_f1): Likewise.
7238 (RUN_TEST_ffI_f1): Likewise.
7239 (RUN_TEST_c_c): Likewise.
7240 (RUN_TEST_cc_c): Likewise.
7241 (RUN_TEST_f_i): Likewise.
7242 (RUN_TEST_f_i_tg): Likewise.
7243 (RUN_TEST_ff_i_tg): Likewise.
7244 (RUN_TEST_f_b): Likewise.
7245 (RUN_TEST_f_b_tg): Likewise.
7246 (RUN_TEST_f_l): Likewise.
7247 (RUN_TEST_f_L): Likewise.
7248 (RUN_TEST_sincos): Likewise.
7249 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7250 whether to show exceptions. Do not include ");\n" in return
7252 (special_functions): Output call to RUN_TEST_sincos instead of
7253 check_float calls. Update calls to new_test.
7254 (parse_args): Output call to single RUN_TEST_* macro instead of
7255 check_* calls and other assignments. Update calls to new_test.
7261 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7262 input to result for tgamma overflow.
7263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7264 (gamma_coeff): New variable.
7265 (NCOEFF): New macro.
7266 (gamma_positive): New function.
7267 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7268 underflow here. Use gamma_positive instead of exp (lgamma) for
7270 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7271 (gamma_coeff): New variable.
7272 (NCOEFF): New macro.
7273 (gammaf_positive): New function.
7274 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7275 underflow here. Use gamma_positive instead of exp (lgamma) for
7277 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7278 (gamma_coeff): New variable.
7279 (NCOEFF): New macro.
7280 (gammal_positive): New function.
7281 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7282 underflow here. Use gamma_positive instead of exp (lgamma) for
7284 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7285 (gamma_coeff): New variable.
7286 (NCOEFF): New macro.
7287 (gammal_positive): New function.
7288 (__ieee754_gammal_r): Handle positive infinity, overflow and
7289 underflow here. Handle NaN the same as positive infinity. Remove
7290 check x < 0xffffffff for negative integers. Use gamma_positive
7291 instead of exp (lgamma) for other arguments.
7292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7293 (gamma_coeff): New variable.
7294 (NCOEFF): New macro.
7295 (gammal_positive): New function.
7296 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7297 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7301 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7302 * sysdeps/generic/math_private.h (__gamma_productf): New
7304 (__gamma_product): Likewise.
7305 (__gamma_productl): Likewise.
7306 * math/Makefile (libm-calls): Add gamma_product.
7307 * math/libm-test.inc (tgamma_test): Add more tests.
7308 * sysdeps/i386/fpu/libm-test-ulps: Update.
7309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7311 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7313 * benchtests/bench-skeleton.c (main): Preheat CPU.
7315 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7317 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7319 2013-05-07 Roland McGrath <roland@hack.frob.com>
7321 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7322 and _dl_skip_args_internal.
7324 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7326 * manual/message.texi (Message Translation): Talk about users.
7327 Message to key mapping impacts design.
7329 2013-05-06 Roland McGrath <roland@hack.frob.com>
7331 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7333 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7335 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7336 * sysdeps/wordsize-64/glob64.c: ... here.
7338 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7339 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7342 * debug/getlogin_r_chk.c: Moved to ...
7343 * login/getlogin_r_chk.c: ... here.
7344 * debug/Makefile (routines): Move getlogin_r_chk to ...
7345 * login/Makefile (routines): ... here.
7346 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7347 * login/Versions (libc: GLIBC_2.4): ... here.
7349 * io/poll.c (__poll): Renamed from poll.
7350 Add libc_hidden_def.
7351 (poll): Define as weak alias.
7353 * debug/ptsname_r_chk.c: Moved to ...
7354 * login/ptsname_r_chk.c: ... here.
7355 * debug/Makefile (routines): Move ptsname_r_chk to ...
7356 * login/Makefile (routines): ... here.
7357 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7358 * login/Versions (libc: GLIBC_2.4): ... here.
7360 * posix/getlogin.c: Moved to ...
7361 * login/getlogin.c: ... here.
7362 * posix/getlogin_r.c: Moved to ...
7363 * login/getlogin_r.c: ... here.
7364 * posix/getlogin_r.c: Moved to ...
7365 * login/getlogin_r.c: ... here.
7366 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7367 * login/Makefile (routines): ... here.
7368 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7369 * login/Versions (libc: GLIBC_2.0): ... here.
7371 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7372 (setrlimit): Define as weak alias.
7374 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7375 Call __ names for open, ftruncate, and close.
7376 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7377 (truncate): Define as weak alias.
7379 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7381 * math/gen-libm-test.pl (parse_args): Initialize x before each
7382 test of frexp, modf and remquo.
7384 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7387 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7391 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7393 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7395 2013-05-06 Roland McGrath <roland@hack.frob.com>
7397 * elf/dl-writev.h: New file.
7398 * elf/dl-misc.c: Include it.
7399 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7400 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7402 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7404 * math/libm-test.inc (noXFails): Remove variable.
7405 (noXPasses): Likewise.
7406 (BUILD_COMPLEX_INT): Remove macro.
7407 (print_screen): Remove xfail argument.
7408 (print_screen_max_error): Likewise.
7409 (update_stats): Likewise.
7410 (print_max_error): Likewise. Update calls to other affected
7412 (print_complex_max_error): Likewise.
7413 (test_single_exception): Update calls to print_screen.
7414 (test_single_errno): Likewise.
7415 (check_float_internal): Remove xfail argument. Update calls to
7416 other affected functions.
7417 (check_float): Likewise.
7418 (check_complex): Likewise.
7419 (check_int): Likewise.
7420 (check_long): Likewise.
7421 (check_bool): Likewise.
7422 (check_longlong): Likewise.
7423 (main): Don't print noXFails and noXPasses.
7424 * math/gen-libm-test.pl (top level): Don't mention expected
7425 failure handling in comment.
7426 (new_test): Don't handle expected failures.
7427 (parse_args): Don't mention expected failure handling in comment.
7428 (generate_testfile): Don't handle expected failures.
7429 (parse_ulps): Likewise.
7430 (print_ulps_file): Likewise.
7431 (get_failure): Remove function.
7432 (output_test): Don't handle expected failures.
7433 * make/README.libm-test: Don't mention expected failure handling.
7435 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7436 (minus_zero): Likewise.
7437 (plus_infty): Likewise.
7438 (minus_infty): Likewise.
7439 (qnan_value): Likewise.
7440 (max_value): Likewise.
7441 (min_value): Likewise.
7442 (min_subnorm_value): Likewise.
7443 (initialize): Do not initialize those variables dynamically.
7445 2013-05-03 Roland McGrath <roland@hack.frob.com>
7447 * io/open.c (__open_2): Moved to ...
7448 * io/open_2.c: ... this new file.
7449 * io/open64.c (__open64_2): Moved to ...
7450 * io/open64_2.c: ... this new file.
7451 * io/openat.c (__openat_2): Moved to ...
7452 * io/openat_2.c: ... this new file.
7453 * io/openat64.c (__openat64_2): Moved to ...
7454 * io/openat64_2.c: ... this new file.
7455 * io/Makefile (routines): Add them.
7456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7457 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7458 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7459 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7460 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7461 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7462 (__openat64): Add hidden_ver.
7463 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7464 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7466 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7467 Separately conditionalize setting of GLRO(dl_sysinfo) so
7468 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7469 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7471 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7473 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7474 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7476 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7477 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7478 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7479 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7480 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7482 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7484 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7487 * math/libm-test.inc (hypot_test): Do not use
7488 IGNORE_ZERO_INF_SIGN.
7490 2013-05-03 Andreas Jaeger <aj@suse.de>
7492 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7494 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7495 (PF_MAX): Adjust for VSOCK change.
7497 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7501 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7504 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7505 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7506 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7508 2013-05-02 David S. Miller <davem@davemloft.net>
7510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7512 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7514 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7516 2013-05-01 Roland McGrath <roland@hack.frob.com>
7518 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7520 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7523 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7524 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7525 Use __attribute__ ((__gnu_inline__)).
7526 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7527 Don't use __attribute__ ((__gnu_inline__)).
7529 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7532 * math/s_catan.c (__catan): Handle small real or imaginary part of
7533 input specially to avoid spurious underflow.
7534 * math/s_catanf.c (__catanf): Likewise.
7535 * math/s_catanh.c (__catanh): Likewise.
7536 * math/s_catanhf.c (__catanhf): Likewise.
7537 * math/s_catanhl.c (__catanhl): Likewise.
7538 * math/s_catanl.c (__catanl): Likewise.
7539 * math/libm-test.inc (catan_test): Add more tests.
7540 (catanh_test): Likewise.
7541 * sysdeps/i386/fpu/libm-test-ulps: Update.
7542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7544 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7548 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7551 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7552 accurately for denominator in atan2.
7553 * math/s_catanf.c (__catanf): Likewise.
7554 * math/s_catanh.c (__catanh): Likewise.
7555 * math/s_catanhf.c (__catanhf): Likewise.
7556 * math/s_catanhl.c (__catanhl): Likewise.
7557 * math/s_catanl.c (__catanl): Likewise.
7558 * math/libm-test.inc (catan_test): Add more tests.
7559 (catanh_test): Likewise.
7560 * sysdeps/i386/fpu/libm-test-ulps: Update.
7561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7563 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7565 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7567 * benchtests/Makefile (bench): Remove slow benchmarks.
7568 * benchtests/atan-inputs: Add slow benchmark inputs.
7569 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7570 (BENCH_FUNC): Accept variant offset.
7572 * benchtests/bench-skeleton.c (main): Run benchmark for each
7574 * benchtests/cos-inputs: Add slow benchmark inputs.
7575 * benchtests/exp-inputs: Likewise.
7576 * benchtests/pow-inputs: Likewise.
7577 * benchtests/sin-inputs: Likewise.
7578 * benchtests/slowatan-inputs: Remove.
7579 * benchtests/slowatan.c: Remove.
7580 * benchtests/slowcos-inputs: Remove.
7581 * benchtests/slowcos.c: Remove.
7582 * benchtests/slowexp-inputs: Remove.
7583 * benchtests/slowexp.c: Remove.
7584 * benchtests/slowpow-inputs: Remove.
7585 * benchtests/slowpow.c: Remove.
7586 * benchtests/slowsin-inputs: Remove.
7587 * benchtests/slowsin.c: Remove.
7588 * benchtests/slowtan-inputs: Remove.
7589 * benchtests/slowtan.c: Remove.
7590 * benchtests/tan-inputs: Add slow benchmark inputs.
7591 * scripts/bench.pl: Parse comments and directives.
7593 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7595 ($(objpfx)bench-%.c): Remove *-ITER.
7596 * benchtests/bench-modf.c: Remove definition of ITER.
7597 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7598 (main): Loop for DURATION seconds instead of fixed number of
7600 * scripts/bench.pl: Don't expect iterations in parameters.
7602 2013-04-29 Roland McGrath <roland@hack.frob.com>
7604 * io/fchdir.c (__fchdir): Renamed from fchdir.
7605 (fchdir): Define as weak alias.
7607 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7609 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7610 (ERRNO_EDOM): Likewise.
7611 (ERRNO_ERANGE): Likewise.
7612 (noErrnoTests): New variable.
7613 (init_max_error): Set errno to 0.
7614 (test_single_errno): New function.
7615 (test_errno): Likewise.
7616 (check_float_internal): Call test_errno. Set errno to 0.
7617 (check_complex): Refer to errno tests in comment.
7618 (check_int): Call test_errno. Set errno to 0.
7619 (check_long): Likewise.
7620 (check_bool): Likewise.
7621 (check_longlong): Likewise.
7622 (cos_test): Use ERRNO_* flags for errno tests instead of
7624 (expm1_test): Likewise.
7625 (fmod_test): Likewise.
7626 (ilogb_test): Likewise.
7627 (lgamma_test): Likewise.
7628 (pow_test): Likewise.
7629 (remainder_test): Likewise.
7630 (sin_test): Likewise.
7631 (tan_test): Likewise.
7632 (yn_test): Likewise.
7633 (initialize): Set errno to 0.
7634 (main): Print number of errno tests.
7635 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7637 2013-04-29 Andreas Jaeger <aj@suse.de>
7640 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7644 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7645 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7649 * stdlib/random.c (__initstate): Return NULL if
7653 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7654 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7657 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7661 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7663 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7664 of individual tests.
7665 (casin_test): Likewise.
7666 (casinh_test): Likewise.
7668 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7671 * math/s_catan.c (__catan): Handle arguments with large real or
7672 imaginary part separately without squaring.
7673 * math/s_catanf.c (__catanf): Likewise.
7674 * math/s_catanh.c (__catanh): Likewise.
7675 * math/s_catanhf.c (__catanhf): Likewise.
7676 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7678 (__catanhl): Handle arguments with large real or imaginary part
7679 separately without squaring.
7680 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7682 (__catanl): Handle arguments with large real or imaginary part
7683 separately without squaring.
7684 * math/libm-test.inc (catan_test): Add more tests.
7685 (catanh_test): Likewise.
7686 * sysdeps/i386/fpu/libm-test-ulps: Update.
7687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7689 2013-04-27 Andreas Jaeger <aj@suse.de>
7692 * stdlib/stdlib.h: Update guards for qecvt.
7693 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7696 2013-04-27 Allan McRae <allan@archlinux.org>
7698 * sysdeps/i386/fpu/libm-test-ulps: Update.
7700 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7703 * math/s_catan.c: Include <float.h>.
7704 (__catan): Ensure underflow exception occurs for underflowed
7706 * math/s_catanf.c: Include <float.h>.
7707 (__catanf): Ensure underflow exception occurs for underflowed
7709 * math/s_catanh.c: Include <float.h>.
7710 (__catanh): Ensure underflow exception occurs for underflowed
7712 * math/s_catanhf.c: Include <float.h>.
7713 (__catanhf): Ensure underflow exception occurs for underflowed
7715 * math/s_catanhl.c: Include <float.h>.
7716 (__catanhl): Ensure underflow exception occurs for underflowed
7718 * math/s_catanl.c: Include <float.h>.
7719 (__catanl): Ensure underflow exception occurs for underflowed
7721 * math/libm-test.inc (catan_test): Add more tests.
7722 (catanh_test): Likewise.
7725 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7727 * math/s_ccoshf.c (__ccoshf): Likewise.
7728 * math/s_ccoshl.c (__ccoshl): Likewise.
7729 * math/s_csin.c (__csin): Likewise.
7730 * math/s_csinf.c (__csinf): Likewise.
7731 * math/s_csinh.c (__csinh): Likewise.
7732 * math/s_csinhf.c (__csinhf): Likewise.
7733 * math/s_csinhl.c (__csinhl): Likewise.
7734 * math/s_csinl.c (__csinl): Likewise.
7735 * math/libm-test.inc (ccos_test): Add more tests.
7736 (ccosh_test): Likewise.
7737 (csin_test): Likewise.
7738 (csinh_test): Likewise.
7740 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7742 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7743 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7744 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7745 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7746 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7747 powerpc/power5+/fpu folders.
7748 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7751 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7755 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7757 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7758 additions to variable.
7759 [$(config-machine) = x86_64] (modules-names): Likewise.
7760 ($(objpfx)tst-audit3): Remove dependency.
7761 ($(objpfx)tst-audit3.out): Likewise.
7762 ($(objpfx)tst-audit4): Likewise.
7763 ($(objpfx)tst-audit4.out): Likewise.
7764 ($(objpfx)tst-audit5): Likewise.
7765 ($(objpfx)tst-audit5.out): Likewise.
7766 ($(objpfx)tst-audit6): Likewise.
7767 ($(objpfx)tst-audit6.out): Likewise.
7768 ($(objpfx)tst-audit7): Likewise.
7769 ($(objpfx)tst-audit7.out): Likewise.
7770 (tst-audit3-ENV): Remove variable.
7771 (tst-audit4-ENV): Likewise.
7772 (tst-audit5-ENV): Likewise.
7773 (tst-audit6-ENV): Likewise.
7774 (tst-audit7-ENV): Likewise.
7775 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7776 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7777 addition to variable.
7778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7781 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7782 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7783 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7784 tst-audit3, tst-audit4 and tst-audit5.
7785 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7786 tst-audit6 and tst-audit7.
7787 [$(subdir) = elf] (modules-names): Add audit modules for those
7789 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7790 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7791 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7792 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7793 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7794 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7795 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7796 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7797 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7798 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7799 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7800 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7801 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7802 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7803 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7804 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7806 [$(subdir) = elf && $(config-cflags-avx) = yes]
7807 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7808 [$(subdir) = elf && $(config-cflags-avx) = yes]
7809 (CFLAGS-tst-auditmod4a.c): Likewise.
7810 [$(subdir) = elf && $(config-cflags-avx) = yes]
7811 (CFLAGS-tst-auditmod4b.c): Likewise.
7812 [$(subdir) = elf && $(config-cflags-avx) = yes]
7813 (CFLAGS-tst-auditmod6b.c): Likewise.
7814 [$(subdir) = elf && $(config-cflags-avx) = yes]
7815 (CFLAGS-tst-auditmod6c.c): Likewise.
7816 [$(subdir) = elf && $(config-cflags-avx) = yes]
7817 (CFLAGS-tst-auditmod7b.c): Likewise.
7818 * elf/tst-audit3.c: Move to ...
7819 * sysdeps/x86_64/tst-audit3.c: ... here.
7820 * elf/tst-audit4.c: Move to ...
7821 * sysdeps/x86_64/tst-audit4.c: ... here.
7822 * elf/tst-audit5.c: Move to ...
7823 * sysdeps/x86_64/tst-audit5.c: ... here.
7824 * elf/tst-audit6.c: Move to ...
7825 * sysdeps/x86_64/tst-audit6.c: ... here.
7826 * elf/tst-audit7.c: Move to ...
7827 * sysdeps/x86_64/tst-audit7.c: ... here.
7828 * elf/tst-auditmod3a.c: Move to ...
7829 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7830 * elf/tst-auditmod3b.c: Move to ...
7831 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7832 * elf/tst-auditmod4a.c: Move to ...
7833 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7834 * elf/tst-auditmod4b.c: Move to ...
7835 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7836 * elf/tst-auditmod5a.c: Move to ...
7837 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7838 * elf/tst-auditmod5b.c: Move to ...
7839 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7840 * elf/tst-auditmod6a.c: Move to ...
7841 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7842 * elf/tst-auditmod6b.c: Move to ...
7843 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7844 * elf/tst-auditmod6c.c: Move to ...
7845 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7846 * elf/tst-auditmod7a.c: Move to ...
7847 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7848 * elf/tst-auditmod7b.c: Move to ...
7849 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7851 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7854 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7855 define unconditionally.
7856 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7857 define unconditionally.
7858 (INT8_C, INT16_C, etc.): Likewise.
7860 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7862 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7863 __ehdr_start with hidden visibility.
7865 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7867 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7869 * math/libm-test.inc (cos_test): Use accurate hex constants.
7870 (sincost_test): Likewise.
7872 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7874 * math/libm-test.inc (catan_test): Add more tests.
7875 (catanh_test): Likewise.
7877 * math/s_catanf.c (__catanf): Use suffixed floating-point
7879 * math/s_catanhf.c (__catanhf): Likewise.
7880 * math/s_catanhl.c (__catanhl): Likewise.
7881 * math/s_catanl.c (__catanl): Likewise.
7884 * math/s_catan.c (__catan): Calculate imaginary part of result
7885 with log1p not log unless computing log of number close to 0.
7886 * math/s_catanf.c (__catanf): Likewise.
7887 * math/s_catanl.c (__catanl): Likewise.
7888 * math/s_catanh.c (__catanh): Calculate real part of result with
7889 log1p not log unless computing log of number close to 0.
7890 * math/s_catanhf.c (__catanhf): Likewise.
7891 * math/s_catanhl.c (__catanhl): Likewise.
7892 * math/libm-test.inc (catan_test): Add more tests.
7893 (catanh_test): Likewise.
7894 * sysdeps/i386/fpu/libm-test-ulps: Update.
7895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7897 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7899 * benchtests/Makefile: Mention files in which fast and slow
7900 paths of math functions are implemented.
7902 2013-04-23 Roland McGrath <roland@hack.frob.com>
7904 * sysdeps/posix/timespec_get.c: New file.
7906 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7908 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7910 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7912 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7913 powerpc/power5/fpu folders.
7914 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7915 * benchtests/Makefile: Add modf testcase.
7916 * benchtests/bench-modf.c: New file: Benchmark test for mo
7918 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7921 * time/Makefile (tests): Add tst-strptime-whitespace.
7922 * time/strptime_l.c (get_number): Use ISSPACE.
7923 (__strptime_internal): Likewise.
7924 * time/tst-strptime-whitespace.c: New test case.
7926 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7928 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7930 (_nss_files_init): Set it here.
7932 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7934 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7935 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7938 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7940 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7942 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7947 2013-04-21 David S. Miller <davem@davemloft.net>
7949 * po/ru.po: Update Russion translation from translation project.
7951 2013-04-17 Adam Conrad <adconrad@0c3.net>
7953 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7956 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7958 * configure.in: Remove i386 configure warning. Remove i386 case.
7959 * configure: Regenerate.
7960 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7961 Add example to error message.
7962 * sysdeps/i386/configure: Regenerate.
7964 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7966 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7968 * benchtests/cos-inputs: New file.
7969 * benchtests/slowcos-inputs: New file.
7970 * benchtests/slowcos.c: New file.
7971 * benchtests/slowtan-inputs: New file.
7972 * benchtests/slowtan.c: New file.
7973 * benchtests/tan-inputs: New file.
7975 2013-04-16 Roland McGrath <roland@hack.frob.com>
7977 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7980 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7982 * benchtests/Makefile: Include cppflags-iterator.mk to add
7983 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7985 * Makefile.in (bench-clean): New target.
7986 * benchtests/Makefile (bench-clean): Likewise.
7988 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7990 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7992 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7994 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7996 2013-04-15 Andreas Schwab <schwab@suse.de>
7998 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8000 * nscd/pwdcache.c (cache_addpw): Likewise.
8001 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8004 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8006 * benchtests/Makefile (bench): Write all output to
8007 bench-out.tmp together.
8009 2013-04-15 Andreas Schwab <schwab@suse.de>
8011 * nscd/nscd.c (main): Don't fork again after closing files.
8013 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8015 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8017 * benchtests/Rules (bench-deps): Collect dependencies into a
8018 single variable. Add Makefile to dependencies.
8019 ($(objpfx)bench-%.c): Depend on bench-deps.
8021 2013-04-12 Roland McGrath <roland@hack.frob.com>
8022 Xavier Roche <roche+kml2@exalead.com>
8025 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8026 just that it's a file descriptor.
8027 * manual/llio.texi (Synchronizing AIO Operations): Update description
8028 for EBADF error from aio_fsync.
8030 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8032 * Rules (bench): Move target definition...
8033 * benchtests/Makefile: ... here.
8035 2013-04-11 Carlos O'Donell <carlos@redhat.com>
8037 * math/libm-test.inc (cos_test): Fix PI/2 test.
8038 (sincos_test): Likewise.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8040 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8042 2013-04-11 Andreas Schwab <schwab@suse.de>
8045 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8046 accept exponent character only when digits were seen.
8047 * stdio-common/Makefile (tests): Add bug26.
8048 * stdio-common/bug26.c: New file.
8051 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8054 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8056 * Makeconfig (rtld-prefix): Define built linker prefix.
8057 * Rules (run-bench): Use it.
8058 * math/Makefile (run-regen-ulps): Likewise.
8060 * Rules (bench): Remove eval.
8062 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8063 Roland McGrath <roland@hack.frob.com>
8064 Ondrej Bilka <neleai@seznam.cz>
8067 * time/getdate.c: Include ctype.h and alloca.h.
8068 (__getdate_r): Trim leading and trailing spaces of input.
8069 * time/tst-getdate.c (tests): Add tests with leading and
8072 2013-04-08 Roland McGrath <roland@hack.frob.com>
8075 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8076 when computing value.
8078 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8080 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8081 Use testrun.sh to run libm tests.
8084 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8086 2013-04-06 Marko Myllynen <myllynen@redhat.com>
8089 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8091 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8093 * Makefile.in (regen-ulps): New target.
8094 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8095 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8096 [ifneq (no,$(PERL)] (regen-ulps): New target.
8097 [ifeq (no,$(PERL)] (regen-ulps): New target.
8098 * math/libm-test.inc (ulps_file_name): Define.
8099 (output_dir): New variable.
8100 (options): Add "output-dir" option.
8101 (parse_opt): Handle 'o' case.
8102 (main): If output_dir is non-NULL use it as a prefix
8104 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8106 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8109 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8110 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8111 fail configure if __sync_val_compare_and_swap is not inlined.
8112 * sysdeps/i386/configure: Regenerate.
8113 * configure.in: Build for i686 when configured for i386.
8114 * configure: Regenerate.
8115 * README: Remove i386 reference.
8117 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8119 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8122 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8124 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8125 (lmsnanval): New variables.
8126 (F): Add conversion tests.
8127 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8128 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8130 * stdio-common/tstdiomisc.c (F): Properly collect individual
8134 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8135 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8136 Instead, use input NaN values or generate a qNaN by arithmetic
8137 operation. Also fix bugs to comply with the standard.
8138 * math/libm-test.inc (remainder_test): Add more tests.
8141 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8143 input NaN values or generate a qNaN by arithmetic operation.
8145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8148 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8151 2013-04-03 Joseph Myers <joseph@codesourcery.com>
8154 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8156 * math/s_cexpf.c (__cexpf): Likewise.
8157 * math/s_cexpl.c (__cexpl): Likewise.
8158 * math/libm-test.inc (cexp_test): Add more tests.
8160 2013-04-03 Andreas Schwab <schwab@suse.de>
8163 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8164 order arrays from heap if bigger than alloca cutoff.
8166 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8168 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8169 (SNAN_TESTS_double): Refer to GCC PR56831.
8170 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8173 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8175 * Rules (bench): Move bench.out after the run is complete.
8177 * Rules (bench): Echo currently running benchmark.
8179 * benchtests/Makefile (bench): Add atan and slowatan.
8180 * benchtests/atan-inputs: New file.
8181 * benchtests/slowatan-inputs: New file.
8182 * benchtests/slowatan.c: New file.
8184 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8189 * sysdeps/unix/sysv/linux/kernel-features.h
8190 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8191 __ASSUME_XFS_RESTRICTED_CHOWN.
8192 * sysdeps/unix/sysv/linux/pathconf.c
8193 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8194 Save and restore errno.
8196 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8199 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8200 arguments using __kernel_casinh.
8201 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8202 arguments using __kernel_casinhf.
8203 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8204 arguments using __kernel_casinhl.
8205 * math/libm-test.inc (cacosh_test): Add more tests.
8206 * sysdeps/i386/fpu/libm-test-ulps: Update.
8207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8209 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8211 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8214 * bench/Makefile (bench): Add sin and slowsin.
8215 * benchtests/sin-inputs: New file.
8216 * benchtests/slowsin-inputs: New file.
8217 * benchtests/slowsin.c: New file.
8219 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8220 (bench): Add slowexp and slowpow.
8221 (exp-ITER): Increase iterations.
8222 (pow-ITER): Likewise.
8223 * benchtests/exp-inputs: Change input.
8224 * benchtests/pow-inputs: Likewise.
8225 * benchtests/slowexp-inputs: New file.
8226 * benchtests/slowexp.c: New file.
8227 * benchtests/slowpow-inputs: New file.
8228 * benchtests/slowpow.c: New file.
8230 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8232 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8234 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8235 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8236 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8237 * benchtests/Makefile: Add rint benchtest.
8238 * benchtests/rint-inputs: Input for rint benchtest.
8240 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8242 * Versions.def (libm): Add GLIBC_2.18.
8243 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8244 hidden libm prototypes.
8245 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8246 * math/Makefile (libm-calls): Add s_issignaling.
8247 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8248 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8249 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8251 * math/math.h [__USE_GNU] (issignaling): New macro.
8252 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8253 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8255 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8258 * manual/arith.texi (issignaling): New section.
8259 * manual/libm-err-tab.pl (@all_functions): Update comment.
8260 * math/gen-libm-test.pl (parse_args): Apply special handling for
8262 * math/libm-test.inc (print_float, issignaling_test): New
8264 (check_float_internal): Add issignaling checks.
8265 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8267 * sysdeps/powerpc/math-tests.h: New file.
8268 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8270 * math/test-snan.c (TEST_FUNC): Likewise.
8272 2013-03-30 David S. Miller <davem@davemloft.net>
8274 * po/de.po: Update from translation team.
8276 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8279 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8280 imaginary part less than 1.0 and real part less than 0.5
8282 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8283 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8284 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8285 (cacos_test): Add more tests.
8286 (casin_test): Likewise.
8287 (casinh_test): Likewise.
8288 * sysdeps/i386/fpu/libm-test-ulps: Update.
8289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8291 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8293 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8296 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8297 (__pow_mp): Replace ONE and MONE with their values.
8298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8300 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8301 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8305 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8307 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8308 (__pow_mp): Replace ZERO and MZERO with their values.
8309 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8314 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8317 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8319 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8321 2013-03-28 Roland McGrath <roland@hack.frob.com>
8323 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8324 Declare with __attribute__ ((weak)).
8325 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8326 Call __call_tls_dtors only if it's not NULL.
8328 2013-03-28 Roland McGrath <roland@hack.frob.com>
8330 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8331 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8332 magic __ehdr_start linker symbol if it's defined.
8333 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8334 them up here if it was already done.
8336 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8337 (_dl_aux_init): Use const in cast when setting it.
8338 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8339 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8340 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8342 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8344 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8345 * csu/libc-tls.c: Nor here.
8346 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8348 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8349 (__libc_message): Never call vsyslog.
8351 2013-03-28 Alan Modra <amodra@gmail.com>
8353 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8355 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8358 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8361 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8365 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8368 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8369 Don't add gid passed as argument.
8371 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8373 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8376 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8377 imaginary part between 1.0 and 1.5 and real part less than 0.5
8379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8381 * math/libm-test.inc (cacos_test): Add more tests.
8382 (casin_test): Likewise.
8383 (casinh_test): Likewise.
8384 * sysdeps/i386/fpu/libm-test-ulps: Update.
8385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8387 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8389 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8393 (__dbl_mp): Likewise.
8394 (add_magnitudes): Likewise.
8395 (sub_magnitudes): Likewise.
8403 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8405 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8406 (__dubcos): Likewise.
8407 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8408 (__ieee754_acos): Likewise.
8409 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8410 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8415 (my_log2): Likewise.
8416 (checkint): Likewise.
8417 * sysdeps/ieee754/dbl-64/e_remainder.c
8418 (__ieee754_remainder): Likewise.
8419 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8424 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8425 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8426 MANTISSA_STORE_T to store computations on mantissa. Use
8427 macros for rounding and division.
8429 (__dbl_mp): Likewise.
8430 (add_magnitudes): Likewise.
8431 (sub_magnitudes): Likewise.
8434 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8435 powers of two in terms of TWOPOW macro.
8436 (mp_no): Make type of mantissa as MANTISSA_T.
8437 [!RADIXI]: Define RADIXI.
8438 [!TWO52]: Define TWO52.
8439 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8441 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8443 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8444 llroundl symbol when building for PPC32.
8446 2013-03-24 Mark H Weaver <mhw@netris.org>
8448 * manual/arith.texi (Normalization Functions): Fix prototypes for
8449 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8451 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8455 high value to check if expl overflow.
8456 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8457 to check for underflow and overflow.
8458 * math/libm-test.inc: Add exp test.
8460 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8463 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8466 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8468 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8471 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8473 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8474 wrap blocks consisting of several statements.
8476 * sysdeps/generic/math-tests.h: New file.
8477 * sysdeps/i386/fpu/math-tests.h: Likewise.
8478 * math/test-snan.c: Include it.
8479 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8481 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8484 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8485 (__ieee754_j0l): Do not improve calculations using cos of twice
8486 input for inputs above LDBL_MAX / 2.0L.
8487 (__ieee754_y0l): Likewise.
8488 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8489 (__ieee754_j1l): Do not improve calculations using cos of twice
8490 input for inputs above LDBL_MAX / 2.0L.
8491 (__ieee754_y1l): Likewise.
8492 * math/libm-test.inc (j0_test): Add another test.
8493 (j1_test): Likewise.
8494 (y0_test): Likewise.
8495 (y1_test): Likewise.
8496 * sysdeps/i386/fpu/libm-test-ulps: Update.
8498 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8500 * Rules ($(objpfx)bench-%.c): Include code from a C source
8503 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8506 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8507 imaginary part 1.0 and real part less than 0.5 specially.
8508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8510 * math/libm-test.inc (cacos_test): Add more tests.
8511 (casin_test): Likewise.
8512 (casinh_test): Likewise.
8513 * sysdeps/i386/fpu/libm-test-ulps: Update.
8514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8516 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8519 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8521 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8523 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8524 * config.make.in (config-cflags-sse4): Remove variable.
8525 (config-cflags-avx): Likewise.
8526 (config-cflags-sse2avx): Likewise.
8527 (config-cflags-novzeroupper): Likewise.
8528 (config-asflags-i686): Likewise.
8529 (have-mfma4): Likewise.
8530 (have-as-vis3): Likewise.
8532 * configure.in (MIG): Do not AC_SUBST.
8533 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8534 (libc_cv_cc_sse4): Do not AC_SUBST.
8535 (libc_cv_cc_avx): Likewise.
8536 (libc_cv_cc_sse2avx): Likewise.
8537 (libc_cv_cc_novzeroupper): Likewise.
8538 (libc_cv_cc_fma4): Likewise.
8539 (libc_cv_as_i686): Likewise.
8540 (libc_cv_sparc_as_vis3): Likewise.
8541 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8543 (config-asflags-i686): Likewise.
8544 (config-cflags-avx): Likewise.
8545 (config-cflags-sse2avx): Likewise.
8546 (have-mfma4): Likewise.
8547 (config-cflags-novzeroupper): Likewise.
8548 * sysdeps/mach/configure.in (MIG): Likewise.
8549 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8550 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8552 (config-cflags-avx): Likewise.
8553 (config-cflags-sse2avx): Likewise.
8554 (have-mfma4): Likewise.
8555 (config-cflags-novzeroupper): Likewise.
8556 * configure: Regenerated.
8557 * sysdeps/i386/configure: Likewise.
8558 * sysdeps/mach/configure: Likewise.
8559 * sysdeps/sparc/configure: Likewise.
8560 * sysdeps/x86_64/configure: Likewise.
8562 2013-03-20 Roland McGrath <roland@hack.frob.com>
8565 * locale/programs/localedef.c (options): Put N_ translation marker
8566 on argument names, not just descriptions.
8568 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8570 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8572 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8575 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8577 2013-03-19 Roland McGrath <roland@hack.frob.com>
8579 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8580 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8581 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8582 [!BEFORE_ABORT] (before_abort): New function.
8583 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8584 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8585 (writev_for_fatal): New function.
8586 (WRITEV_FOR_FATAL): New macro; call that.
8587 (backtrace_and_maps): New function.
8588 (BEFORE_ABORT): New macro; call that.
8589 (struct str_list): Type removed.
8590 (__libc_message, __libc_fatal): Functions removed.
8591 Include <sysdeps/posix/libc_fatal.c> instead.
8593 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8595 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8597 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8600 2013-03-19 Andreas Schwab <schwab@suse.de>
8602 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8603 * sysdeps/gnu/configure: Regenerate.
8605 * configure.in: Substitute libc_cv_rtlddir.
8606 * configure: Regenerate.
8607 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8608 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8609 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8610 * elf/Makefile (install-others, CFLAGS-interp.c)
8611 (ldso_install, common-ldd-rewrite): Likewise.
8612 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8613 $(inst_slibdir)/$(rtld-installed-name).
8614 * scripts/rellns-sh: Add -p option.
8615 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8618 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8620 * manual/nptl.texi: Renamed to ...
8621 * manual/threads.texi: ... this.
8622 * manual/Makefile (chapters): Update.
8624 2013-03-18 Roland McGrath <roland@hack.frob.com>
8627 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8628 on argument names, not just descriptions.
8629 * malloc/memusagestat.c (options): Likewise.
8630 * nss/getent.c (options): Likewise.
8632 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8635 * iconv/iconv_prog.c (options): Put N_ translation marker
8636 on argument names, not just descriptions.
8637 * iconv/iconvconfig.c (options): Likewise.
8639 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8641 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8642 implementation which is faster on all x86_64 architectures.
8643 Tested on AMD, Intel Nehalem, SNB, IVB.
8644 * sysdeps/x86_64/strnlen.S: Likewise.
8646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8647 Remove all multiarch strlen and strnlen versions.
8648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8649 Remove strlen and strnlen related parts.
8651 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8653 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8655 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8656 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8657 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8658 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8659 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8660 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8662 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8664 * manual/memory.texi (Malloc Tunable Parameters):
8665 Sort parameters alphabetically. Add comments for missing entries.
8667 2013-03-17 David S. Miller <davem@davemloft.net>
8669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8671 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8675 for arguments at most half maximum finite value.
8676 * math/libm-test.inc (j0_test): Add more tests.
8677 (j1_test): Likewise.
8678 (y0_test): Likewise.
8679 (y1_test): Likewise.
8680 * sysdeps/i386/fpu/libm-test-ulps: Update.
8681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8684 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8685 1 / x and functions P and Q for arguments above 0x1p256L.
8686 (__ieee754_y0l): Likewise.
8687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8688 (__ieee754_y1l): Likewise.
8689 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8690 (j1_test): Likewise.
8691 (y0_test): Likewise.
8692 (y1_test): Likewise.
8694 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8696 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8699 2013-03-15 Roland McGrath <roland@hack.frob.com>
8701 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8702 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8703 zero since it's initialized to EXEC_PAGESIZE.
8705 * sysdeps/unix/sysv/linux/ldsodefs.h
8706 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8707 * sysdeps/generic/ldsodefs.h: ... here.
8709 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8711 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8713 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8715 * math/test-snan.c: Renamed from
8716 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8717 * math/Makefile (tests): Add test-snan.
8718 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8721 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8722 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8724 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8725 __builtin_nan family of functions.
8726 * math/libm-test.inc (initialize): Initialize qnan_value with
8727 __builtin_nan family of functions.
8728 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8730 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8732 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8733 storage class. Initialize qNaN_var and sNaN_var with
8734 __builtin_nan and __builtin_nans families of functions,
8737 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8738 (sqrt_test): Remove duplicate test with qNaN input.
8739 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8740 (round_test, signbit_test, significand_test): Note missing +/-Inf
8741 as well as qNaN tests.
8743 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8744 qNaN_var. Fix a few strings, too.
8745 * math/libm-test.inc (nan_value): Rename to qnan_value.
8746 * math/gen-libm-test.pl (%beautify): Adjust to that.
8747 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8748 * math/test-misc.c (main): Likewise.
8749 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8750 to __qnan_bytes, and __qnan_union, respectively.
8751 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8753 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8754 and lqnanval, respectively.
8755 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8756 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8758 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8760 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8761 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8764 * math/test-misc.c (main): Fix copy'n'pastos.
8765 * misc/tst-efgcvt.c (special): Likewise.
8767 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8768 Remove declarations.
8770 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8772 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8773 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8774 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8775 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8777 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8779 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8780 macro to return vdso values correctly in IFUNC implementations.
8781 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8782 Optimization by using IFUNC.
8784 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8785 Richard Henderson <rth@redhat.com>
8786 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8788 * Makefile.in (bench): New target.
8789 * NEWS: Mention the benchmark framework.
8790 * Rules (bench): Likewise.
8791 (binaries-bench): Generate binaries for functions to
8793 * benchtests/Makefile: New makefile for benchmark tests.
8794 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8796 * benchtests/exp-inputs: New input file for EXP function.
8797 * benchtests/pow-inputs: New input file for POW function.
8798 * scripts/bench.pl: New script to generate source files for
8801 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8803 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8805 computations on mantissa. Use macros for rounding and
8808 (__dbl_mp): Likewise.
8809 (add_magnitudes): Likewise.
8810 (sub_magnitudes): Likewise.
8813 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8814 powers of two in terms of TWOPOW macro.
8815 (mp_no): Make type of mantissa as MANTISSA_T.
8816 [!RADIXI]: Define RADIXI.
8817 [!TWO52]: Define TWO52.
8818 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8820 * manual/nptl.texi (cindex): Modify threads to pthreads.
8822 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8824 * sysdeps/x86_64/preconfigure: Regenerated.
8826 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8829 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8831 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8832 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8834 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8835 * math/libm-test.inc (j0_test): Do not allow one spurious
8836 underflow exception.
8837 (y1_test): Likewise.
8839 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8841 * manual/Makefile (chapters): Add nptl.
8842 * manual/debug.texi (Debugging Support): Add link to Threads
8844 * manual/nptl.texi: New file.
8846 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8848 2013-03-14 Petr Baudis <pasky@ucw.cz>
8850 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8851 for non-NULL pointer before the memory validity test. Pointed
8852 out by Holger Brunck <holger.brunck@keymile.com>.
8854 2013-03-13 Andreas Schwab <schwab@suse.de>
8856 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8859 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8861 * timezone/zic.c: Update from tzcode 2013b.
8863 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8865 * manual/install.texi (Configuring and compiling):
8866 Mention i686 and i586.
8867 * INSTALL: Regenerate.
8869 2013-03-12 Roland McGrath <roland@hack.frob.com>
8871 * sysdeps/init_array/elf-init.c: New file.
8873 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8874 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8876 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8877 __gmon_start__ as global, but as static with a .preinit_array pointer.
8878 * sysdeps/init_array/gmon-start.c: New file. Use that.
8879 * sysdeps/init_array/crti.S: New file, empty except for comments.
8880 * sysdeps/init_array/crtn.S: Likewise.
8882 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8884 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8887 Remove Prefer_SSE_for_memop.
8888 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8889 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8890 HAS_PREFER_SSE_FOR_MEMOP.
8891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8894 Remove bzero, memset ifunc support.
8895 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8896 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8900 2013-03-11 Andreas Schwab <schwab@suse.de>
8903 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8906 (GLIBC_2.16): Remove pthread_atfork.
8908 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8910 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8911 (ptestcases.h): Likewise.
8913 2013-03-08 Roland McGrath <roland@hack.frob.com>
8915 * Makeconfig ($(common-objpfx)config.status): Depend on
8916 sysdeps/*/preconfigure{,.in} too.
8918 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8920 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8921 (__free_hook): Use void * instead of __malloc_ptr_t.
8922 (__malloc_hook): Likewise.
8923 (__realloc_hook): Likewise.
8924 (__memalign_hook): Likewise.
8925 (__after_morecore_hook): Likewise.
8926 * malloc/arena.c (save_malloc_hook): Likewise.
8927 (save_free_hook): Likewise.
8928 * malloc/hooks.c (malloc_hook_ini): Likewise.
8929 (realloc_hook_ini): Likewise.
8930 (memalign_hook_ini): Likewise.
8931 * malloc/malloc.c (malloc_hook_ini): Likewise.
8932 (realloc_hook_ini): Likewise.
8933 (memalign_hook_ini): Likewise.
8934 (__free_hook): Likewise.
8935 (__malloc_hook): Likewise.
8936 (__realloc_hook): Likewise.
8937 (__memalign_hook): Likewise.
8938 (__libc_malloc): Likewise.
8939 (__libc_free): Likewise.
8940 (__libc_realloc): Likewise.
8941 (__libc_memalign): Likewise.
8942 (__libc_valloc): Likewise.
8943 (__libc_pvalloc): Likewise.
8944 (__libc_calloc): Likewise.
8945 (__posix_memalign): Likewise.
8946 * malloc/morecore.c (__sbrk): Likewise.
8947 (__default_morecore): Likewise.
8949 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8951 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8952 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8955 * malloc/malloc.h (__malloc_size_t): Remove macro.
8956 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8958 (old_memalign_hook): Likewise.
8959 (old_realloc_hook): Likewise.
8960 (struct hdr): Likewise.
8962 (mallochook): Likewise.
8963 (memalignhook): Likewise.
8964 (reallochook): Likewise.
8965 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8966 (tr_old_realloc_hook): Likewise.
8967 (tr_old_memalign_hook): Likewise.
8968 (tr_mallochook): Likewise.
8969 (tr_reallochook): Likewise.
8970 (tr_memalignhook): Likewise.
8972 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8975 default_ldbl_pack and using as default implementation.
8976 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8978 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8979 redundant definition.
8980 (ldbl_insert_mantissa): Likewise.
8981 (ldbl_canonicalize): Likewise.
8982 (ldbl_nearbyint): Likewise.
8983 (ldbl_pack): Rename to ldbl_pack_ppc.
8984 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8985 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8986 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8988 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8991 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8992 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8993 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8995 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8996 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8997 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8999 2013-03-07 Andreas Jaeger <aj@suse.de>
9001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9004 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9006 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9007 Include mpa.h and declare __MPEXP.
9008 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9009 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9010 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9011 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9012 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9013 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9014 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9016 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9017 (__slowpow): Use long double EXPL and LOGL functions to
9019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9020 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9022 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9023 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9024 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9027 intermediate variable to calculate exponent.
9029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9033 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9034 [!NO__SQR]: Define __sqr.
9035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9036 and NO__SQR. Remove all code except __mul and __sqr. Include
9037 sysdeps/ieee754/dbl-64/mpa.c.
9038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9041 * posix/Makefile (tests): Add tst-pathconf.
9042 * posix/tst-pathconf.c: New test case.
9043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9045 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9047 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
9049 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9051 2013-03-06 Andreas Jaeger <aj@suse.de>
9053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9054 definition via __MAP_ANONYMOUS.
9056 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9057 it's not part of Linux headers.
9059 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9060 (MAP_HUGE_MASK): Define.
9062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9068 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9073 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9075 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9076 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9077 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9078 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9079 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9080 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9086 Handle f2fs and efivarfs.
9088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9091 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9092 (EFIVARFS_MAGIC): Add.
9093 (F2FS_LINK_MAX): Add.
9095 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9097 * stdio-common/vfprintf.c: Replace __builtin_expect with
9100 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9103 * sysdeps/generic/bp-sym.h: Remove file.
9104 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9105 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9106 <bp-sym.h> and <bp-asm.h>.
9107 (__longjmp): Don't use BP_SYM.
9108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9110 (memcpy): Don't use BP_SYM.
9111 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9112 <bp-sym.h> and <bp-asm.h>.
9113 (memcpy): Don't use BP_SYM.
9114 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9116 (memcpy): Don't use BP_SYM.
9117 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9119 (memset): Don't use BP_SYM.
9120 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9121 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9122 (__bzero): Don't use BP_SYM.
9123 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9124 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9125 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9126 <bp-sym.h> and <bp-asm.h>.
9127 (memcmp): Don't use BP_SYM. Remove comment about bounded
9129 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9130 <bp-sym.h> and <bp-asm.h>.
9131 (memcpy): Don't use BP_SYM.
9132 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9133 <bp-sym.h> and <bp-asm.h>.
9134 (memset): Don't use BP_SYM.
9135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9137 (__bzero): Don't use BP_SYM.
9138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9140 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9141 <bp-sym.h> and <bp-asm.h>.
9142 (strncmp): Don't use BP_SYM. Remove comment about bounded
9144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9145 <bp-sym.h> and <bp-asm.h>.
9146 (memcpy): Don't use BP_SYM.
9147 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9148 <bp-sym.h> and <bp-asm.h>.
9149 (memset): Don't use BP_SYM.
9150 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9151 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9152 (__bzero): Don't use BP_SYM.
9153 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9154 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9155 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9156 <bp-sym.h> and <bp-asm.h>.
9157 (__memchr): Don't use BP_SYM.
9158 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9159 <bp-sym.h> and <bp-asm.h>.
9160 (memcmp): Don't use BP_SYM. Remove comment about bounded
9162 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9163 <bp-sym.h> and <bp-asm.h>.
9164 (memcpy): Don't use BP_SYM.
9165 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9166 <bp-sym.h> and <bp-asm.h>.
9167 (__mempcpy): Don't use BP_SYM.
9168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9169 <bp-sym.h> and <bp-asm.h>.
9170 (__memrchr): Don't use BP_SYM.
9171 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9172 <bp-sym.h> and <bp-asm.h>.
9173 (memset): Don't use BP_SYM.
9174 (__bzero): Likewise.
9175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9176 <bp-sym.h> and <bp-asm.h>.
9177 (__rawmemchr): Don't use BP_SYM.
9178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9179 <bp-sym.h> and <bp-asm.h>.
9180 (__STRCMP): Don't use BP_SYM.
9181 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9182 <bp-sym.h> and <bp-asm.h>.
9183 (strchr): Don't use BP_SYM.
9184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9185 <bp-sym.h> and <bp-asm.h>.
9186 (__strchrnul): Don't use BP_SYM.
9187 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9188 <bp-sym.h> and <bp-asm.h>.
9189 (strlen): Don't use BP_SYM.
9190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9191 <bp-sym.h> and <bp-asm.h>.
9192 (strncmp): Don't use BP_SYM. Remove comment about bounded
9194 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9195 <bp-sym.h> and <bp-asm.h>.
9196 (__strnlen): Don't use BP_SYM.
9197 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9198 <bp-sym.h> and <bp-asm.h>.
9199 (__GI__setjmp): Don't use BP_SYM.
9200 (_setjmp): Likewise.
9201 (__sigsetjmp): Likewise.
9202 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9203 (L(start_addresses)): Don't use BP_SYM.
9205 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9207 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9208 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9209 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9210 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9211 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9213 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9214 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9215 about bounded pointers.
9216 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9217 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9218 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9220 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9221 about bounded pointers. Remove GKM FIXME comments.
9222 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9223 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9225 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9226 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9227 Remove GKM FIXME comments.
9228 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9229 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9230 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9232 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9233 about bounded pointers. Remove GKM FIXME comment.
9234 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9236 (strncmp): Don't use BP_SYM. Remove comment about bounded
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9239 <bp-sym.h> and <bp-asm.h>.
9240 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9242 <bp-sym.h> and <bp-asm.h>.
9243 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9246 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9248 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9251 2013-03-05 David S. Miller <davem@davemloft.net>
9253 * po/es.po: Update from translation team.
9255 2013-03-05 Andreas Jaeger <aj@suse.de>
9257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9258 <bits/mman-linux.h>.
9259 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9262 <bits/mman-linux.h> to end of file.
9263 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9265 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9266 <bits/mman-linux.h> to end of file.
9267 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9270 <bits/mman-linux.h> to end of file.
9272 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9273 (MCL_CURRENT, MCL_FUTURE): Define here.
9275 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9278 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9282 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9284 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9285 fourth parameter needed for rt_sigprocmask syscall.
9286 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9287 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9288 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9289 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9290 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9291 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9293 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9296 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9297 comment about bounded pointers.
9298 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9299 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9301 2013-03-04 Andreas Jaeger <aj@suse.de>
9303 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9307 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9308 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9309 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9310 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9311 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9313 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9317 __ieee754_sqrl instead of __sqrl.
9319 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9321 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9322 * sysdeps/powerpc/fpu_control.h: ... here.
9323 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9324 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9325 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9326 * sysdeps/powerpc/bits/mathinline.h: ... here.
9328 2013-03-01 Roland McGrath <roland@hack.frob.com>
9330 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9331 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9332 to just [NEED_DL_SYSINFO_DSO].
9333 * elf/dl-support.c: Likewise.
9334 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9335 * elf/rtld.c (dl_main): Likewise.
9336 * elf/setup-vdso.h (setup_vdso): Likewise.
9337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9338 * sysdeps/unix/sysv/linux/dl-sysdep.c
9339 (_dl_discover_osversion): Likewise.
9341 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9343 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9344 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9346 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9348 * NEWS: Mention libm performance improvements and non-x86 PI
9351 * csu/libc-start.c (__pthread_initialize_minimal): Change
9353 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9355 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9358 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9360 <bp-sym.h> and <bp-asm.h>.
9361 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9362 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9364 (memcpy): Don't use BP_SYM.
9365 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9367 (__mpn_add_n): Don't use BP_SYM.
9368 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9369 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9371 (__mpn_addmul_1): Don't use BP_SYM.
9372 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9373 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9375 (_setjmp): Don't use BP_SYM.
9376 (__novmx_setjmp): Likewise.
9377 (__GI__setjmp): Likewise.
9378 (__vmx_setjmp): Likewise.
9379 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9381 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9382 (__bzero): Don't use BP_SYM.
9383 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9384 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9385 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9386 <bp-sym.h> and <bp-asm.h>.
9387 (memcpy): Don't use BP_SYM.
9388 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9389 <bp-sym.h> and <bp-asm.h>.
9390 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9392 <bp-sym.h> and <bp-asm.h>.
9393 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9394 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9396 (__mpn_lshift): Don't use BP_SYM.
9397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9398 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9400 (memset): Don't use BP_SYM.
9401 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9402 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9403 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9405 (__mpn_mul_1): Don't use BP_SYM.
9406 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9407 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9408 <bp-sym.h> and <bp-asm.h>.
9409 (memcmp): Don't use BP_SYM.
9410 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9411 <bp-sym.h> and <bp-asm.h>.
9412 (memcpy): Don't use BP_SYM.
9413 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9414 <bp-sym.h> and <bp-asm.h>.
9415 (memset): Don't use BP_SYM.
9416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9417 <bp-sym.h> and <bp-asm.h>.
9418 (strncmp): Don't use BP_SYM.
9419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9420 <bp-sym.h> and <bp-asm.h>.
9421 (memcpy): Don't use BP_SYM.
9422 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9423 <bp-sym.h> and <bp-asm.h>.
9424 (memset): Don't use BP_SYM.
9425 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9426 <bp-sym.h> and <bp-asm.h>.
9427 (__memchr): Don't use BP_SYM.
9428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9429 <bp-sym.h> and <bp-asm.h>.
9430 (memcmp): Don't use BP_SYM.
9431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9432 <bp-sym.h> and <bp-asm.h>.
9433 (memcpy): Don't use BP_SYM.
9434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9435 <bp-sym.h> and <bp-asm.h>.
9436 (__mempcpy): Don't use BP_SYM.
9437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9438 <bp-sym.h> and <bp-asm.h>.
9439 (__memrchr): Don't use BP_SYM.
9440 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9441 <bp-sym.h> and <bp-asm.h>.
9442 (memset): Don't use BP_SYM.
9443 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9444 <bp-sym.h> and <bp-asm.h>.
9445 (__rawmemchr): Don't use BP_SYM.
9446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9447 <bp-sym.h> and <bp-asm.h>.
9448 (__STRCMP): Don't use BP_SYM.
9449 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9450 <bp-sym.h> and <bp-asm.h>.
9451 (strchr): Don't use BP_SYM.
9452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9453 <bp-sym.h> and <bp-asm.h>.
9454 (__strchrnul): Don't use BP_SYM.
9455 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9456 <bp-sym.h> and <bp-asm.h>.
9457 (strlen): Don't use BP_SYM.
9458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9459 <bp-sym.h> and <bp-asm.h>.
9460 (strncmp): Don't use BP_SYM.
9461 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9462 <bp-sym.h> and <bp-asm.h>.
9463 (__strnlen): Don't use BP_SYM.
9464 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9466 (__mpn_rshift): Don't use BP_SYM.
9467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9469 <bp-sym.h> and <bp-asm.h>.
9470 (__sigsetjmp): Don't use BP_SYM.
9471 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9472 (L(start_addresses)): Don't use BP_SYM.
9474 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9476 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9477 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9478 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9479 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9481 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9482 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9483 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9484 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9486 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9488 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9489 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9491 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9493 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9494 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9495 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9497 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9499 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9501 (strncmp): Don't use BP_SYM,
9502 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9504 (__mpn_sub_n): Don't use BP_SYM.
9505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9506 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9508 (__mpn_submul_1): Don't use BP_SYM.
9509 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9511 <bp-sym.h> and <bp-asm.h>.
9512 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9514 <bp-sym.h> and <bp-asm.h>.
9515 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9518 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9521 Use ZK to minimize writes to Z.
9522 (sub_magnitudes): Simplify code a bit.
9523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9524 Use ZK to minimize writes to Z.
9525 (sub_magnitudes): Simplify code a bit.
9527 2013-02-27 Roland McGrath <roland@hack.frob.com>
9529 * csu/gmon-start.c: Add special exception to license text.
9531 2013-02-27 Richard Henderson <rth@redhat.com>
9533 * scripts/config.guess: Update from config.git.
9534 * scripts/config.sub: Likewise.
9536 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9540 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9542 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9544 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9546 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9548 2013-02-26 Roland McGrath <roland@hack.frob.com>
9550 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9551 [$(build-shared = yes].
9553 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9555 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9556 (__mul): Reduce iterations for calculating mantissa.
9558 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9560 (__mpranred): Likewise.
9563 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9564 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9566 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9568 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9569 Define __attribute__.
9571 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9573 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9575 * posix/regex_internal.h (__attribute): Remove.
9576 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9577 (re_string_context_at): Likewise.
9578 (bitset_not): Use __attribute__ and mark function as possibly
9580 (bitset_merge): Likewise.
9581 (bitset_mask): Likewise.
9582 (re_string_char_size_at): Likewise.
9583 (re_string_wchar_at): Likewise.
9584 (re_string_elem_size_at): Likewise.
9586 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9588 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9597 (__dbl_mp): Likewise.
9598 (add_magnitudes): Likewise.
9599 (sub_magnitudes): Likewise.
9603 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9606 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9609 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9613 up changes with default code.
9614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9617 2013-02-24 Allan McRae <allan@archlinux.org>
9619 * manual/socket.texi (The Internet Namespace): Order menu items
9620 to match that in the file.
9622 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9623 node listing of the info page menu.
9625 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9628 * sysdeps/i386/bp-asm.h: Remove file.
9629 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9630 (PARMS): Do not use macros from bp-asm.h.
9634 (__mpn_add_n): Do not use BP_SYM
9635 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9637 (PARMS): Do not use macros from bp-asm.h.
9640 (__mpn_addmul_1): Do not use BP_SYM
9641 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9643 (PARMS): Do not use macros from bp-asm.h.
9645 (_setjmp): Likewise. Do not use BP_SYM.
9646 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9648 (PARMS): Do not use macros from bp-asm.h.
9650 (setjmp): Likewise. Do not use BP_SYM.
9651 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9653 (PARMS): Do not use macros from bp-asm.h.
9654 (__frexp): Do not use BP_SYM.
9656 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9658 (PARMS): Do not use macros from bp-asm.h.
9659 (__frexpf): Do not use BP_SYM.
9661 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9663 (PARMS): Do not use macros from bp-asm.h.
9664 (__frexpl): Do not use BP_SYM.
9666 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9668 (PARMS): Do not use macros from bp-asm.h.
9669 (__remquo): Do not use BP_SYM.
9671 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9673 (PARMS): Do not use macros from bp-asm.h.
9674 (__remquof): Do not use BP_SYM.
9675 (remquof): Likewise.
9676 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9678 (PARMS): Do not use macros from bp-asm.h.
9679 (__remquol): Do not use BP_SYM.
9680 (remquol): Likewise.
9681 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9683 (PARMS): Do not use macros from bp-asm.h.
9686 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9687 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9689 (PARMS): Do not use macros from bp-asm.h.
9690 (strlen): Do not use BP_SYM.
9691 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9693 (PARMS): Do not use macros from bp-asm.h.
9697 (__mpn_add_n): Do not use BP_SYM.
9698 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9700 (PARMS): Do not use macros from bp-asm.h.
9703 (__mpn_addmul_1): Do not use BP_SYM.
9704 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9707 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9709 (PARMS): Do not use macros from bp-asm.h.
9712 (__mpn_lshift): Do not use BP_SYM.
9713 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9715 (PARMS): Do not use macros from bp-asm.h.
9719 (memcpy): Likewise. Do not use BP_SYM.
9720 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9721 libc_hidden_def and weak_alias.
9722 (mempcpy): Do not use BP_SYM in weak_alias.
9723 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9725 (PARMS): Do not use macros from bp-asm.h.
9728 [!BZERO_P] (CHR): Likewise.
9729 (memset): Likewise. Do not use BP_SYM.
9730 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9732 (PARMS): Do not use macros from bp-asm.h.
9735 (__mpn_mul_1): Do not use BP_SYM.
9736 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9738 (PARMS): Do not use macros from bp-asm.h.
9741 (__mpn_rshift): Do not use BP_SYM.
9742 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9744 (PARMS): Do not use macros from bp-asm.h.
9747 (strchr): Likewise. Do not use BP_SYM.
9748 (index): Do not use BP_SYM in weak_alias.
9749 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9751 (PARMS): Do not use macros from bp-asm.h.
9754 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9755 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9757 (PARMS): Do not use macros from bp-asm.h.
9758 (strlen): Do not use BP_SYM.
9759 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9761 (PARMS): Do not use macros from bp-asm.h.
9765 (__mpn_sub_n): Do not use BP_SYM.
9766 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9768 (PARMS): Do not use macros from bp-asm.h.
9771 (__mpn_submul_1): Do not use BP_SYM.
9772 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9774 (PARMS): Do not use macros from bp-asm.h.
9778 (__mpn_add_n): Do not use BP_SYM.
9779 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9782 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9784 (PARMS): Do not use macros from bp-asm.h.
9787 (memcmp): Do not use BP_SYM.
9788 (bcmp): Do not use BP_SYM in weak_alias.
9789 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9791 (PARMS): Do not use macros from bp-asm.h.
9795 (memcpy): Likewise. Do not use BP_SYM.
9796 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9798 (PARMS): Do not use macros from bp-asm.h.
9802 (memmove): Likewise. Do not use BP_SYM.
9803 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9805 (PARMS): Do not use macros from bp-asm.h.
9809 (__mempcpy): Likewise. Do not use BP_SYM.
9810 (mempcpy): Do not use BP_SYM in weak_alias.
9811 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9813 (PARMS): Do not use macros from bp-asm.h.
9816 [!BZERO_P] (CHR): Likewise.
9817 (memset): Likewise. Do not use BP_SYM.
9818 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9820 (PARMS): Do not use macros from bp-asm.h.
9822 (strcmp): Do not use BP_SYM.
9823 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9825 (PARMS): Do not use macros from bp-asm.h.
9828 [USE_AS_STRTOK_R] (SAVE): Likewise.
9829 (FUNCTION): Likewise. Do not use BP_SYM.
9830 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9832 (strtok_r): Likewise.
9833 (__GI___strtok_r): Likewise.
9834 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9835 (PARMS): Do not use macros from bp-asm.h.
9838 (__mpn_lshift): Do not use BP_SYM.
9839 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9840 (PARMS): Do not use macros from bp-asm.h.
9843 (__memchr): Do not use BP_SYM.
9844 (memchr): Do not use BP_SYM in weak_alias.
9845 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9846 (PARMS): Do not use macros from bp-asm.h.
9849 (memcmp): Do not use BP_SYM.
9850 (bcmp): Do not use BP_SYM in weak_alias.
9851 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9852 (PARMS): Do not use macros from bp-asm.h.
9855 (__mpn_mul_1): Do not use BP_SYM.
9856 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9858 (PARMS): Do not use macros from bp-asm.h.
9861 (__rawmemchr): Do not use BP_SYM.
9862 (rawmemchr): Do not use BP_SYM in weak_alias.
9863 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9864 (PARMS): Do not use macros from bp-asm.h.
9867 (__mpn_rshift): Do not use BP_SYM.
9868 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9869 (PARMS): Do not use macros from bp-asm.h.
9871 (__sigsetjmp): Likewise. Do not use BP_SYM.
9872 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9873 (_start): Do not use BP_SYM.
9874 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9875 (PARMS): Do not use macros from bp-asm.h.
9878 (__stpcpy): Likewise. Do not use BP_SYM.
9879 (stpcpy): Do not use BP_SYM in weak_alias.
9880 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9882 (PARMS): Do not use macros from bp-asm.h.
9886 (__stpncpy): Likewise. Do not use BP_SYM.
9887 (stpncpy): Do not use BP_SYM in weak_alias.
9888 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9889 (PARMS): Do not use macros from bp-asm.h.
9892 (strchr): Likewise. Do not use BP_SYM.
9893 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9895 (PARMS): Do not use macros from bp-asm.h.
9898 (__strchrnul): Likewise. Do not use BP_SYM.
9899 (strchrnul): Do not use BP_SYM in weak_alias.
9900 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9902 (PARMS): Do not use macros from bp-asm.h.
9904 (strcspn): Do not use BP_SYM.
9905 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9907 (PARMS): Do not use macros from bp-asm.h.
9910 (strpbrk): Likewise. Do not use BP_SYM.
9911 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9913 (PARMS): Do not use macros from bp-asm.h.
9916 (strrchr): Likewise. Do not use BP_SYM.
9917 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9918 (PARMS): Do not use macros from bp-asm.h.
9920 (strspn): Do not use BP_SYM.
9921 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9922 (PARMS): Do not use macros from bp-asm.h.
9926 (FUNCTION): Likewise. Do not use BP_SYM.
9927 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9929 (strtok_r): Likewise.
9930 (__GI___strtok_r): Likewise.
9931 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9932 (PARMS): Do not use macros from bp-asm.h.
9936 (__mpn_sub_n): Do not use BP_SYM.
9937 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9939 (PARMS): Do not use macros from bp-asm.h.
9942 (__mpn_submul_1): Do not use BP_SYM.
9943 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9945 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9947 (PARMS): Do not use macros from bp-asm.h.
9952 (__clone): Do not use BP_SYM.
9953 (clone): Do not use BP_SYM in weak_alias.
9954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9956 (PARMS): Do not use macros from bp-asm.h.
9958 (__mmap64): Do not use BP_SYM.
9959 (mmap64): Do not use BP_SYM in weak_alias.
9960 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9961 <bp-sym.h> and <bp-asm.h>.
9962 (PARMS): Do not use macros from bp-asm.h.
9963 (__posix_fadvise64_l64): Do not use BP_SYM.
9964 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9965 (PARMS): Do not use macros from bp-asm.h.
9967 (semtimedop): Do not use BP_SYM.
9968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9971 2013-02-21 Allan McRae <allan@archlinux.org>
9973 * manual/message.texi (Charset conversion in gettext):
9974 Move @end statement to beginning of line.
9976 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9988 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9990 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9991 tail-call to the resolved function if pltexit isn't needed.
9993 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9996 or Y being zero as being unlikely.
9997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10000 2013-02-20 Carlos O'Donell <carlos@redhat.com>
10002 * manual/nss.texi (System Databases and Name Service Switch):
10003 Remove frobnicate @pxref.
10005 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10007 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10008 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10010 2013-02-20 Petr Machata <pmachata@redhat.com>
10012 * elf/elf.h (R_ARM_TARGET1): New macro.
10013 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10014 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10015 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10016 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10017 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10018 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10019 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10020 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10021 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10022 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10023 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10024 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10025 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10026 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10027 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10028 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10029 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10030 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10031 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10032 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10033 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10034 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10035 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10036 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10037 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10038 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10039 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10040 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10041 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10042 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10043 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10044 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10045 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10046 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10047 (R_ARM_THM_GOT_BREL12): Likewise.
10048 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10049 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10050 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10051 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10052 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10053 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10054 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10055 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10056 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10058 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10060 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10061 __attribute_used__ to __attribute__ ((unused)).
10063 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10065 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10068 comment formatting.
10069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10071 2013-02-19 Joseph Myers <joseph@codesourcery.com>
10074 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10076 (ENTER): Remove both macro definitions.
10078 (CHECK_BOUNDS_LOW): Likewise.
10079 (CHECK_BOUNDS_HIGH): Likewise.
10080 (CHECK_BOUNDS_BOTH): Likewise.
10081 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10082 (RETURN_BOUNDED_POINTER): Likewise.
10083 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10084 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10085 (POP_ERRNO_LOCATION_RETURN): Likewise.
10086 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10087 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10088 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10090 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10091 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10092 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10093 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10094 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10095 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10096 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10097 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10098 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10099 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10100 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10101 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10102 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10103 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10105 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10106 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10108 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10109 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10110 * sysdeps/i386/i586/memset.S (memset): Likewise.
10111 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10112 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10113 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10115 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10116 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10117 Change uses of L(2) to L(out).
10118 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10119 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10120 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10121 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10122 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10124 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10125 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10127 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10128 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10129 (RETURN): Do not use macro LEAVE.
10130 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10131 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10132 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10133 * sysdeps/i386/i686/memset.S (memset): Likewise.
10134 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10135 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10136 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10137 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10139 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10140 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10141 L(1_2) and L(1_3) into L(1).
10142 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10143 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10144 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10145 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10146 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10147 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10148 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10149 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10150 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10152 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10154 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10155 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10156 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10157 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10158 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10159 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10160 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10161 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10162 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10163 * sysdeps/i386/strspn.S (strspn): Likewise.
10164 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10166 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10167 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10168 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10169 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10170 L(1_3) into L(1_1).
10171 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10172 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10173 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10175 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10177 2013-02-19 Jakub Jelinek <jakub@redhat.com>
10179 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10182 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10184 * math/atest-exp.c (exp_mpn): Remove ROUND.
10185 * math/atest-exp2.c (exp_mpn): Likewise.
10186 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10188 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10189 * stdlib/tst-tls-atexit-lib.c: Likewise.
10190 * stdlib/tst-tls-atexit.c: Likewise.
10192 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10194 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10195 and __attribute_alloc_size__.
10197 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10199 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10200 __attribute_alloc_size__.
10201 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10202 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10204 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10206 * include/programs/xmalloc.h: New file.
10207 * catgets/gencat.c: Include it.
10208 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10209 * elf/pldd.c: Likewise.
10210 * iconv/iconv_charmap.c: Likewise.
10211 * iconv/iconvconfig.c: Likewise.
10212 * iconv/strtab.c: Likewise.
10213 * locale/programs/locale.c: Likewise.
10214 * locale/programs/localedef.h: Likewise.
10215 * locale/programs/simple-hash.c: Likewise.
10216 * nscd/nscd.h: Likewise.
10217 * nss/makedb.c: Likewise.
10218 * sysdeps/generic/ldconfig.h: Likewise.
10220 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10222 * Versions.def: Add GLIBC_2.18.
10223 * include/link.h (struct link_map): New member l_tls_dtor_count.
10224 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10225 (__call_tls_dtors): Likewise.
10226 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10227 __cxa_thread_atexit_impl.
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10244 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10245 (tests): Add test case tst-tls-atexit.
10246 (modules-names): Add shared library for tst-tls-atexit.
10247 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10248 (GLIBC_PRIVATE): Add __call_tls_dtors.
10249 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10251 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10252 * stdlib/tst-tls-atexit.c: New test case.
10253 * stdlib/tst-tls-atexit-lib.c: New test case.
10255 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10257 * elf/Versions (ld): Add _dl_find_dso_for_object.
10258 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10259 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10260 (dl_open_worker): Use _dl_find_dso_for_object.
10261 * elf/dl-sym.c (do_sym): Likewise.
10262 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10264 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10266 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10267 Syntactic changes only.
10268 (_dl_runtime_profile): Do a tail-call to the resolved function.
10270 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10273 * sysdeps/x86_64/bp-asm.h: Remove file.
10274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10275 <bp-sym.h> and <bp-asm.h>.
10276 (__clone): Do not use BP_SYM.
10277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10278 <bp-sym.h> and <bp-asm.h>.
10279 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10280 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10282 (_setjmp): Do not use BP_SYM.
10283 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10285 (setjmp): Do not use BP_SYM.
10286 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10288 (mempcpy): Do not use BP_SYM in weak_alias.
10289 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10291 (strchr): Do not use BP_SYM.
10292 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10294 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10295 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10296 (_start): Do not use BP_SYM.
10297 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10299 (strcat): Do not use BP_SYM.
10300 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10302 (STRCMP): Do not use BP_SYM.
10303 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10305 (STRCPY): Do not use BP_SYM.
10306 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10308 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10310 (FUNCTION): Do not use BP_SYM.
10311 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10313 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10315 2013-02-17 Andreas Jaeger <aj@suse.de>
10317 * time/Versions: Sort entries.
10318 * string/Versions: Likewise.
10319 * resolv/Versions: Likewise.
10320 * posix/Versions: Likewise.
10321 * iconv/Versions: Likewise.
10322 * elf/Versions: Likewise.
10323 * wcsmbs/Versions: Likewise.
10325 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10327 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10328 loop termination condition.
10330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10331 variable to calculate EZ.
10334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10335 the lower precision input.
10337 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10340 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10341 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10342 (run-via-rtld-prefix): Do not handle %-bp tests.
10343 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10344 (all-object-suffixes): Remove .ob.
10345 (bppfx): Remove variable.
10346 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10347 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10348 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10349 [$(build-bounded) = yes] (libtype.ob): Likewise.
10350 * Makerules (elide-routines.ob): Remove variable.
10351 (do-tests-clean): Do not handle *-bp.out.
10352 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10353 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10354 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10355 (tests): Do not include $(tests-bp.out).
10356 (xtests): Do not include $(xtests-bp.out).
10357 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10358 [$(build-bounded) = yes] ($(addprefix
10359 $(objpfx),$(binaries-bounded))): Remove rule.
10360 ($(objpfx)%-bp.out): Remove rule.
10361 * config.make.in (build-bounded): Remove variable.
10362 * crypt/Makefile [$(build-bounded) = yes]
10363 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10364 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10365 append to variable.
10366 [$(build-bounded) = yes] (install-lib): Likewise.
10367 [$(build-bounded) = yes] (generated): Likewise.
10368 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10370 * intl/Makefile [$(build-bounded) = yes]
10371 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10372 * math/Makefile [$(build-bounded) = yes]
10373 ($(tests:%=$(objpfx)%-bp): Likewise.
10374 * misc/Makefile [$(build-bounded) = yes]
10375 ($(objpfx)tst-tsearch-bp): Likewise.
10376 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10377 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10379 * string/Makefile (o-objects.ob): Remove variable.
10380 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10381 (CFLAGS-.ob): Remove variable.
10382 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10383 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10384 both definitions of variable.
10385 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10386 (ASFLAGS-.ob): Remove variable.
10388 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10391 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10392 Remove __BOUNDED_POINTERS__ from condition.
10393 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10394 * string/bits/string2.h [!__NO_STRING_INLINES &&
10395 !__BOUNDED_POINTERS__]: Likewise.
10396 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10398 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10399 Remove conditional code.
10400 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10401 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10402 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10406 * csu/libc-start.c: Do not include <bp-sym.h>.
10407 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10408 * elf/dl-open.c: Do not include <bp-sym.h>.
10409 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10410 * math/fegetenv.c: Do not include <bp-sym.h>.
10411 (fegetenv): Do not use BP_SYM in versioned symbols.
10412 * nptl/sysdeps/pthread/bits/libc-lockP.h
10413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10416 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10418 (__pthread_mutex_destroy): Likewise.
10419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10420 (__pthread_mutex_lock): Likewise.
10421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10422 (__pthread_mutex_trylock): Likewise.
10423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10424 (__pthread_mutex_unlock): Likewise.
10425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10426 (__pthread_mutexattr_init): Likewise.
10427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10428 (__pthread_mutexattr_destroy): Likewise.
10429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10430 (__pthread_mutexattr_settype): Likewise.
10431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10432 (__pthread_rwlock_init): Likewise.
10433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10434 (__pthread_rwlock_destroy): Likewise.
10435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10436 (__pthread_rwlock_rdlock): Likewise.
10437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10438 (__pthread_rwlock_tryrdlock): Likewise.
10439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10440 (__pthread_rwlock_wrlock): Likewise.
10441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10442 (__pthread_rwlock_trywrlock): Likewise.
10443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10444 (__pthread_rwlock_unlock): Likewise.
10445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10446 (__pthread_key_create): Likewise.
10447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10448 (__pthread_setspecific): Likewise.
10449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10450 (__pthread_getspecific): Likewise.
10451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10454 (_pthread_cleanup_push_defer): Likewise.
10455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10456 (_pthread_cleanup_pop_restore): Likewise.
10457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10458 (pthread_setcancelstate): Likewise.
10459 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10461 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10462 (memchr): Do not use BP_SYM in weak_alias.
10463 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10464 (fegetenv): Do not use BP_SYM in versioned symbols.
10465 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10466 (fesetenv): Do not use BP_SYM in versioned symbols.
10467 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10468 (feupdateenv): Do not use BP_SYM in versioned symbols.
10469 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10470 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10471 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10472 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10473 (open64): Do not use BP_SYM in weak_alias.
10474 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10475 (fegetenv): Do not use BP_SYM in versioned symbols.
10476 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10477 (fesetenv): Do not use BP_SYM in versioned symbols.
10478 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10479 (feupdateenv): Do not use BP_SYM in versioned symbols.
10480 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10481 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10482 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10483 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10484 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10485 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10488 (__libc_start_main): Do not use BP_SYM.
10490 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10493 redundant return line.
10495 (denorm): Likewise.
10496 (dbl_mp): Likewise.
10497 (sub_magnitudes): Likewise.
10503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10505 (denorm): Likewise.
10506 (dbl_mp): Likewise.
10507 (sub_magnitudes): Likewise.
10514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10516 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10517 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10520 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10521 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10523 of __mul for squares.
10524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10528 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10531 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10534 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10536 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10537 prototype or function definition. Rename ubp_* variables and
10538 parameters. Remove argv definitions conditional on
10539 [__BOUNDED_POINTERS__].
10540 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10541 * elf/dl-runtime.c (_dl_fixup): Likewise.
10542 * include/set-hooks.h (RUN_HOOK): Likewise.
10543 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10545 * string/strcpy.c (strcpy): Do not use __unbounded.
10546 * sysdeps/generic/frame.h (struct layout): Likewise.
10547 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10548 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10549 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10550 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10551 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10552 (__backtrace): Likewise.
10553 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10555 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10557 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10559 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10560 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10561 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10562 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10563 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10564 Do not use __unbounded.
10565 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10566 Rename __unboundedrlimits parameter to rlimits in prototype.
10567 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10568 Do not use __unbounded.
10569 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10570 not use __ptrvalue.
10571 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10572 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10573 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10574 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10575 __ptrvalue or __unbounded.
10576 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10577 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10579 (__new_msgctl): Do not use __ptrvalue.
10580 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10582 (__libc_msgrcv): Do not use __ptrvalue.
10583 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10584 startup_info): Do not use __unbounded.
10585 (__libc_start_main): Likewise. Rename ubp_* variables and
10586 parameters. Remove argv definitions conditional on
10587 [__BOUNDED_POINTERS__].
10588 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10590 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10594 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10596 (__new_shmctl): Do not use __ptrvalue.
10597 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10598 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10600 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10602 (__libc_sigaction): Likewise.
10603 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10604 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10606 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10608 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10610 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10612 * string/mempcpy.c: Implement by calling memcpy.
10614 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10621 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10622 values in the mantissa.
10624 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10625 minimize writes to Z.
10626 (sub_magnitudes): Simplify code a bit.
10628 2013-02-12 Roland McGrath <roland@hack.frob.com>
10630 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10631 from the message. The linker prefixes all warnings with that already.
10633 2013-02-12 Andreas Schwab <schwab@suse.de>
10636 * posix/regexec.c (extend_buffers): Add parameter min_len.
10637 (check_matching): Pass minimum needed length.
10638 (clean_state_log_if_needed): Likewise.
10639 (get_subexp): Likewise.
10640 * posix/Makefile (tests): Add bug-regex34.
10641 (bug-regex34-ENV): Define.
10642 * posix/bug-regex34.c: New file.
10645 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10646 elements compare against the byte sequence of it, not its name.
10647 * posix/Makefile (tests): Add bug-regex35.
10648 (bug-regex35-ENV): Define.
10649 * posix/bug-regex35.c: New file.
10651 2013-02-11 Tom de Vries <tom@codesourcery.com>
10653 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10655 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10656 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10657 (CHECK_EOL): Add undef.
10659 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10661 * bits/stdlib-bsearch.h: New file.
10662 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10663 * stdlib/stdlib.h: Likewise.
10665 2013-02-11 Roland McGrath <roland@hack.frob.com>
10667 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10668 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10670 * manual/search.texi (Array Search Function): Add missing const in
10672 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10673 declaration to use rlim_t.
10674 (Basic Scheduling Functions): Remove erroneous const from
10675 sched_getparam prototype. Remove erroneous * from
10676 sched_get_priority_max and sched_get_priority_min prototypes.
10677 (Resource Usage): Fix summary @comment on vtimes to refer to
10678 sys/vtimes.h rather than vtimes.h.
10679 Add missing *s in vtimes prototype.
10680 (Limits on Resources): Fix ulimit prototype to return long int.
10681 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10682 prototypes to use long int rather than double.
10683 (BSD Random): Fix initstate and setstate to use char *, not void *.
10684 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10685 prototype to make second argument 'struct aiocb64 *const[]'.
10686 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10687 (Status of AIO Operations): Remove erroneous const in aio_return and
10688 aio_return64 prototypes.
10689 (Synchronizing I/O): Fix sync prototype to return void.
10690 * manual/startup.texi (Suboptions): Remove an erroneous const in
10691 getsubopt prototype.
10692 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10693 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10694 use size_t rather than int.
10695 (Scanning All Users): Likewise for getpwent_r.
10696 (Setting Groups): Add missing const to setgroups prototype.
10697 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10698 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10699 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10700 'const void *' rather than 'const char *'.
10701 (Host Address Functions): Likewise for inet_ntop.
10702 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10703 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10704 ssize_t for return value.
10705 (Sending Data): Likewise for send, sendto, sendmsg.
10706 (Socket Option Functions): Add a missing const in setsockopt prototype.
10707 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10708 use wchar_t for the argument.
10709 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10710 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10712 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10713 double/float/long double for second argument.
10714 Fix return types of significand, significandf, significandl.
10715 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10716 argument in fchmod prototype.
10717 (File Owner): Use uid_t and gid_t in fchown prototype.
10718 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10719 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10720 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10721 use 'const struct dirent **' as argument types to CMP function pointer
10723 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10724 (File Times): Fix summary magic @comment for struct utimbuf and utime
10725 to refer to utime.h, not time.h.
10726 * manual/string.texi (Argz Functions): Add missing const in
10727 argz_extract and argz_next prototypes.
10728 (Finding Tokens in a String): Likewise for basename.
10729 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10730 (Copying and Concatenation): Fix typo in wmemmove prototype.
10731 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10732 (Signal Stack): Remove erroneous const in sigstack prototype.
10733 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10735 (Simple Calendar Time): Likewise for stime.
10736 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10738 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10739 say sys/sysctl.h instead.
10740 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10741 and vsyslog prototypes.
10743 2013-02-11 Tom de Vries <tom@codesourcery.com>
10745 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10748 2013-02-11 Roland McGrath <roland@hack.frob.com>
10750 * misc/sys/mman.h: Fix typo in mremap comment.
10752 2013-02-08 Roland McGrath <roland@hack.frob.com>
10754 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10755 the '\0' terminator.
10757 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10760 * debug/segfault.c: Don't include <bp-checks.h>.
10761 * sysdeps/generic/bp-checks.h: Remove file.
10762 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10763 (__GETDENTS): Don't use CHECK_N.
10764 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10765 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10766 (__getgroups): Don't use CHECK_N.
10767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10768 (setgroups): Don't use CHECK_N.
10769 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10770 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10771 (__libc_msgrcv): Don't use CHECK_N.
10772 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10773 (__libc_msgsnd): Don't use CHECK_N.
10774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10776 (__libc_pread): Don't use CHECK_N.
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10778 include <bp-checks.h>.
10779 (__libc_pread64): Don't use CHECK_N.
10780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10781 include <bp-checks.h>.
10782 (__libc_pwrite): Don't use CHECK_N.
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10784 include <bp-checks.h>.
10785 (__libc_pwrite64): Don't use CHECK_N.
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10788 (__libc_pread): Don't use CHECK_N.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10790 include <bp-checks.h>.
10791 (__libc_pread64): Don't use CHECK_N.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10793 include <bp-checks.h>.
10794 (__libc_pwrite): Don't use CHECK_N.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10796 include <bp-checks.h>.
10797 (__libc_pwrite64): Don't use CHECK_N.
10798 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10799 (do_pread): Don't use CHECK_N.
10800 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10801 (do_pread64): Don't use CHECK_N.
10802 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10803 (do_pwrite): Don't use CHECK_N.
10804 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10805 (do_pwrite64): Don't use CHECK_N.
10806 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10807 (__libc_readv): Don't use CHECK_N.
10808 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10809 (semop): Don't use CHECK_N.
10810 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10812 (semtimedop): Don't use CHECK_N.
10813 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10814 (__libc_pread): Don't use CHECK_N.
10815 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10817 (__libc_pread64): Don't use CHECK_N.
10818 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10820 (__libc_pwrite): Don't use CHECK_N.
10821 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10823 (__libc_pwrite64): Don't use CHECK_N.
10824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10826 (__libc_msgrcv): Don't use CHECK_N.
10827 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10828 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10829 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10830 (__libc_writev): Don't use CHECK_N.
10832 2013-02-08 Roland McGrath <roland@hack.frob.com>
10834 * string/strcpy.c: Removed unused variable.
10836 * Makeconfig (+sysdep-includes): Define with := rather than =.
10837 Use an existing include/ subdir of each sysdeps dir before it.
10839 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10841 * nscd/connection.c (register_traced_file): Comment function.
10842 [HAVE_INOTIFY] (union __inev): Define.
10843 [HAVE_INOTIFY] (inotify_check_files): New function.
10844 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10845 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10847 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10849 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10851 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10852 loaded if not already and that a failure is permanent.
10854 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10857 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10858 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10860 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10863 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10864 (CHECK_1_NULL_OK): Likewise.
10865 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10866 (__fxstat): Do not use CHECK_1.
10867 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10869 (___fxstat64): Do not use CHECK_1.
10870 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10872 (__fxstatat): Do not use CHECK_1.
10873 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10875 (__fxstatat64): Do not use CHECK_1.
10876 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10878 (__fxstat): Do not use CHECK_1.
10879 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10881 (__fxstatat): Do not use CHECK_1.
10882 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10884 (__getresgid): Do not use CHECK_1.
10885 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10887 (__getresuid): Do not use CHECK_1.
10888 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10890 (__lxstat): Do not use CHECK_1.
10891 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10893 (__old_msgctl): Do not use CHECK_1.
10894 (__new_msgctl): Likewise.
10895 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10897 (__new_setrlimit): Do not use CHECK_1.
10898 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10900 (__old_shmctl): Do not use CHECK_1.
10901 (__new_shmctl): Likewise.
10902 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10904 (__xstat): Do not use CHECK_1.
10905 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10906 (__lxstat): Do not use CHECK_1.
10907 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10909 (___lxstat64): Do not use CHECK_1.
10910 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10911 (__old_msgctl): Do not use CHECK_1.
10912 (__new_msgctl): Likewise.
10913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10915 (__gettimeofday): Do not use CHECK_1.
10916 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10917 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10918 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10920 (__gettimeofday): Do not use CHECK_1.
10921 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10922 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10923 (__new_shmctl): Do not use CHECK_1.
10924 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10926 (do_sigtimedwait): Do not use CHECK_1.
10927 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10929 (do_sigwaitinfo): Do not use CHECK_1.
10930 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10932 (msgctl): Do not use CHECK_1.
10933 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10935 (shmctl): Do not use CHECK_1.
10936 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10937 (ustat): Do not use CHECK_1.
10938 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10940 (__fxstat): Do not use CHECK_1.
10941 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10943 (__fxstatat): Do not use CHECK_1.
10944 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10946 (__lxstat): Do not use CHECK_1.
10947 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10949 (__xstat): Do not use CHECK_1.
10950 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10951 (__xstat): Do not use CHECK_1.
10952 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10953 (___xstat64): Do not use CHECK_1.
10956 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10958 (CHECK_BOUNDS_HIGH): Likewise.
10959 * string/strcpy.c: Do not include <bp-checks.h>.
10960 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10962 2013-02-07 Roland McGrath <roland@hack.frob.com>
10964 * nscd/nscd-client.h (__nscd_drop_map_ref):
10965 Add __attribute__ ((unused)).
10966 * nis/nss-nisplus.h (niserr2nss): Likewise.
10968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10969 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10971 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10972 Remove inline keyword.
10973 * include/rounding-mode.h (round_away): Likewise.
10974 * libio/wfileops.c (adjust_wide_data): Likewise.
10975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10976 (__m128i_strloadu_tolower): Likewise.
10977 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10978 (__m128i_strloadu_tolower): Likewise.
10979 * time/mktime.c (ydhms_diff): Likewise.
10980 * locale/elem-hash.h (elem_hash): Likewise.
10981 * locale/setlocale.c (setdata): Likewise.
10982 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10983 (re_string_wchar_at): Likewise.
10984 (bitset_not, bitset_merge, bitset_mask): Likewise.
10985 [!(__GNUC__ > 3)] (inline): Remove macro.
10986 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10987 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10988 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10989 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10990 * string/memcmp.c (memcmp_bytes): Likewise.
10991 * locale/programs/locarchive.c (compute_hashval): Likewise.
10992 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10993 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10994 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10995 * nss/getent.c (print_rpc, print_protocols): Likewise.
10996 (print_passwd, print_group, print_aliases): Likewise.
10997 * nis/nss-nisplus.h (niserr2nss): Likewise.
10998 * nscd/connections.c (restart_p): Likewise.
10999 Change return type to bool.
11001 2013-02-05 Roland McGrath <roland@hack.frob.com>
11003 * Makeconfig (all-Depend-files): Add existing
11004 $(sorted-subdirs:=/Depend) files.
11005 (all-subdirs): Remove nss.
11006 * sysdeps/unix/inet/Subdirs: Add it here instead.
11007 * hesiod/Depend: New file.
11009 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11010 instead of calling alloca.
11012 * io/lseek.c (__lseek): Rename to __libc_lseek.
11013 Define __lseek as an alias.
11015 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11017 2013-02-04 Carlos O'Donell <carlos@redhat.com>
11019 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11020 else clause and remove check for non-standard endianness.
11022 2013-02-04 David S. Miller <davem@davemloft.net>
11024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11026 2013-02-04 Joseph Myers <joseph@codesourcery.com>
11029 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11030 (__ubp_memchr): Remove prototype.
11031 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11032 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11033 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11034 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11035 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11037 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11038 (__ubp_memchr): Likewise.
11039 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11040 (__ubp_memchr): Likewise.
11041 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11042 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11043 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11046 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11047 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11048 (__getcwd): Do not use CHECK_STRING.
11049 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11051 (__real_chown): Do not use CHECK_STRING.
11052 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11054 (fchownat): Do not use CHECK_STRING.
11055 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11057 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11059 (__lchown): Do not use CHECK_STRING.
11060 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11061 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11062 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11063 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11065 include <bp-checks.h>.
11066 (truncate64): Do not use CHECK_STRING.
11067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11069 (__real_chown): Do not use CHECK_STRING.
11070 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11072 (__lchown): Do not use CHECK_STRING.
11073 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11075 (__chown): Do not use CHECK_STRING.
11076 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11078 (truncate64): Do not use CHECK_STRING.
11079 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11081 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11082 (__xmknod): Do not use CHECK_STRING.
11083 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11085 (__xmknodat): Do not use CHECK_STRING.
11086 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11087 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11089 2013-02-04 Andreas Schwab <schwab@suse.de>
11092 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11093 * include/netdb.h: Likewise for h_errno.
11094 * elf/tst-stackguard1.c: Include <tls.h>.
11096 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11098 * elf/link.h (struct link_map): Extend the l_addr comment.
11099 * include/link.h (struct link_map): Likewise.
11101 2013-02-01 Joseph Myers <joseph@codesourcery.com>
11104 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11105 (BOUNDED_1): Remove macro.
11106 * debug/backtrace.c: Don't include <bp-checks.h>.
11107 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11108 (__backtrace): Likewise.
11109 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11111 (__backtrace): Don't use BOUNDED_1.
11112 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11114 (__backtrace): Don't use BOUNDED_1.
11115 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11116 (__backtrace): Don't use BOUNDED_1.
11117 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11118 (shmat): Don't use BOUNDED_N.
11120 2013-01-31 Joseph Myers <joseph@codesourcery.com>
11123 * sysdeps/generic/bp-start.h: Remove file.
11124 * csu/libc-start.c: Don't include <bp-start.h>.
11125 (LIBC_START_MAIN): Set up __environ directly instead of using
11126 INIT_ARGV_and_ENVIRON.
11127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11131 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11133 (CHECK_FCNTL): Likewise.
11134 (CHECK_N_PAGES): Likewise.
11137 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11139 (CHECK_SIGSET_NULL_OK): Likewise.
11140 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11142 (sigpending): Don't use CHECK_SIGSET.
11143 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11145 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11146 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11148 (do_sigsuspend): Don't use CHECK_SIGSET.
11149 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11151 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11152 (do_sigwait): Don't use CHECK_SIGSET.
11153 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11156 include <bp-checks.h>.
11157 (sigpending): Don't use CHECK_SIGSET.
11158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11159 include <bp-checks.h>.
11160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11161 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11163 (sigpending): Don't use CHECK_SIGSET.
11164 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11166 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11169 * sysdeps/generic/bp-semctl.h: Remove file.
11170 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11171 <bp-checks.h> and <bp-semctl.h>.
11172 (__old_semctl): Don't use CHECK_SEMCTL.
11173 (__new_semctl): Likewise.
11174 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11176 (__old_semctl): Don't use CHECK_SEMCTL.
11177 (__new_semctl): Likewise.
11178 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11179 <bp-checks.h> and <bp-semctl.h>.
11180 (__old_semctl): Don't use CHECK_SEMCTL.
11181 (__new_semctl): Likewise.
11182 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11183 <bp-checks.h> and <bp-semctl.h>.
11184 (semctl): Don't use CHECK_SEMCTL.
11187 * Makerules (elide-bp-thunks): Remove variable.
11188 (elide-routines.oS): Don't use $(elide-bp-thunks).
11189 (elide-routines.os): Likewise.
11190 (elide-routines.o): Likewise.
11191 (elide-routines.op): Likewise.
11192 (elide-routines.og): Likewise.
11193 (objects): Don't use $(bp-thunks).
11194 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11196 (common-generated): Do not add s-proto-bp.d.
11197 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11200 Do not generate makefile rules for bounded-pointer thunks.
11201 * sysdeps/generic/bp-thunks.h: Remove file.
11202 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11203 * sysdeps/unix/s-proto-bp.S: Likewise.
11206 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11207 parts of result separately when argument is not close to line from
11208 -i to i and one part of argument is small.
11209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11211 * math/libm-test.inc (cacos_test): Add more tests.
11212 (casin_test): Likewise.
11213 (casinh_test): Likewise.
11214 * sysdeps/i386/fpu/libm-test-ulps: Update.
11215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11217 2013-01-31 David S. Miller <davem@davemloft.net>
11219 * po/de.po: Update from translation team.
11221 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11223 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11225 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11227 * configure.in (_AC_PROG_CC_C89): New definition.
11228 * configure: Regenerate.
11230 * configure.in (AC_PROG_CPP): New definition.
11231 * configure: Regenerate.
11233 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11235 * debug/tst-backtrace.h: New file.
11236 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11237 (ret): Remove variable.
11239 (FAIL): Remove macro.
11240 (NO_INLINE): Likewise.
11241 (fn1): Use match function instead of strstr.
11242 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11243 (ret): Remove variable.
11245 (FAIL): Remove macro.
11246 (NO_INLINE): Likewise.
11247 (fn): Use match function instead of strstr.
11248 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11249 (ret): Remove variable.
11251 (FAIL): Remove macro.
11252 (NO_INLINE): Likewise.
11253 (handle_signal): Use match function instead of strstr.
11254 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11255 (ret): Remove variable.
11257 (FAIL): Remove macro.
11258 (NO_INLINE): Likewise.
11259 (handle_signal): Use match function instead of strstr.
11261 2013-01-23 Roland McGrath <roland@hack.frob.com>
11263 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11265 2013-01-23 David S. Miller <davem@davemloft.net>
11267 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11268 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11269 argument of CAS if possible.
11270 * sysdeps/sparc/sparc64/bits/atomic.h
11271 (__arch_compare_and_exchange_val_32_acq): Likewise.
11272 (__arch_compare_and_exchange_val_64_acq): Likewise.
11274 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11276 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11277 * sysdeps/posix/ulimit.c: ... this.
11278 Include <limits.h>.
11279 * sysdeps/unix/bsd/ulimit.c: Remove file.
11281 2013-01-23 Adam Conrad <adconrad@0c3.net>
11283 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11284 (LDFLAGS-tst-array5): Likewise.
11286 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11289 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11290 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11291 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11292 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11294 2013-01-21 David S. Miller <davem@davemloft.net>
11296 * sysdeps/sparc/backtrace.c: New file.
11297 * sysdeps/sparc/sparc32/backtrace.h: New file.
11298 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11299 * sysdeps/sparc/sparc64/backtrace.h: New file.
11300 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11301 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11304 2013-01-21 Andreas Schwab <schwab@suse.de>
11307 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11310 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11316 2013-01-18 Joseph Myers <joseph@codesourcery.com>
11317 Mark Mitchell <mark@codesourcery.com>
11318 Tom de Vries <tom@codesourcery.com>
11319 Paul Pluzhnikov <ppluzhnikov@google.com>
11321 * debug/tst-backtrace2.c: New file.
11322 * debug/tst-backtrace3.c: Likewise.
11323 * debug/tst-backtrace4.c: Likewise.
11324 * debug/tst-backtrace5.c: Likewise.
11325 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11326 (CFLAGS-tst-backtrace3.c): Likewise.
11327 (CFLAGS-tst-backtrace4.c): Likewise.
11328 (CFLAGS-tst-backtrace5.c): Likewise.
11329 (LDFLAGS-tst-backtrace2): Likewise.
11330 (LDFLAGS-tst-backtrace3): Likewise.
11331 (LDFLAGS-tst-backtrace4): Likewise.
11332 (LDFLAGS-tst-backtrace5): Likewise.
11333 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11334 tst-backtrace4 and tst-backtrace5.
11336 2013-01-18 Anton Blanchard <anton@samba.org>
11337 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11339 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11340 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11341 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11342 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11344 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11345 "+r" and remove output regs list as redundant. Add explicit inline
11346 asm to specify register of return val to work around compiler codegen
11347 bug. Remove (int) cast on return value. Add return type parameter to
11348 use in macro so that this macro does not truncate return value for
11350 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11351 pass to INTERNAL_VSYSCALL_NCS.
11352 (INLINE_VSYSCALL): Add 'long int' as return type to
11353 INTERNAL_VSYSCALL_NCS macro invocation.
11354 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11355 INTERNAL_VSYSCALL_NCS macro invocation.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11358 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11361 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11362 Fix application of SIMD FP exception mask.
11364 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11365 mp_no from a power of two.
11366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11367 __mpexp_twomm1. Use __pow_mp.
11369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11372 2013-01-17 David S. Miller <davem@davemloft.net>
11374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11376 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11379 * include/complex.h: Condition contents on [!_COMPLEX_H].
11380 (__kernel_casinhf): New prototype.
11381 (__kernel_casinh): Likewise.
11382 (__kernel_casinhl): Likewise.
11383 * math/Makefile (libm_calls): Add k_casinh.
11384 * math/k_casinh.c: New file.
11385 * math/k_casinhf.c: Likewise.
11386 * math/k_casinhl.c: Likewise.
11387 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11388 finite nonzero arguments.
11389 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11390 finite nonzero arguments.
11391 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11392 finite nonzero arguments.
11393 * math/s_casinh.c: Do not include <float.h>.
11394 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11395 * math/s_casinhf.c: Do not include <float.h>.
11396 (__casinhf): Move code for finite nonzero arguments to
11398 * math/s_casinhl.c: Do not include <float.h>.
11399 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11401 (__casinhl): Move code for finite nonzero arguments to
11403 * math/libm-test.inc (cacos_test): Add more tests.
11404 * sysdeps/i386/fpu/libm-test-ulps: Update.
11405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11407 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11409 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11410 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11411 [!HAVE_MREMAP]: Remove [defined linux] case.
11412 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11414 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11416 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11418 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11420 * elf/elf.h (R_386_SIZE32): New relocation.
11421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11423 (elf_machine_rela): Likewise.
11424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11425 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11427 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11429 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11430 (FP_FAST_FMA): Do not define.
11431 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11432 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11433 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11434 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11435 !_SOFT_FLOAT]: Likewise.
11436 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11437 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11440 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11442 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11443 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11444 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11447 2013-01-16 Andreas Schwab <schwab@suse.de>
11450 * include/stdlib.h (__mktemp): Add declaration.
11451 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11452 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11454 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11456 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11458 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11459 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11460 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11462 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11463 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11465 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11467 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11468 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11471 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11472 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11474 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11476 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11478 2013-01-15 David S. Miller <davem@davemloft.net>
11480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11481 trunc{,f} to libm-sysdep_routes.
11482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11492 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11493 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11494 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11496 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11497 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11500 nearbyint{,f} to libm-sysdep_routes.
11501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11518 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11519 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11521 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11522 libc_feholdexcept and libc_fesetenv.
11524 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11526 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11528 2013-01-14 David S. Miller <davem@davemloft.net>
11530 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11531 (SPARC_ASM_VIS2_IFUNC): Likewise.
11532 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11534 use of 'siam' instruction.
11535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11568 routines to libm-sysdep_routines.
11569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11572 fdim/fdimf to libm-sysdep_routines.
11573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11581 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11582 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11583 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11584 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11586 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11588 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11589 to optimize copies.
11591 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11596 local variable MPTWO.
11597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11600 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11602 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11605 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11607 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11609 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11611 * manual/pattern.texi (glob_t): Document gl_flags.
11612 (glob64_t): Likewise.
11614 2013-01-11 David S. Miller <davem@davemloft.net>
11616 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11617 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11618 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11619 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11620 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11621 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11622 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11623 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11624 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11625 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11626 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11627 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11628 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11631 sparc V9 rather than using V8 code.
11632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11635 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11637 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11640 2013-01-11 Roland McGrath <roland@hack.frob.com>
11642 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11643 not in the main loop.
11644 * configure: Regenerated.
11646 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11648 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11649 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11651 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11652 [!__GLIBC_HAVE_LONG_LONG] case.
11653 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11654 condition to just #else.
11655 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11656 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11657 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11658 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11660 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11661 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11662 #elif condition to just #else.
11663 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11664 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11665 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11666 #elif condition to just #else.
11668 2013-01-11 Steve Ellcey <sellcey@mips.com>
11670 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11671 (EF_MIPS_ARCH_64): Fix value.
11672 (EF_MIPS_ARCH_32R2): New.
11673 (EF_MIPS_ARCH_64R2): New.
11675 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11677 * Makeconfig (+link-pie-before-libc): New.
11678 (+link-pie-after-libc): Likewise.
11679 (+link-pie-tests): Likewise.
11680 (+link-pie): Rewritten.
11681 (link-before-libc): Remove $(config-LDFLAGS).
11682 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11683 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11684 (config-LDFLAGS): Renamed to ...
11685 (rtld-LDFLAGS): This.
11686 (rtld-tests-LDFLAGS): New macro.
11687 (link-libc-rpath-link): Likewise.
11688 (link-libc-tests-rpath-link): Likewise.
11689 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11690 (link-libc): Prepand $(link-libc-rpath-link).
11691 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11692 (test-program-prefix): New macro.
11693 (test-via-rtld-prefix): Likewise.
11694 (test-program-cmd): Likewise.
11695 (host-test-program-cmd): Likewise.
11696 * Makefile ($(common-objpfx)testrun.sh): Replace
11697 $(run-program-prefix) with $(test-program-prefix).
11698 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11700 ($(common-objpfx)shlib.lds): Likewise.
11701 (build-module-helper): Likewise.
11702 ($(common-objpfx)format.lds): Likewise.
11703 * Rules (binaries-pie-tests): New.
11704 (binaries-pie-notests): Likewise.
11705 (binaries-pie): Rewritten.
11706 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11707 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11708 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11709 (make-test-out): Replace $(host-built-program-cmd) with
11710 $(host-test-program-cmd).
11711 * config.make.in (build-hardcoded-path-in-tests): New variable.
11712 * configure.in (--enable-hardcoded-path-in-tests): New configure
11714 (hardcoded_path_in_tests): New AC_SUBST.
11715 * configure: Regenerated.
11716 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11717 $(built-program-cmd) with $(test-program-cmd).
11718 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11719 (test_program_cmd): This.
11720 * elf/Makefile ($(objpfx)order.out): Run test with
11721 $(test-program-prefix).
11722 ($(objpfx)order2.out): Likewise.
11723 ($(objpfx)tst-initorder.out): Likewise.
11724 ($(objpfx)tst-initorder2.out): Likewise.
11725 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11726 $(test-program-cmd).
11727 ($(objpfx)tst-array1-static.out): Likewise.
11728 ($(objpfx)tst-array2.out): Likewise.
11729 ($(objpfx)tst-array3.out): Likewise.
11730 ($(objpfx)tst-array4.out): Likewise.
11731 ($(objpfx)tst-array5.out): Likewise.
11732 ($(objpfx)tst-array5-static.out): Likewise.
11733 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11734 $(test-program-cmd).
11735 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11736 $(run-program-prefix) with $(test-program-prefix).
11737 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11738 (test_program_prefix): This.
11739 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11740 $(run-program-prefix) with $(test-program-prefix).
11741 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11742 (test_program_prefix): This.
11743 * iconvdata/tst-tables.sh: Likewise.
11744 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11745 $(run-program-prefix) with $(test-program-prefix).
11746 ($(objpfx)tst-translit.out): Likewise.
11747 ($(objpfx)tst-gettext2.out): Likewise.
11748 ($(objpfx)tst-gettext4.out): Likewise.
11749 ($(objpfx)tst-gettext6.out): Likewise.
11750 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11751 (test_program_prefix): This.
11752 * intl/tst-gettext2.sh: Likewise.
11753 * intl/tst-gettext4.sh Likewise.
11754 * intl/tst-gettext6.sh: Likewise.
11755 * intl/tst-translit.sh: Likewise.
11756 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11757 with $(test-program-cmd).
11758 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11759 $(run-program-prefix) with $(test-program-prefix).
11760 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11761 (test_program_prefix): This.
11762 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11763 $(run-program-prefix) with $(test-program-prefix).
11764 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11765 (test_program_prefix): This.
11766 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11767 * posix/Makefile ($(objpfx)globtest.out): Replace
11768 $(run-via-rtld-prefix) and $(test-wrapper) with
11769 $(test-program-prefix) and $(test-via-rtld-prefix).
11770 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11771 $(test-program-prefix).
11772 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11773 $(host-test-program-cmd).
11774 (tst-spawn-ARGS): Likewise.
11775 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11776 $(test-program-prefix).
11777 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11778 (test_via_rtld_prefix): This.
11779 (test_wrapper): Renamed to ...
11780 (test_program_prefix): This.
11781 (run_program_prefix): Replaced by test_program_prefix.
11782 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11783 (test_program_prefix): This.
11784 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11785 with $(host-test-program-cmd).
11786 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11787 $(run-program-prefix) with $(test-program-prefix).
11788 ($(objpfx)tst-printf.out): Likewise.
11789 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11790 $(test-program-cmd).
11791 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11792 (test_program_prefix): This.
11793 * stdio-common/tst-unbputc.sh: Likewise.
11794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11795 $(run-program-prefix) with $(test-program-prefix).
11796 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11797 (test_program_prefix): This.
11798 * string/Makefile ($(objpfx)tst-svc.out): Replace
11799 $(built-program-cmd) with $(test-program-cmd).
11801 2013-01-11 Andreas Jaeger <aj@suse.de>
11804 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11805 value. Sync with Linux 3.7.
11807 2013-01-10 David S. Miller <davem@davemloft.net>
11809 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11810 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11811 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11813 2013-01-10 Roland McGrath <roland@hack.frob.com>
11815 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11817 * configure: Regenerated.
11819 2013-01-10 David S. Miller <davem@davemloft.net>
11821 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11822 sparc V9 rather than using V8 code.
11823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11826 2013-01-10 Roland McGrath <roland@hack.frob.com>
11828 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11829 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11830 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11831 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11832 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11833 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11834 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11835 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11836 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11837 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11838 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11839 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11840 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11841 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11842 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11843 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11844 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11845 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11846 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11847 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11848 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11849 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11850 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11851 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11852 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11853 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11854 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11856 2013-01-10 David S. Miller <davem@davemloft.net>
11858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11860 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11862 * posix/Makefile (tests-static): New variable.
11863 (tests): Add $(tests-static).
11864 (tst-exec-static-ARGS): New variable.
11865 (tst-spawn-static-ARGS): Likewise.
11866 * posix/tst-exec-static.c: New file.
11867 * posix/tst-spawn-static.c: Likewise.
11868 * posix/tst-exec.c: Support run directly.
11869 * posix/tst-spawn.c: Likewise.
11871 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11873 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11875 * math/bits/mathcalls.h (llrint): Likewise.
11876 (llround): Likewise.
11877 * stdlib/stdlib.h (struct drand48_data): Likewise.
11878 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11879 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11882 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11884 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11885 (elf_greg_t): Likewise.
11886 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11887 (__jmp_buf): Likewise.
11888 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11890 (llrint): Likewise, for all definitions.
11891 (llrintl): Likewise.
11893 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11894 Remove [__GNUC__] condition.
11895 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11896 condition to just [__USE_ISOC99].
11897 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11899 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11902 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11903 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11905 (_POSIX_V6_ILP32_OFF32): Likewise.
11906 (_XBS5_ILP32_OFF32): Likewise.
11907 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11908 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11910 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11912 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11915 doubles __mpexp_twomm1. Adjust usage.
11916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11919 2013-01-10 Andreas Schwab <schwab@suse.de>
11922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11923 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11925 2013-01-09 David S. Miller <davem@davemloft.net>
11928 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11929 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11930 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11931 TCP_FASTOPEN): Define.
11932 (tcp_repair_opt): New structure.
11933 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11935 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11936 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11937 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11938 (tcp_cookie_transactions): New structure.
11940 2013-01-09 Anton Blanchard <anton@samba.org>
11942 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11947 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11949 * include/features.h (__USE_ANSI): Remove.
11951 2013-01-09 Roland McGrath <roland@hack.frob.com>
11953 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11955 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11957 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11959 * sysdeps/s390/fpu/libm-test-ulps: Update.
11961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11963 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11967 (denorm): Likewise.
11968 (__mp_dbl): Likewise.
11969 (__dbl_mp): Likewise.
11970 (add_magnitudes): Likewise.
11971 (sub_magnitudes): Likewise.
11977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11981 (denorm): Likewise.
11982 (__mp_dbl): Likewise.
11983 (__dbl_mp): Likewise.
11984 (add_magnitudes): Likewise.
11985 (sub_magnitudes): Likewise.
11991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11995 (denorm): Likewise.
11996 (__mp_dbl): Likewise.
11997 (__dbl_mp): Likewise.
11998 (add_magnitudes): Likewise.
11999 (sub_magnitudes): Likewise.
12006 2013-01-08 Joseph Myers <joseph@codesourcery.com>
12008 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12009 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12010 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12011 2 && __USE_EXTERN_INLINES]: Likewise.
12013 2013-01-08 Andreas Jaeger <aj@suse.de>
12016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12018 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12019 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12021 2013-01-07 Anton Blanchard <anton@samba.org>
12023 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12024 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12025 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12026 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12027 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12029 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12035 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12041 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12042 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12043 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12044 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12046 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12047 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12048 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12049 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12050 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12052 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12053 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12056 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12057 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12059 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12065 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12067 2013-01-07 Joseph Myers <joseph@codesourcery.com>
12069 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12070 (__MALLOC_PMT): Likewise.
12071 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12072 [__GNUC__], only on [_LIBC].
12073 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12074 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12075 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12076 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12077 forward declaration.
12078 (realloc_hook_ini): Likewise.
12079 (memalign_hook_ini): Likewise.
12080 (__libc_memalign): Do not use __MALLOC_PMT in variable
12082 (__libc_valloc): Likewise.
12083 (__libc_pvalloc): Likewise.
12084 (__libc_calloc): Likewise.
12085 (__posix_memalign): Likewise.
12088 * math/s_casinh.c: Include <float.h>.
12089 (__casinh): Do not do computation with squaring and square root
12090 for large arguments.
12091 * math/s_casinhf.c: Include <float.h>.
12092 (__casinhf): Do not do computation with squaring and square root
12093 for large arguments.
12094 * math/s_casinhl.c: Include <float.h>.
12095 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12096 (__casinhl): Do not do computation with squaring and square root
12097 for large arguments.
12098 * math/libm-test.inc (casin_test): Add more tests.
12099 (casinh_test): Likewise.
12100 * sysdeps/i386/fpu/libm-test-ulps: Update.
12101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12103 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12106 (__x86_64_raw_data_cache_size): Likewise.
12107 (__x86_64_data_cache_size_half): Likewise.
12108 (__x86_64_raw_data_cache_size_half): Likewise.
12109 (__x86_64_shared_cache_size): Likewise.
12110 (__x86_64_raw_shared_cache_size): Likewise.
12111 (__x86_64_shared_cache_size_half): Likewise.
12112 (__x86_64_raw_shared_cache_size_half): Likewise.
12113 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12115 (__x86_data_cache_size): This.
12116 (__x86_64_raw_data_cache_size): Renamed to ...
12117 (__x86_raw_data_cache_size): This.
12118 (__x86_64_data_cache_size_half): Renamed to ...
12119 (__x86_data_cache_size_half): This.
12120 (__x86_64_raw_data_cache_size_half): Renamed to ...
12121 (__x86_raw_data_cache_size_half): This.
12122 (__x86_64_shared_cache_size): Renamed to ...
12123 (__x86_shared_cache_size): This.
12124 (__x86_64_raw_shared_cache_size): Renamed to ...
12125 (__x86_raw_shared_cache_size): This.
12126 (__x86_64_shared_cache_size_half): Renamed to ...
12127 (__x86_shared_cache_size_half): This.
12128 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12129 (__x86_raw_shared_cache_size_half): This.
12130 * sysdeps/x86_64/memcpy.S: Updated.
12131 * sysdeps/x86_64/memset.S: Likewise.
12132 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12136 2013-01-04 David S. Miller <davem@davemloft.net>
12138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12140 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12143 1 to avoid redefinition warning.
12144 (__USE_GNU): Don't define.
12145 (init_signaling_nan): Protoize.
12147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12149 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12151 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12153 (__cpymn): Likewise.
12154 (norm): Remove commented code.
12155 (denorm): Likewise.
12156 (__mp_dbl): Likewise.
12158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12159 (__cpymn): Likewise.
12160 (norm): Remove commented code.
12161 (denorm): Likewise.
12162 (__mp_dbl): Likewise.
12165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12166 mp_no value for 1.0 and 2.0.
12167 (norm): Use RADIXI instead of radixi.d.
12168 (denorm): Likewise.
12169 (__mul): Use 0.0 instead of zero.d.
12170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12171 mp_no value for 1.0 and 2.0.
12172 (norm): Use RADIXI instead of radixi.d.
12173 (denorm): Likewise.
12174 (__mul): Use 0.0 instead of zero.d.
12176 2013-01-04 Joseph Myers <joseph@codesourcery.com>
12179 * math/s_casinh.c (__casinh): Reduce finite argument to first
12180 quadrant then set signs of results at the end.
12181 * math/s_casinhf.c (__casinhf): Likewise.
12182 * math/s_casinhl.c (__casinhl): Likewise.
12183 * math/libm-test.inc (casin_test): Add more tests.
12184 (casinh_test): Likewise.
12185 * sysdeps/i386/fpu/libm-test-ulps: Update.
12186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12188 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12190 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12192 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12194 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12196 (denorm): Likewise.
12197 (__mp_dbl): Likewise.
12200 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12201 and adjust the header comment.
12203 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12204 variable name from declaration.
12206 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12209 Initialize COMMON_CPUID_INDEX_7 element.
12210 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12211 (CPUID_RTM): Likewise.
12212 (HAS_RTM): Likewise.
12213 (COMMON_CPUID_INDEX_7): New enum.
12215 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12218 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12219 size is zero, record memory as freed.
12221 2013-01-03 Andreas Jaeger <aj@suse.de>
12223 * po/ia.po: Add new Interlingua translation.
12225 2012-01-03 Allan McRae <allan@archlinux.org>
12227 * locale/programs/localedef.c: Fix description of '--posix' flag.
12229 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12231 * NEWS: Update dates in second copyright notice.
12232 * README: Update copyright dates in example.
12233 * manual/libc.texinfo: Update copyright dates.
12234 * scripts/test-installation.pl: Update copyright date in --version
12237 * hurd/ctty-input.c: Fix copyright notice formatting.
12238 * hurd/ctty-output.c: Likewise.
12239 * hurd/dtable.c: Likewise.
12240 * hurd/hurd-raise.c: Likewise.
12241 * hurd/hurdprio.c: Likewise.
12242 * hurd/msgportdemux.c: Likewise.
12243 * misc/sys/file.h: Likewise.
12244 * misc/sys/ioctl.h: Likewise.
12245 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12246 * sysdeps/mach/hurd/chdir.c: Likewise.
12247 * sysdeps/mach/hurd/fchdir.c: Likewise.
12248 * sysdeps/mach/hurd/rename.c: Likewise.
12249 * sysdeps/mach/hurd/rmdir.c: Likewise.
12250 * sysdeps/mach/hurd/seekdir.c: Likewise.
12251 * sysdeps/mach/hurd/setsid.c: Likewise.
12252 * sysdeps/posix/wait3.c: Likewise.
12254 * All files with FSF copyright notices: Update copyright dates
12255 using scripts/update-copyrights.
12256 * intl/plural.c: Regenerated.
12257 * locale/programs/charmap-kw.h: Likewise.
12258 * locale/programs/locfile-kw.h: Likewise.
12260 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12262 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12266 calculation loop and add branch prediction.
12268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12269 check access beyond bounds of m1np.
12271 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12273 (__inv): Remove local variable MPTWO to use the global
12275 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12279 MP3HALFS static const.
12281 2013-01-01 David S. Miller <davem@davemloft.net>
12283 * po/ca.po: Update from translation team.
12285 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12287 * scripts/update-copyrights: New file.
12288 * Makeconfig: Reformat copyright notice.
12289 * ctype/ctype.h: Likewise.
12290 * debug/swprintf_chk.c: Likewise.
12291 * elf/dl-cache.c: Likewise.
12292 * elf/dl-debug.c: Likewise.
12293 * elf/dl-object.c: Likewise.
12294 * grp/initgroups.c: Likewise.
12295 * hurd/Makefile: Likewise.
12296 * hurd/hurd/signal.h: Likewise.
12297 * hurd/hurdfault.c: Likewise.
12298 * hurd/hurdioctl.c: Likewise.
12299 * hurd/hurdlookup.c: Likewise.
12300 * hurd/intr-msg.c: Likewise.
12301 * iconv/gconv_open.c: Likewise.
12302 * libio/swprintf.c: Likewise.
12303 * locale/lc-ctype.c: Likewise.
12304 * locale/nl_langinfo.c: Likewise.
12305 * mach/Machrules: Likewise.
12306 * mach/Makefile: Likewise.
12307 * malloc/obstack.h: Likewise.
12308 * manual/Makefile: Likewise.
12309 * manual/tsort.awk: Likewise.
12310 * misc/bits/stab.def: Likewise.
12311 * nis/nis_print_group_entry.c: Likewise.
12312 * nis/nis_table.c: Likewise.
12313 * nis/nss_compat/compat-pwd.c: Likewise.
12314 * nis/nss_compat/compat-spwd.c: Likewise.
12315 * po/Makefile: Likewise.
12316 * posix/fnmatch.c: Likewise.
12317 * posix/regex.h: Likewise.
12318 * resolv/Makefile: Likewise.
12319 * resolv/nss_dns/dns-network.c: Likewise.
12320 * resolv/res_hconf.c: Likewise.
12321 * scripts/gen-sorted.awk: Likewise.
12322 * soft-fp/soft-fp.h: Likewise.
12323 * stdio-common/printf.h: Likewise.
12324 * stdlib/monetary.h: Likewise.
12325 * stdlib/random.c: Likewise.
12326 * stdlib/random_r.c: Likewise.
12327 * sysdeps/generic/Makefile: Likewise.
12328 * sysdeps/gnu/Makefile: Likewise.
12329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12341 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12353 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12355 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12357 * sysdeps/mach/hurd/errnos.awk: Likewise.
12358 * sysdeps/mach/hurd/fork.c: Likewise.
12359 * sysdeps/mach/hurd/getcwd.c: Likewise.
12360 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12361 * sysdeps/mach/hurd/mmap.c: Likewise.
12362 * sysdeps/mach/hurd/utimes.c: Likewise.
12363 * sysdeps/mach/hurd/xmknod.c: Likewise.
12364 * sysdeps/posix/profil.c: Likewise.
12365 * sysdeps/posix/readdir_r.c: Likewise.
12366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12367 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12368 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12369 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12375 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12377 * sysdeps/pthread/lio_listio.c: Likewise.
12378 * sysdeps/sparc/dl-procinfo.h: Likewise.
12379 * sysdeps/unix/i386/sysdep.S: Likewise.
12380 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12381 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12382 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12383 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12385 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12386 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12387 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12388 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12389 * sysdeps/wordsize-32/divdi3.c: Likewise.
12390 * time/sys/time.h: Likewise.
12391 * wcsmbs/Makefile: Likewise.
12393 2013-01-01 David S. Miller <davem@davemloft.net>
12395 * po/fr.po: Update from translation team.
12397 * catgets/gencat.c: Update copyright year.
12398 * csu/version.c: Likewise.
12399 * debug/catchsegv.sh: Likewise.
12400 * debug/pcprofiledump.c: Likewise.
12401 * debug/xtrace.sh: Likewise.
12402 * elf/ldconfig.c: Likewise.
12403 * elf/ldd.bash.in: Likewise.
12404 * elf/pldd.c: Likewise.
12405 * elf/sotruss.ksh: Likewise.
12406 * elf/sprof.c: Likewise.
12407 * iconv/iconv_prog.c: Likewise.
12408 * iconv/iconvconfig.c: Likewise.
12409 * locale/programs/locale.c: Likewise.
12410 * locale/programs/localedef.c: Likewise.
12411 * login/programs/pt_chown.c: Likewise.
12412 * malloc/memusage.sh: Likewise.
12413 * malloc/memusagestat.c: Likewise.
12414 * malloc/mtrace.pl: Likewise.
12415 * nscd/nscd.c: Likewise.
12416 * nss/getent.c: Likewise.
12417 * nss/makedb.c: Likewise.
12418 * posix/getconf.c: Likewise.
12420 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12422 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12425 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12427 * math/bits/mathcalls.h (modf): Use __nonnull.
12429 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12431 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12432 (split): Use macro CN instead of the bare value.
12433 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12435 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12436 instead of the bare value.
12437 (power1): Likewise.
12439 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12441 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12445 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12448 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12449 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12450 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12452 2012-12-28 Andreas Jaeger <aj@suse.de>
12454 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12455 values are from Linux 3.7.
12457 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12458 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12460 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12462 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12467 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12468 variables with preprocessor constants.
12469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12470 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12473 2012-12-27 Bruno Haible <bruno@clisp.org>
12476 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12479 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12482 and use variable directly.
12483 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12485 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12490 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12492 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12493 include directive. Remove local variable MPONE.
12494 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12495 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12498 2012-12-25 David S. Miller <davem@davemloft.net>
12500 * version.h (RELEASE): Set to "development".
12501 (VERSION): Set to "2.17.90".
12502 * NEWS: Add 2.18 section.
12504 2012-12-21 David S. Miller <davem@davemloft.net>
12506 * po/hr.po: Update from translation team.
12508 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12510 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12512 2012-12-19 Steve Ellcey <sellcey@mips.com>
12514 * NEWS: Mention new memcpy for MIPS.
12516 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12518 * manual/contrib.texi (Contributors): Spelling correction.
12520 2012-12-15 David S. Miller <davem@davemloft.net>
12522 * po/ru.po: Update from translation team.
12524 2012-12-13 David S. Miller <davem@davemloft.net>
12526 * NEWS: Mention IFUNC testsuite enhancements.
12528 * po/pl.po: Update from translation team.
12529 * po/bg.po: Likewise.
12531 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12532 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12534 2012-12-11 David S. Miller <davem@davemloft.net>
12536 * po/sv.po: Update from translation team.
12538 * po/vi.po: Update from translation team.
12540 * po/cs.po: Update from translation team.
12542 * po/de.po: Update from translation team.
12543 * po/eo.po: Likewise.
12544 * po/nl.po: Likewise.
12546 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12549 * manual/argp.texi (Argp Helper Functions): Move node to follow
12550 Argp Parsing State.
12553 * manual/conf.texi (Limits on File System Capacity): Mention if
12554 terminating null is included in the max size.
12556 2012-12-10 Andreas Jaeger <aj@suse.de>
12558 * po/cs.po: Update from translation team.
12560 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12562 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12563 void pointer and cast to uintptr_t.
12564 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12566 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12567 * sysdeps/s390/s390-64/memset.S: Likewise.
12569 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12572 * menual/message.texi (Message Translation): Fix typos.
12573 (Helper programs for gettext): Likewise.
12575 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12578 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12581 2012-12-07 David S. Miller <davem@davemloft.net>
12583 * po/libc.pot: Update.
12585 2012-12-07 Richard Henderson <rth@redhat.com>
12588 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12589 normal/normal case to before the switch.
12590 (_FP_DIV): Likewise.
12592 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12593 Mike Frysinger <vapier@gentoo.org>
12595 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12596 check for __NR_fadvise64_64.
12598 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12600 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12601 0, not just to plain "0" as a statement.
12602 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12605 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12607 * NEWS: Use sourceware.org in Bugzilla URL.
12609 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12612 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12614 * stdio-common/tst-put-error.c (do_test): Add newline to the
12615 padded test to ensure flush.
12617 2012-12-05 Jeff Law <law@redhat.com>
12619 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12621 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12623 * README: Don't refer to ports add-on as distributed separately.
12624 Mention AArch64 in list of systems supported in the ports add-on.
12626 * LICENSES: Add more non-FSF copyright and license notices.
12628 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12631 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12633 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12634 10000 as width of padded output.
12636 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12638 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12641 variable LX with __attribute__ ((unused)).
12642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12644 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12647 with __attribute__ ((unused)).
12649 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12651 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12653 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12655 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12656 (CFLAGS-nldbl-acos.c): New variable.
12657 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12658 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12659 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12660 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12661 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12662 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12663 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12664 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12665 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12666 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12667 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12668 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12669 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12670 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12671 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12672 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12673 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12674 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12675 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12676 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12677 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12678 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12679 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12680 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12681 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12682 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12683 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12684 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12685 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12686 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12687 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12688 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12689 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12690 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12691 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12692 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12693 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12694 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12695 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12696 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12697 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12698 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12699 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12700 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12701 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12702 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12703 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12704 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12705 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12706 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12707 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12708 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12709 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12710 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12711 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12712 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12713 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12714 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12715 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12716 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12717 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12718 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12719 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12720 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12721 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12722 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12723 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12724 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12725 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12726 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12727 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12728 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12729 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12730 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12731 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12732 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12733 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12734 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12735 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12736 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12737 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12738 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12739 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12740 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12741 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12742 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12743 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12744 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12745 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12746 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12747 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12748 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12749 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12750 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12751 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12752 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12753 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12756 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12760 whole low double instead of just low 47 bits when splitting values
12763 2012-12-03 Allan McRae <allan@archlinux.org>
12765 * manual/stdio.texi (Predefined Printf Handlers): Remove
12766 @hsep and @vsep usage.
12768 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12770 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12771 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12773 2012-12-03 Jeff Law <law@redhat.com>
12775 * time/sys/time.h (settimeofday): Do not mark TV argument
12778 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12780 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12781 when currently writing and seek to current position when not.
12782 * libio/Makefile (tests): Remove bug-fclose1.
12783 * libio/bug-fclose1.c: Delete.
12785 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12787 * manual/arith.texi (feenableexcept): Fix typo.
12788 (fedisableexcept): Likewise.
12790 2012-11-30 Roland McGrath <roland@hack.frob.com>
12792 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12793 second, differently-typed declaration, rather than a cast.
12795 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12797 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12798 * include/rpc/svc.h: ... here.
12800 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12803 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12804 depending n and resplen2 to catch cases where answer
12807 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12809 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12810 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12812 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12816 2012-11-29 Roland McGrath <roland@hack.frob.com>
12818 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12820 2012-11-28 Jeff Law <law@redhat.com>
12823 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12824 dataset_temporary. Track alloca usage into alloca_used.
12825 If dataset is large allocate and release it via malloc/free.
12827 2012-06-04 Florian Weimer <fweimer@redhat.com>
12830 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12832 2012-11-28 David S. Miller <davem@davemloft.net>
12834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12836 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12839 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12840 of pi/2 rounded to nearest to 64 bits.
12841 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12842 nearest to 64 bits.
12843 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12846 2012-11-28 Jeff Law <law@redhat.com>
12847 Martin Osvald <mosvald@redhat.com>
12850 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12851 * sunrpc/svc.c: Include time.h.
12852 (__svc_accept_failed): New function.
12853 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12854 any reason other than EINTR, call __svc_accept_failed.
12855 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12856 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12858 2012-11-28 Andreas Schwab <schwab@suse.de>
12860 * scripts/abilist.awk: Also handle indirect functions in .opd
12863 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12866 * sysdeps/x86/fpu/powl_helper.c: New file.
12867 * sysdeps/x86/fpu/Makefile: Likewise.
12868 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12870 (__ieee754_powl): Use __powl_helper for finite arguments except
12871 integer exponents below 8.
12872 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12874 (__ieee754_powl): Use __powl_helper for finite arguments except
12875 integer exponents below 8.
12876 * math/libm-test.inc (pow_test): Add more tests and enable some
12877 previously disabled tests.
12878 * sysdeps/i386/fpu/libm-test-ulps: Update.
12879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12881 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12882 Carlos O'Donell <carlos_odonell@mentor.com>
12884 * nss/makedb.c (is_prime): Assert that input is odd and greater
12885 than 4. Note that fact in a comment too.
12886 (next_prime): Add 4 to input.
12888 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12891 * libio/Makefile (tests): Add test case tst-fwrite-error.
12892 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12893 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12894 * libio/tst-fwrite-error.c: New test case.
12896 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12898 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12899 before casting to void *.
12900 * include/libc-internal.h (__pointer_type): New macro.
12901 (__integer_if_pointer_type_sub): Likewise.
12902 (__integer_if_pointer_type): Likewise.
12903 (cast_to_integer): Likewise.
12904 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12905 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12906 before casting to atomic64_t.
12907 (atomic_exchange_acq): Likewise.
12908 (__arch_exchange_and_add_body): Likewise.
12909 (__arch_add_body): Likewise.
12910 (atomic_add_negative): Likewise.
12911 (atomic_add_zero): Likewise.
12913 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12915 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12916 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12917 (add_fdes): Likewise.
12918 (linear_search_fdes): Likewise.
12919 (binary_search_unencoded_fdes): Likewise.
12921 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12923 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12925 2012-11-24 Adam Conrad <adconrad@0c3.net>
12927 * configure.in: Autodetect C++ header directories.
12928 * configure: Regenerated.
12930 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12932 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12934 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12938 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12940 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12941 LDBL_MANT_DIG == 106]: Disable some tests.
12942 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12944 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12949 input for small inputs. Return +/- pi/2 for large inputs.
12950 * math/libm-test.inc (atan_test): Add more tests.
12952 * sysdeps/generic/unwind-dw2-fde-glibc.c
12953 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12954 __attribute__ ((unused)).
12957 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12958 x * y if x and y are nonzero and z is zero.
12961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12962 nonzero exponents with absolute value below 0x1p-117 to +/-
12966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12967 up arguments below 2**-450, not just those below 2**-500.
12968 * math/libm-test.inc (hypot_test): Add another test.
12971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12972 Return a+b for ratio over 2**120, not 2**60.
12973 * math/libm-test.inc (hypot_test): Add another test.
12975 * math/libm-test.inc (clog_test): Use
12976 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12977 (clog10_test): Likewise.
12980 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12982 2012-11-22 Andreas Schwab <schwab@suse.de>
12984 * sysdeps/i386/fpu/libm-test-ulps: Update.
12986 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12988 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12989 printf output with newline.
12991 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12994 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12995 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12996 -z nodlopen, -z initfirst and -z execstack support.
12997 * configure: Regenerated.
12999 * elf/elf.h (DF_1_NODIRECT): New macro.
13000 (DF_1_IGNMULDEF): Likewise.
13001 (DF_1_NOKSYMS): Likewise.
13002 (DF_1_NOHDR): Likewise.
13003 (DF_1_EDITED): Likewise.
13004 (DF_1_NORELOC): Likewise.
13005 (DF_1_SYMINTPOSE): Likewise.
13006 (DF_1_GLOBAUDIT): Likewise.
13007 (DF_1_SINGLETON): Likewise.
13008 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13009 DT_1_SUPPORTED_MASK bits.
13010 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13012 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13014 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13016 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13018 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13021 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13022 (sendmmsg): Move declarations...
13023 * socket/sys/socket.h: ... here.
13024 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13025 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13027 * socket/recvmmsg.c: ... this new file.
13028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13029 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13030 definition of __sendmmsg hidden.
13031 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13032 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13033 Move ENOSYS stub into and include it from...
13034 * socket/sendmmsg.c: ... this new file.
13035 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13036 (sysdep_routines): Move recvmmsg and sendmmsg...
13037 * socket/Makefile (routines): ... here.
13038 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13039 (GLIBC_PRIVATE): Add __sendmmsg.
13040 * include/sys/socket.h (__sendmmsg): Add declarations.
13041 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13044 2012-11-20 Joseph Myers <joseph@codesourcery.com>
13046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13047 variable I1 with __attribute__ ((unused)).
13048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13050 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13052 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13053 DUMMY variables with __attribute__ ((unused)).
13055 * bits/byteswap.h: Include <bits/types.h>.
13056 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13058 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13060 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13061 string_t. Do not manually set errno.
13062 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13063 length with __strnlen. Make sure to both set errno and return it on
13066 2012-11-19 David S. Miller <davem@davemloft.net>
13068 With help from Joseph Myers.
13069 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13070 very large arguments properly.
13071 * math/libm-test.inc (atan_test): New tests.
13072 (atan2_test): New tests.
13073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13076 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13079 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13082 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13083 [POSIX] (EADDRNOTAVAIL): Likewise.
13084 [POSIX] (EAFNOSUPPORT): Likewise.
13085 [POSIX] (EALREADY): Likewise.
13086 [POSIX] (ECONNABORTED): Likewise.
13087 [POSIX] (ECONNREFUSED): Likewise.
13088 [POSIX] (ECONNRESET): Likewise.
13089 [POSIX] (EDESTADDRREQ): Likewise.
13090 [POSIX] (EDQUOT): Likewise.
13091 [POSIX] (EHOSTUNREACH): Likewise.
13092 [POSIX] (EIDRM): Likewise.
13093 [POSIX] (EISCONN): Likewise.
13094 [POSIX] (ELOOP): Likewise.
13095 [POSIX] (EMULTIHOP): Likewise.
13096 [POSIX] (ENETDOWN): Likewise.
13097 [POSIX] (ENETUNREACH): Likewise.
13098 [POSIX] (ENOBUFS): Likewise.
13099 [POSIX] (ENODATA): Likewise.
13100 [POSIX] (ENOLINK): Likewise.
13101 [POSIX] (ENOMSG): Likewise.
13102 [POSIX] (ENOPROTOOPT): Likewise.
13103 [POSIX] (ENOSR): Likewise.
13104 [POSIX] (ENOSTR): Likewise.
13105 [POSIX] (ENOTCONN): Likewise.
13106 [POSIX] (ENOTSOCK): Likewise.
13107 [POSIX] (EOPNOTSUPP): Likewise.
13108 [POSIX] (EOVERFLOW): Likewise.
13109 [POSIX] (EPROTO): Likewise.
13110 [POSIX] (EPROTONOSUPPORT): Likewise.
13111 [POSIX] (EPROTOTYPE): Likewise.
13112 [POSIX] (ESTALE): Likewise.
13113 [POSIX] (ETIME): Likewise.
13114 [POSIX] (ETXTBSY): Likewise.
13115 [POSIX] (EWOULDBLOCK): Likewise.
13116 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13117 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13118 [POSIX] (SEEK_CUR): Likewise.
13119 [POSIX] (SEEK_END): Likewise.
13120 [POSIX || UNIX98] (mode_t): Do not require.
13121 [POSIX] (off_t): Likewise.
13122 [POSIX] (pid_t): Likewise.
13123 [POSIX] (sys/stat.h): Do not allow header.
13124 [POSIX] (unistd.h): Likewise.
13125 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13126 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13127 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13128 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13130 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13131 sigevent): Specify elements.
13132 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13134 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13135 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13137 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13138 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13139 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13140 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13141 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13142 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13143 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13144 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13145 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13146 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13147 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13148 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13149 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13159 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13160 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13162 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13163 Specify lower bound on value.
13164 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13165 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13166 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13167 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13168 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13170 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13171 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13173 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13176 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13177 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13178 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13179 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13180 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13181 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13182 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13183 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13184 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13185 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13186 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13187 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13188 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13189 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13190 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13192 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13194 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13195 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13196 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13197 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13198 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13202 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13203 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13204 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13205 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13206 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13210 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13212 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13213 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13214 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13215 specify as optional.
13216 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13217 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13218 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13219 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13220 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13221 [XPG3] (NL_LANGMAX): Likewise.
13222 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13223 [POSIX || XPG3] (NL_NMAX): Likewise.
13224 [POSIX || XPG3] (NL_SETMAX): Likewise.
13225 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13226 [XPG3] (NZERO): Likewise.
13227 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13228 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13229 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13230 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13231 (REG_ERANGE): Expect.
13232 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13234 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13235 Use (void) in prototype.
13236 [POSIX] (*_t): Allow.
13237 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13238 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13239 (WRDE_BADVAL): Expect.
13241 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13243 [XPG3 || XPG4] (O_RSYNC): Likewise.
13244 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13246 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13247 [XPG3 || XPG4] (sigqueue): Likewise.
13248 [XPG3 || XPG4] (sigtimedwait): Likewise.
13249 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13250 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13251 [XPG3 || XPG4] (vsnprintf): Likewise.
13252 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13254 [XPG3 || XPG4] (blksize_t): Likewise.
13255 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13257 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13258 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13259 [XPG3 || XPG4] (struct itimerspec): Likewise.
13260 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13261 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13262 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13263 [XPG3 || XPG4] (clockid_t): Likewise.
13264 [XPG3 || XPG4] (timer_t): Likewise.
13265 [XPG3 || XPG4] (clock_getres): Likewise.
13266 [XPG3 || XPG4] (clock_gettime): Likewise.
13267 [XPG3 || XPG4] (clock_settime): Likewise.
13268 [XPG3 || XPG4] (nanosleep): Likewise.
13269 [XPG3 || XPG4] (timer_create): Likewise.
13270 [XPG3 || XPG4] (timer_delete): Likewise.
13271 [XPG3 || XPG4] (timer_gettime): Likewise.
13272 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13273 [XPG3 || XPG4] (timer_settime): Likewise.
13274 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13275 [XPG3 || XPG4] (getlogin_r): Likewise.
13276 [XPG3 || XPG4] (pread): Likewise.
13277 [XPG3 || XPG4] (pthread_atfork): Likewise.
13278 [XPG3 || XPG4] (pwrite): Likewise.
13281 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13284 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13286 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13287 finalizing MALLSTREAM.
13289 * sysdeps/mach/hurd/syncfs.c: New file.
13291 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13294 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13295 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13296 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13297 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13298 (_nss_dns_gethostbyname4_r): Likewise.
13299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13300 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13302 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13305 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13307 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13309 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13310 * elf/cache.c (print_entry): Print ",AArch64" for
13313 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13314 * elf/cache.c (print_entry): Print ",hard-float" for
13317 2012-11-18 David S. Miller <davem@davemloft.net>
13319 With help from Joseph Myers.
13320 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13322 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13324 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13325 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13328 * math/libm-test.inc (y0_test): New tests.
13329 (y1_test): New tests.
13330 * sysdeps/i386/fpu/libm-test-ulps: Update.
13331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13334 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13336 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13338 * configure: Regenerated.
13340 2012-11-17 David S. Miller <davem@davemloft.net>
13343 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13344 nonzero exponents with absolute value below 0x1p-128 to +/-
13347 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13349 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13351 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13353 * posix/getconf-speclist.c: New file.
13354 * posix/posix-envs.def: Likewise.
13355 * posix/confstr.c (START_ENV_GROUP): New macro.
13356 (END_ENV_GROUP): Likewise.
13357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13358 (KNOWN_PRESENT_ENV_STRING): Likewise.
13359 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13360 (UNKNOWN_ENVIRONMENT): Likewise.
13361 (confstr): Include posix-envs.def instead of handling
13362 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13363 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13364 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13365 (END_ENV_GROUP): Likewise.
13366 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13367 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13368 (UNKNOWN_ENVIRONMENT): Likewise.
13369 (__sysconf): Include posix-envs.def instead of handling associated
13370 cases directly here.
13371 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13372 preprocessing getconf-speclist.c rather than running getconf or
13373 generating empty file.
13375 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13377 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13379 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13382 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13384 2012-11-16 David S. Miller <davem@davemloft.net>
13386 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13387 smaller than LDBL_EPSILON/2.0L, just return xm1.
13389 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13391 * elf/tst-array1.c (init): Set constructor priority to 1000.
13392 (fini): Set destructor priority to 1000.
13393 * elf/tst-array2dep.c: Likewise.
13395 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13398 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13399 (_IO_new_file_xsputn): Also return EOF if none of the input
13400 data was written when overflow failed.
13401 * libio/iopadn.c (_IO_padn): Likewise.
13402 * libio/iowpadn.c (_IO_wpadn): Likewise.
13403 * stdio-common/tst-put-error.c: Add copyright notice.
13404 (do_test): Add case for printing padded string.
13405 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13406 _IO_padn returned error.
13407 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13408 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13411 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13413 * libio/libioP.h: Add comment note that the references to C++
13414 bits are now obsolete.
13416 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13418 * math/libm-test.inc (check_complex): Use asprintf.
13420 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13422 * debug/pcprofiledump.c (print_version): Update copyright year.
13423 * malloc/memusagestat.c (print_version): Likewise.
13425 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13428 * elf/Makefile (tests): Add tst-audit8.
13429 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13430 ($(objpfx)tst-audit8.out): New target.
13431 (tst-audit8-ENV): New variable.
13432 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13433 audit if l_reloc_result is NULL.
13434 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13435 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13436 * elf/tst-audit8.c: New file.
13438 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13440 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13441 * misc/Makefile (CFLAGS-select.c): Define.
13442 * posix/Makefile (CFLAGS-pause.c): Define.
13444 2012-11-13 David S. Miller <davem@davemloft.net>
13446 * crypt/Makefile: Move test targets after toplevel Rules
13447 inclusion. Grab any necessary sysdep routines when linking.
13448 * crypt/md5.c (md5_process_block): Remove define, we will always
13449 name it __md5_process_block.
13450 (md5_finish_ctx): Update md5_process_block call.
13451 (md5_stream): Likewise.
13452 (md5_process_bytes): Likewise.
13453 (md5_process_block): Rename to __md5_process_block and move to ...
13454 * crypt/md5-block.c: ... here.
13455 * crypt/sha256.c (sha256_process_block): Move to ...
13456 * crypt/sha256-block.c: ... here.
13457 * crypt/sha512.c (sha512_process_block): Move to ...
13458 * crypt/sha512-block.c: ... here.
13459 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13461 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13462 * sysdeps/sparc/sparc64/multiarch/Makefile
13463 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13465 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13468 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13469 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13470 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13471 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13472 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13473 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13474 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13475 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13483 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13485 * timezone/tzselect.ksh: Update from tzcode git revision
13486 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13487 * timezone/zdump.c: Likewise.
13488 * timezone/zic.c: Likewise.
13489 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13490 in TZVERSION setting, not $(PKGVERSION).
13491 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13492 REPORT_BUGS_TO settings.
13495 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13498 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13501 detection to immediately after _FP_ROUND().
13502 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13505 2012-11-11 David S. Miller <davem@davemloft.net>
13507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13509 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13510 __close rather than their public counterparts.
13512 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13514 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13516 [UNIX98] (sem_timedwait): Do not expect.
13517 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13518 [XPG4 || UNIX98] (sockatmark): Do not expect.
13519 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13520 (clock_getcpuclockid): Do not expect.
13521 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13522 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13524 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13525 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13526 [UNIX98] (vwscanf): Likewise.
13527 [UNIX98] (vswscanf): Likewise.
13529 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13531 * timezone/version.h: Remove file.
13532 * timezone/README: Do not refer to version.h.
13533 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13534 $(objpfx)version.h.
13535 ($(objpfx)zdump.o): Likewise.
13536 ($(objpfx)version.h): New target.
13538 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13540 * timezone/README: Don't mention modification to tzselect.ksh.
13541 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13542 work on unmodified tzselect.ksh. Substitute version numbers in
13545 * Makefile (format-me): Remove.
13546 (INSTALL): Adjust indentation. Use commands directly instead of
13547 using $(format-me).
13549 * aclocal.m4 (ACX_PKGVERSION): New macro.
13550 (ACX_BUGURL): Likewise.
13551 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13552 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13553 (REPORT_BUGS_TO): Likewise.
13554 * configure: Regenerated.
13555 * config.h.in (PKGVERSION): New macro.
13556 (REPORT_BUGS_TO): Likewise.
13557 * config.make.in (PKGVERSION): New variable.
13558 (PKGVERSION_TEXI): Likewise.
13559 (REPORT_BUGS_TO): Likewise.
13560 (REPORT_BUGS_TEXI): Likewise.
13561 * Makefile (format-me): Use -I$(common-objpfx)manual.
13562 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13563 ($(common-objpfx)manual/%): New target.
13564 (manual/%): Remove target.
13565 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13566 (print_version): Use PKGVERSION.
13567 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13568 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13569 and REPORT_BUGS_TO.
13570 ($(objpfx)xtrace): Likewise.
13571 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13572 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13573 (print_version): Use PKGVERSION.
13574 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13575 (do_version): Use PKGVERSION.
13576 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13578 (common-ldd-rewrite): Likewise.
13579 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13580 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13581 (print_version): Use PKGVERSION.
13582 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13583 * elf/pldd.c (argp_program_bug_address): Remove variable.
13584 (more_help): New function.
13585 (argp): Use more_help.
13586 (print_version): Use PKGVERSION.
13587 * elf/sln.c (main): Use PKGVERSION.
13588 (usage): Use REPORT_BUGS_TO.
13589 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13590 (top level): Use PKGVERSION.
13591 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13592 (print_version): Use PKGVERSION.
13593 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13594 (print_version): Use PKGVERSION.
13595 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13596 (print_version): Use PKGVERSION.
13597 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13598 (print_version): Use PKGVERSION.
13599 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13600 (print_version): Use PKGVERSION.
13601 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13602 (print_version): Use PKGVERSION.
13603 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13605 ($(objpfx)memusage): Likewise.
13606 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13607 (do_version): Use PKGVERSION.
13608 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13609 (print_version): Use PKGVERSION.
13610 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13611 ($PKGVERSION): New variable.
13612 ($REPORT_BUGS_TO): Likewise.
13613 (usage): Use $REPORT_BUGS_TO.
13614 (top level): Use $PKGVERSION.
13615 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13616 ($(objpfx)pkgvers.texi): New rule.
13617 ($(objpfx)stamp-pkgvers): Likewise.
13618 * manual/install.texi: Include pkgvers.texi.
13619 (--with-pkgversion): Document new configure option.
13620 (--with-bugurl): Likewise.
13621 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13622 than necessarily for this particular distribution. Use
13623 REPORT_BUGS_TO for where to report bugs.
13624 * INSTALL: Regenerated.
13625 * manual/libc.texinfo: Include pkgvers.texi.
13626 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13627 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13628 (print_version): Use PKGVERSION.
13629 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13630 (print_version): Use PKGVERSION.
13631 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13632 (print_version): Use PKGVERSION.
13633 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13634 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13636 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13637 (print_version): Use PKGVERSION.
13638 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13639 (print_version): Use PKGVERSION.
13640 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13643 * timezone/checktab.awk: Update from tzcode 2012i.
13644 * timezone/ialloc.c: Likewise.
13645 * timezone/private.h: Likewise.
13646 * timezone/scheck.c: Likewise.
13647 * timezone/tzfile.h: Likewise.
13648 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13649 (TZVERSION): Hardcode tzcode version number.
13650 * timezone/zdump.c: Update from tzcode 2012i.
13651 * timezone/zic.c: Likewise.
13652 * timezone/version.h: New file.
13653 * timezone/README: Describe version.h. Update upstream location.
13656 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13657 (mktemp): Enable declaration.
13658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13675 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13676 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13677 for copies of such integer values.
13678 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13679 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13681 2012-11-09 Andreas Jaeger <aj@suse.de>
13683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13684 definitions and declarations that are provided by
13685 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13687 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13689 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13690 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13691 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13694 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13696 * elf/elf.h: Update comment before AArch64 relocations.
13698 2012-11-07 David S. Miller <davem@davemloft.net>
13700 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13701 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13702 (__start_context): Declare.
13703 (__makecontext_ret): Delete.
13704 (__makecontext): Hook up __start_context instead of
13706 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13707 (sysdep_routines): Add __start_context when in stdlib.
13709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13711 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13712 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13713 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13715 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13716 (READELF): New variable. Use it instead of hardcoded "readelf".
13718 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13720 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13721 * sysdeps/x86/Makefile: Here.
13722 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13723 * sysdeps/x86/tst-xmmymm.sh: This.
13725 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13727 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13729 [UNIX98] (pthread_barrier_t): Do not expect.
13730 [UNIX98] (pthread_barrierattr_t): Likewise.
13731 [UNIX98] (pthread_spinlock_t): Likewise.
13732 [UNIX98] (pthread_barrier_destroy): Likewise.
13733 [UNIX98] (pthread_barrier_init): Likewise.
13734 [UNIX98] (pthread_barrier_wait): Likewise.
13735 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13736 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13737 [UNIX98] (pthread_barrierattr_init): Likewise.
13738 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13739 [UNIX98] (pthread_getcpuclockid): Likewise.
13740 [UNIX98] (pthread_mutex_timedlock): Likewise.
13741 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13742 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13743 [UNIX98] (pthread_sigmask): Likewise.
13744 [UNIX98] (pthread_spin_destroy): Likewise.
13745 [UNIX98] (pthread_spin_init): Likewise.
13746 [UNIX98] (pthread_spin_lock): Likewise.
13747 [UNIX98] (pthread_spin_trylock): Likewise.
13748 [UNIX98] (pthread_spin_unlock): Likewise.
13749 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13751 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13753 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13754 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13755 [XPG3 || XPG4] (pthread_key_t): Likewise.
13756 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13757 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13758 [XPG3 || XPG4] (pthread_once_t): Likewise.
13759 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13760 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13762 [XPG3 || XPG4] (pthread_t): Likewise.
13764 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13766 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13768 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13769 Change function return type to int.
13771 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13772 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13773 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13774 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13775 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13776 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13777 [!POSIX] (posix_madvise): Likewise.
13778 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13780 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13781 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13782 (mode_t): Likewise.
13783 (posix_mem_offset): Likewise.
13784 (posix_typed_mem_get_info): Likewise.
13785 (posix_typed_mem_open): Likewise.
13787 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13788 Change condition to [XOPEN2K8].
13790 * conform/conformtest.pl: Preprocess allow-header data with -x c
13791 instead of from stdin.
13792 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13793 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13794 [C99-based standards] (cerfc): Likewise.
13795 [C99-based standards] (cexp2): Likewise.
13796 [C99-based standards] (cexpm1): Likewise.
13797 [C99-based standards] (clog10): Likewise.
13798 [C99-based standards] (clog1p): Likewise.
13799 [C99-based standards] (clog2): Likewise.
13800 [C99-based standards] (clgamma): Likewise.
13801 [C99-based standards] (ctgamma): Likewise.
13802 [C99-based standards] (cerff): Likewise.
13803 [C99-based standards] (cerfcf): Likewise.
13804 [C99-based standards] (cexp2f): Likewise.
13805 [C99-based standards] (cexpm1f): Likewise.
13806 [C99-based standards] (clog10f): Likewise.
13807 [C99-based standards] (clog1pf): Likewise.
13808 [C99-based standards] (clog2f): Likewise.
13809 [C99-based standards] (clgammaf): Likewise.
13810 [C99-based standards] (ctgammaf): Likewise.
13811 [C99-based standards] (cerfl): Likewise.
13812 [C99-based standards] (cerfcl): Likewise.
13813 [C99-based standards] (cexp2l): Likewise.
13814 [C99-based standards] (cexpm1l): Likewise.
13815 [C99-based standards] (clog10l): Likewise.
13816 [C99-based standards] (clog1pl): Likewise.
13817 [C99-based standards] (clog2l): Likewise.
13818 [C99-based standards] (clgammal): Likewise.
13819 [C99-based standards] (ctgammal): Likewise.
13820 * conform/data/inttypes.h-data [C99-based standards]: Include
13821 stdint.h-data. Remove all expectations for stdint.h contents.
13822 [C99-based standards] (PRI*): Do not allow.
13823 [C99-based standards] (SCN*): Likewise.
13824 [C99-based standards] (*_t): Likewise.
13825 [C99-based-standards] (PRId8): Expect macro.
13826 [C99-based-standards] (PRIi8): Likewise.
13827 [C99-based-standards] (PRIo8): Likewise.
13828 [C99-based-standards] (PRIu8): Likewise.
13829 [C99-based-standards] (PRIx8): Likewise.
13830 [C99-based-standards] (PRIX8): Likewise.
13831 [C99-based-standards] (SCNd8): Likewise.
13832 [C99-based-standards] (SCNi8): Likewise.
13833 [C99-based-standards] (SCNo8): Likewise.
13834 [C99-based-standards] (SCNu8): Likewise.
13835 [C99-based-standards] (SCNx8): Likewise.
13836 [C99-based-standards] (PRIdLEAST8): Likewise.
13837 [C99-based-standards] (PRIiLEAST8): Likewise.
13838 [C99-based-standards] (PRIoLEAST8): Likewise.
13839 [C99-based-standards] (PRIuLEAST8): Likewise.
13840 [C99-based-standards] (PRIxLEAST8): Likewise.
13841 [C99-based-standards] (PRIXLEAST8): Likewise.
13842 [C99-based-standards] (SCNdLEAST8): Likewise.
13843 [C99-based-standards] (SCNiLEAST8): Likewise.
13844 [C99-based-standards] (SCNoLEAST8): Likewise.
13845 [C99-based-standards] (SCNuLEAST8): Likewise.
13846 [C99-based-standards] (SCNxLEAST8): Likewise.
13847 [C99-based-standards] (PRIdFAST8): Likewise.
13848 [C99-based-standards] (PRIiFAST8): Likewise.
13849 [C99-based-standards] (PRIoFAST8): Likewise.
13850 [C99-based-standards] (PRIuFAST8): Likewise.
13851 [C99-based-standards] (PRIxFAST8): Likewise.
13852 [C99-based-standards] (PRIXFAST8): Likewise.
13853 [C99-based-standards] (SCNdFAST8): Likewise.
13854 [C99-based-standards] (SCNiFAST8): Likewise.
13855 [C99-based-standards] (SCNoFAST8): Likewise.
13856 [C99-based-standards] (SCNuFAST8): Likewise.
13857 [C99-based-standards] (SCNxFAST8): Likewise.
13858 [C99-based-standards] (PRId16): Likewise.
13859 [C99-based-standards] (PRIi16): Likewise.
13860 [C99-based-standards] (PRIo16): Likewise.
13861 [C99-based-standards] (PRIu16): Likewise.
13862 [C99-based-standards] (PRIx16): Likewise.
13863 [C99-based-standards] (PRIX16): Likewise.
13864 [C99-based-standards] (SCNd16): Likewise.
13865 [C99-based-standards] (SCNi16): Likewise.
13866 [C99-based-standards] (SCNo16): Likewise.
13867 [C99-based-standards] (SCNu16): Likewise.
13868 [C99-based-standards] (SCNx16): Likewise.
13869 [C99-based-standards] (PRIdLEAST16): Likewise.
13870 [C99-based-standards] (PRIiLEAST16): Likewise.
13871 [C99-based-standards] (PRIoLEAST16): Likewise.
13872 [C99-based-standards] (PRIuLEAST16): Likewise.
13873 [C99-based-standards] (PRIxLEAST16): Likewise.
13874 [C99-based-standards] (PRIXLEAST16): Likewise.
13875 [C99-based-standards] (SCNdLEAST16): Likewise.
13876 [C99-based-standards] (SCNiLEAST16): Likewise.
13877 [C99-based-standards] (SCNoLEAST16): Likewise.
13878 [C99-based-standards] (SCNuLEAST16): Likewise.
13879 [C99-based-standards] (SCNxLEAST16): Likewise.
13880 [C99-based-standards] (PRIdFAST16): Likewise.
13881 [C99-based-standards] (PRIiFAST16): Likewise.
13882 [C99-based-standards] (PRIoFAST16): Likewise.
13883 [C99-based-standards] (PRIuFAST16): Likewise.
13884 [C99-based-standards] (PRIxFAST16): Likewise.
13885 [C99-based-standards] (PRIXFAST16): Likewise.
13886 [C99-based-standards] (SCNdFAST16): Likewise.
13887 [C99-based-standards] (SCNiFAST16): Likewise.
13888 [C99-based-standards] (SCNoFAST16): Likewise.
13889 [C99-based-standards] (SCNuFAST16): Likewise.
13890 [C99-based-standards] (SCNxFAST16): Likewise.
13891 [C99-based-standards] (PRId32): Likewise.
13892 [C99-based-standards] (PRIi32): Likewise.
13893 [C99-based-standards] (PRIo32): Likewise.
13894 [C99-based-standards] (PRIu32): Likewise.
13895 [C99-based-standards] (PRIx32): Likewise.
13896 [C99-based-standards] (PRIX32): Likewise.
13897 [C99-based-standards] (SCNd32): Likewise.
13898 [C99-based-standards] (SCNi32): Likewise.
13899 [C99-based-standards] (SCNo32): Likewise.
13900 [C99-based-standards] (SCNu32): Likewise.
13901 [C99-based-standards] (SCNx32): Likewise.
13902 [C99-based-standards] (PRIdLEAST32): Likewise.
13903 [C99-based-standards] (PRIiLEAST32): Likewise.
13904 [C99-based-standards] (PRIoLEAST32): Likewise.
13905 [C99-based-standards] (PRIuLEAST32): Likewise.
13906 [C99-based-standards] (PRIxLEAST32): Likewise.
13907 [C99-based-standards] (PRIXLEAST32): Likewise.
13908 [C99-based-standards] (SCNdLEAST32): Likewise.
13909 [C99-based-standards] (SCNiLEAST32): Likewise.
13910 [C99-based-standards] (SCNoLEAST32): Likewise.
13911 [C99-based-standards] (SCNuLEAST32): Likewise.
13912 [C99-based-standards] (SCNxLEAST32): Likewise.
13913 [C99-based-standards] (PRIdFAST32): Likewise.
13914 [C99-based-standards] (PRIiFAST32): Likewise.
13915 [C99-based-standards] (PRIoFAST32): Likewise.
13916 [C99-based-standards] (PRIuFAST32): Likewise.
13917 [C99-based-standards] (PRIxFAST32): Likewise.
13918 [C99-based-standards] (PRIXFAST32): Likewise.
13919 [C99-based-standards] (SCNdFAST32): Likewise.
13920 [C99-based-standards] (SCNiFAST32): Likewise.
13921 [C99-based-standards] (SCNoFAST32): Likewise.
13922 [C99-based-standards] (SCNuFAST32): Likewise.
13923 [C99-based-standards] (SCNxFAST32): Likewise.
13924 [C99-based-standards] (PRId64): Likewise.
13925 [C99-based-standards] (PRIi64): Likewise.
13926 [C99-based-standards] (PRIo64): Likewise.
13927 [C99-based-standards] (PRIu64): Likewise.
13928 [C99-based-standards] (PRIx64): Likewise.
13929 [C99-based-standards] (PRIX64): Likewise.
13930 [C99-based-standards] (SCNd64): Likewise.
13931 [C99-based-standards] (SCNi64): Likewise.
13932 [C99-based-standards] (SCNo64): Likewise.
13933 [C99-based-standards] (SCNu64): Likewise.
13934 [C99-based-standards] (SCNx64): Likewise.
13935 [C99-based-standards] (PRIdLEAST64): Likewise.
13936 [C99-based-standards] (PRIiLEAST64): Likewise.
13937 [C99-based-standards] (PRIoLEAST64): Likewise.
13938 [C99-based-standards] (PRIuLEAST64): Likewise.
13939 [C99-based-standards] (PRIxLEAST64): Likewise.
13940 [C99-based-standards] (PRIXLEAST64): Likewise.
13941 [C99-based-standards] (SCNdLEAST64): Likewise.
13942 [C99-based-standards] (SCNiLEAST64): Likewise.
13943 [C99-based-standards] (SCNoLEAST64): Likewise.
13944 [C99-based-standards] (SCNuLEAST64): Likewise.
13945 [C99-based-standards] (SCNxLEAST64): Likewise.
13946 [C99-based-standards] (PRIdFAST64): Likewise.
13947 [C99-based-standards] (PRIiFAST64): Likewise.
13948 [C99-based-standards] (PRIoFAST64): Likewise.
13949 [C99-based-standards] (PRIuFAST64): Likewise.
13950 [C99-based-standards] (PRIxFAST64): Likewise.
13951 [C99-based-standards] (PRIXFAST64): Likewise.
13952 [C99-based-standards] (SCNdFAST64): Likewise.
13953 [C99-based-standards] (SCNiFAST64): Likewise.
13954 [C99-based-standards] (SCNoFAST64): Likewise.
13955 [C99-based-standards] (SCNuFAST64): Likewise.
13956 [C99-based-standards] (SCNxFAST64): Likewise.
13957 [C99-based-standards] (PRIdMAX): Likewise.
13958 [C99-based-standards] (PRIiMAX): Likewise.
13959 [C99-based-standards] (PRIoMAX): Likewise.
13960 [C99-based-standards] (PRIuMAX): Likewise.
13961 [C99-based-standards] (PRIxMAX): Likewise.
13962 [C99-based-standards] (PRIXMAX): Likewise.
13963 [C99-based-standards] (SCNdMAX): Likewise.
13964 [C99-based-standards] (SCNiMAX): Likewise.
13965 [C99-based-standards] (SCNoMAX): Likewise.
13966 [C99-based-standards] (SCNuMAX): Likewise.
13967 [C99-based-standards] (SCNxMAX): Likewise.
13968 [C99-based-standards] (PRIdPTR): Likewise.
13969 [C99-based-standards] (PRIiPTR): Likewise.
13970 [C99-based-standards] (PRIoPTR): Likewise.
13971 [C99-based-standards] (PRIuPTR): Likewise.
13972 [C99-based-standards] (PRIxPTR): Likewise.
13973 [C99-based-standards] (PRIXPTR): Likewise.
13974 [C99-based-standards] (SCNdPTR): Likewise.
13975 [C99-based-standards] (SCNiPTR): Likewise.
13976 [C99-based-standards] (SCNoPTR): Likewise.
13977 [C99-based-standards] (SCNuPTR): Likewise.
13978 [C99-based-standards] (SCNxPTR): Likewise.
13979 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13981 * conform/data/stdint.h-data: Update comments to clarify
13983 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13985 [C99-based standards] (INT8_MAX): Likewise.
13986 [C99-based standards] (INT16_MIN): Likewise.
13987 [C99-based standards] (INT16_MAX): Likewise.
13988 [C99-based standards] (INT32_MIN): Likewise.
13989 [C99-based standards] (INT32_MAX): Likewise.
13990 [C99-based standards] (INT64_MIN): Likewise.
13991 [C99-based standards] (INT64_MAX): Likewise.
13992 [C99-based standards] (UINT8_MAX): Likewise.
13993 [C99-based standards] (UINT16_MAX): Likewise.
13994 [C99-based standards] (UINT32_MAX): Likewise.
13995 [C99-based standards] (UINT64_MAX): Likewise.
13996 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13997 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13998 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13999 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14000 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14001 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14002 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14003 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14004 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14005 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14006 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14007 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14008 [C99-based standards] (INT_FAST8_MIN): Likewise.
14009 [C99-based standards] (INT_FAST8_MAX): Likewise.
14010 [C99-based standards] (INT_FAST16_MIN): Likewise.
14011 [C99-based standards] (INT_FAST16_MAX): Likewise.
14012 [C99-based standards] (INT_FAST32_MIN): Likewise.
14013 [C99-based standards] (INT_FAST32_MAX): Likewise.
14014 [C99-based standards] (INT_FAST64_MIN): Likewise.
14015 [C99-based standards] (INT_FAST64_MAX): Likewise.
14016 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14017 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14018 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14019 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14020 [C99-based standards] (INTPTR_MIN): Likewise.
14021 [C99-based standards] (INTPTR_MAX): Likewise.
14022 [C99-based standards] (UINTPTR_MAX): Likewise.
14023 [C99-based standards] (INTMAX_MIN): Likewise.
14024 [C99-based standards] (INTMAX_MAX): Likewise.
14025 [C99-based standards] (UINTMAX_MAX): Likewise.
14026 [C99-based standards] (PTRDIFF_MIN): Likewise.
14027 [C99-based standards] (PTRDIFF_MAX): Likewise.
14028 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14029 [C99-based standards] (SIZE_MAX): Likewise.
14030 [C99-based standards] (WCHAR_MAX): Likewise.
14031 [C99-based standards] (WINT_MAX): Likewise.
14032 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14033 constraint on value.
14034 [C99-based standards] (WCHAR_MIN): Likewise.
14035 [C99-based standards] (WINT_MIN): Likewise.
14036 [C99-based standards] (*_t): Allow.
14037 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14038 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14039 Include math.h-data and complex.h-data. Remove all expectations
14040 of math.h and complex.h contents.
14041 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14043 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14044 (struct tm): Expect tag.
14045 [C99-based-standards] (wcstof): Expect function.
14046 [C99-based-standards] (wcstold): Likewise.
14047 [C99-based-standards] (wcstoll): Likewise.
14048 [C99-based-standards] (wcstoull): Likewise.
14049 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14050 macro-int-constant. Specify type.
14051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14052 constraint on value.
14053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14055 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14057 [ISO C standards]: Do not allow headers.
14058 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14059 wcs[abcdefghijklmnopqrstuvwxyz]*.
14060 [ISO C standards] (*_t): Do not allow.
14061 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14063 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14064 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14066 [ISO C standards]: Do not allow headers.
14067 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14068 is[abcdefghijklmnopqrstuvwxyz]*.
14069 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14070 to[abcdefghijklmnopqrstuvwxyz]*.
14071 [ISO C standards] (*_t): Do not allow.
14072 * conform/data/stdalign.h-data: New file.
14073 * conform/data/stdbool.h-data: Likewise.
14074 * conform/data/stdnoreturn.h-data: Likewise.
14076 2012-11-07 Roland McGrath <roland@hack.frob.com>
14079 * manual/filesys.texi (Directory Entries): Typo fix.
14080 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14082 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14084 * elf/elf.h (EM_AARCH64): New macro.
14085 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14086 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14087 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14088 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14089 (R_AARCH64_TLSDESC): Likewise.
14090 (NT_ARM_TLS): Likewise.
14091 (NT_ARM_HW_BREAK): Likewise.
14092 (NT_ARM_HW_WATCH): Likewise.
14094 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14097 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14098 (__ieee754_powl): Saturate nonzero exponents with absolute value
14099 below 0x1p-79 to +/- 0x1p-79.
14100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14101 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14102 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14103 nonzero exponents with absolute value below 0x1p-32 to +/-
14105 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14106 (__ieee754_powl): Saturate nonzero exponents with absolute value
14107 below 0x1p-79 to +/- 0x1p-79.
14108 * math/libm-test.inc (pow_test): Add more tests.
14110 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14113 _dl_s390_cap_flags with kernel. Increase string length.
14114 (_dl_s390_platforms): Add z196 and zEC12.
14116 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14118 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14119 Change XOPEN21K to XOPEN2K.
14121 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14123 * string/memmove.c: Use memcpy when possible.
14125 2012-11-06 Andreas Jaeger <aj@suse.de>
14127 * po/eo.po: Update from translation team.
14129 2012-11-06 Joseph Myers <joseph@codesourcery.com>
14132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14133 exponent and small x and y exponents, scale x or y up. Increase
14134 by 2 the exponent used in scaling up.
14135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14137 * math/libm-test.inc (fma_test): Add more tests.
14138 (fma_test_towardzero): Likewise.
14139 (fma_test_downward): Likewise.
14140 (fma_test_upward): Likewise.
14142 2012-11-05 Joseph Myers <joseph@codesourcery.com>
14145 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14149 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14150 namespace for names of struct fields.
14151 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14153 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14154 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14156 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14159 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14161 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14163 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14167 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14170 2012-11-04 Joseph Myers <joseph@codesourcery.com>
14173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14174 definitely overflow as x * y not x * y + z.
14175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14177 * math/libm-test.inc (fma_test): Add more tests.
14178 (fma_test_towardzero): Likewise.
14179 (fma_test_downward): Likewise.
14180 (fma_test_upward): Likewise.
14182 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14186 * include/stub-tag.h: Remove file.
14187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14189 * manual/maint.texi (Porting): Don't reference it.
14190 * Makerules ($(objpfx)stubs): Likewise.
14191 * dirent/closedir.c: Don't include <stub-tag.h>.
14192 * dirent/dirfd.c: Likewise.
14193 * dirent/fdopendir.c: Likewise.
14194 * dirent/getdents.c: Likewise.
14195 * dirent/getdents64.c: Likewise.
14196 * dirent/opendir.c: Likewise.
14197 * dirent/readdir.c: Likewise.
14198 * dirent/readdir64.c: Likewise.
14199 * dirent/readdir64_r.c: Likewise.
14200 * dirent/readdir_r.c: Likewise.
14201 * dirent/rewinddir.c: Likewise.
14202 * dirent/seekdir.c: Likewise.
14203 * dirent/telldir.c: Likewise.
14204 * gmon/profil.c: Likewise.
14205 * grp/setgroups.c: Likewise.
14206 * inet/if_index.c: Likewise.
14207 * io/access.c: Likewise.
14208 * io/chdir.c: Likewise.
14209 * io/chmod.c: Likewise.
14210 * io/chown.c: Likewise.
14211 * io/close.c: Likewise.
14212 * io/dup.c: Likewise.
14213 * io/dup2.c: Likewise.
14214 * io/dup3.c: Likewise.
14215 * io/euidaccess.c: Likewise.
14216 * io/faccessat.c: Likewise.
14217 * io/fchdir.c: Likewise.
14218 * io/fchmod.c: Likewise.
14219 * io/fchmodat.c: Likewise.
14220 * io/fchown.c: Likewise.
14221 * io/fchownat.c: Likewise.
14222 * io/fcntl.c: Likewise.
14223 * io/flock.c: Likewise.
14224 * io/fstatfs.c: Likewise.
14225 * io/fstatfs64.c: Likewise.
14226 * io/fstatvfs.c: Likewise.
14227 * io/fstatvfs64.c: Likewise.
14228 * io/futimens.c: Likewise.
14229 * io/fxstat.c: Likewise.
14230 * io/fxstat64.c: Likewise.
14231 * io/fxstatat.c: Likewise.
14232 * io/fxstatat64.c: Likewise.
14233 * io/getcwd.c: Likewise.
14234 * io/isatty.c: Likewise.
14235 * io/lchmod.c: Likewise.
14236 * io/lchown.c: Likewise.
14237 * io/link.c: Likewise.
14238 * io/linkat.c: Likewise.
14239 * io/lseek.c: Likewise.
14240 * io/lseek64.c: Likewise.
14241 * io/lxstat64.c: Likewise.
14242 * io/mkdir.c: Likewise.
14243 * io/mkdirat.c: Likewise.
14244 * io/mkfifo.c: Likewise.
14245 * io/mkfifoat.c: Likewise.
14246 * io/open.c: Likewise.
14247 * io/open64.c: Likewise.
14248 * io/openat.c: Likewise.
14249 * io/openat64.c: Likewise.
14250 * io/pipe.c: Likewise.
14251 * io/pipe2.c: Likewise.
14252 * io/poll.c: Likewise.
14253 * io/posix_fadvise.c: Likewise.
14254 * io/posix_fadvise64.c: Likewise.
14255 * io/posix_fallocate.c: Likewise.
14256 * io/posix_fallocate64.c: Likewise.
14257 * io/read.c: Likewise.
14258 * io/readlink.c: Likewise.
14259 * io/readlinkat.c: Likewise.
14260 * io/rmdir.c: Likewise.
14261 * io/sendfile.c: Likewise.
14262 * io/sendfile64.c: Likewise.
14263 * io/statfs.c: Likewise.
14264 * io/statfs64.c: Likewise.
14265 * io/statvfs.c: Likewise.
14266 * io/statvfs64.c: Likewise.
14267 * io/symlink.c: Likewise.
14268 * io/symlinkat.c: Likewise.
14269 * io/ttyname.c: Likewise.
14270 * io/ttyname_r.c: Likewise.
14271 * io/umask.c: Likewise.
14272 * io/unlink.c: Likewise.
14273 * io/unlinkat.c: Likewise.
14274 * io/utime.c: Likewise.
14275 * io/utimensat.c: Likewise.
14276 * io/write.c: Likewise.
14277 * io/xmknod.c: Likewise.
14278 * io/xmknodat.c: Likewise.
14279 * io/xstat.c: Likewise.
14280 * io/xstat64.c: Likewise.
14281 * login/getpt.c: Likewise.
14282 * login/grantpt.c: Likewise.
14283 * login/unlockpt.c: Likewise.
14284 * math/e_acoshl.c: Likewise.
14285 * math/e_acosl.c: Likewise.
14286 * math/e_asinl.c: Likewise.
14287 * math/e_atan2l.c: Likewise.
14288 * math/e_atanhl.c: Likewise.
14289 * math/e_coshl.c: Likewise.
14290 * math/e_expl.c: Likewise.
14291 * math/e_fmodl.c: Likewise.
14292 * math/e_gammal_r.c: Likewise.
14293 * math/e_hypotl.c: Likewise.
14294 * math/e_j0l.c: Likewise.
14295 * math/e_j1l.c: Likewise.
14296 * math/e_jnl.c: Likewise.
14297 * math/e_lgammal_r.c: Likewise.
14298 * math/e_log10l.c: Likewise.
14299 * math/e_log2l.c: Likewise.
14300 * math/e_logl.c: Likewise.
14301 * math/e_powl.c: Likewise.
14302 * math/e_rem_pio2l.c: Likewise.
14303 * math/e_sinhl.c: Likewise.
14304 * math/e_sqrtl.c: Likewise.
14305 * math/fclrexcpt.c: Likewise.
14306 * math/fedisblxcpt.c: Likewise.
14307 * math/feenablxcpt.c: Likewise.
14308 * math/fegetenv.c: Likewise.
14309 * math/fegetexcept.c: Likewise.
14310 * math/fegetround.c: Likewise.
14311 * math/feholdexcpt.c: Likewise.
14312 * math/fesetenv.c: Likewise.
14313 * math/fesetround.c: Likewise.
14314 * math/feupdateenv.c: Likewise.
14315 * math/fgetexcptflg.c: Likewise.
14316 * math/fraiseexcpt.c: Likewise.
14317 * math/fsetexcptflg.c: Likewise.
14318 * math/ftestexcept.c: Likewise.
14319 * math/k_cosl.c: Likewise.
14320 * math/k_rem_pio2l.c: Likewise.
14321 * math/k_sinl.c: Likewise.
14322 * math/k_tanl.c: Likewise.
14323 * math/s_asinhl.c: Likewise.
14324 * math/s_atanl.c: Likewise.
14325 * math/s_cbrtl.c: Likewise.
14326 * math/s_erfl.c: Likewise.
14327 * math/s_expm1l.c: Likewise.
14328 * math/s_log1pl.c: Likewise.
14329 * math/s_tanhl.c: Likewise.
14330 * misc/acct.c: Likewise.
14331 * misc/brk.c: Likewise.
14332 * misc/chflags.c: Likewise.
14333 * misc/chroot.c: Likewise.
14334 * misc/fchflags.c: Likewise.
14335 * misc/fgetxattr.c: Likewise.
14336 * misc/flistxattr.c: Likewise.
14337 * misc/fremovexattr.c: Likewise.
14338 * misc/fsetxattr.c: Likewise.
14339 * misc/fsync.c: Likewise.
14340 * misc/ftruncate.c: Likewise.
14341 * misc/futimes.c: Likewise.
14342 * misc/futimesat.c: Likewise.
14343 * misc/getdomain.c: Likewise.
14344 * misc/getdtsz.c: Likewise.
14345 * misc/gethostid.c: Likewise.
14346 * misc/gethostname.c: Likewise.
14347 * misc/getloadavg.c: Likewise.
14348 * misc/getpagesize.c: Likewise.
14349 * misc/getsysstats.c: Likewise.
14350 * misc/getxattr.c: Likewise.
14351 * misc/gtty.c: Likewise.
14352 * misc/ioctl.c: Likewise.
14353 * misc/lgetxattr.c: Likewise.
14354 * misc/listxattr.c: Likewise.
14355 * misc/llistxattr.c: Likewise.
14356 * misc/lremovexattr.c: Likewise.
14357 * misc/lsetxattr.c: Likewise.
14358 * misc/lutimes.c: Likewise.
14359 * misc/madvise.c: Likewise.
14360 * misc/mincore.c: Likewise.
14361 * misc/mlock.c: Likewise.
14362 * misc/mlockall.c: Likewise.
14363 * misc/mmap.c: Likewise.
14364 * misc/mprotect.c: Likewise.
14365 * misc/msync.c: Likewise.
14366 * misc/munlock.c: Likewise.
14367 * misc/munlockall.c: Likewise.
14368 * misc/munmap.c: Likewise.
14369 * misc/preadv.c: Likewise.
14370 * misc/preadv64.c: Likewise.
14371 * misc/ptrace.c: Likewise.
14372 * misc/pwritev.c: Likewise.
14373 * misc/pwritev64.c: Likewise.
14374 * misc/readv.c: Likewise.
14375 * misc/reboot.c: Likewise.
14376 * misc/remap_file_pages.c: Likewise.
14377 * misc/removexattr.c: Likewise.
14378 * misc/revoke.c: Likewise.
14379 * misc/select.c: Likewise.
14380 * misc/setdomain.c: Likewise.
14381 * misc/setegid.c: Likewise.
14382 * misc/seteuid.c: Likewise.
14383 * misc/sethostid.c: Likewise.
14384 * misc/sethostname.c: Likewise.
14385 * misc/setregid.c: Likewise.
14386 * misc/setreuid.c: Likewise.
14387 * misc/setxattr.c: Likewise.
14388 * misc/sstk.c: Likewise.
14389 * misc/stty.c: Likewise.
14390 * misc/swapoff.c: Likewise.
14391 * misc/swapon.c: Likewise.
14392 * misc/sync.c: Likewise.
14393 * misc/syncfs.c: Likewise.
14394 * misc/syscall.c: Likewise.
14395 * misc/truncate.c: Likewise.
14396 * misc/ualarm.c: Likewise.
14397 * misc/usleep.c: Likewise.
14398 * misc/ustat.c: Likewise.
14399 * misc/utimes.c: Likewise.
14400 * misc/vhangup.c: Likewise.
14401 * misc/writev.c: Likewise.
14402 * posix/_exit.c: Likewise.
14403 * posix/alarm.c: Likewise.
14404 * posix/execve.c: Likewise.
14405 * posix/fexecve.c: Likewise.
14406 * posix/fork.c: Likewise.
14407 * posix/fpathconf.c: Likewise.
14408 * posix/getaddrinfo.c: Likewise.
14409 * posix/getegid.c: Likewise.
14410 * posix/geteuid.c: Likewise.
14411 * posix/getgid.c: Likewise.
14412 * posix/getgroups.c: Likewise.
14413 * posix/getlogin.c: Likewise.
14414 * posix/getlogin_r.c: Likewise.
14415 * posix/getpgid.c: Likewise.
14416 * posix/getpid.c: Likewise.
14417 * posix/getppid.c: Likewise.
14418 * posix/getresgid.c: Likewise.
14419 * posix/getresuid.c: Likewise.
14420 * posix/getsid.c: Likewise.
14421 * posix/getuid.c: Likewise.
14422 * posix/glob64.c: Likewise.
14423 * posix/nanosleep.c: Likewise.
14424 * posix/pathconf.c: Likewise.
14425 * posix/pause.c: Likewise.
14426 * posix/posix_madvise.c: Likewise.
14427 * posix/pread.c: Likewise.
14428 * posix/pread64.c: Likewise.
14429 * posix/pwrite.c: Likewise.
14430 * posix/pwrite64.c: Likewise.
14431 * posix/sched_getaffinity.c: Likewise.
14432 * posix/sched_getp.c: Likewise.
14433 * posix/sched_gets.c: Likewise.
14434 * posix/sched_primax.c: Likewise.
14435 * posix/sched_primin.c: Likewise.
14436 * posix/sched_rr_gi.c: Likewise.
14437 * posix/sched_setaffinity.c: Likewise.
14438 * posix/sched_setp.c: Likewise.
14439 * posix/sched_sets.c: Likewise.
14440 * posix/sched_yield.c: Likewise.
14441 * posix/setgid.c: Likewise.
14442 * posix/setlogin.c: Likewise.
14443 * posix/setpgid.c: Likewise.
14444 * posix/setresgid.c: Likewise.
14445 * posix/setresuid.c: Likewise.
14446 * posix/setsid.c: Likewise.
14447 * posix/setuid.c: Likewise.
14448 * posix/sleep.c: Likewise.
14449 * posix/spawni.c: Likewise.
14450 * posix/sysconf.c: Likewise.
14451 * posix/times.c: Likewise.
14452 * posix/wait.c: Likewise.
14453 * posix/wait3.c: Likewise.
14454 * posix/wait4.c: Likewise.
14455 * posix/waitpid.c: Likewise.
14456 * resolv/gai_sigqueue.c: Likewise.
14457 * resource/getpriority.c: Likewise.
14458 * resource/getrlimit.c: Likewise.
14459 * resource/getrusage.c: Likewise.
14460 * resource/nice.c: Likewise.
14461 * resource/setpriority.c: Likewise.
14462 * resource/setrlimit.c: Likewise.
14463 * resource/ulimit.c: Likewise.
14464 * rt/aio_cancel.c: Likewise.
14465 * rt/aio_fsync.c: Likewise.
14466 * rt/aio_read.c: Likewise.
14467 * rt/aio_sigqueue.c: Likewise.
14468 * rt/aio_suspend.c: Likewise.
14469 * rt/aio_write.c: Likewise.
14470 * rt/clock_getres.c: Likewise.
14471 * rt/clock_gettime.c: Likewise.
14472 * rt/clock_nanosleep.c: Likewise.
14473 * rt/clock_settime.c: Likewise.
14474 * rt/lio_listio.c: Likewise.
14475 * rt/mq_close.c: Likewise.
14476 * rt/mq_getattr.c: Likewise.
14477 * rt/mq_notify.c: Likewise.
14478 * rt/mq_open.c: Likewise.
14479 * rt/mq_receive.c: Likewise.
14480 * rt/mq_send.c: Likewise.
14481 * rt/mq_setattr.c: Likewise.
14482 * rt/mq_timedreceive.c: Likewise.
14483 * rt/mq_timedsend.c: Likewise.
14484 * rt/mq_unlink.c: Likewise.
14485 * rt/shm_open.c: Likewise.
14486 * rt/shm_unlink.c: Likewise.
14487 * rt/timer_create.c: Likewise.
14488 * rt/timer_delete.c: Likewise.
14489 * rt/timer_getoverr.c: Likewise.
14490 * rt/timer_gettime.c: Likewise.
14491 * rt/timer_settime.c: Likewise.
14492 * setjmp/__longjmp.c: Likewise.
14493 * setjmp/setjmp.c: Likewise.
14494 * signal/kill.c: Likewise.
14495 * signal/killpg.c: Likewise.
14496 * signal/raise.c: Likewise.
14497 * signal/sigaction.c: Likewise.
14498 * signal/sigaltstack.c: Likewise.
14499 * signal/sigblock.c: Likewise.
14500 * signal/sigignore.c: Likewise.
14501 * signal/sigintr.c: Likewise.
14502 * signal/signal.c: Likewise.
14503 * signal/sigpause.c: Likewise.
14504 * signal/sigpending.c: Likewise.
14505 * signal/sigqueue.c: Likewise.
14506 * signal/sigreturn.c: Likewise.
14507 * signal/sigset.c: Likewise.
14508 * signal/sigsetmask.c: Likewise.
14509 * signal/sigstack.c: Likewise.
14510 * signal/sigsuspend.c: Likewise.
14511 * signal/sigtimedwait.c: Likewise.
14512 * signal/sigvec.c: Likewise.
14513 * signal/sigwait.c: Likewise.
14514 * signal/sigwaitinfo.c: Likewise.
14515 * signal/sysv_signal.c: Likewise.
14516 * socket/accept.c: Likewise.
14517 * socket/accept4.c: Likewise.
14518 * socket/bind.c: Likewise.
14519 * socket/connect.c: Likewise.
14520 * socket/getpeername.c: Likewise.
14521 * socket/getsockname.c: Likewise.
14522 * socket/getsockopt.c: Likewise.
14523 * socket/isfdtype.c: Likewise.
14524 * socket/listen.c: Likewise.
14525 * socket/recv.c: Likewise.
14526 * socket/recvfrom.c: Likewise.
14527 * socket/recvmsg.c: Likewise.
14528 * socket/send.c: Likewise.
14529 * socket/sendmsg.c: Likewise.
14530 * socket/sendto.c: Likewise.
14531 * socket/setsockopt.c: Likewise.
14532 * socket/shutdown.c: Likewise.
14533 * socket/sockatmark.c: Likewise.
14534 * socket/socket.c: Likewise.
14535 * socket/socketpair.c: Likewise.
14536 * stdio-common/ctermid.c: Likewise.
14537 * stdio-common/cuserid.c: Likewise.
14538 * stdio-common/remove.c: Likewise.
14539 * stdio-common/rename.c: Likewise.
14540 * stdio-common/renameat.c: Likewise.
14541 * stdio-common/tempname.c: Likewise.
14542 * stdlib/getcontext.c: Likewise.
14543 * stdlib/makecontext.c: Likewise.
14544 * stdlib/setcontext.c: Likewise.
14545 * stdlib/swapcontext.c: Likewise.
14546 * stdlib/system.c: Likewise.
14547 * streams/fattach.c: Likewise.
14548 * streams/fdetach.c: Likewise.
14549 * streams/getmsg.c: Likewise.
14550 * streams/getpmsg.c: Likewise.
14551 * streams/putmsg.c: Likewise.
14552 * streams/putpmsg.c: Likewise.
14553 * sysdeps/unix/bsd/getpt.c: Likewise.
14554 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14555 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14556 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14559 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14560 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14561 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14562 * sysvipc/msgctl.c: Likewise.
14563 * sysvipc/msgget.c: Likewise.
14564 * sysvipc/msgrcv.c: Likewise.
14565 * sysvipc/msgsnd.c: Likewise.
14566 * sysvipc/semctl.c: Likewise.
14567 * sysvipc/semget.c: Likewise.
14568 * sysvipc/semop.c: Likewise.
14569 * sysvipc/semtimedop.c: Likewise.
14570 * sysvipc/shmat.c: Likewise.
14571 * sysvipc/shmctl.c: Likewise.
14572 * sysvipc/shmdt.c: Likewise.
14573 * sysvipc/shmget.c: Likewise.
14574 * termios/tcdrain.c: Likewise.
14575 * termios/tcflow.c: Likewise.
14576 * termios/tcflush.c: Likewise.
14577 * termios/tcgetattr.c: Likewise.
14578 * termios/tcgetpgrp.c: Likewise.
14579 * termios/tcsendbrk.c: Likewise.
14580 * termios/tcsetattr.c: Likewise.
14581 * termios/tcsetpgrp.c: Likewise.
14582 * time/adjtime.c: Likewise.
14583 * time/clock.c: Likewise.
14584 * time/getitimer.c: Likewise.
14585 * time/gettimeofday.c: Likewise.
14586 * time/setitimer.c: Likewise.
14587 * time/settimeofday.c: Likewise.
14588 * time/stime.c: Likewise.
14589 * time/time.c: Likewise.
14591 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14593 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14596 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14598 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14600 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14604 FE_TONEAREST before applying Dekker multiplication and Knuth
14605 addition. Clear inexact exceptions and check for exact zero
14606 results afterwards.
14607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14610 * math/libm-test.inc (fma_test): Add more tests.
14611 (fma_test_towardzero): Likewise.
14612 (fma_test_downward): Likewise.
14613 (fma_test_upward): Likewise.
14614 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14616 (libc_fesetround): New macro.
14617 (libc_fesetroundf): Likewise.
14618 (libc_fesetroundl): Likewise.
14619 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14621 (libc_fesetround_387): Likewise.
14622 (libc_fesetroundf): New macro.
14623 (libc_fesetround): Likewise.
14624 (libc_fesetroundl): Likewise.
14625 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14627 (libc_fesetroundf): New macro.
14628 (libc_fesetround): Likewise.
14629 (libc_fesetroundl): Likewise.
14630 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14631 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14632 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14634 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14635 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14637 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14638 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14640 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14644 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14645 integer constant usable in #if and use that to give value to enum
14647 (FE_DIVBYZERO): Likewise.
14648 (FE_UNDERFLOW): Likewise.
14649 (FE_OVERFLOW): Likewise.
14650 (FE_INVALID): Likewise.
14651 (FE_INVALID_SNAN): Likewise.
14652 (FE_INVALID_ISI): Likewise.
14653 (FE_INVALID_IDI): Likewise.
14654 (FE_INVALID_ZDZ): Likewise.
14655 (FE_INVALID_IMZ): Likewise.
14656 (FE_INVALID_COMPARE): Likewise.
14657 (FE_INVALID_SOFTWARE): Likewise.
14658 (FE_INVALID_SQRT): Likewise.
14659 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14660 (FE_TONEAREST): Likewise.
14661 (FE_TOWARDZERO): Likewise.
14662 (FE_UPWARD): Likewise.
14663 (FE_DOWNWARD): Likewise.
14664 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14665 (FE_DIVBYZERO): Likewise.
14666 (FE_OVERFLOW): Likewise.
14667 (FE_UNDERFLOW): Likewise.
14668 (FE_INEXACT): Likewise.
14669 (FE_TONEAREST): Likewise.
14670 (FE_DOWNWARD): Likewise.
14671 (FE_UPWARD): Likewise.
14672 (FE_TOWARDZERO): Likewise.
14673 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14674 (FE_UNDERFLOW): Likewise.
14675 (FE_OVERFLOW): Likewise.
14676 (FE_DIVBYZERO): Likewise.
14677 (FE_INVALID): Likewise.
14678 (FE_TONEAREST): Likewise.
14679 (FE_TOWARDZERO): Likewise.
14680 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14681 (FE_OVERFLOW): Likewise.
14682 (FE_UNDERFLOW): Likewise.
14683 (FE_DIVBYZERO): Likewise.
14684 (FE_INEXACT): Likewise.
14685 (FE_TONEAREST): Likewise.
14686 (FE_TOWARDZERO): Likewise.
14687 (FE_UPWARD): Likewise.
14688 (FE_DOWNWARD): Likewise.
14689 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14690 (FE_DIVBYZERO): Likewise.
14691 (FE_OVERFLOW): Likewise.
14692 (FE_UNDERFLOW): Likewise.
14693 (FE_INEXACT): Likewise.
14694 (FE_TONEAREST): Likewise.
14695 (FE_DOWNWARD): Likewise.
14696 (FE_UPWARD): Likewise.
14697 (FE_TOWARDZERO): Likewise.
14699 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14701 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14703 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14705 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14706 commands. Quote $PWD.
14707 (blacklist_exports): Don't use remove_newlines. Replace "declare
14709 (remove_newlines): Remove.
14711 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14713 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14714 * stdlib/stdlib.h (atof): Moved to ...
14715 * include/bits/stdlib-float.h: Here. New file.
14716 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14717 * stdlib/bits/stdlib-float.h: New file.
14718 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14723 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14725 * conform/conformtest.pl (@headers): Add fenv.h.
14726 * conform/data/fenv.h-data: New file.
14727 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14728 include of <math/fenv.h>.
14730 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14731 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14732 && !UNIX98]. Enables tests for XOPEN2K8.
14733 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14734 POSIX2008]: Likewise.
14736 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14737 (struct rusage): Do not expect type or its members.
14740 * math/math.h (FP_NAN): Define macro to integer constant usable in
14741 #if and use that to give value to enum constant.
14742 (FP_INFINITE): Likewise.
14743 (FP_ZERO): Likewise.
14744 (FP_SUBNORMAL): Likewise.
14745 (FP_NORMAL): Likewise.
14747 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14749 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14750 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14753 2012-11-02 Roland McGrath <roland@hack.frob.com>
14755 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14756 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14757 autoconf-time if not.
14758 * configure.in: Remove AC_PREREQ.
14760 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14762 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14763 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14764 of the internal implementation.
14766 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14768 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14769 except include of <misc/sys/syslog.h>.
14771 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14774 function returns with a NULL context exit with zero.
14776 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14778 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14780 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14782 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14783 (run_program_cmd): This.
14784 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14785 (tst_langinfo): New variable. Use it.
14787 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14789 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14790 floating point opcodes.
14792 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14794 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14797 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14799 * sysdeps/mach/hurd/powerpc: Remove directory.
14800 * sysdeps/mach/powerpc: Likewise.
14802 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14804 * scripts/check-local-headers.sh: Ignore c++ headers.
14806 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14808 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14809 __libc_cleanup_region_start argument.
14811 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14816 x * y using scaling, not as x * y + z.
14817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14819 * math/libm-test.inc (fma_test): Add more tests.
14820 (fma_test_towardzero): Likewise.
14821 (fma_test_downward): Likewise.
14822 (fma_test_upward): Likewise.
14824 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14826 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14828 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14830 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14833 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14835 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14837 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14844 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14847 Fix the order of the list for glibc 2.17.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14851 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14855 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14859 for low part of x being zero before using __atanl (y).
14860 * math/libm-test.inc (atan2_test): Add another test.
14862 * manual/install.texi (Configuring and compiling): Document
14863 general use of test-wrapper and test-wrapper-env.
14864 * INSTALL: Regenerated.
14866 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14867 (__fma): Do not extract and scale down low bits on after-rounding
14868 systems when result rounded to normal precision would have normal
14870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14871 (__fmal): Do not extract and scale down low bits on after-rounding
14872 systems when result rounded to normal precision would have normal
14874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14875 (__fmal): Do not extract and scale down low bits on after-rounding
14876 systems when result rounded to normal precision would have normal
14878 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14880 (fma_test): Add more tests.
14881 (fma_test_towardzero): Likewise.
14882 (fma_test_downward): Likewise.
14883 (fma_test_upward): Likewise.
14885 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14887 * sysdeps/i386/tininess.h: Renamed to ...
14888 * sysdeps/x86/tininess.h: This.
14889 * sysdeps/x86_64/tininess.h: Removed.
14891 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14893 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14894 input. Use $(build-program-cmd).
14895 ($(objpfx)tst-array1-static.out): Likewise.
14896 ($(objpfx)tst-array2.out): Likewise.
14897 ($(objpfx)tst-array3.out): Likewise.
14898 ($(objpfx)tst-array4.out): Likewise.
14899 ($(objpfx)tst-array5.out): Likewise.
14900 ($(objpfx)tst-array5-static.out): Likewise.
14902 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14904 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14907 * nss/nsswitch.h (nss_interface_function): Provide new
14908 macro for use with NSS functions.
14909 * grp/initgroups.c: Use new macro.
14910 * nss/getXXbyYY.c: Likewise.
14911 * nss/getXXbyYY_r.c: Likewise.
14912 * nss/getXXent.c: Likewise.
14913 * nss/getXXent_r.c: Likewise.
14914 * sysdeps/posix/getaddrinfo.c: Likewise.
14916 2012-10-30 Andreas Jaeger <aj@suse.de>
14918 * po/ru.po: Update Russion translation from translation project.
14920 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14925 result and shift together with sticky bit instead of replicating
14926 round-to-nearest rounding.
14927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14929 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14930 missing underflow exceptions.
14931 (fma_test_towardzero): Add more tests.
14932 (fma_test_downward): Likewise.
14933 (fma_test_upward): Likewise.
14936 * sysdeps/generic/tininess.h: New file.
14937 * sysdeps/i386/tininess.h: Likewise.
14938 * sysdeps/sh/tininess.h: Likewise.
14939 * sysdeps/x86_64/tininess.h: Likewise.
14940 * stdlib/tst-strtod-underflow.c: Likewise.
14941 * stdlib/tst-tininess.c: Likewise.
14942 * stdlib/strtod_l.c: Include <tininess.h>.
14943 (round_and_return): Do not set errno for exact underflow cases.
14944 Force an underflow exception when setting errno for underflow.
14945 Determine underflow based on rounding to normal precision if
14946 TININESS_AFTER_ROUNDING.
14947 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14948 ERANGE for exact underflow cases.
14949 * stdlib/Makefile (tests): Add tst-tininess and
14950 tst-strtod-underflow.
14951 ($(objpfx)tst-tininess): Use $(link-libm).
14952 ($(objpfx)tst-strtod-underflow): Likewise.
14954 2012-10-30 Andreas Jaeger <aj@suse.de>
14957 * elf/Makefile (tests): Remove conditional for have-initfini-array
14958 since this is now always required and the variable does not exist
14960 (tests-static): Likewise.
14961 (modules-names): Likewise.
14963 * po/eo.po: Add Esperanto translation from translation project.
14965 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14966 merged with constructor/destructor.
14967 (init_array): Likewise.
14968 * elf/tst-array2dep.c (fini_array): Likewise.
14969 (init_array): Likewise.
14971 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14973 * manual/message.texi: Delete @cartouche tags.
14975 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14977 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14979 * sysdeps/mach/hurd/fsync.c: Likewise.
14981 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14982 [_POSIX_REALTIME_SIGNALS]: Change condition to
14983 [_POSIX_REALTIME_SIGNALS > 0].
14985 2012-10-27 Andreas Jaeger <aj@suse.de>
14987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14988 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14990 [__WORDSIZE != 64]: Likewise.
14992 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14994 * iconvdata/tst-table.sh: Remove ${SHELL}.
14995 * iconvdata/tst-tables.sh: Likewise.
14997 2012-10-25 David S. Miller <davem@davemloft.net>
14999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15000 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15006 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15007 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15010 2012-10-25 Roland McGrath <roland@hack.frob.com>
15012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15013 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15016 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15017 Jim Blandy <jimb@codesourcery.com>
15019 * scripts/cross-test-ssh.sh: New file.
15020 * manual/install.texi (Configuring and compiling): Document use of
15022 * INSTALL: Regenerated.
15024 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15026 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15029 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15031 * Makeconfig (run-program-prefix): Fix comment.
15033 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15034 Jim Blandy <jimb@codesourcery.com>
15036 * Makeconfig (test-wrapper): New variable,
15037 (test-wrapper-env): Likewise.
15038 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15039 (run-built-tests): Define to yes.
15040 (run-program-prefix): Use $(test-wrapper).
15041 (built-program-cmd): Likewise.
15042 * Rules (make-test-out): Use $(test-wrapper-env) and
15043 $(host-built-program-cmd).
15044 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15045 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15047 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15048 $(test-wrapper-env) to tst-rtld-load-self.sh.
15049 ($(objpfx)order2.out): Use $(test-wrapper).
15050 ($(objpfx)tst-initorder.out): Likewise.
15051 ($(objpfx)tst-initorder2.out): Likewise.
15052 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15053 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15054 (test_wrapper_env): New variable. Use it to run ld.so.
15055 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15056 Use it to run ld.so.
15057 (test_wrapper_env): Likewise.
15058 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15059 $(test-wrapper) to run-iconv-test.sh.
15060 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15061 (ICONV): Use $test_wrapper.
15062 * posix/Makefile ($(objpfx)globtest.out): Pass
15063 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15064 globtest.sh, not $(run-program-prefix).
15065 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15066 (test_wrapper): Likewise.
15067 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15068 set together with run_via_rtld_prefix.
15069 (run_program_prefix): Define in terms of test_wrapper and
15070 run_via_rtld_prefix.
15072 2012-10-24 Roland McGrath <roland@hack.frob.com>
15074 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15075 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15079 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15080 Declare __clock_getres, __clock_gettime, __clock_settime,
15081 __clock_nanosleep, and __clock_getcpuclockid.
15082 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15083 Remove librt_hidden_def (clock_gettime).
15084 * sysdeps/unix/clock_gettime.c: Likewise.
15085 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15087 * rt/clock_getres.c: Define __clock_getres as an alias.
15088 * sysdeps/posix/clock_getres.c: Likewise.
15089 * rt/clock_settime.c: Define __clock_settime as an alias.
15090 * sysdeps/unix/clock_settime.c: Likewise.
15091 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15092 * sysdeps/unix/clock_nanosleep.c: Likewise.
15093 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15094 * rt/clock-compat.c: New file.
15095 * rt/Makefile (librt-routines): Add clock-compat and move
15096 $(clock-routines) to ...
15097 (routines): ... here, new variable.
15098 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15099 Don't add get_clockfreq here.
15100 * rt/Versions (libc: GLIBC_2.17): New version set.
15101 Add clock_* symbols here.
15102 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15104 (GLIBC_2.17): Add clock_* symbols.
15105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15116 * NEWS: Mention the move.
15118 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15119 Use __open, __read, __close rather than their public counterparts.
15120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15121 (__get_clockfreq_via_cpuinfo): Likewise.
15122 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15123 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15125 * config.h.in (HAVE_IFUNC): New #undef.
15126 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15128 * configure: Regenerated.
15130 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15132 * configure.in: Move READELF check to start of file.
15133 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15134 libc_cv_asm_gnu_indirect_function in the process.
15135 * configure: Regenerated.
15137 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15139 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15140 send the output to /dev/null.
15141 (libc_cv_cc_with_libunwind): Likewise.
15142 (libc_cv_as_noexecstack): Likewise.
15143 * configure: Regenerate.
15145 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15147 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15149 * posix/globtest.sh (TMPDIR): Do not set.
15150 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15151 (testout): Likewise.
15153 2012-10-24 Andreas Jaeger <aj@suse.de>
15155 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15156 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15157 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15158 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15159 posix_fadvise64, posix_fallocate64.
15161 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15162 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15163 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15165 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15167 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15170 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15171 <bits/fcntl-linux.h>.
15172 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15175 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15176 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15177 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15178 [__WORDSIZE != 64]: Likewise.
15180 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15182 * Makeconfig (run-built-tests): New variable.
15183 * Rules [$(cross-compiling) = yes]: Change condition to
15184 [$(run-built-tests) = no].
15185 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15186 to [$(run-built-tests) = yes].
15187 * elf/Makefile [$(cross-compiling) = no]: Likewise
15188 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15189 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15190 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15191 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15192 * io/Makefile [$(cross-compiling) = no]: Likewise.
15193 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15194 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15195 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15196 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15197 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15198 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15199 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15200 * string/Makefile [$(cross-compiling) = no]: Likewise.
15202 * posix/Makefile ($(objpfx)globtest.out): Pass
15203 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15204 $(rtld-installed-name).
15205 * posix/globtest.sh (elf_objpfx): Remove variable.
15206 (rtld_installed_name): Likewise.
15207 (library_path): Likewise.
15208 (run_program_prefix): New variable. Use for running globtest
15211 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15212 Joseph Myers <joseph@codesourcery.com>
15214 * Makeconfig (host-built-program-cmd): New variable.
15215 * elf/Makefile (tst-stackguard1-ARGS): Use
15216 $(host-built-program-cmd).
15217 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15218 (tst-spawn-ARGS): Likewise.
15219 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15221 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15222 Jim Blandy <jimb@codesourcery.com>
15224 * Makeconfig (run-via-rtld-prefix): New variable.
15225 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15226 (built-program-cmd): Likewise.
15228 2012-10-22 Andreas Jaeger <aj@suse.de>
15230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15231 __O_RSYNC if it exists, otherwise to O_SYNC.
15233 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15234 Joseph Myers <joseph@codesourcery.com>
15236 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15238 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15240 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15243 2012-10-22 Andreas Jaeger <aj@suse.de>
15245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15250 bits/fcntl-linux.h.
15252 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15253 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15260 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15261 Joseph Myers <joseph@codesourcery.com>
15263 * config.make.in (NM): New variable.
15265 2012-10-21 Andreas Jaeger <aj@suse.de>
15267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15268 definitions and declarations that are provided by
15269 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15271 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15274 * elf/Makefile (tests-static): Add tst-leaks1-static.
15275 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15276 ($(objpfx)tst-leaks1-static): New rule.
15277 ($(objpfx)tst-leaks1-static-mem): Likewise.
15278 (tst-leaks1-static-ENV): New macro.
15279 * elf/dl-open.c (dl_open_worker): Check the main application
15280 only if SHARED is defined.
15281 * elf/tst-leaks1-static.c: New file.
15283 2012-10-20 Andreas Jaeger <aj@suse.de>
15285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15286 generic values for Linux.
15287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15288 and declarations that are provided by <bits/fcntl-linux.h> and
15289 include <bits/fcntl-linux.h>.
15290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15293 2012-10-20 Roland McGrath <roland@hack.frob.com>
15295 * io/fcntl.h: Move include of <bits/types.h> to the top and
15296 include it unconditionally.
15298 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15300 * wcsmbs/Makefile (tests-ifunc): New variable.
15301 (tests): Add $(tests-ifunc).
15302 * wcsmbs/test-wcschr-ifunc.c: New file.
15303 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15304 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15305 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15306 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15307 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15309 * string/Makefile (tests-ifunc): New variable.
15310 (tests): Add $(tests-ifunc).
15311 * string/test-memccpy.c (TEST_NAME): New macro.
15312 * string/test-memchr.c (TEST_NAME): Likewise.
15313 * string/test-memcmp.c (TEST_NAME): Likewise.
15314 * string/test-memcpy.c (TEST_NAME): Likewise.
15315 * string/test-memmem.c (TEST_NAME): Likewise.
15316 * string/test-memmove.c (TEST_NAME): Likewise.
15317 * string/test-memset.c (TEST_NAME): Likewise.
15318 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15319 * string/test-stpcpy.c (TEST_NAME): Likewise.
15320 * string/test-stpncpy.c (TEST_NAME): Likewise.
15321 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15322 * string/test-strcasestr.c (TEST_NAME): Likewise.
15323 * string/test-strcat.c (TEST_NAME): Likewise.
15324 * string/test-strchr.c (TEST_NAME): Likewise.
15325 * string/test-strcmp.c(TEST_NAME): Likewise.
15326 * string/test-strcpy.c (TEST_NAME): Likewise.
15327 * string/test-strcspn.c (TEST_NAME): Likewise.
15328 * string/test-strlen.c (TEST_NAME): Likewise.
15329 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15330 * string/test-strncmp.c (TEST_NAME): Likewise.
15331 * string/test-strncpy.c (TEST_NAME): Likewise.
15332 * string/test-strnlen.c (TEST_NAME): Likewise.
15333 * string/test-strpbrk.c (TEST_NAME): Likewise.
15334 * string/test-strrchr.c (TEST_NAME): Likewise.
15335 * string/test-strspn.c (TEST_NAME): Likewise.
15336 * string/test-strstr.c (TEST_NAME): Likewise.
15337 * string/test-bcopy-ifunc.c: New file.
15338 * string/test-bzero-ifunc.c: Likewise.
15339 * string/test-memccpy-ifunc.c: Likewise.
15340 * string/test-memchr-ifunc.c: Likewise.
15341 * string/test-memcmp-ifunc.c: Likewise.
15342 * string/test-memcpy-ifunc.c: Likewise.
15343 * string/test-memmem-ifunc.c: Likewise.
15344 * string/test-memmove-ifunc.c: Likewise.
15345 * string/test-mempcpy-ifunc.c: Likewise.
15346 * string/test-memset-ifunc.c: Likewise.
15347 * string/test-rawmemchr-ifunc.c: Likewise.
15348 * string/test-stpcpy-ifunc.c: Likewise.
15349 * string/test-stpncpy-ifunc.c: Likewise.
15350 * string/test-strcasecmp-ifunc.c: Likewise.
15351 * string/test-strcasestr-ifunc.c: Likewise.
15352 * string/test-strcat-ifunc.c: Likewise.
15353 * string/test-strchr-ifunc.c: Likewise.
15354 * string/test-strchrnul-ifunc.c: Likewise.
15355 * string/test-strcmp-ifunc.c: Likewise.
15356 * string/test-strcpy-ifunc.c: Likewise.
15357 * string/test-strcspn-ifunc.c: Likewise.
15358 * string/test-strlen-ifunc.c: Likewise.
15359 * string/test-strncasecmp-ifunc.c: Likewise.
15360 * string/test-strncat-ifunc.c: Likewise.
15361 * string/test-strncmp-ifunc.c: Likewise.
15362 * string/test-strncpy-ifunc.c: Likewise.
15363 * string/test-strnlen-ifunc.c: Likewise.
15364 * string/test-strpbrk-ifunc.c: Likewise.
15365 * string/test-strrchr-ifunc.c: Likewise.
15366 * string/test-strspn-ifunc.c: Likewise.
15367 * string/test-strstr-ifunc.c: Likewise.
15369 * debug/Makefile (tests-ifunc): New variable.
15370 (tests): Add $(tests-ifunc).
15371 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15372 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15373 * debug/test-stpcpy_chk-ifunc.c: New file.
15374 * debug/test-strcpy_chk-ifunc.c: Likewise.
15376 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15379 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15380 header is not read in.
15382 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15384 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15385 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15386 directly. Pass built executable to script as
15387 $(built-program-cmd).
15388 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15389 $testprogram without using LD_LIBRARY_PATH and $ldso.
15391 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15392 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15393 $(rtld-installed-name).
15394 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15395 (rtld_installed_name): Likewise.
15396 (library_path): Likewise.
15397 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15398 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15399 $(run-program-prefix) to tst-tables.sh.
15400 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15401 it to run tst-table-from and tst-table-to.
15402 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15403 Pass it to tst-table.sh.
15404 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15405 $(run-program-prefix) to tst-gettext.sh.
15406 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15408 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15410 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15411 to run tst-gettext.
15412 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15413 to run tst-gettext2.
15414 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15415 to run tst-translit.
15416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15417 $(run-program-prefix) to tst-mtrace.sh.
15418 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15420 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15421 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15422 $(rtld-installed-name).
15423 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15424 (rtld_installed_name): Likewise.
15425 (run_program_prefix): New variable. Use it to run wordexp-test.
15427 * Makeconfig (ARCH): Remove all definitions.
15428 (machine): Likewise.
15429 [ARCH]: Remove conditional code.
15430 [!objdir]: Give error.
15431 [!objdir] (objpfx): Remove.
15432 [!objdir] (common-objpfx): Likewise.
15433 [!objdir] (common-objdir): Likewise.
15434 * configure.in (config_makefile): Remove. Hardcode Makefile in
15435 AC_CONFIG_FILES call.
15436 * configure: Regenerated.
15439 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15441 (testout): Likewise.
15443 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15444 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15445 $(rtld-installed-name).
15446 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15447 (rtld_installed_name): Likwise.
15448 (runit): Remove function.
15449 (run_getconf): New variable, Use it for running getconf binary.
15451 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15454 * string/test-memmem.c (check_result): New function.
15455 (do_one_test): Use it.
15456 (check1): New function.
15457 (test_main): Use it.
15459 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15461 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15463 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15465 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15466 (_G_LSEEK64): Likewise.
15467 (_G_MMAP64): Likewise.
15468 (_G_FSTAT64): Likewise.
15469 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15470 (_G_LSEEK64): Likewise.
15471 (_G_MMAP64): Likewise.
15472 (_G_FSTAT64): Likewise.
15473 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15474 unconditional. Call __mmap64 directly.
15475 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15476 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15477 __lseek64 directly.
15478 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15479 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15481 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15482 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15483 __lseek64 directly.
15484 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15485 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15486 __lseek64 directly.
15487 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15488 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15489 __lseek64 directly.
15490 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15491 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15492 __fxstat64 directly.
15493 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15494 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15496 (freopen64) [!_G_OPEN64]: Remove conditional code.
15497 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15499 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15500 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15502 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15503 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15505 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15506 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15508 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15509 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15511 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15512 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15514 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15515 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15517 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15519 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15522 * manual/memory.texi (Malloc Tunable Parameters): Add note
15523 about free list pointers overwriting some perturb bytes.
15524 Wording suggested by Roland McGrath.
15526 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15528 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15529 (lgamma_test): Likewise.
15530 (tgamma_test): Likewise.
15532 2012-10-16 Florian Weimer <fweimer@redhat.com>
15535 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15536 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15538 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15540 * NEWS: Mention BZ #14716.
15541 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15542 when removing AVAILABLE1_USES_J macro.
15544 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15546 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15547 (__bswap_64): __uint64_t for unsigned 64-bit int.
15549 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15551 * include/string.h (memmem): Declare libc hidden alias.
15552 * string/memmem.c (memmem): Define libc hidden alias.
15553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15554 __read, __close instead of open, read, close.
15556 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15559 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15561 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15562 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15563 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15565 (__rawmemchr_sse2): Likewise.
15566 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15567 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15568 (__strchr_sse2): Likewise.
15569 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15570 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15571 (__strcasecmp_sse2): Likewise.
15572 (__strncasecmp_sse2): Likewise.
15573 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15574 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15575 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15576 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15577 (__strrchr_sse2): Likewise.
15578 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15580 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15581 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15582 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15584 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15585 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15586 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15587 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15588 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15589 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15590 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15591 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15592 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15593 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15594 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15595 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15596 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15597 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15598 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15599 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15600 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15601 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15602 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15603 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15604 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15605 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15606 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15607 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15608 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15609 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15611 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15613 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15614 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15615 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15616 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15618 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15620 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15621 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15622 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15623 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15625 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15626 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15627 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15628 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15629 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15630 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15631 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15632 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15633 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15634 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15638 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15639 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15641 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15642 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15650 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15651 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15652 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15653 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15654 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15655 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15656 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15657 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15658 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15659 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15660 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15661 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15662 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15663 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15664 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15665 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15667 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15668 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15669 * include/ifunc-impl-list.h: New file.
15670 * misc/ifunc-impl-list.c: Likewise.
15671 * misc/Makefile (routines): Add ifunc-impl-list.
15672 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15673 * string/test-string.h: Include <ifunc-impl-list.h>.
15674 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15675 impl_array): New variables.
15676 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15678 (test_init): Call __libc_ifunc_impl_list to initialize
15679 func_list if TEST_IFUNC and TEST_NAME are defined.
15681 * string/Makefile (strop-tests): Add bcopy and bzero.
15682 * string/test-bcopy.c: New file.
15683 * string/test-bzero.c: Likewise.
15684 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15686 * string/test-memset.c: Support bzero test if TEST_BZERO is
15688 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15690 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15692 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15695 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15697 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15698 * configure: Regenerated.
15700 * Makeconfig (+link-static-before-libc): Don't include
15701 $(link-static-libc).
15703 * libio/libio.h (_IO_pos_t): Remove.
15705 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15707 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15710 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15712 * crypt/crypt-entry.c: Include fips-private.h.
15713 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15714 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15715 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15716 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15718 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15720 * crypt/crypt-private.h: Include stdbool.h.
15721 (_ufc_setup_salt_r): Return bool.
15722 * crypt/crypt-entry.c: Include errno.h.
15723 (__crypt_r): Return NULL with EINVAL for bad salt.
15724 * crypt/crypt_util.c (bad_for_salt): New.
15725 (_ufc_setup_salt_r): Check that salt is long enough and within
15726 the specified alphabet.
15727 * crypt/badsalttest.c: New file.
15728 * crypt/Makefile (tests): Add it.
15729 ($(objpfx)badsalttest): New.
15731 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15733 * NEWS: Add entry for BZ #14602.
15735 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15737 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15739 * math/libm-test.inc: Update comment listing what functions and
15741 (isgreater_test): New function.
15742 (isgreaterequal_test): Likewise.
15743 (isless_test): Likewise.
15744 (islessequal_test): Likewise.
15745 (islessgreater_test): Likewise.
15746 (isunordered_test): Likewise.
15747 (main): Call the new functions.
15749 2012-10-09 Roland McGrath <roland@hack.frob.com>
15751 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15752 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15753 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15754 * sysdeps/i386/configure: Regenerated.
15755 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15756 * sysdeps/mach/configure: Regenerated.
15757 * sysdeps/mach/hurd/configure: Regenerated.
15758 * sysdeps/powerpc/configure: Regenerated.
15759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15761 * sysdeps/s390/s390-32/configure: Regenerated.
15762 * sysdeps/s390/s390-64/configure: Regenerated.
15763 * sysdeps/sh/configure: Regenerated.
15764 * sysdeps/sparc/configure: Regenerated.
15765 * sysdeps/unix/sysv/linux/configure: Regenerated.
15766 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15767 * sysdeps/x86_64/configure: Regenerated.
15769 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15770 defined. Don't check if MAP is NULL.
15772 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15774 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15775 (_G_stat64): Likewise.
15776 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15777 (_G_stat64): Likewise.
15778 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15779 instead of struct _G_stat64.
15780 * libio/fileops.c (mmap_remap_check): Likewise.
15781 (decide_maybe_mmap): Likewise.
15782 (_IO_new_file_seekoff): Likewise.
15783 (_IO_file_stat): Likewise.
15784 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15786 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15787 instead of struct _G_stat64.
15788 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15790 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15795 (CHECK_EOL): New macro.
15796 (two_way_short_needle): Check beginning of haystack for EOL. Use
15798 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15799 Replace with CHECK_EOL.
15800 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15801 Replace with CHECK_EOL.
15803 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15805 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15807 * math/libm-test.inc: Update comment listing what functions and
15809 (finite_test): New function.
15810 (isinf_test): Likewise.
15811 (isnan_test): Likewise.
15812 (fpclassify_test): Test subnormal input.
15813 (isfinite_test): Likewise.
15814 (isnormal_test): Likewise.
15815 (main): Call the new functions.
15817 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15820 * Makerules (%.dynsym): Force C locale when running
15821 $(OBJDUMP) --dynamic-syms.
15823 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15825 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15828 2012-10-06 David S. Miller <davem@davemloft.net>
15830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15831 upper 32-bits of the length value in %o2 since we use branch-on-register
15832 tests which consider the entire 64-bit register.
15834 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15836 * string/test-strstr.c (check2): Add a test for page boundary.
15838 2012-10-05 David S. Miller <davem@davemloft.net>
15840 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15846 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15847 and bzero when HWCAP_SPARC_CRYPTO is present.
15849 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15852 * string/test-strstr.c (check2): New function.
15853 (test_main): Call check2.
15855 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15857 * string/bug-strcasestr1.c (do_test): Moved to ...
15858 * string/test-strcasestr.c (check1): Here. New function.
15859 (do_one_test): Break out result checking code into ...
15860 (check_result): This. New function.
15861 (do_one_test): Call check_result.
15862 (test_main): Call check1.
15863 * string/bug-strchr1.c (do_test): Moved to ...
15864 * string/test-strchr.c (check1): Here. New function.
15865 (do_one_test): Break out result checking code into ...
15866 (check_result): This. New function.
15867 (do_one_test): Call check_result.
15868 (test_main): Call check1.
15869 * string/bug-strstr1.c (main): Moved to ...
15870 * string/test-strstr.c (check1): Here. New function.
15871 (do_one_test): Break out result checking code into ...
15872 (check_result): This. New function.
15873 (do_one_test): Call check_result.
15874 (test_main): Call check1.
15875 * string/bug-strcasestr1.c: Removed.
15876 * string/bug-strchr1.c: Likewise.
15877 * string/bug-strstr1.c: Likewise.
15879 * elf/Makefile (dl-routines): Add hwcaps.
15880 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15881 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15882 (_dl_important_hwcaps): Moved to ...
15883 * elf/dl-hwcaps.c: Here. New file.
15884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15887 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15888 if IS_IN_rtld isn't defined.
15890 * elf/dl-support.c (_dl_sysinfo_map): New.
15891 Include "get-dynamic-info.h" and "setup-vdso.h".
15892 (_dl_non_dynamic_init): Call setup_vdso.
15893 * elf/dynamic-link.h: Don't include <assert.h>.
15894 (elf_get_dynamic_info): Moved to ...
15895 * elf/get-dynamic-info.h: Here. New file.
15896 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15897 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15898 * elf/setup-vdso.h: Here. New file.
15899 * elf/rtld.c: Include "setup-vdso.h".
15900 (dl_main): Call setup_vdso.
15902 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15904 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15905 creal in comment listing functions tested. List finite, isinf,
15906 isnan, isless, islessequal, isgreater, isgreaterequal,
15907 islessgreater, isunordered, lgamma_r and pow10 as functions and
15908 macros not tested. Mention which functions not tested are aliases
15909 for other functions. Fix typo. Note that signs of NaNs are not
15912 * scripts/config.guess: Update from config.git.
15913 * scripts/config.sub: Likewise.
15915 2012-10-04 Roland McGrath <roland@hack.frob.com>
15917 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15918 * misc/madvise.c (madvise): Renamed to __madvise.
15919 Make madvise a weak alias.
15920 * include/sys/mman.h: Declare __madvise.
15921 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15922 * sysdeps/unix/syscalls.list
15923 (madvise): Make __madvise the strong name, and madvise a weak alias.
15924 * sysdeps/unix/sysv/linux/syscalls.list
15925 (madvise, mmap): Remove redundant entries.
15926 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15927 * malloc/malloc.c (mtrim): Likewise.
15928 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15930 2012-10-03 Roland McGrath <roland@hack.frob.com>
15932 * sysdeps/mach/hurd/dl-cache.c: File removed.
15933 * config.h.in (USE_LDCONFIG): New #undef.
15934 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15935 * configure: Regenerated.
15936 * elf/Makefile (dl-routines): Add dl-cache only under
15937 [$(use-ldconfig) = yes].
15938 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15939 cache on [USE_LDCONFIG].
15940 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15942 * elf/rtld.c (dl_main): Likewise.
15944 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15946 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15947 _SC_LEVEL4_CACHE_LINESIZE.
15949 2012-10-03 Roland McGrath <roland@hack.frob.com>
15951 * sysdeps/unix/bsd/confstr.h: File removed.
15953 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15955 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15958 2012-10-02 Roland McGrath <roland@hack.frob.com>
15960 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15961 Make 'mapoff' field ElfW(Off) rather than off_t.
15963 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15965 * nscd/Makefile: Remove nscd-cflags and all its users.
15966 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15967 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15970 * malloc.c (malloc_printerr): Clarify error message.
15972 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15976 Set bit_FMA_Usable if FMA is supported.
15977 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15979 (bit_FMA4_Usable): Updated.
15980 (index_FMA_Usable): New macro.
15981 (CPUID_FMA): Likewise
15982 (HAS_FMA): Defined with bit_FMA_Usable.
15984 2012-10-01 Roland McGrath <roland@hack.frob.com>
15986 * bits/types.h (__swblk_t): Type removed.
15987 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15988 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15990 (__SWBLK_T_TYPE): Likewise.
15991 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15992 (__SWBLK_T_TYPE): Likewise.
15993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15994 (__SWBLK_T_TYPE): Likewise.
15995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15996 (__SWBLK_T_TYPE): Likewise.
15998 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15999 Honza Horak <hhorak@redhat.com>
16001 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16002 (xdr_mapname): Use YPMAXMAP as maxsize.
16003 (xdr_peername): Use YPMAXPEER as maxsize.
16004 (xdr_keydat): Use YPAXRECORD as maxsize.
16005 (xdr_valdat): Use YPMAXRECORD as maxsize.
16007 2012-10-01 Roland McGrath <roland@hack.frob.com>
16009 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16011 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16012 * csu/init-first.c: ... here.
16013 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16014 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16015 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16016 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16017 * sysdeps/i386/init-first.c: File removed.
16018 * sysdeps/sh/init-first.c: File removed.
16020 2012-10-01 Joseph Myers <joseph@codesourcery.com>
16023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16024 if x * y might underflow to zero and z is zero.
16025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16027 * math/libm-test.inc (min_subnorm_value): New variable.
16028 (fma_test): Add more tests.
16029 (fma_test_towardzero): Likewise.
16030 (fma_test_downward): Likewise
16031 (fma_test_upward): Likewise.
16032 (initialize): Set min_subnorm_value.
16034 2012-09-29 Joseph Myers <joseph@codesourcery.com>
16037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16040 mode for addition resulting in exact zero.
16041 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16046 * math/libm-test.inc (fma_test): Add more tests.
16047 (fma_test_towardzero): New function.
16048 (fma_test_downward): Likewise.
16049 (fma_test_upward): Likewise.
16050 (main): Call the new functions.
16052 2012-09-28 David S. Miller <davem@davemloft.net>
16054 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16056 2012-09-28 Roland McGrath <roland@hack.frob.com>
16058 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16059 instead of SIGALRM.
16061 * sysdeps/gnu/_G_config.h: Moved to ...
16062 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16063 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16064 * sysdeps/generic/_G_config.h: ... here.
16066 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16068 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16070 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16071 Conditionalize target on [libnss_test1.so-version].
16073 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16075 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16076 (elfobjdir): Move out of conditionals.
16078 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16079 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16080 (__nss_lookup_function): Conditionalize label remove_from_tree on
16081 [!DO_STATIC_NSS || SHARED], matching its only use.
16083 2012-09-28 David S. Miller <davem@davemloft.net>
16085 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16088 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16090 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16092 when HWCAP_SPARC_CRYPTO is present.
16094 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16096 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16098 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16101 * stdio-common/vfprintf.c (process_string_arg): Revert
16104 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16106 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16108 * stdio-common/tst-sprintf.c: Include <locale.h>
16109 (main): Test sprintf's handling of incomplete multibyte
16112 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16114 * elf/dl-runtime.c (VERSYMIDX): Removed.
16115 * elf/dl-version.c (VERSYMIDX): Likewise.
16116 * elf/do-rel.h (VERSYMIDX): Likewise.
16117 (VALIDX): Likewise.
16118 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16119 * elf/rtld.c (VALIDX): Likewise.
16120 (ADDRIDX): Likewise.
16121 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16122 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16123 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16124 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16125 (VALIDX): Likewise.
16126 (ADDRIDX): Likewise.
16128 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16130 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16132 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16135 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16137 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16138 addresses are in the same scope as 192.0.2/24.
16139 * posix/gai.conf: Document new scope table defaults.
16141 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16144 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16145 for ftell. Compute offsets from write pointers instead.
16146 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16148 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16151 * libio/Makefile (tests): New test case tst-fseek.
16152 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16153 combination works in wide mode.
16154 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16155 state when the external buffer state changes.
16157 2012-09-27 David S. Miller <davem@davemloft.net>
16160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16161 pass reloc->r_addend in as the 'high' argument to
16162 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16166 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16168 * rt/tst-aio2.c: Include <pthread.h>.
16169 * rt/tst-aio3.c: Likewise.
16171 2012-09-27 Steve Ellcey <sellcey@mips.com>
16173 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16175 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16177 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16178 contents on [SHARED].
16180 2012-09-26 Marek Polacek <polacek@redhat.com>
16184 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16185 for C++ and GCC <4.3 as well as for non GCC compilers.
16187 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16191 2012-09-25 Roland McGrath <roland@hack.frob.com>
16193 * Makefile.in (all, install): Declare with .PHONY.
16194 Reported by Michael Hope <michael.hope@linaro.org>.
16196 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16198 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16199 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16201 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16203 (sydep_routines): Add the new and the internal functions.
16204 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16205 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16207 (GLIBC_2.17): Add the new function.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16209 (GLIBC_2.17): Likewise.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16211 (GLIBC_2.17): Likewise.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16213 (GLIBC_2.17): Likewise.
16214 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16216 2012-09-25 Alan Modra <amodra@gmail.com>
16218 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16219 Add release barrier before setting once_control to say
16220 initialisation is done. Add hints on lwarx. Use macro in
16222 (clear_once_control): Add release barrier.
16224 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16227 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16229 * math/s_clog10.c (__clog10): Likewise.
16230 * math/s_clog10f.c (__clog10f): Likewise.
16231 * math/s_clog10l.c (__clog10l): Likewise.
16232 * math/s_clogf.c (__clogf): Likewise.
16233 * math/s_clogl.c (__clogl): Likewise.
16234 * math/Makefile (libm-calls): Add x2y2m1.
16235 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16236 (__x2y2m1): Likewise.
16237 (__x2y2m1l): Likewise.
16238 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16239 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16240 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16242 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16243 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16244 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16245 * sysdeps/i386/fpu/libm-test-ulps: Update.
16246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16249 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16250 int as type of variable DEPTH.
16251 (glob): Use size_t instead of int as type of variables NEWCOUNT
16254 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16256 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16257 Add s_sincosf-sse2.
16258 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16260 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16261 macros for using routine as __sincosf_ia32.
16262 Use macro for function declaration and weak_alias.
16263 * sysdeps/i386/fpu/libm-test-ulps: Update.
16265 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16268 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16269 subnormal argument.
16270 * math/s_cexpf.c (__cexpf): Likewise.
16271 * math/s_csinf.c (__csinf): Likewise.
16272 * math/s_csinhf.c (__csinhf): Likewise.
16273 * math/s_ctanf.c (__ctanf): Likewise.
16274 * math/s_ctanhf.c (__ctanhf): Likewise.
16275 * math/s_ccosh.c (__ccoshf): Likewise.
16276 * math/s_cexp.c (__cexpl): Likewise.
16277 * math/s_csin.c (__csin): Likewise.
16278 * math/s_csinh.c (__csinh): Likewise.
16279 * math/s_ctan.c (__ctan): Likewise.
16280 * math/s_ctanh.c (ctanh): Likewise.
16281 * math/s_ccoshl.c (__ccoshl): Likewise.
16282 * math/s_cexpl.c (__cexpl): Likewise.
16283 * math/s_csinl.c (__csinl): Likewise.
16284 * math/s_csinhl.c (__csinhl): Likewise.
16285 * math/s_ctanl.c (__ctanl): Likewise.
16286 * math/s_ctanhl.c (__ctanhl): Likewise.
16288 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16290 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16291 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16292 (_IO_off_t): Define to __off_t, not _G_off_t.
16293 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16294 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16295 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16296 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16297 type of __dummy and __dummy2 fields.
16298 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16299 (_G_ssize_t): Likewise.
16300 (_G_off_t): Likewise.
16301 (_G_pid_t): Likewise.
16302 (_G_uid_t): Likewise.
16303 (_G_wchar_t): Likewise.
16304 (_G_wint_t): Likewise.
16305 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16306 (_G_ssize_t): Likewise.
16307 (_G_off_t): Likewise.
16308 (_G_pid_t): Likewise.
16309 (_G_uid_t): Likewise.
16310 (_G_wchar_t): Likewise.
16311 (_G_wint_t): Likewise.
16312 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16313 (_G_ssize_t): Likewise.
16314 (_G_off_t): Likewise.
16315 (_G_pid_t): Likewise.
16316 (_G_uid_t): Likewise.
16317 (_G_wchar_t): Likewise.
16318 (_G_wint_t): Likewise.
16320 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16322 * malloc/arena.c: Include malloc-sysdep.h.
16323 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16324 is sufficient to shrink the heap or an unmap is needed.
16325 * sysdeps/generic/malloc-sysdep.h: New file. Define
16326 new function check_may_shrink_heap.
16327 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16328 new function check_may_shrink_heap.
16330 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16332 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16335 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16337 * catgets/test-gencat.sh: Add "set -e".
16338 * elf/tst-pathopt.sh: Likewise.
16339 * grp/tst_fgetgrent.sh: Likewise.
16340 * iconvdata/run-iconv-test.sh: Likewise.
16341 * intl/tst-gettext.sh: Likewise.
16342 * intl/tst-gettext2.sh: Likewise.
16343 * intl/tst-gettext4.sh: Likewise.
16344 * intl/tst-gettext6.sh: Likewise.
16345 * intl/tst-translit.sh: Likewise.
16346 * io/ftwtest-sh: Likewise.
16347 * libio/test-freopen.sh: Likewise.
16348 * malloc/tst-mtrace.sh: Likewise.
16349 * posix/globtest.sh: Likewise.
16350 * posix/tst-getconf.sh: Likewise.
16351 * posix/wordexp-tst.sh: Likewise.
16352 * stdio-common/tst-printf.sh: Likewise.
16353 * stdio-common/tst-unbputc.sh: Likewise.
16354 * stdlib/tst-fmtmsg.sh: Likewise.
16355 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16356 * catgets/Makefile: Do not specify -e option when running
16357 testsuite shell scripts.
16358 * elf/Makefile: Likewise.
16359 * grp/Makefile: Likewise.
16360 * iconvdata/Makefile: Likewise.
16361 * intl/Makefile: Likewise.
16362 * io/Makefile: Likewise.
16363 * libio/Makefile: Likewise.
16364 * malloc/Makefile: Likewise.
16365 * posix/Makefile: Likewise.
16366 * stdio-common/Makefile: Likewise.
16367 * stdlib/Makefile: Likewise.
16368 * sysdeps/x86_64/Makefile: Likewise.
16370 * io/ftwtest-sh: Add copyright header.
16371 * posix/globtest.sh: Likewise.
16372 * posix/tst-getconf.sh: Likewise.
16373 * posix/wordexp-tst.sh: Likewise.
16374 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16376 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16379 * Makeconfig (+link): Defined as $(+link-static) if
16380 $(build-shared) isn't yes.
16381 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16383 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16385 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16388 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16389 new chunk size with MALLOC_ALIGN_MASK.
16391 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16394 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16396 (__printf_fphex): Determine rounding using get_rounding_mode and
16398 * stdio-common/tst-printf-round.c (struct hex_test): New
16400 (hex_tests): New variable.
16401 (test_hex_in_one_mode): New function.
16402 (do_test): Also run tests for hex float output.
16404 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16406 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16408 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16409 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16410 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16411 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16412 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16415 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16417 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16418 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16419 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16420 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16422 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16425 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16427 * elf/tst-rtld-load-self.sh: New test.
16428 * elf/Makefile: Run it.
16430 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16432 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16433 (tst-writev-ENV): Remove.
16434 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16436 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16438 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16440 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16442 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16444 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16446 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16447 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16448 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16451 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16454 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16455 * config.make.in (have-cpp-asm-debuginfo): Removed.
16456 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16457 * configure: Regenerated.
16459 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16462 * stdio-common/printf_fp.c: Include <stdbool.h> and
16464 (___printf_fp): Determine rounding using get_rounding_mode and
16466 * stdio-common/tst-printf-round.c: New file.
16467 * stdio-common/Makefile (tests): Add tst-printf-round.
16468 (link-libm): New variable.
16469 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16471 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16474 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16475 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16477 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16480 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16482 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16483 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16484 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16485 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16487 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16490 * include/rounding-mode.h: New file.
16491 * sysdeps/generic/get-rounding-mode.h: Likewise.
16492 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16493 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16494 (MAX_VALUE): New macro.
16495 (MIN_VALUE): Likewise.
16496 (overflow_value): New function.
16497 (underflow_value): Likewise.
16498 (round_and_return): Use overflow_value and underflow_value to
16499 determine return values in overflow and underflow cases. Use
16500 round_away to determine rounding depending on rounding mode.
16501 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16502 determine return values in overflow and underflow cases.
16503 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16504 (struct test_results): New structure.
16505 (struct test): Use struct test_results to store expected results
16506 for all rounding modes.
16507 (TEST): Include expected results for all rounding modes.
16508 (test_in_one_mode): New function.
16509 (do_test): Use test_in_one_mode to compute and check results.
16510 Check results for all rounding modes.
16511 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16514 2012-12-09 Allan McRae <allan@archlinux.org>
16516 * sysdeps/i386/fpu/libm-test-ulps: Update
16518 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16520 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16521 (_G_int32_t): Likewise.
16522 (_G_uint16_t): Likewise.
16523 (_G_uint32_t): Likewise.
16524 (_G_HAVE_BOOL): Likewise.
16525 (_G_HAVE_ATEXIT): Likewise.
16526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16527 (_G_HAVE_IO_FILE_OPEN): Likewise.
16528 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16529 (_G_int32_t): Likewise.
16530 (_G_uint16_t): Likewise.
16531 (_G_uint32_t): Likewise.
16532 (_G_HAVE_BOOL): Likewise.
16533 (_G_HAVE_ATEXIT): Likewise.
16534 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16535 (_G_HAVE_IO_FILE_OPEN): Likewise.
16536 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16537 (_G_int32_t): Likewise.
16538 (_G_uint16_t): Likewise.
16539 (_G_uint32_t): Likewise.
16540 (_G_HAVE_BOOL): Likewise.
16541 (_G_HAVE_ATEXIT): Likewise.
16542 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16543 (_G_HAVE_IO_FILE_OPEN): Likewise.
16545 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16547 * csu/libc-tls.c: Update copyright years.
16549 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16551 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16552 [!_G_USING_THUNKS]: Remove conditional code.
16553 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16554 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16556 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16557 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16558 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16559 (_G_VTABLE_LABEL_PREFIX): Likewise.
16560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16561 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16563 (_G_VTABLE_LABEL_PREFIX): Likewise.
16564 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16565 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16567 (_G_VTABLE_LABEL_PREFIX): Likewise.
16568 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16570 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16572 * libio/Makefile: Include ../Makeconfig before tests.
16573 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16574 only if $(build-shared) is yes.
16576 * iconv/gconv_db.c: Update copyright years.
16578 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16580 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16581 unwind info if defined PIC. Fix special cases description.
16582 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16584 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16586 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16588 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16590 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16592 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16595 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16596 (LDLIBS-tst-chk4): This.
16597 (LDFLAGS-tst-chk5): Renamed to ...
16598 (LDLIBS-tst-chk5): This.
16599 (LDFLAGS-tst-chk6): Renamed to ...
16600 (LDLIBS-tst-chk6): This.
16601 (LDFLAGS-tst-lfschk4): Renamed to ...
16602 (LDLIBS-tst-lfschk4): This.
16603 (LDFLAGS-tst-lfschk5): Renamed to ...
16604 (LDLIBS-tst-lfschk5): This.
16605 (LDFLAGS-tst-lfschk6): Renamed to ...
16606 (LDLIBS-tst-lfschk6): This.
16608 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16609 on $(common-objpfx)soversions.mk.
16611 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16614 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16617 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 * malloc/arena.c (arena_get_retry): New function that gets
16620 another arena for the caller to try its request on.
16621 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16622 current arena cannot fulfill the request.
16623 (__libc_memalign): Likewise.
16624 (__libc_memalign): Likewise.
16625 (__libc_pvalloc): Likewise.
16626 (__libc_calloc): Likewise.
16628 2012-09-05 John Tobey <john.tobey@gmail.com>
16631 * manual/arith.texi (Operations on Complex): Fix description
16632 of carg branch cut.
16634 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16637 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16641 * manual/memory.texi (Memory): Make order of menu items match
16644 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16646 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16647 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16648 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16650 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16652 * csu/libc-tls.c (static_dtv): Renamed to ...
16653 (_dl_static_dtv): This. Make it global.
16654 (_dl_initial_dtv): Removed.
16655 (__libc_setup_tls): Updated.
16656 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16657 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16660 2012-09-06 Petr Machata <pmachata@redhat.com>
16662 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16663 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16664 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16665 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16667 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16670 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16671 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16677 * Makeconfig (link-static-before-libc): Replace $(+prector)
16679 (link-static-after-libc): Replace $(+postctor) with
16681 (link-bounded): Replace $(+prector)/$(+postctor) with
16682 $(+prectorT)/$(+postctorT).
16683 (+prectorT): New macro.
16684 (+postctorT): Likewise.
16686 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16688 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16689 (round_str): Handle values above the maximum for IBM long double
16691 * stdlib/tst-strtod-round.c (tests): Regenerated.
16693 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16695 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16697 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16698 zarch_nohighgprs around the zarch optimized routines.
16699 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16700 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16704 2012-09-05 David S. Miller <davem@davemloft.net>
16706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16708 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16709 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16710 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16714 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16716 * malloc/arena.c: Fold copyright years.
16717 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16719 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16721 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16725 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16727 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16729 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16730 change internal state upon failure.
16732 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16734 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16735 * malloc/memusage.c (mmap): Likewise.
16736 (mmap64, mremap): Likewise. Adjust name in comment.
16738 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16740 * libio/fileops.c: Fix typos in comments.
16741 * libio/oldfileops.c: Likewise.
16742 * libio/wfileops.c: Likewise.
16744 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16747 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16748 (tst-malloc-usable-ENV): Set environment for test case.
16749 * malloc/hooks.c (malloc_check_get_size): New function to get
16751 * malloc/malloc.c (musable): Use malloc_check_get_size.
16752 * malloc/tst-malloc-usable.c: New test case.
16754 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16756 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16758 2012-09-05 Allan McRae <allan@archlinux.org>
16761 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16762 determine header location.
16763 * configure: Regenerated.
16765 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16767 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16769 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16770 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16772 (test): Regenerate.
16774 2012-09-04 David S. Miller <davem@davemloft.net>
16776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16778 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16780 2012-09-04 Florian Weimer <fweimer@redhat.com>
16782 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16785 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16787 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16790 * libio/iogetdelim.c: Include <limits.h>.
16791 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16792 + len + 1 would overflow.
16794 2012-09-03 Andreas Jaeger <aj@suse.de>
16796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16797 * sysdeps/i386/fpu/libm-test-ulps: Update.
16799 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16802 Add s_sinf-sse2, s_conf-sse2.
16804 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16805 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16806 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16807 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16809 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16810 for using routine as __sinf_ia32.
16811 Use macro for function declaration and weak_alias.
16812 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16813 for using routine as __cosf_ia32.
16814 Use macro for function declaration and weak_alias.
16816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16817 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16819 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16820 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16823 * math/libm-test.inc (cos_test): Add more test cases.
16824 (sin_test): Likewise.
16825 (sincos_test): Likewise.
16827 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16830 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16832 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16834 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16837 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16838 first element of the GOT.
16839 (elf_machine_load_address): Return the difference between
16840 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16842 2012-09-01 Allan McRae <allan@archlinux.org>
16845 * configure.in (AWK): Require gawk version 3.0 or later.
16846 * configure: Regenerated.
16848 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16850 * sysdeps/unix/sysv/linux/kernel-features.h
16851 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16853 [__NR_clock_getres]: Make code unconditional.
16854 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16855 (clock_getcpuclockid): Remove code left unreachable by removal of
16857 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16858 code unconditional.
16859 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16861 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16862 Make code unconditional.
16863 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16865 * sysdeps/unix/sysv/linux/clock_settime.c
16866 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16868 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16871 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16874 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16875 scripts/test-installation.pl.
16877 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16878 and $ld_so_version if it is set.
16880 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16884 failure if reading from procfs failed.
16885 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16887 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16889 * sysdeps/unix/sysv/linux/kernel-features.h
16890 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16891 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16892 Remove conditional code.
16893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16894 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16895 Remove conditional code.
16896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16897 * sysdeps/unix/sysv/linux/i386/fxstat.c
16898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16900 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16903 * sysdeps/unix/sysv/linux/i386/lxstat.c
16904 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16906 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16907 Remove conditional code.
16908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16909 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16910 Remove conditional code.
16911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16912 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16913 <kernel-features.h>.
16914 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16916 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16917 Remove conditional code.
16918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16919 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16920 Remove conditional.
16922 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16925 * NEWS: Add fixed bug number.
16927 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16930 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16931 underflowing exponent in case of negative sign.
16932 * stdlib/tst-strtod-round-data: Add more tests.
16933 * stdlib/tst-strtod-round.c (tests): Regenerated.
16936 * stdlib/strtod_l.c (NDIG): Remove.
16937 (HEXNDIG): Likewise.
16938 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16939 smallest representable value.
16940 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16941 lie within an exact representation of 1/2 ulp of the result.
16942 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16944 (TENS_P9_IDX): Define unconditionally.
16945 (TENS_P9_SIZE): Likewise.
16946 (TENS_P10_IDX): Likewise.
16947 (TENS_P10_SIZE): Likewise.
16948 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16949 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16950 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16951 entries for 10^2^13 and 10^2^14.
16952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16953 (TENS_P13_IDX): Define.
16954 (TENS_P13_SIZE): Likewise.
16955 (TENS_P14_IDX): Likewise.
16956 (TENS_P14_SIZE): Likewise.
16957 (_fpioconst_pow10): Change array size to
16958 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16960 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16961 1024]: Add entries for 10^2^13 and 10^2^14.
16962 [LAST_POW10 > _LAST_POW10]: Remove #error.
16963 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16964 (_fpioconst_pow10): Change array size to
16965 FPIOCONST_POW10_ARRAY_SIZE.
16966 * stdlib/gen-fpioconst.c: New file.
16967 * stdlib/gen-tst-strtod-round.c: Likewise.
16968 * stdlib/tst-strtod-round-data: Likewise.
16969 * stdlib/tst-strtod-round.c: Likewise.
16970 * stdlib/Makefile (tests): Add tst-strtod-round.
16973 * stdlib/strtod_l.c: Include <stdint.h>.
16974 (NDEBUG): Do not define.
16975 (round_and_return): Change EXPONENT parameter to type intmax_t.
16976 Rearrange calculations to avoid internal overflow possibilities.
16977 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16978 Rearrange calculations to avoid internal overflow possibilities.
16979 Assert that number fits inside MPNSIZE limbs.
16980 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16981 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16982 calculations and add assertions to avoid internal overflow
16983 possibilities. Add casts to avoid signed/unsigned operations.
16984 * stdlib/tst-strtod-overflow.c: New file.
16985 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16987 2012-08-25 Marek Polacek <polacek@redhat.com>
16989 * time/time.h: Fix some typos in comments.
16991 2012-08-23 Roland McGrath <roland@hack.frob.com>
16993 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16994 * posix/tst-rfc3484-2.c: Likewise.
16995 * posix/tst-rfc3484-3.c: Likewise.
16997 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16999 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17000 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17002 2012-08-23 Joseph Myers <joseph@codesourcery.com>
17004 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17005 #include of fxstatat64.c.
17007 2012-08-22 Roland McGrath <roland@hack.frob.com>
17009 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17010 * shadow/getspent_r.c: Likewise.
17011 * shadow/getspnam.c: Likewise.
17012 * shadow/getspnam_r.c: Likewise.
17013 * gshadow/getsgent.c: Likewise.
17014 * gshadow/getsgent_r.c: Likewise.
17015 * gshadow/getsgnam.c: Likewise.
17016 * gshadow/getsgnam_r.c: Likewise.
17017 * inet/getnetbyad.c: Likewise.
17018 * inet/getnetbyad_r.c: Likewise.
17019 * inet/getnetbynm.c: Likewise.
17020 * inet/getnetbynm_r.c: Likewise.
17021 * inet/getnetent.c: Likewise.
17022 * inet/getnetent_r.c: Likewise.
17023 * inet/getproto.c: Likewise.
17024 * inet/getproto_r.c: Likewise.
17025 * inet/getprtent.c: Likewise.
17026 * inet/getprtent_r.c: Likewise.
17027 * inet/getprtname.c: Likewise.
17028 * inet/getprtname_r.c: Likewise.
17029 * inet/getrpcbyname.c: Likewise.
17030 * inet/getrpcbyname_r.c: Likewise.
17031 * inet/getrpcbynumber.c: Likewise.
17032 * inet/getrpcbynumber_r.c: Likewise.
17033 * inet/getrpcent.c: Likewise.
17034 * inet/getrpcent_r.c: Likewise.
17035 * inet/getaliasent.c: Likewise.
17036 * inet/getaliasent_r.c: Likewise.
17037 * inet/getaliasname.c: Likewise.
17038 * inet/getaliasname_r.c: Likewise.
17039 * nscd/getgrgid_r.c: Likewise.
17040 * nscd/getgrnam_r.c: Likewise.
17041 * nscd/gethstbyad_r.c: Likewise.
17042 * nscd/gethstbynm3_r.c: Likewise.
17043 * nscd/getpwnam_r.c: Likewise.
17044 * nscd/getpwuid_r.c: Likewise.
17045 * nscd/getsrvbynm_r.c: Likewise.
17046 * nscd/getsrvbypt_r.c: Likewise.
17047 * nscd/gai.c: Likewise.
17049 * configure.in (build_nscd): New substituted variable, set
17050 by --disable-build-nscd and defaults to $use_nscd.
17051 * configure: Regenerated.
17052 * config.make.in (build-nscd): New substituted variable.
17053 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17054 Change conditional to require [$(build-nscd) = yes] as well.
17055 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17058 * configure.in (use_nscd): New substituted variable, set by
17059 --disable-nscd. If enabled, define USE_NSCD.
17060 * configure: Regenerated.
17061 * config.h.in: Add USE_NSCD.
17062 * config.make.in (use-nscd): New substituted variable.
17063 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17064 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17065 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17066 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17067 (CFLAGS-getgrnam_r.c): Likewise.
17068 (CFLAGS-initgroups.c): Likewise.
17069 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17070 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17072 * inet/getnetgrent_r.c
17073 (nscd_setnetgrent): New function, broken out of ...
17074 (setnetgrent): ... here. Call it.
17075 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17076 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17077 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17078 * nscd/Makefile (routines, aux): Move definitions after include of
17079 Makeconfig. Conditionalize on [$(use-nscd) != no].
17080 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17081 Conditionalize on [USE_NSCD].
17082 (is_nscd, nscd_init_cb): Likewise.
17083 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17084 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17085 * nss/nss_db/db-init.c: Likewise.
17086 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17088 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17089 (make_request): Use it.
17090 (cache_valid_p): New function.
17091 (__check_pf): Use it.
17092 * NEWS: Add item for --disable-nscd.
17094 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17096 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17097 to support sed >= 4.2.1-20-ga9bf076.
17098 * configure: Regenerated.
17100 2012-08-22 Roland McGrath <roland@hack.frob.com>
17102 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17103 Conditionalize whole body on [IREL].
17105 2012-08-22 Jeff Law <law@redhat.com>
17108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17109 if the family is PF_UNSPEC.
17111 2012-08-22 Mike Frysinger <vapier@gentoo.org>
17113 * Makerules (lib-version): Rename from V.
17114 (install-lib-nosubdir): Change V to lib-version.
17116 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17119 * powerpc32/power6/wcschr.c: New file.
17120 * powerpc32/power6/wcscpy.c: New file.
17121 * powerpc32/power6/wcsrchr.c: New file.
17122 * powerpc64/power6/wcschr.c: New file.
17123 * powerpc64/power6/wcscpy.c: New file.
17124 * powerpc64/power6/wcsrchr.c: New file.
17126 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17128 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17129 (two_way_short_needle): Use it.
17130 * string/strstr.c (AVAILABLE1_USES_J): Define.
17131 * string/strcasestr.c: Likewise.
17133 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17135 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17138 * NEWS: Add an entry.
17139 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17140 define their defaults.
17141 (two_way_short_needle): Detect end-of-string on-the-fly.
17142 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17143 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17144 * string/bug-strcasestr1.c: New test.
17145 * string/Makefile: Run it.
17147 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17150 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17151 the first character.
17153 2012-08-21 Roland McGrath <roland@hack.frob.com>
17155 * csu/elf-init.c (__libc_csu_irel): Function removed.
17156 * csu/libc-start.c (apply_irel): New function.
17157 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17159 2012-08-21 Joseph Myers <joseph@codesourcery.com>
17161 * sysdeps/unix/sysv/linux/kernel-features.h
17162 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17163 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17164 <kernel-features.h>.
17165 [__NR_fadvise64_64]: Make code unconditional.
17166 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17167 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17168 !__NR_fadvise64_64)]: Likewise.
17169 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17170 !__NR_fadvise64_64))]: Likewise.
17171 [__NR_fadvise64]: Make code unconditional.
17172 [!__NR_fadvise64]: Remove conditional code.
17173 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17174 <kernel-features.h>.
17175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17180 not include <kernel-features.h>.
17181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17185 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17186 include <kernel-features.h>.
17187 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17189 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17192 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17195 slight instruction rearrangements per scrollpipe analysis.
17196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17198 2012-08-20 Roland McGrath <roland@hack.frob.com>
17200 * manual/syslog.texi (syslog; vsyslog, closelog):
17201 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17202 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17204 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17205 DSOCAPS to match condition on defining it.
17207 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17209 * sysdeps/unix/sysv/linux/kernel-features.h
17210 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17218 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17219 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17221 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17222 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17224 * sysdeps/unix/sysv/linux/kernel-features.h
17225 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17226 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17228 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17229 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17230 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17231 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17232 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17233 Make code unconditional.
17234 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17235 (__mmap64) [!__NR_mmap2]: Likewise.
17236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17237 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17238 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17239 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17240 [__NR_mmap2]: Make code unconditional.
17241 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17242 (__mmap64) [!__NR_mmap2]: Likewise.
17244 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17246 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17248 2012-08-18 Andreas Jaeger <aj@suse.de>
17250 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17252 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17254 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17255 * include/unistd.h (__have_sock_cloexec): Likewise.
17256 (__have_pipe2): Likewise.
17257 (__have_dup3): Likewise.
17259 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17262 * include/unistd.h (__have_pipe2): Change define into an extern int.
17263 (__have_dup3): Likewise.
17264 * socket/have_sock_cloexec.c: Include fcntl.h.
17265 (__have_pipe2): New variable.
17266 (__have_dup3): Likewise.
17268 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17270 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17272 2012-08-17 Marek Polacek <polacek@redhat.com>
17274 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17275 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17277 2012-08-17 Roland McGrath <roland@hack.frob.com>
17279 * configure.in: Add AC_SUBST for sysheaders.
17280 * configure: Regenerated.
17281 * config.make.in (sysheaders): New substituted variable.
17283 * sysdeps/unix/mkfifo.c: Moved ...
17284 * sysdeps/posix/mkfifo.c: ... here.
17285 * sysdeps/unix/mkfifoat.c: Moved ...
17286 * sysdeps/posix/mkfifoat.c: ... here.
17288 * sysdeps/unix/utime.c: Moved ...
17289 * sysdeps/posix/utime.c: ... here.
17291 * sysdeps/unix/time.c: Moved ...
17292 * sysdeps/posix/time.c: ... here.
17293 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17294 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17296 * sysdeps/unix/nice.c: Moved ...
17297 * sysdeps/posix/nice.c: ... here.
17299 * sysdeps/unix/alarm.c: Moved ...
17300 * sysdeps/posix/alarm.c: ... here.
17302 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17304 2012-08-17 Jeff Law <law@redhat.com>
17306 * intl/Makefile (codeset_mo): New variable.
17307 ($(codeset_mo)): New target.
17308 (tst-codeset.out): Depend on that. Remove explicit rule.
17309 (tst-gettext3.out, tst-gettext5.out): Likewise.
17310 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17311 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17312 * intl/tst-codeset.sh: Remove.
17313 * intl/tst-gettext3.sh: Likewise.
17314 * intl/tst-gettext5.sh: Likewise.
17316 2012-08-17 Roland McGrath <roland@hack.frob.com>
17318 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17319 * sysdeps/unix/syscalls.list: ... here.
17321 * sysdeps/posix/getaddrinfo.c
17322 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17323 (gaiconf_init, gaiconf_reload): Use them.
17324 [!_STATBUF_ST_NSEC]
17325 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17326 Define using time_t rather than struct timespec.
17328 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17329 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17331 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17333 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17334 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17337 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17338 __libc_cleanup_push argument.
17340 * bits/param.h: New file.
17341 * misc/sys/param.h: New file.
17342 * include/sys/param.h: New file.
17343 * misc/Makefile (headers): Add bits/param.h.
17344 * sysdeps/generic/sys/param.h: File removed.
17345 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17346 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17347 * sysdeps/mach/hurd/bits/param.h: New file.
17348 * sysdeps/mach/hurd/sys/param.h: File removed.
17350 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17353 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17355 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17356 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17359 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17360 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17361 rather than -D_IO_MTSAFE_IO conditionally.
17362 * stdio-common/Makefile (CPPFLAGS): Likewise.
17363 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17364 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17365 Use $(libio-mtsafe).
17366 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17367 of -D_IO_MTSAFE_IO.
17368 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17369 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17370 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17371 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17372 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17373 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17374 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17375 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17376 (CFLAGS-fread_u_chk.c): Likewise.
17377 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17378 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17379 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17380 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17381 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17382 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17383 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17384 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17385 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17387 * libio/Makefile: Test [$(libc-reentrant) = yes]
17388 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17391 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17392 * sysdeps/pthread/configure: File removed.
17393 * sysdeps/pthread/Makeconfig: New file.
17394 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17395 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17397 2012-08-16 Gary Benson <gbenson@redhat.com>
17399 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17400 unmapping the first object in a namespace.
17402 2012-08-16 Roland McGrath <roland@hack.frob.com>
17404 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17405 (__internal_setnetgrent): ... this. Add internal_function to
17406 definition. Add libc_hidden_def.
17407 (setnetgrent): Update caller.
17408 (internal_endnetgrent): Renamed to ...
17409 (__internal_endnetgrent): ... this. Add internal_function to
17410 definition. Add libc_hidden_def.
17411 (endnetgrent): Update caller.
17412 (internal_getnetgrent_r): Renamed to ...
17413 (__internal_getnetgrent_r): ... this. Add internal_function to
17414 definition. Add libc_hidden_def.
17415 (__getnetgrent_r): Update caller.
17416 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17418 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17420 * stdlib/longlong.h: Update from GCC.
17422 2012-08-16 Roland McGrath <roland@hack.frob.com>
17424 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17425 on _QL, which is set by umul_ppmm but never used.
17426 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17427 variables, which are set by GMP macros but never used.
17428 * stdio-common/_itowa.c (_itowa): Likewise.
17429 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17430 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17432 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17434 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17435 struct La_sh_regs is not constant.
17436 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17437 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17438 and struct La_sparc64_regs are not constant.
17440 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17442 * sysdeps/unix/sysv/linux/kernel-features.h
17443 (__ASSUME_POSIX_TIMERS): Remove.
17444 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17446 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17447 Make code unconditional.
17448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17449 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17450 Make code unconditional.
17451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17452 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17453 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17455 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17456 Make code unconditional.
17457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17458 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17459 (__libc_missing_posix_timers): Remove.
17461 2012-08-15 Roland McGrath <roland@hack.frob.com>
17463 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17464 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17466 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17468 * elf/dl-sym.c: Include <stdlib.h>.
17470 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17471 constants, which avoids warnings in 32-bit builds.
17473 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17474 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17476 * misc/lseek.c: File moved to ...
17477 * io/lseek.c: ... here.
17479 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17481 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17482 shifting LEN more than 31 bits at once.
17484 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17487 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17488 segmentation fault for a case of two empty input strings.
17489 * string/test-strncasecmp.c (check1): Renamed to...
17490 (bz12205): ...this.
17491 (bz14195): Add new testcase for two empty input strings and N > 0.
17492 (test_main): Call new testcase, adapt for renamed function.
17494 2012-08-15 Andreas Jaeger <aj@suse.de>
17497 * crypt/md5test2.c: New test, based on test supplied by Serge
17498 Belyshev <belyshev@depni.sinp.msu.ru>.
17499 * crypt/Makefile (xtests): Add md5test-giant..
17500 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17502 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17505 * crypt/md5.c (md5_process_block): Don't assume the buffer
17506 length is less than 2**32.
17507 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17508 length is less than 2**64.
17510 2012-08-15 Roland McGrath <roland@hack.frob.com>
17512 * string/str-two-way.h: Include <sys/param.h>.
17513 (MAX): Macro removed.
17515 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17516 Move #define and #undef of memmove to just before and after
17517 including <string.h>.
17519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17520 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17521 and after including <string.h>. Move declarations of
17522 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17523 to before #include "string/memmove.c".
17525 * include/dirent.h: Declare __getdirentries.
17527 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17528 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17530 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17532 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17533 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17534 * sysdeps/i386/configure: Regenerated.
17535 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17536 STABS_CURRENT_FILE, and STABS_FUN.
17537 (END): Remove call to STABS_FUN_END.
17538 (STABS_CURRENT_FILE1): Delete.
17539 (STABS_CURRENT_FILE): Likewise.
17540 (STABS_FUN): Likewise.
17541 (STABS_FUN_END): Likewise.
17542 (STABS_FUN2): Likewise.
17543 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17544 * sysdeps/x86_64/configure: Regenerated.
17546 2012-08-14 Roland McGrath <roland@hack.frob.com>
17548 * elf/dl-open.c: Include <atomic.h>.
17549 * elf/dl-lookup.c: Likewise.
17551 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17553 * sysdeps/unix/sysv/linux/kernel-features.h
17554 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17555 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17557 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17559 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17560 condition on __ASSUME_CLONE_THREAD_FLAGS.
17562 2012-08-14 Andreas Jaeger <aj@suse.de>
17564 * sysdeps/i386/fpu/libm-test-ulps: Update.
17566 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17568 * include/atomic.h (atomic_exchange_and_add): Split into ...
17569 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17572 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17576 2012-08-13 Jeff Law <law@redhat.com>
17578 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17579 null byte in the output string.
17581 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17583 * sysdeps/unix/sysv/linux/kernel-features.h
17584 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17585 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17586 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17588 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17589 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17590 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17592 2012-08-09 Jeff Law <law@redhat.com>
17595 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17596 When avoid_arena is set, don't retry in the that arena. Pick the
17597 next one, whatever it might be.
17598 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17599 (arena_lock): Pass in new parameter to arena_get2.
17600 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17602 (__libc_malloc): Unify retrying after main arena failure with
17603 __libc_memalign version.
17604 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17606 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17609 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17610 to __redirect_strstr.
17611 (__strstr_sse42): Use typeof __redirect_strstr.
17612 (__strstr_ia32): Likewise.
17613 (__libc_strstr): New prototype.
17614 (strstr): Renamed to ...
17615 (__libc_strstr): This.
17616 (strstr): New strong alias of __libc_strstr.
17617 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17618 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17621 (__libc_time): New prototype.
17622 (time_ifunc): Replace time with __libc_time.
17623 (time): New strong alias and hidden definition of __libc_time.
17624 (__GI_time): Remove strong alias.
17625 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17626 Include <stddef.h>.
17627 (memmove): Redefined to __redirect_memmove.
17628 (__memmove_sse2): Use typeof __redirect_memmove.
17629 (__memmove_ssse3): Likewise.
17630 (__memmove_ssse3_back): Likewise.
17631 (__libc_memmove): New prototype.
17632 (memmove): Renamed to ...
17633 (__libc_memmove): This.
17634 (memmove): New strong alias of __libc_memmove.
17636 2012-08-08 Mark Salter <msalter@redhat.com>
17639 (R_MN10300_TLS_GD): Define.
17640 (R_MN10300_TLS_LD): Likewise.
17641 (R_MN10300_TLS_LDO): Likewise.
17642 (R_MN10300_TLS_GOTIE): Likewise.
17643 (R_MN10300_TLS_IE): Likewise.
17644 (R_MN10300_TLS_LE): Likewise.
17645 (R_MN10300_TLS_DTPMOD): Likewise.
17646 (R_MN10300_TLS_DTPOFF): Likewise.
17647 (R_MN10300_TLS_TPOFF): Likewise.
17648 (R_MN10300_SYM_DIFF): Likewise.
17649 (R_MN10300_ALIGN): Likewise.
17650 (R_MN10300_NUM): Update.
17652 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17657 2012-08-08 Roland McGrath <roland@hack.frob.com>
17659 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17661 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17662 sysdeps/unix -> sysdeps/posix move.
17663 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17665 2012-08-07 Allan McRae <allan@archlinux.org>
17668 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17669 (SUNOS_CPP): Likewise.
17670 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17672 (open_input): Call CPP using execvp.
17674 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17676 * sysdeps/unix/sysv/linux/kernel-features.h
17677 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17678 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17679 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17680 (__ASSUME_WAITID_SYSCALL): Likewise.
17681 * sysdeps/unix/sysv/linux/dl-execstack.c
17682 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17683 code unconditional.
17684 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17687 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17688 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17690 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17692 [__ASSUME_WAITID_SYSCALL]: Likewise.
17693 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17695 2012-08-07 Roland McGrath <roland@hack.frob.com>
17697 * sysdeps/unix/closedir.c: Renamed to ...
17698 * sysdeps/posix/closedir.c: ... here.
17699 * sysdeps/unix/dirfd.c: Renamed to ...
17700 * sysdeps/posix/dirfd.c: ... here.
17701 * sysdeps/unix/dirstream.h: Renamed to ...
17702 * sysdeps/posix/dirstream.h: ... here.
17703 * sysdeps/unix/fdopendir.c: Renamed to ...
17704 * sysdeps/posix/fdopendir.c: ... here.
17705 * sysdeps/unix/opendir.c: Renamed to ...
17706 * sysdeps/posix/opendir.c: ... here.
17707 * sysdeps/unix/readdir.c: Renamed to ...
17708 * sysdeps/posix/readdir.c: ... here.
17709 * sysdeps/unix/readdir_r.c: Renamed to ...
17710 * sysdeps/posix/readdir_r.c: ... here.
17711 * sysdeps/unix/rewinddir.c: Renamed to ...
17712 * sysdeps/posix/rewinddir.c: ... here.
17713 * sysdeps/unix/seekdir.c: Renamed to ...
17714 * sysdeps/posix/seekdir.c: ... here.
17715 * sysdeps/unix/telldir.c: Renamed to ...
17716 * sysdeps/posix/telldir.c: ... here.
17717 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17718 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17719 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17720 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17723 * bits/fcntl.h: ... here.
17725 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17727 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17728 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17729 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17730 (struct flock): Move l_start, l_len to the beginning.
17731 Use __pid_t for l_pid.
17732 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17733 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17734 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17735 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17736 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17737 [__USE_LARGEFILE64] (struct flock64): New type.
17738 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17741 * bits/dirent.h: ... here.
17743 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17744 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17746 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17749 Change from 2.6.0 to 2.6.16.
17750 * sysdeps/unix/sysv/linux/configure: Regenerated.
17751 * sysdeps/unix/sysv/linux/kernel-features.h
17752 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17753 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17755 (__ASSUME_UTIMES): Likewise.
17756 (__ASSUME_CLONE_STOPPED): Remove.
17757 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17758 architectures, not kernel version.
17759 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17760 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17761 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17762 (__ASSUME_WAITID_SYSCALL): Likewise.
17763 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17764 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17765 * README: State 2.6.16 as minimum Linux kernel version. Do not
17766 refer to older versions.
17768 2012-08-06 Roland McGrath <roland@hack.frob.com>
17770 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17771 Define alphasort64 as an alias.
17772 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17773 Define versionsort64 as an alias.
17774 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17775 Define scandir64 as an alias.
17776 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17777 Define scandirat64 as an alias.
17778 * dirent/alphasort64.c (alphasort64):
17779 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17780 * dirent/versionsort64.c: Likewise.
17781 * dirent/scandir64.c: Likewise.
17782 * dirent/scandirat64.c: Likewise.
17783 * sysdeps/wordsize-64/alphasort.c: File removed.
17784 * sysdeps/wordsize-64/alphasort64.c: File removed.
17785 * sysdeps/wordsize-64/scandir.c: File removed.
17786 * sysdeps/wordsize-64/scandir64.c: File removed.
17787 * sysdeps/wordsize-64/scandirat.c: File removed.
17788 * sysdeps/wordsize-64/scandirat64.c: File removed.
17789 * sysdeps/wordsize-64/versionsort.c: File removed.
17790 * sysdeps/wordsize-64/versionsort64.c: File removed.
17791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17793 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17795 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17800 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17802 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17804 [defined __arch64__ || defined __sparcv9]
17805 (__INO_T_MATCHES_INO64_T): New macro.
17806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17807 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17808 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17809 * sysdeps/unix/sysv/linux/bits/dirent.h
17810 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17811 (_DIRENT_MATCHES_DIRENT64): New macro.
17813 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17814 Define lockf64 as an alias.
17815 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17816 Define fseeko64 as an alias.
17817 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17818 Define ftello64 as an alias.
17819 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17820 Define _IO_fgetpos64 and fgetpos64 as aliases.
17821 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17822 Define _IO_fsetpos64 and fsetpos64 as aliases.
17823 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17824 Conditionalize body on this.
17825 * libio/fseeko64.c: Likewise.
17826 * libio/ftello64.c: Likewise.
17827 * libio/iofgetpos64.c: Likewise.
17828 * libio/iofsetpos64.c: Likewise.
17829 * sysdeps/wordsize-64/lockf.c: File removed.
17830 * sysdeps/wordsize-64/lockf64.c: File removed.
17831 * sysdeps/wordsize-64/fseeko.c: File removed.
17832 * sysdeps/wordsize-64/fseeko64.c: File removed.
17833 * sysdeps/wordsize-64/ftello.c: File removed.
17834 * sysdeps/wordsize-64/ftello64.c: File removed.
17835 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17836 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17837 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17838 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17850 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17852 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17854 [defined __arch64__ || defined __sparcv9]
17855 (__OFF_T_MATCHES_OFF64_T): New macro.
17856 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17857 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17859 (__OFF_T_MATCHES_OFF64_T): New macro.
17861 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17863 * stdlib/secure-getenv.c (__secure_getenv): Replace
17864 GLIBC_2_16 with GLIBC_2_17.
17866 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17868 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17871 2012-08-03 David S. Miller <davem@davemloft.net>
17873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17875 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17879 (__ASSUME_CORRECT_SI_PID): Likewise.
17880 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17881 (__ASSUME_TMPFS_NAME): Likewise.
17882 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17883 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17884 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17885 (HAVE_AUX_SECURE): Make definition unconditional.
17886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17887 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17889 2012-08-03 Roland McGrath <roland@hack.frob.com>
17891 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17892 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17893 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17894 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17895 __eloop_threshold instead of SYMLOOP_MAX.
17897 * sysdeps/generic/eloop-threshold.h: New file.
17898 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17900 * elf/chroot_canon.c (chroot_canon): Likewise.
17902 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17906 Change to 2.6.0 everywhere.
17907 * sysdeps/unix/sysv/linux/configure: Regenerated.
17908 * sysdeps/unix/sysv/linux/kernel-features.h
17909 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17910 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17912 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17913 (__ASSUME_FUTEX_REQUEUE): Remove.
17914 (__ASSUME_STATFS64): Define unconditionally.
17915 (__ASSUME_AT_SECURE): Likewise.
17916 (__ASSUME_CORRECT_SI_PID): Likewise.
17917 (__ASSUME_TGKILL): Define without depending on kernel version for
17919 (__ASSUME_UTIMES): Likewise.
17920 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17922 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17923 (__ASSUME_TMPFS_NAME): Likewise.
17924 * README: Update reference to Linux kernel versions.
17926 2012-08-02 Marek Polacek <polacek@redhat.com>
17929 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17930 libc_cv_asm_type_prefix with %.
17931 * configure: Regenerated.
17932 * include/libc-symbols.h: Remove comment about
17933 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17934 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17935 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17936 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17937 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17938 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17939 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17940 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17941 * elf/tst-unique2mod1.c: Likewise.
17942 * elf/tst-unique1mod2.c: Likewise.
17943 * elf/tst-unique1mod1.c: Likewise.
17944 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17945 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17946 Replace ASM_TYPE_DIRECTIVE with .type.
17947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17948 * sysdeps/i386/sysdep.h: Likewise.
17949 * sysdeps/x86_64/sysdep.h: Likewise.
17950 * sysdeps/sh/sysdep.h: Likewise.
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17952 Do not define ASM_TYPE_DIRECTIVE.
17953 * sysdeps/powerpc/sysdep.h: Likewise.
17954 * sysdeps/powerpc/powerpc32/sysdep.h:
17955 Replace ASM_TYPE_DIRECTIVE with .type.
17956 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17957 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17958 * sysdeps/i386/fpu/e_powf.S: Likewise.
17959 * sysdeps/i386/fpu/e_expl.S: Likewise.
17960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17961 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17962 * sysdeps/i386/fpu/e_pow.S: Likewise.
17963 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17964 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17965 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17966 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17967 * sysdeps/i386/fpu/e_log2.S: Likewise.
17968 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17969 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17970 * sysdeps/i386/fpu/e_powl.S: Likewise.
17971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17972 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17973 * sysdeps/i386/fpu/e_logl.S: Likewise.
17974 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17979 * sysdeps/i386/fpu/e_log.S: Likewise.
17980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17981 * sysdeps/i386/fpu/e_logf.S: Likewise.
17982 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17983 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17984 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17985 * sysdeps/i386/fpu/e_log10.S: Likewise.
17986 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17988 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17989 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17992 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17993 * sysdeps/i386/i686/strtok.S: Likewise.
17994 * sysdeps/i386/i386-mcount.S: Likewise.
17995 * sysdeps/i386/strtok.S: Likewise.
17996 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18000 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18005 * sysdeps/x86_64/_mcount.S: Likewise.
18006 * sysdeps/x86_64/strtok.S: Likewise.
18007 * sysdeps/sh/_mcount.S: Likewise.
18009 2012-08-01 Roland McGrath <roland@hack.frob.com>
18011 * libio/iofopen.c: Include <fcntl.h>.
18012 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18013 (_IO_fopen64, fopen64): Define as aliases.
18014 * libio/iofopen64.c: Include <fcntl.h>.
18015 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18016 Conditionalize body on this.
18017 * sysdeps/wordsize-64/iofopen.c: File removed.
18018 * sysdeps/wordsize-64/iofopen64.c: File removed.
18020 2012-08-01 Marek Polacek <polacek@redhat.com>
18022 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18023 Use dlfcn directly instead of a variable.
18024 (binfmt-subdir): Do not define.
18027 2012-08-01 Joseph Myers <joseph@codesourcery.com>
18029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18030 Remove all definitions.
18031 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18032 <kernel-features.h>.
18033 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18034 (miss_F_GETOWN_EX): Remove all definitions.
18035 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18037 [!__ASSUME_FCNTL64]: Remove conditional code.
18038 [__ASSUME_FCNTL64]: Make code unconditional.
18039 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18040 <kernel-features.h>.
18041 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18042 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18043 (lockf64) [__NR_fcntl64]: Make code unconditional.
18044 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18046 * sysdeps/unix/sysv/linux/kernel-features.h
18047 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18048 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18049 Make code unconditional.
18050 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18051 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18053 [__NR_vfork]: Make code unconditional.
18054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18057 [__NR_vfork]: Make code unconditional.
18058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18061 2012-08-01 Roland McGrath <roland@hack.frob.com>
18063 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18064 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18066 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18067 Define mkstemp64 as an alias.
18068 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18069 Define mkstemps64 as an alias.
18070 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18071 Define mkostemp64 as an alias.
18072 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18073 Define mkostemps64 as an alias.
18074 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18075 Conditionalize body on this.
18076 * misc/mkostemp64.c: Likewise.
18077 * misc/mkostemps64.c: Likewise.
18078 * misc/mkstemps64.c: Likewise.
18079 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18080 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18081 * sysdeps/wordsize-64/mkostemp.c: File removed.
18082 * sysdeps/wordsize-64/mkstemp.c: File removed.
18083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18086 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18089 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18090 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18091 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18092 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18094 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18095 compat_symbol macros from <shlib-compat.h> rather than the underlying
18096 default_symbol_version and symbol_version macros, so that DEFAULT
18097 lines in shlib-versions are respected.
18098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18100 2012-08-01 Florian Weimer <fweimer@redhat.com>
18102 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18103 Declare with warn_unused_result.
18104 (setgid, setregid, setegid, setresgid): Likewise.
18105 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18107 * WUR-REPORT: Remove set*id functions.
18109 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18111 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18113 2012-07-31 Roland McGrath <roland@hack.frob.com>
18116 * include/sys/socket.h (__libc_accept, __libc_accept4):
18117 Add attribute_hidden.
18118 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18122 * inet/getnetgrent_r.c (setup): Likewise.
18124 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18126 2012-07-31 David S. Miller <davem@davemloft.net>
18128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18130 2012-07-31 Joseph Myers <joseph@codesourcery.com>
18133 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18134 value between 1.0 and 2.0 and smaller part has absolute value less
18136 * math/s_clog10.c (__clog10): Likewise.
18137 * math/s_clog10f.c (__clog10f): Likewise.
18138 * math/s_clog10l.c (__clog10l): Likewise.
18139 * math/s_clogf.c (__clogf): Likewise.
18140 * math/s_clogl.c (__clogl): Likewise.
18141 * math/libm-test.inc (clog_test): Add more tests.
18142 (clog10_test): Likewise.
18143 * sysdeps/i386/fpu/libm-test-ulps: Update.
18144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18146 2012-07-31 Florian Weimer <fweimer@redhat.com>
18148 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18149 Exit with zero in case no suitable GID is found, and write a
18150 message to standard error.
18152 2012-07-30 Roland McGrath <roland@hack.frob.com>
18154 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18156 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18157 (MAXPATHLEN): Removed.
18158 (NOGROUP, NODEV): New macros.
18159 (setbit, clrbit, isset, isclr): New macros.
18160 (howmany, roundup, powerof2): New macros.
18161 (DEV_BSIZE): New macro.
18163 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18164 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18166 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18167 definition on [!__NO_LONG_DOUBLE_MATH].
18169 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18170 PTR_MANGLE and PTR_DEMANGLE.
18172 * socket/accept4.c (accept4): Rename to __libc_accept4.
18173 Define accept4 as a weak alias.
18175 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18176 on [_DIRENT_HAVE_D_TYPE].
18177 * io/ftw.c (ftw_dir): Likewise.
18179 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18181 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18183 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18184 Use the BSD numbers rather than the arbitrary ones we had.
18185 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18186 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18187 (SIGXCPU, SIGXFSZ): New macros.
18190 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18191 initializer on [_LIBC_REENTRANT].
18193 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18194 definitions inside [_POSIX_MAPPED_FILES].
18196 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18198 * dirent/opendir.c: Include <fcntl.h>.
18200 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18201 (__libc_getspecific): Likewise.
18202 (__libc_key_create): Likewise.
18204 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18205 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18206 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18207 (tmpfile64): Define as alias.
18208 * sysdeps/wordsize-64/tmpfile.c: File removed.
18209 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18213 * stdio-common/vfscanf.c: Include <stdbool.h>.
18214 * nss/makedb.c: Likewise.
18215 * stdio-common/_i18n_number.h: Likewise.
18216 * argp/argp-help.c: Likewise.
18217 * posix/wordexp.c: Likewise.
18218 * sysdeps/posix/spawni.c: Likewise.
18219 * nss/nss_files/files-initgroups.c: Likewise.
18220 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18221 * nss/nss_files/files-initgroups.c: Likewise.
18222 * nss/nss_db/db-netgrp.c: Likewise.
18223 * nss/nss_db/db-initgroups.c: Likewise.
18224 * io/fchmodat.c: Include <sys/stat.h>.
18226 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18227 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18229 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18232 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18233 Add multiple inclusion protection.
18235 2012-07-27 David S. Miller <davem@davemloft.net>
18237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18239 2012-07-27 Gary Benson <gbenson@redhat.com>
18242 * elf/rtld.c: Include <stap-probe.h>.
18243 (dl_main): Added static probes "init_start" and "init_complete".
18244 * elf/dl-load.c: Include <stap-probe.h>.
18245 (lose): Take new parameter "nsid".
18246 Added static probe "map_failed".
18247 (_dl_map_object_from_fd): Pass namespace id to lose.
18248 Added static probe "map_start".
18249 (open_verify): Pass namespace id to lose.
18250 * elf/dl-open.c: Include <stap-probe.h>.
18251 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18252 and "reloc_complete".
18253 * elf/dl-close.c: Include <stap-probe.h>.
18254 (_dl_close_worker): Added static probes "unmap_start" and
18256 * elf/rtld-debugger-interface.txt: New file documenting the above.
18258 2012-07-26 Roland McGrath <roland@hack.frob.com>
18260 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18261 rather than a string variable.
18262 * sunrpc/rpc_main.c (h_output): Likewise.
18263 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18265 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18267 * inet/check_native.c: New file.
18269 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18272 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18273 if larger part has absolute value 1.0.
18274 * math/s_clog10.c (__clog10): Likewise.
18275 * math/s_clog10f.c (__clog10f): Likewise.
18276 * math/s_clog10l.c (__clog10l): Likewise.
18277 * math/s_clogf.c (__clogf): Likewise.
18278 * math/s_clogl.c (__clogl): Likewise.
18279 * math/libm-test.inc (clog_test): Add more tests.
18280 (clog10_test): Likewise.
18281 * sysdeps/i386/fpu/libm-test-ulps: Update.
18282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18284 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18285 (pltexit): Likewise.
18286 (La_regs): Likewise.
18287 (La_retval): Likewise.
18288 (int_retval): Likewise.
18289 Update #error for removed macros to refer only to definitions in
18291 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18293 (pltexit): Likewise.
18294 (La_regs): Likewise.
18295 (La_retval): Likewise.
18296 (int_retval): Likewise.
18297 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18299 (pltexit): Likewise.
18300 (La_regs): Likewise.
18301 (La_retval): Likewise.
18302 (int_retval): Likewise.
18303 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18305 (pltexit): Likewise.
18306 (La_regs): Likewise.
18307 (La_retval): Likewise.
18308 (int_retval): Likewise.
18309 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18311 (pltexit): Likewise.
18312 (La_regs): Likewise.
18313 (La_retval): Likewise.
18314 (int_retval): Likewise.
18315 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18317 (pltexit): Likewise.
18318 (La_regs): Likewise.
18319 (La_retval): Likewise.
18320 (int_retval): Likewise.
18321 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18323 (pltexit): Likewise.
18324 (La_regs): Likewise.
18325 (La_retval): Likewise.
18326 (int_retval): Likewise.
18327 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18328 macro definitions in tst-audit.h.
18329 * sysdeps/i386/tst-audit.h: New file.
18330 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18331 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18332 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18333 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18334 * sysdeps/sh/tst-audit.h: Likewise.
18335 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18336 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18337 * sysdeps/x86_64/tst-audit.h: Likewise.
18339 2012-07-26 Andreas Jaeger <aj@suse.de>
18341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18344 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18345 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18346 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18348 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18349 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18350 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18352 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18355 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18357 (si_call_addr, si_syscall, si_arch): Define new macro.
18358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18360 (si_call_addr, si_syscall, si_arch): Define new marcro.
18361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18363 (si_call_addr, si_syscall, si_arch): Define new macro.
18364 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18366 (si_call_addr, si_syscall, si_arch): Define new macro.
18368 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18372 Change to 2.4.21 where previously 2.4.1.
18373 * sysdeps/unix/sysv/linux/configure: Regenerated.
18374 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18375 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18376 Linux kernel version.
18377 (__ASSUME_STD_AUXV): Remove.
18378 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18380 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18381 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18382 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18383 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18384 (__ASSUME_NETLINK_SUPPORT): Likewise.
18385 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18386 (__no_netlink_support): Remove conditional definition.
18387 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18389 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18390 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18391 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18392 (if_nameindex_ioctl): Remove.
18393 (if_nameindex_netlink): Do not handle __no_netlink_support.
18394 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18396 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18397 Remove conditional code.
18398 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18400 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18402 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18403 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18404 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18406 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18407 [!__ASSUME_STD_AUXV]: Remove conditional code.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18409 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18410 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18412 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18415 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18417 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18420 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18422 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18428 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18429 code unconditional.
18430 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18432 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18434 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18437 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18439 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18442 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18443 code unconditional.
18444 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18446 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18448 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18451 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18452 code unconditional.
18453 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18455 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18457 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18460 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18462 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18464 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18465 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18466 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18467 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18469 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18470 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18471 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18472 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18473 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18474 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18475 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18477 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18480 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18482 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18483 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18486 2012-07-25 Florian Weimer <fweimer@redhat.com>
18488 * Versions.def: Add GLIBC_2.17.
18489 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18490 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18491 Introduce __libc_secure_getenv.
18492 * stdlib/Versions (2.17): Add secure_getenv
18493 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18494 * stdlib/secure-getenv.c: Rename __secure_getenv to
18495 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18496 symbol __secure_getenv for GLIBC_2.0.
18497 * stdlib/tst-secure-getenv.c: New.
18498 * stdlib/Makefile (tests): Add testcase.
18499 * manual/startup.texi (Environment Access): Document
18501 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18502 __libc_secure_getenv.
18503 * inet/ruserpass.c (ruserpass): Likewise.
18504 * malloc/mtrace.c (mtrace): Likewise.
18505 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18506 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18507 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18508 * sysdeps/posix/tempname.c: Likewise. Evaluate
18509 HAVE_SECURE_GETENV.
18510 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18511 __secure_getenv to __libc_secure_getenv.
18512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18525 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18527 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18528 (struct La_i86_retval): Likewise.
18529 (struct La_x86_64_regs): Likewise.
18530 (struct La_x86_64_retval): Likewise.
18531 (struct La_x32_regs): Likewise.
18532 (struct La_x32_retval): Likewise.
18533 (struct La_ppc32_regs): Likewise.
18534 (struct La_ppc32_retval): Likewise.
18535 (struct La_ppc64_regs): Likewise.
18536 (struct La_ppc64_retval): Likewise.
18537 (struct La_sh_regs): Likewise.
18538 (struct La_sh_retval): Likewise.
18539 (struct La_s390_32_regs): Likewise.
18540 (struct La_s390_32_retval): Likewise.
18541 (struct La_s390_64_regs): Likewise.
18542 (struct La_s390_64_retval): Likewise.
18543 (struct La_sparc32_regs): Likewise.
18544 (struct La_sparc32_retval): Likewise.
18545 (struct La_sparc64_regs): Likewise.
18546 (struct La_sparc64_retval): Likewise.
18547 (struct audit_ifaces): Remove architecture-specific pltenter and
18549 * sysdeps/i386/ldsodefs.h: New file.
18550 * sysdeps/powerpc/ldsodefs.h: Likewise.
18551 * sysdeps/s390/ldsodefs.h: Likewise.
18552 * sysdeps/sh/ldsodefs.h: Likewise.
18553 * sysdeps/sparc/ldsodefs.h: Likewise.
18554 * sysdeps/x86_64/ldsodefs.h: Likewise.
18556 2012-07-25 Marek Polacek <polacek@redhat.com>
18559 * math/libm-test.inc (yn_test): Add another test.
18560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18561 to ERANGE when the result is +-Inf.
18562 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18563 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18565 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18567 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18569 * conform/data/time.h-data (NULL): Use macro-constant. Require
18571 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18573 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18575 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18577 * configure.in <sysdeps resolving>: Correct printing
18579 * configure: Regenerate.
18581 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18583 * math/w_ilogb.c: Include <limits.h>.
18584 * math/w_ilogbl.c: Likewise.
18586 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18588 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18589 va_copy. Document allowing for unavailable va_copy only as
18590 pre-C99 compatibility.
18591 * manual/string.texi (Copying and Concatenation): Use va_copy
18592 instead of __va_copy in concat example.
18594 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18596 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18597 (__sendto): Use create_address_port. Initialize APORT and deallocate
18600 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18601 with O_NOLINK passed to __file_name_lookup.
18603 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18604 with O_NOLINK passed to __file_name_lookup.
18606 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18607 negative N or less than NGIDS.
18609 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18610 type to string_t. Set ERANGE as errno and return it if NAME is not big
18611 enough. Use memcpy instead of strncpy.
18613 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18615 * elf/Makefile (check-data): Remove.
18616 (localplt.data): New vpath directive.
18617 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18618 instead of $(check-data).
18619 * scripts/data/localplt-generic.data: Move to ...
18620 * sysdeps/generic/localplt.data: ... here.
18621 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18622 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18623 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18626 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18629 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18632 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18635 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18638 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18642 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18644 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18645 PPC32 and PPC64 files.
18646 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18647 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18649 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18651 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18652 __makecontext_ret to ...
18653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18654 ... here and call exit if uc_link is NULL. New file.
18655 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18656 __makecontext_ret.S.
18657 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18658 __makecontext_ret to ...
18659 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18660 ... here and call exit if uc_link is NULL. New file.
18661 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18662 __makecontext_ret.S.
18664 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18666 * elf/elf.h (R_390_IRELATIVE): New definition.
18667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18668 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18669 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18671 (elf_machine_lazy_rel): Likewise.
18672 * sysdeps/s390/dl-irel.h: New file.
18673 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18674 * sysdeps/s390/s390-64/memset.S: New asm code.
18675 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18676 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18678 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18679 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18680 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18682 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18683 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18684 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18685 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18686 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18687 * sysdeps/s390/s390-32/memset.S: New asm code.
18688 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18690 2012-07-17 Marek Polacek <polacek@redhat.com>
18693 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18694 * sysdeps/s390/s390-64/configure.in: Likewise.
18695 * sysdeps/sparc/configure.in: Likewise.
18696 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18697 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18698 * sysdeps/i386/configure.in: Likewise.
18699 * sysdeps/x86_64/configure.in: Likewise.
18700 * sysdeps/sh/configure.in: Likewise.
18701 * sysdeps/s390/s390-32/configure: Regenerated.
18702 * sysdeps/s390/s390-64/configure: Likewise.
18703 * sysdeps/x86_64/configure: Likewise.
18704 * sysdeps/sh/configure: Likewise.
18705 * sysdeps/powerpc/powerpc64/configure: Likewise.
18706 * sysdeps/powerpc/powerpc32/configure: Likewise.
18707 * sysdeps/sparc/configure: Likwise.
18708 * sysdeps/i386/configure: Likewise.
18710 * elf/dl-open.c: Comment fixes.
18712 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18714 * Makefile [CXX] (check-data): Remove.
18715 [CXX] (c++-types.data): New vpath directive.
18716 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18717 vpath. Do not allow for C++ type data being missing.
18718 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18719 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18720 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18721 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18722 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18723 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18724 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18727 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18730 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18733 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18736 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18739 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18742 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18745 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18748 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18749 definitions to architecture-specific files.
18750 (TLS_IE): Likewise.
18751 (TLS_LD): Likewise.
18752 (TLS_GD): Likewise.
18753 * sysdeps/i386/tls-macros.h: New file.
18754 * sysdeps/powerpc/tls-macros.h: Likewise.
18755 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18756 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18757 * sysdeps/sh/tls-macros.h: Likewise.
18758 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18759 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18760 * sysdeps/x86_64/tls-macros.h: Likewise.
18762 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18765 zero value for regular exit case.
18767 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18768 (__start_context): Preserve zero value for regular exit case.
18770 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18771 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18773 * manual/setjmp.texi (setcontext): Clarify normal process
18774 termination when uc_link is the null pointer.
18775 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18778 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18780 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18781 preprocessor. Test for each exception mask separately.
18783 2012-07-16 Andreas Jaeger <aj@suse.de>
18785 * po/ru.po: Update from translation team.
18787 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18789 * conform/data/string.h-data (NULL): Use macro-constant. Require
18791 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18793 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18794 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18797 2012-07-13 Andreas Jaeger <aj@suse.de>
18799 * po/fr.po: Update from translation team.
18801 2012-07-12 Marek Polacek <polacek@redhat.com>
18804 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18808 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18812 Change to 2.4.1 where previously 2.4.0.
18813 * sysdeps/unix/sysv/linux/configure: Regenerated.
18814 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18815 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18817 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18818 (__ASSUME_AT_CLKTCK): Remove.
18819 (__ASSUME_AT_PAGESIZE): Likewise.
18820 (__ASSUME_AT_XID): Likewise.
18821 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18822 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18823 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18825 (HAVE_AUX_PAGESIZE): Likewise.
18826 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18827 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18828 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18830 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18834 the temporary buffer used to invoke __gethostbyname2_r,
18835 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18836 host_data / struct gaih_addrtuple.
18837 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18838 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18839 header file nss/nsswitch.h.
18840 * nss/nsswitch.h (global scope): Add definition of implementation
18841 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18842 resolv/nss_dns/dns-host.c).
18844 2012-07-11 Andreas Jaeger <aj@suse.de>
18846 * po/fr.po: Update from translation team.
18848 * po/sv.po: Update from translation team
18849 * po/fr.po: Another update from translation team.
18851 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18854 for subnormals or multiply small sinh result by itself.
18855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18858 2012-07-11 David S. Miller <davem@davemloft.net>
18860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18862 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18865 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18866 (INTERNAL_MARK): Shift it here.
18868 2012-07-10 Marek Polacek <polacek@redhat.com>
18871 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18872 libc_cv_asm_global_directive with .globl.
18873 * configure: Regenerated.
18874 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18876 * sysdeps/i386/configure: Regenerated.
18877 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18879 * sysdeps/x86_64/configure: Regenerated.
18880 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18881 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18882 * elf/tst-unique2mod2.c: Likewise.
18883 * elf/tst-unique2mod1.c: Likewise.
18884 * elf/tst-unique1mod2.c: Likewise.
18885 * elf/tst-unique1mod1.c: Likewise.
18886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18887 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18890 * sysdeps/mach/sysdep.h: Likewise.
18891 * sysdeps/i386/sysdep.h: Likewise.
18892 * sysdeps/i386/i386-mcount.S: Likewise.
18893 * sysdeps/x86_64/_mcount.S: Likewise.
18894 * sysdeps/x86_64/sysdep.h: Likewise.
18895 * sysdeps/sh/_mcount.S: Likewise.
18896 * sysdeps/sh/sysdep.h: Likewise.
18897 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18898 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18899 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18901 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18902 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18903 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18904 * locale/localeinfo.h: Likewise.
18905 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18906 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18908 2012-07-09 Roland McGrath <roland@hack.frob.com>
18911 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18913 * manual/message.texi (The Uniforum approach): Likewise.
18914 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18915 (glibc iconv Implementation): Likewise.
18917 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18920 * math/s_clog.c (__clog): Avoid scaling a value down where that
18921 could result in underflow.
18922 * math/s_clog10.c (__clog10): Likewise.
18923 * math/s_clog10f.c (__clog10f): Likewise.
18924 * math/s_clog10l.c (__clog10l): Likewise.
18925 * math/s_clogf.c (__clogf): Likewise.
18926 * math/s_clogl.c (__clogl): Likewise.
18927 * math/libm-test.inc (clog_test): Add more tests.
18928 (clog10_test): Likewise.
18929 * sysdeps/i386/fpu/libm-test-ulps: Update.
18930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18932 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18936 by 7 not 8 to examine high bit of fractional part.
18939 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18940 for call to __mcount_internal.
18941 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18942 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18943 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18945 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18948 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18949 approximation for values within 0x1p-13f of an odd multiple of
18951 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18952 exception. Add more tests.
18953 * sysdeps/i386/fpu/libm-test-ulps: Update.
18956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18957 inputs and return -1 for them. Do not check for +Inf in case not
18958 reachable for +Inf.
18959 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18960 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18962 and return -1 for them. Do not check for +Inf in case not
18963 reachable for +Inf.
18964 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18967 and return -1 for them. Do not check for +Inf in case not
18968 reachable for +Inf.
18969 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18970 spurious underflow.
18971 * sysdeps/i386/fpu/libm-test-ulps: Update.
18972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18974 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18976 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18978 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18982 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18983 could result in spurious underflow. Scale down values above
18984 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18985 * math/s_csqrtf.c (__csqrtf): Likewise.
18986 * math/s_csqrtl.c (__csqrtl): Likewise.
18987 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18988 spurious underflow.
18989 * sysdeps/i386/fpu/libm-test-ulps: Update.
18990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18992 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18994 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18996 * catgets/xopen-msg.awk: New file.
18997 * catgets/xopen-msg.sed: Removed.
18999 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19001 * intl/po2test.awk: New file.
19002 * intl/po2test.sed: Removed.
19004 2012-07-04 Joseph Myers <joseph@codesourcery.com>
19007 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19008 or multiply small sinh result by itself.
19009 * math/s_ctanf.c (__ctanf): Likewise.
19010 * math/s_ctanh.c (__ctanh): Likewise.
19011 * math/s_ctanhf.c (__ctanhf): Likewise.
19012 * math/s_ctanhl.c (__ctanhl): Likewise.
19013 * math/s_ctanl.c (__ctanl): Likewise.
19014 * math/libm-test.inc (ctan_test_tonearest): New function.
19015 (ctan_test_towardzero): Likewise.
19016 (ctan_test_downward): Likewise.
19017 (ctan_test_upward): Likewise.
19018 (ctanh_test_tonearest): Likewise.
19019 (ctanh_test_towardzero): Likewise.
19020 (ctanh_test_downward): Likewise.
19021 (ctanh_test_upward): Likewise.
19022 (main): Call these new functions.
19023 * sysdeps/i386/fpu/libm-test-ulps: Update.
19024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19026 2012-07-03 Mike Frysinger <vapier@gentoo.org>
19028 * .gitignore: Delete /ports entry.
19030 2012-07-03 Andreas Jaeger <aj@suse.de>
19032 * po/bg.po: Update from translation team.
19033 * po/cs.po: Likewise.
19034 * po/de.po: Likewise.
19035 * po/hr.po: Likewise.
19036 * po/nl.pl: Likewise.
19037 * po/pl.po: Likewise.
19038 * po/vi.po: Likewise.
19040 2012-07-03 Joseph Myers <joseph@codesourcery.com>
19042 * Makeconfig [!+link] (+link-before-libc): New variable.
19043 [!+link] (+link-after-libc): Likewise.
19044 [!+link] (+link-tests): Likewise.
19045 [!+link] (+link): Define in terms of $(+link-before-libc) and
19046 $(+link-after-libc).
19047 [!+link-static] (+link-static-before-libc): New variable.
19048 [!+link-static] (+link-static-after-libc): Likewise.
19049 [!+link-static] (+link-static-tests): Likewise.
19050 [!+link-static] (+link-static): Define in terms of
19051 $(+link-static-before-libc) and $(+link-static-after-libc).
19052 [build-shared] (link-libc-before-gnulib): New variable.
19053 [build-shared] (link-libc-tests): Likewise.
19054 [build-shared] (link-libc): Define in terms of
19055 $(link-libc-before-gnulib).
19056 [!build-shared] (link-libc-tests): New variable.
19057 (link-libc-static-tests): New variable.
19058 [!gnulib] (gnulib-arch): New variable.
19059 [!gnulib] (gnulib-tests): Likewise.
19060 [!gnulib] (static-gnulib-arch): Likewise.
19061 [!gnulib] (static-gnulib-tests): Likewise.
19062 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19063 Define with "=" instead of ":=".
19064 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19065 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19066 * Rules (binaries-all-notests): New variable.
19067 (binaries-all-tests): Likewise.
19068 (binaries-static-notests): Likewise.
19069 (binaries-static-tests): Likewise.
19070 (binaries-all): Define using $(binaries-all-notests) and
19071 $(binaries-all-tests).
19072 (binaries-static): Define using $(binaries-static-notests) and
19073 $(binaries-static-tests).
19074 (binaries-shared-tests): New variable.
19075 (binaries-shared-notests): Likewise.
19076 (binaries-shared): Remove variable.
19077 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19078 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19079 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19080 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19081 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19082 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19083 * elf/Makefile (sln-modules): New variable.
19084 (extra-objs): Add $(sln-modules:=.o).
19085 (ldconfig-modules): Add static-stubs.
19086 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19087 * elf/static-stubs.c: New file.
19090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19091 by 7 not 8 to examine high bit of fractional part. Use volatile
19092 variables when splitting into final array of floats if
19093 __FLT_EVAL_METHOD__ != 0.
19094 * math/libm-test.inc (cos_test): Add another test.
19095 (sin_test): Likewise.
19096 * sysdeps/i386/fpu/libm-test-ulps: Update.
19099 * math/libm-test.inc (cosh_test): Add more tests.
19101 * version.h (RELEASE): Set to "development".
19102 (VERSION): Set to "2.16.90".
19104 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19106 * NEWS: Update copyright. Remove last-updated date.
19107 Mention math library bug fixes and timezone data changes.
19108 * README: Mention GNU/Hurd, x32, and HPPA support status.
19110 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19112 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19114 2012-06-27 Andreas Jaeger <aj@suse.de>
19116 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19118 2012-06-25 Andreas Jaeger <aj@suse.de>
19120 * sysdeps/s390/fpu/libm-test-ulps: Update.
19122 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19123 Thomas Schwinge <thomas@codesourcery.com>
19125 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19126 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19130 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19132 * sysdeps/mach/start.c: Remove file.
19133 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19134 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19135 * sysdeps/sh/init-first.c: Likewise.
19137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19138 registers for frame unwinding purposes, add CFI directives.
19139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19141 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19145 __fortify_fail returning.
19146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19149 sysdeps/sh/____longjmp_chk.S.
19150 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19151 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19152 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19153 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19155 * sysdeps/sh/abort-instr.h: New file.
19156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19157 process in case exit returns.
19159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19160 initialize the GOT register before use.
19162 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19163 calculation of ARGC > 4.
19165 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19166 meaningful names to some local labels.
19168 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19169 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19172 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19173 (__arch_compare_and_exchange_val_16_acq): Likewise.
19174 (__arch_compare_and_exchange_val_32_acq): Likewise.
19175 (atomic_exchange_and_add): Fix gUSA sequence.
19176 (atomic_add): Likewise.
19177 (atomic_add_negative): Likewise.
19178 (atomic_add_zero): Likewise.
19179 (atomic_bit_test_set): Likewise.
19181 2012-06-22 Andreas Schwab <schwab@redhat.com>
19184 * include/link.h (struct link_map): Add l_free_initfini.
19185 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19187 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19188 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19189 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19192 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19194 * configure.in: Use AC_LANG_SOURCE.
19195 * configure: Regenerate.
19197 2012-06-22 Roland McGrath <roland@hack.frob.com>
19199 * configure.in (libc_cv_localstatedir): New substituted variable.
19200 * configure: Regenerated.
19201 * config.make.in (localstatedir): New variable, substituted from
19202 libc_cv_localstatedir.
19203 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19204 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19205 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19206 * sysdeps/gnu/configure: Regenerated.
19208 2012-06-21 Jeff Law <law@redhat.com>
19211 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19212 free. Simplify list management for _LIBC case.
19214 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19218 Clear sign bit of 64-bit integer value before comparing against
19221 * sysdeps/mach/configure: Regenerated.
19223 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19226 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19228 2012-06-21 Jeff Law <law@redhat.com>
19231 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19232 uint16_t for elements in the "seen" array to avoid char overflows.
19233 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19234 * elf/dl-open.c (dl_open_worker): Likewise.
19236 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19238 * scripts/list-sources.sh: Scan PORTS for translations.
19239 * po/libc.pot: Regenerated.
19241 2012-06-21 Andreas Jaeger <aj@suse.de>
19244 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19246 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19247 * bits/byteswap-16.h (__bswap_16): Likewise.
19248 * bits/byteswap.h (__bswap_constant_16): Likewise.
19250 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19253 * sysdeps/i386/fpu_control.h: Removed.
19254 * sysdeps/x86_64/fpu_control.h: Moved to ...
19255 * sysdeps/x86/fpu_control.h: Here.
19257 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19258 (_FPU_SETCW): Likewise.
19260 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19263 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19264 * sysdeps/x86/fpu/bits/mathinline.h: This.
19265 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19269 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19270 functions if __x86_64__ is defined.
19272 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19274 * string/endian.h: Add !__ASSEMBLER__ condition for including
19275 conversion interfaces.
19277 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19281 of ABS(x) in calculating zero to negative powers other than odd
19283 * math/libm-test.inc (pow_test): Add more tests.
19285 2012-06-15 Andreas Jaeger <aj@suse.de>
19287 * manual/contrib.texi (Contributors): Update entry of Liubov
19288 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19291 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19293 * string/string.h: Add __wur to GNU version of strerror_r.
19295 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19298 * string/Makefile (tests): Add tst-strtok_r.
19299 * string/tst-strtok_r.c: New file.
19300 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19301 RAX_LP/RDX_LP on SAVE_PTR.
19303 2012-06-14 Roland McGrath <roland@hack.frob.com>
19305 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19307 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19309 * libm_test.inc (csqrt_test): Allow more spurious underflow
19311 (j0_test): Likewise.
19312 (j1_test): Likewise.
19313 (y0_test): Likewise.
19314 (y1_test): Likewise.
19316 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19318 * po/Makefile (libc.pot): Use UTF-8 charset.
19320 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19323 Suppress sign-conversion warning from FD_SET.
19324 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19325 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19326 not unsigned long int.
19327 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19329 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19333 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19334 __extern_always_inline instead of __extern_inline.
19335 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19336 (__signbit): Likewise.
19337 (__signbitl): Support C++ namespace.
19338 (lrintf): New inline function.
19340 (llrintf): Likewise.
19341 (llrint): Likewise.
19351 (floorf): Likewise.
19352 (nearbyint): Likewise.
19353 (nearbyintf): Likewise.
19355 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19358 non-default versions.
19360 2012-06-11 Roland McGrath <roland@hack.frob.com>
19363 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19365 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19367 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19368 (FE_UPWARD, FE_DOWNWARD): Don't define.
19369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19377 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19379 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19381 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19384 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19387 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19388 * sysdeps/i386/fpu/Implies: New file.
19389 * sysdeps/x86_64/fpu/Implies: Likewise.
19390 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19391 * sysdeps/x86/fpu/bits/fenv.h: This.
19393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19396 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19399 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19400 character 0xffff that matches the last element of the
19403 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19408 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19411 values higher than 25.6283.
19413 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19416 subnormal exponent extraction and add some __builtin_expect.
19417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19418 Fix for subnormal mantissa calculation.
19420 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19422 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19423 cpu2 is -1 and errno is not ENOSYS.
19425 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19428 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19429 * sysdeps/x86/bits/string.h: This.
19430 * sysdeps/x86_64/bits/string.h: Removed.
19432 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19433 if not compiling for x86-64, but compiling for >= i486.
19435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19436 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19439 New macro from Linux kernel 3.4.0.
19440 (FP_XSTATE_MAGIC2): Likewise.
19441 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19442 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19443 (struct _fpx_sw_bytes): New struct.
19444 (struct _xsave_hdr): Likewise.
19445 (struct _ymmh_state): Likewise.
19446 (struct _xstate): Likewise.
19448 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19449 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19451 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19453 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19455 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19457 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19458 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19459 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19460 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19462 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19465 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19466 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19467 (sysdep_headers): Include sys/platform/ppc.h.
19468 * sysdeps/powerpc/test-gettimebase.c: Test for
19469 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19470 * manual/Makefile (appendices): Include platform.texi.
19471 * manual/contrib.texi (Contributors): Update @node pointers.
19472 * manual/maint.texi (Maintenance): Likewise.
19473 (Platform): New node.
19474 * manual/platform.texi: New file. Document the new features.
19476 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19477 Jakub Jelinek <jakub@redhat.com>
19480 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19481 where __builtin_expect is unavailable.
19483 2012-06-03 David S. Miller <davem@davemloft.net>
19485 * stdlib/longlong.h: Updated from GCC.
19487 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19490 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19491 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19494 (GLIBC_2.16): Likewise.
19496 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19500 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19503 (default-abi): New variable.
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19505 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19507 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19509 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19511 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19514 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19515 definition. Document in comment.
19517 2012-06-01 David S. Miller <davem@davemloft.net>
19519 * stdlib/longlong.h: Updated from GCC.
19521 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19524 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19525 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19526 sys/debugreg.h sys/io.h here.
19527 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19528 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19530 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19531 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19532 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19533 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19534 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19535 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19538 Define only if __x86_64__ is defined.
19540 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19543 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19544 Use int64_t for variable i.
19545 * math/libm-test.inc (fmod_test): Add more tests.
19547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19548 z computation is not scheduled after fetestexcept.
19549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19550 Use math_force_eval instead of asm to ensure calculation scheduled
19551 before exception test.
19552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19553 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19555 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19558 computation is not scheduled after fetestexcept.
19560 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19564 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19566 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19568 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19569 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19571 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19574 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19576 (__WCHAR_MIN): Support __WORDSIZE == 64.
19577 (__WCHAR_MAX): Likewise.
19579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19580 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19584 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19587 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19591 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19594 Defined to 1 if __x86_64__ isn't defined.
19595 (_STAT_VER_LINUX_OLD): New.
19596 (st_atime): Remove duplicate.
19597 (st_mtime): Likewise.
19598 (st_ctime): Likewise.
19600 2012-05-31 David S. Miller <davem@davemloft.net>
19602 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19605 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19607 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19611 * elf/dl-reloc.c: Include <_itoa.h>.
19612 (_dl_reloc_bad_type): Remove use of INTUSE.
19613 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19614 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19615 * stdio-common/psiginfo.c (psiginfo): Likewise.
19616 * stdio-common/psignal.c (psignal): Likewise.
19617 * string/strsignal.c (strsignal): Likewise.
19618 * include/signal.h (_sys_siglist): Declare hidden proto.
19619 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19620 INTVARDEF with libc_hidden_data_def.
19621 * stdio-common/itoa-udigits.c: Likewise.
19622 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19623 (_itoa_lower_digits_internal): Remove declaration.
19624 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19625 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19626 (_sys_sigabbrev_internal): Remove aliases.
19627 (_sys_siglist): Define hidden alias.
19629 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19634 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19637 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19638 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19640 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19642 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19643 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19644 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19645 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19647 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19648 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19649 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19651 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19660 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19663 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19664 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19666 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19668 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19671 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19680 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19681 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19683 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19685 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19686 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19687 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19689 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19691 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19693 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19695 * math/math.h (M_El): Use two more decimal places.
19696 (M_LOG2El): Likewise.
19697 (M_LOG10El): Likewise.
19698 (M_LN2l): Likewise.
19699 (M_LN10l): Likewise.
19701 (M_PI_2l): Likewise.
19702 (M_PI_4l): Likewise.
19703 (M_1_PIl): Likewise.
19704 (M_2_PIl): Likewise.
19705 (M_2_SQRTPIl): Likewise.
19706 (M_SQRT2l): Likewise.
19707 (M_SQRT1_2l): Likewise.
19709 2012-05-31 David S. Miller <davem@davemloft.net>
19711 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19712 values between float registers.
19713 * sysdeps/sparc/sparc64/memset.S: Likewise.
19714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19716 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19718 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19719 -D_FORTIFY_SOURCE=1.
19720 (CPPFLAGS-tst-longjmp_chk.c): Define.
19721 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19722 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19723 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19724 CFLAGS-tst-wchar-h.c.
19726 2012-05-31 Marek Polacek <polacek@redhat.com>
19729 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19730 __endmntent_internal): Remove declaration.
19731 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19732 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19733 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19735 2012-05-30 David S. Miller <davem@davemloft.net>
19737 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19738 (___Q_simulate_exceptions): Use real FP ops rather than writing
19740 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19743 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19746 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19747 * sysdeps/x86/bits/xtitypes.h: This.
19749 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19750 * sysdeps/x86/bits/wordsize.h: This.
19752 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19753 * sysdeps/x86/bits/huge_vall.h: This.
19755 * sysdeps/i386/bits/select.h: Removed.
19756 * sysdeps/x86_64/bits/select.h: Renamed to ...
19757 * sysdeps/x86/bits/select.h: This.
19759 * sysdeps/i386/bits/setjmp.h: Removed.
19760 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19761 * sysdeps/x86/bits/setjmp.h: This.
19763 * sysdeps/i386/bits/mathdef.h: Removed.
19764 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19765 * sysdeps/x86/bits/mathdef.h: This.
19767 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19770 * include/sys/socket.h (__connect_internal)
19771 (__libc_sa_len_internal): Remove declaration.
19772 (__connect, __libc_sa_len): Declare hidden_proto.
19773 (SA_LEN): Remove use of INTUSE.
19774 * socket/connect.c: Add libc_hidden_def.
19775 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19776 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19777 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19781 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19782 of adding _internal alias.
19784 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19787 * sysdeps/i386/bits/link.h: Removed.
19788 * sysdeps/i386/bits/linkmap.h: Likewise.
19789 * sysdeps/x86_64/bits/link.h: Renamed to ...
19790 * sysdeps/x86/bits/link.h: This.
19791 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19792 * sysdeps/x86/bits/linkmap.h: This.
19794 * sysdeps/i386/bits/endian.h: Removed.
19795 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19796 * sysdeps/x86/bits/endian.h: This.
19798 * sysdeps/i386/bits/byteswap.h: Removed.
19799 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19800 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19801 * sysdeps/x86/bits/byteswap.h: This.
19802 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19803 * sysdeps/x86/bits/byteswap-16.h: This.
19804 * sysdeps/i386/Implies: Add x86.
19805 * sysdeps/x86_64/Implies: Likewise.
19807 2012-05-30 David S. Miller <davem@davemloft.net>
19809 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19810 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19812 (FP_TRAPPING_EXCEPTIONS): Define.
19813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19814 (FP_TRAPPING_EXCEPTIONS): Define.
19815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19816 subnormals only when inexact has been signalled or underflow
19817 exceptions are enabled.
19818 (_FP_PACK_CANONICAL): Likewise.
19820 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19824 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19826 2012-05-30 Richard Henderson <rth@twiddle.net>
19828 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19829 with #ifndef NOT_IN_libc.
19831 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19832 marked to avoid plt entry.
19834 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19837 * Makeconfig (default-abi): New macro.
19838 (abi-includes): Likewise.
19839 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19840 $(abi-$(default-abi)-lib-soname) for soname if defined.
19841 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19843 * Makefile (installed-stubs): Likewise.
19844 * include/stubs-biarch.h: Removed.
19845 * scripts/lib-names.awk: Only handle one library at a time.
19846 * scripts/soversions.awk: Remove WORDSIZE support.
19847 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19849 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19851 (syscall-list-default-condition): Likewise.
19852 (syscall-list-default-condition): Likewise.
19853 (syscall-list-includes): Likewise.
19854 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19855 syscall-list-* with abi-*. Handle undefined abi-variants.
19856 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19857 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19858 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19859 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19860 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19861 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19863 (syscall-list-32-options): Likewise.
19864 (syscall-list-32-condition): Likewise.
19865 (syscall-list-64-options): Likewise.
19866 (syscall-list-64-condition): Likewise.
19867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19869 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19872 (abi-64-ld-soname): New macro.
19873 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19874 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19877 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19878 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19880 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19882 * sysdeps/unix/sysv/linux/kernel-features.h
19883 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19884 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19885 include <kernel-features.h>.
19886 [!__NR_ftruncate64]: Remove conditional code.
19887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19888 [__NR_ftruncate64]: Make code unconditional.
19889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19890 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19891 include <kernel-features.h>.
19892 [!__NR_ftruncate64]: Remove conditional code.
19893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19894 [__NR_ftruncate64]: Make code unconditional.
19895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19897 include <kernel-features.h>.
19898 [!__NR_ftruncate64]: Remove conditional code.
19899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19900 [__NR_ftruncate64]: Make code unconditional.
19901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19903 include <kernel-features.h>.
19904 [!__NR_ftruncate64]: Remove conditional code.
19905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19906 [__NR_ftruncate64]: Make code unconditional.
19907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19909 * configure.in (libc_cv_fpie): Weaken to a compile test using
19910 LIBC_TRY_CC_OPTION.
19911 * configure: Regenerated.
19913 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19928 2012-05-27 David S. Miller <davem@davemloft.net>
19930 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19932 (__Q_simulate_exceptions): Return void. Change to simulate
19933 exceptions by writing into the %fsr.
19934 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19935 (__Qp_handle_exceptions): Likewise.
19937 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19938 __Qp_handle_exceptions.
19939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19940 __Qp_handle_exceptions.
19941 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19942 as unused and give dummy FP_RND_NEAREST initializer.
19943 (FP_INHIBIT_RESULTS): Define.
19944 (___Q_simulate_exceptions): Update declaration.
19945 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19948 as unused and give dummy FP_RND_NEAREST initializer.
19949 (__Qp_handle_exceptions): Update declaration.
19950 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19953 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19955 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19956 the temporary FPU control word.
19957 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19958 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19959 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19960 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19961 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19962 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19963 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19965 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19966 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19969 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19974 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19976 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19977 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19978 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19979 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19981 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19982 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19985 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19987 * po/h.po: Update from translation team.
19989 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19991 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19994 handling of denormals.
19995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19996 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19997 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19998 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20004 2012-05-26 Marek Polacek <polacek@redhat.com>
20007 * math/libm-test.inc (fma_test): Don't always expect underflow
20010 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20013 * elf/tst-execstack.c: Include stackinfo.h.
20014 (do_test): Adjust test case to ensure that pthread_getattr_np
20015 behaviour remains the same after marking stack executable.
20017 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20019 * sysdeps/unix/sysv/linux/kernel-features.h
20020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20021 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20025 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20030 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20032 * configure.in: Define the default includes to being none.
20033 * configure: Regenerated.
20035 2012-05-25 Roland McGrath <roland@hack.frob.com>
20037 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20038 * sysdeps/x86_64/setjmp.S: Likewise.
20039 * sysdeps/i386/bsd-setjmp.S: Likewise.
20040 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20041 * sysdeps/i386/setjmp.S: Likewise.
20042 * sysdeps/i386/__longjmp.S: Likewise.
20043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20046 * include/stap-probe.h: New file.
20047 * configure.in: Handle --enable-systemtap.
20048 * configure: Regenerated.
20049 * config.h.in (USE_STAP_PROBE): New #undef.
20050 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20051 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20052 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20054 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20058 to 2.4.0 where earlier.
20059 * sysdeps/unix/sysv/linux/configure: Regenerated.
20060 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20061 <kernel-features.h>.
20062 [__ASSUME_32BITUIDS]: Make code unconditional.
20063 [!__ASSUME_32BITUIDS]: Remove conditional code.
20064 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20065 <kernel-features.h>.
20066 [__ASSUME_32BITUIDS]: Make code unconditional.
20067 [!__ASSUME_32BITUIDS]: Remove conditional code.
20068 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20069 [__ASSUME_32BITUIDS]: Make code unconditional.
20070 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20071 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20072 <kernel-features.h>.
20073 [__ASSUME_32BITUIDS]: Make code unconditional.
20074 [!__ASSUME_32BITUIDS]: Remove conditional code.
20075 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20076 <kernel-features.h>.
20077 [__ASSUME_32BITUIDS]: Make code unconditional.
20078 [!__ASSUME_32BITUIDS]: Remove conditional code.
20079 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20080 <kernel-features.h>.
20081 [__ASSUME_32BITUIDS]: Make code unconditional.
20082 [!__ASSUME_32BITUIDS]: Remove conditional code.
20083 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20084 <kernel-features.h>.
20085 [__ASSUME_32BITUIDS]: Make code unconditional.
20086 [!__ASSUME_32BITUIDS]: Remove conditional code.
20087 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20088 <kernel-features.h>.
20089 [__ASSUME_32BITUIDS]: Make code unconditional.
20090 [!__ASSUME_32BITUIDS]: Remove conditional code.
20091 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20092 <kernel-features.h>.
20093 [__ASSUME_32BITUIDS]: Make code unconditional.
20094 [!__ASSUME_32BITUIDS]: Remove conditional code.
20095 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20096 <kernel-features.h>.
20097 [__ASSUME_32BITUIDS]: Make code unconditional.
20098 [!__ASSUME_32BITUIDS]: Remove conditional code.
20099 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20100 <kernel-features.h>.
20101 [__ASSUME_32BITUIDS]: Make code unconditional.
20102 [!__ASSUME_32BITUIDS]: Remove conditional code.
20103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20104 <kernel-features.h>.
20105 [__ASSUME_32BITUIDS]: Make code unconditional.
20106 [!__ASSUME_32BITUIDS]: Remove conditional code.
20107 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20108 <kernel-features.h>.
20109 [__ASSUME_32BITUIDS]: Make code unconditional.
20110 [!__ASSUME_32BITUIDS]: Remove conditional code.
20111 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20112 <kernel-features.h>.
20113 [__NR_setresgid] (__setresgid): Do not declare.
20114 [__ASSUME_32BITUIDS]: Make code unconditional.
20115 [!__ASSUME_32BITUIDS]: Remove conditional code.
20116 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20117 <kernel-features.h>.
20118 [__NR_setresuid] (__setresuid): Do not declare.
20119 [__ASSUME_32BITUIDS]: Make code unconditional.
20120 [!__ASSUME_32BITUIDS]: Remove conditional code.
20121 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
20150 <kernel-features.h>.
20151 [__ASSUME_32BITUIDS]: Make code unconditional.
20152 [!__ASSUME_32BITUIDS]: Remove conditional code.
20153 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20154 <kernel-features.h>.
20155 [__ASSUME_32BITUIDS]: Make code unconditional.
20156 [!__ASSUME_32BITUIDS]: Remove conditional code.
20157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20158 <kernel-features.h>.
20159 [__ASSUME_32BITUIDS]: Make code unconditional.
20160 [!__ASSUME_32BITUIDS]: Remove conditional code.
20161 * sysdeps/unix/sysv/linux/kernel-features.h
20162 (__ASSUME_SETRESUID_SYSCALL): Remove.
20163 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20164 (__ASSUME_32BITUIDS): Likewise.
20165 (__ASSUME_LDT_WORKS): Likewise.
20166 (__ASSUME_O_DIRECTORY): Likewise.
20167 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20168 architecture but not kernel version.
20169 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20170 (__ASSUME_MMAP2_SYSCALL): Likewise.
20171 (__ASSUME_STAT64_SYSCALL): Likewise.
20172 (__ASSUME_IPC64): Likewise.
20173 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20174 <kernel-features.h>.
20175 [__ASSUME_32BITUIDS]: Make code unconditional.
20176 [!__ASSUME_32BITUIDS]: Remove conditional code.
20177 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20178 <kernel-features.h>.
20179 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20180 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20181 132096]: Remove conditional code.
20182 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20183 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
20192 <kernel-features.h>.
20193 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20195 (__setresgid): Do not declare.
20196 [__ASSUME_32BITUIDS]: Make code unconditional.
20197 [!__ASSUME_32BITUIDS]: Remove conditional code.
20198 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20199 <kernel-features.h>.
20200 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20202 (__setresuid): Do not declare.
20203 [__ASSUME_32BITUIDS]: Make code unconditional.
20204 [!__ASSUME_32BITUIDS]: Remove conditional code.
20205 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20206 <kernel-features.h>.
20207 [__ASSUME_32BITUIDS]: Make code unconditional.
20208 [!__ASSUME_32BITUIDS]: Remove conditional code.
20209 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20210 <kernel-features.h>.
20211 [__ASSUME_32BITUIDS]: Make code unconditional.
20212 [!__ASSUME_32BITUIDS]: Remove conditional code.
20214 2012-05-25 Richard Henderson <rth@twiddle.net>
20216 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20217 dl_hwcap to ifunc resolver.
20218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20221 dl_hwcap to ifunc resolver.
20222 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20224 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20227 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20228 for |x| <= 2**-26, not 2**-57.
20229 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20232 2012-05-24 Jeff Law <law@redhat.com>
20234 * stdio-common/Makefile (tests): Add bug25.
20235 * stdio-common/bug25.c: New test.
20237 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20240 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20241 multiple of MALLOC_ALIGNMENT in size.
20242 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20244 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20246 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20248 (FILENAME_MAX): Use macro-int-constant.
20249 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20250 (_IOFBF): Use macro-int-constant.
20251 (_IOLBF): Likewise.
20252 (_IONBF): Likewise.
20253 (SEEK_CUR): Likewise.
20254 (SEEK_END): Likewise.
20255 (SEEK_SET): Likewise.
20256 (TMP_MAX): Likewise.
20257 (EOF): Use macro-int-constant. Require < 0.
20258 (NULL): Use macro-constant. Require == 0.
20259 (stdin): Require type to be FILE *.
20260 (stdout): Likewise.
20261 (stderr): Likewise.
20262 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20263 macro-int-constant.
20264 (EXIT_SUCCESS): Likewise.
20265 (NULL): Use macro-constant. Require == 0.
20266 (RAND_MAX): Use macro-int-constant.
20267 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20268 [C99-based standards] (strtof): Require function.
20269 [C99-based standards] (strtold): Likewise.
20270 [C99-based standards] (strtoll): Likewise.
20271 [C99-based standards] (strtoull): Likewise.
20272 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20273 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20274 [ISO || ISO99 || ISO11] (math.h): Likewise.
20275 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20276 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20279 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20282 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20283 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20284 * intl/dgettext.c (DCGETTEXT): Likewise.
20285 * intl/gettext.c (DCGETTEXT): Likewise.
20286 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20287 * posix/regex_internal.h (gettext): Likewise.
20288 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20289 Remove declaration.
20290 * include/argz.h (__argz_count_internal)
20291 (__argz_stringify_internal): Remove declaration.
20292 (__argz_count, __argz_stringify): Declare hidden proto.
20293 * intl/dcgettext.c: Remove use of INTDEF.
20294 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20295 * string/argz-stringify.c: Likewise.
20296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20298 Declare hidden proto.
20299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20301 Declare hidden proto.
20302 * include/stdio.h (__asprintf_internal): Don't declare.
20303 (__asprintf): Don't define as macro. Declare hidden proto.
20304 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20305 (__fsetlocking): Declare hidden proto.
20306 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20307 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20309 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20310 (_IO_setlinebuf): Remove use of INTUSE.
20311 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20312 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20313 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20314 Remove declaration.
20315 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20316 (_IO_do_flush): Remove use of INTUSE.
20317 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20318 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20319 (_IO_adjust_column, _IO_least_wmarker)
20320 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20321 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20322 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20323 (_IO_default_doallocate, _IO_wdefault_doallocate)
20324 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20325 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20326 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20327 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20328 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20329 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20330 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20331 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20332 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20333 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20334 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20335 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20336 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20338 (_IO_flush_all_internal, _IO_adjust_column_internal)
20339 (_IO_default_uflow_internal, _IO_default_finish_internal)
20340 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20341 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20342 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20343 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20344 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20345 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20346 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20347 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20348 (_IO_file_close_internal, _IO_file_close_it_internal)
20349 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20350 (_IO_file_init_internal, _IO_file_attach_internal)
20351 (_IO_file_fopen_internal, _IO_file_read_internal)
20352 (_IO_file_sync_internal, _IO_file_seek_internal)
20353 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20354 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20355 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20356 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20357 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20358 (_IO_list_all_internal, _IO_link_in_internal)
20359 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20360 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20361 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20362 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20363 (_IO_do_write_internal, _IO_padn_internal)
20364 (_IO_getline_info_internal, _IO_getline_internal)
20365 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20366 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20367 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20368 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20369 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20370 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20371 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20372 with libc_hidden_ver, remove use of INTUSE.
20373 * libio/genops.c: Likewise.
20374 * libio/freopen.c: Likewise.
20375 * libio/freopen64.c: Likewise.
20376 * libio/iofclose.c: Likewise.
20377 * libio/iofdopen.c: Likewise.
20378 * libio/iofflush.c: Likewise.
20379 * libio/iofflush_u.c: Likewise.
20380 * libio/iofgets.c: Likewise.
20381 * libio/iofgets_u.c: Likewise.
20382 * libio/iofopen.c: Likewise.
20383 * libio/iofopncook.c: Likewise.
20384 * libio/iofread.c: Likewise.
20385 * libio/iofread_u.c: Likewise.
20386 * libio/ioftell.c: Likewise.
20387 * libio/iofwrite.c: Likewise.
20388 * libio/iogetline.c: Likewise.
20389 * libio/iogets.c: Likewise.
20390 * libio/iogetwline.c: Likewise.
20391 * libio/iopadn.c: Likewise.
20392 * libio/iopopen.c: Likewise.
20393 * libio/ioseekoff.c: Likewise.
20394 * libio/ioseekpos.c: Likewise.
20395 * libio/iosetbuffer.c: Likewise.
20396 * libio/iosetvbuf.c: Likewise.
20397 * libio/ioungetc.c: Likewise.
20398 * libio/ioungetwc.c: Likewise.
20399 * libio/iovdprintf.c: Likewise.
20400 * libio/iovsprintf.c: Likewise.
20401 * libio/iovsscanf.c: Likewise.
20402 * libio/memstream.c: Likewise.
20403 * libio/obprintf.c: Likewise.
20404 * libio/oldfileops.c: Likewise.
20405 * libio/oldiofclose.c: Likewise.
20406 * libio/oldiofdopen.c: Likewise.
20407 * libio/oldiofopen.c: Likewise.
20408 * libio/oldiopopen.c: Likewise.
20409 * libio/oldstdfiles.c: Likewise.
20410 * libio/putc.c: Likewise.
20411 * libio/setbuf.c: Likewise.
20412 * libio/setlinebuf.c: Likewise.
20413 * libio/stdfiles.c: Likewise.
20414 * libio/strops.c: Likewise.
20415 * libio/vasprintf.c: Likewise.
20416 * libio/vscanf.c: Likewise.
20417 * libio/vsnprintf.c: Likewise.
20418 * libio/vswprintf.c: Likewise.
20419 * libio/wfiledoalloc.c: Likewise.
20420 * libio/wfileops.c: Likewise.
20421 * libio/wgenops.c: Likewise.
20422 * libio/wmemstream.c: Likewise.
20423 * libio/wstrops.c: Likewise.
20424 * libio/__fpurge.c: Likewise.
20425 * libio/__fsetlocking.c: Likewise.
20426 * assert/assert.c: Likewise.
20427 * debug/fgets_chk.c: Likewise.
20428 * debug/fgets_u_chk.c: Likewise.
20429 * debug/fread_chk.c: Likewise.
20430 * debug/fread_u_chk.c: Likewise.
20431 * debug/gets_chk.c: Likewise.
20432 * debug/obprintf_chk.c: Likewise.
20433 * debug/vasprintf_chk.c: Likewise.
20434 * debug/vdprintf_chk.c: Likewise.
20435 * debug/vsnprintf_chk.c: Likewise.
20436 * debug/vsprintf_chk.c: Likewise.
20437 * malloc/mtrace.c: Likewise.
20438 * misc/error.c: Likewise.
20439 * misc/syslog.c: Likewise.
20440 * stdio-common/asprintf.c: Likewise.
20441 * stdio-common/fxprintf.c: Likewise.
20442 * stdio-common/getw.c: Likewise.
20443 * stdio-common/isoc99_fscanf.c: Likewise.
20444 * stdio-common/isoc99_scanf.c: Likewise.
20445 * stdio-common/isoc99_vfscanf.c: Likewise.
20446 * stdio-common/isoc99_vscanf.c: Likewise.
20447 * stdio-common/isoc99_vsscanf.c: Likewise.
20448 * stdio-common/printf-prs.c: Likewise.
20449 * stdio-common/printf_fp.c: Likewise.
20450 * stdio-common/printf_fphex.c: Likewise.
20451 * stdio-common/printf_size.c: Likewise.
20452 * stdio-common/putw.c: Likewise.
20453 * stdio-common/scanf.c: Likewise.
20454 * stdio-common/sprintf.c: Likewise.
20455 * stdio-common/tmpfile.c: Likewise.
20456 * stdio-common/vfprintf.c: Likewise.
20457 * stdio-common/vfscanf.c: Likewise.
20458 * stdlib/strfmon_l.c: Likewise.
20459 * sunrpc/openchild.c: Likewise.
20460 * sunrpc/xdr_stdio.c: Likewise.
20461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20462 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20464 2012-05-24 Roland McGrath <roland@hack.frob.com>
20466 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20468 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20469 in the third column, to generate for the shared library an IFUNC
20470 that uses _dl_vdso_vsym.
20471 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20472 * Makeconfig (object-suffixes-noshared): New variable.
20474 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20475 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20476 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20477 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20480 * include/sys/time.h (__gettimeofday): Remove macro.
20481 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20482 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20484 (__gettimeofday): Add libc_hidden_def.
20485 (gettimeofday): Add libc_hidden_weak.
20486 * sysdeps/mach/gettimeofday.c: Likewise.
20487 * sysdeps/posix/gettimeofday.c: Likewise.
20488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20489 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20491 (__gettimeofday_internal): Remove strong_alias.
20492 (__gettimeofday): Add libc_hidden_def.
20493 (gettimeofday): Add libc_hidden_weak.
20494 * sysdeps/unix/syscalls.list (gettimeofday):
20495 Remove __gettimeofday_internal alias.
20497 2012-05-24 Daniel Jacobowitz <drow@false.org>
20498 H.J. Lu <hongjiu.lu@intel.com>
20501 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20502 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20503 (largebin_index_32_big): New.
20504 (largebin_index): Use it for 16-byte alignment.
20505 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20506 correction with front_misalign.
20508 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20536 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20537 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20539 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20543 * math/libm-test.inc (exp_test): Add test from bug 14036.
20544 (pow_test): Add test from bug 10846.
20546 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20548 (special_function): Do not include flags in test name.
20549 (parse_args): Likewise.
20550 * sysdeps/i386/fpu/libm-test-ulps: Update.
20551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20556 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20558 * math/libm-test.inc ("Philosophy"): Update comment about
20560 (UNDERFLOW_EXCEPTION): New macro.
20561 (UNDERFLOW_EXCEPTION_OK): Likewise.
20562 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20563 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20564 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20565 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20566 (INVALID_EXCEPTION_OK): Update value.
20567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20568 (OVERFLOW_EXCEPTION_OK): Likewise.
20569 (IGNORE_ZERO_INF_SIGN): Likewise.
20570 (test_exceptions): Handle underflow exceptions.
20571 (acos_test): Update for underflow exception expectations.
20572 (cexp_test): Likewise.
20573 (clog_test): Likewise.
20574 (clog10_test): Likewise.
20575 (csqrt_test): Likewise.
20576 (ctan_test): Likewise.
20577 (ctanh_test): Likewise.
20578 (exp_test): Likewise.
20579 (exp10_test): Likewise.
20580 (exp2_test): Likewise.
20581 (expm1_test): Likewise.
20582 (fma_test): Likewise.
20583 (j0_test): Likewise.
20584 (jn_test): Likewise.
20585 (nexttoward_test): Likewise.
20586 (pow_test): Likewise.
20587 (scalbn_test): Likewise.
20588 (scalbln_test): Likewise.
20589 (tan_test): Likewise.
20590 (y1_test): Likewise.
20591 * sysdeps/i386/fpu/libm-test-ulps: Update.
20592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594 2012-05-23 David S. Miller <davem@davemloft.net>
20596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20597 (__libc_sigaction): Remove unused local variables.
20599 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20601 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20603 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20605 mktime: avoid signed integer overflow
20606 * time/mktime.c (__mktime_internal): Do not mishandle the case
20607 where diff == INT_MIN.
20609 mktime: simplify computation of average
20610 * time/mktime.c (ranged_convert): Use new time_t_avg function
20611 instead of rolling our own (probably-slower) code.
20613 mktime: do not assume signed right shift propagates sign bit
20614 * time/mktime.c (isdst_differ): New static function.
20615 (__mktime_internal): No need to normalize tm_isdst now.
20616 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20619 mktime: merge another wrapv change from gnulib
20620 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20621 from some compilers.
20623 mktime: remove incorrect attempt at unusual arithmetics
20624 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20625 The code didn't really work on such machines anyway.
20626 (TYPE_MINIMUM): Assume two's complement.
20627 (twos_complement_arithmetic): Verify that long_int and time_t
20628 are two's complement (or unsigned, in the latter case).
20630 mktime: check signed shifts on long_int and time_t, too
20631 * time/mktime.c (SHR): Check that shifts work as desired
20632 on the types long_int and time_t too, as SHR is used on
20635 mktime: do not assume 'long' is wide enough
20636 * time/mktime.c (verify): Move decl up.
20637 (long_int): New type.
20638 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20639 to remove assumption in the code that 'long' is wide enough to
20640 store year values. This assumption is not true on x32 and on
20641 some non-glibc platforms.
20643 mktime: merge wrapv change from gnulib
20644 * time/mktime.c (WRAPV): New macro.
20645 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20646 (guess_time_tm, __mktime_internal): Do not assume that signed
20647 integer overflow wraps around; modern compilers generate code
20648 where this assumption is no longer valid.
20650 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20653 Replace "jmp L(pseudo_end)" with "ret".
20654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20657 2012-05-23 Andreas Jaeger <aj@suse.de>
20659 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20660 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20662 2012-05-23 Andreas Jaeger <aj@suse.de>
20663 Maximilian Attems <max@stro.at>
20665 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20668 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20671 code so that pseudo_end is just ret and the stack pointer is
20672 correct also for static library in error case.
20674 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20676 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20677 move to syscalls.list.
20678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20683 * manual/install.texi (Running make install): Do not mention Linux
20684 kernel version for which pt_chown is not needed.
20685 (Linux): Do not mention problems with nscd with 2.0 kernels.
20686 * INSTALL: Regenerated.
20688 2012-05-23 Andreas Jaeger <aj@suse.de>
20690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20691 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20693 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20695 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20697 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20703 * sysdeps/unix/sysv/linux/bits/in.h
20704 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20706 2012-05-22 Roland McGrath <roland@hack.frob.com>
20708 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20709 (PREPARE_VERSION): Just use assert instead, it will be elided
20710 under [NDEBUG] anyway.
20712 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20714 * sysdeps/unix/sysv/linux/Makefile: Include
20715 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20716 (sysdep_routines): Remove sysctl.
20717 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20718 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20719 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20720 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20721 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20723 2012-05-22 Andreas Jaeger <aj@suse.de>
20725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20726 that pseudo_end is just ret and the stack pointer is correct also
20727 for static library in error case.
20729 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20732 * nss/nsswitch.c (defconfig_entries): New variable.
20733 (__nss_database_lookup): Don't leak defconfig entries.
20734 (nss_parse_service_list): Don't leak on error paths.
20735 (free_database_entries): New function.
20736 (free_defconfig): New function.
20737 (free_mem): Move common code to free_database_entries.
20739 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20741 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20743 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20745 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20746 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20749 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20750 (INTERNAL_SYSCALL_TYPES): Likewise.
20751 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20752 (LOAD_REGS_TYPES_[1-6]): Likewise.
20753 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20754 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20756 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20759 copysignl for GLIBC_2_0.
20760 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20761 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20763 logbl for GLIBC_2_0.
20764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20765 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20767 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20772 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20775 * time/mktime.c: Update copyright years.
20777 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20779 mktime: merge comment-quoting-style change from gnulib
20780 * time/mktime.c: Quote 'like this' in comments.
20781 The GNU coding standards suggest that we no longer quote `like this',
20782 as "`" and "'" are typically rendered asymmetrically nowadays.
20783 The typical gnulib style is to quote 'like this' when quoting
20784 code, and "like this" when quoting English.
20786 * time/mktime.c (compile-command): Add "-I.".
20788 mktime: merge mktime-internal.h change from gnulib
20789 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20791 mktime: merge time_r change from gnulib
20792 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20794 mktime: merge DEBUG change from gnulib
20795 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20796 case system <time.h> has a #define.
20798 mktime: merge <sys/types.h> change from gnulib
20799 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20800 since <time.t> is now guaranteed to define time_t.
20802 mktime: merge HAVE_CONFIG_H change from gnulib
20803 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20805 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20812 (struct rusage): Use anonymous union to pad each field to
20815 2012-05-21 David S. Miller <davem@davemloft.net>
20817 * Makefules (o-iterator): Remove .s cases.
20818 (compile-command.s): Delete.
20819 (COMPILE.s): Delete.
20820 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20822 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20824 * configure.in (libc_cv_predef_stack_protector): Only consider
20825 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20826 * configure: Regenerated.
20828 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20831 New macro. Use R*LP on int and pointer.
20832 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20833 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20834 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20835 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20837 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20838 [__WORDSIZE_TIME64_COMPAT32] instead of
20839 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20840 (struct utmp): Likewise.
20841 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20842 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20844 (__WORDSIZE_TIME64_COMPAT32): This.
20845 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20846 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20847 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20848 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20850 (__WORDSIZE_TIME64_COMPAT32): New macro.
20852 2012-05-21 Andreas Jaeger <aj@suse.de>
20854 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20855 only if [SHARED]. Add prototype for __wcschr_ia32.
20857 2012-05-21 Roland McGrath <roland@hack.frob.com>
20859 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20860 of %rbp unmolested in the jmp_buf while mangling the low bits.
20861 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20862 unmolested high bits of %rbp while demangling the low bits.
20863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20865 2012-05-21 Andreas Jaeger <aj@suse.de>
20867 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20868 * sunrpc/svc_simple.c: Use it for registerrpc.
20869 * sunrpc/xcrypt.c: Use it for passwd2des.
20871 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20873 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20875 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20876 Don't define if [__SYSCALL_WORDSIZE != 32].
20877 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20880 2012-05-21 Bruno Haible <bruno@clisp.org>
20881 Andreas Jaeger <aj@suse.de>
20883 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20884 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20885 inptr and inend for must_buffer_ch.
20886 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20887 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20888 * stdio-common/Makefile (tests): Remove bug15.
20889 (bug15-ENV): Remove macro.
20890 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20893 2012-05-19 Andreas Jaeger <aj@suse.de>
20894 Roland McGrath <roland@hack.frob.com>
20896 * manual/contrib.texi: Completely rewritten. It contains now an
20897 alphabetical list of contributors and their contributions.
20899 2012-05-21 Richard Henderson <rth@twiddle.net>
20901 * misc/getauxval.c (__getauxval): Use unsigned long int.
20902 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20903 (getauxval): Use unsigned long int.
20905 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20909 2012-05-21 Roland McGrath <roland@hack.frob.com>
20911 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20912 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20913 __alignof__ (long double).
20915 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20919 2012-05-20 Richard Henderson <rth@twiddle.net>
20921 * misc/getauxval.c: New file.
20922 * misc/sys/auxv.h: New file.
20923 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20924 (routines): Add getauxval.
20925 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20927 * elf/dl-sysdep.c (_dl_auxv): Remove.
20928 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20929 * elf/dl-support.c (_dl_auxv): New variable.
20930 (_dl_aux_init): Initialize it.
20931 * manual/startup.texi (Auxiliary Vector): New node.
20932 * sysdeps/generic/bits/hwcap.h: New file.
20933 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20934 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20935 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20936 * sysdeps/sparc/sysdep.h: ... here. Include it.
20937 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20950 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20954 2012-05-19 David S. Miller <davem@davemloft.net>
20956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20958 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20961 * math/s_ccosh.c: Include <float.h>
20962 (__ccosh): Avoid internal overflow calculating sinh and cosh
20963 values before multiplying by sin and cos values.
20964 * math/s_ccoshf.c: Likewise.
20965 * math/s_ccoshl.c: Likewise.
20966 * math/s_csin.c: Likewise.
20967 * math/s_csinf.c: Likewise.
20968 * math/s_csinl.c: Likewise.
20969 * math/s_csinh.c: Likewise.
20970 * math/s_csinhf.c: Likewise.
20971 * math/s_csinhl.c: Likewise.
20972 * math/libm-test.inc (ccos_test): Add more tests.
20973 (ccosh_test): Likewise.
20974 (csin_test): Likewise.
20975 (csinh_test): Likewise.
20976 * sysdeps/i386/fpu/libm-test-ulps: Update.
20977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20979 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20981 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20982 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20984 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20986 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20988 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20989 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20990 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20991 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20992 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20993 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20994 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20995 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20996 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20997 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20998 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20999 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21000 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21001 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21002 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21003 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21004 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21005 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21006 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21007 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21008 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21009 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21010 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21011 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21012 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21013 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21014 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21015 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21016 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21017 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21018 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21020 2012-05-18 Andreas Jaeger <aj@suse.de>
21022 * csu/.gitignore: Delete.
21024 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21026 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21027 (timex): Use __syscall_slong_t.
21029 2012-05-18 Andreas Jaeger <aj@suse.de>
21030 Carlos O'Donell <carlos_odonell@mentor.com>
21032 * manual/install.texi (Configuring and compiling): Update
21033 description about files modified in the source directory.
21034 * INSTALL: Regenerated.
21036 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21038 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21039 value. Use "or" to set return value to -1.
21040 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21041 negate return value.
21043 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21045 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21046 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21047 failure if the compiler has Graphite support disabled.
21048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21050 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21051 CFLAGS-memmove.c): Likewise.
21052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21055 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21057 * sysdeps/x86_64/x32/_itoa.h: New file.
21059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21060 getdents system call only if kernel and user dirents have the
21061 same d_ino and d_off.
21063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21064 LLONG_MAX != LONG_MAX.
21065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21066 (_fitoa_word): Likewise.
21068 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21072 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21074 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21075 include <bits/wordsize.h>. Check __x86_64__ instead of
21077 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21078 if __x86_64__ is defined. Use anonymous union on fpstate.
21080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21083 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21085 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21086 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21088 Refer to _rtld_local_ro instead of _rtld_global_ro.
21089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21091 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21093 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21095 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21096 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21097 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21099 * sysdeps/powerpc/powerpc32/dl-machine.c
21100 (__elf_machine_runtime_setup) [PROF]: Don't reference
21103 2012-05-18 Andreas Jaeger <aj@suse.de>
21105 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21106 function only available for GCCs before 3.4 since GCC 3.4
21107 introduced a builtin.
21109 (llrintf): Likewise.
21110 (llrint): Likewise.
21117 (nearbyint): Likewise.
21118 (nearbyintf): Likewise.
21122 (floorf): Likewise.
21124 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21126 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21127 on both fields and cast pointer to __syscall_ulong_t.
21129 * bits/types.h (__fsword_t): New type.
21130 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21131 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21133 (__FSWORD_T_TYPE): Likewise.
21134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21135 (__FSWORD_T_TYPE): Likewise.
21136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21137 (__FSWORD_T_TYPE): Likewise.
21138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21139 (__FSWORD_T_TYPE): Likewise.
21140 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21141 __SWORD_TYPE with __fsword_t.
21142 (statfs64): Likewise.
21144 2012-05-17 David S. Miller <davem@davemloft.net>
21146 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21148 2012-05-17 Andreas Jaeger <aj@suse.de>
21150 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21153 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21155 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21157 2012-05-17 Andreas Jaeger <aj@suse.de>
21159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21162 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21164 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21166 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21168 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21169 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21171 2012-05-17 Andreas Jaeger <aj@suse.de>
21172 Carlos O'Donell <carlos_odonell@mentor.com>
21175 * sysdeps/x86_64/multiarch/init-arch.h
21176 (bit_YMM_Usable): Rename to...
21177 (bit_AVX_Usable): ... this.
21178 (bit_FMA4_Usable): New macro.
21179 (bit_XMM_state): New macro.
21180 (bit_YMM_state): New macro.
21181 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21182 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21183 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21184 (CPUID_OSXSAVE): New macro.
21185 (CPUID_AVX): New macro.
21186 (CPUID_FMA4): New macro.
21187 (index_YMM_Usable): Rename to...
21188 (index_AVX_Usable): ... this.
21189 (HAS_AVX): Use HAS_ARCH_FEATURE.
21190 (HAS_FMA4): Likewise.
21191 (HAS_YMM_USABLE): Remove.
21192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21193 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21195 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21196 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21197 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21198 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21199 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21201 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21203 * math/libm-test.c: Support platforms without multiple rounding modes.
21204 * math/bug-nextafter.c: Support platforms without FP exceptions.
21205 * math/bug-nexttoward.c: Likewise.
21206 * math/test-fenv.c: Likewise.
21207 * math/test-misc.c: Likewise.
21208 * stdlib/bug-getcontext.c: Likewise.
21210 2012-05-17 Andreas Jaeger <aj@suse.de>
21212 * manual/examples/search.c (critter_cmp): Change signature to
21214 * manual/string.texi (Collation Functions): Likewise.
21216 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21218 * bits/types.h: Fold copyright years.
21219 * bits/typesizes.h: Likewise.
21220 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21224 * time/time.h: Likewise.
21226 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21229 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21230 in instead of returning them. Return void.
21231 (__libc_mallinfo): Accumulate over all arenas.
21232 (__malloc_stats): Adjust for change in int_mallinfo interface.
21234 2012-05-16 Roland McGrath <roland@hack.frob.com>
21237 * configure.in (NM): Add AC_CHECK_TOOL for it.
21238 (libc_extra_cflags): New substituted variable.
21239 Check for -fstack-protector being used implicitly.
21240 * configure: Regenerated.
21241 * config.make.in (config-extra-cflags): New variable,
21242 gets @libc_extra_cflags@.
21243 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21246 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21247 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21248 * configure: Regenerated.
21249 * config.make.in (CPPUNDEFS): New substituted variable.
21250 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21251 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21252 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21254 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21256 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21257 (mq_attr): Use __syscall_slong_t.
21259 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21262 Check __x86_64__ instead of __WORDSIZE.
21263 (_STAT_VER_LINUX): Likewise.
21264 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21265 __syscall_ulong_t and __syscall_slong_t.
21266 (stat64): Likewise.
21268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21274 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21278 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21281 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21282 include <bits/wordsize.h>. Check __x86_64__ instead of
21284 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21286 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21289 include <bits/wordsize.h>. Check __x86_64__ instead of
21291 (user_regs_struct): Use "__extension__ unsigned long long"
21292 instead of "unsigned long" if __x86_64__ is defined.
21293 (user): Likewise. Pad after pointer field if __ILP32__ is
21296 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21298 * configure.in (makeinfo): Require version 4.5 or later. Allow
21300 * configure: Regenerated.
21301 * manual/install.texi (texinfo): Increase version requirement to
21303 * INSTALL: Regenerated.
21305 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21309 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21311 * sysdeps/x86_64/x32/ffs.c: New file.
21313 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21315 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21316 defined. Use __syscall_ulong_t.
21317 (shminfo): Use __syscall_ulong_t.
21318 (shm_info): Likewise.
21320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21323 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21325 (msgqnum_t): Use __syscall_ulong_t.
21326 (msglen_t): Likewise.
21327 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21330 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21331 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21333 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21335 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21336 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21338 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21341 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21342 include <bits/wordsize.h>. Check __x86_64__ instead of
21345 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21346 "unsigned long long int" if __x86_64__ is defined.
21347 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21351 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21353 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21355 (GET_PC): Cast to uintptr_t first.
21356 (GET_FRAME): Likewise.
21357 (GET_STACK): Likewise.
21359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21361 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21363 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21365 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21367 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21368 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21380 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21382 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21386 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21389 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21391 * Makerules (+depfiles): Also collect depfiles from .oS in
21393 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21394 .oS, $(libnldbl-routines)).
21396 * Makerules (native-compile-mkdep-flags): Define.
21397 * sunrpc/Makefile (extra-objs): Add $(addprefix
21398 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21399 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21400 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21401 calling $(make-target-directory).
21403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21405 * bits/types.h (__snseconds_t): Removed.
21406 * time/time.h (struct timespec): Replace __snseconds_t with
21408 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21409 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21412 (__SNSECONDS_T_TYPE): Likewise.
21413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21414 (__SNSECONDS_T_TYPE): Likewise.
21415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21416 (__SNSECONDS_T_TYPE): Likewise.
21418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21420 * sysdeps/mach/hurd/bits/typesizes.h
21421 (__SYSCALL_SLONG_TYPE): New macro.
21422 (__SYSCALL_ULONG_TYPE): Likewise.
21424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21426 * bits/types.h (__syscall_slong_t): New type.
21427 (__syscall_ulong_t): Likewise.
21429 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21430 (__SYSCALL_ULONG_TYPE): Likewise.
21431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21432 (__SYSCALL_SLONG_TYPE): Likewise.
21433 (__SYSCALL_ULONG_TYPE): Likewise.
21434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21435 (__SYSCALL_SLONG_TYPE): Likewise.
21436 (__SYSCALL_ULONG_TYPE): Likewise.
21437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21438 (__SYSCALL_SLONG_TYPE): Likewise.
21439 (__SYSCALL_ULONG_TYPE): Likewise.
21441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21443 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21444 Add sigaltstack-offsets.sym.
21445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21446 <sigaltstack-offsets.h>.
21447 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21448 longjmp_msg pointer.
21449 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21450 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21452 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21454 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21456 * elf/stackguard-macros.h: Remove file.
21457 * sysdeps/generic/stackguard-macros.h: New file.
21458 * sysdeps/i386/stackguard-macros.h: Likewise.
21459 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21460 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21461 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21462 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21463 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21464 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21465 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21466 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21467 <elf/stackguard-macros.h>.
21470 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21471 __aligned__ in attribute.
21472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21473 (gregset_t): Likewise.
21475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21477 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21478 * sysdeps/x86_64/64/Implies-after: Here. New file.
21479 * sysdeps/x86_64/x32/Implies-after: New file.
21481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21483 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21484 and access return value for _dl_profile_fixup. Use R10_LP to
21487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21489 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21493 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21494 * sysdeps/x86_64/x32/sysdep.h: New file.
21496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21498 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21499 * sysdeps/x86_64/setjmp.S: Likewise.
21501 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21503 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21505 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21507 remove unused global constant.
21509 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21511 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21512 include of <not-cancel.h>.
21514 2012-05-15 Roland McGrath <roland@hack.frob.com>
21516 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21518 2012-05-15 Jeff Law <law@redhat.com>
21519 Andreas Jaeger <aj@suse.de>
21522 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21524 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21525 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21526 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21527 code changing __hst_map_handle.map.
21529 2012-05-15 Roland McGrath <roland@hack.frob.com>
21531 * configure.in (sysnames): Look for Implies-before and Implies-after
21533 * configure: Regenerated.
21535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21537 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21538 8-byte data alignment with LP_SIZE alignment.
21540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21542 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21547 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21551 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21552 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21555 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21559 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21560 (stackinfo_sub_sp): Likewise.
21562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21579 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21583 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21584 into R11_LP and load __x86_64_shared_cache_size_half into
21587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21592 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21601 powerpc32/power7/fpu/s_logb.c via #include.
21602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21603 powerpc32/power7/fpu/s_logbf.c via #include.
21604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21605 powerpc32/power7/fpu/s_logbl.c via #include.
21607 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21609 * README.libm: Remove file.
21611 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21613 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21614 count for x32. Use R*_LP and omit operand-size suffix.
21616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21618 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21619 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21620 * sysdeps/x86_64/x32/shlib-versions: New file.
21622 2012-05-14 Roland McGrath <roland@hack.frob.com>
21624 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21625 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21626 Use _dl_fatal_printf instead.
21628 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21630 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21631 set if not set by the user. Do not allow for being unset.
21632 * sysdeps/unix/sysv/linux/configure: Regenerated.
21634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21636 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21637 the `q' suffix from lea and replace .quad with ASM_ADDR.
21639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21642 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21644 (PTR_DEMANGLE): Likewise.
21646 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21648 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21650 (ASM_ADDR): Likewise.
21651 (RAX_LP): Likewise.
21652 (RBP_LP): Likewise.
21653 (RBX_LP): Likewise.
21654 (RCX_LP): Likewise.
21655 (RDI_LP): Likewise.
21656 (RSI_LP): Likewise.
21657 (RSP_LP): Likewise.
21660 (R10_LP): Likewise.
21661 (R10_LP): Likewise.
21662 (R11_LP): Likewise.
21663 (R12_LP): Likewise.
21664 (R13_LP): Likewise.
21665 (R14_LP): Likewise.
21666 (R15_LP): Likewise.
21668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21670 * sysdeps/x86_64/x32/dl-machine.h: New file.
21672 2012-05-14 Andreas Jaeger <aj@suse.de>
21674 * manual/Makefile (subdir): Remove export of subdir.
21675 (all): Remove target.
21676 (.PHONY): Remove all from list.
21677 (mkinstalldirs): Remove.
21678 (.PHONY): Remove installdirs from list.
21679 ($(inst_infodir)/libc.info): Use make-target-directory.
21680 (installdirs): Remove.
21681 (subdir_%): Remove.
21682 (glibc-targets): Remove.
21685 ($(objpfx)stubs ../po/manual.pot): Remove.
21686 ($(objpfx)stamp%): Remove.
21687 (make-target-directory): Remove.
21688 (subdir_install): Remove.
21689 (routines): Remove.
21696 * manual/.gitignore: Remove, it's not needed anymore.
21697 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21699 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21701 (texis): Renamed to $(objpfx)texis.
21702 (texis-path): New, contains path to generated files.
21703 (chapters.%): Use texis-path for complete path, add extra argument
21705 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21706 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21707 (summary,texi, stamp-summary): Use complete path of
21708 files. Generate files in build dir.
21709 (dir-add.texi): Build in build dir.
21710 (libm-err.texi,stamp-libm-err): Likewise.
21711 (version.texi, stamp-version): Likewise.
21712 (.%c.texi): Likewise.
21713 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21714 (mostlyclean): Remove target.
21715 (realclean): Remove target.
21716 (generated): Add new variable with contents from mostlyclean and
21717 realclean, remove entries duplicated in common-mostlyclean, add
21718 stamp-libm-err and stamp-version.
21719 (generated-dirs): Add libc directory.
21720 ($(inst_infodir)/libc.info): Install files from build dir.
21722 * manual/install.texi (Configuring and compiling): Adjust since
21723 the info files are not part of the tar ball anymore.
21725 2012-05-14 Andreas Jaeger <aj@suse.de>
21727 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21730 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21734 to 2.2.0 where earlier.
21735 * sysdeps/unix/sysv/linux/configure: Regenerated.
21736 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21737 Remove conditional code.
21738 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21739 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21740 Remove conditional code.
21741 [!__NR_lchown]: Likewise.
21742 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21743 [__NR_lchown]: Likewise.
21744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21745 comment referencing __ASSUME_LCHOWN_SYSCALL.
21746 * sysdeps/unix/sysv/linux/i386/sigaction.c
21747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21749 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21750 Remove conditional code.
21751 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21752 (__protocol_available): Remove #if 0 code.
21753 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21755 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21756 * sysdeps/unix/sysv/linux/kernel-features.h
21757 (__ASSUME_GETCWD_SYSCALL): Don't define.
21758 (__ASSUME_REALTIME_SIGNALS): Likewise.
21759 (__ASSUME_PREAD_SYSCALL): Likewise.
21760 (__ASSUME_PWRITE_SYSCALL): Likewise.
21761 (__ASSUME_POLL_SYSCALL): Likewise.
21762 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21763 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21765 (__ASSUME_SIOCGIFNAME): Don't define.
21766 (__ASSUME_MSG_NOSIGNAL): Likewise.
21767 (__ASSUME_SENDFILE): Define unconditionally.
21768 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21769 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21771 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21772 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21774 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21775 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21776 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21777 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21802 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21803 Remove conditional code.
21804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21805 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21806 Remove conditional code.
21807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21808 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21809 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21810 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21811 Remove conditional code.
21812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21813 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21814 Remove conditional code.
21815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21816 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21817 Remove conditional code.
21818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21819 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21820 Remove conditional code.
21821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21822 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21823 Remove conditional code.
21824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21825 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21828 * sysdeps/unix/sysv/linux/sigaction.c
21829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21831 * sysdeps/unix/sysv/linux/sigpending.c
21832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21834 * sysdeps/unix/sysv/linux/sigprocmask.c
21835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21837 * sysdeps/unix/sysv/linux/sigsuspend.c
21838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21841 (__libc_missing_rt_sigs): Remove.
21842 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21843 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21844 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21845 Remove conditional code.
21846 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21847 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21850 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21852 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21854 2012-05-14 Andreas Jaeger <aj@suse.de>
21856 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21857 it's not used in glibc.
21858 (__coshm1): Likewise.
21859 (__acosh1p): Likewise.
21862 * manual/string.texi (Copying and Concatenation): Add missing
21863 variable in concat example.
21864 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21866 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21870 __builtin_clzl with __builtin_clzll.
21872 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21875 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21878 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21880 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21881 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21882 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21883 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21885 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21887 * NEWS: Update ia64 info.
21889 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21891 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21894 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21896 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21897 * sysdeps/unix/syscalls.list (dup3): Likewise.
21898 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21899 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21901 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21903 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21904 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21906 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21908 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21910 (TLS_IE): Use mov/add instead of movq/addq to load thread
21912 (TLS_GD_PREFIX): New.
21915 2012-05-11 David S. Miller <davem@davemloft.net>
21917 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21918 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21919 (_FPU_SETCW): Likewise.
21921 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21923 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21924 is 32-byte aligned.
21926 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21929 * iconvdata/gb18030.c: Update tables.
21930 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21931 characters specially.
21932 (BODY for TO_LOOP): Add encoding of missing ranges.
21934 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21937 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21938 * sysdeps/mach/hurd/dup3.c: Likewise.
21939 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21940 * sysdeps/powerpc/memmove.c:: Likewise.
21942 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21945 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21947 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21949 * elf/elf.h (R_X86_64_RELATIVE64): New.
21950 (R_X86_64_NUM): Updated.
21951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21952 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21953 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21954 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21955 tst-quad1pie tst-quad2pie
21956 (modules-names): Add tst-quadmod1 tst-quadmod2.
21957 ($(objpfx)tst-quad1): New dependency.
21958 ($(objpfx)tst-quad2): Likewise.
21959 ($(objpfx)tst-quad1pie): Likewise.
21960 ($(objpfx)tst-quad2pie): Likewise.
21961 * sysdeps/x86_64/tst-quad1.c: New file.
21962 * sysdeps/x86_64/tst-quad1pie.c: New file.
21963 * sysdeps/x86_64/tst-quad2.c: Likewise.
21964 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21965 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21966 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21967 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21968 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21970 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21972 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21973 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21974 * streams/stropts.h (t_scalar_t): Define type.
21976 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21977 (_PATH_PRESERVE): Set to "/var/lib".
21978 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21980 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21983 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21984 if __dir_mkfile succeeded.
21986 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21987 checking for _hurd_dtablesize. Unlock it right after having
21988 finished _hurd_dtable allocation.
21990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21992 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21993 * sysdeps/mach/hurd/configure: Regenerated.
21994 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21995 special-casing to...
21996 * sysdeps/gnu/configure.in: ... this new file.
21997 * sysdeps/unix/sysv/linux/configure: Regenerated.
21998 * sysdeps/gnu/configure: New generated file.
22000 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22001 for Linux: use nsec instead of usec, as well as:
22002 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22003 members of type struct timespec.
22004 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22006 (struct stat64): Likewise.
22007 (_STATBUF_ST_NSEC): New macro.
22008 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22010 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22011 __strtoul_internal rather than strtoul.
22013 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22015 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22018 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22020 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22021 which preserves existing values.
22022 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22024 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22026 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22027 TIMEOUT values. Return EINVAL for NFDS values either negative or
22028 greater than FD_SETSIZE.
22030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22032 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22033 allocated, call __vm_protect to finish enabling the existing space, and
22034 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22035 allocate the remainder.
22037 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22039 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22040 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22042 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22044 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22045 sysdeps/mach/hurd/readlink.c.
22047 * posix/tst-sysconf.c (posix_options): Only use
22048 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22049 _POSIX_SYNCHRONIZED_IO when they are defined
22050 * sysdeps/mach/hurd/bits/posix_opt.h:
22051 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22052 (_XOPEN_REALTIME): Undefine macro.
22053 (_XOPEN_REALTIME_THREADS): Undefine macro.
22054 (_XOPEN_SHM): Undefine macro.
22055 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22057 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22059 (_POSIX_ASYNC_IO): Undefine macro.
22060 (_POSIX_PRIORITIZED_IO): Undefine macro.
22061 (_POSIX_SPIN_LOCKS): Define macro to -1.
22063 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22064 SA_NODEFER, SA_RESETHAND.
22065 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22066 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22071 * elf/Makefile (pldd-modules): Define unconditionally.
22073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22075 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22079 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22080 Return ENOENT when name is empty.
22081 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22085 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22087 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22091 Fix mlock in all cases except non-readable pages.
22092 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22093 instead of VM_PROT_ALL as parameter to __vm_wire function.
22095 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22096 (__mkdir): When path is `/', just fail with EEXIST.
22097 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22101 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22102 <sys/uio.h> (for writev).
22103 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22104 and <sys/param.h> (for MIN).
22106 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22108 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22109 REQUESTED_TIME. Properly set the remaining time and return EINTR
22112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22114 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22115 Depend on against $(link-rpcuserlibs).
22117 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22119 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22120 (__libc_stack_end): Do not use attribute_relro.
22121 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22122 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22123 to libthread-provided value.
22124 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22130 * bits/libc-lock.h (__libc_once_get): New macro.
22131 * sysdeps/mach/bits/libc-lock.h: Likewise.
22132 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22134 instead of using implementation details.
22136 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22137 * libio/freopen.c: Likewise.
22138 * libio/freopen64.c: Likewise.
22139 * misc/syslog.c: Likewise.
22140 * nscd/connections.c: Likewise.
22141 * nscd/netgroupcache.c: Likewise.
22142 * sysdeps/posix/getcwd.c: Likewise.
22144 2012-05-10 Roland McGrath <roland@hack.frob.com>
22146 * math/w_ilogbf.c: Add #include <limits.h>.
22148 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22150 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22151 path instead of returning without unlocking.
22153 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22154 immediate-write ioctls.
22155 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22159 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22160 __builtin_frame_address instead of making assumptions about the
22161 location of the return address relative to DATA. Force early load of
22162 the return address.
22163 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22164 __builtin_frame_address.
22167 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22168 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22169 implement dup3 and do some further code clean-ups.
22170 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22175 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22177 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22178 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22179 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22180 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22181 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22184 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22185 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22186 when handler == SIG_ERR, not when handler != SIG_ERR.
22188 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22190 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22191 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22194 accept4 for GNU Hurd.
22195 * include/sys/socket.h (__libc_accept4): New prototype.
22196 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22197 to implement __libc_accept4.
22198 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22202 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22203 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22204 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22205 signal-defines.sym.
22207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22209 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22213 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22214 assertion on O_CLOEXEC flag.
22215 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22216 * hurd/intern-fd.c: Likewise.
22217 * hurd/port2fd.c: Likewise.
22219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22222 * bits/in.h (IPV6_PKTINFO): Define new macro.
22223 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22225 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22230 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22232 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22233 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22235 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22236 * math/libm-test.inc (logb_test) : Additional logb tests.
22238 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22239 Andreas Jaeger <aj@suse.de>
22241 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22242 * configure: Regenerated.
22243 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22244 * config.make.in (link-obsolete-rpc): New substituted variable.
22245 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22246 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22247 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22248 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22249 so that libc.a contains the symbols.
22250 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22251 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22252 * sunrpc/auth_none.c: Likewise.
22253 * sunrpc/auth_unix.c: Likewise.
22254 * sunrpc/authdes_prot.c: Likewise.
22255 * sunrpc/authuxprot.c: Likewise.
22256 * sunrpc/clnt_gen.c: Likewise.
22257 * sunrpc/clnt_perr.c: Likewise.
22258 * sunrpc/clnt_raw.c: Likewise.
22259 * sunrpc/clnt_simp.c: Likewise.
22260 * sunrpc/clnt_tcp.c: Likewise.
22261 * sunrpc/clnt_udp.c: Likewise.
22262 * sunrpc/clnt_unix.c: Likewise.
22263 * sunrpc/des_crypt.c: Likewise.
22264 * sunrpc/des_soft.c: Likewise.
22265 * sunrpc/get_myaddr.c: Likewise.
22266 * sunrpc/key_call.c: Likewise.
22267 * sunrpc/key_prot.c: Likewise.
22268 * sunrpc/netname.c: Likewise.
22269 * sunrpc/pm_getmaps.c: Likewise.
22270 * sunrpc/pm_getport.c: Likewise.
22271 * sunrpc/pmap_clnt.c: Likewise.
22272 * sunrpc/pmap_prot.c: Likewise.
22273 * sunrpc/pmap_prot2.c: Likewise.
22274 * sunrpc/pmap_rmt.c: Likewise.
22275 * sunrpc/publickey.c: Likewise.
22276 * sunrpc/rpc_cmsg.c: Likewise.
22277 * sunrpc/rpc_common.c: Likewise.
22278 * sunrpc/rpc_dtable.c: Likewise.
22279 * sunrpc/rpc_prot.c: Likewise.
22280 * sunrpc/rpc_thread.c: Likewise.
22281 * sunrpc/rtime.c: Likewise.
22282 * sunrpc/svc.c: Likewise.
22283 * sunrpc/svc_auth.c: Likewise.
22284 * sunrpc/svc_raw.c: Likewise.
22285 * sunrpc/svc_run.c: Likewise.
22286 * sunrpc/svc_tcp.c: Likewise.
22287 * sunrpc/svc_udp.c: Likewise.
22288 * sunrpc/svc_unix.c: Likewise.
22289 * sunrpc/svcauth_des.c: Likewise.
22290 * sunrpc/xcrypt.c: Likewise.
22291 * sunrpc/xdr.c: Likewise.
22292 * sunrpc/xdr_array.c: Likewise.
22293 * sunrpc/xdr_float.c: Likewise.
22294 * sunrpc/xdr_intXX_t.c: Likewise.
22295 * sunrpc/xdr_mem.c: Likewise.
22296 * sunrpc/xdr_rec.c: Likewise.
22297 * sunrpc/xdr_ref.c: Likewise.
22298 * sunrpc/xdr_sizeof.c: Likewise.
22299 * sunrpc/xdr_stdio.c: Likewise.
22301 2012-05-10 Roland McGrath <roland@hack.frob.com>
22303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22304 change. Update copyright years.
22306 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22308 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22310 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22311 Joseph Myers <joseph@codesourcery.com>
22312 Paul Pluzhnikov <ppluzhnikov@google.com>
22315 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22317 [cross-compiling] (extra-libs): Likewise.
22318 [cross-compiling] (extra-libs-others): Likewise.
22319 [cross-compiling] (librpcsvc-routines): Likewise.
22320 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22321 [cross-compiling] (omit-deps): Likewise.
22322 (sunrpc-CPPFLAGS): New variable.
22323 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22324 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22325 (cross-rpcgen-objs): New variable.
22326 (extra-objs): Append $(cross-rpcgen-objs).
22327 ($(cross-rpcgen-objs)): New rule.
22328 ($(objpfx)cross-rpcgen): Likewise.
22329 (rpcgen-cmd): Define to use $(built-program-file). Expand
22331 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22332 ($(objpfx)x%.stmp): Likewise.
22333 * sunrpc/proto.h [IS_IN_build] (_): Define.
22334 [IS_IN_build] (_libc_intl_domainname): Likewise.
22336 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22339 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22340 and R_X86_64_TPOFF64.
22342 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22344 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22345 sysdeps/unix/sysv/syscalls.list.
22348 * sysdeps/unix/sysv/syscalls.list: Remove file.
22350 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22353 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22354 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22355 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22356 (__LC_IDENTIFICATION): Make these macros useful in #if
22357 expressions, as required by C99.
22359 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22361 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22362 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22365 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22367 * stdlib/longlong.h: Updated from GCC.
22369 2012-05-09 Andreas Jaeger <aj@suse.de>
22371 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22372 default is first entry.
22373 (run_mode): Set type.
22374 (main): Remove informal message about syslog.
22375 (options): Fix typo.
22378 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22381 (llrintf): Likewise.
22382 (llrint): Likewise.
22385 (nearbyint): Likewise.
22386 (nearbyintf): Likewise.
22388 2012-05-09 Andreas Jaeger <aj@suse.de>
22389 Pedro Alves <palves@redhat.com>
22391 * nscd/nscd.c (run_mode): Use enum.
22392 (main): Cleanup coding style issue.
22394 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22395 Andreas Jaeger <aj@suse.de>
22397 * nscd/nscd.c (go_background): Replaced with...
22398 (run_mode): ... this.
22399 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22400 (options): Add -F --foreground.
22401 (main): Implement it.
22402 (parse_opt): Parse it.
22404 2012-05-09 Andreas Jaeger <aj@suse.de>
22407 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22408 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22409 -Wconversion warning.
22410 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22413 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22415 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22417 (LC_ALL): Use macro-int-constant.
22418 (LC_COLLATE): Likewise.
22419 (LC_CTYPE): Likewise.
22420 (LC_MESSAGES): Likewise.
22421 (LC_MONETARY): Likewise.
22422 (LC_NUMERIC): Likewise.
22423 (LC_TIME): Likewise.
22424 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22425 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22427 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22429 [C99-based standards] (float_t): Expect type.
22430 [C99-based standards] (double_t): Expect type.
22431 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22433 [C99-based standards] (HUGE_VALL): Likewise.
22434 [C99-based standards] (INFINITY): Likewise.
22435 [C99-based standards] (NAN): Likewise.
22436 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22437 [C99-based standards] (FP_NAN): Likewise.
22438 [C99-based standards] (FP_NORMAL): Likewise.
22439 [C99-based standards] (FP_SUBNORMAL): Likewise.
22440 [C99-based standards] (FP_ZERO): Likewise.
22441 [C99-based standards] (FP_FAST_FMA): Use
22442 optional-macro-int-constant. Specify type. Require == 1.
22443 [C99-based standards] (FP_FAST_FMAF): Likewise.
22444 [C99-based standards] (FP_FAST_FMAL): Likewise.
22445 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22446 [C99-based standards] (FP_ILOGBNAN): Likewise.
22447 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22449 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22450 [C99-based standards] (math_errhandling): Specify type.
22451 [ISO99 || ISO11] (signgam): Do not allow.
22452 [non-C99-based standards] (copysignf): Do not allow.
22453 [non-C99-based standards] (exp2f): Likewise.
22454 [non-C99-based standards] (log2f): Likewise.
22455 [non-C99-based standards] (modff): Allow.
22456 [non-C99-based standards] (erff): Do not allow.
22457 [non-C99-based standards] (erfcf): Likewise.
22458 [non-C99-based standards] (gammaf): Likewise.
22459 [non-C99-based standards] (hypotf): Likewise.
22460 [non-C99-based standards] (j0f): Likewise.
22461 [non-C99-based standards] (j1f): Likewise.
22462 [non-C99-based standards] (jnf): Likewise.
22463 [non-C99-based standards] (lgammaf): Likewise.
22464 [non-C99-based standards] (tgammaf): Likewise.
22465 [non-C99-based standards] (y0f): Likewise.
22466 [non-C99-based standards] (y1f): Likewise.
22467 [non-C99-based standards] (ynf): Likewise.
22468 [non-C99-based standards] (isnanf): Likewise.
22469 [non-C99-based standards] (acoshf): Likewise.
22470 [non-C99-based standards] (asinhf): Likewise.
22471 [non-C99-based standards] (atanhf): Likewise.
22472 [non-C99-based standards] (cbrtf): Likewise.
22473 [non-C99-based standards] (expm1f): Likewise.
22474 [non-C99-based standards] (ilogbf): Likewise.
22475 [non-C99-based standards] (log1pf): Likewise.
22476 [non-C99-based standards] (logbf): Likewise.
22477 [non-C99-based standards] (nextafterf): Likewise.
22478 [non-C99-based standards] (remainderf): Likewise.
22479 [non-C99-based standards] (rintf): Likewise.
22480 [non-C99-based standards] (scalbf): Likewise.
22481 [non-C99-based standards] (copysignl): Likewise.
22482 [non-C99-based standards] (exp2l): Likewise.
22483 [non-C99-based standards] (log2l): Likewise.
22484 [non-C99-based standards] (modfl): Allow.
22485 [non-C99-based standards] (erfl): Do not allow.
22486 [non-C99-based standards] (erfcl): Likewise.
22487 [non-C99-based standards] (gammal): Likewise.
22488 [non-C99-based standards] (hypotl): Likewise.
22489 [non-C99-based standards] (j0l): Likewise.
22490 [non-C99-based standards] (j1l): Likewise.
22491 [non-C99-based standards] (jnl): Likewise.
22492 [non-C99-based standards] (lgammal): Likewise.
22493 [non-C99-based standards] (tgammal): Likewise.
22494 [non-C99-based standards] (y0l): Likewise.
22495 [non-C99-based standards] (y1l): Likewise.
22496 [non-C99-based standards] (ynl): Likewise.
22497 [non-C99-based standards] (isnanl): Likewise.
22498 [non-C99-based standards] (acoshl): Likewise.
22499 [non-C99-based standards] (asinhl): Likewise.
22500 [non-C99-based standards] (atanhl): Likewise.
22501 [non-C99-based standards] (cbrtl): Likewise.
22502 [non-C99-based standards] (expm1l): Likewise.
22503 [non-C99-based standards] (ilogbl): Likewise.
22504 [non-C99-based standards] (log1pl): Likewise.
22505 [non-C99-based standards] (logbl): Likewise.
22506 [non-C99-based standards] (nextafterl): Likewise.
22507 [non-C99-based standards] (remainderl): Likewise.
22508 [non-C99-based standards] (rintl): Likewise.
22509 [non-C99-based standards] (scalbl): Likewise.
22510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22511 [non-C99-based standards] (FP_*): Do not allow.
22512 [C99-based standards] (FP_*): Change to
22513 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22514 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22516 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22517 (SIG_ERR): Likewise.
22518 [X/Open-based standards] (SIG_HOLD): Likewise.
22519 (SIG_IGN): Likewise.
22520 (SIGABRT): Use macro-int-constant. Specify type. Require
22522 (SIGFPE): Likewise.
22523 (SIGILL): Likewise.
22524 (SIGINT): Likewise.
22525 (SIGSEGV): Likewise.
22526 (SIGTER): Likewise.
22527 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22528 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22529 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22530 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22531 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22532 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22533 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22534 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22535 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22536 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22537 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22538 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22539 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22540 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22541 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22542 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22543 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22545 [X/Open-based standards] (SIGTRAP): Likewise.
22546 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22547 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22548 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22549 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22550 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22553 2012-05-08 Ian Wienand <ianw@vmware.com>
22556 * time/tzset.c (__tzset_parse_tz): Update default rules for
22557 daylight time changes in the Energy Policy Act of 2005.
22559 2012-05-09 Andreas Jaeger <aj@suse.de>
22562 * elf/ldconfig.c (parse_conf): Change string to make clear that
22563 ldconfig only issued a warning if ld.so.conf does not exist.
22565 2012-05-08 David S. Miller <davem@davemloft.net>
22567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22568 movxtod instead of popping the value on the stack.
22570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22572 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22574 * config.h.in: Add HAVE_ARM_PCS_VFP.
22576 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22579 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22580 checking but the checks are disabled for any reason.
22582 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22584 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22585 and ELF64_R_TYPE with ELFW(R_TYPE).
22587 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22589 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22590 (ulimit): Likewise.
22592 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22593 (settimeofday): Likewise.
22595 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22597 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22598 a struct th_u2 inside the union, and move tu_block/tu_code into
22599 a new th_u3 union of tu_block/tu_code inside of that. Move
22600 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22601 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22602 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22603 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22604 (th_stuff): Change to th_u1.tu_stuff.
22606 (th_msg): Change to th_u1.th_u2.tu_data.
22608 2012-05-07 David S. Miller <davem@davemloft.net>
22610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22613 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22614 (SETUP_PIC_REG): Use it.
22615 (SETUP_PIC_REG_LEAF): Use it.
22617 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22621 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22623 (EXPL_FINITE): Likewise.
22624 (FLDLOG): Likewise.
22625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22626 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22630 (EXPL_FINITE): Likewise.
22631 (FLDLOG): Likewise.
22632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22633 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22635 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22636 test of -max_value argument for long double.
22637 * sysdeps/i386/fpu/libm-test-ulps: Update.
22638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22640 2012-05-06 David S. Miller <davem@davemloft.net>
22642 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22643 quad soft-float symbols whose references which are compiler
22645 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22647 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22651 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22653 (EXPL_FINITE): Likewise.
22654 (FLDLOG): Likewise.
22657 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22658 Adjust comments for base varying.
22659 (__expl_finite): Change alias to EXPL_FINITE.
22660 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22662 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22663 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22665 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22668 (EXPL_FINITE): Likewise.
22669 (FLDLOG): Likewise.
22672 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22673 Adjust comments for base varying.
22674 (__expl_finite): Change alias to EXPL_FINITE.
22675 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22680 * math/libm-test.inc (check_float_internal): Correct ulp
22681 calculation for subnormal expected results.
22683 2012-05-06 Andreas Jaeger <aj@suse.de>
22685 * Makeconfig (+math-flags): New, set to -frounding-math.
22686 (+cflags): Add +math-flags so that all of glibc gets compiled with
22689 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22691 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22693 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22699 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22700 (__ieee754_expl): Allow for and saturate large arguments.
22701 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22702 (u_threshold): Likewise.
22703 (__exp): Call __ieee754_exp before checking for overflow and
22705 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22706 (u_threshold): Likewise.
22707 (__expf): Call __ieee754_expf before checking for overflow and
22709 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22710 (u_threshold): Likewise.
22711 (__expl): Call __ieee754_expl before checking for overflow and
22713 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22714 (__ieee754_expl): Allow for and saturate large arguments.
22715 * math/libm-test.inc (exp_test): Add another test. Do not allow
22716 missing overflow exception on overflow.
22717 (expm1_test): Do not allow missing overflow exception on overflow.
22719 * sysdeps/i386/fpu/e_expl.c: Move to ...
22720 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22721 rather than using inline asm.
22722 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22723 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22724 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22726 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22729 (signal): Likewise.
22733 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22735 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22736 sysdeps/unix/common/syscalls.list.
22737 (fchmod): Likewise.
22738 (fchown): Likewise.
22739 (ftruncate): Likewise.
22740 (getrusage): Likewise.
22741 (gettimeofday): Likewise.
22742 (setpgid): Likewise.
22743 (setregid): Likewise.
22744 (setreuid): Likewise.
22745 (sigaction): Likewise.
22746 (truncate): Likewise.
22747 (vhangup): Likewise.
22748 * sysdeps/unix/common/syscalls.list: Remove file.
22749 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22750 * sysdeps/unix/sysv/linux/Implies: Likewise.
22752 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22760 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22763 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22766 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22769 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22772 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22775 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22778 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22786 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22789 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22793 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22797 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22799 * sysdeps/unix/common/bits/dirent.h: Remove file.
22800 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22802 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22803 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22804 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22805 * sysdeps/unix/bsd/isatty.c: Likewise.
22806 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22807 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22808 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22810 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22814 long double comparison inaccuracies.
22815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22818 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22820 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22823 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22827 nonzero digits before rounding a hex value.
22828 * stdlib/tst-strtod.c (tests): Add another test.
22830 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22832 * sysdeps/s390/fpu/libm-test-ulps: Update.
22834 2012-05-03 Andreas Jaeger <aj@suse.de>
22836 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22837 does not get optimized out.
22838 (malloc_opt_barrier): New.
22840 2012-05-03 Andreas Jaeger <aj@suse.de>
22841 Roland McGrath <roland@hack.frob.com>
22843 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22844 intermediate file deletion.
22845 (generated): Add .symlist files.
22847 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22850 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22851 Redirect under this condition.
22852 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22853 [__USE_GNU] (__dprintf_chk): Not under this condition.
22854 [__USE_GNU] (__vdprintf_chk): Likewise.
22855 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22856 under this condition.
22857 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22858 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22859 [__USE_XOPEN2K8] (vdprintf): Likewise.
22860 [__USE_GNU] (__dprintf_chk): Not under this condition.
22861 [__USE_GNU] (__vdprintf_chk): Likewise.
22862 [__USE_GNU] (dprintf): Likewise.
22863 [__USE_GNU] (vdprintf): Likewise.
22865 2012-05-03 Roland McGrath <roland@hack.frob.com>
22867 * elf/Makefile (common-generated): Set this instead of generated for
22868 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22869 $(all-built-dso)-derived lists.
22871 2012-05-03 Andreas Jaeger <aj@suse.de>
22873 * sysdeps/i386/fpu/libm-test-ulps: Update.
22876 * FAQ.in: Likewise.
22877 * scripts/gen-FAQ.pl: Likewise.
22878 * manual/install.texi (Installation): Point to online location of
22880 * Makefile (files-for-dist): Remove FAQ.
22883 2012-05-02 Allan McRae <allan@archlinux.org>
22885 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22886 (LDFLAGS-reldepmod5.so): Likewise.
22887 (LDFLAGS-reldep6mod1.so): Likewise.
22888 (LDFLAGS-reldep6mod4.so): Likewise.
22889 (LDFLAGS-reldep8mod3.so): Likewise.
22890 (LDFLAGS-unload4mod1.so): Likewise.
22891 (LDFLAGS-unload4mod2.so): Likewise.
22892 (LDFLAGS-tst-initorder): Likewise.
22893 (LDFLAGS-tst-initordera2.so): Likewise.
22894 (LDFLAGS-tst-initordera3.so): Likewise.
22895 (LDFLAGS-tst-initordera4.so): Likewise.
22896 (LDFLAGS-tst-initorderb2.so): Likewise.
22897 (LDFLAGS-noload): Likewise.
22898 (LDFLAGS-next): Likewise.
22899 (LDFLAGS-order2mod1.so): Likewise.
22900 (LDFLAGS-order2mod2.so): Likewise.
22901 (LDFLAGS-tst-initorder2): Likewise.
22902 (LDFLAGS-tst-initorder2a.so): Likewise.
22903 (LDFLAGS-tst-initorder2b.so): Likewise.
22904 (LDFLAGS-tst-initorder2c.so): Likewise.
22905 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22907 2012-05-02 David S. Miller <davem@davemloft.net>
22909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22911 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22914 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22916 2012-05-02 Andreas Jaeger <aj@suse.de>
22918 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22919 since we manipulate rounding mode.
22920 (CPPFLAGS-test-idouble.c): Likewise.
22921 (CPPFLAGS-test-ifloat.c): Likewise.
22922 (CFLAGS-test-ldouble.c): Likewise.
22923 (CFLAGS-test-double.c): Likewise.
22924 (CFLAGS-test-float.c): Likewise.
22925 (CFLAGS-test-misc.c): Likewise.
22926 (CFLAGS-test-test-fenv.c): Likewise.
22928 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22933 comparisons to determine direction to adjust input.
22935 2012-05-01 Roland McGrath <roland@hack.frob.com>
22937 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22938 output to the target.
22940 * scripts/localplt.awk: New file.
22941 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22942 (check-localplt-CFLAGS): Variable removed.
22943 ($(all-built-dso:=.jmprel)): New static pattern rule.
22944 (generated): Add those targets.
22945 (localplt-built-dso): New variable.
22946 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22948 * elf/check-localplt.c: File removed.
22950 * scripts/check-execstack.awk: New file.
22951 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22952 (check-execstack-CFLAGS): Variable removed.
22953 ($(objpfx)check-execstack.h): Target removed.
22954 ($(objpfx)execstack-default): New target.
22955 (generated): Add that instead of check-execstack.h.
22956 ($(all-built-dso:=.phdr)): New static pattern rule.
22957 (generated): Add those targets.
22958 * elf/check-execstack.c: File removed.
22960 * scripts/check-textrel.awk: New file.
22961 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22962 (check-textrel-CFLAGS): Variable removed.
22963 (all-built-dso): Use := to define.o
22964 ($(all-built-dso:=.dyn)): New static pattern rule.
22965 (generated): Add those targets.
22966 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22967 * config.make.in (READELF): New substituted variable.
22968 * elf/check-textrel.c: File removed.
22970 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22972 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22974 * conform/data/ctype.h-data [C99-based standards] (isblank):
22976 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22977 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22979 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22980 Specify type. Require positive value.
22981 (EILSEQ): Likewise.
22982 (ERANGE): Likewise.
22983 [ISO || POSIX] (EILSEQ): Do not expect.
22984 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22985 Specify type. Require positive value.
22986 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22987 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22988 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22989 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22990 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22991 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22992 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22993 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22994 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22995 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22996 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22997 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22998 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22999 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23000 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23001 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23002 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23003 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23004 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23005 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23006 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23007 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23008 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23009 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23010 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23011 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23012 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23013 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23014 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23015 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23016 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23017 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23018 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23019 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23020 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23021 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23022 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23023 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23024 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23025 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23026 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23027 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23028 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23029 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23030 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23031 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23032 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23033 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23034 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23035 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23036 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23037 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23038 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23039 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23040 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23041 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23042 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23043 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23044 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23045 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23046 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23047 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23048 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23049 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23050 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23051 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23052 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23053 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23054 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23055 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23056 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23057 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23058 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23059 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23060 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23061 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23062 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23064 (FLT_ROUNDS): Expect as macro, not constant.
23065 (FLT_MANT_DIG): Use macro-int-constant.
23066 (DBL_MANT_DIG): Likewise.
23067 (LDBL_MANT_DIG): Likewise.
23068 (FLT_DIG): Likewise.
23069 (DBL_DIG): Likewise.
23070 (LDBL_DIG): Likewise.
23071 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23072 (DBL_MIN_EXP): Likewise.
23073 (LDBL_MIN_EXP): Likewise.
23074 (FLT_MAX_EXP): Use macro-int-constant.
23075 (DBL_MAX_EXP): Likewise.
23076 (LDBL_MAX_EXP): Likewise.
23077 (FLT_MAX_10_EXP): Likewise.
23078 (DBL_MAX_10_EXP): Likewise.
23079 (LDBL_MAX_10_EXP): Likewise.
23080 (FLT_MAX): Use macro-constant.
23081 (DBL_MAX): Likewise.
23082 (LDBL_MAX): Likewise.
23083 (FLT_EPSILON): Use macro-constant. Give upper bound.
23084 (DBL_EPSILON): Likewise.
23085 (LDBL_EPSILON): Likewise.
23086 (FLT_MIN): Likewise.
23087 (DBL_MIN): Likewise.
23088 (LDBL_MIN): Likewise.
23089 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23090 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23091 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23092 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23093 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23094 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23095 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23096 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23097 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23098 [ISO11] (FLT_TRUE_MIN): Likewise.
23099 [ISO11] (LDBL_TRUE_MIN): Likewise.
23100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23101 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23102 (SCHAR_MIN): Use macro-int-constant. Specify type.
23103 (SCHAR_MAX): Likewise.
23104 (UCHAR_MAX): Likewise.
23105 (CHAR_MIN): Likewise.
23106 (CHAR_MAX): Likewise.
23107 (MB_LEN_MAX): Use macro-int-constant.
23108 (SHRT_MIN): Use macro-int-constant. Specify type.
23109 (SHRT_MAX): Likewise.
23110 (USHRT_MAX): Likewise.
23111 (INT_MAX): Likewise.
23112 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23114 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23116 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23118 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23119 bound negative. Suffix upper bound with "L".
23120 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23122 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23124 [C99-based standards] (LLONG_MAX): Likewise.
23125 [C99-based standards] (ULLONG_MAX): Likewise.
23126 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23128 [ISO11] (max_align_t): Require type.
23129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23131 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23132 from $CFLAGS, without defining away __attribute__ calls.
23133 (checknamespace): Use $CFLAGS_namespace.
23135 * conform/conformtest.pl (@keywords): Only include C99 keywords
23136 for standards based on C99 or C11.
23138 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23140 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23143 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23144 usability of symbols in #if.
23146 * conform/conformtest.pl: If macro or constant types start
23147 "promoted:", expect the symbol to be of the following type
23148 promoted by the integer promotions.
23150 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23151 in one place. Also handle "macro-constant".
23153 * conform/conformtest.pl: Only accept expected macro values with
23154 "==". Parse all "macro" lines in one place.
23155 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23157 * conform/conformtest.pl: Handle braced types on "constant" lines
23158 instead of handling "typed-constant".
23159 * conform/data/signal.h-data: Use "constant" instead of
23162 * conform/conformtest.pl: Handle "optional-" at start of lines in
23163 one place rather than duplicating several cases. Handle each
23164 format of "macro" line with initial "optional-".
23166 * conform/conformtest.pl: Only accept expected constant or
23167 optional-constant values with "==". Parse all "constant" lines in
23168 one place. Parse all "optional-constant" lines in one place.
23169 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23170 * conform/data/fmtmsg.h-data: Likewise.
23171 * conform/data/netinet/in.h-data: Likewise.
23172 * conform/data/tar.h-data: Likewise.
23173 * conform/data/limits.h-data: Use "==" form on "constant" and
23174 "optional-constant" lines.
23176 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23177 Use -std=c99 for XOPEN2K.
23178 (@knownproblems): Remove.
23179 (newtoken): Don't check %isknown.
23181 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23182 Do not expect macro.
23183 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23184 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23185 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23186 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23187 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23188 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23189 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23190 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23191 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23192 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23193 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23194 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23195 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23196 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23197 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23198 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23199 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23200 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23201 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23202 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23203 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23204 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23207 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23208 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23210 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23211 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23212 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23213 [XPG3] (acosh): Likewise.
23214 [XPG3] (asinh): Likewise.
23215 [XPG3] (atanh): Likewise.
23216 [XPG3] (cbrt): Likewise.
23217 [XPG3] (expm1): Likewise.
23218 [XPG3] (ilogb): Likewise.
23219 [XPG3] (log1p): Likewise.
23220 [XPG3] (logb): Likewise.
23221 [XPG3] (nextafter): Likewise.
23222 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23224 [XPG3] (remainder): Likewise.
23225 [XPG3] (rint): Likewise.
23226 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23227 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23228 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23229 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23230 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23231 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23233 [UNIX98 || XOPEN2K] (scalb): Expect.
23234 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23235 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23243 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23244 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23251 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23252 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23253 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23254 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23255 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23256 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23257 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23258 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23259 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23261 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23262 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23263 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23264 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23265 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23266 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23300 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23301 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23302 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23303 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23304 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23307 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23308 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23311 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23312 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23316 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23317 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23318 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23320 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23321 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23322 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23323 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23324 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23325 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23326 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23327 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23328 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23329 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23330 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23331 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23332 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23333 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23334 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23335 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23336 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23337 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23338 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23339 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23340 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23341 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23342 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23343 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23344 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23345 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23346 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23347 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23348 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23349 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23350 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23351 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23352 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23353 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23354 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23355 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23356 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23357 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23358 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23359 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23360 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23361 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23362 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23363 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23364 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23365 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23366 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23367 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23368 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23369 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23370 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23372 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23373 _XOPEN_SOURCE_EXTENDED for XPG4.
23375 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23377 * Makeconfig (localtime): Remove variable.
23378 (inst_localtime-file): Likewise.
23380 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23401 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23405 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23406 comparisons to determine direction to adjust input.
23407 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23408 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23415 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23416 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23418 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23420 * math/libm-test.inc (nexttoward_test): Add more tests.
23422 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23426 in version GLIBC_2.1, not GLIBC_2.0.
23427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23430 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23436 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23437 * math/libm-test.inc (acos_test): Add more tests.
23438 (asin_test): Likewise.
23439 * sysdeps/i386/fpu/libm-test-ulps: Update.
23440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23445 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23446 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23447 * math/libm-test.inc (acos_test_tonearest): New function.
23448 (acos_test_towardzero): Likewise.
23449 (acos_test_downward): Likewise.
23450 (acos_test_upward): Likewise.
23451 (asin_test_tonearest): Likewise.
23452 (asin_test_towardzero): Likewise.
23453 (asin_test_downward): Likewise.
23454 (asin_test_upward): Likewise.
23455 (main): Call the new functions.
23456 * sysdeps/i386/fpu/libm-test-ulps: Update.
23457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23461 * math/e_exp10.c: Include <float.h>.
23462 (__ieee754_exp10): Handle underflow here rather than multiplying
23463 large negative argument by M_LN10.
23464 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23466 * math/e_exp10l.c: Include <float.h>.
23467 (__ieee754_exp10l): Handle underflow here rather than multiplying
23468 large negative argument by M_LN10l.
23469 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23470 spurious overflow exception on underflow.
23472 2012-04-29 Marek Polacek <polacek@redhat.com>
23474 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23475 (__fortify_function): New macro.
23476 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23477 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23478 __extern_always_inline.
23479 * libio/bits/stdio2.h: Likewise.
23480 * libio/bits/stdio.h: Likewise.
23481 * string/string.h: Likewise.
23482 * string/bits/string3.h: Likewise.
23483 * include/stdio.h: Likewise.
23484 * stdlib/bits/stdlib.h: Likewise.
23485 * stdlib/stdlib.h: Likewise.
23486 * rt/bits/mqueue2.h: Likewise.
23487 * rt/mqueue.h: Likewise.
23488 * posix/bits/unistd.h: Likewise.
23489 * posix/unistd.h: Likewise.
23490 * io/bits/poll2.h: Likewise.
23491 * io/bits/fcntl2.h: Likewise.
23492 * io/fcntl.h: Likewise.
23493 * io/sys/poll.h: Likewise.
23494 * misc/bits/syslog.h: Likewise.
23495 * misc/bits/syslog-ldbl.h: Likewise.
23496 * misc/sys/syslog.h: Likewise.
23497 * socket/bits/socket2.h: Likewise.
23498 * socket/sys/socket.h: Likewise.
23499 * debug/tst-chk1.c: Likewise.
23500 * wcsmbs/bits/wchar2.h: Likewise.
23501 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23502 * wcsmbs/wchar.h: Likewise.
23504 2012-04-29 Andreas Jaeger <aj@suse.de>
23506 * Makerules (tests): Remove enable-check-abi protection.
23507 (check-abi-warn): Remove.
23508 (check-abi-%): Remove check-abi-warn usage.
23510 * configure.in: Remove check-abi configure option.
23511 * configure: Regenerated.
23512 * config.make.in (enable-check-abi): Remove.
23514 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23517 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23518 double functions to double *_finite functions.
23521 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23522 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23524 * stdio-common/Makefile (tests): Add tst-sprintf3.
23525 * stdio-common/tst-sprintf3.c: New file.
23527 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23528 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23530 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23532 * conform/conformtest.pl: Remove duplicate typed-constant
23535 2012-04-28 David S. Miller <davem@davemloft.net>
23537 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23538 (check-abi-%): Remove AWK script prerequisite and explicit
23540 (check-abi): Rewrite to just diff the symlist with the abilist.
23541 (config-tls, config-abi-config): Delete, no longer used.
23542 (update-abi-%): Remove AWK script and explicit abilist directory.
23543 (update-abi): Rewrite to simply compare and conditionally copy the
23544 symlist and the sysdep abilist file. Remove update-abi-config
23546 * abilist/ld.abilist: Remove.
23547 * abilist/libBrokenLocale.abilist: Remove.
23548 * abilist/libanl.abilist: Remove.
23549 * abilist/libcrypt.abilist: Remove.
23550 * abilist/libdl.abilist: Remove.
23551 * abilist/librt.abilist: Remove.
23552 * abilist/libthread_db.abilist: Remove.
23553 * abilist/libutil.abilist: Remove.
23554 * scripts/extract-abilist.awk: Remove.
23555 * scripts/merge-abilist.awk: Remove.
23556 * sysdeps/generic/libcidn.abilist: New file.
23557 * sysdeps/generic/libnss_compat.abilist: New file.
23558 * sysdeps/generic/libnss_db.abilist: New file.
23559 * sysdeps/generic/libnss_dns.abilist: New file.
23560 * sysdeps/generic/libnss_files.abilist: New file.
23561 * sysdeps/generic/libnss_hesiod.abilist: New file.
23562 * sysdeps/generic/libnss_nis.abilist: New file.
23563 * sysdeps/generic/libnss_nisplus.abilist: New file.
23564 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23565 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23566 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23569 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23570 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23571 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23572 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23573 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23574 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23575 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23576 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23578 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23579 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23580 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23581 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23583 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23585 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23586 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23587 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23588 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23591 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23592 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23594 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23697 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23698 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23699 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23702 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23703 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23704 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23705 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23706 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23707 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23708 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23709 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23710 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23762 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23764 * conform/conformtest.pl: Fix typo in handling typed-constant from
23767 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23769 * README: Cut down references to pre-2.6 Linux kernels and
23770 Linuxthreads. Update lists of configurations in libc and ports
23771 and sort alphabetically. Say "or newer" with Linux kernel version
23774 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23776 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23779 * math/libm-test.inc (logb_test_downward): New test to expose
23780 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23783 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23786 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23788 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23789 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23791 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23793 * sysdeps/unix/i386/brk.S: Remove file.
23794 * sysdeps/unix/i386/dl-brk.S: Likewise.
23795 * sysdeps/unix/i386/pipe.S: Likewise.
23796 * sysdeps/unix/i386/sigreturn.S: Likewise.
23797 * sysdeps/unix/i386/syscall.S: Likewise.
23798 * sysdeps/unix/i386/vfork.S: Likewise.
23799 * sysdeps/unix/i386/wait.S: Likewise.
23801 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23802 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23804 * configure.in (arm*-none*): Do not allow without
23805 --enable-hacker-mode.
23806 (netbsd*): Remove case setting base_os.
23807 (386bsd*): Likewise.
23808 (freebsd*): Likewise.
23811 (sunos*): Likewise.
23812 (ultrix*): Likewise.
23813 (newsos*): Likewise.
23814 (dynix*): Likewise.
23820 (minix*): Likewise.
23821 (irix4*): Likewise.
23822 (irix6*): Likewise.
23823 (solaris[2-9]*): Likewise.
23825 * configure: Regenerated.
23827 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23831 overflow or cancellation in calculating denominator.
23832 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23834 down expression to avoid unexpected rounding in newer GCCs.
23835 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23837 2012-04-26 David S. Miller <davem@davemloft.net>
23839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23840 long-double compat symbols.
23841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23855 2012-04-25 David S. Miller <davem@davemloft.net>
23857 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23858 HWCAP_* values only after the memory barriers have been defined.
23859 (atomic_full_barrier): Define.
23860 (atomic_read_barrier): Define.
23861 (atomic_write_barrier): Define.
23863 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23865 * shlib-versions: Add libgcc_s version information.
23866 * sysdeps/generic/libgcc_s.h: Remove.
23867 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23869 * sysdeps/gnu/unwind-resume.c: Likewise.
23870 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23872 2012-04-25 David S. Miller <davem@davemloft.net>
23874 * sysdeps/unix/sparc/brk.S: Delete.
23875 * sysdeps/unix/sparc/dl-brk.S: Delete.
23876 * sysdeps/unix/sparc/pipe.S: Delete.
23877 * sysdeps/unix/sparc/sysdep.S: Delete.
23878 * sysdeps/unix/sparc/sysdep.h: Delete.
23879 * sysdeps/unix/sparc/vfork.S: Delete.
23880 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23881 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23883 ret_ERRVAL, r0, r1, MOVE): Define.
23884 (JUMPTARGET): Remove.
23885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23886 sysdeps/unix/sparc/sysdep.h
23887 (ENTRY, END): Remove.
23888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23890 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23892 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23893 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23896 * timezone/README: Update upstream location and email address for
23898 * timezone/zdump.c: Update from tzcode 2012b.
23899 * timezone/zic.c: Likewise.
23901 * configure.in (libc_cv_as_needed): Remove test.
23902 * configure: Regenerated.
23903 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23904 conditional definition.
23905 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23906 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23907 * config.make.in (have-as-needed): Remove variable.
23909 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23910 Paul Pluzhnikov <ppluzhnikov@google.com>
23912 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23915 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23917 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23918 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23919 * sysdeps/sh/strlen.S: Likewise.
23921 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23923 * sysdeps/unix/fork.S: Remove file.
23924 * sysdeps/unix/i386/fork.S: Likewise.
23925 * sysdeps/unix/sparc/fork.S: Likewise.
23927 * sysdeps/unix/system.c: Remove file.
23928 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23930 * sysdeps/unix/getegid.S: Remove file.
23931 * sysdeps/unix/geteuid.S: Likewise.
23933 2012-04-24 Roland McGrath <roland@hack.frob.com>
23935 * scripts/check-localplt.awk: New file.
23936 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23938 * scripts/data/localplt-generic.data: Add a comment.
23940 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23941 NODE when __dir_mkfile failed.
23942 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23943 Reported by Ludovic Courtès <ludo@gnu.org>.
23945 2012-04-24 Andreas Jaeger <aj@suse.de>
23947 * Makerules (common-clean): Also remove gen-as-const-headers
23950 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23952 * Makerules (native-compile): Do not change working directory for
23953 build. Use $(OUTPUT_OPTION) in command.
23954 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23956 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23959 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23960 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23961 * math/libm-test.inc (floor_test): Add more tests.
23962 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23964 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23966 * sysdeps/unix/getdents.c: Remove file.
23967 * sysdeps/unix/sysv/getdents.c: Likewise.
23968 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23970 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23971 sysdeps/unix/mman/syscalls.list.
23973 (mprotect): Likewise.
23975 (munmap): Likewise.
23976 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23977 * sysdeps/unix/mman/syscalls.list: Remove.
23978 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23980 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23981 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23982 * configure: Regenerated.
23983 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23984 $(libgcc_s_suffix).
23985 * config.make.in (libgcc_s_suffix): Remove variable.
23987 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23989 * sysdeps/unix/sysv/gethostname.c: Move to ...
23990 * sysdeps/posix/gethostname.c: ... here.
23992 * sysdeps/unix/execve.S: Remove file.
23994 * sysdeps/unix/_exit.S: Remove file.
23996 2012-04-23 Andreas Jaeger <aj@suse.de>
23999 * manual/Makefile: Remove make dist support, there's no
24000 need for a stand-alone documentation tar ball.
24001 (TEXI2DVI): Define always, it's not in Makeconfig.
24004 (edition): Removed.
24005 (glibc-doc-$(edition).tar): Removed
24009 (ETAGS): Remove, it's in Makeconfig.
24010 (move-if-change): Remove, it's in Makeconfig.
24012 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
24015 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24016 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24017 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24018 (strtod_l, strtof_l, strtold_l): Remove __wur.
24019 It is not necessarily an error to ignore strtol's return value.
24020 One can reliably look at the stored endptr to decide whether
24021 the number had valid syntax.
24023 2012-04-21 Andreas Jaeger <aj@suse.de>
24026 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24028 2012-04-21 Joseph Myers <joseph@codesourcery.com>
24030 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24031 * sysdeps/unix/sysv/Versions: Remove file.
24033 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24038 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
24041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24042 version from __vm86.
24044 2012-04-20 Joseph Myers <joseph@codesourcery.com>
24046 * sysdeps/unix/common/lxstat.c: Remove file.
24047 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24049 * sysdeps/unix/sysv/Makefile: Remove file.
24051 * sysdeps/unix/sysv/direct.h: Remove file.
24053 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24054 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24055 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24056 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24057 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24058 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24059 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24061 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24063 * sysdeps/unix/xmknod.c: Remove file.
24064 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24066 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24068 * sysdeps/unix/sysv/i386/time.S: Remove file.
24070 * sysdeps/unix/fxstat.c: Remove file.
24071 * sysdeps/unix/xstat.c: Likewise.
24072 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24074 * sysdeps/unix/sysv/sigaction.c: Remove file.
24076 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24077 (sysdep_headers): Remove variable.
24078 [termio.h not in sysdep_headers] (generated): Likewise.
24079 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24080 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24081 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24082 * sysdeps/unix/sysv/tcflow.c: Likewise.
24083 * sysdeps/unix/sysv/tcflush.c: Likewise.
24084 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24085 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24086 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24087 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24088 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24090 * sysdeps/unix/siglist.c: Remove file.
24092 * sysdeps/unix/getppid.S: Remove file.
24094 * sysdeps/unix/mkdir.c: Remove file.
24095 * sysdeps/unix/rmdir.c: Likewise.
24097 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24099 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24101 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24102 errlist-compat value.
24104 2012-04-18 David S. Miller <davem@davemloft.net>
24106 * sysdeps/generic/memcopy.h (reg_char): Delete.
24107 * debug/strcat_chk.c: Use char, not reg_char.
24108 * debug/strcpy_chk.c: Likewise.
24109 * debug/strncat_chk.c: Likewise.
24110 * debug/strncpy_chk.c: Likewise.
24111 * string/memchr.c: Likewise.
24112 * string/memrchr.c: Likewise.
24113 * string/rawmemchr.c: Likewise.
24114 * string/strcat.c: Likewise.
24115 * string/strchr.c: Likewise.
24116 * string/strchrnul.c: Likewise.
24117 * string/strcmp.c: Likewise.
24118 * string/strcpy.c: Likewise.
24119 * string/strncat.c: Likewise.
24120 * string/strncmp.c: Likewise.
24121 * string/strncpy.c: Likewise.
24123 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24125 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24126 __builtin_memcopy is called when src and dest ranges are known to not
24129 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24132 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24133 fwd_align_merge macro call.
24134 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24135 bwd_align_merge macro call.
24136 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24138 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24141 bwd_align_merge macros.
24142 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24143 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24146 2012-04-18 David S. Miller <davem@davemloft.net>
24148 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24150 2012-04-18 Andreas Jaeger <aj@suse.de>
24153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24154 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24157 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24158 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24159 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24161 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24162 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24163 Adjust for changed ldbl-128 files.
24165 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24166 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24169 2012-04-17 David S. Miller <davem@davemloft.net>
24171 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24173 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24175 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24176 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24177 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24178 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24179 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24180 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24182 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24185 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24186 * math/libm-test.inc: Add ilogb errno and exception tests.
24187 * math/w_ilogb.c: New file: ilogb wrapper.
24188 * math/w_ilogbf.c: New file: ilogbf wrapper.
24189 * math/w_ilogbl.c: New file: ilogbl wrapper.
24190 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24191 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24192 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24193 exception being thrown with 0.0 as argument.
24194 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24195 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24196 exception being thrown with 0.0 as argument.
24197 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24198 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24199 exception being thrown with 0.0 as argument.
24200 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24201 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24202 exception being thrown with 0.0 as argument.
24203 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24204 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24206 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24207 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24208 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24209 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24210 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24211 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24213 2012-04-17 Petr Baudis <pasky@ucw.cz>
24215 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24218 2012-04-16 Marek Polacek <polacek@redhat.com>
24220 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24222 2012-04-16 Marek Polacek <polacek@redhat.com>
24224 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24225 operands of fdivp instruction.
24227 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24229 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24230 * elf/tst-auditmod3b.c: Likewise.
24231 * elf/tst-auditmod4b.c: Likewise.
24232 * elf/tst-auditmod5b.c: Likewise.
24233 * elf/tst-auditmod6b.c: Likewise.
24234 * elf/tst-auditmod6c.c: Likewise.
24235 * elf/tst-auditmod7b.c: Likewise.
24236 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24237 * sysdeps/x86_64/preconfigure.in: Likewise.
24238 * sysdeps/x86_64/preconfigure: Regenerated.
24240 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24242 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24245 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24248 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24250 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24253 * locale/iso-639.def: Fix gl language name. Spotted by
24256 2012-04-12 Roland McGrath <roland@hack.frob.com>
24259 * libio/libio.h (__io_write_fn): Update comment.
24261 2012-04-12 Petr Baudis <pasky@ucw.cz>
24264 * stdio.texi (Hook Functions): The user provided writer function
24265 is not allowed to return -1.
24267 2012-04-11 David S. Miller <davem@davemloft.net>
24269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24271 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24273 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24274 Add a leading slash to rtkaio.
24276 2012-04-11 Jim Meyering <meyering@redhat.com>
24279 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24280 It is not necessarily an error to ignore fwrite's return
24281 value. One can reliably use ferror to test for errors after
24284 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24286 * bits/types.h (__snseconds_t): New type.
24287 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24289 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24291 (__SNSECONDS_T_TYPE): Likewise.
24292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24293 (__SNSECONDS_T_TYPE): Likewise.
24294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24295 (__SNSECONDS_T_TYPE): Likewise.
24297 2012-04-10 Andreas Jaeger <aj@suse.de>
24300 * manual/time.texi (Processor Time): Return type of times is
24301 elapsed real time since an arbitrary point in the past.
24302 (CPU Time): Move CLK_TCK from here...
24303 (Processor Time): ...to here. Correct description.
24304 * manual/conf.texi (Constants for Sysconf): Correct description of
24307 2012-04-10 David S. Miller <davem@davemloft.net>
24310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24311 where the is a gap between DT_REL(A) and DT_JMPREL.
24313 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24315 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24319 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24321 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24322 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24323 (dl_main): Handle --inhibit-cache.
24324 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24326 * elf/dl-load.c (_dl_map_object): Use it.
24327 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24329 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24332 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24333 (__ieee754_powl): Saturate large exponents rather than testing for
24334 overflow of y*log2(x).
24335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24336 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24340 * math/s_ctan.c: Include <float.h>.
24341 (__ctan): Avoid internal overflow or cancellation in calculating
24343 * math/s_ctanf.c: Likewise.
24344 * math/s_ctanl.c: Likewise.
24345 * math/s_ctanh.c: Likewise.
24346 * math/s_ctanhf.c: Likewise.
24347 * math/s_ctanhl.c: Likewise.
24348 * math/libm-test.inc (ctan_test): Add more tests.
24349 (ctanh_test): Likewise.
24350 * sysdeps/i386/fpu/libm-test-ulps: Update.
24351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24353 2012-04-09 Andreas Jaeger <aj@suse.de>
24356 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24357 is an optional BSD extension.
24360 * manual/stdio.texi (Opening Streams): Document additional fopen
24363 2012-04-09 Roland McGrath <roland@hack.frob.com>
24365 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24366 %eax without telling the compiler.
24368 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24371 * manual/install.texi: Use sourceware.org.
24373 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24376 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24377 (__ieee754_pow): Generate overflow and underflow using huge*huge
24378 and tiny*tiny rather than just returning constant infinity or zero
24379 for large exponents.
24380 * math/libm-test.inc (pow_test): Require overflow exceptions for
24381 applicable cases of large exponents.
24384 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24385 (__ieee754_pow): Use iterative multiplication algorithm only for
24386 integer exponents with absolute value below 1024. Check for odd
24387 integer exponents when using algorithm for real exponents.
24388 * math/libm-test.inc (pow_test): Add more tests.
24389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24391 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24394 * math/libm-test.inc (exp_test): Do not allow overflow exception
24397 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24400 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24401 instead of __kernel_standard_f.
24403 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24405 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24406 * sysdeps/x86_64/memset_chk.S: Likewise.
24408 2012-04-08 Andreas Jaeger <aj@suse.de>
24411 * manual/startup.texi (Environment Access): Describe return value
24412 for putenv and setenv.
24415 * manual/filesys.texi (Directory Entries): Add description for
24419 * manual/filesys.texi (Directory Entries): Clarify that it's file
24420 system not operating system in the description of DT_UNKNOWN.
24423 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24425 2012-04-08 Stephen Compall <s11@member.fsf.org>
24428 * manual/llio.texi (Opening and Closing Files): Add cross
24429 reference to explain mode argument.
24431 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24433 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24434 * sysdeps/x86_64/memset_chk.S: Likewise.
24436 2012-04-07 David S. Miller <davem@davemloft.net>
24438 * elf/elf.h (R_SPARC_WDISP10): Define.
24439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24442 R_SPARC_SIZE64 and R_SPARC_H34.
24444 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24446 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24447 conditions and remove no longer applicable assertion.
24449 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24451 * bits/byteswap.h: Include <features.h>.
24452 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24453 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24455 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24457 * bits/byteswap.h (__bswap_16): Removed.
24458 Include <bits/byteswap-16.h> to get __bswap_16.
24459 * sysdeps/i386/bits/byteswap.h: Likewise.
24460 * sysdeps/s390/bits/byteswap.h: Likewise.
24461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24462 * bits/byteswap-16.h: New file.
24463 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24464 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24465 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24466 * string/Makefile (headers): Add bits/byteswap-16.h.
24468 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24471 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24473 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24474 * nss/tst-nss-static.c: New.
24476 2012-04-06 Robert Millan <rmh@gnu.org>
24479 * manual/llio.texi (File Position Primitive): lseek
24480 refers to WHENCE when it really means OFFSET.
24482 2012-04-06 Andreas Jaeger <aj@suse.de>
24484 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24485 strncmp declarations.
24487 * abilist/libc.abilist: Add __poll and __ppoll.
24489 2012-04-05 David S. Miller <davem@davemloft.net>
24491 * scripts/check-local-headers.sh: Accept a host triplet in the
24492 path matched by the exclude regexp.
24494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24496 * sysdeps/powerpc/powerpc32/dl-machine.h
24497 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24498 * sysdeps/s390/s390-32/dl-machine.h
24499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24500 * sysdeps/sparc/sparc32/dl-machine.h
24501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24502 * sysdeps/sparc/sparc64/dl-machine.h
24503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24505 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24507 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24508 undefined symbol errors.
24510 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24513 2012-04-05 Michael Matz <matz@suse.de>
24516 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24518 2012-04-05 Andreas Jaeger <aj@suse.de>
24521 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24526 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24527 which ROUND is no valid rounding mode.
24529 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24531 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24533 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24535 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24538 an exception using FPU order intentionally.
24540 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24542 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24543 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24544 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24545 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24547 2012-04-05 Simon Josefsson <simon@josefsson.org>
24550 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24551 EINVAL when BUFLEN is too smal.
24553 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24556 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24557 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24559 2012-04-03 Andreas Jaeger <aj@suse.de>
24562 * manual/setjmp.texi (System V contexts): Fix sentence.
24565 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24566 New macro for this case.
24567 [!__GNUC__] (__bswap_64): New inline function for this case.
24568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24569 * bits/byteswap.h: Likewise.
24570 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24571 ull, guard with __GLIBC_HAVE_LONG_LONG.
24573 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24574 __GLIBC_HAVE_LONG_LONG.
24576 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24577 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24579 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24582 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24583 inptr and inend, rather than using last_ch.
24585 2012-04-02 David S. Miller <davem@davemloft.net>
24587 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24588 * stdio-common/printf-parse.h (read_int): Change return type to
24589 'int', return -1 on INT_MAX overflow.
24590 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24591 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24592 overflows INT_MAX. Check for overflow of in-format-string precision
24593 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24594 SIZE_MAX not INT_MAX for integer overflow test.
24595 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24596 skip the construct in the format string but do not record anything.
24597 * stdio-common/bug22.c: Adjust to test both width/prevision
24598 INT_MAX overflow as well as total length INT_MAX overflow. Check
24599 explicitly for proper errno values.
24601 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24603 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24605 * string/test-strcmp.c [! WIDE]: Likewise.
24606 * time/tst-mktime2.c: Likewise for INT_MAX.
24607 * string/test-string.h: #include <sys/param.h> for MIN.
24609 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24610 * sysdeps/i386/init-first.c (init): Likewise.
24611 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24612 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24613 * sysdeps/sh/init-first.c (init): Likewise.
24615 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24617 * po/ru.po: Update from translation team.
24618 * po/vi.po: Likewise.
24620 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24622 * resolv/nss_dns/dns-host.c: Merge copyright years.
24624 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24626 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24627 Optimize memcpy with prefetch if
24628 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24629 src, dst pointers have unequal 16 byte alignments.
24631 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24634 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24635 from a CNAME entry and return the minimum ttl for the query.
24636 (gaih_getanswer_slice): Likewise.
24638 2012-03-30 Jeff Law <law@redhat.com>
24640 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24642 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24643 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24645 * resolv/nss_dns/dns-host.c: Update copyright year.
24647 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24649 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24650 requests to save a system call. Fix check that all bytes are sent.
24652 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24653 comments for sendmmsg.
24655 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24658 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24659 with only 1 character between 0x0041 and 0x01b0.
24660 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24661 * wcsmbs/tst-mbsnrtowcs.c: New file.
24663 2012-03-29 David S. Miller <davem@davemloft.net>
24665 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24666 small copies by hand.
24668 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24671 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24672 _nss_compat_initgroups_dyn): Fall back to malloc/free
24673 for large group memberships.
24675 2012-03-28 David S. Miller <davem@davemloft.net>
24677 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24678 that branches into memcpy.
24679 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24682 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24685 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24686 implementation too.
24687 * sysdeps/sparc/mempcpy.S: New file.
24689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24690 the IFUNC routine in the libc case.
24691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24693 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24695 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24696 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24697 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24698 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24699 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24700 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24702 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24703 loop to 256 bytes instead of 64 bytes and fix test signedness.
24705 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24706 * sysdeps/sparc/sparc32/Makefile: rather than here...
24707 * sysdeps/sparc/sparc64/Makefile: and here.
24709 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24711 * malloc/mallocbug.c: Avoid warnings about unused variables.
24713 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24716 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24717 in the right place. Discard and retry query if response is
24718 larger than input buffer size.
24720 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24725 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24726 x for large integer exponent.
24727 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24728 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24729 sign of result as needed afterwards.
24730 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24732 result for underflowing pow the same as for overflow.
24733 (__kernel_standard_l): Handle powl overflow and underflow here
24734 rather than calling __kernel_standard.
24735 * math/libm-test.inc (pow_test): Add more tests.
24750 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24751 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24752 (__kernel_standard_l): New function.
24753 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24755 * math/w_acosl.c (__acosl): Likewise.
24756 * math/w_asinl.c (__asinl): Likewise.
24757 * math/w_atan2l.c (__atan2l): Likewise.
24758 * math/w_atanhl.c (__atanhl): Likewise.
24759 * math/w_coshl.c (__coshl): Likewise.
24760 * math/w_exp10l.c (__exp10l): Likewise.
24761 * math/w_exp2l.c (__exp2l): Likewise.
24762 * math/w_fmodl.c (__fmodl): Likewise.
24763 * math/w_hypotl.c (__hypotl): Likewise.
24764 * math/w_j0l.c (__j0l, __y0l): Likewise.
24765 * math/w_j1l.c (__j1l, __y1l): Likewise.
24766 * math/w_jnl.c (__jnl, __ynl): Likewise.
24767 * math/w_lgammal.c (__lgammal): Likewise.
24768 * math/w_log10l.c (__log10l): Likewise.
24769 * math/w_log2l.c (__log2l): Likewise.
24770 * math/w_logl.c (__logl): Likewise.
24771 * math/w_powl.c (__powl): Likewise.
24772 * math/w_remainderl.c (__remainderl): Likewise.
24773 * math/w_scalbl.c (sysv_scalbl): Likewise.
24774 * math/w_sinhl.c (__sinhl): Likewise.
24775 * math/w_sqrtl.c (__sqrtl): Likewise.
24776 * math/w_tgammal.c (__tgammal): Likewise.
24777 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24778 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24779 * math/libm-test.inc (acos_test): Add more tests.
24780 (acosh_test): Likewise.
24781 (asin_test): Likewise.
24782 (atanh_test): Likewise.
24783 (exp_test): Likewise.
24784 (exp10_test): Likewise.
24785 (exp2_test): Likewise.
24786 (expm1_test): Likewise.
24787 (lgamma_test): Likewise.
24788 (log_test): Likewise.
24789 (log10_test): Likewise.
24790 (log1p_test): Likewise.
24791 (log2_test): Likewise.
24792 (pow_test): Do not allow some spurious overflow exceptions.
24793 (sqrt_test): Add more tests.
24794 (tgamma_test): Likewise.
24795 (y0_test): Likewise.
24796 (y1_test): Likewise.
24797 (yn_test): Likewise.
24799 2012-03-27 Anton Blanchard <anton@samba.org>
24801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24804 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24807 2012-03-27 David S. Miller <davem@davemloft.net>
24809 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24811 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24812 have-as-vis3 check.
24814 2012-03-27 Andreas Jaeger <aj@suse.de>
24816 * sysdeps/x86_64/elf/configure.in: Moved to ...
24817 * sysdeps/x86_64/configure.in: ... here.
24818 * sysdeps/x86_64/elf/start.S: Moved to ...
24819 * sysdeps/x86_64/start.S: ... here.
24820 * sysdeps/x86_64/elf/configure: Delete.
24822 * sysdeps/x86_64/configure.in: Merge contents from
24823 sysdeps/i386/configure.in (without i686 check).
24825 * sysdeps/i386/elf/Versions: Merge into ...
24826 * sysdeps/i386/Versions: ... this.
24827 * sysdeps/i386/elf/Versions: Delete file.
24828 * sysdeps/i386/elf/start.S: Moved to ...
24829 * sysdeps/i386/start.S: ...here.
24830 * sysdeps/i386/elf/configure.in: Merge into...
24831 * sysdeps/i386/configure.in: ...here.
24832 * sysdeps/i386/elf/configure.in: Delete file.
24833 * sysdeps/i386/elf/configure: Delete file.
24835 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24836 * debug/backtracesyms.c: ... here.
24837 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24838 * debug/backtracesymsfd.c: ... here.
24839 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24840 * sysdeps/generic/ifunc-sel.h: ... here.
24842 * sysdeps/unix/i386/start.c: Delete file.
24843 * sysdeps/unix/sparc/start.c: Delete file.
24844 * sysdeps/unix/start.c: Delete file.
24846 * sysdeps/sh/elf/configure.in: Moved to ...
24847 * sysdeps/sh/configure.in: ... here.
24848 * sysdeps/sh/elf/start.S: Moved to ...
24849 * sysdeps/sh/start.S: ... here.
24850 * sysdeps/sh/elf/configure: Delete file.
24852 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24853 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24854 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24855 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24856 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24857 * sysdeps/powerpc/powerpc64/start.S: here.
24858 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24859 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24860 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24861 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24862 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24864 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24865 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24866 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24867 * sysdeps/powerpc/powerpc32/start.S: ... here.
24868 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24869 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24870 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24872 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24873 * sysdeps/powerpc/ifunc-sel.h: ... here.
24874 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24875 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24877 * sysdeps/sparc/elf/configure.in: Moved to ...
24878 * sysdeps/sparc/configure.in: ... here.
24879 * sysdeps/sparc/elf/configure: Delete file.
24880 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24881 * sysdeps/sparc/sparc32/start.S: ... here.
24882 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24883 * sysdeps/sparc/sparc64/start.S: ... here.
24884 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24885 * sysdeps/sparc/sparc32/Makefile: ... this.
24886 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24887 * sysdeps/sparc/sparc64/Makefile: ... this.
24889 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24890 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24891 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24892 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24893 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24894 * sysdeps/s390/s390-32/setjmp.S: ... here.
24895 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24896 * sysdeps/s390/s390-32/configure.in: ... here.
24897 * sysdeps/s390/s390-32/elf/configure: Delete file.
24898 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24899 * sysdeps/s390/s390-32/start.S: ... here.
24901 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24902 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24903 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24904 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24905 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24906 * sysdeps/s390/s390-64/setjmp.S: ... here.
24907 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24908 * sysdeps/s390/s390-64/configure.in: ... here
24909 * sysdeps/s390/s390-64/elf/configure: Delete file.
24910 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24911 * sysdeps/s390/s390-64/start.S: ... here.
24912 * sysdeps/s390/s390-64/elf/configure: Delete.
24914 * configure.in: Remove support for elf directories in sysdeps.
24916 * configure: Regenerated.
24917 * sysdeps/i386/configure: Regenerated.
24918 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24919 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24920 * sysdeps/s390/s390-32/configure: Regenerated.
24921 * sysdeps/s390/s390-64/configure: Regenerated.
24922 * sysdeps/sh/configure: Regenerated.
24923 * sysdeps/sparc/configure: Regenerated.
24924 * sysdeps/x86_64/configure: Regenerated.
24926 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24931 denormal result into account.
24933 2012-03-25 Roland McGrath <roland@hack.frob.com>
24935 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24936 Reported by Allan McRae <allan@archlinux.org>.
24938 2012-03-23 Jeff Law <law@redhat.com>
24940 * nss/getnssent.c (__nss_getent): Fix typo.
24942 2012-03-23 David S. Miller <davem@davemloft.net>
24944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24946 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24948 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24949 to pad to uint64_t for each field.
24950 (dl_tls_index): Replace unsigned long with uint64_t.
24952 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24953 Paul Pluzhnikov <ppluzhnikov@google.com>
24956 * grp/Makefile (otherlibs): Don't set it.
24957 * inet/Makefile (otherlibs): Likewise.
24958 * login/Makefile (otherlibs): Likewise.
24959 * nscd/Makefile (otherlibs): Likewise.
24960 * posix/Makefile (otherlibs): Likewise.
24961 * pwd/Makefile (otherlibs): Likewise.
24962 * rt/Makefile (otherlibs): Likewise.
24963 * sunrpc/Makefile (otherlibs): Likewise.
24964 * nss/Makefile (otherlibs): Likewise.
24965 Add libnss_files to routines and static-only-routines.
24966 ($(objpfx)getent): Remove rule.
24967 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24968 static-only-routines.
24970 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24973 * math/s_cexp.c: Include <float.h>.
24974 (__cexp): Handle exp result overflowing not necessarily
24975 overflowing both real and imaginary parts of result.
24976 * math/s_cexpf.c: Likewise.
24977 * math/s_cexpl.c: Likewise.
24978 * math/libm-test.inc (cexp_test): Add more tests.
24979 * sysdeps/i386/fpu/libm-test-ulps: Update.
24980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24982 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24984 * include/link.h (ELFW): New macro.
24985 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24986 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24988 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24990 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24993 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24995 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24997 (struct La_x32_retval): Likewise.
24999 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25001 * sysdeps/x86_64/preconfigure.in: New file.
25002 * sysdeps/x86_64/preconfigure: New generated file.
25004 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25007 * math/e_exp2l.c: Include <float.h>.
25008 (__ieee754_exp2l): Handle overflow and underflow cases
25009 separately. Only pass fractional part of argument to
25011 * math/libm-test.inc (exp2_test): Add more tests.
25013 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25014 negating x to take absolute value.
25015 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25020 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25021 computing low part if x was negated.
25022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25024 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25026 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25027 la_x32_gnu_pltexit.
25028 (pltexit): Cast int_retval to ptrdiff_t.
25029 * elf/tst-auditmod3b.c: Likewise.
25030 * elf/tst-auditmod4b.c: Likewise.
25031 * elf/tst-auditmod5b.c: Likewise.
25032 * elf/tst-auditmod6b.c: Likewise.
25033 * elf/tst-auditmod6c.c: Likewise.
25034 * elf/tst-auditmod7b.c: Likewise.
25036 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25037 and x32_gnu_pltexit.
25039 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25040 __ELF_NATIVE_CLASS.
25041 (La_x32_regs): New macro.
25042 (La_x32_retval): Likewise.
25043 (la_x32_gnu_pltenter): New function prototype.
25044 (la_x32_gnu_pltexit): Likewise.
25046 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25053 * configure.in (libc_cv_cc_nofma): Check for option to disable
25054 generation of FMA instructions.
25055 * configure: Regenerate.
25056 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25057 * sysdeps/ieee754/dbl-64/Makefile: New file.
25058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25059 Remove brandred-fma4.
25060 (CFLAGS-brandred-fma4.c): Remove.
25061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25064 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25067 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25069 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25070 LLONG_MAX != LONG_MAX.
25071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25072 (_fitoa_word): Likewise.
25073 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25074 LLONG_MAX != LONG_MAX.
25075 * stdio-common/_itowa.h: Include <_itoa.h>.
25076 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25077 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25078 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25079 only if not defined.
25080 (_ITOA_WORD_TYPE): Likewise.
25081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25082 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25084 2012-03-21 David S. Miller <davem@davemloft.net>
25086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25088 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25090 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25091 of x86_64 when setting libc_cv_slibdir, libdir and
25093 * sysdeps/unix/sysv/linux/configure: Regenerated.
25095 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25097 * manual/lang.texi (Old Varargs): Remove section.
25098 (How Variadic): Update menu.
25099 (va_start): Do not mention varargs.h.
25101 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25102 Joseph Myers <joseph@codesourcery.com>
25104 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25106 * configure: Regenerated.
25108 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25110 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25111 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25114 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25117 * Makefile (files-for-dist): Remove NOTES.
25118 (NOTES): Remove rule.
25119 * README: Don't refer to NOTES.
25120 * manual/creature.texi: Don't include macros.texi.
25121 * manual/intro.texi (creature.texi): Remove comment referring to
25124 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25125 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25126 * configure: Regenerated.
25127 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25128 LIBC_TRY_CC_OPTION.
25129 (libc_cv_as_i686): Likewise.
25130 (libc_cv_cc_avx): Likewise.
25131 (libc_cv_cc_sse2avx): Likewise.
25132 (libc_cv_cc_fma4): Likewise.
25133 (libc_cv_cc_novzeroupper): Likewise.
25134 * sysdeps/i386/configure: Regenerated.
25137 * sysdeps/i386/fpu/s_cexp.S: Remove.
25138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25139 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25140 * math/libm-test.inc (cexp_test): Add more tests.
25141 * sysdeps/i386/fpu/libm-test-ulps: Update.
25142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25144 2012-03-21 Allan McRae <allan@archlinux.org>
25146 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25148 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25151 * math/w_exp2.c: Do not include <float.h>.
25152 (o_threshold, u_threshold): Remove.
25153 (__exp2): Calculate result before checking finiteness and calling
25155 * math/w_exp2f.c: Likewise.
25156 * math/w_exp2l.c: Likewise.
25157 * math/libm-test.inc (exp2_test): Require overflow exception for
25161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25162 range of signed 64-bit integers before using fistpll. Remove
25163 checks for whether integers fit in mantissa bits.
25164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25165 the range of signed 32-bit integers before using fistpl. Remove
25166 checks for whether integers fit in mantissa bits.
25167 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25168 (__ieee754_powl): Test for y outside the range of signed 64-bit
25169 integers before using fistpll. Reduce 64-bit values to 63-bit
25171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25172 divide-by-zero is raised for zero to large negative powers.
25173 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25174 (__ieee754_powl): Test for y outside the range of signed 64-bit
25175 integers before using fistpll. Reduce 64-bit values to 63-bit
25177 * math/libm-test.inc (pow_test): Add more tests.
25179 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25181 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25182 <stdio-common/_itoa.h>.
25183 * debug/segfault.c: Likewise.
25184 * elf/dl-cache.c: Likewise.
25185 * elf/dl-minimal.c: Likewise.
25186 * elf/dl-misc.c: Likewise.
25187 * elf/dl-sysdep.c: Likewise.
25188 * elf/dl-version.c: Likewise.
25189 * elf/rtld.c: Likewise.
25190 * hurd/hurdsock.c: Likewise.
25191 * hurd/lookup-retry.c: Likewise.
25192 * malloc/malloc.c: Likewise.
25193 * malloc/mtrace.c: Likewise.
25194 * nscd/nscd_getgr_r.c: Likewise.
25195 * nscd/nscd_getpw_r.c: Likewise.
25196 * nscd/nscd_getserv_r.c: Likewise.
25197 * posix/getopt_init.c: Likewise.
25198 * posix/wordexp.c: Likewise.
25199 * stdio-common/_itoa.c: Likewise.
25200 * stdio-common/printf_fphex.c: Likewise.
25201 * stdio-common/vfprintf.c: Likewise.
25202 * string/_strerror.c: Likewise.
25203 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25204 * sysdeps/i386/i686/hp-timing.h: Likewise.
25205 * sysdeps/mach/_strerror.c: Likewise.
25206 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25207 * sysdeps/mach/hurd/sethostid.c: Likewise.
25208 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25209 * sysdeps/mach/xpg-strerror.c: Likewise.
25210 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25211 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25212 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25213 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25214 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25215 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25217 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25218 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25219 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25220 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25221 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25222 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25223 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25224 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25226 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25227 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25230 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25232 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25234 * stdio-common/_itoa.h: Moved to ...
25235 * sysdeps/generic/_itoa.h: Here.
25237 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25239 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25240 instead of "_itoa.h" and "_itowa.h".
25241 * stdio-common/vfprintf.: Likewise.
25243 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25245 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25247 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25248 (__signbit): Likwise.
25249 (llrintf): Likwise.
25252 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25254 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25257 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25259 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25260 OVERFLOW_EXCEPTION_OK.
25261 * math/libm-test.inc ("Philosophy"): Update comment about
25263 (OVERFLOW_EXCEPTION): Define.
25264 (OVERFLOW_EXCEPTION_OK): Likewise.
25265 (INVALID_EXCEPTION_OK): Renumber.
25266 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25267 (IGNORE_ZERO_INF_SIGN): Likewise.
25268 (test_exceptions): Handle FE_OVERFLOW.
25269 (exp10_test): Expect overflow exceptions.
25270 (exp2_test): Likewise.
25271 (expm1_test): Likewise.
25272 (nextafter_test): Likewise.
25273 (pow_test): Likewise.
25274 (scalbn_test): Likewise.
25275 (scalbln_test): Likewise.
25277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25279 * sysdeps/x86_64/bits/atomic.h
25280 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25282 (atomic_exchange_acq): Likewise.
25283 (__arch_exchange_and_add_body): Likewise.
25284 (__arch_add_body): Likewise.
25285 (atomic_add_negative): Likewise.
25286 (atomic_add_zero): Likewise.
25288 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25290 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25291 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25293 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25295 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25296 Check __x86_64__ instead of __WORDSIZE.
25298 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25300 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25302 2012-03-19 David S. Miller <davem@davemloft.net>
25304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25306 * sysdeps/sparc/fpu/fenv_private.h: New file.
25307 * sysdeps/sparc/fpu/math_private.h: Use it.
25308 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25310 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25311 (libc_feholdexcept_setroundl): Remove.
25312 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25314 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25315 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25319 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25320 int64_t instead of long int.
25321 (INSERT_WORDS64): Likwise.
25323 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25325 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25326 _Unwind_GetCFA return to _Unwind_Ptr first.
25328 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25331 * math/s_clog.c: Include <float.h>.
25332 (__clog): Scale large or subnormal inputs.
25333 * math/s_clogf.c: Likewise.
25334 * math/s_clogl.c: Likewise.
25335 * math/s_clog10.c: Include <float.h>.
25336 (M_LOG10_2): Define.
25337 (__clog10): Scale large or subnormal inputs.
25338 * math/s_clog10f.c: Likewise.
25339 * math/s_clog10l.c: Likewise.
25340 * math/libm-test.inc (clog_test): Add more tests.
25341 (clog10_test): Likewise.
25342 * sysdeps/i386/fpu/libm-test-ulps: Update.
25343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25346 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25348 * math/libm-test.inc (atan2_test): Add another test.
25350 * Makerules (common-objdir-compile): Remove.
25351 * sysdeps/unix/Makefile (config-generated): Do not add
25352 $(unix-generated) to variable.
25353 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25354 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25356 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25358 [generic bits/local_lim.h] (before-compile): Do not append to
25360 [generic bits/local_lim.h] (common-generated): Likewise.
25361 [generic sys/param.h] (before-compile): Do not append to variable.
25362 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25363 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25364 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25367 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25368 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25369 [generic sys/param.h] ($(addprefix
25370 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25371 [generic sys/param.h] (common-generated): Do not append to
25373 [generic sys/param.h] (sysdep_headers): Likewise.
25374 [generic bits/errno.h] (before-compile): Do not append to
25376 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25378 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25379 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25380 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25381 [generic bits/errno.h] (common-generated): Do not append to
25383 [generic bits/ioctls.h] (before-compile): Do not append to
25385 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25387 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25388 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25389 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25391 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25392 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25393 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25394 [generic bits/ioctls.h] (common-generated): Do not append to
25396 [generic sys/syscall.h] (syscall.h): Remove variable.
25397 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25399 [generic sys/syscall.h] (before-compile): Do not append to
25401 [generic sys/syscall.h] (common-generated): Likewise.
25402 * sysdeps/unix/errnos-tmpl.c: Remove file.
25403 * sysdeps/unix/errnos.awk: Likewise.
25404 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25405 * sysdeps/unix/ioctls.awk: Likewise.
25406 * sysdeps/unix/mk-local_lim.c: Likewise.
25407 * sysdeps/unix/snarf-ioctls: Likewise.
25409 2012-03-19 Richard Henderson <rth@twiddle.net>
25411 * sysdeps/i386/fpu/fenv_private.h: New file.
25412 * sysdeps/i386/fpu/math_private.h: Use it.
25413 (math_opt_barrier, math_force_eval): Remove.
25414 (libc_feholdexcept_setround_53bit): Remove.
25415 (libc_feupdateenv_53bit): Remove.
25416 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25417 (math_opt_barrier, math_force_eval): Remove.
25418 (libc_feholdexcept): Remove.
25419 (libc_feholdexcept_setround): Remove.
25420 (libc_fetestexcept, libc_fesetenv): Remove.
25421 (libc_feupdateenv_test): Remove.
25422 (libc_feupdateenv, libc_feholdsetround): Remove.
25423 (libc_feresetround): Remove.
25425 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25426 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25428 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25429 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25430 (libc_feupdateenv_testl): New.
25431 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25432 (libc_feupdateenv_testf): New.
25433 (libc_feupdateenv): Use libc_feupdateenv_test.
25434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25435 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25437 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25438 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25439 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25440 (libc_feresetround_noex): New.
25441 (libc_feresetround_noexf): New.
25442 (libc_feresetround_noexl): New.
25443 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25444 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25445 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25446 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25451 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25452 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25453 SET_RESTORE_ROUND_NOEX.
25454 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25455 SET_RESTORE_ROUND_NOEXF.
25456 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25457 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25458 (libc_feholdsetroundf): New.
25459 (libc_feresetround, libc_feresetroundf): New.
25461 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25462 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25463 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25465 * sysdeps/generic/math_private.h: Include <fenv.h>.
25466 (default_libc_feholdexcept): New.
25467 (default_libc_feholdexcept_setround): New.
25468 (default_libc_fesetenv, default_libc_feupdateenv): New.
25469 (libc_feholdexcept): Only define if undefined.
25470 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25471 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25472 (libc_feholdexcept_setroundl): Likewise.
25473 (libc_feholdexcept_setround_53bit): Likewise.
25474 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25475 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25476 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25477 (libc_feupdateenv_53bit): Likewise.
25478 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25479 (libc_feholdexcept): Convert from macro to inline function.
25480 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25481 (libc_fesetenv, libc_feupdateenv): Likewise.
25483 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25484 not previously defined.
25485 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25486 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25487 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25488 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25489 * sysdeps/ieee754/flt-32/math_private.h: New file.
25490 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25491 math_private.h below SET_FLOAT_WORD.
25492 (__isnan, __isinf_ns, __finite): Remove.
25493 (__isnanf, __isinf_nsf, __finitef): Remove.
25495 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25499 2012-03-17 David S. Miller <davem@davemloft.net>
25502 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25505 2012-03-16 David S. Miller <davem@davemloft.net>
25507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25513 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25514 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25515 sysdep_routines when subdir is sysvipc.
25516 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25517 __getshmlba helper.
25519 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25521 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25523 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25528 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25529 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25530 (__lround): Renamed to ...
25531 (__llround): This. Replace long int with long long int.
25532 Define lround functions as aliases of llround functions.
25533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25535 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25537 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25538 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25539 adresses to uintptr_t. Replace "long int" and "unsigned long
25540 int" with "greg_t" on va_arg.
25542 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25544 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25545 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25547 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25548 Move e_machine check before EI_CLASS check. Handle x32
25549 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25550 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25551 SKIP_EM_IA_64 and include
25552 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25554 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25555 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25556 (add_system_dir): New macro.
25558 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25559 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25561 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25572 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25574 * math/w_j0f.c (j0f): Likewise.
25576 * math/w_j0l.c (__j0l): Likewise.
25578 * math/w_j1.c (j1): Likewise.
25580 * math/w_j1f.c (j1f): Likewise.
25582 * math/w_j1l.c (__j1l): Likewise.
25584 * math/w_jn.c (jn): Likewise.
25586 * math/w_jnf.c (jnf): Likewise.
25588 * math/w_jnl.c (__jnl): Likewise.
25590 * math/libm-test.inc (j0_test): Add more tests.
25591 (j1_test): Likewise.
25592 (jn_test): Likewise. Add trailing semicolon to existing test.
25593 (y0_test): Likewise.
25594 (y1_test): Likewise.
25595 * sysdeps/i386/fpu/libm-test-ulps: Update.
25596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25601 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25602 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25604 (__tanl): Set errno for infinite argument.
25605 * sysdeps/i386/fpu/mptan.c: Remove.
25606 * sysdeps/i386/fpu/s_tan.S: Likewise.
25607 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25608 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25609 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25610 * math/libm-test.inc (tan_test): Add more tests and enable more
25611 tests for double and long double.
25612 * sysdeps/i386/fpu/libm-test-ulps: Update.
25613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25615 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25617 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25618 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25620 2012-03-16 Roland McGrath <roland@hack.frob.com>
25622 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25623 * configure.in: Use it for both main tree and add-ons.
25624 * configure: Regenerated.
25626 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25628 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25630 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25636 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25637 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25642 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25644 != 0 for prec == 2.
25645 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25646 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25647 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25648 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25649 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25650 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25651 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25652 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25653 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25654 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25655 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25656 * math/libm-test.inc (cos_test): Add more tests and enable more
25657 tests for long double.
25658 (sin_test): Likewise.
25659 (sincos_test): Likewise.
25660 * sysdeps/i386/fpu/libm-test-ulps: Update.
25661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25663 2012-03-16 David S. Miller <davem@davemloft.net>
25665 * sysdeps/sparc/fpu/math_private.h: New file.
25667 2012-03-15 David S. Miller <davem@davemloft.net>
25669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25683 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25684 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25686 * sysdeps/sparc/sparc-ifunc.h: New file.
25687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25732 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25734 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25738 2012-03-15 Andreas Jaeger <aj@suse.de>
25741 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25742 ieee754/flt-32 implementation for sin, cos and sincos.
25743 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25744 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25745 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25746 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25747 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25748 ieee754/flt-32 implementation for tan.
25750 * math/libm-test.inc (cos_test): Enable some large input tests for
25752 (sin_test): Likewise.
25753 (sincos_test): Likewise.
25754 (tan_test): Add tests for large input.
25756 * sysdeps/i386/fpu/libm-test-ulps: Update.
25758 2012-03-15 Andreas Jaeger <aj@suse.de>
25761 * math/libm-test.inc (cos_test): Add more test cases.
25762 (sin_test): Likewise.
25763 (sincos_test): Likewise.
25765 2012-03-15 Andreas Jaeger <aj@suse.de>
25768 * math/libm-test.inc (cos_test): Add a test case for large input
25770 (sin_test): Likewise.
25771 (sincos_test): Likewise.
25773 2012-03-15 Andreas Jaeger <aj@suse.de>,
25774 Joseph Myers <joseph@codesourcery.com>
25777 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25778 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25779 * sysdeps/i386/fpu/branred.c: Likewise.
25780 * sysdeps/i386/fpu/dosincos.c: Likewise.
25781 * sysdeps/i386/fpu/mpa.c: Likewise.
25782 * sysdeps/i386/fpu/s_cos.S: Likewise.
25783 * sysdeps/i386/fpu/s_sin.S: Likewise.
25784 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25785 * sysdeps/i386/fpu/sincos32.c: Likewise.
25787 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25789 (libc_feupdateenv_53bit): Define.
25790 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25792 (libc_feupdateenv_53bit): Define.
25794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25795 53 bit (without extend i386 double precision).
25797 * math/libm-test.inc (sincos_test): Add tests for large input.
25801 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25803 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25807 2012-03-15 David S. Miller <davem@davemloft.net>
25809 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25810 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25811 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25812 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25837 fmin/fmax sysdep routines.
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25840 2012-03-14 David S. Miller <davem@davemloft.net>
25842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25919 * sysdeps/sparc/configure.in: New file.
25920 * sysdeps/sparc/configure: Generate.
25921 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25922 * configure: Regenerate.
25923 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25924 * config.make.in (have-as-vis3): New.
25925 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25926 available use -Av9d instead of -Av9a.
25927 * sysdeps/sparc/sparc64/Makefile: Likewise.
25928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25943 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25944 fzeros/fnegs to load 0x80000000 into a float register instead of
25946 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25948 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25952 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25953 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25954 ($(inst_includedir)/bits/syscall.h): Remove rule.
25955 ($(objpfx)bits/syscall.d): Include instead of
25956 $(objpfx)syscall-list.d.
25957 (generated): Change syscall-list.h and syscall-list.d to
25958 bits/syscall.h and bits/syscall.d.
25960 2012-03-14 Roland McGrath <roland@hack.frob.com>
25963 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25965 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25968 * math/s_csqrt.c: Include <float.h>.
25969 (__csqrt): Scale large or subnormal inputs.
25970 * math/s_csqrtf.c: Likewise.
25971 * math/s_csqrtl.c: Likewise.
25972 * math/libm-test.inc (csqrt_test): Add more tests.
25973 * sysdeps/i386/fpu/libm-test-ulps: Update.
25974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25977 * math/libm-test.inc (hypot_test): Add more tests.
25979 2012-03-13 David S. Miller <davem@davemloft.net>
25982 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25983 double-precision for the calculation instead of scaling.
25985 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25988 manipulate bits before adding and subtracting TWO52[sx].
25989 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25994 2012-03-13 David S. Miller <davem@davemloft.net>
25996 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25997 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25999 rtld-global-offsets.h
26000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26002 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26005 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26008 'err' in the ifdef scope in which it is actually used.
26010 * nss/nss_db/db-init.c: Include string.h
26012 2012-03-12 David S. Miller <davem@davemloft.net>
26014 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26015 masking out of the most significant byte of random value used.
26016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26017 Fix coding style in previous change.
26019 * sysdeps/unix/sysv/linux/kernel-features.h
26020 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26021 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26023 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26026 2012-03-11 David S. Miller <davem@davemloft.net>
26028 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26029 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26030 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26031 for 'resultvar' otherwise things get truncated on 64-bit.
26033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26034 Fix masking out of the most significant byte of random value used.
26036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26038 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26042 2012-03-09 David S. Miller <davem@davemloft.net>
26044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26045 variables with appropriate CPP guards.
26046 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26047 frame pointer, not the stack pointer. Correct layout comments. Fix test
26048 on resulting framesize and the management of the outregs buffer for pltexit.
26049 Preserve floating point return values across _dl_call_pltexit call.
26050 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26051 framesize and the management of the outregs buffer for pltexit.
26052 Preserve floating point return values across _dl_call_pltexit
26054 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26055 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26056 (print_exit): Fix format string for return register value.
26058 2012-03-10 Joseph Myers <joseph@codesourcery.com>
26060 * sunrpc/Makefile (others): Add rpcgen.
26061 ($(objpfx)rpcgen): Remove special build rule and dependency on
26063 * sunrpc/rpcgen.c: New file.
26065 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26068 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26069 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26070 * sysdeps/i386/crti.S: Likewise.
26071 * sysdeps/i386/crtn.S: Likewise.
26072 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26073 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26075 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26076 * sysdeps/sh/crti.S: Likewise.
26077 * sysdeps/sh/crtn.S: Likewise.
26078 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26081 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26083 * locale/programs/locfile-kw.gperf: Likewise.
26084 * locale/programs/charmap-kw.h: Regenerated.
26085 * locale/programs/locfile-kw.h: Likewise.
26088 * intl/plural.y: Replace FSF snail mail address with URL.
26089 * intl/plural.c: Regenerated.
26091 2012-03-09 Richard Henderson <rth@twiddle.net>
26093 * include/math_private.h: Remove file.
26094 * math/math_private.h: Move file ...
26095 * sysdeps/generic/math_private.h: ... here.
26097 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26098 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26099 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26101 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26102 and <math_private.h>.
26103 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26104 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26105 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26106 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26107 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26127 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26129 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26133 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26143 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26153 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26154 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26155 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26157 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26167 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26172 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26173 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26177 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26183 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26185 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26187 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26190 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26191 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26192 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26193 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26194 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26196 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26197 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26198 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26199 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26200 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26203 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26204 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26205 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26206 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26207 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26208 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26209 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26210 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26211 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26212 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26213 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26214 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26216 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26217 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26218 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26219 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26220 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26221 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26222 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26224 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26226 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26227 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26230 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26232 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26233 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26234 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26235 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26236 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26237 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26238 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26240 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26241 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26242 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26243 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26244 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26245 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26246 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26247 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26248 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26249 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26250 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26251 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26252 * sysdeps/ieee754/k_standard.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26368 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26371 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26372 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26373 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26374 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26375 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26376 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26380 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26384 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26385 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26387 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26390 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26392 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26394 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26397 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26400 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26401 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26402 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26403 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26404 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26405 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26406 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26407 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26408 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26409 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26410 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26412 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26413 * sysdeps/ieee754/s_lib_version.c: Likewise.
26414 * sysdeps/ieee754/s_matherr.c: Likewise.
26415 * sysdeps/ieee754/s_signgam.c: Likewise.
26416 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26417 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26418 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26419 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26420 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26421 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26422 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26423 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26424 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26425 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26426 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26427 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26428 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26430 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26431 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26433 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26434 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26438 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26440 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26441 * sunrpc/rpc_main.c: Likewise.
26442 * sunrpc/rpc_svcout.c: Likewise.
26444 2012-03-09 David S. Miller <davem@davemloft.net>
26446 * include/math_private.h: New file.
26448 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26450 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26451 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26452 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26453 from <bits/socket_type.h>.
26454 (enum __socket_type): Don't define here.
26455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26457 bits/socket_type.h.
26460 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26461 checking __USE_GNU.
26463 * Makerules ($(inst_includedir)/%.h): New rule.
26464 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26465 (install-others): Remove variable setting.
26466 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26468 2012-03-08 Richard Henderson <rth@twiddle.net>
26470 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26471 from macro to inline function; merge with the
26472 !__LIBC_INTERNAL_MATH_INLINES version.
26473 (__ieee754_sqrtf): Likewise.
26475 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26476 to inline function.
26477 (__rintf, __floor, __floorf): Likewise.
26479 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26480 macro to inline function.
26481 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26484 not <math/math_private.h>.
26486 2012-03-08 David S. Miller <davem@davemloft.net>
26488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26490 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26492 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26494 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26496 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26497 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26499 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26501 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26502 be defined individually, they must be defined as a block. Define
26503 S for printing a string instead of hidint the different by using a
26504 macro for adding the 'l'.
26505 * stdio-common/tst-fphex-wide.c: Adjust.
26507 2012-03-07 Marek Polacek <polacek@redhat.com>
26509 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26511 2012-03-08 Marek Polacek <polacek@redhat.com>
26514 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26515 * stdio-common/tst-fphex.c: Define a few macros to make the
26516 test reusable. Use them.
26517 * stdio-common/tst-fphex-wide.c: New file.
26519 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26522 * manual/macros.texi (gnusystems): New macro.
26523 (nongnusystems): Likewise.
26524 (gnulinuxhurdsystems): Likewise.
26525 (gnuhurdsystems): Likewise..
26526 (gnulinuxsystems): Likewise.
26527 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26528 variants of the GNU system, not "GNU system".
26529 * manual/conf.texi: Likewise.
26530 * manual/errno.texi: Likewise. Update example of errno macro
26532 * manual/filesys.texi: Likewise.
26533 (getumask): Document as specific to GNU/Hurd.
26534 * manual/install.texi: Likewise. Reword some references to
26536 * manual/intro.texi: Likewise.
26537 * manual/io.texi: Likewise.
26538 (File Name Portability): Detail which constraints are inapplicable
26539 to all GNU systems and which are only inapplicable to GNU/Hurd.
26540 * manual/job.texi: Likewise.
26541 * manual/llio.texi: Likewise.
26542 (O_NOCTTY): Document as present on GNU/Linux.
26543 * manual/maint.texi: Likewise.
26544 * manual/memory.texi: Likewise.
26545 * manual/pattern.texi: Likewise.
26546 * manual/pipe.texi: Likewise.
26547 * manual/process.texi: Likewise.
26548 * manual/resource.texi: Likewise.
26549 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26551 * manual/setjmp.texi: Likewise.
26552 * manual/signal.texi: Likewise.
26553 * manual/startup.texi: Likewise.
26554 * manual/stdio.texi: Likewise.
26555 * manual/terminal.texi: Likewise.
26556 (ONLCR): Document as POSIX.
26557 (OXTABS): Document availability on GNU/Linux as XTABS.
26558 (ONOEOT): Document availability separately from other bits.
26559 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26560 * manual/time.texi: Likewise.
26561 * manual/users.texi: Likewise.
26562 * INSTALL: Regenerated.
26563 * sysdeps/gnu/errlist.c: Regenerated.
26565 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26566 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26567 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26569 * configure: Regenerated.
26571 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26573 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26574 default includes instead of AC_HEADER_CHECK.
26575 * sysdeps/i386/configure: Regenerated.
26578 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26579 * math/s_cacoshf.c (__cacoshf): Likewise.
26580 * math/s_cacoshl.c (__cacoshl): Likewise.
26581 * math/s_casinh.c (__casinh): Set signs of result from argument.
26582 * math/s_casinhf.c (__casinhf): Likewise.
26583 * math/s_casinhl.c (__casinhl): Likewise.
26584 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26585 (casinh_test): Add more tests.
26586 * sysdeps/i386/fpu/libm-test-ulps: Update.
26587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26589 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26591 * po/zh_TW.po: Update from translation team.
26593 * login/Makefile (distribute): Remove variable.
26594 * catgets/Makefile: Likewise.
26595 * mach/Makefile: Likewise.
26596 * malloc/Makefile: Likewise.
26597 * misc/Makefile: Likewise.
26598 * iconv/Makefile: Likewise.
26599 * nscd/Makefile: Likewise.
26600 * hurd/Makefile: Likewise.
26601 * manual/Makefile: Likewise.
26602 * locale/Makefile: Likewise.
26603 * intl/Makefile: Likewise.
26604 * conform/Makefile: Likewise.
26605 * nss/Makefile: Likewise.
26606 * time/Makefile: Likewise.
26607 * soft-fp/Makefile: Likewise.
26608 * dirent/Makefile: Likewise.
26609 * gmon/Makefile: Likewise.
26610 * po/Makefile: Likewise.
26611 * rt/Makefile: Likewise.
26612 * socket/Makefile: Likewise.
26613 * math/Makefile: Likewise.
26614 * signal/Makefile: Likewise.
26615 * debug/Makefile: Likewise.
26616 * elf/Makefile: Likewise.
26617 * timezone/Makefile: Likewise.
26618 * stdlib/Makefile: Likewise.
26619 * iconvdata/Makefile: Likewise.
26620 * sunrpc/Makefile: Likewise.
26621 * io/Makefile: Likewise.
26622 * argp/Makefile: Likewise.
26623 * inet/Makefile: Likewise.
26624 * hesiod/Makefile: Likewise.
26625 * grp/Makefile: Likewise.
26626 * csu/Makefile: Likewise.
26627 * wctype/Makefile: Likewise.
26628 * crypt/Makefile: Likewise.
26629 * libio/Makefile: Likewise.
26630 * string/Makefile: Likewise.
26631 * nis/Makefile: Likewise.
26632 * resolv/Makefile: Likewise.
26633 * stdio-common/Makefile: Likewise.
26634 * wcsmbs/Makefile: Likewise.
26635 * dlfcn/Makefile: Likewise.
26636 * posix/Makefile: Likewise.
26639 * timezone/Makefile: Don't install timezone files, just the programs
26642 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26644 * nss/databases.def: Add missing gshadow entry.
26646 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26648 2012-03-06 Marek Polacek <polacek@redhat.com>
26651 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26652 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26653 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26654 * stdio-common/tst-long-dbl-fphex.c: New file.
26656 2012-03-06 David S. Miller <davem@davemloft.net>
26658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26659 (set_obp_int): New function.
26660 (get_obp_int): New function.
26661 (__get_clockfreq_via_dev_openprom): Likewise.
26662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26663 Avoid unused variable warnings on 'val' and use builtin_expect.
26664 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26666 (INLINE_CLONE_SYSCALL): Likewise.
26668 2012-03-05 David S. Miller <davem@davemloft.net>
26670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26672 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26676 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26677 only for |x| >= 40.
26678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26680 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26683 Replace gettimeofday with __vdso_gettimeofday.
26685 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26686 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26687 __vdso_clock_gettime and __vdso_getcpu.
26689 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26690 time with __vdso_time.
26692 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26694 * manual/lang.texi (size_t): Note types to which size_t may be
26695 equivalent with the GNU C Library, but do not describe when
26696 differences between them are significant.
26698 2012-03-05 Andreas Jaeger <aj@suse.de>
26700 * sysdeps/i386/fpu/libm-test-ulps: Update.
26702 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26705 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26706 (__ieee754_pow): Save and restore rounding mode and use
26707 round-to-nearest for main computations.
26708 * math/libm-test.inc (pow_test_tonearest): New function.
26709 (pow_test_towardzero): Likewise.
26710 (pow_test_downward): Likewise.
26711 (pow_test_upward): Likewise.
26712 (main): Call the new functions.
26713 * sysdeps/i386/fpu/libm-test-ulps: Update.
26714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26717 * math/libm-test.inc (cosh_test_tonearest): New function.
26718 (cosh_test_towardzero): Likewise.
26719 (cosh_test_downward): Likewise.
26720 (cosh_test_upward): Likewise.
26721 (sinh_test_tonearest): Likewise.
26722 (sinh_test_towardzero): Likewise.
26723 (sinh_test_downward): Likewise.
26724 (sinh_test_upward): Likewise.
26725 (main): Call the new functions.
26726 * sysdeps/i386/fpu/libm-test-ulps: Update.
26727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26729 2012-03-05 Tom de Vries <tom@codesourcery.com>
26731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26732 default stack guard is set in last bytes.
26733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26735 2012-03-05 Kees Cook <keescook@chromium.org>
26737 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26740 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26741 possibly allocate from heap instead of stack.
26742 * stdio-common/bug-vfprintf-nargs.c: New file.
26743 * stdio-common/Makefile (tests): Add nargs overflow test.
26745 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26749 2012-03-03 Marek Polacek <polacek@redhat.com>
26751 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26752 * math/math_private.h: Likewise.
26753 * stdlib/tst-strtod.c: Likewise.
26754 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26755 * sysdeps/x86_64/bits/atomic.h: Likewise.
26757 2012-03-02 David S. Miller <davem@davemloft.net>
26759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26763 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26764 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26765 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26766 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26768 2012-03-02 Roland McGrath <roland@hack.frob.com>
26771 * manual/examples/README: New file, says the example source files
26772 can be used under GPL>=2.
26773 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26774 line containing just "*/".
26775 * manual/examples/add.c: Add copyright header (GPL>=2).
26776 * manual/examples/argp-ex1.c: Likewise.
26777 * manual/examples/argp-ex2.c: Likewise.
26778 * manual/examples/argp-ex3.c: Likewise.
26779 * manual/examples/argp-ex4.c: Likewise.
26780 * manual/examples/atexit.c: Likewise.
26781 * manual/examples/db.c: Likewise.
26782 * manual/examples/dir.c: Likewise.
26783 * manual/examples/dir2.c: Likewise.
26784 * manual/examples/execinfo.c: Likewise.
26785 * manual/examples/filecli.c: Likewise.
26786 * manual/examples/filesrv.c: Likewise.
26787 * manual/examples/fmtmsgexpl.c: Likewise.
26788 * manual/examples/genpass.c: Likewise.
26789 * manual/examples/inetcli.c: Likewise.
26790 * manual/examples/inetsrv.c: Likewise.
26791 * manual/examples/isockad.c: Likewise.
26792 * manual/examples/longopt.c: Likewise.
26793 * manual/examples/memopen.c: Likewise.
26794 * manual/examples/memstrm.c: Likewise.
26795 * manual/examples/mkfsock.c: Likewise.
26796 * manual/examples/mkisock.c: Likewise.
26797 * manual/examples/mygetpass.c: Likewise.
26798 * manual/examples/pipe.c: Likewise.
26799 * manual/examples/popen.c: Likewise.
26800 * manual/examples/rprintf.c: Likewise.
26801 * manual/examples/search.c: Likewise.
26802 * manual/examples/select.c: Likewise.
26803 * manual/examples/setjmp.c: Likewise.
26804 * manual/examples/sigh1.c: Likewise.
26805 * manual/examples/sigusr.c: Likewise.
26806 * manual/examples/stpcpy.c: Likewise.
26807 * manual/examples/strdupa.c: Likewise.
26808 * manual/examples/strftim.c: Likewise.
26809 * manual/examples/strncat.c: Likewise.
26810 * manual/examples/subopt.c: Likewise.
26811 * manual/examples/swapcontext.c: Likewise.
26812 * manual/examples/termios.c: Likewise.
26813 * manual/examples/testopt.c: Likewise.
26814 * manual/examples/testpass.c: Likewise.
26815 * manual/examples/timeval_subtract.c: Likewise.
26818 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26820 * manual/timeval_subtract.c.texi: ... here, new file.
26822 2012-03-02 David S. Miller <davem@davemloft.net>
26824 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26826 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26829 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26830 (__sin): Save and restore rounding mode and use round-to-nearest
26831 for all computations.
26832 (__cos): Save and restore rounding mode and use round-to-nearest
26833 for all computations.
26834 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26836 (tan): Save and restore rounding mode and use round-to-nearest for
26838 * math/libm-test.inc (cos_test_tonearest): New function.
26839 (cos_test_towardzero): Likewise.
26840 (cos_test_downward): Likewise.
26841 (cos_test_upward): Likewise.
26842 (sin_test_tonearest): Likewise.
26843 (sin_test_towardzero): Likewise.
26844 (sin_test_downward): Likewise.
26845 (sin_test_upward): Likewise.
26846 (tan_test_tonearest): Likewise.
26847 (tan_test_towardzero): Likewise.
26848 (tan_test_downward): Likewise.
26849 (tan_test_upward): Likewise.
26850 (main): Call the new functions.
26851 * sysdeps/i386/fpu/libm-test-ulps: Update.
26852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26855 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26856 small n, then large n, before computing and testing k+n.
26857 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26862 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26863 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26868 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26869 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26870 * math/libm-test.inc (scalbn_test): Add more tests.
26871 (scalbln_test): Likewise.
26873 * manual/filesys.texi (mode_t): Describe constraints on size and
26874 signedness, not exact equivalence to a particular type.
26876 (ino64_t): Likewise.
26878 (nlink_t): Likewise.
26879 (blkcnt_t): Likewise.
26880 (blkcnt64_t): Likewise.
26881 * manual/llio.texi (off_t): Likewise.
26884 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26885 (__ieee754_exp): Save and restore rounding mode and use
26886 round-to-nearest for all computations.
26887 * math/libm-test.inc (exp_test_tonearest): New function.
26888 (exp_test_towardzero): Likewise.
26889 (exp_test_downward): Likewise.
26890 (exp_test_upward): Likewise.
26891 (main): Call the new functions.
26892 * sysdeps/i386/fpu/libm-test-ulps: Update.
26893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26895 2012-03-01 Chris Demetriou <cgd@google.com>
26897 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26898 have predictable order.
26900 2012-03-01 David S. Miller <davem@davemloft.net>
26902 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26904 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26905 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26906 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26907 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26909 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26910 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26911 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26913 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26914 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26915 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26916 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26917 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26922 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26925 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26926 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26927 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26928 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26929 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26930 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26932 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26933 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26934 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26935 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26938 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26939 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26941 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26942 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26943 * sysdeps/sparc/elf/configure: Regenerated.
26945 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26947 * configure.in (AS, LD): Require binutils 2.20 or later.
26948 * configure: Regenerated.
26949 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26950 as required minimum version.
26951 * INSTALL: Regenerated.
26955 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26956 before squaring exponent.
26957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26958 bottom long double and 27 bits of top long double before squaring
26960 * math/libm-test.inc (erfc_test): Add more tests.
26961 * sysdeps/i386/fpu/libm-test-ulps: Update.
26962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26965 2012-03-01 Kai Tietz <ktietz@redhat.com>
26967 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26968 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26969 containing bit-fields.
26970 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26971 * soft-fp/single.h (_FP_UNION_S): Likewise.
26972 * soft-fp/double.h (_FP_UNION_D): Likewise.
26974 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26977 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26978 not include ../strcmp.S.
26979 [USE_AS_STRNCASECMP_L]: Likewise.
26980 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26981 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26982 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26983 (__strncasecmp_l_ia32): Define as alias to
26984 __strncasecmp_l_nonascii.
26987 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26988 * sysdeps/i386/fpu/libm-test-ulps: Update.
26989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26991 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26994 2012-02-29 Jeff Law <law@redhat.com>
26996 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26997 out of bounds read.
26999 2012-02-29 Marek Polacek <polacek@redhat.com>
27002 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27003 * elf/Makefile: Add rules to run tst-unused-dep.out.
27005 2012-02-28 David S. Miller <davem@davemloft.net>
27007 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27008 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27011 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27012 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27014 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27016 * math/libm-test.inc (llround_test): Move one test from
27017 lround_test. Use TEST_f_L in moved test.
27018 (lround_test): Move misplaced test to llround_test. Add testcase
27021 2012-02-28 Ulrich Drepper <drepper@gmail.com>
27023 * sysdeps/x86_64/fpu/e_expf.S: New file.
27024 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27026 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27029 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27030 of remain_len that may cause incomplete multi-byte character and
27032 * posix/bug-regex33.c: New file.
27033 * posix/Makefile (tests): Add bug-regex33.
27035 2012-02-28 Joseph Myers <joseph@codesourcery.com>
27037 * manual/macros.texi: New file.
27038 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27039 * manual/libc.texinfo: Include macros.texi.
27040 * manual/creatute.texi: Likewise.
27041 * manual/install.texi: Likewise.
27042 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27043 @glibcadj{} in references to the GNU C Library.
27044 * manual/charset.texi: Likewise.
27045 * manual/conf.texi: Likewise.
27046 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27047 when not using those macros.
27048 * manual/creature.texi: Likewise.
27049 * manual/crypt.texi: Likewise.
27050 * manual/errno.texi: Likewise.
27051 * manual/filesys.texi: Likewise.
27052 * manual/header.texi: Likewise.
27053 * manual/install.texi: Likewise.
27054 * manual/intro.texi: Likewise.
27055 * manual/io.texi: Likewise.
27056 * manual/job.texi: Likewise.
27057 * manual/lang.texi: Likewise.
27058 * manual/libc.texiinfo: Likewise.
27059 * manual/llio.texi: Likewise.
27060 * manual/locale.texi: Likewise.
27061 * manual/maint.texi: Likewise.
27062 * manual/math.texi: Likewise.
27063 * manual/memory.texi: Likewise.
27064 * manual/message.texi: Likewise.
27065 * manual/nss.texi: Likewise.
27066 * manual/pattern.texi: Likewise.
27067 * manual/process.texi: Likewise.
27068 * manual/resource.texi: Likewise.
27069 * manual/search.texi: Likewise.
27070 * manual/setjmp.texi: Likewise.
27071 * manual/signal.texi: Likewise.
27072 * manual/socket.texi: Likewise.
27073 * manual/startup.texi: Likewise.
27074 * manual/stdio.texi: Likewise.
27075 * manual/string.texi: Likewise.
27076 * manual/sysinfo.texi: Likewise.
27077 * manual/syslog.texi: Likewise.
27078 * manual/terminal.texi: Likewise.
27079 * manual/time.texi: Likewise.
27080 * manual/users.texi: Likewise.
27081 * INSTALL: Regenerated.
27082 * NOTES: Regenerated.
27083 * sysdeps/gnu/errlist.c: Regenerated.
27085 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27087 * include/dirent.h: Include <dirstream.h> before
27090 2012-02-28 David S. Miller <davem@davemloft.net>
27092 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27093 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27094 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27095 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27097 2012-02-27 David S. Miller <davem@davemloft.net>
27099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27101 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27102 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27105 frame pointer instead of stack pointer relative arg slot.
27106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27107 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27108 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27110 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27113 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27115 2012-02-27 David S. Miller <davem@davemloft.net>
27117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27121 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27122 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27123 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27124 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27126 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27128 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27129 later. Allow versions 5-9.
27130 * configure: Regenerated.
27131 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27132 required minimum version and 4.6 as recommended version. Do not
27133 mention bugs in GCC 2.7 and 2.8.
27134 * INSTALL: Regenerated.
27136 2012-02-27 David S. Miller <davem@davemloft.net>
27138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27142 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27143 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27144 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27145 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27148 manipulate bits before adding and subtracting TWO112[sx].
27149 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27151 2012-02-27 Roland McGrath <roland@hack.frob.com>
27154 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27155 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27156 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27157 being in POSIX, because they are in 1003.1-2008.
27159 * rt/tst-aio.c: Include <fcntl.h>.
27160 * rt/tst-aio7.c: Likewise.
27161 * rt/tst-aio64.c: Likewise.
27163 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27165 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27167 * manual/install.texi (--with-headers): Describe headers as
27168 interface headers, not private headers.
27169 (Specific advice for GNU/Linux systems): Describe use of headers
27170 from "make headers_install", not private headers from older
27172 * INSTALL: Regenerated.
27173 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27175 * sysdeps/unix/sysv/linux/configure: Regenerated.
27177 * manual/llio.texi (fclean): Remove documentation.
27179 * manual/Makefile (libc-texi-generated): New variable. Include
27181 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27182 $(libc-texi-generated), not duplicated list of files.
27183 (version.texi, stamp-version): New rules.
27184 (realclean): Remove $(libc-texi-generated), not individual files
27185 from that list. Do not remove dir-add.texinfo.
27186 * manual/libc.texinfo: Comment out uses of edition numbers and
27187 references to printed manual. Remove last-updated dates.
27188 (EDITION): Comment out.
27190 (VERSION, UPDATED): Remove.
27191 (version.texi): Include.
27193 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27195 * sysdeps/posix/spawni.c: Include <signal.h>.
27196 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27197 * sysdeps/pthread/aio_fsync.c: Likewise.
27199 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27201 * conform/Makefile (tests): Run only when not cross-compiling and
27202 when fast-check is not defined.
27204 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27205 * conform/data/limits.h-data: Fixes for POSIX2008.
27206 * conform/run-conformtest.sh: Run all tests.
27207 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27209 * include/bits/dlfcn.h: Likewise.
27210 * include/langinfo.h: Likewise.
27211 * include/monetary.h: Likewise.
27212 * include/sys/poll.h: Likewise.
27214 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27216 * posix/spawn.h: Define __need_sigset_t.
27217 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27218 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27219 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27220 to get sigevent_t only.
27221 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27222 only for __USE_GNU.
27223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27224 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27225 process_vm_writev only for __USE_GNU.
27226 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27228 * conform/Makefile: For now ignore errors from run-conformtest.
27229 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27230 POSIX to avoid namespace pollution. Don't prepend headers.
27231 * conform/data/aio.h-data: Fixes for POSIX testing.
27232 * conform/data/fcntl.h-data: Likewise.
27233 * conform/data/glob.h-data: Likewise.
27234 * conform/data/grp.h-data: Likewise.
27235 * conform/data/pthread.h-data: Likewise.
27236 * conform/data/pwd.h-data: Likewise.
27237 * conform/data/signal.h-data: Likewise.
27238 * conform/data/spawn.h-data: Likewise.
27239 * conform/data/stdio.h-data: Likewise.
27240 * conform/data/stdlib.h-data: Likewise.
27241 * conform/data/stropts.h-data: Likewise.
27242 * conform/data/sys/mman.h-data: Likewise.
27243 * conform/data/sys/stat.h-data: Likewise.
27244 * conform/data/sys/types.h-data: Likewise.
27245 * conform/data/sys/wait.h-data: Likewise.
27246 * conform/data/time.h-data: Likewise.
27247 * conform/data/unistd.h-data: Likewise.
27248 * conform/data/utime.h-data: Likewise.
27250 * io/sys/stat.h: fchmod was always in POSIX.
27251 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27252 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27253 * rt/aio.h: Define __need_timespec before including <time.h>.
27254 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27255 struct. Add forward declaration of pthread_attr_t and use it in
27257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27259 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27260 always remove CLK_TCK definition.
27262 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27264 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27266 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27268 * conform/run-conformtest.sh: New file.
27269 * conform/Makefile: Run run-conformtest for tests.
27270 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27273 * conform/data/uchar.h-data: New file.
27274 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27275 * conform/data/arpa/inet.h-data: Likewise.
27276 * conform/data/assert.h-data: Likewise.
27277 * conform/data/complex.h-data: Likewise.
27278 * conform/data/cpio.h-data: Likewise.
27279 * conform/data/ctype.h-data: Likewise.
27280 * conform/data/dirent.h-data: Likewise.
27281 * conform/data/dlfcn.h-data: Likewise.
27282 * conform/data/errno.h-data: Likewise.
27283 * conform/data/fcntl.h-data: Likewise.
27284 * conform/data/float.h-data: Likewise.
27285 * conform/data/fmtmsg.h-data: Likewise.
27286 * conform/data/fnmatch.h-data: Likewise.
27287 * conform/data/ftw.h-data: Likewise.
27288 * conform/data/glob.h-data: Likewise.
27289 * conform/data/grp.h-data: Likewise.
27290 * conform/data/iconv.h-data: Likewise.
27291 * conform/data/inttypes.h-data: Likewise.
27292 * conform/data/langinfo.h-data: Likewise.
27293 * conform/data/libgen.h-data: Likewise.
27294 * conform/data/limits.h-data: Likewise.
27295 * conform/data/locale.h-data: Likewise.
27296 * conform/data/math.h-data: Likewise.
27297 * conform/data/monetary.h-data: Likewise.
27298 * conform/data/mqueue.h-data: Likewise.
27299 * conform/data/ndbm.h-data: Likewise.
27300 * conform/data/net/if.h-data: Likewise.
27301 * conform/data/netdb.h-data: Likewise.
27302 * conform/data/netinet/in.h-data: Likewise.
27303 * conform/data/nl_types.h-data: Likewise.
27304 * conform/data/poll.h-data: Likewise.
27305 * conform/data/pthread.h-data: Likewise.
27306 * conform/data/pwd.h-data: Likewise.
27307 * conform/data/regex.h-data: Likewise.
27308 * conform/data/sched.h-data: Likewise.
27309 * conform/data/search.h-data: Likewise.
27310 * conform/data/semaphore.h-data: Likewise.
27311 * conform/data/setjmp.h-data: Likewise.
27312 * conform/data/signal.h-data: Likewise.
27313 * conform/data/spawn.h-data: Likewise.
27314 * conform/data/stdarg.h-data: Likewise.
27315 * conform/data/stdio.h-data: Likewise.
27316 * conform/data/stdlib.h-data: Likewise.
27317 * conform/data/string.h-data: Likewise.
27318 * conform/data/strings.h-data: Likewise.
27319 * conform/data/stropts.h-data: Likewise.
27320 * conform/data/sys/ipc.h-data: Likewise.
27321 * conform/data/sys/mman.h-data: Likewise.
27322 * conform/data/sys/msg.h-data: Likewise.
27323 * conform/data/sys/resource.h-data: Likewise.
27324 * conform/data/sys/select.h-data: Likewise.
27325 * conform/data/sys/sem.h-data: Likewise.
27326 * conform/data/sys/shm.h-data: Likewise.
27327 * conform/data/sys/socket.h-data: Likewise.
27328 * conform/data/sys/stat.h-data: Likewise.
27329 * conform/data/sys/statvfs.h-data: Likewise.
27330 * conform/data/sys/time.h-data: Likewise.
27331 * conform/data/sys/timeb.h-data: Likewise.
27332 * conform/data/sys/times.h-data: Likewise.
27333 * conform/data/sys/types.h-data: Likewise.
27334 * conform/data/sys/uio.h-data: Likewise.
27335 * conform/data/sys/un.h-data: Likewise.
27336 * conform/data/sys/utsname.h-data: Likewise.
27337 * conform/data/sys/wait.h-data: Likewise.
27338 * conform/data/syslog.h-data: Likewise.
27339 * conform/data/tar.h-data: Likewise.
27340 * conform/data/termios.h-data: Likewise.
27341 * conform/data/utime.h-data: Likewise.
27342 * conform/data/utmpx.h-data: Likewise.
27343 * conform/data/varargs.h-data: Likewise.
27344 * conform/data/wchar.h-data: Likewise.
27345 * conform/data/wctype.h-data: Likewise.
27346 * conform/data/wordexp.h-data: Likewise.
27348 * include/stropts.h: New file.
27349 * include/uchar.h: New file.
27350 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27351 * include/assert.h: Likewise.
27352 * include/ctype.h: Likewise.
27353 * include/dirent.h: Likewise.
27354 * include/dlfcn.h: Likewise.
27355 * include/fcntl.h: Likewise.
27356 * include/fnmatch.h: Likewise.
27357 * include/glob.h: Likewise.
27358 * include/grp.h: Likewise.
27359 * include/libio.h: Likewise.
27360 * include/locale.h: Likewise.
27361 * include/math.h: Likewise.
27362 * include/net/if.h: Likewise.
27363 * include/netdb.h: Likewise.
27364 * include/netinet/in.h: Likewise.
27365 * include/pthread.h: Likewise.
27366 * include/pwd.h: Likewise.
27367 * include/regex.h: Likewise.
27368 * include/sched.h: Likewise.
27369 * include/search.h: Likewise.
27370 * include/setjmp.h: Likewise.
27371 * include/signal.h: Likewise.
27372 * include/stdio.h: Likewise.
27373 * include/stdlib.h: Likewise.
27374 * include/string.h: Likewise.
27375 * include/sys/cdefs.h: Likewise.
27376 * include/sys/mman.h: Likewise.
27377 * include/sys/msg.h: Likewise.
27378 * include/sys/resource.h: Likewise.
27379 * include/sys/select.h: Likewise.
27380 * include/sys/socket.h: Likewise.
27381 * include/sys/stat.h: Likewise.
27382 * include/sys/statvfs.h: Likewise.
27383 * include/sys/time.h: Likewise.
27384 * include/sys/times.h: Likewise.
27385 * include/sys/uio.h: Likewise.
27386 * include/sys/utsname.h: Likewise.
27387 * include/sys/wait.h: Likewise.
27388 * include/termios.h: Likewise.
27389 * include/time.h: Likewise.
27390 * include/ulimit.h: Likewise.
27391 * include/unistd.h: Likewise.
27392 * include/utime.h: Likewise.
27393 * include/wchar.h: Likewise.
27394 * include/wctype.h: Likewise.
27395 * include/wordexp.h: Likewise.
27397 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27399 * time/time.h: TIME_UTC must be a macro.
27400 Make timespec_get available for ISO C11 only as well.
27402 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27404 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27405 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27407 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27409 * configure.in: Use -o not -a in test for unsupported multi-arch.
27411 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27413 * manual/texinfo.tex: Update to version 2012-01-19.16.
27415 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27417 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27419 2012-02-24 Roland McGrath <roland@hack.frob.com>
27422 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27423 * manual/fdl-1.3.texi: New file.
27424 * manual/fdl-1.1.texi: File removed.
27427 * manual/libc.texinfo (FDL_VERSION): New @set.
27428 Use it for mention of FDL in cover text.
27429 (Documentation License): Use it in @include file name.
27431 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27432 Roland McGrath <roland@hack.frob.com>
27435 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27436 not LONG_LONG_MAX and LONG_LONG_MIN.
27437 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27438 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27440 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27446 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27447 manipulate bits before adding and subtracting TWO23[sx].
27448 * math/libm-test.inc (nearbyint_test): Add more tests.
27450 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27453 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27454 bits before adding and subtracting TWO23[sx].
27455 * math/libm-test.inc (rint_test): Add more tests.
27456 (rint_test_tonearest): Likewise.
27457 (rint_test_towardzero): Likewise.
27458 (rint_test_downward): Likewise.
27459 (rint_test_upward: Likewise.
27461 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27464 * include/stdc-predef.h: New file. Extracted from features.h.
27465 * include/features.h: Include stdc-predef.h.
27466 * Makefile (headers): Add stdc-predef.h.
27467 * CONFORMANCE (Compiler limitations): Update.
27469 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27471 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27473 2012-02-21 David S. Miller <davem@davemloft.net>
27475 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27478 2012-02-20 David S. Miller <davem@davemloft.net>
27480 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27481 using a normal save/restore sequence, rather than allocating a
27482 dummy stack frame just to store a frame pointer and restore.
27483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27485 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27487 * manual/install.texi: Fix stray word in line-wrapped comment.
27489 2012-02-20 David S. Miller <davem@davemloft.net>
27491 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27492 both binutils and gcc support GOTDATA.
27494 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27495 "rd %pc" in the PIC register setup sequences.
27497 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27498 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27499 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27500 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27501 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27503 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27506 (SYSCALL_ERROR_HANDLER): Likewise.
27507 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27510 (SYSCALL_ERROR_HANDLER): Likewise.
27512 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27513 (HAVE_GCC_GOTDATA): New.
27514 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27515 relocation support in both binutils and gcc.
27516 * sysdeps/sparc/elf/configure: Regenerate.
27518 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27519 * sysdeps/sparc/sparc32/elf/configure: Delete.
27520 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27521 * sysdeps/sparc/sparc64/elf/configure: Delete.
27522 * sysdeps/sparc/elf/configure.in: New file.
27523 * sysdeps/sparc/elf/configure: Generate.
27525 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27526 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27527 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27528 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27529 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27531 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27533 * manual/install.texi: Do not mention specific glibc version
27535 * manual/libc.texinfo (VERSION, UPDATED): Update.
27536 (@copying): Use @copyright{} and range of years.
27538 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27541 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27542 [crti.S not in sysdirs] (generated): Do not append.
27543 [crti.S not in sysdirs] (omit-deps): Likewise.
27544 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27545 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27546 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27547 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27548 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27550 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27551 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27552 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27553 * csu/defs.awk: Remove file.
27554 * sysdeps/generic/initfini.c: Likewise.
27555 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27557 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27560 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27562 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27563 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27564 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27567 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27569 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27570 (__EPOLL_PACKED): Define to empty if not defined by
27572 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27576 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27578 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27579 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27580 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27583 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27587 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27589 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27592 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27593 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27596 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27598 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27599 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27601 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27603 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27604 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27606 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27608 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27611 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27613 * math/w_acos.c: Use non-signaling floating-point comparisons.
27614 * math/w_acosf.c: Likewise.
27615 * math/w_acosh.c: Likewise.
27616 * math/w_acoshf.c: Likewise.
27617 * math/w_acoshl.c: Likewise.
27618 * math/w_acosl.c: Likewise.
27619 * math/w_asin.c: Likewise.
27620 * math/w_asinf.c: Likewise.
27621 * math/w_asinl.c: Likewise.
27622 * math/w_atanh.c: Likewise.
27623 * math/w_atanhf.c: Likewise.
27624 * math/w_atanhl.c: Likewise.
27625 * math/w_exp2.c: Likewise.
27626 * math/w_exp2f.c: Likewise.
27627 * math/w_exp2l.c: Likewise.
27628 * math/w_j0.c: Likewise.
27629 * math/w_j0f.c: Likewise.
27630 * math/w_j0l.c: Likewise.
27631 * math/w_j1.c: Likewise.
27632 * math/w_j1f.c: Likewise.
27633 * math/w_j1l.c: Likewise.
27634 * math/w_jn.c: Likewise.
27635 * math/w_jnf.c: Likewise.
27636 * math/w_log.c: Likewise.
27637 * math/w_log10.c: Likewise.
27638 * math/w_log10f.c: Likewise.
27639 * math/w_log10l.c: Likewise.
27640 * math/w_log2.c: Likewise.
27641 * math/w_log2f.c: Likewise.
27642 * math/w_log2l.c: Likewise.
27643 * math/w_logf.c: Likewise.
27644 * math/w_logl.c: Likewise.
27645 * math/w_sqrt.c: Likewise.
27646 * math/w_sqrtf.c: Likewise.
27647 * math/w_sqrtl.c: Likewise.
27648 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27649 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27654 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27657 * manual/string.texi (strnlen): Use correct parameter name in
27658 equivalent expression.
27660 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27663 * manual/users.texi (seteuid): Consistently use neweuid for
27666 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27669 * manual/nss.texi (Services in the NSS configuration): Correct
27670 list of services in example configuration file.
27672 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27675 * manual/arith.texi: Remove statements about negative zero
27676 behaving identically to zero.
27678 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27681 * manual/install.texi: Do not document upgrading from libc5.
27683 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27686 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27688 2012-02-18 David S. Miller <davem@davemloft.net>
27690 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27691 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27692 %o7 across the call.
27693 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27696 SETUP_PIC_REG_LEAF.
27697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27698 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27699 * sysdeps/sparc/crtn.S: Likewise.
27701 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27703 * aout/Makefile: Remove.
27705 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27708 * manual/examples/argp-ex1.c (main): Format definition in GNU
27710 * manual/examples/argp-ex2.c (main): Likewise.
27711 * manual/examples/argp-ex3.c (main): Likewise.
27712 * manual/examples/argp-ex4.c (main): Likewise.
27713 * manual/examples/longopt.c (main): Use new-style prototype
27715 * manual/examples/strncat.c (main): Specify return type and use
27716 (void) for arguments.
27717 * manual/examples/subopt.c (main): Use char **argv argument.
27719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27722 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27725 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27728 * manual/string.texi (strchr): Change when strchrnul is
27731 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27734 * manual/locale.texi (setlocale): Document LOCPATH.
27736 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27739 * manual/process.texi (execle): Move @dots{} before last argument.
27741 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27744 * manual/charset.texi (Generic Charset Conversion): Fix typo
27745 (LC_TYPE -> LC_CTYPE).
27747 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27750 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27751 (scalbnf): Likewise.
27752 (scalbnl): Likewise.
27753 (scalbln): Likewise.
27754 (scalblnf): Likewise.
27755 (scalblnl): Likewise.
27756 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27757 (vwarnx): Likewise.
27760 * manual/filesys.texi (telldir): Use braces around return type.
27761 * manual/llio.texi (mmap): Add space after comma.
27762 (mmap64): Likewise.
27763 * manual/math.texi (jn): Use @var{} on parameter names.
27769 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27771 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27773 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27774 (sched_get_priority_max): Likewise.
27775 * manual/signal.texi (sigvec): Add space after comma.
27776 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27778 (if_indextoname): Likewise.
27779 (if_freenameindex): Likewise.
27780 (sendto): Use ',' instead of '.' in prototype.
27781 * manual/startup.texi (syscall): Use @dots{} instead of literal
27783 * manual/stdio.texi (__fpending): Separate initial words of
27784 paragraph from @deftypefun line.
27785 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27787 (vsyslog): Use @var{} on parameter names.
27788 * manual/terminal.texi (stty): Use @var{} on parameter names.
27789 * manual/users.texi (getutmp): Use @var{} on parameter names.
27790 (getutmpx): Likewise.
27792 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27795 * manual/stdio.texi (fopen): Fix typos in description of
27798 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27801 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27802 get clock_id definition.
27804 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27807 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27808 (madvise): Cast every argument to void on its own.
27810 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27813 * manual/startup.texi (Exit Status): Fix typo.
27815 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27818 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27819 * manual/examples/argp-ex2.c: Likewise.
27820 * manual/examples/argp-ex3.c: Likewise.
27822 2012-02-16 Richard Henderson <rth@redhat.com>
27824 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27825 * sysdeps/s390/s390-32/initfini.c: Remove.
27826 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27827 * sysdeps/s390/s390-64/initfini.c: Remove.
27829 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27831 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27832 compiler output for sysdeps/generic/initfini.c.
27833 * sysdeps/sh/elf/initfini.c: Remove file.
27835 2012-02-16 David S. Miller <davem@davemloft.net>
27838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27840 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27841 * sysdeps/sparc/crti.S: New file.
27842 * sysdeps/sparc/crtn.S: New file.
27843 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27844 * sysdeps/sparc/sparc64/Makefile: Likewise.
27846 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27849 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27851 2012-02-15 Roland McGrath <roland@hack.frob.com>
27854 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27856 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27857 (write, read, close): Likewise.
27858 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27860 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27862 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27863 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27864 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27865 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27867 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27871 2012-02-14 Marek Polacek <polacek@redhat.com>
27873 * sysdeps/x86_64/crti.S: New file.
27874 * sysdeps/x86_64/crtn.S: New file.
27875 * sysdeps/x86_64/elf/initfini.c: Remove file.
27877 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27879 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27880 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27881 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27882 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27884 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27888 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27890 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27891 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27892 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27893 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27895 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27899 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27901 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27902 __feraiseexcept instead of feraiseexcept.
27904 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27905 nanosleep invocations.
27906 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27907 strings, and add error checking for a nanosleep invocations.
27909 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27911 Replace FSF snail mail address with URLs, as per GNU coding standards.
27912 Most of the snail mail addresses were wrong anyway, and omitting
27913 them makes the source code easier to maintain. Almost all of the
27914 changes are to license notices and to locale LC_IDENTIFICATION
27915 addresses, except for this one:
27916 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27917 not its snail mail address.
27919 2012-02-09 Richard Henderson <rth@twiddle.net>
27921 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27922 of kernel-features.h.
27924 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27926 2012-02-08 Marek Polacek <polacek@redhat.com>
27928 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27929 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27930 * sysdeps/gnu/_G_config.h: Likewise.
27931 * sysdeps/generic/_G_config.h: Likewise.
27933 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27935 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27939 * sysdeps/powerpc/powerpc32/crti.S: New file.
27940 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27941 * sysdeps/powerpc/powerpc64/crti.S: New file.
27942 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27944 * Makeconfig (have-initfini): Don't set.
27945 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27946 * configure.in (nopic_initfini): Don't substitute.
27947 * config.h.in (HAVE_INITFINI): Don't #undef.
27948 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27949 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27951 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27953 Support crti.S and crtn.S provided directly by architectures.
27954 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27955 [crti.S in sysdirs] (omit-deps): Likewise.
27956 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27957 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27958 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27959 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27960 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27961 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27962 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27963 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27964 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27965 compiler output for sysdeps/generic/initfini.c.
27966 * sysdeps/i386/elf/Makefile: Remove file.
27967 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27969 2012-02-07 Marek Polacek <polacek@redhat.com>
27971 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27972 * sysdeps/gnu/_G_config.h: Likewise.
27973 * sysdeps/mach/hurd/_G_config.h: Likewise.
27975 2012-02-07 Marek Polacek <polacek@redhat.com>
27977 * math/Makefile (tests): Add tst-CMPLX2.
27978 * math/tst-CMPLX2.c: New file.
27980 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27982 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27984 * math/libm-test.inc (jn_test): Add missing L suffix.
27986 2012-02-06 Marek Polacek <polacek@redhat.com>
27988 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27989 * sysdeps/i386/fpu/e_powf.S: Likewise.
27990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27991 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27992 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27993 * sysdeps/i386/fpu/e_pow.S: Likewise.
27994 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27995 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27996 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27997 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27998 * sysdeps/i386/fpu/e_log2.S: Likewise.
27999 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28000 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28001 * sysdeps/i386/fpu/e_powl.S: Likewise.
28002 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28003 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28004 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28005 * sysdeps/i386/fpu/e_logl.S: Likewise.
28006 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28007 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28008 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28009 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28010 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28011 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28012 * sysdeps/i386/fpu/e_log.S: Likewise.
28013 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28015 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28016 * sysdeps/i386/fpu/e_logf.S: Likewise.
28017 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28018 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28019 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28020 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28021 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28022 * sysdeps/i386/fpu/e_log10.S: Likewise.
28023 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28025 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28026 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28027 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28028 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28029 * sysdeps/i386/asm-syntax.h: Likewise.
28030 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28032 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28033 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28034 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28035 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28036 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28037 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28039 * sysdeps/powerpc/sysdep.h: Likewise.
28040 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28043 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28046 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28048 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28050 * sysdeps/i386/sysdep.h: Include <features.h>.
28051 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28054 2012-02-05 Joseph Myers <joseph@codesourcery.com>
28056 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28058 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28061 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28063 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28064 (SETUP_PIC_REG): Use GET_PC_THUNK.
28065 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28068 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28070 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28071 for non-PIC compilation.
28072 (SETUP_PIC_REG): Add .p2align directive.
28073 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28074 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28076 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28077 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28078 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28079 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28081 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28082 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28083 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28084 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28085 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28086 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28087 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28088 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28089 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28090 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28091 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28092 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28095 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28101 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28102 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28103 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28105 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28108 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28110 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28111 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28112 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28113 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28115 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28117 * math/tst-CMPLX.c: Include <stdio.h>.
28119 2012-01-31 Joseph Myers <joseph@codesourcery.com>
28121 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28123 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28124 * sysdeps/sparc/bits/mathdef.h: Likewise.
28126 2012-01-31 Marek Polacek <polacek@redhat.com>
28128 * libio/libio.h: Don't define _PARAMS.
28129 * locale/programs/config.h: Don't define PARAMS.
28130 * stdlib/strtol_l.c: Likewise.
28131 (__strtol_l): Remove PARAMS from the prototype.
28133 2012-01-31 Ulrich Drepper <drepper@gmail.com>
28135 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28136 names. Just use the correct names. Remove unnecessary wrapper
28138 * malloc/arena.c: Likewise.
28139 * malloc/hooks.c: Likewise.
28141 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28142 ARENA_TEST says not to. Simplify test for creation of a new arena.
28143 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28145 2012-01-30 Ulrich Drepper <drepper@gmail.com>
28147 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28149 (update_get_addr): New function.
28150 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28151 GET_ADDR_MODULE parameter.
28153 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28155 * crypt/cert.c: Remove __STDC__ conditionals.
28156 * crypt/crypt-entry.c: Likewise.
28157 * crypt/crypt_util.c: Likewise.
28158 * libio/filedoalloc.c: Likewise.
28159 * libio/fileops.c: Likewise.
28160 * libio/genops.c: Likewise.
28161 * libio/iofclose.c: Likewise.
28162 * libio/iofdopen.c: Likewise.
28163 * libio/iofopen.c: Likewise.
28164 * libio/iofopen64.c: Likewise.
28165 * libio/iogetdelim.c: Likewise.
28166 * libio/iopopen.c: Likewise.
28167 * libio/obprintf.c: Likewise.
28168 * libio/oldfileops.c: Likewise.
28169 * libio/oldiofclose.c: Likewise.
28170 * libio/oldiofdopen.c: Likewise.
28171 * libio/oldiofopen.c: Likewise.
28172 * libio/oldiopopen.c: Likewise.
28173 * libio/wfiledoalloc.c: Likewise.
28174 * libio/wgenops.c: Likewise.
28175 * locale/programs/xmalloc.c: Likewise.
28176 * misc/syslog.c: Likewise.
28177 * stdio-common/xbug.c: Likewise.
28178 * string/memchr.c: Likewise.
28179 * string/memcmp.c: Likewise.
28180 * string/memrchr.c: Likewise.
28181 * string/rawmemchr.c: Likewise.
28182 * sysdeps/posix/getcwd.c: Likewise.
28183 * time/strftime_l.c: Likewise.
28185 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28187 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28188 * config.make.in (config-cflags-sse2avx): Define.
28189 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28192 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28194 * scripts/config.guess: Update from upstream config git repository.
28195 * scripts/config.sub: Likewise.
28197 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28199 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28201 (R_TILEPRO_*, R_TILEGX_*): New macros.
28203 * scripts/firstversions.awk: Fix bug in version range handling.
28205 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28207 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28209 * include/sys/epoll.h: New file.
28210 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28213 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28215 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28216 Avoid unnecessary __WORDSIZE == 64 test.
28217 (fmaxf): Use VEX format if possible.
28222 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28223 * math/math_private.h: Remove libc_fegetround* and
28225 * sysdeps/i386/configure.in: Check for -msse2avx.
28226 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28227 also if SSE2AVX is defined.
28228 Remove libc_fegetround* and libc_fesetround*.
28229 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28230 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28239 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28241 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28243 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28247 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28250 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28252 * Makeconfig (libm): Define.
28253 * elf/Makefile: Add rules to build and run tst-relsort1.
28254 * elf/tst-relsort1.c: New file.
28255 * elf/tst-relsort1mod1.c: New file.
28256 * elf/tst-relsort1mod2.c: New file.
28258 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28260 * math/s_ldexp.c: Remove __STDC__ conditionals.
28261 * math/s_ldexpf.c: Likewise.
28262 * math/s_ldexpl.c: Likewise.
28263 * math/s_nextafter.c: Likewise.
28264 * math/s_nexttowardf.c: Likewise.
28265 * math/s_significand.c: Likewise.
28266 * math/s_significandf.c: Likewise.
28267 * math/s_significandl.c: Likewise.
28268 * math/w_jnl.c: Likewise.
28269 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28270 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28271 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28272 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28273 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28275 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28278 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28279 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28281 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28282 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28283 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28284 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28285 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28291 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28294 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28295 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28296 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28297 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28298 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28299 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28300 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28301 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28302 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28303 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28304 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28305 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28306 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28307 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28308 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28309 * sysdeps/ieee754/k_standard.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28329 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28358 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28359 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28364 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28382 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28384 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28385 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28386 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28389 * sysdeps/ieee754/s_matherr.c: Likewise.
28390 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28391 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28395 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28397 * crypt/md5.h: Remove __STDC__ conditionals.
28398 * libio/libioP.h: Likewise.
28399 * locale/programs/config.h: Likewise.
28400 * sysdeps/generic/sysdep.h: Likewise.
28401 * sysdeps/i386/asm-syntax.h: Likewise.
28402 * sysdeps/s390/asm-syntax.h: Likewise.
28403 * sysdeps/unix/sysdep.h: Likewise.
28404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28407 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28409 * libio/libio.h: Remove __STDC__ conditionals.
28410 * malloc/obstack.h: Likewise.
28411 * math/complex.h: Likewise.
28412 * math/math.h: Likewise.
28413 * sysdeps/generic/_G_config.h: Likewise.
28414 * sysdeps/gnu/_G_config.h: Likewise.
28415 * sysdeps/mach/hurd/_G_config.h: Likewise.
28416 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28417 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28418 * sysdeps/sparc/bits/mathdef.h: Likewise.
28420 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28423 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28424 Clean up HAS_* macros.
28425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28426 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28436 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28438 * elf/tst-unique3.cc (gets): Remove declaration.
28439 * elf/tst-unique3lib.cc (gets): Likewise.
28440 * elf/tst-unique3lib2.cc (gets): Likewise.
28441 * elf/tst-unique4.cc (gets): Likewise.
28443 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28445 * include/stdio.h: Add C++ protection. Add gets declarations and
28447 * debug/tst-chk1.c: Don't declare gets here.
28448 * stdio-common/tst-gets.c: Likewise.
28450 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28452 * posix/glob: Remove directory.
28454 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28456 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28458 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28460 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28461 of the non-standard EPFNOSUPPORT.
28463 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28465 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28466 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28467 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28469 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28471 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28473 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28475 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28477 * nscd/grpcache.c (cache_addgr): Likewise.
28478 * nscd/hstcache.c (cache_addhst): Likewise.
28479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28480 * nscd/pwdcache.c (cache_addpw): Likewise.
28481 * nscd/servicescache.c (cache_addserv): Likewise.
28483 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28485 * malloc/malloc.c: Various cleanups.
28486 * malloc/hooks.c: Likewise.
28488 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28489 * stdlib/bug-fmtmsg1.c: New file.
28491 * stdlib/fmtmsg.c (init): Add missing unlock.
28492 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28494 2012-01-12 Marek Polacek <polacek@redhat.com>
28496 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28499 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28501 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28502 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28503 macro to ensure uniqueness of label name.
28504 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28505 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28507 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28509 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28512 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28516 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28520 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28521 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28522 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28524 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28526 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28528 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28531 * math/bits/math-finite.h: Add ldexp support.
28533 2012-01-10 Marek Polacek <polacek@redhat.com>
28535 * locale/programs/localedef.h (show_archive_content): Add noreturn
28538 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28540 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28542 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28544 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28546 * io/Makefile (headers): Add bits/poll2.h.
28548 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28551 typo #include statement.
28553 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28555 * include/sys/cdefs.h: Define __attribute_alloc_size.
28556 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28557 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28558 * elf/pldd.c: Likewise.
28559 * iconv/iconv_charmap.c: Likewise.
28560 * iconv/iconvconfig.c: Likewise.
28561 * iconv/strtab.c: Likewise.
28562 * locale/programs/locale.c: Likewise.
28563 * locale/programs/localedef.h: Likewise.
28564 * locale/programs/simple-hash.c: Likewise.
28565 * nscd/nscd.h: Likewise.
28566 * nss/makedb.c: Likewise.
28567 * sysdeps/generic/ldconfig.h: Likewise.
28568 * locale/programs/localedef.c: Remove xmalloc prototype.
28569 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28571 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28576 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28578 * math/Makefile (tests): Add tst-CMPLX.
28579 * math/tst-CMPLX.c: New file.
28581 * math/complex.h (CMPLXL): Fix typo.
28583 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28584 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28586 * debug/tst-chk1.c: Add poll and ppoll tests.
28587 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28588 * include/sys/poll.h: Add hidden proto for ppoll.
28589 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28590 * sysdeps/mach/hurd/ppoll.c: Likewise.
28591 * io/ppoll.c: Likewise.
28592 * debug/poll_chk.c: New file.
28593 * debug/ppoll_chk.c: New file.
28594 * include/bits/poll2.h: New file.
28595 * io/bits/poll2.h: New file.
28598 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28600 * configure.in: static is always set to yes. Remove.
28601 * config.make.in: Don't set build-static.
28602 * Makeconfig: Remove use of build-static.
28603 * dlfcn/Makefile: Likewise.
28604 * elf/Makefile: Likewise.
28605 * math/Makefile: Likewise.
28606 * misc/Makefile: Likewise.
28607 * nptl/Makefile: Likewise.
28608 * sysdeps/mach/hurd/Makefile: Likewise.
28610 * configure.in: PWD_P is not used anymore.
28611 * config.make.in: Remove PWD_P entry.
28613 * configure.in: Remove last remnants of RANLIB.
28614 No need to check for signed size_t anymore.
28615 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28617 Remove __builtin_expect test because we require at least gcc 3.4.
28618 * aclocal.m4: Likewise.
28620 * wcsmbs/mbrtoc16.c: Implement using towc function.
28621 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28622 * wcsmbs/wcsmbsload.c: Likewise.
28623 * iconv/gconv_simple.c: Likewise.
28624 * iconv/gconv_int.h: Likewise.
28625 * iconv/gconv_builtin.h: Likewise.
28626 * iconv/iconv_prog.c: Remove CHAR16 handling.
28628 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28630 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28632 * configure.in: Remove --with-elf and --enable-bounded options.
28633 Dont set base_machine for ia64. More non-ELF conditions removed.
28634 Remove testing and setting of leading underscore information.
28635 * config.make.in (build-bounded): Set to no.
28636 * config.h.in: Remove NO_UNDERSCORES entry.
28637 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28639 * csu/start.c: Remove !NO_UNDERSCORE code.
28640 * locale/localeinfo.h: Likewise.
28641 * sysdeps/generic/machine-gmon.h: Likewise.
28642 * sysdeps/generic/sysdep.h: Likewise.
28643 * sysdeps/i386/sysdep.h: Likewise.
28644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28645 * sysdeps/mach/sysdep.h: Likewise.
28646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28648 * sysdeps/sh/sysdep.h: Likewise.
28649 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28650 * sysdeps/unix/i386/sysdep.S: Likewise.
28651 * sysdeps/unix/sparc/start.c: Likewise.
28652 * sysdeps/unix/sparc/sysdep.S: Likewise.
28653 * sysdeps/unix/sparc/sysdep.h: Likewise.
28654 * sysdeps/unix/start.c: Likewise.
28655 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28656 * sysdeps/x86_64/sysdep.h: Likewise.
28658 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28661 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28663 * argp/argp-fmtstream.h: Use const instead __const.
28664 * argp/argp.h: Likewise.
28665 * assert/assert.h: Likewise.
28666 * bits/fenv.h: Likewise.
28667 * bits/sched.h: Likewise.
28668 * bits/sigset.h: Likewise.
28669 * bits/sigthread.h: Likewise.
28670 * catgets/nl_types.h: Likewise.
28671 * conform/data/pthread.h-data: Likewise.
28672 * crypt/crypt-private.h: Likewise.
28673 * crypt/crypt.h: Likewise.
28674 * crypt/crypt_util.c: Likewise.
28675 * ctype/ctype.h: Likewise.
28676 * debug/execinfo.h: Likewise.
28677 * debug/mbsnrtowcs_chk.c: Likewise.
28678 * debug/mbsrtowcs_chk.c: Likewise.
28679 * debug/wcsnrtombs_chk.c: Likewise.
28680 * debug/wcsrtombs_chk.c: Likewise.
28681 * debug/wcstombs_chk.c: Likewise.
28682 * dirent/dirent.h: Likewise.
28683 * dlfcn/dlfcn.h: Likewise.
28684 * elf/neededtest4.c: Likewise.
28685 * grp/grp.h: Likewise.
28686 * gshadow/gshadow.h: Likewise.
28687 * iconv/gconv.h: Likewise.
28688 * iconv/gconv_int.h: Likewise.
28689 * iconv/gconv_simple.c: Likewise.
28690 * iconv/iconv.h: Likewise.
28691 * iconv/loop.c: Likewise.
28692 * iconv/skeleton.c: Likewise.
28693 * include/aio.h: Likewise.
28694 * include/aliases.h: Likewise.
28695 * include/argz.h: Likewise.
28696 * include/arpa/inet.h: Likewise.
28697 * include/assert.h: Likewise.
28698 * include/dirent.h: Likewise.
28699 * include/dlfcn.h: Likewise.
28700 * include/execinfo.h: Likewise.
28701 * include/fcntl.h: Likewise.
28702 * include/fenv.h: Likewise.
28703 * include/glob.h: Likewise.
28704 * include/grp.h: Likewise.
28705 * include/libintl.h: Likewise.
28706 * include/mntent.h: Likewise.
28707 * include/netdb.h: Likewise.
28708 * include/pwd.h: Likewise.
28709 * include/rpc/netdb.h: Likewise.
28710 * include/sched.h: Likewise.
28711 * include/search.h: Likewise.
28712 * include/shadow.h: Likewise.
28713 * include/signal.h: Likewise.
28714 * include/stdio.h: Likewise.
28715 * include/stdlib.h: Likewise.
28716 * include/string.h: Likewise.
28717 * include/sys/socket.h: Likewise.
28718 * include/sys/stat.h: Likewise.
28719 * include/sys/statfs.h: Likewise.
28720 * include/sys/statvfs.h: Likewise.
28721 * include/sys/syslog.h: Likewise.
28722 * include/sys/time.h: Likewise.
28723 * include/sys/uio.h: Likewise.
28724 * include/time.h: Likewise.
28725 * include/unistd.h: Likewise.
28726 * include/utmp.h: Likewise.
28727 * include/wchar.h: Likewise.
28728 * include/wctype.h: Likewise.
28729 * inet/aliases.h: Likewise.
28730 * inet/arpa/inet.h: Likewise.
28731 * inet/netinet/ether.h: Likewise.
28732 * inet/netinet/in.h: Likewise.
28733 * intl/libintl.h: Likewise.
28734 * io/bits/fcntl2.h: Likewise.
28735 * io/fcntl.h: Likewise.
28736 * io/ftw.h: Likewise.
28737 * io/sys/poll.h: Likewise.
28738 * io/sys/stat.h: Likewise.
28739 * io/sys/statfs.h: Likewise.
28740 * io/sys/statvfs.h: Likewise.
28741 * io/utime.h: Likewise.
28742 * libio/bits/stdio.h: Likewise.
28743 * libio/bits/stdio2.h: Likewise.
28744 * libio/libio.h: Likewise.
28745 * libio/libioP.h: Likewise.
28746 * libio/stdio.h: Likewise.
28747 * locale/lc-ctype.c: Likewise.
28748 * locale/locale.h: Likewise.
28749 * login/utmp.h: Likewise.
28750 * malloc/arena.c: Likewise.
28751 * malloc/malloc.c: Likewise.
28752 * malloc/malloc.h: Likewise.
28753 * malloc/mcheck.c: Likewise.
28754 * malloc/mtrace.c: Likewise.
28755 * math/bits/mathcalls.h: Likewise.
28756 * math/fenv.h: Likewise.
28757 * math/math_private.h: Likewise.
28758 * misc/bits/error.h: Likewise.
28759 * misc/bits/syslog.h: Likewise.
28760 * misc/err.h: Likewise.
28761 * misc/error.h: Likewise.
28762 * misc/fstab.h: Likewise.
28763 * misc/mntent.h: Likewise.
28764 * misc/regexp.h: Likewise.
28765 * misc/search.h: Likewise.
28766 * misc/sgtty.h: Likewise.
28767 * misc/sys/mman.h: Likewise.
28768 * misc/sys/syslog.h: Likewise.
28769 * misc/sys/uio.h: Likewise.
28770 * misc/sys/xattr.h: Likewise.
28771 * misc/ttyent.h: Likewise.
28772 * nis/rpcsvc/ypclnt.h: Likewise.
28773 * nss/nss.h: Likewise.
28774 * posix/bits/unistd.h: Likewise.
28775 * posix/fnmatch.h: Likewise.
28776 * posix/glob.h: Likewise.
28777 * posix/sched.h: Likewise.
28778 * posix/spawn.h: Likewise.
28779 * posix/sys/wait.h: Likewise.
28780 * posix/unistd.h: Likewise.
28781 * posix/wordexp.h: Likewise.
28782 * pwd/pwd.h: Likewise.
28783 * resolv/netdb.h: Likewise.
28784 * resource/sys/resource.h: Likewise.
28785 * rt/aio.h: Likewise.
28786 * rt/bits/mqueue2.h: Likewise.
28787 * rt/mqueue.h: Likewise.
28788 * shadow/shadow.h: Likewise.
28789 * signal/signal.h: Likewise.
28790 * socket/send.c: Likewise.
28791 * socket/sendto.c: Likewise.
28792 * socket/sys/socket.h: Likewise.
28793 * stdio-common/printf.h: Likewise.
28794 * stdlib/bits/stdlib.h: Likewise.
28795 * stdlib/fmtmsg.h: Likewise.
28796 * stdlib/monetary.h: Likewise.
28797 * stdlib/stdlib.h: Likewise.
28798 * stdlib/ucontext.h: Likewise.
28799 * streams/stropts.h: Likewise.
28800 * string/argz.h: Likewise.
28801 * string/bits/string2.h: Likewise.
28802 * string/string.h: Likewise.
28803 * string/strings.h: Likewise.
28804 * sunrpc/rpc/auth.h: Likewise.
28805 * sunrpc/rpc/auth_des.h: Likewise.
28806 * sunrpc/rpc/clnt.h: Likewise.
28807 * sunrpc/rpc/netdb.h: Likewise.
28808 * sunrpc/rpc/pmap_clnt.h: Likewise.
28809 * sunrpc/rpc/xdr.h: Likewise.
28810 * sysdeps/generic/inttypes.h: Likewise.
28811 * sysdeps/generic/net/if.h: Likewise.
28812 * sysdeps/generic/sys/swap.h: Likewise.
28813 * sysdeps/gnu/net/if.h: Likewise.
28814 * sysdeps/gnu/utmpx.h: Likewise.
28815 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28816 * sysdeps/i386/i486/bits/string.h: Likewise.
28817 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28818 * sysdeps/s390/bits/string.h: Likewise.
28819 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28820 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28821 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28822 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28823 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28824 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28825 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28826 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28827 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28828 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28829 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28830 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28831 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28832 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28833 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28834 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28835 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28840 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28841 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28842 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28843 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28844 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28845 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28846 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28847 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28848 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28849 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28850 * sysvipc/sys/ipc.h: Likewise.
28851 * sysvipc/sys/msg.h: Likewise.
28852 * sysvipc/sys/sem.h: Likewise.
28853 * sysvipc/sys/shm.h: Likewise.
28854 * termios/termios.h: Likewise.
28855 * time/sys/time.h: Likewise.
28856 * time/time.h: Likewise.
28857 * wcsmbs/bits/wchar2.h: Likewise.
28858 * wcsmbs/uchar.h: Likewise.
28859 * wcsmbs/wchar.h: Likewise.
28860 * wctype/wctype.h: Likewise.
28863 * Makeconfig: Remove all but ELF support including AIX support.
28864 * Makerules: Likewise.
28865 * config.h.in: Likewise.
28866 * config.make.in: Likewise.
28867 * configure: Likewise.
28868 * configure.in: Likewise.
28869 * csu/Makefile: Likewise.
28870 * csu/version.c: Likewise.
28871 * debug/Makefile: Likewise.
28872 * dlfcn/Makefile: Likewise.
28873 * elf/Makefile: Likewise.
28874 * extra-lib.mk: Likewise.
28875 * iconv/Makefile: Likewise.
28876 * include/libc-symbols.h: Likewise.
28877 * include/shlib-compat.h: Likewise.
28878 * resolv/Makefile: Likewise.
28879 * resolv/res_libc.c: Likewise.
28880 * rt/Makefile: Likewise.
28881 * sysdeps/i386/asm-syntax.h: Likewise.
28882 * sysdeps/i386/sysdep.h: Likewise.
28883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28884 * sysdeps/mach/sysdep.h: Likewise.
28885 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28886 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28887 * sysdeps/s390/asm-syntax.h: Likewise.
28888 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28890 * sysdeps/sh/sysdep.h: Likewise.
28891 * sysdeps/unix/sparc/sysdep.h: Likewise.
28892 * sysdeps/wordsize-32/divdi3.c: Likewise.
28893 * sysdeps/x86_64/sysdep.h: Likewise.
28895 * argp/Versions: Remove _argp_unlock_xxx.
28898 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28899 * abilist/libBrokenLocale.abilist: Likewise.
28900 * abilist/libanl.abilist: Likewise.
28901 * abilist/libc.abilist: Likewise.
28902 * abilist/libcrypt.abilist: Likewise.
28903 * abilist/libdl.abilist: Likewise.
28904 * abilist/libm.abilist: Likewise.
28905 * abilist/libnsl.abilist: Likewise.
28906 * abilist/libpthread.abilist: Likewise.
28907 * abilist/libresolv.abilist: Likewise.
28908 * abilist/librt.abilist: Likewise.
28909 * abilist/libthread_db.abilist: Likewise.
28910 * abilist/libutil.abilist: Likewise.
28911 * abilist/libnss_db.abilist: New file.
28913 * scripts/abilist.awk: Add support for indirect functions.
28915 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28917 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28919 * shlib-versions: Remove entries for ports architectures.
28921 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28923 * elf/stackguard-macros.h: Remove support for IA-64.
28924 * elf/tst-auditmod1.c: Likewise.
28925 * sysdeps/generic/ldsodefs.h: Likewise.
28927 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28928 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28932 * configure.in: Remove --enable-omitfp support.
28934 * config.make.in: Likewise.
28935 * Makeconfig: Likewise.
28936 * manual/install.texi: Likewise.
28938 In case anyone cares, the IA-64 architecture could move to ports.
28939 * sysdeps/ia64/*: Removed.
28940 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28941 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28944 * configure.in: Remove entries for unsupported architectures.
28947 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28948 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28950 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28951 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28952 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28953 fall back to using wcrtomb.
28954 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28955 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28957 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28958 * wcsmbs/tst-c16c32-1.c: New file.
28960 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28963 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28965 * elf/tst-unique3.cc: Add explicit declaration of gets.
28966 * elf/tst-unique3lib.cc: Likewise.
28967 * elf/tst-unique3lib2.cc: Likewise.
28968 * elf/tst-unique4.cc: Likewise.
28970 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28972 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28975 * assert/assert.h (static_assert): Don't define for C++.
28976 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28977 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28979 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28981 * iconv/loop.c (single loop): Fix assertion in storing of
28984 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28986 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28988 * posix/getconf.c: Update copyright year.
28989 * nss/getent.c: Likewise.
28990 * nss/makedb.c: Likewise.
28991 * iconv/iconvconfig.c: Likewise.
28992 * iconv/iconv_prog.c: Likewise.
28993 * elf/ldconfig.c: Likewise.
28994 * elf/pldd.c: Likewise.
28995 * elf/sotruss.ksh: Likewise.
28996 * catgets/gencat.c: Likewise.
28997 * csu/version.c: Likewise.
28998 * elf/ldd.bash.in: Likewise.
28999 * elf/sprof.c (print_version): Likewise.
29000 * locale/programs/locale.c: Likewise.
29001 * locale/programs/localedef.c: Likewise.
29002 * login/programs/pt_chown.c: Likewise.
29003 * nscd/nscd.c (print_version): Likewise.
29004 * debug/xtrace.sh: Likewise.
29005 * malloc/memusage.sh: Likewise.
29006 * malloc/mtrace.pl: Likewise.
29007 * debug/catchsegv.sh: Likewise.
29009 2011-12-30 Jakub Jelinek <jakub@redhat.com>
29011 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29014 2011-12-24 Ulrich Drepper <drepper@gmail.com>
29017 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29018 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29020 * iconv/gconv_int.h: Likewise.
29021 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29022 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29023 from libc for GLIBC_2.16.
29024 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29025 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29026 * wcsmbs/uchar.h: Really define mbstate_t.
29027 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29028 * wcsmbs/c16rtomb.c: New file.
29029 * wcsmbs/mbrtoc16.c: New file.
29030 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29031 for C/POSIX locale.
29032 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29033 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29035 * wcsmbs/wchar.h: Add missing __restrict.
29037 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29040 * time/Makefile (routines): Add timespec_get.
29041 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29042 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29043 timespec for ISO C11.
29044 * time/timespec_get.c: New file.
29045 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29046 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29049 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29050 * stdlib/stdlib.h: Declare aligned_alloc.
29051 * Versions.def: Add GLIBC_2.16 for libc.
29052 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29055 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29058 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29062 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29065 * assert/assert.h (static_assert): Define.
29067 * version.h: Update for 2.16 development version.
29070 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29073 * version.h (RELEASE): Bump for 2.15 release.
29074 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29076 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29077 Patch by Marek Polacek <mpolacek@redhat.com>.
29079 * bits/byteswap.h: Protect long long constants with __extension__.
29080 * sysdeps/i386/bits/byteswap.h: Likewise.
29081 * sysdeps/ia64/bits/byteswap.h: Likewise.
29082 * sysdeps/s390/bits/byteswap.h: Likewise.
29083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29085 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29089 destination buffer.
29090 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29092 2011-12-23 Marek Polacek <polacek@redhat.com>
29094 * elf/dl-addr.c (determine_info): Add inline keyword.
29095 * elf/tst-auditmod4b.c (check_avx): Likewise.
29096 * elf/tst-auditmod6b.c (check_avx): Likewise.
29097 * elf/tst-auditmod6c.c (check_avx): Likewise.
29098 * elf/tst-auditmod7b.c (check_avx): Likewise.
29100 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29102 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29105 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29108 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29109 processing for last bytes.
29111 2011-08-06 Bruno Haible <bruno@clisp.org>
29114 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29115 U+0385, not to U+1FEE.
29118 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29119 entry for U+00A5 U+0301.
29121 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29124 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29125 buffer for the output is too small.
29127 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29131 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29132 SSE flags if possible.
29134 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29138 processing for last bytes.
29140 2011-12-22 Joseph Myers <joseph@codesourcery.com>
29142 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29143 (syscall-list-default-options, syscall-list-default-condition)
29144 (syscall-list-includes): Define.
29145 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29146 list of ABIs and options and #if conditions for each ABI. Do not
29147 handle common syscalls between ABIs specially.
29148 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29150 (syscall-list-variants, syscall-list-32bit-options)
29151 (syscall-list-32bit-condition, syscall-list-64bit-options)
29152 (syscall-list-64bit-condition): Define.
29153 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29154 (syscall-list-variants, syscall-list-32bit-options)
29155 (syscall-list-32bit-condition, syscall-list-64bit-options)
29156 (syscall-list-64bit-condition): Define.
29157 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29159 (syscall-list-variants, syscall-list-32bit-options)
29160 (syscall-list-32bit-condition, syscall-list-64bit-options)
29161 (syscall-list-64bit-condition): Define.
29162 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29164 (syscall-list-variants, syscall-list-32bit-options)
29165 (syscall-list-32bit-condition, syscall-list-64bit-options)
29166 (syscall-list-64bit-condition): Define.
29168 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29170 * locale/iso-639.def: Add brx entry.
29173 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29174 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29176 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29177 __feraiseexcept_renamed.
29179 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29182 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29183 EPOLLET with unsigned values.
29184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29185 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29187 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29188 to large cancellation.
29189 * math/s_cacoshf.c: Likewise.
29190 * math/s_cacoshl.c: Likewise.
29192 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29196 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29197 * math/s_cacoshf.c: Likewise.
29198 * math/s_cacoshl.c: Likewise.
29200 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29203 * iconv/gconv.h: Define __GCONV_SWAP.
29204 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29205 * iconvdata/utf-16.c: Likewise.
29206 * iconvdata/utf-32.c: Likewise.
29208 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29212 numerator after shifting it by one limb.
29214 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29216 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29217 under [__USE_EXTERN_INLINES].
29219 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29222 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29224 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29226 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29227 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29229 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29230 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29231 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29232 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29233 for strncasecmp/strncasecmp_l compilation.
29234 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29235 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29237 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29240 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29243 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29246 * time/tzfile.c (__tzfile_read): Check values from file header.
29248 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29250 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29251 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29252 * powerpc/powerpc32/dl-start.S: Likewise.
29253 * powerpc/powerpc32/elf/start.S: Likewise.
29254 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29255 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29256 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29257 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29258 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29259 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29260 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29261 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29262 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29263 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29264 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29265 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29266 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29267 * powerpc/powerpc32/memset.S: Likewise.
29268 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29269 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29270 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29271 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29272 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29273 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29274 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29275 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29276 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29277 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29278 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29279 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29280 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29282 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29284 * math/libm-test.inc: Added more nearbyint tests.
29285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29290 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29292 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29295 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29297 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29298 Add wcscpy-ssse3 wcscpy-c.
29299 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29300 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29301 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29302 * sysdeps/x86_64/wcschr.S: New file.
29303 * sysdeps/x86_64/wcsrchr.S: New file.
29304 * string/test-strcmp.c: Remove checking of wcscmp function for
29306 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29307 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29308 wcsrchr-sse2 wcsrchr-c.
29309 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29310 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29311 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29312 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29313 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29314 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29315 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29316 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29317 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29318 * wcsmbc/wcschr.c (WCSCHR): New macro.
29320 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29322 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29323 * wcsmbs/test-wcsrchr.c: New file.
29324 * string/test-strrchr.c: Add wcsrchr support.
29326 * wcsmbs/test-wcscpy.c: New file.
29327 * string/test-strcpy.c: Add wcscpy support.
29330 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29335 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29338 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29340 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29342 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29343 Minor optimizations.
29345 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29346 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29347 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29349 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29351 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29352 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29353 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29354 for gcc to avoid warnings.
29355 * inet/Makefile (tests): Add tst-checks.
29356 * inet/tst-checks.c: New file.
29358 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29361 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29364 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29365 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29367 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29369 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29371 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29374 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29376 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29378 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29379 conditional on GCC version.
29380 (__arch_compare_and_exchange_val_8_acq)
29381 (__arch_compare_and_exchange_val_16_acq)
29382 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29383 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29384 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29386 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29388 * sysdeps/sh/backtrace.c: New file.
29390 2011-12-02 Andreas Schwab <schwab@redhat.com>
29392 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29395 2011-12-01 Andreas Schwab <schwab@redhat.com>
29397 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29398 falling back to utime.
29400 2011-11-30 Andreas Schwab <schwab@redhat.com>
29402 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29403 expectations for float.
29405 2011-11-29 Andreas Schwab <schwab@redhat.com>
29407 * locale/weight.h (findidx): Add parameter len.
29408 * locale/weightwc.h (findidx): Likewise.
29409 * posix/fnmatch_loop.c (FCT): Adjust caller.
29410 * posix/regcomp.c (build_equiv_class): Likewise.
29411 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29412 * posix/regexec.c (check_node_accept_bytes): Likewise.
29413 * string/strcoll_l.c (STRCOLL): Likewise.
29414 * string/strxfrm_l.c (STRXFRM): Likewise.
29416 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29418 * Makefile.in: Remove CVSOPT handling.
29419 * configure.in: Remove use of AC_REVISION.
29420 * iconvdata/Makefile (distribute): No need to filter out CVS.
29421 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29424 2011-11-16 Andreas Schwab <schwab@redhat.com>
29426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29427 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29428 [USE_AS_STRNCASECMP_L]: Likewise.
29429 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29430 NO_TLS_DIRECT_SEG_REFS.
29431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29432 Fix argument offsets for non-PIC.
29433 [USE_AS_STRNCASECMP_L]: Likewise.
29434 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29435 NO_TLS_DIRECT_SEG_REFS.
29437 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29439 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29441 * locale/loadlocale.c (_nl_load_locale): Likewise.
29443 2011-11-15 Andreas Schwab <schwab@redhat.com>
29445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29446 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29448 (SYSCALL_GETTIME): Set errno on error.
29450 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29451 count references to noai6ai_cached.
29453 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29455 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29457 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29458 FD_CLOEXEC for /proc/self/maps.
29460 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29461 FD_CLOEXEC for /proc/meminfo.
29463 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29466 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29467 FD_CLOEXEC for given file.
29469 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29471 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29472 FD_CLOEXEC for /etc/hosts.
29473 (_gethtent): Likewise.
29475 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29477 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29478 cancellation and set FD_CLOEXEC for /etc/netgroup.
29480 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29481 reading /etc/publickey.
29483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29484 allow cancellation when reading /etc/group.
29486 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29488 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29490 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29491 when using data file.
29493 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29495 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29496 (write_nis_obj): Use "c" and "e" in fopen.
29498 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29500 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29502 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29504 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29506 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29509 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29511 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29513 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29515 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29516 file parsing and set FD_CLOEXEC.
29518 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29520 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29522 2011-11-14 Andreas Schwab <schwab@redhat.com>
29524 * malloc/arena.c (arena_get2): Don't call reused_arena when
29525 _int_new_arena failed.
29527 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29529 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29530 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29532 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29534 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29535 to compile strcasecmp and strncasecmp.
29536 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29537 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29541 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29543 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29544 locale-defines.sym to gen-as-const-headers.
29545 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29546 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29548 to compile strcasecmp and strncasecmp.
29549 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29550 strcasecmp_l and strncasecmp_l.
29551 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29552 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29553 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29554 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29555 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29556 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29557 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29558 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29559 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29560 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29561 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29563 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29565 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29566 result of SYSDEP_GETTIME_CPU to retval.
29567 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29568 parameter list to macro. Remove trailing semicolon. Adjust users.
29570 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29573 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29575 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29577 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29578 from unused variable.
29580 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29582 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29585 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29588 * sunrpc/rpc_prot.c (rejected): Fix case value.
29590 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29591 unsigned long long int to avoid warnings in shift.
29593 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29595 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29598 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29599 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29602 * nis/nis_table.c (nis_list): Use variable of correct type for
29603 result of __follow_path call.
29605 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29607 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29608 of math functions ceil, trunc, floor, round, and sqrt, when
29609 avaliable on the platform.
29610 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29613 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29614 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29616 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29618 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29619 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29621 2011-11-11 Roland McGrath <roland@hack.frob.com>
29623 * include/unistd.h: Fix __readlink return type.
29624 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29626 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29628 * stdlib/ucontext.h: Undo last change for makecontext.
29630 2011-11-11 Andreas Schwab <schwab@redhat.com>
29632 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29634 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29635 * setjmp/setjmp.h: Mark functions as non-leaf.
29636 * setjmp/bits/setjmp2.h: Likewise.
29637 * stdlib/ucontext.h: Likewise.
29639 2011-11-10 Andreas Schwab <schwab@redhat.com>
29641 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29642 (reused_arena): Don't check arena limit.
29643 (arena_get2): Atomically check arena limit.
29645 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29647 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29648 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29653 2011-11-07 Andreas Schwab <schwab@redhat.com>
29655 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29656 handler when locking.
29658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29659 Fix size of allocated buffer.
29661 2011-11-04 Andreas Schwab <schwab@redhat.com>
29664 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29665 declarations for long double functions.
29666 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29668 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29670 2011-11-03 Andreas Schwab <schwab@redhat.com>
29672 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29675 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29678 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29680 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29682 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29684 * include/alloca.h (stackinfo_alloca_round): Define.
29685 (extend_alloca): Use it.
29686 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29687 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29690 * scripts/check-local-headers.sh: Ignore libaudit.h.
29692 * nscd/Makefile (extra-objs): Make recursively expanded.
29694 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29696 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29699 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29700 * posix/tst-rfc3484-2.c: Likewise.
29701 * posix/tst-rfc3484-3.c: Likewise.
29703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29705 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29707 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29708 process_vm_writev from libc using GLIBC_2.15 version.
29710 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29712 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29714 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29717 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29720 * nss/getent.c (initgroups_keys): Show error message in case no group
29723 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29724 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29725 __bump_nl_timestamp.
29726 * nscd/connections (nscd_init): When host database is served open
29727 netlink socket and request notification about configuration changes.
29728 (main_loop_poll): Track netlink file descriptor and bump timestamp
29729 in case data becomes available.
29730 (main_loop_epoll): Likewise.
29731 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29732 (database_pers_head): Add extra_data fileds.
29733 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29734 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29735 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29738 in6ai data, call __free_in6ai.
29739 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29740 Add -DHAVE_NETLINK.
29741 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29742 interface information. Reuse previous data if netlink timestamp
29744 (__bump_nl_timestamp): New function.
29745 (__free_in6ai): New function.
29747 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29749 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29750 close_not_cancel_no_status here.
29751 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29753 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29756 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29759 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29760 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29761 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29763 2011-07-03 Andreas Jaeger <aj@suse.de>
29766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29767 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29768 * math/libm-test.inc (sin_test): Add test case.
29770 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29773 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29774 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29776 * elf/chroot_canon.c (chroot_canon): Cleanups.
29778 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29781 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29784 * string/test-strchr.c: Make usable for strchrnul testing.
29785 * string/test-strchrnul.c: New file.
29786 * string/Makefile (strop-tests): Add strchrnul.
29788 * po/it.po: Update from translation team.
29789 * po/es.po: Likewise.
29791 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29793 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29794 the three constants needed as parameters. Drop the others.
29795 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29796 __m128i_strloadu_tolower.
29797 Create and initialize variable zero and use it in all the places
29798 where _mm_setzero_si128 was used.
29800 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29801 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29802 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29803 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29805 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29806 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29807 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29808 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29809 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29810 __mpranred, __mptan.
29811 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29812 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29813 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29814 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29815 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29816 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29818 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29819 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29821 2011-10-28 Andreas Schwab <schwab@redhat.com>
29823 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29824 redefine if SHARED.
29825 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29828 wide char related routines to wcsmbs subdir.
29830 2011-10-27 Andreas Schwab <schwab@redhat.com>
29833 * misc/sys/cdefs.h (__THROWNL): Define.
29834 * posix/unistd.h: Use __THREADNL instead of __THREAD
29835 for memory synchronization functions.
29837 2011-10-26 Roland McGrath <roland@hack.frob.com>
29840 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29842 * manual/stdio.texi (Obstack Streams): Node removed.
29844 2011-10-26 Andreas Schwab <schwab@redhat.com>
29846 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29847 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29850 * math/math_private.h (math_force_eval): Allow non-addressable
29852 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29854 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29856 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29857 file is not needed.
29859 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29862 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29866 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29868 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29869 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29870 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29871 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29872 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29873 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29874 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29876 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29877 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29878 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29879 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29880 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29881 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29882 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29883 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29884 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29885 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29886 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29888 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29889 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29892 place. Use VEX encoding when compiling for AVX.
29894 2011-10-25 Andreas Schwab <schwab@redhat.com>
29896 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29897 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29899 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29901 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29903 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29904 useless if() expression.
29905 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29911 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29915 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29917 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29918 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29922 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29923 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29925 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29927 2011-10-25 Andreas Schwab <schwab@redhat.com>
29929 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29931 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29933 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29935 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29936 .text section. Avoid duplicate constants.
29937 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29945 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29946 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29947 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29948 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29949 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29950 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29951 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29952 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29953 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29954 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29955 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29957 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29958 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29959 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29961 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29962 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29963 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29964 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29965 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29966 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29967 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29968 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29970 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29971 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29972 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29973 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29974 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29975 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29976 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29977 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29979 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29981 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29983 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29985 * sysdeps/x86_64/dla.h: Move to ...
29986 * sysdeps/x86_64/fpu/dla.h: ...here.
29987 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29988 situations. Use __builtin_fma only for gcc 4.6 and up.
29990 * config.make.in: Add have-mfma4 entry.
29991 * configure.in: Substitute libc_cv_cc_fma4.
29992 * math/Makefile (dbl-only-routines): Add sincostab.
29993 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29994 Use __sincostab not sincos.
29995 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29997 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30002 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30003 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30004 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30005 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30007 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30008 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30010 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30011 define aliases when function name is a macro.
30012 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30013 sysdeps/ieee754/dbl-64/sincos.tbl.
30014 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30015 fma4-enabled routines.
30016 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30017 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30018 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30019 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30020 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30021 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30022 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30024 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30025 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30026 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30027 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30028 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30029 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30030 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30031 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30032 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30033 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30034 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30035 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30036 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30037 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30041 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30042 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30043 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30044 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30045 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30047 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30058 2011-10-24 Andreas Schwab <schwab@redhat.com>
30060 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30062 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30066 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30070 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30071 Remove unused variable magic_bits.
30072 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30074 * string/strnlen.c: Define and use STRNLEN macro.
30075 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30076 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30078 * wcsmbs/wcslen.c: Define and use WCSLEN.
30079 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30080 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30081 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30082 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30083 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30084 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30085 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30087 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30090 strnlen-sse2-no-bsf.
30091 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30093 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30094 Add strnlen support.
30095 (USE_AS_STRNLEN): New macro.
30096 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30097 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30098 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30099 * sysdeps/x86_64/wcslen.S: New file.
30101 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30104 XMM-moves are used for copying on small sizes.
30106 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30108 * wcsmbs/Makefile (strop-tests): Add wcschr.
30109 * wcsmbs/test-wcschr.c: New file.
30110 * string/test-strchr.c: Update.
30111 Add wcschr support.
30114 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30116 * wcsmbs/Makefile (strop-tests): Add wcslen.
30117 * wcsmbs/test-wcslen.c: New file.
30118 * string/test-strlen.c: Update.
30119 Add wcslen support.
30122 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30124 * po/it.po: Update from translation team.
30126 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30128 * sysdeps/x86_64/wcscmp.S: Update.
30129 Fix wrong comparison semantics.
30130 wcscmp shall use signed comparison not unsigned.
30131 Don't use substraction to avoid overflow bug.
30132 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30133 * wcsmbc/wcscmp.c: Likewise.
30134 * string/test-strcmp.c: Likewise.
30135 Add new tests to check cases with negative values.
30137 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30139 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30140 * sysdeps/x86_64/dla.h: ...here. New file.
30141 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30151 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30154 __ynl_finite aliases.
30156 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30160 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30162 [DLA_FMA] (EMULV): Use DLA_FMA.
30163 [DLA_FMA] (MUL12): Use EMULV.
30164 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30165 that are not needed.
30166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30174 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30176 * math/s_nan.c: Undef __nan.
30177 * math/s_nanf.c: Undef __nanf.
30178 * math/s_nanl.c: Undef __nanl.
30179 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30182 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30184 * math/s_catan.c: Add branch predictions.
30185 * math/s_catanf.c: Likewise.
30186 * math/s_catanh.c: Likewise.
30187 * math/s_catanhf.c: Likewise.
30188 * math/s_catanhl.c: Likewise.
30189 * math/s_catanl.c: Likewise.
30190 * math/s_cexp.c: Likewise.
30191 * math/s_cexpf.c: Likewise.
30192 * math/s_cexpl.c: Likewise.
30193 * math/s_clog.c: Likewise.
30194 * math/s_clog10.c: Likewise.
30195 * math/s_clog10f.c: Likewise.
30196 * math/s_clog10l.c: Likewise.
30197 * math/s_clogf.c: Likewise.
30198 * math/s_clogl.c: Likewise.
30199 * math/s_csqrt.c: Likewise.
30200 * math/s_csqrtf.c: Likewise.
30201 * math/s_csqrtl.c: Likewise.
30202 * math/s_ctanf.c: Likewise.
30203 * math/s_ctanh.c: Likewise.
30204 * math/s_ctanhf.c: Likewise.
30205 * math/s_ctanhl.c: Likewise.
30206 * math/s_ctanl.c: Likewise.
30208 * math/math_private.h: Define __nan, __nanf, __nanl.
30209 * math/s_cacosh.c: Include <math_private.h>.
30210 * math/s_cacoshl.c: Likewise.
30211 * math/s_casinh.c: Likewise.
30212 * math/s_casinhf.c: Likewise.
30213 * math/s_casinhl.c: Likewise.
30214 * math/s_ccos.c: Rely entire on ccosh.
30215 * math/s_ccosf.c: Rely entire on ccoshf.
30216 * math/s_ccosl.c: Rely entirely on ccoshl.
30217 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30218 Remove tests for FE_INVALID.
30219 * math/s_ccoshf.c: Likewise.
30220 * math/s_ccoshl.c: Likewise.
30221 * math/s_csin.c: Likewise.
30222 * math/s_csinf.c: Likewise.
30223 * math/s_csinh.c Likewise.
30224 * math/s_csinhf.c: Likewise.
30225 * math/s_csinhl.c: Likewise.
30226 * math/s_csinl.c: Likewise.
30227 * math/s_ctan.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30229 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30232 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30235 compilation problems.
30237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30240 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30242 * sysdeps/i386/configure.in: Test for -mfma4 option.
30243 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30244 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30245 COMMON_CPUID_INDEX_80000001.
30246 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30247 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30248 use it if FMA3 is not supported.
30249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30251 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30252 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30254 2011-10-20 Andreas Schwab <schwab@redhat.com>
30257 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30258 it would create a cycle with a link time dependency.
30260 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30262 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30264 * string/Makefile (strop-tests): Add rawmemchr.
30265 * string/test-rawmemchr.c: New file.
30267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30268 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30269 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30270 when compiling str{,n}casecmp and when AVX is available. Hook up
30271 new optimized code in initializers.
30273 2011-10-19 Andreas Schwab <schwab@redhat.com>
30275 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30276 __feraiseexcept instead of feraiseexcept.
30278 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30280 * math/math_private.h: Define defaults for libc_fetestexcept and
30282 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30283 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30284 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30285 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30286 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30287 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30288 libc_fetestexcept and libc_feupdateenv.
30290 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30291 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30292 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30293 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30294 libc_feholdexcept_setround.
30296 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30297 Add s_nearbyint-c and s_nearbyintf-c.
30298 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30299 nearbyintf inlines.
30300 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30302 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30305 * math/math_private.h: Define defaults for libc_fegetround,
30306 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30307 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30308 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30310 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30311 standard functions.
30312 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30313 Remove comments and hacks for old compiler versions.
30314 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30315 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30316 libc_feholdexceptl.
30318 2011-10-18 Andreas Schwab <schwab@redhat.com>
30320 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30321 (__feraiseexcept_renamed): Add __NTH.
30322 (feraiseexcept): Add __NTH. Rename local variables to fix
30323 namespace violations.
30325 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30327 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30329 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30331 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30332 recently added interfaces.
30333 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30335 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30336 about macro parameter expansion.
30338 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30339 __NO_MATH_INLINES is defined. Cleanups.
30341 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30342 and __floorf is target has SSE4.1.
30343 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30344 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30345 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30346 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30348 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30350 (floorf): Likewise.
30352 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30354 2011-10-17 Andreas Schwab <schwab@redhat.com>
30356 * misc/sys/cdefs.h: Fix last change.
30358 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30361 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30363 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30365 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30367 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30368 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30370 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30371 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30372 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30373 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30374 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30375 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30376 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30377 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30378 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30379 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30380 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30381 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30382 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30383 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30384 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30385 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30386 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30388 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30389 ceil, ceilf, floor, floorf.
30391 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30392 Perform IRELATIVE relocations last.
30394 * elf/do-rel.h: Add another parameter nrelative, replacing the
30395 local variable with the same name. Change name of the function
30396 to end in Rel or Rela (uppercase).
30397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30398 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30399 elf_dynamic_do_##reloc function.
30401 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30403 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30404 is sufficient, at least on modern CPUs.
30406 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30408 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30409 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30411 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30413 * math/bits/math-finite.h: Add entries for exp.
30414 * math/e_expl.c: Add __*_finite alias.
30415 * sysdeps/i386/fpu/e_exp.S: Likewise.
30416 * sysdeps/i386/fpu/e_expf.S: Likewise.
30417 * sysdeps/i386/fpu/e_expl.c: Likewise.
30418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30419 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30422 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30423 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30424 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30426 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30427 is sufficient, at least on modern CPUs.
30429 * ctype/ctype-info.c (__ctype_init): Define.
30430 * include/ctype.h (__ctype_init): Declare.
30431 (__ctype_b_loc): The variable is always initialized.
30432 (__ctype_toupper_loc): Likewise.
30433 (__ctype_tolower_loc): Likewise.
30434 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30435 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30437 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30439 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30441 * configure.in: Also look in $cxxmachine/include for C++ system
30444 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30446 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30447 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30448 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30449 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30451 (USE_AS_WMEMCMP): New macro.
30453 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30454 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30455 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30456 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30458 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30459 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30460 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30461 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30462 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30463 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30464 (USE_AS_WMEMCMP): New macro.
30465 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30466 * sysdeps/string/test-memcmp.c: Update.
30467 Fix simple_wmemcmp.
30469 * wcsmbs/wmemcmp.c: Update.
30470 (WMEMCMP): New macro.
30473 2011-10-12 Andreas Jaeger <aj@suse.de>
30476 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30478 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30480 * libio/iofwide.c (do_length): Avoid warning.
30482 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30484 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30486 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30488 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30489 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30490 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30491 * sysdeps/i386/i686/fpu/e_log.S: New file.
30492 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30493 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30495 * ctype/ctype.h: Add support for inlined isXXX functions when
30496 compiling C++ code.
30498 2011-10-14 Andreas Schwab <schwab@redhat.com>
30500 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30504 2011-10-13 Roland McGrath <roland@hack.frob.com>
30507 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30509 2011-10-13 Andreas Schwab <schwab@redhat.com>
30511 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30512 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30515 * sysdeps/x86_64/memrchr.S: Check for zero size.
30517 * string/stratcliff.c: Add memrchr tests.
30519 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30522 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30523 rawmemchr-sse2 rawmemchr-sse2-bsf.
30524 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30525 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30526 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30527 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30528 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30529 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30530 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30531 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30532 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30534 * string/memrchr.c (MEMRCHR): New macro.
30536 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30538 Add integration with gcc's -ffinite-math-only and optimize wrapper
30540 * Versions.def: Define GLIBC_2.15 version for libm.
30541 * math/Makefile (headers): Add bits/math-finite.h.
30542 * math/bits/math-finite.h: New file.
30543 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30544 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30545 * math/e_acoshl.c: Add __*_finite alias.
30546 * math/e_acosl.c: Likewise.
30547 * math/e_asinl.c: Likewise.
30548 * math/e_atan2l.c: Likewise.
30549 * math/e_atanhl.c: Likewise.
30550 * math/e_coshl.c: Likewise.
30551 * math/e_exp10.c: Likewise.
30552 * math/e_exp10f.c: Likewise.
30553 * math/e_exp10l.c: Likewise.
30554 * math/e_exp2l.c: Likewise.
30555 * math/e_fmodl.c: Likewise.
30556 * math/e_gammal_r.c: Likewise.
30557 * math/e_hypotl.c: Likewise.
30558 * math/e_j0l.c: Likewise.
30559 * math/e_j1l.c: Likewise.
30560 * math/e_jnl.c: Likewise.
30561 * math/e_lgammal_r.c: Likewise.
30562 * math/e_log10l.c: Likewise.
30563 * math/e_log2l.c: Likewise.
30564 * math/e_logl.c: Likewise.
30565 * math/e_powl.c: Likewise.
30566 * math/e_sinhl.c: Likewise.
30567 * math/e_sqrtl.c: Likewise.
30568 * math/e_scalb.c: Completely rewritten and optimized.
30569 * math/e_scalbf.c: Likewise.
30570 * math/e_scalbl.c: Likewise.
30571 * math/w_acos.c: Likewise.
30572 * math/w_acosf.c: Likewise.
30573 * math/w_acosl.c: Likewise.
30574 * math/w_acosh.c: Likewise.
30575 * math/w_acoshf.c: Likewise.
30576 * math/w_acoshl.c: Likewise.
30577 * math/w_asin.c: Likewise.
30578 * math/w_asinf.c: Likewise.
30579 * math/w_asinl.c: Likewise.
30580 * math/w_atan2.c: Likewise.
30581 * math/w_atan2f.c: Likewise.
30582 * math/w_atan2l.c: Likewise.
30583 * math/w_atanh.c: Likewise.
30584 * math/w_atanhf.c: Likewise.
30585 * math/w_atanhl.c: Likewise.
30586 * math/w_exp10.c: Likewise.
30587 * math/w_exp10f.c: Likewise.
30588 * math/w_exp10l.c: Likewise.
30589 * math/w_fmod.c: Likewise.
30590 * math/w_fmodf.c: Likewise.
30591 * math/w_fmodl.c: Likewise.
30592 * math/w_j0.c: Likewise.
30593 * math/w_j0f.c: Likewise.
30594 * math/w_j0l.c: Likewise.
30595 * math/w_j1.c: Likewise.
30596 * math/w_j1f.c: Likewise.
30597 * math/w_j1l.c: Likewise.
30598 * math/w_jn.c: Likewise.
30599 * math/w_jnf.c: Likewise.
30600 * math/w_log.c: Likewise.
30601 * math/w_logf.c: Likewise.
30602 * math/w_logl.c: Likewise.
30603 * math/w_log10.c: Likewise.
30604 * math/w_log10f.c: Likewise.
30605 * math/w_log10l.c: Likewise.
30606 * math/w_log2.c: Likewise.
30607 * math/w_log2f.c: Likewise.
30608 * math/w_log2l.c: Likewise.
30609 * math/w_pow.c: Likewise.
30610 * math/w_powf.c: Likewise.
30611 * math/w_powl.c: Likewise.
30612 * math/w_remainder.c: Likewise.
30613 * math/w_remainderf.c: Likewise.
30614 * math/w_remainderl.c: Likewise.
30615 * math/w_scalb.c: Likewise.
30616 * math/w_scalbf.c: Likewise.
30617 * math/w_scalbl.c: Likewise.
30618 * math/w_sqrt.c: Likewise.
30619 * math/w_sqrtf.c: Likewise.
30620 * math/w_sqrtl.c: Likewise.
30621 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30622 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30624 * math/math_private.h: Declare __kernel_standard_f.
30625 * math/w_cosh.c: Remove cruft and optimize a bit.
30626 * math/w_coshf.c: Likewise.
30627 * math/w_coshl.c: Likewise.
30628 * math/w_exp2.c: Likewise.
30629 * math/w_exp2f.c: Likewise.
30630 * math/w_exp2l.c: Likewise.
30631 * math/w_hypot.c: Likewise.
30632 * math/w_hypotf.c: Likewise.
30633 * math/w_hypotl.c: Likewise.
30634 * math/w_lgamma.c: Likewise.
30635 * math/w_lgamma_r.c: Likewise.
30636 * math/w_lgammaf.c: Likewise.
30637 * math/w_lgammaf_r.c: Likewise.
30638 * math/w_lgammal.c: Likewise.
30639 * math/w_lgammal_r.c: Likewise.
30640 * math/w_sinh.c: Likewise.
30641 * math/w_sinhf.c: Likewise.
30642 * math/w_sinhl.c: Likewise.
30643 * math/w_tgamma.c: Likewise.
30644 * math/w_tgammaf.c: Likewise.
30645 * math/w_tgammal.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30648 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30649 Minor optimizations. Pretty printing. Remove cruft.
30650 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30652 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30653 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30654 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30655 * sysdeps/i386/fpu/e_asin.S: Likewise.
30656 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30657 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30658 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30659 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30660 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30663 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30664 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30665 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30666 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30667 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30668 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30669 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30670 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30671 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30672 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30673 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30674 * sysdeps/i386/fpu/e_log.S: Likewise.
30675 * sysdeps/i386/fpu/e_log10.S: Likewise.
30676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30677 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30678 * sysdeps/i386/fpu/e_log2.S: Likewise.
30679 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30681 * sysdeps/i386/fpu/e_logf.S: Likewise.
30682 * sysdeps/i386/fpu/e_logl.S: Likewise.
30683 * sysdeps/i386/fpu/e_pow.S: Likewise.
30684 * sysdeps/i386/fpu/e_powf.S: Likewise.
30685 * sysdeps/i386/fpu/e_powl.S: Likewise.
30686 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30687 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30688 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30692 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30693 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30694 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30695 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30698 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30700 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30702 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30703 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30704 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30705 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30709 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30711 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30712 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30716 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30719 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30720 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30721 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30722 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30723 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30724 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30725 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30726 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30727 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30729 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30730 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30731 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30732 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30733 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30734 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30735 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30736 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30780 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30781 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30783 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30786 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30787 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30788 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30789 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30790 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30791 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30792 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30793 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30794 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30795 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30796 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30797 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30798 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30799 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30800 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30803 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30804 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30805 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30806 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30807 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30808 (__isnanf): Likewise.
30809 (__isinf_ns): Likewise.
30810 (__isinf_nsf): Likewise.
30811 (__finite): Likewise.
30812 (__finitef): Likewise.
30813 (__ieee754_sqrt): Define as macro.
30814 (__ieee754_sqrtf): Define as macro.
30815 (__ieee754_sqrtl): Define as macro.
30816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30818 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30819 __FINITE_MATH_ONLY__ consistent.
30820 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30822 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30824 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30829 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30831 * po/ja.po: Update from translation team.
30833 2011-10-08 Roland McGrath <roland@hack.frob.com>
30835 * locale/programs/locarchive.c (prepare_address_space): New function.
30836 (create_archive, enlarge_archive, open_archive): Use it.
30838 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30839 inside [SHARED], where it is used.
30841 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30843 * nss/getent.c (netgroup_keys): Remove unused variable.
30844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30846 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30848 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30849 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30852 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30854 * math/Makefile (libm-calls): Add s_isinf_ns.
30855 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30856 * math/multc3.c: Likewise.
30857 * math/s_casin.c: Likewise.
30858 * math/s_casinf.c: Likewise.
30859 * math/s_casinl.c: Likewise.
30860 * math/s_ccos.c: Likewise.
30861 * math/s_ccosf.c: Likewise.
30862 * math/s_ccosl.c: Likewise.
30863 * math/s_ctan.c: Likewise.
30864 * math/s_ctanf.c: Likewise.
30865 * math/s_ctanh.c: Likewise.
30866 * math/s_ctanhf.c: Likewise.
30867 * math/s_ctanhl.c: Likewise.
30868 * math/s_ctanl.c: Likewise.
30869 * math/w_fmod.c: Likewise.
30870 * math/w_fmodf.c: Likewise.
30871 * math/w_fmodl.c: Likewise.
30872 * math/w_remainder.c: Likewise.
30873 * math/w_remainderf.c: Likewise.
30874 * math/w_remainderl.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30876 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30877 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30879 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30880 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30881 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30882 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30884 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30886 * stdio-common/printf_fphex.c: Likewise.
30887 * stdio-common/printf_size.c: Likewise.
30889 * math/e_exp10.c: Include math_private.h using <...> not "...".
30890 * math/e_exp10f.c: Likewise.
30891 * math/e_exp10l.c: Likewise.
30892 * math/e_exp2l.c: Likewise.
30893 * math/e_j0l.c: Likewise.
30894 * math/e_j1l.c: Likewise.
30895 * math/e_jnl.c: Likewise.
30896 * math/e_lgammal_r.c: Likewise.
30897 * math/e_rem_pio2l.c: Likewise.
30898 * math/e_scalb.c: Likewise.
30899 * math/e_scalbf.c: Likewise.
30900 * math/e_scalbl.c: Likewise.
30901 * math/k_cosl.c: Likewise.
30902 * math/k_sinl.c: Likewise.
30903 * math/k_tanl.c: Likewise.
30904 * math/s_cacoshf.c: Likewise.
30905 * math/s_catan.c: Likewise.
30906 * math/s_catanf.c: Likewise.
30907 * math/s_catanh.c: Likewise.
30908 * math/s_catanhf.c: Likewise.
30909 * math/s_catanhl.c: Likewise.
30910 * math/s_catanl.c: Likewise.
30911 * math/s_ccosh.c: Likewise.
30912 * math/s_ccoshf.c: Likewise.
30913 * math/s_ccoshl.c: Likewise.
30914 * math/s_cexp.c: Likewise.
30915 * math/s_cexpf.c: Likewise.
30916 * math/s_cexpl.c: Likewise.
30917 * math/s_clog.c: Likewise.
30918 * math/s_clog10.c: Likewise.
30919 * math/s_clog10f.c: Likewise.
30920 * math/s_clog10l.c: Likewise.
30921 * math/s_clogf.c: Likewise.
30922 * math/s_clogl.c: Likewise.
30923 * math/s_csin.c: Likewise.
30924 * math/s_csinf.c: Likewise.
30925 * math/s_csinh.c: Likewise.
30926 * math/s_csinhf.c: Likewise.
30927 * math/s_csinhl.c: Likewise.
30928 * math/s_csinl.c: Likewise.
30929 * math/s_csqrt.c: Likewise.
30930 * math/s_csqrtf.c: Likewise.
30931 * math/s_csqrtl.c: Likewise.
30932 * math/s_ctan.c: Likewise.
30933 * math/s_ctanf.c: Likewise.
30934 * math/s_ctanh.c: Likewise.
30935 * math/s_ctanhf.c: Likewise.
30936 * math/s_ctanhl.c: Likewise.
30937 * math/s_ctanl.c: Likewise.
30938 * math/s_ldexp.c: Likewise.
30939 * math/s_ldexpf.c: Likewise.
30940 * math/s_ldexpl.c: Likewise.
30941 * math/s_significand.c: Likewise.
30942 * math/s_significandf.c: Likewise.
30943 * math/s_significandl.c: Likewise.
30944 * math/w_acos.c: Likewise.
30945 * math/w_acosf.c: Likewise.
30946 * math/w_acosh.c: Likewise.
30947 * math/w_acoshf.c: Likewise.
30948 * math/w_acoshl.c: Likewise.
30949 * math/w_acosl.c: Likewise.
30950 * math/w_asin.c: Likewise.
30951 * math/w_asinf.c: Likewise.
30952 * math/w_asinl.c: Likewise.
30953 * math/w_atan2.c: Likewise.
30954 * math/w_atan2f.c: Likewise.
30955 * math/w_atan2l.c: Likewise.
30956 * math/w_atanh.c: Likewise.
30957 * math/w_atanhf.c: Likewise.
30958 * math/w_atanhl.c: Likewise.
30959 * math/w_cosh.c: Likewise.
30960 * math/w_coshf.c: Likewise.
30961 * math/w_coshl.c: Likewise.
30962 * math/w_dremf.c: Likewise.
30963 * math/w_exp10.c: Likewise.
30964 * math/w_exp10f.c: Likewise.
30965 * math/w_exp10l.c: Likewise.
30966 * math/w_exp2.c: Likewise.
30967 * math/w_exp2f.c: Likewise.
30968 * math/w_fmod.c: Likewise.
30969 * math/w_fmodf.c: Likewise.
30970 * math/w_fmodl.c: Likewise.
30971 * math/w_hypot.c: Likewise.
30972 * math/w_hypotf.c: Likewise.
30973 * math/w_hypotl.c: Likewise.
30974 * math/w_j0.c: Likewise.
30975 * math/w_j0f.c: Likewise.
30976 * math/w_j0l.c: Likewise.
30977 * math/w_j1.c: Likewise.
30978 * math/w_j1f.c: Likewise.
30979 * math/w_j1l.c: Likewise.
30980 * math/w_jn.c: Likewise.
30981 * math/w_jnf.c: Likewise.
30982 * math/w_jnl.c: Likewise.
30983 * math/w_lgamma.c: Likewise.
30984 * math/w_lgamma_r.c: Likewise.
30985 * math/w_lgammaf.c: Likewise.
30986 * math/w_lgammaf_r.c: Likewise.
30987 * math/w_lgammal.c: Likewise.
30988 * math/w_lgammal_r.c: Likewise.
30989 * math/w_log.c: Likewise.
30990 * math/w_log10.c: Likewise.
30991 * math/w_log10f.c: Likewise.
30992 * math/w_log10l.c: Likewise.
30993 * math/w_log2.c: Likewise.
30994 * math/w_log2f.c: Likewise.
30995 * math/w_log2l.c: Likewise.
30996 * math/w_logf.c: Likewise.
30997 * math/w_logl.c: Likewise.
30998 * math/w_pow.c: Likewise.
30999 * math/w_powf.c: Likewise.
31000 * math/w_powl.c: Likewise.
31001 * math/w_remainder.c: Likewise.
31002 * math/w_remainderf.c: Likewise.
31003 * math/w_remainderl.c: Likewise.
31004 * math/w_scalb.c: Likewise.
31005 * math/w_scalbf.c: Likewise.
31006 * math/w_scalbl.c: Likewise.
31007 * math/w_sinh.c: Likewise.
31008 * math/w_sinhf.c: Likewise.
31009 * math/w_sinhl.c: Likewise.
31010 * math/w_sqrt.c: Likewise.
31011 * math/w_sqrtf.c: Likewise.
31012 * math/w_sqrtl.c: Likewise.
31013 * math/w_tgamma.c: Likewise.
31014 * math/w_tgammaf.c: Likewise.
31015 * math/w_tgammal.c: Likewise.
31017 * po/ja.po: Update from translation team.
31019 2011-09-29 Andreas Jaeger <aj@suse.de>
31022 * sunrpc/netname.c (netname2host): Fix logic.
31026 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31028 * math/w_remainder.c (__remainder): Likewise.
31029 * math/w_remainderf.c (__remainderf): Likewise.
31030 * math/libm-test.inc (remainder_test): Add test cases.
31032 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31034 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31037 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31039 * string/test-memcmp.c: Avoid unncessary #defines.
31040 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31042 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31044 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31045 Use new sse2 version for core i3 - i7 as it's faster
31046 than sse42 version.
31047 (bit_Prefer_PMINUB_for_stringop): New.
31048 * sysdeps/x86_64/rawmemchr.S: Update.
31049 Replace with faster SSE2 version.
31050 * sysdeps/x86_64/memrchr.S: New file.
31051 * sysdeps/x86_64/memchr.S: Update.
31052 Replace with faster SSE2 version.
31054 2011-09-12 Marek Polacek <mpolacek@redhat.com>
31056 * elf/dl-load.c (lose): Add cast to avoid warning.
31058 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31060 * po/ca.po: Update from translation team.
31062 * inet/getnetgrent_r.c: Hook up nscd.
31063 * nscd/Makefile (routines): Add nscd_netgroup.
31064 (nscd-modules): Add netgroupcache.
31065 (CFLAGS-netgroupcache.c): Define.
31066 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31067 (cache_search): Add const to second parameter.
31068 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31070 (dbs): Add netgrdb entry.
31071 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31072 (verify_persistent_db): Handle netgrdb.
31073 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31074 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31076 (netgroup_response_header): Define.
31077 (innetgroup_response_header): Define.
31078 (datahead): Add netgroup_response_header and innetgroup_response_header
31080 * nscd/nscd.conf: Add entries for netgroup cache.
31081 * nscd/nscd.h (dbtype): Add netgrdb.
31082 (_PATH_NSCD_NETGROUP_DB): Define.
31083 (netgroup_iov_disabled): Declare.
31084 (xmalloc, xcalloc, xrealloc): Move declarations here.
31085 (cache_search): Adjust prototype.
31086 Add netgroup-related prototypes.
31087 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31088 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31089 (__nscd_innetgr): Declare.
31090 * nscd/selinux.c (perms): Use access_vector_t as element type and
31091 add netgroup-related initializers.
31092 * nscd/netgroupcache.c: New file.
31093 * nscd/nscd_netgroup.c: New file.
31094 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31095 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31096 For four parameters use innetgr.
31097 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31098 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31099 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31100 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31102 * nscd/connections.c (register_traced_file): Don't register file
31103 for disabled databases.
31105 2011-10-06 Ulrich Drepper <drepper@gmail.com>
31107 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31109 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31110 from tree and freeing node.
31112 2011-09-25 Jiri Olsa <jolsa@redhat.com>
31114 * nss/nsswitch.c (__nss_database_lookup): Handle
31115 nss_parse_service_list out of memory case.
31117 2011-09-15 Jiri Olsa <jolsa@redhat.com>
31119 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31120 out of memory case.
31122 2011-10-04 Andreas Schwab <schwab@redhat.com>
31124 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31125 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31127 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31128 elf_machine_rela, elf_machine_lazy_rel.
31129 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31130 (ELF_DYNAMIC_DO_REL): Likewise.
31131 (ELF_DYNAMIC_DO_RELA): Likewise.
31132 (ELF_DYNAMIC_RELOCATE): Likewise.
31133 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31134 to ELF_DYNAMIC_DO_REL.
31135 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31136 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31137 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31140 skip_ifunc, don't call ifunc function if non-zero.
31141 (elf_machine_rela): Likewise.
31142 (elf_machine_lazy_rel): Likewise.
31143 (elf_machine_lazy_rela): Likewise.
31144 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31145 (elf_machine_lazy_rel): Likewise.
31146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31148 (elf_machine_lazy_rel): Likewise.
31149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31151 (elf_machine_lazy_rel): Likewise.
31152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31153 (elf_machine_lazy_rel): Likewise.
31154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31155 (elf_machine_lazy_rel): Likewise.
31156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31157 (elf_machine_lazy_rel): Likewise.
31158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31159 (elf_machine_lazy_rel): Likewise.
31160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31161 (elf_machine_lazy_rel): Likewise.
31162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31163 (elf_machine_lazy_rel): Likewise.
31165 2011-09-28 Ulrich Drepper <drepper@gmail.com>
31167 * nss/nss_files/files-init.c (_nss_files_init): Use static
31168 initialization for all the *_traced_file variables.
31170 2011-09-28 Andreas Schwab <schwab@redhat.com>
31172 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31174 2011-09-27 Roland McGrath <roland@hack.frob.com>
31177 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31179 2011-09-27 Andreas Schwab <schwab@redhat.com>
31181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31182 Reread the line before reparsing it.
31184 2011-09-26 Andreas Schwab <schwab@redhat.com>
31186 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31188 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31189 Maxim Kuvyrkov <maxim@codesourcery.com>
31190 Joseph Myers <joseph@codesourcery.com>
31192 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31193 if needed for __stack_chk_guard.
31195 2011-09-19 Roland McGrath <roland@hack.frob.com>
31197 * sysdeps/posix/spawni.c (script_execute): Always define it.
31198 It will be optimized away if unused.
31199 (maybe_script_execute): New function.
31200 (__spawni): Call it.
31202 * Makerules: Don't include tls.make.
31203 (config-tls): Always set to thread.
31204 * tls.make.c: File removed.
31206 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31208 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31209 * config.make.in (CPPFLAGS-config): New substituted variable.
31211 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31216 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31217 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31219 2011-09-15 Roland McGrath <roland@hack.frob.com>
31221 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31222 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31224 (CALL_FAIL): Likewise.
31225 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31226 (CALL_FAIL): Macro removed.
31227 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31229 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31231 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31232 for __FINITE_MATH_ONLY__ == 1.
31234 2011-09-15 Andreas Schwab <schwab@redhat.com>
31236 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31237 __ieee754_sqrt instead of sqrt.
31238 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31239 __ieee754_sqrtf instead of sqrtf.
31240 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31241 __floorf instead of floorf.
31242 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31243 __floorf, __truncf instead of floorf, truncf.
31245 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31247 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31249 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31250 __extern_always_inline.
31251 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31254 2011-09-14 Andreas Schwab <schwab@redhat.com>
31256 * elf/rtld.c (dl_main): Also relocate in dependency order when
31257 doing symbol dependency testing.
31259 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31262 Always define `refsym'.
31264 2011-09-13 Andreas Schwab <schwab@redhat.com>
31266 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31267 (__FD_ELT): Renamed from __FDELT.
31268 * misc/bits/select2.h (__FD_ELT): Likewise.
31269 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31270 __FD_MASK instead of __FDELT, __FDMASK.
31271 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31273 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31276 * elf/Makefile (gen-ldd): Fix pattern.
31278 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31279 (init_tls): Likewise.
31281 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31285 2011-09-12 Andreas Schwab <schwab@redhat.com>
31287 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31288 `struct cmsghdr *' instead of `void *'.
31289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31292 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31294 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31296 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31297 ldd_rewrite_script.
31299 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31301 * configure.in: Remove --with-tls option.
31302 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31303 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31304 out in case it is missing.
31305 * sysdeps/ia64/elf/configure.in: Likewise.
31306 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31307 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31308 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31309 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31310 * sysdeps/sh/elf/configure.in: Likewise.
31311 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31312 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31313 * sysdeps/x86_64/elf/configure.in: Likewise.
31314 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31315 * sysdeps/mach/hurd/tls.h: Likewise.
31318 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31321 * configure.in: Fix use of AC_INIT.
31323 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31325 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31327 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31329 * malloc/hooks.c: Likewise.
31332 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31333 variables statically.
31334 (narenas): Initialize.
31335 (list_lock): Initialize.
31336 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31337 initializtion of main_arena and list_lock. Small cleanups.
31338 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31339 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31340 Add initializers to main_arena and mp_.
31341 (malloc_state): Remove pagesize member. Change all users to use
31344 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31345 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31346 is always initialized.
31348 * malloc/malloc.c: Removed unused configurations and dead code.
31349 * malloc/arena.c: Likewise.
31350 * malloc/hooks.c: Likewise.
31351 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31353 * include/tls.h: Removed. USE___THREAD must always be defined.
31354 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31355 * elf/dl-libc.c: Likewise.
31356 * elf/dl-tsd.c: Likewise.
31357 * include/errno.h: Likewise.
31358 * include/netdb.h: Likewise.
31359 * include/resolv.h: Likewise.
31360 * inet/herrno-loc.c: Likewise.
31361 * inet/herrno.c: Likewise.
31362 * malloc/arena.c: Likewise.
31363 * malloc/hooks.c: Likewise.
31364 * malloc/malloc.c: Likewise.
31365 * resolv/res-state.c: Likewise.
31366 * resolv/res_libc.c: Likewise.
31367 * sysdeps/i386/dl-machine.h: Likewise.
31368 * sysdeps/ia64/dl-machine.h: Likewise.
31369 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31370 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31371 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31372 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31373 * sysdeps/sh/dl-machine.h: Likewise.
31374 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31375 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31376 * sysdeps/unix/i386/sysdep.S: Likewise.
31377 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31378 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31383 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31387 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31388 * sysdeps/x86_64/dl-machine.h: Likewise.
31389 * tls.make.c: Likewise.
31391 * configure.in: Remove --with-__thread option. Make tests for
31392 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31393 tls_model attribute fail if no support is available. Remove
31395 * Makeconfig: Adjust for dropped configure option. All features are
31397 * Makerules: Likewise.
31398 * Versions.def: Likewise.
31399 * argp/argp-fmtstream.c: Likewise.
31400 * argp/argp-fmtstream.h: Likewise.
31401 * argp/argp-help.c: Likewise.
31402 * assert/assert.c: Likewise.
31403 * config.h.in: Likewise.
31404 * config.make.in: Likewise.
31405 * configure: Likewise.
31406 * configure.in: Likewise.
31407 * csu/Versions: Likewise.
31408 * csu/init.c: Likewise.
31409 * elf/tst-audit2.c: Likewise.
31410 * elf/tst-tls10.c: Likewise.
31411 * elf/tst-tls10.h: Likewise.
31412 * elf/tst-tls11.c: Likewise.
31413 * elf/tst-tls12.c: Likewise.
31414 * elf/tst-tls14.c: Likewise.
31415 * elf/tst-tlsmod11.c: Likewise.
31416 * elf/tst-tlsmod12.c: Likewise.
31417 * elf/tst-tlsmod13.c: Likewise.
31418 * elf/tst-tlsmod13a.c: Likewise.
31419 * elf/tst-tlsmod14a.c: Likewise.
31420 * elf/tst-tlsmod15b.c: Likewise.
31421 * elf/tst-tlsmod16a.c: Likewise.
31422 * elf/tst-tlsmod16b.c: Likewise.
31423 * elf/tst-tlsmod7.c: Likewise.
31424 * elf/tst-tlsmod8.c: Likewise.
31425 * elf/tst-tlsmod9.c: Likewise.
31426 * gmon/gmon.c: Likewise.
31427 * grp/fgetgrent_r.c: Likewise.
31428 * grp/putgrent.c: Likewise.
31429 * hurd/fopenport.c: Likewise.
31430 * include/libc-symbols.h: Likewise.
31431 * include/tls.h: Likewise.
31432 * intl/gettextP.h: Likewise.
31433 * intl/loadinfo.h: Likewise.
31434 * locale/global-locale.c: Likewise.
31435 * locale/localeinfo.h: Likewise.
31436 * mach/devstream.c: Likewise.
31437 * malloc/arena.c: Likewise.
31438 * malloc/set-freeres.c: Likewise.
31439 * misc/err.c: Likewise.
31440 * misc/getttyent.c: Likewise.
31441 * misc/mntent_r.c: Likewise.
31442 * posix/getopt.c: Likewise.
31443 * posix/wordexp.c: Likewise.
31444 * pwd/fgetpwent_r.c: Likewise.
31445 * resolv/Versions: Likewise.
31446 * resolv/res_hconf.c: Likewise.
31447 * shadow/fgetspent_r.c: Likewise.
31448 * shadow/putspent.c: Likewise.
31449 * stdio-common/printf_fphex.c: Likewise.
31450 * stdio-common/tmpfile.c: Likewise.
31451 * stdlib/abort.c: Likewise.
31452 * stdlib/fmtmsg.c: Likewise.
31453 * sunrpc/auth_unix.c: Likewise.
31454 * sunrpc/clnt_perr.c: Likewise.
31455 * sunrpc/clnt_tcp.c: Likewise.
31456 * sunrpc/clnt_udp.c: Likewise.
31457 * sunrpc/clnt_unix.c: Likewise.
31458 * sunrpc/openchild.c: Likewise.
31459 * sunrpc/svc_simple.c: Likewise.
31460 * sunrpc/svc_tcp.c: Likewise.
31461 * sunrpc/svc_udp.c: Likewise.
31462 * sunrpc/svc_unix.c: Likewise.
31463 * sunrpc/xdr.c: Likewise.
31464 * sunrpc/xdr_array.c: Likewise.
31465 * sunrpc/xdr_rec.c: Likewise.
31466 * sunrpc/xdr_ref.c: Likewise.
31467 * sunrpc/xdr_stdio.c: Likewise.
31469 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31471 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31473 2011-07-03 Andreas Jaeger <aj@suse.de>
31475 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31476 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31477 regenerate with gen-libm-tests.pl.
31479 2010-05-12 Petr Baudis <pasky@suse.cz>
31482 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31483 around j0() zero points by switching to j1().
31484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31485 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31487 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31489 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31491 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31493 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31496 Patch in part by Pavel Roskin <proski@gnu.org>.
31499 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31501 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31502 Free memory block if necessary.
31505 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31506 be NULL. Don't lock in this case.
31508 2011-09-09 Roland McGrath <roland@hack.frob.com>
31510 * elf/elf.h (ELFOSABI_GNU): New macro.
31511 (ELFOSABI_LINUX): Define to that.
31513 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31515 * string/strncat.c (strncat): Undef the symbol in case it has been
31516 defined in bits/string.h.
31518 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31520 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31522 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31525 2011-08-17 Andreas Jaeger <aj@suse.de>
31527 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31529 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31530 Ian Lance Taylor <iant@google.com>
31532 * math/libm-test.inc (lround_test): New testcase.
31533 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31535 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31537 * Makefile: Remove support for automatic cvs check-ins.
31538 * Makerules: Likewise.
31539 * config.make.in: Likewise.
31540 * configure.in: Likewise.
31541 * intl/Makefile: Likewise.
31542 * locale/Makefile: Likewise.
31543 * po/Makefile: Likewise.
31544 * posix/Makefile: Likewise.
31545 * sysdeps/gnu/Makefile: Likewise.
31546 * sysdeps/mach/hurd/Makefile: Likewise.
31547 * sysdeps/sparc/sparc32/Makefile: Likewise.
31550 * posix/Makefile (bug-regex32-ENV): Define.
31551 Patch by John Stanley <jpsinthemix@verizon.net>.
31553 * misc/Makefile (headers): Add bits/select2.h.
31554 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31555 * misc/bits/select2.h: New file.
31556 * include/bits/select2.h: New file.
31557 * debug/Makefile (routines): Add fdelt_chk.
31558 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31559 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31561 * debug/fdelt_chk.c: New file.
31563 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31564 * wcsmbs/test-wmemcmp.c: Likewise.
31565 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31566 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31568 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31570 * string/Makefile (strop-tests): Add memcmp.
31571 * string/test-wmemcmp.c: New file.
31572 * string/test-memcmp.c: Add wmemcmp support.
31574 2011-09-08 Roland McGrath <roland@hack.frob.com>
31577 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31580 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31581 garbage value in a __mach_port_mod_refs call in the cases of the
31582 task-self and thread-self ports.
31584 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31586 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31588 2011-09-08 Andreas Schwab <schwab@redhat.com>
31590 * elf/dl-load.c (lose): Check for non-null L.
31592 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31594 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31596 * elf/dl-libc.c (dlerror_run): Pass back error code from
31600 * elf/dl-load.c (lose): Free l_origin if it is valid.
31602 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31604 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31607 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31609 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31611 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31613 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31614 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31615 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31616 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31617 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31618 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31619 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31620 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31621 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31622 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31624 2011-08-15 Alan Modra <amodra@gmail.com>
31627 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31628 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31629 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31630 ppc_mcount to static-only-routines.
31631 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31633 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31634 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31636 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31638 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31639 for finite and infinity parameters.
31641 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31643 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31644 and add nop instructions for throughput optimization.
31645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31647 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31650 aligned copy for power7 with vector-scalar instructions.
31651 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31653 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31658 2011-09-07 Andreas Schwab <schwab@redhat.com>
31661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31664 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31666 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31667 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31668 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31669 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31672 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31674 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31675 Forgot to demangle the pointer.
31677 * sysdeps/i386/sysdep.h: Define atom_text_section.
31678 * sysdeps/x86_64/sysdep.h: Likewise.
31679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31680 section with atom_text_section.
31681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31682 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31683 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31684 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31685 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31688 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31689 already be defined. Change to take two parameters and don't assign
31690 result to variable. Adjust all users.
31691 Define INTERNAL_GETTIME if not already defined.
31692 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31695 HAVE_CLOCK_GETTIME_VSYSCALL.
31696 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31699 gettimeofday vsyscall, just use time.
31701 2011-09-06 Andreas Schwab <schwab@redhat.com>
31703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31706 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31708 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31712 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31714 syscall if possible.
31716 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31718 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31719 e_ident. Don't pass to find_mapsXX.
31720 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31722 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31725 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31726 * sysdeps/x86_64/multiarch/strchr.S: Update.
31727 Check bit_slow_BSF bit.
31728 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31729 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31730 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31732 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31735 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31737 (tryshell): Define.
31738 (__spawni): Change last parameter to be flag. Test
31739 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31740 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31741 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31742 * posix/spawni.c: Likewise.
31743 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31744 * posix/spawnp.c: Likewise. Change normal version to use
31745 SPAWN_XFLAGS_USE_PATH.
31746 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31747 SPAWN_XFLAGS_TRY_SHELL.
31750 * posix/glob.h: Remove gcc 1.x support.
31753 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31755 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31758 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31760 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31761 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31762 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31763 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31764 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31765 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31767 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31769 * sysdeps/x86_64/wcscmp.S: New file.
31771 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31772 wcscmp-c wcscmp-sse2
31773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31774 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31775 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31776 * wcsmbs/wcscmp.c: Allow renaming.
31778 2011-09-05 David S. Miller <davem@davemloft.net>
31780 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31781 stack slot, rather than the struct return pointer slot.
31782 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31783 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31785 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31787 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31789 * po/ja.po: Update from translation team.
31792 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31793 kernel in 64-bit binaries.
31795 2011-09-01 David S. Miller <davem@davemloft.net>
31797 * elf/elf.h (HWCAP_SPARC_*): Move to..
31798 * sysdeps/sparc/sysdep.h: this new file and add new values.
31799 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31800 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31801 _DL_HWCAP_COUNT to 24.
31802 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31804 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31805 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31806 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31808 instead of magic constants.
31809 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31811 2011-08-31 David S. Miller <davem@davemloft.net>
31813 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31815 Reimplement to do errno handling inline.
31816 (SYSCALL_ERROR_HANDLER): New macro.
31817 (__SYSCALL_STRING): Do not do errno handling in asm.
31818 (__CLONE_SYSCALL_STRING): Delete.
31819 (__INTERNAL_SYSCALL_STRING): Delete.
31820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31821 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31822 (PSEUDO): Reimplement to do errno handling inline.
31823 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31824 (SYSCALL_ERROR_HANDLER): New macro.
31825 (__SYSCALL_STRING): Do not do errno handling in asm.
31826 (__CLONE_SYSCALL_STRING): Delete.
31827 (__INTERNAL_SYSCALL_STRING): Delete.
31828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31829 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31831 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31832 (inline_syscall*): Add 'err' argument.
31833 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31834 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31835 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31836 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31838 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31839 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31841 2011-08-30 Andreas Schwab <schwab@redhat.com>
31843 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31845 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31847 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31850 2011-08-24 David S. Miller <davem@davemloft.net>
31852 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31854 2011-08-24 Andreas Schwab <schwab@redhat.com>
31856 * elf/Makefile: Add rules to build and run unload8 test.
31857 * elf/unload8.c: New file.
31858 * elf/unload8mod1.c: New file.
31859 * elf/unload8mod1x.c: New file.
31860 * elf/unload8mod2.c: New file.
31861 * elf/unload8mod3.c: New file.
31863 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31866 2011-08-23 David S. Miller <davem@davemloft.net>
31868 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31869 subtract stack bias.
31870 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31871 %sp not %fp in calculations.
31872 (_JMPBUF_UNWINDS_ADJ): Likewise.
31874 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31875 (aio_suspend): Call it to force an exception region around the
31876 AIO_MISC_WAIT() invocation.
31878 2011-08-23 Andreas Schwab <schwab@redhat.com>
31880 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31883 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31885 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31887 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31888 and <dl-machine.h>.
31889 (Elf64_FuncDesc): Remove.
31891 2011-08-22 David S. Miller <davem@davemloft.net>
31893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31894 sigaltstack check, add missing cfi directives.
31895 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31896 missing cfi directives, and sigaltstack handling.
31898 2011-08-16 Andreas Schwab <schwab@redhat.com>
31901 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31902 object is seen twice.
31903 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31905 * elf/Makefile (distribute): Add tst-initorder2.c.
31906 (tests): Add tst-initorder2.
31907 (modules-names): Add tst-initorder2a tst-initorder2b
31908 tst-initorder2c tst-initorder2d. Add rules to build them.
31909 ($(objpfx)tst-initorder2.out): New rule.
31910 * elf/tst-initorder2.c: New file.
31911 * elf/tst-initorder2.exp: New file.
31913 2011-08-22 Andreas Schwab <schwab@redhat.com>
31915 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31917 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31918 dependencies back to end of function.
31920 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31921 $(elfobjdir)/ld.so.
31923 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31926 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31928 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31929 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31930 of __vdso_gettimeofday.
31931 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31932 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31934 (_libc_vdso_platform_setup): Remove initialization of
31935 __vdso_gettimeofday and __vdso_time.
31937 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31939 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31940 and fgetc_unlocked.
31941 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31944 * elf/dl-open.c (add_to_global): Report additions to the global scope
31945 for LD_DEBUG=scopes.
31946 (dl_open_worker): Also print scope of newly loaded dependencies.
31947 (_dl_show_scope): Indicate if there is no scope.
31950 * stdio-common/Makefile (tests): Add bug24.
31951 * stdio-common/bug24.c: New file.
31953 2011-08-19 Andreas Jaeger <aj@suse.de>
31956 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31957 non-existant file when using close-on-exec mode.
31959 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31962 the very first instruction.
31964 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31965 the CFI state in the end.
31966 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31967 inclusion of dl-trampoline.h.
31968 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31970 2011-08-19 Andreas Schwab <schwab@redhat.com>
31972 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31973 expectations for long double.
31975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31976 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31978 2011-08-14 David S. Miller <davem@davemloft.net>
31980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31981 artificual limit depends upon the system page size.
31983 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31985 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31986 * resolv/Makefile: Define CFLAGS-libresolv.
31988 2011-08-17 Andreas Schwab <schwab@redhat.com>
31990 * nss/makedb.c (compute_tables): Make variables used in nested
31993 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31995 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31996 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31997 if buffer was too small.
31999 * elf/pldd.c (main): Attach to all threads in the process.
32000 Rewrite /proc handling to use *at functions.
32002 2011-08-16 Ulrich Drepper <drepper@gmail.com>
32004 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32005 specifies first scope to show.
32006 (dl_open_worker): Update callers. Move printing scope of new
32007 object to before the relocation.
32008 * elf/rtld.c (dl_main): Update _dl_show_scope call.
32009 * sysdeps/generic/ldsodefs.h: Update declaration.
32011 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32012 string for the scope number.
32014 2011-08-14 Ulrich Drepper <drepper@gmail.com>
32016 * nscd/servicescache.c (cache_addserv): Make sure written is always
32019 2011-08-14 Roland McGrath <roland@hack.frob.com>
32021 * sysdeps/i386/i486/bits/atomic.h
32022 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32023 statement expression, so as to suppress "set but not used" warning.
32024 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32026 * string/strncat.c (STRNCAT): Use prototype definition.
32028 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32029 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32031 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32032 (localedef-modules): Add localedef.
32033 (locale-modules): Add locale.
32035 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32036 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32037 to avoid a warning.
32039 2011-08-14 David S. Miller <davem@davemloft.net>
32041 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32042 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32044 2011-08-13 Ulrich Drepper <drepper@gmail.com>
32046 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32047 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32048 * elf/rtld.c (dl_main): Set l_name of vDSO.
32049 Call _dl_show_scope when DL_DEBUG_SCOPES.
32050 (process_dl_debug): Recognize scopes flag and also set it for all.
32051 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32052 Declare _dl_show_scope.
32054 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32055 (do_dlopen): Pass caller_dlopen to dl_open.
32056 (__libc_dlopen_mode): Initialize caller_dlopen.
32058 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32059 of libc. Make tolower call locale-independent. Optimize a bit by
32060 using isdigit instead of isalnum.
32061 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32063 2011-08-12 Ulrich Drepper <drepper@gmail.com>
32065 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32066 was a dependency or dynamically loaded.
32068 2011-08-11 Ulrich Drepper <drepper@gmail.com>
32070 * intl/l10nflist.c: Allow architecture-specific pop function.
32071 * sysdeps/x86_64/l10nflist.c: New file.
32073 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32076 2011-08-10 Andreas Schwab <schwab@redhat.com>
32078 * include/dirent.h: Add libc_hidden_proto for scandirat and
32079 scandirat64. Don't declare __scandirat64.
32080 * dirent/scandirat.c: Add libc_hidden_def.
32081 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32082 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32084 2011-08-10 David S. Miller <davem@davemloft.net>
32086 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32090 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32092 2011-08-09 Ulrich Drepper <drepper@gmail.com>
32094 * Versions.def [libc]: Add GLIBC_2.15.
32095 * dirent/Makefile (routines): Add scandirat and scandirat64.
32096 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32098 * dirent/dirent.h: Declare scandirat and scandirat64.
32099 * dirent/scandirat.c: New file.
32100 * dirent/scandirat64.c: New file.
32101 * sysdeps/wordsize-64/scandirat.c: New file.
32102 * sysdeps/wordsize-64/scandirat64.c: New file.
32103 * dirent/opendir.c: Define opendirat.
32104 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32106 * dirent/scandir64.c: Adjust for scandir.c change.
32107 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32108 __scandirat64, and __scandir_cancel_handler.
32109 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32110 additional parameter and use openat instead of open (outside of ld.so).
32111 Add new __opendir as wrapper around __opendirat.
32112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32113 here without requiring old scandirat implementation.
32115 2011-08-08 Ulrich Drepper <drepper@gmail.com>
32117 * dirent/scandir.c (cancel_handler): Renamed to
32118 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32119 defined. Adjust users.
32120 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32123 2011-08-04 Ulrich Drepper <drepper@gmail.com>
32125 * string/test-string.h (IMPL): Use __STRING to expand name and then
32128 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32131 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32133 * string/Makefile: Update.
32134 (strop-tests): Append strncat.
32135 * string/test-wcscmp.c: New file.
32136 New comprehensive test for wcscmp.
32137 * string/test-strcmp.c: Update.
32138 (WIDE): New define.
32140 2011-07-22 Andreas Schwab <schwab@redhat.com>
32142 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32145 2011-07-26 Andreas Schwab <schwab@redhat.com>
32147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32148 encoding to ACE if AI_IDN.
32150 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32153 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32155 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32158 Fix overflow bug in strncat.
32159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32161 * string/test-strncat.c: Update.
32162 Add new tests for checking overflow bugs.
32164 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32167 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32168 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32169 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32171 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32172 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32173 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32174 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32177 (USE_AS_STRCAT): Define.
32178 Add strcat and strncat support.
32179 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32181 2011-07-25 Andreas Schwab <schwab@redhat.com>
32183 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32184 __n bigger than INT_MAX+1.
32185 (__strncmp_g): Likewise.
32187 2011-07-23 Ulrich Drepper <drepper@gmail.com>
32189 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32190 * libio/stido.h: Likewise.
32192 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32197 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32200 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32204 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32209 (_dl_x86_64_save_sse): Likewise.
32211 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32215 (_dl_x86_64_save_sse): Likewise.
32217 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32219 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32221 2011-07-21 Andreas Schwab <schwab@redhat.com>
32223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32225 (_dl_x86_64_save_sse): Use correct AVX check.
32227 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32230 bug in strncpy/strncat.
32231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32233 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32235 * string/tester.c (test_strcat): Add tests for different alignments
32236 of source and destination.
32237 (test_strncat): Likewise.
32239 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32242 * posix/glob.c (glob): Check passed in values before using them in
32243 expressions to avoid some overflows.
32244 (glob_in_dir): Likewise.
32247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32248 check for AVX enablement so that we don't crash with old kernels and
32250 * elf/tst-audit4.c: Add same checks here.
32251 * elf/tst-audit6.c: Likewise.
32253 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32255 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32257 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32259 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32261 * po/cs.po: Update from translation team.
32262 * po/bg.po: Likewise.
32264 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32266 * misc/sys/cdefs.h: Add support for const attribute.
32267 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32268 to gnu_dev_{major,minor,makedev} functions.
32270 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32272 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32274 2011-07-20 Andreas Schwab <schwab@redhat.com>
32276 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32279 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32282 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32283 register in order to avoid conflicts with the soft frame pointer
32284 being held in r11 when necessary.
32285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32286 (INTERNAL_VSYSCALL_NCS): Likewise.
32288 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32290 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32291 * elf/dl-fini.c (_dl_fini): Adjust caller.
32292 * elf/dl-close.c (_dl_close_worker): Likewise.
32293 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32295 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32297 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32298 "aux_cache->nlibs < 0".
32300 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32301 in the reload-count case.
32303 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32306 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32307 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32308 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32309 * sysdeps/x86_64/multiarch/strcat.S: New file.
32310 * sysdeps/x86_64/multiarch/strncat.S: New file.
32311 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32312 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32313 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32314 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32315 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32316 (USE_AS_STRCAT): Define.
32317 Add strcat and strncat support.
32318 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32320 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32321 * string/strncat.c: Update.
32322 (USE_AS_STRNCAT): Define.
32323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32324 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32326 * sysdeps/x86_64/multiarch/init-arch.h
32327 (bit_Prefer_PMINUB_for_stringop): New.
32328 (index_Prefer_PMINUB_for_stringop): Likewise.
32329 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32330 bit_Prefer_PMINUB_for_stringop.
32332 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32334 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32336 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32337 of casting of buffer.
32338 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32339 buffer32 and buffer64.
32340 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32341 writes instead of casting of buffer.
32342 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32344 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32347 2011-07-19 Andreas Schwab <schwab@redhat.com>
32349 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32351 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32353 * nscd/nscd.c (termination_handler): Don't do anything for a database
32354 if it has not yet been initialized.
32356 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32358 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32360 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32362 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32364 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32366 * po/nl.po: Update from translation team.
32367 * po/sv.po: Likewise.
32369 2011-07-16 Roland McGrath <roland@hack.frob.com>
32371 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32372 now disallowed by GCC.
32374 * configure.in (use-default-link): Default to yes if a test -shared
32375 link meets our qualifications.
32376 * configure: Regenerated.
32378 * config.make.in (output-format): New variable.
32379 * configure.in: Check for ld --print-output-format support.
32380 * configure: Regenerated.
32381 * Makerules ($(common-objpfx)format.lds)
32382 [$(output-format) != unknown]: Just use $(output-format),
32383 instead of the linker-script munging.
32385 2011-07-14 Roland McGrath <roland@hack.frob.com>
32387 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32388 of $(common-objpfx)shlib.lds.
32389 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32391 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32392 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32394 * configure.in (-z relro check): Adjust test code to add a large
32395 writable data section after it.
32396 * configure: Regenerated.
32398 2011-07-11 Roland McGrath <roland@hack.frob.com>
32400 * configure.in (-z relro check): Fix test code to make the variable
32402 * configure: Regenerated.
32404 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32406 * nscd/nscd.h (struct traced_file): Define.
32407 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32408 elements. Add traced_files.
32409 (inotify_fd): Declare.
32410 (register_traced_file): Declare.
32411 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32412 (inotify_fd): Export.
32413 (resolv_conf_descr): Remove.
32414 (nscd_init): Move inotify descriptor creation to main.
32415 Don't register files for notification here.
32416 (register_traced_file): New function.
32417 (invalidate_cache): Don't use reset_res to determine whether to call
32418 res_init, go through the list of registered files.
32419 (main_loop_poll): The inotify descriptors are now stored in the
32420 structures for the traced files.
32421 (main_loop_epoll): Likewise
32422 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32423 to __nss_disable_nscd.
32424 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32425 for a database anymore. Check the records for all the registered
32427 * nss/Makefile (libnss_files-routines): Add files-init.
32428 (libnss_db-routines): Add db-init.
32429 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32430 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32431 * nss/nss_db/db-init.c: New file.
32432 * nss/nss_files/files-init.c: New file.
32433 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32434 __nss_lookup_function.
32435 (__nss_lookup_function): Call nss_load_library.
32436 (nss_load_all_libraries): New function.
32437 (__nss_disable_nscd): Take parameter with callback function for files
32438 to register. Set is_nscd. Load all the DSOs for the NSS modules
32439 used for the cached services.
32440 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32441 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32442 options for features to all the files in nscd.
32444 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32446 2011-07-10 Roland McGrath <roland@hack.frob.com>
32448 * csu/elf-init.c (__libc_csu_init): Comment typo.
32450 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32452 * po/pl.po: Update from translation team.
32453 * po/ja.po: Likewise.
32454 * po/ru.po: Likewise.
32455 * po/ko.po: Likewise.
32456 * po/fr.po: Likewise.
32458 2011-07-09 Roland McGrath <roland@hack.frob.com>
32460 * configure.in (.ctors/.dtors header and trailer check):
32461 Use an empirical test on a built program.
32462 * configure: Regenerated.
32464 * configure.in (-z relro check): Use an empirical test on a built DSO.
32465 Detect, but do not require, on ia64.
32466 * configure: Regenerated.
32468 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32469 Update tests that use readelf to use $READELF instead.
32470 * configure: Regenerated.
32472 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32474 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32475 if the result is not used.
32477 2011-07-05 Andreas Jaeger <aj@suse.de>
32480 * stdlib/tst-strtod.c: Add testcase.
32482 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32484 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32485 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32486 The latter has a higher limit. Take additional parameter to pass to
32488 (__pathconf): Pass file to __statfs_link_max.
32489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32491 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32495 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32498 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32499 (__statfs_filesize_max): Likewise.
32500 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32502 2011-07-05 Andreas Jaeger <aj@suse.de>
32504 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32506 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32508 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32510 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32513 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32515 * Makefile (strop-tests): Add strncat.
32516 * string/test-strncat.c: New file.
32518 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32520 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32522 2011-06-21 Andreas Jaeger <aj@suse.de>
32524 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32525 Copy rule from iconvdata/Makefile.
32527 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32530 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32531 but no long options are defined, just return 'W'.
32533 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32536 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32538 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32540 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32542 (innetgr): Likewise.
32544 2011-07-05 Roland McGrath <roland@hack.frob.com>
32546 * config.make.in (install_root): Default to $(DESTDIR).
32548 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32552 2011-07-02 Roland McGrath <roland@hack.frob.com>
32554 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32556 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32557 containing directory rather than embedding absolute directory names.
32559 * scripts/check-local-headers.sh: Rewritten using awk.
32560 Match by word, not by line. Print error messages for matches.
32561 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32563 * Makerules [shlib-lds-flags empty]:
32564 ($(common-objpfx)libc_pic.opts): New target.
32565 ($(common-objpfx)libc_pic.os.clean): New target.
32566 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32568 * config.make.in (OBJCOPY): New variable.
32569 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32570 * configure: Regenerated.
32572 * config.make.in (use-default-link): New variable.
32573 * configure.in (use_default_link): Grok --with-default-link to set it.
32574 * configure: Regenerated.
32575 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32576 (shlib-lds, shlib-lds-flags): Define to empty.
32578 * Makerules (shlib-lds): New variable.
32579 (shlib-lds-flags): New variable.
32580 (build-shlib, build-moduile, build-module-asneeded): Use it.
32581 ($(common-objpfx)libc.so): Use $(shlib-lds).
32582 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32583 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32585 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32586 DT_FLAGS/DT_FLAGS_1 with zero flags.
32588 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32589 linker script munging.
32591 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32593 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32595 * crypt/sha512.c (sha512_process_block): Perform total addition using
32596 128-bit if possible.
32597 (__sha512_finish_ctx): Likewise.
32598 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32600 * crypt/sha256.c (SWAP64): Define.
32601 (sha256_process_block): Perform total addition using 64-bit if
32603 (__sha256_finish_ctx): Likewise.
32605 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32607 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32609 * nscd/hstcache.c (cache_addhst): Likewise.
32610 * nscd/grpcache.c (cache_addgr): Likewise.
32611 * nscd/aicache.c (addhstaiX): Likewise
32612 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32614 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32616 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32618 * nscd/hstcache.c (cache_addhst): Likewise.
32619 * nscd/grpcache.c (cache_addgr): Likewise.
32620 * nscd/aicache.c (addhstaiX): Likewise
32622 2011-07-01 Andreas Schwab <schwab@redhat.com>
32624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32625 domain only when needed.
32627 2011-06-30 Andreas Schwab <schwab@redhat.com>
32629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32630 is always restored.
32632 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32634 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32635 are re-adding the entry.
32636 * nscd/servicescache.c (cache_addserv): Likewise.
32638 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32640 * sysdeps/generic/dl-irel.h: fix protection against multiple
32642 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32644 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32647 * malloc/memusage.sh: Fix quoting in message.
32648 * debug/xtrace.sh: Likewise.
32650 * configure.in: Remove support for --experimental-malloc option, make
32652 * config.make.in: Likewise.
32653 * malloc/Makefile: Likewise.
32655 2011-06-27 Andreas Schwab <schwab@redhat.com>
32657 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32658 two-byte characters.
32660 2011-06-27 Roland McGrath <roland@hack.frob.com>
32662 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32663 AC_CACHE_CHECK invocation.
32664 * configure: Regenerated.
32666 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32668 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32671 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32672 bit from old_res_options.
32674 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32676 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32677 value type for setfct.
32679 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32682 __gettimeofday instead of gettimeofday.
32684 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32686 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32688 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32690 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32695 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32698 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32699 strcpy-sse2-unaligned strncpy-sse2-unaligned
32700 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32701 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32702 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32703 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32704 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32707 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32708 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32709 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32710 (STRCPY): Support SSE2 and SSSE3 versions.
32712 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32715 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32716 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32717 kernels which artificially limit size of requests.
32719 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32722 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32723 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32724 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32725 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32726 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32727 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32728 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32729 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32731 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32732 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32733 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32734 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32735 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32737 Enable unaligned load optimization for Intel Core i3, i5 and i7
32739 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32741 (index_Fast_Unaligned_Load): Define.
32742 (HAS_FAST_UNALIGNED_LOAD): Define.
32744 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32746 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32748 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32752 until it is clear that the information is realy needed.
32753 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32755 2011-06-22 Andreas Schwab <schwab@redhat.com>
32757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32759 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32762 /sys/devices/system/cpu/online if it is usable.
32764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32765 reading the information from the /proc filesystem to once a second.
32767 2011-06-21 Andreas Jaeger <aj@suse.de>
32769 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32770 NULL after inclusion of kernel headers.
32772 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32774 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32775 calls to internal_setent.
32778 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32779 addresses using gethostbyname4_r ignore IPv4 addresses.
32781 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32782 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32784 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32786 2011-06-20 David S. Miller <davem@davemloft.net>
32788 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32790 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32792 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32793 (elf_irel): Use it.
32794 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32795 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32796 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32797 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32798 * sysdeps/x86_64/dl-irel.h: Likewise.
32800 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32801 * elf/dl-sym.c: Likewise.
32803 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32805 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32806 need to dereference resplen2.
32808 2011-06-14 Andreas Schwab <schwab@redhat.com>
32810 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32812 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32814 * Makeconfig: Define vardbdir and inst_vardbdir.
32815 * nss/Makefile: Add rules to install db-Makefile.
32817 * nss/nss_db/db-XXX.c: Cleanup.
32819 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32820 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32822 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32823 * nss/makedb.c: Implement -g option to specify that value strings
32824 are generated and should not be added to table iterated over for
32826 * nss/nss_db/db-initgroups.c: New file.
32828 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32831 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32832 (internal_getgrouplist): Adjust to name change.
32833 Update use_initgroups_entry if this is not the first call.
32834 * nss/databases.def: Add initgroups entry.
32836 * nss/makedb.c (compute_tables): Check result of multiple hash table
32837 sizes to minimize maximum chain length.
32839 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32841 * Versions.def: Add entry for libnss_db.
32842 * shlib-versions: Likewise.
32843 * nss/Makefile: Add rules to build libnss_db.
32844 * nss/Versions: Add libnss_db information. Organize libnss_files
32846 * nss/db-Makefile: Add gshadow support. Change rules for the new
32847 makedb progra. Some minor improvements to generate smaller files.
32848 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32850 * nss/makedb.c: ...here.
32851 Improve database format to be smaller and require less memory at
32853 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32855 * nss/nss_db/db-netgrp.c: Likewise.
32856 * nss/nss_db/db-open.c: Likewise.
32857 * nss/nss_files/flies-XXX.x: Adjust comments.
32858 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32859 * nss/nss_files/files-grp.c: Likewise.
32860 * nss/nss_files/files-hosts.c: Likewise.
32861 * nss/nss_files/files-network.c: Likewise.
32862 * nss/nss_files/files-proto.c: Likewise.
32863 * nss/nss_files/files-pwd.c: Likewise.
32864 * nss/nss_files/files-rpc.c: Likewise.
32865 * nss/nss_files/files-service.c: Likewise.
32866 * nss/nss_files/files-sgrp.c: Likewise.
32867 * nss/nss_files/files-spwd.c: Likewise.
32868 * nss/nss_db/db-alias.c: Removed.
32869 * nss/nss_db/dummy-db.h: Removed.
32871 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32873 * nss/makedb.c: Rewritten to not use database library.
32874 * nss/Makefile: Update to build new makedb program.
32876 2011-06-14 Andreas Jaeger <aj@suse.de>
32878 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32879 memset declaration.
32881 2011-06-10 Andreas Schwab <schwab@redhat.com>
32883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32886 2011-06-10 Roland McGrath <roland@hack.frob.com>
32888 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32889 * elf/Makefile ($(objpfx)ld.so): Likewise.
32891 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32892 Don't list ld.so twice in dependencies.
32894 * posix/bug-regex31.c: Include <stdlib.h>.
32896 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32898 * nis/nss_compat/compat-spwd.c
32899 (getspent_next_nss_netgr): Remove unused variable.
32900 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32902 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32903 nonmembers" output to use the right array.
32905 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32907 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32909 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32910 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32911 * catgets/gencat.c (read_input_file): Likewise.
32912 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32914 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32915 variable definition inside #if's controlling its use.
32917 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32919 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32921 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32923 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32926 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32928 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32929 * configure: Regenerated.
32931 * Makerules: Revert last change.
32932 * elf/Makefile: Likewise.
32934 2011-06-09 Roland McGrath <roland@hack.frob.com>
32936 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32937 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32938 (reloc-link): Likewise.
32940 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32942 * elf/Makefile: Add rules to build pldd.
32943 * elf/pldd.c: New file.
32944 * elf/pldd-xx.c: New file.
32946 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32948 * version.h: Update for 2.15 development version.
32950 2011-06-07 David S. Miller <davem@davemloft.net>
32952 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32955 elf_machine_lazy_rel): Likewise.
32956 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32958 elf_machine_lazy_rel): Likewise.
32959 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32960 dl_hwcap via passed in argument.
32961 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32964 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32966 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32968 2011-06-06 Roland McGrath <roland@hack.frob.com>
32971 * manual/fdl-1.1.texi: New file, verbatim from:
32972 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32973 * manual/lgpl-2.1.texi: New file, verbatim from:
32974 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32975 * manual/Makefile (licenses): New variable, list those new file names.
32977 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32979 * manual/fdl.texi: File removed.
32980 * manual/lesser.texi: File removed.
32981 * manual/libc.texinfo (Copying, Documentation License):
32982 Use new @include file names, put @appendix directive before @include.
32984 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32987 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32988 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32989 (mq_open): Add __NTH.
32991 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32994 Assume Intel Core i3/i5/i7 processor if AVX is available.
32996 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33001 2011-05-31 Andreas Schwab <schwab@redhat.com>
33003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33004 memory. Use alloca_account. Fix memory leak when retrying.
33006 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33008 * version.h (RELEASE): Bump for 2.14 release.
33009 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33011 * config.make.in (RANLIB): Remove entry.
33013 2011-05-30 Ulrich Drepper <drepper@gmail.com>
33015 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33016 (libc.pot): Work around missing support for .ksh extension in xgettext.
33019 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33020 if both request failed.
33021 (send_dg): In case of server errors clear resplen or *resplen2.
33024 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33025 when there are multiple maps.
33026 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33027 (_dl_fini): Remove test here.
33029 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33031 2011-05-29 Ulrich Drepper <drepper@gmail.com>
33034 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33035 bit from old_res_options.
33036 (gaih_inet): Likewise.
33039 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33042 * resolv/res_init.c (res_setoptions): Make the code more compact.
33045 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33049 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33051 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33054 * malloc/malloc.h: Declare malloc hook variables as volatile.
33056 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33060 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33061 raise in the comment.
33062 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33064 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33066 2011-05-28 Ulrich Drepper <drepper@gmail.com>
33069 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33070 grow the buffers more if it already has to be sufficient.
33071 (build_wcs_upper_buffer): Likewise.
33072 * posix/regexec.c (check_matching): Likewise.
33073 (clean_state_log_if_needed): Likewise.
33074 (extend_buffers): Don't enlarge buffers beyond size of the input
33076 Patches mostly by Emil Wojak <emil@wojak.eu>.
33077 * posix/bug-regex32.c: New file.
33078 * posix/Makefile (tests): Add bug-regex32.
33080 * locale/findlocale.c (_nl_find_locale): Return right away if
33081 _nl_explode_name failed.
33082 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33084 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33086 * debug/xtrace.sh: Unify messages.
33087 * malloc/memusage.sh: Likewise.
33090 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33091 time symbol from vDSO. Substitute with vsyscall if not available.
33092 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33095 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33096 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33097 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33098 Add sendmmsg and internal_sendmmsg.
33099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33100 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33101 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33103 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33104 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33107 2011-05-27 Ulrich Drepper <drepper@gmail.com>
33110 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33111 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33113 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33117 * iconvdata/Makefile (tests): Add bug-iconv9.
33118 * iconvdata/bug-iconv9.c: New file.
33120 2011-05-27 Andreas Schwab <schwab@redhat.com>
33123 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33125 2011-05-25 Jakub Jelinek <jakub@redhat.com>
33127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33128 (struct user_regs_struct): Change intcs field back to cs.
33130 2011-05-25 Ulrich Drepper <drepper@gmail.com>
33132 * po/ja.po: Update from translation team.
33134 2011-05-23 Ulrich Drepper <drepper@gmail.com>
33137 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33138 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33140 2011-05-20 Andreas Schwab <schwab@redhat.com>
33142 * stdlib/longlong.h: Update from GCC.
33144 2011-05-23 Andreas Schwab <schwab@redhat.com>
33146 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33148 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33149 Add parameter name.
33150 (__sysconf): Pass it down.
33152 2011-05-22 Ulrich Drepper <drepper@gmail.com>
33155 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33158 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33159 add in in __libc_use_alloca calls. Adjust callers.
33160 (glob): Use malloc in some situations.
33162 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33163 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33166 2011-05-21 Ulrich Drepper <drepper@gmail.com>
33168 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33169 and CLOCK_BOOTTIME_ALARM.
33172 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33175 * string/_strerror.c (__strerror_r): Print negative errors as signed
33179 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33180 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33181 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33183 * configure.in: Fix typo in redirection and correct removal of test
33184 files in two cases.
33187 * locale/setlocale.c (new_composite_name): Fix test to check for
33188 identical name of all categories.
33191 * libio/filedoalloc.c (local_isatty): New function.
33192 (_IO_file_doallocate): Use local_isatty.
33193 * stdio-common/perror.c (perror): In case a new stream is used
33194 forward the stream error.
33195 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33198 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33203 * include/alloca.h (extend_alloca_account): Define.
33206 * posix/regex.h: Fix comments with documentation of user-accessible
33207 fields after compilation and describe correct free'ing of pattern
33208 after re_compile_pattern.
33209 Patch by Reuben Thomas <rrt@sc3d.org>.
33211 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33213 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33214 and -mno-altivec to prevent the compiler from using Altivec and/or
33215 VSX instructions when the corresponding registers are not available.
33217 2011-05-19 Andreas Schwab <schwab@redhat.com>
33219 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33221 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33223 * libio/freopen.c (freopen): Use __dup2, not dup2.
33224 * libio/freopen64.c (freopen64): Likewise.
33226 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33229 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33230 * math/Makefile (tests): Add test-powl.
33231 (CFLAGS-test-powl.c): Define.
33232 * math/test-powl.c: New file.
33234 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33236 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33238 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33241 * iconvdata/gb18030.c: Update to GB18020-2005.
33243 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33245 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33246 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33247 Patch by Aharon Robbins <arnold@skeeve.com>.
33250 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33254 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33255 through underflows.
33258 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33259 point to strings before performing equality test for error_one_per_line
33263 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33267 (struct user_fpregs_struct): Avoid __uint*_t types.
33270 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33271 symbol info. Use it instead of calling _dl_addr locally.
33272 (lock_and_info): New function.
33273 (tr_freehook): Call lock_and_info and pass symbol info as additional
33274 parameter to tr_where.
33275 (tr_mallochook): Likewise.
33276 (tr_reallochook): Likewise.
33277 (tr_memalignhook): Likewise.
33279 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33280 used and couldn't be at all thread-safe.
33282 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33284 * libio/freopen.c (freopen): Don't close old file descriptor
33285 before the new one is opened. Instead dup the new file descriptor
33286 to the old one after the new stream is created.
33287 * libio/freopen64.c (freopen64): Likewise.
33288 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33289 * libio/fileops.c (_IO_new_file_close_it): Handle new
33290 _IO_FLAGS2_NOCLOSE flag.
33291 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33292 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33293 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33294 _IO_FLAGS2_NOCLOSE flag.
33295 * include/unistd.h: Add hidden_proto for dup3.
33296 Define __have_dup3.
33297 * io/dup3.c: Define hidden symbol.
33298 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33301 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33302 when an incomplete long option is used.
33303 * posix/tst-getopt_long1.c: New file.
33304 * posix/Makefile (tests): Add tst-getopt_long1.
33307 * scripts/config.guess: Update from autoconf-2.68.
33308 * scripts/config.sub: Likewise.
33311 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33313 (has_cpuclock): ...this. New function.
33314 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33315 macro here based on has_cpuclock code.
33318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33319 First byte (not low byte) is now always NUL.
33320 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33323 Use non-cancelable interfaces.
33326 * locale/iso-639.def: Add entry for Sorani.
33329 * include/stdlib.h: Move include protection to the right place.
33330 Define abort_msg_s. Declare __abort_msg with it.
33331 * stdlib/abort.c (__abort_msg): Adjust type.
33332 * assert/assert.c (__assert_fail_base): New function. Majority
33333 of code from __assert_fail. Allocate memory for __abort_msg with
33335 (__assert_fail): Now call __assert_fail_base.
33336 * assert/assert-perr.c: Remove bulk of implementation. Use
33337 __assert_fail_base.
33338 * include/assert.hL Declare __assert_fail_base.
33339 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33341 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33343 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33347 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33348 until all modules are registered in the DTV.
33349 * elf/Makefile: Add rules to build and run tst-tls19.
33350 * elf/tst-tls19.c: New file.
33351 * elf/tst-tls19mod1.c: New file.
33352 * elf/tst-tls19mod2.c: New file.
33353 * elf/tst-tls19mod3.c: New file.
33354 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33357 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33361 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33362 two-byte sequence errors.
33363 * iconvdata/Makefile (tests): Add bug-iconv8.
33364 * iconvdata/bug-iconv8.c: New file.
33367 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33370 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33373 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33374 (dummy_getcfa): New function.
33375 (init): Get _Unwind_GetCFA address, use dummy if not found.
33376 (backtrace_helper): In recursion check, also check whether CFA changes.
33377 (__backtrace): Completely initialize arg.
33379 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33380 storing incomplete byte sequence in state object. Avoid testing for
33381 guaranteed too small input if we know there is enough data available.
33383 2011-05-11 Andreas Schwab <schwab@redhat.com>
33385 * Makeconfig (+link-pie): Indent.
33386 * Rules (binaries-pie): Define if $(have-fpie) and
33388 (binaries-shared): Also filter out $(binaries-pie).
33389 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33390 * nscd/Makefile (others-pie): Add nscd.
33391 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33392 ($(objpfx)nscd): Remove command override.
33393 * login/Makefile (others-pie): Add pt_chown.
33394 ($(objpfx)pt_chown): Remove command override.
33395 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33396 remove command overrides.
33398 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33400 * libio/tst_putwc.c: Fix error messages.
33403 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33404 currently writing and seek to current position when not.
33405 * libio/Makefile (tests): Add bug-fclose1.
33406 * libio/bug-fclose1.c: New file.
33408 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33411 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33412 don't set DF_1_NODELETE here.
33413 (do_lookup_x): When entering new entry test for copy relocation
33414 and if necessary set DF_1_NODELETE flag.
33415 * elf/tst-unique4.cc: New file.
33416 * elf/tst-unique4.h: New file.
33417 * elf/tst-unique4lib.cc: New file.
33418 * elf/Makefile: Add rules to build and run tst-unique4.
33419 Patch by Piotr Bury <pbury@goahead.com>.
33421 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33424 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33427 * misc/mntent_r.c (addmntent): Flush the stream after the output
33430 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33431 (is_trusted_path_normalize): Skip initial colon. Append slash
33432 to empty buffer. Duplicate is_trusted_path code but allow
33433 constructed patch to be prefix.
33434 (is_dst): Allow $ORIGIN followed by /.
33435 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33436 Correct testing of result of is_trusted_path_normalize
33437 (decompose_rpath): Fix warning.
33439 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33442 * grp/initgroups.c (internal_getgrouplist): When we found the service
33443 list through the initgroups entry in nsswitch.conf do not always
33444 continue on a successful lookup. Don't always use the
33445 __nss_group_database value if it is set.
33446 * nss/nsswitch.conf (initgroups): Change action for successful db
33447 lookup to continue for compatibility.
33449 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33452 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33454 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33456 * iconvdata/tst-tables.sh: Likewise.
33457 * iconvdata/cp770.c: New file.
33458 * iconvdata/cp771.c: New file.
33459 * iconvdata/cp772.c: New file.
33460 * iconvdata/cp773.c: New file.
33461 * iconvdata/cp774.c: New file.
33462 * iconvdata/testdata/CP770: New file.
33463 * iconvdata/testdata/CP770..UTF8: New file.
33464 * iconvdata/testdata/CP771: New file.
33465 * iconvdata/testdata/CP771..UTF8: New file.
33466 * iconvdata/testdata/CP772: New file.
33467 * iconvdata/testdata/CP772..UTF8: New file.
33468 * iconvdata/testdata/CP773: New file.
33469 * iconvdata/testdata/CP773..UTF8: New file.
33470 * iconvdata/testdata/CP774: New file.
33471 * iconvdata/testdata/CP774..UTF8: New file.
33473 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33475 * iconvdata/gen-8bit-gap.sh: Likewise.
33476 * iconvdata/gen-8bit.sh: Likewise.
33478 * locale/iso-639.def: Add ary entry.
33481 * locale/C-translit.h.in: Add U20A1 transliteration.
33484 * locale/iso-639.def: Add wae entry.
33485 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33488 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33492 * locale/C-translit.h.in: Add entry for U20B9.
33493 Patch by pravin.d.s@gmail.com.
33495 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33498 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33499 ENAMETOOLONG use generic getcwd.
33500 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33501 in rtld. Use *stat64.
33502 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33503 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33504 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33505 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33506 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33507 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33508 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33509 __fstatat64 macros.
33510 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33511 * dirent/rewinddir.c: Add libc_hidden_def.
33512 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33513 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33515 * include/dirent.h (__alloc_dir): Add flags parameter.
33516 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33517 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33519 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33520 from fdopendir if O_CLOEXEC is already set.
33522 2011-03-15 Alan Modra <amodra@gmail.com>
33524 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33525 l_tls_firstbyte_offset non-zero. Save padding offset in
33526 l_tls_firstbyte_offset for later use.
33527 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33528 freeing static tls block.
33530 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33532 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33533 where #ifdef was intended. The intent is to prevent ARG_MAX from
33534 being defined by the kernel headers.
33536 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33539 * resolv/resolv.h: Define RES_NOTLDQUERY.
33540 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33541 no-tld-query and set RES_NOTLDQUERY.
33542 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33543 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33544 modern BIND to search name as TLD unless forbidden.
33546 2011-05-07 Petr Baudis <pasky@suse.cz>
33547 Ulrich Drepper <drepper@gmail.com>
33550 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33551 (is_trusted_path): ...to here.
33552 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33553 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33554 using is_trusted_path_normalize() in setuid scripts.
33556 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33559 __BEGIN/__END_DECLS.
33561 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33564 NSS_STATUS_NOTFOUND if no record was found.
33566 2011-05-05 Andreas Schwab <schwab@redhat.com>
33568 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33569 (headers-not-in-tirpc): Remove rpc/netdb.h
33570 * resolv/netdb.h: Revert last change.
33572 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33574 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33575 circular dependency between libgcc.a and libc.a.
33577 2011-05-05 Andreas Schwab <schwab@redhat.com>
33579 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33580 * nis/Makefile: Don't install rpcsvc/*.
33581 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33582 instead of <rpc/types.h>.
33583 (MAXHOSTNAMELEN): Define.
33585 2011-05-03 Andreas Schwab <schwab@redhat.com>
33587 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33589 2011-04-28 Maciej Babinski <mbabinski@google.com>
33592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33593 gethostbyname4_r when IPv6 results are possible.
33595 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33598 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33599 _PC_PIPE_BUF handling.
33601 2011-04-30 Bruno Haible <bruno@clisp.org>
33604 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33605 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33607 * inet/getnameinfo.c (getnameinfo): Likewise.
33609 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33611 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33612 to groups setting in database lookup.
33613 * nss/nsswitch.conf: Add initgroups entry.
33615 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33618 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33620 Patch by Eric Blake <eblake@redhat.com>.
33622 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33624 * sunrpc/Makefile (need-export-routines): Add svc_run.
33625 (routines): Remove svc_run.
33626 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33627 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33628 * sunrpc/svc_run.c (svc_run): Likewise.
33629 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33631 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33634 problem in reallocation in last patch.
33636 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33638 * sunrpc/Makefile: Move inclusion of Rules.
33640 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33642 * nss/nss_files/files-initgroups.c: New file.
33643 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33644 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33645 _nss_files_initgroups_dyn.
33647 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33649 * elf/elf.h (R_ARM_IRELATIVE): Define.
33651 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33653 * po/ru.po: Update from translation team.
33655 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33657 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33660 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33663 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33664 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33667 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33669 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33677 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33680 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33682 * stdlib/bug-getcontext.c: New file.
33683 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33685 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33687 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33688 instructions into .machine "z9-109".
33689 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33690 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33692 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33694 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33695 between environment variables and auxiliary vector.
33697 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33699 * Makefile: Add rules to build linkobj/libc.so.
33700 * include/libc-symbols.h: Define libc_hidden_nolink.
33701 * include/rpc/auth.h: Mark functions which are to be hidden.
33702 * include/rpc/auth_des.h: Likewise.
33703 * include/rpc/auth_unix.h: Likewise.
33704 * include/rpc/clnt.h: Likewise.
33705 * include/rpc/des_crypt.h: Likewise.
33706 * include/rpc/key_prot.h: Likewise.
33707 * include/rpc/pmap_clnt.h: Likewise.
33708 * include/rpc/pmap_prot.h: Likewise.
33709 * include/rpc/pmap_rmt.h: Likewise.
33710 * include/rpc/rpc_msg.h: Likewise.
33711 * include/rpc/svc.h: Likewise.
33712 * include/rpc/svc_auth.h: Likewise.
33713 * include/rpc/xdr.h: Likewise.
33714 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33715 * nss/Makefile: Likewise.
33716 * sunrpc/Makefile: Don't install headers. Build library with normal
33717 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33718 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33719 for the compat linking library. Remove use of INTDEF/INTUSE.
33720 * sunrpc/auth_none.c: Likewise.
33721 * sunrpc/auth_unix.c: Likewise.
33722 * sunrpc/authdes_prot.c: Likewise.
33723 * sunrpc/authuxprot.c: Likewise.
33724 * sunrpc/clnt_gen.c: Likewise.
33725 * sunrpc/clnt_perr.c: Likewise.
33726 * sunrpc/clnt_raw.c: Likewise.
33727 * sunrpc/clnt_simp.c: Likewise.
33728 * sunrpc/clnt_tcp.c: Likewise.
33729 * sunrpc/clnt_udp.c: Likewise.
33730 * sunrpc/clnt_unix.c: Likewise.
33731 * sunrpc/des_crypt.c: Likewise.
33732 * sunrpc/des_soft.c: Likewise.
33733 * sunrpc/get_myaddr.c: Likewise.
33734 * sunrpc/key_call.c: Likewise.
33735 * sunrpc/key_prot.c: Likewise.
33736 * sunrpc/netname.c: Likewise.
33737 * sunrpc/pm_getmaps.c: Likewise.
33738 * sunrpc/pm_getport.c: Likewise.
33739 * sunrpc/pmap_clnt.c: Likewise.
33740 * sunrpc/pmap_prot.c: Likewise.
33741 * sunrpc/pmap_prot2.c: Likewise.
33742 * sunrpc/pmap_rmt.c: Likewise.
33743 * sunrpc/publickey.c: Likewise.
33744 * sunrpc/rpc_cmsg.c: Likewise.
33745 * sunrpc/rpc_common.c: Likewise.
33746 * sunrpc/rpc_dtable.c: Likewise.
33747 * sunrpc/rpc_prot.c: Likewise.
33748 * sunrpc/rpc_thread.c: Likewise.
33749 * sunrpc/rtime.c: Likewise.
33750 * sunrpc/svc.c: Likewise.
33751 * sunrpc/svc_auth.c: Likewise.
33752 * sunrpc/svc_authux.c: Likewise.
33753 * sunrpc/svc_raw.c: Likewise.
33754 * sunrpc/svc_run.c: Likewise.
33755 * sunrpc/svc_simple.c: Likewise.
33756 * sunrpc/svc_tcp.c: Likewise.
33757 * sunrpc/svc_udp.c: Likewise.
33758 * sunrpc/svc_unix.c: Likewise.
33759 * sunrpc/svcauth_des.c: Likewise.
33760 * sunrpc/xcrypt.c: Likewise.
33761 * sunrpc/xdr.c: Likewise.
33762 * sunrpc/xdr_array.c: Likewise.
33763 * sunrpc/xdr_float.c: Likewise.
33764 * sunrpc/xdr_intXX_t.c: Likewise.
33765 * sunrpc/xdr_mem.c: Likewise.
33766 * sunrpc/xdr_rec.c: Likewise.
33767 * sunrpc/xdr_ref.c: Likewise.
33768 * sunrpc/xdr_sizeof.c: Likewise.
33769 * sunrpc/xdr_stdio.c: Likewise.
33771 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33774 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33775 * sysdeps/ia64/dl-tls.h: Likewise.
33776 * sysdeps/powerpc/dl-tls.h: Likewise.
33777 * sysdeps/s390/dl-tls.h: Likewise.
33778 * sysdeps/sh/dl-tls.h: Likewise.
33779 * sysdeps/sparc/dl-tls.h: Likewise.
33780 * sysdeps/x86_64/dl-tls.h: Likewise.
33781 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33783 2011-03-14 Andreas Schwab <schwab@redhat.com>
33785 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33786 rpath element also skip the following colon.
33787 (expand_dynamic_string_token): Add is_path parameter and pass
33788 down to DL_DST_REQUIRED and _dl_dst_substitute.
33789 (decompose_rpath): Call expand_dynamic_string_token with
33790 non-zero is_path. Ignore empty rpaths.
33791 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33794 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33799 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33802 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33803 Patch by Filipe David Manana <fdmanana@apache.org>.
33805 2011-04-07 Andreas Schwab <schwab@redhat.com>
33807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33808 Maintain aligned stack.
33809 (CHECK_RSP): Remove unused macro.
33811 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33813 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33816 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33818 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33820 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33822 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33825 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33826 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33827 * sysdeps/x86_64/memmove.c: New file.
33828 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33829 (memcpy): Renamed to ...
33830 (__new_memcpy): This.
33831 (memcpy): Provide GLIBC_2_14 memcpy.
33832 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33833 (memcpy): Provide GLIBC_2_2_5 memcpy.
33835 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33838 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33840 2011-03-30 Andreas Schwab <schwab@redhat.com>
33842 * misc/syncfs.c: New file.
33843 * misc/Makefile (routines): Add syncfs.
33844 * posix/unistd.h: Declare syncfs.
33845 * sysdeps/unix/syscalls.list: Add syncfs.
33847 2011-04-01 Andreas Schwab <schwab@redhat.com>
33849 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33856 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33859 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33862 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33863 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33869 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33870 sync_file_range.c with -fexceptions.
33871 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33872 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33873 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33874 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33875 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33876 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33878 sync_file_range as cancellation point
33879 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33880 now a wrapper around __call_sync_file_range with cancellation handling.
33881 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33882 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33883 function name to __call_sync_file_range.
33884 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33885 Add call_sync_file_range.
33887 2011-04-01 Andreas Schwab <schwab@redhat.com>
33889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33892 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33894 * iconv/iconv.h: Fix typo in comment.
33895 * io/fcntl.h: Likewise.
33896 * libio/stdio.h: Likewise.
33897 * posix/spawn.h: Likewise.
33898 * posix/unistd.h: Likewise.
33899 * stdlib/stdlib.h: Likewise.
33900 * time/time.h: Likewise.
33901 * wcsmbs/wchar.h: Likewise.
33903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33904 open_by_handle): Add.
33905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33906 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33907 Augment a few comments.
33908 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33910 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33912 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33913 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33916 * io/fcntl.h (AT_EMPTY_PATH): Define.
33918 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33920 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33921 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33922 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33924 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33925 * Versions.def: Add GLIBC_2.14.
33926 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33929 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33931 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33933 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33935 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33938 * string/test-strncmp.c (do_page_test): New function.
33939 (check2): Likewise.
33940 (test_main): Call check2.
33941 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33943 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33946 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33947 Handle cache information in CPU leaf 4.
33948 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33950 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33953 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33954 character representation.
33955 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33957 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33959 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33960 END(__isnan) to END(__isnanf) to match function entry point/label
33961 EALIGN(__isnanf,...).
33963 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33965 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33967 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33970 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33971 copy from the symbol referenced in the relocation to initialize the
33973 Patch by Piotr Bury <pbury@goahead.com>.
33974 * elf/Makefile: Add rules to build and tst-unique3.
33975 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33976 * elf/tst-unique3.cc: New file.
33977 * elf/tst-unique3.h: New file.
33978 * elf/tst-unique3lib.cc: New file.
33979 * elf/tst-unique3lib2.cc: New file.
33981 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33983 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33985 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33986 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33989 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33991 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33992 to-be-loaded object along a path to loader is ld.so.
33994 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33995 Ulrich Drepper <drepper@gmail.com>
33997 * sysdeps/x86_64/memset.S: After aligning destination, code
33998 branches to different locations depending on the value of
33999 misalignment, when multiarch is enabled. Fix this.
34001 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34003 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34004 Set _x86_64_preferred_memory_instruction for AMD processsors.
34005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34006 Set bit_Prefer_SSE_for_memop for AMD processors.
34008 2011-03-04 Ulrich Drepper <drepper@gmail.com>
34010 * libio/fmemopen.c (fmemopen): Optimize a bit.
34012 2011-03-03 Andreas Schwab <schwab@redhat.com>
34014 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34016 2011-03-03 Roland McGrath <roland@redhat.com>
34018 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34020 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34022 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34023 __bzero_ultra1 instead of __memset_ultra1.
34025 2011-02-23 Andreas Schwab <schwab@redhat.com>
34026 Ulrich Drepper <drepper@gmail.com>
34029 * include/link.h (struct link_map): Add l_orig_initfini.
34030 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34031 returning unsuccessfully.
34032 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34033 close of a file loaded at startup, restore the original l_initfini
34035 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34036 list, store the pointer.
34037 * elf/Makefile ($(objpfx)noload-mem): New rule.
34038 (noload-ENV): Define.
34039 (tests): Add $(objpfx)noload-mem.
34040 * elf/noload.c: Include <memcheck.h>.
34041 (main): Call mtrace. Close all opened handles.
34043 2011-02-17 Andreas Schwab <schwab@redhat.com>
34046 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34047 dependencies are missing.
34049 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34051 Fix __if_freereq crash: Unlike the generic version which uses free,
34053 * sysdeps/mach/hurd/ifreq.h: New file.
34055 2011-01-27 Petr Baudis <pasky@suse.cz>
34056 Ulrich Drepper <drepper@gmail.com>
34059 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34060 to extend_alloca().
34061 * stdio-common/bug23.c: New file.
34062 * stdio-common/Makefile (tests): Add bug23.
34064 2010-09-28 Andreas Schwab <schwab@redhat.com>
34065 Ulrich Drepper <drepper@gmail.com>
34068 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34069 before performing relro protection. At old place add assertion
34070 to make sure nothing changed.
34072 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34073 Glauber de Oliveira Costa <glommer@gmail.com>
34075 * elf/elf.h: Add new ARM TLS relocs.
34077 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34080 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34082 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34084 * sysdeps/wordsize-64/tst-writev.c: New file.
34086 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34088 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34089 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34090 insns in _dl_start to prevent a TOC reference before relocs are
34093 2011-02-15 Ulrich Drepper <drepper@gmail.com>
34096 * Makeconfig: Remove RANLIB definition.
34097 * Makerules: Don't use RANLIB.
34098 * aclocal.m4: Remove ranlib test.
34099 * configure.in: No need to check for ranlib.
34100 * elf/rtld-Rules: Don't use RANLIB.
34102 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34104 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34106 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34107 inclusion protection macro.
34109 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34110 SIGRTMIN and SIGRTMAX and print information in that case only when
34111 SIGRTMIN is defined.
34113 2011-02-11 Jakub Jelinek <jakub@redhat.com>
34115 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34116 arginfo fn returning -1.
34118 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34119 and thousands string is zero terminated.
34121 2011-02-03 Andreas Schwab <schwab@redhat.com>
34123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34124 sysdeps/unix/sysv/linux/bits/socket.h.
34126 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34128 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34129 (__CPU_COUNT): Remove old macros.
34130 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34131 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34132 (__CPU_ALLOC, __CPU_FREE): Add macros.
34133 (__sched_cpualloc, __sched_cpufree): Add declarations.
34135 2011-02-05 Ulrich Drepper <drepper@gmail.com>
34137 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34138 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34139 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34140 (readdhstai): Return value of addhstaiX call.
34141 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34142 (addgrbyX): Return value returned by cache_addgr.
34143 (readdgrbyname): Return value returned by addgrbyX.
34144 (readdgrbygid): Likewise.
34145 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34146 (addpwbyX): Return value returned by cache_addpw.
34147 (readdpwbyname): Return value returned by addhstbyX.
34148 (readdpwbyuid): Likewise.
34149 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34150 (addservbyX): Return value returned by cache_addserv.
34151 (readdservbyname): Return value returned by addservbyX:
34152 (readdservbyport): Likewise.
34153 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34154 (addhstbyX): Return value returned by cache_addhst.
34155 (readdhstbyname): Return value returned by addhstbyX.
34156 (readdhstbyaddr): Likewise.
34157 (readdhstbynamev6): Likewise.
34158 (readdhstbyaddrv6): Likewise.
34159 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34160 (readdinitgroups): Return value returned by addinitgroupsX.
34161 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34162 (prune_cache): Keep track of timeout value of re-added entries.
34163 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34164 * nscd/nscd.h: Adjust prototypes of readd* functions.
34166 2011-02-04 Roland McGrath <roland@redhat.com>
34168 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34169 (nis_stats): Likewise.
34170 * nis/nis_modify.c (nis_modify): Likewise.
34171 * nis/nis_remove.c (nis_remove): Likewise.
34172 * nis/nis_add.c (nis_add): Likewise.
34174 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34176 * posix/fnmatch_loop.c: Add some consts.
34178 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34180 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34183 * config.make.in (config-cflags-novzeroupper): Define.
34184 * configure.in: Substitute libc_cv_cc_novzeroupper.
34185 * elf/Makefile (AVX-CFLAGS): Define.
34186 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34187 (CFLAGS-tst-auditmod4a.c): Likewise.
34188 (CFLAGS-tst-auditmod4b.c): Likewise.
34189 (CFLAGS-tst-auditmod6b.c): Likewise.
34190 (CFLAGS-tst-auditmod6c.c): Likewise.
34191 (CFLAGS-tst-auditmod7b.c): Likewise.
34192 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34194 2011-02-02 Ulrich Drepper <drepper@gmail.com>
34196 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34197 function to the callback.
34198 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34200 2011-02-02 Andreas Schwab <schwab@redhat.com>
34202 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34205 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34208 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34210 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34212 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34215 * elf/Makefile: Add rules to build and run new test.
34216 * elf/tst-initorder.c: New file.
34217 * elf/tst-initorder.exp: New file.
34218 * elf/tst-initordera1.c: New file.
34219 * elf/tst-initordera2.c: New file.
34220 * elf/tst-initordera3.c: New file.
34221 * elf/tst-initordera4.c: New file.
34222 * elf/tst-initorderb1.c: New file.
34223 * elf/tst-initorderb2.c: New file.
34224 * elf/tst-order-a1.c: New file.
34225 * elf/tst-order-a2.c: New file.
34226 * elf/tst-order-a3.c: New file.
34227 * elf/tst-order-a4.c: New file.
34228 * elf/tst-order-b1.c: New file.
34229 * elf/tst-order-b2.c: New file.
34230 * elf/tst-order-main.c: New file.
34231 New test case by George Gensure <werkt0@gmail.com>.
34233 2010-10-01 Andreas Schwab <schwab@redhat.com>
34235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34236 decoding ACE if AI_CANONIDN.
34238 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34240 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34242 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34244 * version.h (RELEASE): Bump for 2.13 release.
34245 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34247 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34249 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34251 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34258 * posix/getconf.c: Update copyright year.
34259 * catgets/gencat.c: Likewise.
34260 * csu/version.c: Likewise.
34261 * debug/catchsegv.sh: Likewise.
34262 * debug/xtrace.sh: Likewise.
34263 * elf/ldconfig.c: Likewise.
34264 * elf/ldd.bash.in: Likewise.
34265 * elf/sprof.c (print_version): Likewise.
34266 * iconv/iconv_prog.c: Likewise.
34267 * iconv/iconvconfig.c: Likewise.
34268 * locale/programs/locale.c: Likewise.
34269 * locale/programs/localedef.c: Likewise.
34270 * malloc/memusage.sh: Likewise.
34271 * malloc/mtrace.pl: Likewise.
34272 * nscd/nscd.c (print_version): Likewise.
34273 * nss/getent.c: Likewise.
34275 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34276 PF_CAIF, and PF_ALG.
34277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34279 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34281 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34282 (modules-names): Use them.
34283 (ifunc-test-modules, ifunc-pie-tests): Define.
34284 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34285 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34286 (test-extras): Likewise.
34287 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34288 $(compile-command.c).
34289 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34290 (all-built-dso): Define.
34291 (check-textrel.out, check-execstack.out): Depend on it.
34293 * configure.in: Don't override --enable-multi-arch.
34295 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34298 * nscd/hstcache.c (tryagain): Define.
34299 (cache_addhst): Return tryagain not notfound for temporary errors.
34300 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34303 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34307 to make the syscall.
34308 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34311 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34312 and fall back to matching as normal character if the string ends before
34313 the matching ']' is found. This is what POSIX requires.
34314 * posix/testfnm.c: Adjust test result.
34315 * posix/globtest.sh: Adjust test result. Add new test.
34316 * posix/tst-fnmatch.input: Likewise.
34317 * posix/tst-fnmatch2.c: Add new test.
34319 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34321 * elf/Makefile (check-execstack): Revert last change. Depend on
34323 (check-execstack.h): New target.
34324 (generated): Add check-execstack.h.
34325 * elf/check-execstack.c: Include "check-execstack.h".
34326 (main): Revert last change.
34327 (handle_file): Return zero if GNU_STACK is absent and
34328 DEFAULT_STACK_PERMS doesn't include PF_X.
34330 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34332 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34333 in child fails because the descriptor is already closed.
34334 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34335 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34336 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34339 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34343 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34344 temporary buffer used to handle multi lookups locally.
34345 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34347 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34349 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34352 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34354 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34355 alignment for SSE2.
34357 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34360 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34361 characters. When rounding increased number of integer digits recompute
34363 * stdio-common/tst-grouping.c: New file.
34364 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34366 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34368 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34369 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34371 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34373 * bits/select.h: Likewise.
34375 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34377 * po/ja.po: Update from translation team.
34379 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34382 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34383 implementation just like for lxstat, fxstatat, et al.
34385 2010-12-27 Jim Meyering <meyering@redhat.com>
34388 * posix/regexec.c (build_trtable): Return failure indication upon
34389 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34391 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34394 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34395 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34396 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34397 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34400 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34403 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34404 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34406 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34408 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34409 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34410 script has SORT_BY_INIT_PRIORITY.
34411 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34412 NO_CTORS_DTORS_SECTIONS is defined.
34413 * elf/soinit.c: Likewise.
34414 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34415 NO_CTORS_DTORS_SECTIONS is defined.
34416 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34417 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34418 * sysdeps/sh/init-first.c: Likewise.
34419 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34421 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34423 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34424 always use the slow path.
34426 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34428 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34429 similar rule which adds the sysdep directories to the header search in
34430 order to pick up the correct platform stackinfo.h.
34431 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34432 perform test if it is, otherwise return successfully without testing.
34433 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34434 DEFAULT_STACK_PERMS define in stackinfo.h.
34435 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34436 defined in stackinfo.h.
34437 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34438 DEFAULT_STACK_PERMS defined in stackinfo.h.
34439 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34440 * sysdeps/ia64/stackinfo.h: Likewise.
34441 * sysdeps/s390/stackinfo.h: Likewise.
34442 * sysdeps/sh/stackinfo.h: Likewise.
34443 * sysdeps/sparc/stackinfo.h: Likewise.
34444 * sysdeps/x86_64/stackinfo.h: Likewise.
34445 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34446 PF_X for powerpc64. Retain PF_X for powerpc32.
34448 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34450 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34452 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34453 GETDENTS_64BIT_ALIGNED.
34455 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34457 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34459 2010-12-10 Andreas Schwab <schwab@redhat.com>
34461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34464 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34465 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34467 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34468 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34470 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34473 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34476 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34478 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34480 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34482 * po/it.po: Update from translation team.
34484 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34489 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34491 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34493 2010-11-24 Andreas Schwab <schwab@redhat.com>
34495 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34497 (gaih_getanswer_slice): Likewise.
34499 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34503 2010-05-31 Petr Baudis <pasky@suse.cz>
34506 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34507 silently even in the chroot mode.
34509 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34511 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34512 last patch a bit. Pretty printing
34514 2010-05-31 Petr Baudis <pasky@suse.cz>
34517 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34518 initialization of skip_initgroups_dyn.
34520 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34525 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34527 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34529 2010-11-11 Andreas Schwab <schwab@redhat.com>
34531 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34532 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34533 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34534 ($(objpfx)tst-fnmatch-mem): New rule.
34535 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34536 * posix/tst-fnmatch.c (main): Call mtrace.
34538 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34541 Support Intel processor model 6 and model 0x2c.
34543 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34548 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34551 * string/test-strncasecmp.c (check_result): New function.
34552 (do_one_test): Use it.
34553 (check1): New function.
34554 (test_main): Use it.
34555 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34556 Support strcasecmp and strncasecmp.
34558 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34561 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34564 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34566 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34570 * sysdeps/x86_64/multiarch/bzero.S: New file.
34571 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34572 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34573 * sysdeps/x86_64/multiarch/memset.S: New file.
34574 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34576 Set bit_Prefer_SSE_for_memop for Intel processors.
34577 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34579 (index_Prefer_SSE_for_memop): Define.
34580 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34582 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34584 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34585 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34587 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34590 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34591 (__x86_64_raw_data_cache_size_half): Likewise.
34592 (__x86_64_raw_shared_cache_size): Likewise.
34593 (__x86_64_raw_shared_cache_size_half): Likewise.
34595 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34596 (__x86_64_raw_data_cache_size_half): Likewise.
34597 (__x86_64_raw_shared_cache_size): Likewise.
34598 (__x86_64_raw_shared_cache_size_half): Likewise.
34599 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34600 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34601 and __x86_64_raw_shared_cache_size_half. Round
34602 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34603 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34604 to multiple of 256 bytes.
34606 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34609 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34610 of inacessible symlinks. Verify result of symlink before returning it.
34611 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34612 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34614 2010-10-28 Erich Ritz <erichritz@gmail.com>
34616 * math/math.h (isinf): Fix typo in comment.
34618 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34620 * po/da.po: Update from translation team.
34622 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34624 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34625 is added to the list.
34627 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34628 Ulrich Drepper <drepper@gmail.com>
34630 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34631 the global list here. Move code to...
34632 (_dl_add_to_namespace_list): ...here. New function.
34633 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34634 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34635 * elf/dl-load.c (lose): Don't remove the element from the list.
34636 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34637 (_dl_map_object): Likewise.
34639 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34642 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34643 into all bytes of SSE register.
34644 Patch by Richard Li <richardpku@gmail.com>.
34646 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34649 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34652 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34654 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34655 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34657 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34662 2010-10-22 Andreas Schwab <schwab@redhat.com>
34664 * include/dlfcn.h (__RTLD_SECURE): Define.
34665 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34666 mode & __RTLD_SECURE instead.
34667 (open_path): Rename preloaded parameter to secure.
34668 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34669 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34670 * elf/dl-deps.c (openaux): Likewise.
34671 * elf/rtld.c (struct map_args): Remove is_preloaded.
34672 (map_doit): Don't use it.
34673 (dl_main): Likewise.
34674 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34675 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34677 2010-09-09 Andreas Schwab <schwab@redhat.com>
34679 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34680 (sysd-rules-targets): Remove duplicates.
34681 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34682 rtld-%.$o dependency.
34684 2010-10-18 Andreas Schwab <schwab@redhat.com>
34686 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34687 _dl_map_object do it.
34689 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34691 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34692 fast fma builtins, define the macros in the C99 standard.
34693 (FP_FAST_FMAF): Likewise.
34694 (FP_FAST_FMAL): Likewise.
34695 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34697 * bits/mathdef.h: Update copyright year.
34698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34700 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34702 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34703 builtins, define the macros in the C99 standard.
34704 (FP_FAST_FMAF): Likewise.
34705 (FP_FAST_FMAL): Likewise.
34706 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34708 (FP_FAST_FMAF): Likewise.
34710 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34713 * math/libm-test.inc (fma_test): Some new testcases.
34714 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34716 y and infinite z. Do multiplication by C already in long double.
34717 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34719 y and infinite z. Do bitwise or of inexact bit into u.d.
34720 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34721 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34722 * sysdeps/i386/fpu/s_fma.S: Removed.
34723 * sysdeps/i386/fpu/s_fmal.S: Removed.
34725 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34728 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34730 computation is not scheduled after fetestexcept. Fix value
34731 of minimum denormal long double.
34733 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34736 * math/libm-test.inc (fma_test): Add some more tests.
34737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34740 2010-10-15 Andreas Schwab <schwab@redhat.com>
34742 * scripts/data/localplt-s390-linux-gnu.data: New file.
34743 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34745 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34748 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34749 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34751 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34753 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34755 if one of x and y is very large and the other is subnormal.
34756 * sysdeps/s390/fpu/s_fmaf.c: New file.
34757 * sysdeps/s390/fpu/s_fma.c: New file.
34758 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34759 * sysdeps/powerpc/fpu/s_fma.S: New file.
34760 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34761 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34762 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34764 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34767 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34770 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34771 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34772 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34773 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34774 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34775 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34777 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34780 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34781 * posix/bug-regex31.input: Add test case.
34783 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34785 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34786 * posix/bug-regex31.input: New file.
34789 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34790 (parse_sub_exp): Fix last change, use postorder.
34792 * posix/bug-regex31.c: New file.
34793 * posix/Makefile: Add rules to build and run bug-regex31.
34795 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34798 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34801 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34802 to have entries in sys_siglist.
34805 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34808 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34811 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34812 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34813 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34814 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34815 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34816 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34817 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34818 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34819 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34820 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34821 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34822 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34823 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34824 * math/ftestexcept.c (fetestexcept): Likewise.
34825 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34826 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34827 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34828 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34829 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34830 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34833 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34836 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34839 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34841 * string/bug-strstr1.c: New file.
34842 * string/Makefile: Add rules to build and run bug-strstr1.
34844 2010-10-05 Eric Blake <eblake@redhat.com>
34847 * string/str-two-way.h (two_way_long_needle): Always clear memory
34848 when skipping input due to the shift table.
34850 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34853 * malloc/mcheck.c: Handle large requests.
34856 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34857 for strncmp and strncasecmp.
34858 * string/stratcliff.c: Add tests for strcmp and strncmp.
34859 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34861 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34863 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34866 2010-09-30 Andreas Jaeger <aj@suse.de>
34868 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34869 (CGROUP_SUPER_MAGIC): Define.
34870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34871 Handle btrfs and cgroup file systems.
34872 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34875 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34877 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34878 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34880 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34883 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34884 trying to locate the ELF header.
34886 2010-09-27 Andreas Schwab <schwab@redhat.com>
34889 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34890 Mask out sign-bit copies when constructing f_fsid.
34892 2010-09-24 Petr Baudis <pasky@suse.cz>
34894 * debug/stack_chk_fail_local.c: Add missing licence exception.
34895 * debug/warning-nop.c: Likewise.
34897 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34899 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34900 implementing getdents64 using getdents syscall, set d_type if
34901 __ASSUME_GETDENTS32_D_TYPE.
34903 2010-09-16 Andreas Schwab <schwab@redhat.com>
34905 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34906 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34908 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34911 * posix/unistd.h: Undo change of feature selection for ftruncate from
34914 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34916 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34919 2010-09-20 Andreas Schwab <schwab@redhat.com>
34921 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34925 2010-09-14 Andreas Schwab <schwab@redhat.com>
34927 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34928 variables after CHECK_SP call.
34929 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34931 2010-09-13 Andreas Schwab <schwab@redhat.com>
34932 Ulrich Drepper <drepper@redhat.com>
34934 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34935 re-relocationg ld.so.
34936 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34937 _dl_init_paths call.
34938 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34941 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34943 * resolv/res_init.c (__res_vinit): Count the default server we added.
34945 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34946 Ulrich Drepper <drepper@redhat.com>
34949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34950 (____longjmp_chk): Use %ebx for saving value across system call.
34953 2010-09-06 Andreas Schwab <schwab@redhat.com>
34955 * manual/Makefile: Don't mix pattern rules with normal rules.
34957 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34959 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34961 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34962 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34963 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34964 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34968 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34971 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34972 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34974 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34976 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34977 * sysdeps/x86_64/addmul_1.S: Likewise.
34978 * sysdeps/x86_64/lshift.S: Likewise.
34979 * sysdeps/x86_64/mul_1.S: Likewise.
34980 * sysdeps/x86_64/rshift.S: Likewise.
34981 * sysdeps/x86_64/sub_n.S: Likewise.
34982 * sysdeps/x86_64/submul_1.S: Likewise.
34984 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34986 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34987 Define __sched_param instead of SCHED_* and sched_param when
34988 <bits/sched.h> is included with __need_schedparam defined.
34989 * bits/sched.h [__need_schedparam]
34990 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34991 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34992 (__defined_schedparam): Define to 1.
34993 (__sched_param): New structure, identical to sched_param.
34994 (__need_schedparam): Undefine.
34996 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34999 (epoll_create1): Declare.
35001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35003 2010-08-31 Andreas Schwab <schwab@redhat.com>
35006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35007 shifting retval into place.
35009 2010-09-01 Ulrich Drepper <drepper@redhat.com>
35011 * nis/rpcsvc/nis.h: Update copyright notice.
35012 * nis/rpcsvc/nis.x: Likewise.
35013 * nis/rpcsvc/nis_callback.h: Likewise.
35014 * nis/rpcsvc/nis_callback.x: Likewise.
35015 * nis/rpcsvc/nis_object.x: Likewise.
35016 * nis/rpcsvc/nis_tags.h: Likewise.
35017 * nis/rpcsvc/yp.h: Likewise.
35018 * nis/rpcsvc/yp.x: Likewise.
35019 * nis/rpcsvc/ypupd.h: Likewise.
35020 * nis/yp_xdr.c: Likewise.
35021 * nis/ypupdate_xdr.c: Likewise.
35023 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35024 mainly the body of pmap_getport. Add parameters to specify timeouts.
35025 (pmap_getport): Use __libc_rpc_getport.
35026 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35027 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35028 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35030 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35035 2010-08-27 Roland McGrath <roland@redhat.com>
35037 * sysdeps/i386/i686/multiarch/Makefile
35038 (CFLAGS-varshift.c): New variable.
35040 2010-08-27 Ulrich Drepper <drepper@redhat.com>
35042 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35043 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35045 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35047 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35049 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35051 * sysdeps/x86_64/strlen.S: Unroll the loop.
35052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35053 strlen-sse2 strlen-sse2-bsf.
35054 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35055 __strlen_no_bsf if bit_Slow_BSF is set.
35056 (__strlen_sse42): Removed.
35057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35058 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35060 2010-08-25 Roland McGrath <roland@redhat.com>
35062 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35063 * sysdeps/x86_64/multiarch/varshift.c: New file.
35064 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35065 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35066 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35067 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35069 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35072 strlen-sse2 strlen-sse2-bsf.
35073 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35074 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35075 (__strlen_sse2): Removed.
35076 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35079 bit_Slow_BSF for Atom.
35080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35081 (index_Slow_BSF): Define.
35082 (HAS_SLOW_BSF): Define.
35084 2010-08-25 Ulrich Drepper <drepper@redhat.com>
35087 * resolv/res_init.c (__res_vinit): When no server address at all
35088 is given default to loopback.
35090 2010-08-24 Roland McGrath <roland@redhat.com>
35092 * configure.in: Remove config-name.h generation.
35093 * configure: Regenerated.
35094 * config-name.in: File removed.
35095 * scripts/config-uname.sh: New file.
35096 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35097 ($(objdir)config-name.h): New target.
35099 * sunrpc/rpc_parse.h: Avoid nested comment.
35101 2010-08-24 Richard Henderson <rth@redhat.com>
35102 Ulrich Drepper <drepper@redhat.com>
35103 H.J. Lu <hongjiu.lu@intel.com>
35105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35107 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35108 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35109 _mm_alignr_epi8 with _mm_loadu_si128.
35110 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35111 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35112 (__m128i_shift_right): Removed.
35113 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35114 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35115 * sysdeps/x86_64/multiarch/varshift.h: New file.
35116 * sysdeps/x86_64/multiarch/varshift.S: New file.
35118 2010-08-21 Mike Frysinger <vapier@gentoo.org>
35120 * configure.in: Move assembler checks to before sysdep dir checking.
35122 2010-08-20 Petr Baudis <pasky@suse.cz>
35124 * LICENSES: Sync the sunrpc license.
35126 2010-08-19 Ulrich Drepper <drepper@redhat.com>
35128 * sunrpc/auth_des.c: Update copyright notice once again.
35129 * sunrpc/auth_none.c: Likewise.
35130 * sunrpc/auth_unix.c: Likewise.
35131 * sunrpc/authdes_prot.c: Likewise.
35132 * sunrpc/authuxprot.c: Likewise.
35133 * sunrpc/bindrsvprt.c: Likewise.
35134 * sunrpc/clnt_gen.c: Likewise.
35135 * sunrpc/clnt_perr.c: Likewise.
35136 * sunrpc/clnt_raw.c: Likewise.
35137 * sunrpc/clnt_simp.c: Likewise.
35138 * sunrpc/clnt_tcp.c: Likewise.
35139 * sunrpc/clnt_udp.c: Likewise.
35140 * sunrpc/clnt_unix.c: Likewise.
35141 * sunrpc/des_crypt.c: Likewise.
35142 * sunrpc/des_soft.c: Likewise.
35143 * sunrpc/get_myaddr.c: Likewise.
35144 * sunrpc/getrpcport.c: Likewise.
35145 * sunrpc/key_call.c: Likewise.
35146 * sunrpc/key_prot.c: Likewise.
35147 * sunrpc/openchild.c: Likewise.
35148 * sunrpc/pm_getmaps.c: Likewise.
35149 * sunrpc/pm_getport.c: Likewise.
35150 * sunrpc/pmap_clnt.c: Likewise.
35151 * sunrpc/pmap_prot.c: Likewise.
35152 * sunrpc/pmap_prot2.c: Likewise.
35153 * sunrpc/pmap_rmt.c: Likewise.
35154 * sunrpc/rpc/auth.h: Likewise.
35155 * sunrpc/rpc/auth_unix.h: Likewise.
35156 * sunrpc/rpc/clnt.h: Likewise.
35157 * sunrpc/rpc/des_crypt.h: Likewise.
35158 * sunrpc/rpc/key_prot.h: Likewise.
35159 * sunrpc/rpc/netdb.h: Likewise.
35160 * sunrpc/rpc/pmap_clnt.h: Likewise.
35161 * sunrpc/rpc/pmap_prot.h: Likewise.
35162 * sunrpc/rpc/pmap_rmt.h: Likewise.
35163 * sunrpc/rpc/rpc.h: Likewise.
35164 * sunrpc/rpc/rpc_des.h: Likewise.
35165 * sunrpc/rpc/rpc_msg.h: Likewise.
35166 * sunrpc/rpc/svc.h: Likewise.
35167 * sunrpc/rpc/svc_auth.h: Likewise.
35168 * sunrpc/rpc/types.h: Likewise.
35169 * sunrpc/rpc/xdr.h: Likewise.
35170 * sunrpc/rpc_clntout.c: Likewise.
35171 * sunrpc/rpc_cmsg.c: Likewise.
35172 * sunrpc/rpc_common.c: Likewise.
35173 * sunrpc/rpc_cout.c: Likewise.
35174 * sunrpc/rpc_dtable.c: Likewise.
35175 * sunrpc/rpc_hout.c: Likewise.
35176 * sunrpc/rpc_main.c: Likewise.
35177 * sunrpc/rpc_parse.c: Likewise.
35178 * sunrpc/rpc_parse.h: Likewise.
35179 * sunrpc/rpc_prot.c: Likewise.
35180 * sunrpc/rpc_sample.c: Likewise.
35181 * sunrpc/rpc_scan.c: Likewise.
35182 * sunrpc/rpc_scan.h: Likewise.
35183 * sunrpc/rpc_svcout.c: Likewise.
35184 * sunrpc/rpc_tblout.c: Likewise.
35185 * sunrpc/rpc_util.c: Likewise.
35186 * sunrpc/rpc_util.h: Likewise.
35187 * sunrpc/rpcinfo.c: Likewise.
35188 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35189 * sunrpc/rpcsvc/key_prot.x: Likewise.
35190 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35191 * sunrpc/rpcsvc/mount.x: Likewise.
35192 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35193 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35194 * sunrpc/rpcsvc/rex.x: Likewise.
35195 * sunrpc/rpcsvc/rstat.x: Likewise.
35196 * sunrpc/rpcsvc/rusers.x: Likewise.
35197 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35198 * sunrpc/rpcsvc/spray.x: Likewise.
35199 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35200 * sunrpc/rtime.c: Likewise.
35201 * sunrpc/svc.c: Likewise.
35202 * sunrpc/svc_auth.c: Likewise.
35203 * sunrpc/svc_authux.c: Likewise.
35204 * sunrpc/svc_raw.c: Likewise.
35205 * sunrpc/svc_run.c: Likewise.
35206 * sunrpc/svc_simple.c: Likewise.
35207 * sunrpc/svc_tcp.c: Likewise.
35208 * sunrpc/svc_udp.c: Likewise.
35209 * sunrpc/svc_unix.c: Likewise.
35210 * sunrpc/svcauth_des.c: Likewise.
35211 * sunrpc/xcrypt.c: Likewise.
35212 * sunrpc/xdr.c: Likewise.
35213 * sunrpc/xdr_array.c: Likewise.
35214 * sunrpc/xdr_float.c: Likewise.
35215 * sunrpc/xdr_mem.c: Likewise.
35216 * sunrpc/xdr_rec.c: Likewise.
35217 * sunrpc/xdr_ref.c: Likewise.
35218 * sunrpc/xdr_sizeof.c: Likewise.
35219 * sunrpc/xdr_stdio.c: Likewise.
35221 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35224 2010-08-19 Andreas Schwab <schwab@redhat.com>
35226 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35228 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35230 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35232 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35233 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35234 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35235 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35236 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35237 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35239 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35240 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35242 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35243 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35245 2010-07-26 Anton Blanchard <anton@samba.org>
35247 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35248 * malloc/arena.c (heap_trim): Likewise.
35250 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35252 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35255 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35257 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35259 * sysdeps/i386/elf/Makefile: New file.
35261 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35263 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35264 from fanotify_init.
35265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35268 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35270 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35272 * sysdeps/multiarch/strcmp.S: Likewise.
35274 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35277 strncase_l-nonascii.
35278 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35279 Add strncase_l-ssse3.
35280 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35281 * sysdeps/x86_64/strcmp.S: Likewise.
35282 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35283 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35284 * sysdeps/x86_64/strncase.S: New file.
35285 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35286 * sysdeps/x86_64/strncase_l.S: New file.
35287 * string/Makefile (strop-tests): Add strncasecmp.
35288 * string/test-strncasecmp.c: New file.
35290 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35293 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35294 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35296 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35298 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35300 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35302 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35306 2010-05-01 Alan Modra <amodra@gmail.com>
35308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35309 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35310 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35311 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35312 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35313 tidying. Don't tail-call __sigjmp_save for static lib.
35314 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35316 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35317 (CALL_MCOUNT): Add eh info, and nop after bl.
35318 (TAIL_CALL_SYSCALL_ERROR): New macro.
35319 (PSEUDO_RET): Use it.
35320 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35321 Correct save location of integer regs and cr.
35322 (_dl_profile_resolve): Correct cr save location. Delete nops
35323 after bl when SHARED. Reduce cfi size a little by better
35324 placement of cfi directives.
35325 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35326 make a stack frame. Instead use parm save area as a temp.
35327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35328 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35330 Don't make a stack frame for parent, use parm save area.
35331 Increase child stack frame to 112 bytes. Don't save unused reg,
35332 and adjust reg usage. Set up cfi on error recovery and
35333 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35335 (__makecontext): Add dummy nop after jump to exit.
35336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35337 Use correct parm save area and cr save, reduce stack frame.
35338 Correct cfi for possible PSEUDO_RET frame setup.
35339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35340 Branch to local label emitted by PSEUDO_RET rather than
35343 2010-08-12 Andreas Schwab <schwab@redhat.com>
35346 * locale/programs/locale.c (print_assignment): New function.
35347 (show_locale_vars): Use it.
35349 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35351 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35353 (struct statfs64): Likewise.
35354 (_STATFS_F_FLAGS): Define.
35355 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35356 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35357 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35358 (ST_VALID): Define locally.
35359 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35360 __statvfs_getflags, use the provided value.
35361 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35362 __ASSUME_STATFS_F_FLAGS.
35364 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35367 Add sys/fanotify.h.
35368 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35369 fanotify_mask for GLIBC_2.13.
35370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35371 fanotify_init and fanotify_mark.
35372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35373 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35375 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35377 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35378 prlimit64 for GLIBC_2.13.
35379 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35385 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35386 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35389 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35392 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35393 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35395 * nss/Makefile: Add rules to build and run tst-nss-test1.
35396 * shlib-versions: Add entry for libnss_test1.
35397 * nss/nss_test1.c: New file.
35398 * nss/tst-nss-test1.c: New file.
35400 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35401 (__nss_configure_lookup): Set appropriate entry in
35402 __nss_configure_lookup to true.
35403 * nss/nsswitch.h: Define enum with indeces of databases in
35404 databases and __nss_database_custom arrays. Declare
35405 __nss_database_custom.
35406 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35407 to avoid using nscd when custom rules are installed.
35408 * nss/getXXbyYY_r.c: Likewise.
35409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35411 * nss/nss_files/files-parse.c: Whitespace fixes.
35413 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35416 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35417 * posix/fnmatch_loop.c: Likewise.
35419 2010-07-17 Andi Kleen <ak@linux.intel.com>
35421 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35422 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35423 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35424 * Versions.def [GLIBC_2.13]: Add.
35426 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35428 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35429 Also fail if tpwd after pwuid call is NULL.
35431 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35433 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35434 when converting to ms.
35436 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35438 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35439 EOPNOTSUPP errors with ENOTTY.
35440 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35441 EOPNOTSUPP errors with ENOTTY.
35443 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35445 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35446 Add strcasecmp_l-ssse3.
35447 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35449 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35450 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35451 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35453 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35455 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35457 * string/Makefile (strop-tests): Add strcasecmp.
35458 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35459 strcasecmp_l-nonascii.
35460 (gen-as-const-headers): Add locale-defines.sym.
35461 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35462 * sysdeps/x86_64/strcasecmp.S: New file.
35463 * sysdeps/x86_64/strcasecmp_l.S: New file.
35464 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35465 * sysdeps/x86_64/locale-defines.sym: New file.
35466 * string/test-strcasecmp.c: New file.
35468 * string/test-strcasestr.c: Test both ends of the range of characters.
35469 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35471 2010-07-29 Roland McGrath <roland@redhat.com>
35474 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35476 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35478 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35481 2010-07-27 Andreas Schwab <schwab@redhat.com>
35483 * manual/memory.texi (Malloc Tunable Parameters): Document
35486 2010-07-26 Roland McGrath <roland@redhat.com>
35489 * configure.in (-fgnu89-inline check): Set and substitute
35490 gnu89_inline, not libc_cv_gnu89_inline.
35491 * configure: Regenerated.
35492 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35494 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35496 * string/test-strnlen.c: New file.
35497 * string/Makefile (strop-tests): Add strnlen.
35498 * string/tester.c (test_strnlen): Add a few more test cases.
35499 * string/tst-strlen.c: Better error reporting.
35501 * sysdeps/x86_64/strnlen.S: New file.
35503 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35506 lower-latency instructions.
35508 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35510 * string/test-strcasestr.c: New file.
35511 * string/test-strstr.c: New file.
35512 * string/Makefile (strop-tests): Add strstr and strcasestr.
35513 * string/str-two-way.h: Don't undefine MAX.
35514 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35516 2010-07-21 Andreas Schwab <schwab@redhat.com>
35518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35519 strcasestr-nonascii.
35520 (CFLAGS-strcasestr-nonascii.c): Define.
35521 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35523 Remove unused attribute.
35525 2010-07-20 Roland McGrath <roland@redhat.com>
35527 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35528 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35529 ld.so.cache was broken. With it, there is no way to disable dsocaps
35530 like LD_HWCAP_MASK can disable hwcaps.
35532 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35534 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35536 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35538 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35539 call in strcasestr.
35540 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35541 __strcasestr_sse42_nonascii.
35542 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35543 strcasestr-nonascii.c.
35544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35546 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35548 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35550 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35553 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35558 2010-07-06 Andreas Schwab <schwab@redhat.com>
35561 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35564 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35567 _PC_PIPE_BUF using F_GETPIPE_SZ.
35569 2010-07-05 Roland McGrath <roland@redhat.com>
35571 * manual/arith.texi (Rounding Functions): Fix rint description
35572 implicit in round description.
35574 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35576 * elf/Makefile: Fix linking for a few tests to make recent linker
35579 2010-06-30 Andreas Schwab <schwab@redhat.com>
35581 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35582 $(common-objpfx)libc_nonshared.a.
35584 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35586 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35587 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35588 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35589 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35590 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35591 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35592 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35593 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35608 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35609 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35610 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35611 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35612 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35613 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35614 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35615 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35616 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35617 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35618 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35619 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35635 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35637 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35638 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35639 * string/memmove.c (memmove): Renamed to ...
35640 (MEMMOVE): ...this. Default to memmove.
35641 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35642 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35645 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35646 mempcpy-ssse3-back memmove-ssse3-back.
35647 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35649 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35650 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35651 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35652 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35653 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35654 * sysdeps/x86_64/multiarch/memmove.c: New file.
35655 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35656 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35657 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35658 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35659 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35660 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35662 (index_Fast_Copy_Backward): Define.
35663 (HAS_ARCH_FEATURE): Define.
35664 (HAS_FAST_REP_STRING): Define.
35665 (HAS_FAST_COPY_BACKWARD): Define.
35667 2010-06-21 Andreas Schwab <schwab@redhat.com>
35669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35670 Restore proper fallback handling.
35672 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35675 * posix/group_member.c (__group_member): Correct checking loop.
35677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35678 OOM in getpwuid_r correctly. Return error number when the caller
35679 should return, otherwise -1.
35680 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35681 call returning > 0 value.
35682 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35684 2010-06-07 Andreas Schwab <schwab@redhat.com>
35686 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35687 libc_nonshared.a from targets in modules-names.
35689 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35691 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35694 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35697 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35698 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35701 2010-06-02 Andreas Schwab <schwab@redhat.com>
35703 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35705 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35709 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35713 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35716 2010-06-14 Roland McGrath <roland@redhat.com>
35718 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35720 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35722 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35723 __REDIRECT followed by __THROW.
35724 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35725 * posix/getopt.h (getopt): Likewise.
35727 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35729 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35730 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35731 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35733 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35734 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35736 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35738 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35740 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35744 Properly check family and model.
35746 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35748 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35750 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35752 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35754 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35756 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35759 2010-05-19 Andreas Schwab <schwab@redhat.com>
35761 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35764 2010-05-21 Andreas Schwab <schwab@redhat.com>
35766 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35767 and internal_recvmmsg.
35768 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35769 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35770 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35771 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35773 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35774 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35775 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35777 2010-05-20 Andreas Schwab <schwab@redhat.com>
35779 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35781 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35783 POWER7 optimizations.
35784 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35785 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35787 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35789 * version.h: Update for 2.13 development version.
35791 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35793 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35794 exceptions. Return 0.
35796 2010-05-07 Roland McGrath <roland@redhat.com>
35798 * elf/ldconfig.c (main): Add a const.
35800 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35802 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35803 (args_options): Add no-idn option.
35804 (ahosts_keys_int): Add idn_flags to ai_flags.
35805 (parse_option): Handle 'i' option to clear idn_flags.
35807 * malloc/malloc.c (_int_free): Possible race in the most recently
35808 added check. Only act on the data if no current modification
35811 See ChangeLog.17 for earlier changes.