Properly handle shm_open validation. Fixes bug 16274.
[platform/upstream/glibc.git] / ChangeLog
1 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2
3         [BZ #16274]
4         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
5         handle filename validation.
6         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7         (do_open): Delete.
8
9 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10
11         [BZ #6786]
12         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15         <float.h>.
16         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23         * math/auto-libm-test-in: Don't allow missing errno from erfc.
24         Add more erfc tests.
25         * math/auto-libm-test-out: Regenerated.
26         * sysdeps/i386/fpu/libm-test-ulps: Update.
27         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28
29         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30         exp2, expm1, j0 and j1.
31         * math/auto-libm-test-out: Regenerated.
32         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
33         (erfc_test_data): Likewise.
34         (exp_test_data): Likewise.
35         (exp_tonearest_test_data): Likewise.
36         (exp_towardzero_test_data): Likewise.
37         (exp_downward_test_data): Likewise.
38         (exp_upward_test_data): Likewise.
39         (exp10_test_data): Likewise.
40         (exp2_test_data): Likewise.
41         (expm1_test_data): Likewise.
42         (j0_test_data): Likewise.
43         (j1_test_data): Likewise.
44         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45         (input_flag_type): Add flag_xfail_rounding.
46         (input_flags): Add xfail-rounding.
47         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
48         (output_for_one_input_case): Handle flag_xfail_rounding.
49         * sysdeps/i386/fpu/libm-test-ulps: Update.
50         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51
52 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53
54         [BZ #16289]
55         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
56         division by 0.
57
58 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59
60         [BZ #16195]
61         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
62         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
63         (STAP_PROBE0): New macro.
64         (STAP_PROBE1): Likewise.
65         (STAP_PROBE2): Likewise.
66         (STAP_PROBE3): Likewise.
67         (STAP_PROBE4): Likewise.
68
69 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
70
71         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
72
73 2013-12-02  Steve Ellcey  <sellcey@mips.com>
74
75         * benchtests/Makefile (bench): Add sqrt.
76         (LDLIBS-bench-sqrt): New.
77         * benchtests/sqrt-input: New.
78
79 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
80
81         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
82         (GAIH_EAI): Likewise.
83         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
84         (gaih_inet): Likewise.
85         (getaddrinfo): Don't use GAIH_EAI.
86
87         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
88         (struct gaih): Remove definition.
89
90 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
91
92         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
93         Use HERRNOP directly.
94
95 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
96
97         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
98
99 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
100
101         * math/gen-auto-libm-tests.c (test_functions): Add more
102         single-argument functions.
103         (special_fill_pi_2): New function.
104         (special_fill_minus_pi_2): Likewise.
105         (special_fill_pi_6): Likewise.
106         (special_fill_minus_pi_6): Likewise.
107         (special_fill_pi_3): Likewise.
108         (special_fill_2pi_3): Likewise.
109         (special_fill_e): Likewise.
110         (special_fill_1_e): Likewise.
111         (special_fill_e_minus_1): Likewise.
112         (special_real_inputs): Add more special inputs.
113         (output_for_one_input_case): Do not require ERANGE on underflow to
114         zero if round-to-nearest result does not underflow to zero, unless
115         exact results required.
116         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
117         atan, atanh, cbrt, cos and cosh.
118         * math/auto-libm-test-out: Regenerated.
119         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
120         (acos_tonearest_test_data): Likewise.
121         (acos_towardzero_test_data): Likewise.
122         (acos_downward_test_data): Likewise.
123         (acos_upward_test_data): Likewise.
124         (acosh_test_data): Likewise.
125         (asin_test_data): Likewise.
126         (asin_tonearest_test_data): Likewise.
127         (asin_towardzero_test_data): Likewise.
128         (asin_upward_test_data): Likewise.
129         (asinh_test_data): Likewise.
130         (atan_test_data): Likewise.
131         (atanh_test_data): Likewise.
132         (cbrt_test_data): Likewise.
133         (cos_test_data): Likewise.
134         (cos_tonearest_test_data): Likewise.
135         (cos_towardzero_test_data): Likewise.
136         (cos_downward_test_data): Likewise.
137         (cos_upward_test_data): Likewise.
138         (cosh_test_data): Likewise.
139         (cosh_tonearest_test_data): Likewise.
140         (cosh_towardzero_test_data): Likewise.
141         (cosh_downward_test_data): Likewise.
142         (cosh_upward_test_data): Likewise.
143         * sysdeps/i386/fpu/libm-test-ulps: Update.
144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145
146 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
147
148         [BZ #6787]
149         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
150         * math/w_exp10f.c (__exp10f): Likewise.
151         * math/w_exp10l.c (__exp10l): Likewise.
152         * math/libm-test.inc (exp10_test_data): Add more tests and expect
153         errno settings in existing tests.
154
155         [BZ #14032]
156         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
157         precision control set to double precision.
158         * sysdeps/i386/fpu/w_sqrt.c: New file.
159         * math/auto-libm-test-in: Add more tests.
160         * math/auto-libm-test-out: Update.
161
162         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
163         (sqrt_test_tonearest): New function.
164         (sqrt_towardzero_test_data): New variable.
165         (sqrt_test_towardzero): New function.
166         (sqrt_downward_test_data): New variable.
167         (sqrt_test_downward): New function.
168         (sqrt_upward_test_data): New variable.
169         (sqrt_test_upward): New function.
170         (main): Call the new functions.
171
172         * math/gen-auto-libm-tests.c: New file.
173         * math/auto-libm-test-in: Likewise.
174         * math/auto-libm-test-out: New generated file.
175         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
176         variables.
177         (%beautify): Add generated representations of zero.
178         (top level): Set $auto_input and call parse_auto_input.
179         (beautify): Remove trailing "f" from hex float constants.
180         (parse_args): Handle XFAIL_TEST.
181         (convert_condition): New function.
182         (or_value): Likewise.
183         (or_cond_value): Likewise.
184         (generate_testfile): Handle AUTO_TESTS_* lines.
185         (parse_auto_input): New function.
186         * math/libm-test.inc (XFAIL_TEST): New macro.
187         (ERRNO_UNCHANGED): Update value.
188         (ERRNO_EDOM): Likewise.
189         (ERRNO_ERANGE): Likewise.
190         (IGNORE_RESULT): Likewise.
191         (TEST_COND_flt_32): New macro.
192         (TEST_COND_dbl_64): Likewise.
193         (TEST_COND_ldbl_96_intel): Likewise.
194         (TEST_COND_ldbl_96_m68k): Likewise.
195         (TEST_COND_ldbl_128): Likewise.
196         (TEST_COND_ldbl_128ibm): Likewise.
197         (TEST_COND_long32): Likewise.
198         (TEST_COND_long64): Likewise.
199         (TEST_COND_before_rounding): Likewise.
200         (TEST_COND_after_rounding): Likewise.
201         (enable_test): Handle XFAIL_TEST flag.
202         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
203         with finite results.
204         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
205         auto-libm-test-out.
206
207 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
208             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
209
210         [BZ #16214]
211         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
212         __tls_get_addr_internal instead of __tls_get_offset in order to
213         avoid GOT pointer dependency.  Make rtld export
214         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
215         __tls_get_addr since we are a __tls_get_offset platform.
216         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
217         GOT pointer being set up before.
218         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
219
220 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
221
222         * manual/math.texi (Errors in Math Functions): Document accuracy
223         goals.
224
225         [BZ #15004]
226         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
227         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
228         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
229         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
230         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
231         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
232         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
233         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
234         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
235         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
236         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
237         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
238         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
239         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
240         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
241         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
242
243         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
244         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
245         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
246         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
247         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
248         Likewise.
249         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
250         Likewise.
251         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
252         Likewise.
253         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
254         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
255         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
256         atomic-feupdateenv and flt-rounds.
257         * sysdeps/powerpc/nofpu/Versions (libc): Add
258         __atomic_feholdexcept, __atomic_feclearexcept,
259         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
260         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
261         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
262         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
263         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
264         here.
265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
266         Update.
267
268         * manual/arith.texi (FP Exceptions): Document that exceptions may
269         not be raised when matherr is used.
270         (Math Error Reporting): Document overflow in directed rounding
271         modes.  Document that errno may not be set when finite values are
272         returned on overflow.  Document intent to set errno on underflow
273         only for underflow to zero.
274
275         [BZ #16271]
276         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
277         round-to-nearest then adjust result for other rounding modes.
278         * include/fenv.h (fegetround): Use libm_hidden_proto.
279         * math/fegetround.c (fegetround): Use libm_hidden_def.
280         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
281         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
282         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
283         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
284         Likewise.
285         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
286         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
287         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
288         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
289
290 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
291
292         [BZ #16077]
293         * nss/Versions (libnss_files): Add
294         _nss_files_gethostbyname3_r.
295         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
296         New function.
297         (HOST_DB_LOOKUP): Remove macro.
298         (_nss_files_gethostbyname_r): Implement function without the
299         HOST_DB_LOOKUP macro.
300         (_nss_files_gethostbyname2_r): Likewise.
301
302 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
303
304         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
305
306 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
307
308         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
309         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
310         warning.
311
312 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
313
314         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
315         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
316         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
317         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
318         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
319         __fe_nomask_env_priv and attribute_hidden.
320         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
321         (libc_feupdateenv_test_ppc): Likewise.
322         (libc_feresetround_ppc): Likewise.
323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
324         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
325         compat_symbol macro.
326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
327         (__fe_nomask_env): Likewise.
328         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
329
330 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
331
332         * string/Makefile: Remove ifunc tests.
333         * string/test-string.h: Define TEST_IFUNC.
334         * string/test-bcopy-ifunc.c: Remove.
335         * string/test-bzero-ifunc.c: Likewise.
336         * string/test-memccpy-ifunc.c: Likewise.
337         * string/test-memchr-ifunc.c: Likewise.
338         * string/test-memcmp-ifunc.c: Likewise.
339         * string/test-memcpy-ifunc.c: Likewise.
340         * string/test-memmem-ifunc.c: Likewise.
341         * string/test-memmove-ifunc.c: Likewise.
342         * string/test-mempcpy-ifunc.c: Likewise.
343         * string/test-memrchr-ifunc.c: Likewise.
344         * string/test-memset-ifunc.c: Likewise.
345         * string/test-rawmemchr-ifunc.c: Likewise.
346         * string/test-stpcpy-ifunc.c: Likewise.
347         * string/test-stpncpy-ifunc.c: Likewise.
348         * string/test-strcasecmp-ifunc.c: Likewise.
349         * string/test-strcasestr-ifunc.c: Likewise.
350         * string/test-strcat-ifunc.c: Likewise.
351         * string/test-strchr-ifunc.c: Likewise.
352         * string/test-strchrnul-ifunc.c: Likewise.
353         * string/test-strcmp-ifunc.c: Likewise.
354         * string/test-strcpy-ifunc.c: Likewise.
355         * string/test-strcspn-ifunc.c: Likewise.
356         * string/test-strlen-ifunc.c: Likewise.
357         * string/test-strncasecmp-ifunc.c: Likewise.
358         * string/test-strncat-ifunc.c: Likewise.
359         * string/test-strncmp-ifunc.c: Likewise.
360         * string/test-strncpy-ifunc.c: Likewise.
361         * string/test-strnlen-ifunc.c: Likewise.
362         * string/test-strpbrk-ifunc.c: Likewise.
363         * string/test-strrchr-ifunc.c: Likewise.
364         * string/test-strspn-ifunc.c: Likewise.
365         * string/test-strstr-ifunc.c: Likewise.
366
367 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
368
369         * benchtests/Makefile: Remove ifunc tests.
370         * benchtests/bench-string.h: Define TEST_IFUNC.
371         * benchtests/bench-bcopy-ifunc.c: Remove.
372         * benchtests/bench-bzero-ifunc.c: Likewise.
373         * benchtests/bench-memccpy-ifunc.c: Likewise.
374         * benchtests/bench-memchr-ifunc.c: Likewise.
375         * benchtests/bench-memcmp-ifunc.c: Likewise.
376         * benchtests/bench-memcpy-ifunc.c: Likewise.
377         * benchtests/bench-memmem-ifunc.c: Likewise.
378         * benchtests/bench-memmove-ifunc.c: Likewise.
379         * benchtests/bench-mempcpy-ifunc.c: Likewise.
380         * benchtests/bench-memrchr-ifunc.c: Likewise.
381         * benchtests/bench-memset-ifunc.c: Likewise.
382         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
383         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
384         * benchtests/bench-stpcpy-ifunc.c: Likewise.
385         * benchtests/bench-stpncpy-ifunc.c: Likewise.
386         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
387         * benchtests/bench-strcasestr-ifunc.c: Likewise.
388         * benchtests/bench-strcat-ifunc.c: Likewise.
389         * benchtests/bench-strchr-ifunc.c: Likewise.
390         * benchtests/bench-strchrnul-ifunc.c: Likewise.
391         * benchtests/bench-strcmp-ifunc.c: Likewise.
392         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
393         * benchtests/bench-strcpy-ifunc.c: Likewise.
394         * benchtests/bench-strcspn-ifunc.c: Likewise.
395         * benchtests/bench-strlen-ifunc.c: Likewise.
396         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
397         * benchtests/bench-strncat-ifunc.c: Likewise.
398         * benchtests/bench-strncmp-ifunc.c: Likewise.
399         * benchtests/bench-strncpy-ifunc.c: Likewise.
400         * benchtests/bench-strnlen-ifunc.c: Likewise.
401         * benchtests/bench-strpbrk-ifunc.c: Likewise.
402         * benchtests/bench-strrchr-ifunc.c: Likewise.
403         * benchtests/bench-strsep-ifunc.c: Likewise.
404         * benchtests/bench-strspn-ifunc.c: Likewise.
405         * benchtests/bench-strstr-ifunc.c: Likewise.
406
407 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
408
409         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
410
411 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
412
413         * resolv/netdb.h: Use __glibc_reserved instead __unused.
414         * rt/aio.h: Likewise.
415         * sysdeps/gnu/bits/utmp.h: Likewise.
416         * sysdeps/gnu/bits/utmpx.h: Likewise.
417         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
418         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
419         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
420         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
421         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
422         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
423         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
424         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
425         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
426         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
427         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
428         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
429         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
431         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
432         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
433         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
434         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
435         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
436         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
437         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
438         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
439         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
440         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
441         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
442         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
443         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
444         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
445         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
446         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
447         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
448         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
449         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
450         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
451         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
452         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
453         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
454         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
455         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
456         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
457         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
458         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
459
460 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
461
462         [BZ #16245]
463         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
464         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
465
466 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
467
468         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
469         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
470         Likewise.
471
472 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
473
474         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
475         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
476         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
477         (__fesetround): Remove define.
478         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
479         rounding and exceptions handling.
480         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
481         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
482         (__fe_nomask_env): Likewise.
483         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
484         __fegetround instead of fegetround.
485         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
486         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
487
488 2013-11-21  Roland McGrath  <roland@hack.frob.com>
489
490         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
491         it's there.
492
493         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
494
495 2013-11-21  Meador Inge  <meadori@codesourcery.com>
496
497         [BZ #11157]
498         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
499         (encrypt_r): Likewise.
500         * malloc/obstack.h (obstack_free): Likewise.
501         * posix/unistd.h (encrypt): Likewise.
502
503 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
504
505         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
506         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
507         DL_CALL_DT_FINI() that call the functions directly.
508         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
509         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
510         * elf/dl-fini.c: Likewise.
511
512 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
513
514         * malloc/hooks.c (memalign_check): Add alignment rounding.
515         * malloc/malloc.c (_mid_memalign): New function.
516         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
517         Implement by calling _mid_memalign.
518         * manual/probes.texi (Memory Allocation Probes): Remove
519         memory_valloc_retry and memory_pvalloc_retry.
520
521 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
522
523         * locale/programs/locarchive.c (open_archive): Add const
524         qualifier to ARCHIVEFNAME and copy default fname to
525         DEFAULT_FNAME.
526
527         [BZ #15601]
528         * libio/tst-widetext.input: Rename Oriya to Odia.
529         * locale/iso-639.def: Likewise.
530
531         * manual/probes.texi (Mathematical Function Probes): Add
532         documentation for sin, cos, asin and acos probes.
533         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
534         (__sin32): Add slowasin probe.
535         (__cos32): Add slowacos probe.
536         (__mpsin): Add slowsin probe.
537         (__mpcos): Add slowcos probe.
538
539 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
540
541         [BZ #15483]
542         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
543         thread-local __sim_exceptions_thread and global
544         __sim_exceptions_global.
545         (__sim_disabled_exceptions): Change to thread-local
546         __sim_disabled_exceptions_thread and global
547         __sim_disabled_exceptions_global.
548         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
549         and global __sim_round_mode_global.
550         (__simulate_exceptions): Use thread-local floating-point state and
551         set global state from it as needed.
552         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
553         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
554         __sim_round_mode_thread.
555         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
556         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
557         and global __sim_exceptions_global.
558         (__sim_disabled_exceptions): Change to thread-local
559         __sim_disabled_exceptions_thread and global
560         __sim_disabled_exceptions_global.
561         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
562         and global __sim_round_mode_global.
563         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
564         (SIM_SET_GLOBAL): Likewise.
565         * sysdeps/powerpc/soft-fp/sfp-machine.h
566         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
567         __sim_round_mode_thread.
568         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
569         __sim_disabled_exceptions_thread.
570         (__sim_exceptions): Change to __sim_exceptions_thread.
571         (__sim_disabled_exceptions): Change to
572         __sim_disabled_exceptions_thread.
573         (__sim_round_mode): Change to __sim_round_mode_thread.
574         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
575         thread-local floating-point state and set global state from it as
576         needed.
577         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
578         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
579         (__sim_disabled_exceptions): Remove extern declaration.
580         (feenableexcept): Use thread-local floating-point state and set
581         global state from it as needed.
582         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
583         extern declaration.
584         (__sim_disabled_exceptions): Likewise.
585         (__sim_round_mode): Likewise.
586         (__fegetenv): Use thread-local floating-point state.
587         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
588         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
589         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
590         floating-point state and set global state from it as needed.
591         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
592         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
593         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
594         Likewise.
595         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
596         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
597         Likewise.
598         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
599         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
600         Use __sim_round_mode_thread.
601         * math/test-fenv-tls.c: New file.
602         * math/Makefile (tests): Add test-fenv-tls.
603         ($(objpfx)test-fenv-tls): Depend on
604         $(common-objpfx)nptl/libpthread.so.
605
606 2013-11-19  Andreas Schwab  <schwab@suse.de>
607
608         * locale/programs/locale.c (show_info): Decode wordarray elements.
609         * locale/categories.def (LC_MONETARY): Add element for
610         _NL_MONETARY_CRNCYSTR.
611         * locale/C-monetary.c (conversion_rate): New variable.
612         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
613         element.
614
615 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
616
617         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
618         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
619
620 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
621
622         * elf/Makefile (tst-auxv): New test.
623         * elf/tst-auxv.c: New
624         * elf/rtld.c (dl_main): Adjust AT_EXECFN
625
626 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
627
628         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
629         (hidden_proto): Caller changed.
630         (hidden_tls_proto): New macro.
631         (libc_hidden_tls_proto): Likewise.
632         (rtld_hidden_tls_proto): Likewise.
633         (libm_hidden_tls_proto): Likewise.
634         (libresolv_hidden_tls_proto): Likewise.
635         (librt_hidden_tls_proto): Likewise.
636         (libdl_hidden_tls_proto): Likewise.
637         (libnss_files_hidden_tls_proto): Likewise.
638         (libnsl_hidden_tls_proto): Likewise.
639         (libnss_nisplus_hidden_tls_proto): Likewise.
640         (libutil_hidden_tls_proto): Likewise.
641
642 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
643
644         [BZ #10253]
645         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
646         (decompose_rpath): Defer expansion to fillin_rpath.
647         (_dl_init_paths): Pass linkmap to fillin_rpath.
648
649 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
650
651         * benchtests/Makefile: Add strsep.
652         * benchtests/bench-strsep.c: New file: strsep benchtest.
653         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
654
655 2013-11-18  Andreas Schwab  <schwab@suse.de>
656
657         * locale/programs/locale.c (show_info) [case byte]: Check for
658         '\377' instead of '\177'.
659         * locale/C-monetary.c (not_available): Always use "\377".
660         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
661         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
662         detect unavailable sign_posn locale elements.
663         * locale/localeconv.c (__localeconv): For grouping and
664         mon_grouping handle "\177" and "\377" like no grouping.
665         (INT_ELEM): New macro.  Use it to set all numeric members.
666         * locale/programs/ld-monetary.c (monetary_read)
667         <tok_mon_grouping>: Normalize single -1 to the empty string.
668         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
669         Likewise.
670
671 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
672
673         [BZ #16055]
674         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
675         when we match (nil).
676         * stdio-common/tst-sscanf.c (struct test): Add testcase.
677
678 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
679
680         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
681         (NO_TEST_INLINE): Update value.
682         (ERRNO_UNCHANGED): Likewise.
683         (ERRNO_EDOM): Likewise.
684         (ERRNO_ERANGE): Likewise.
685         (IGNORE_RESULT): Likewise.
686         (check_float_internal): Check signs of NaN results if
687         TEST_NAN_SIGN used.
688         (check_complex): Pass TEST_NAN_SIGN flag through to second
689         check_float_internal call.
690         (copysign_test_data): Add tests with quiet NaNs as second
691         argument.  Use TEST_NAN_SIGN.
692         (fabs_test_data): Add test of negative quiet NaN argument.  Use
693         TEST_NAN_SIGN.
694         (signbit_test_data): Add tests of quiet NaN argument.
695         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
696
697         * math/gen-libm-test.pl (show_exceptions): Take extra argument
698         $ignore_result.
699         (parse_args): Handle function results specified as IGNORE.
700         * math/libm-test.inc (IGNORE_RESULT): New macro.
701         (check_float_internal): Do not check numerical result if flag
702         IGNORE_RESULT set.
703         (check_complex): Pass through IGNORE_RESULT to second
704         check_float_internal call.
705         (check_int): Do not check numerical result if flag IGNORE_RESULT
706         set.
707         (check_long): Likewise.
708         (check_bool): Likewise.
709         (check_longlong): Likewise.
710         (lrint_test_data): Add tests of infinite and NaN arguments.
711         (lrint_tonearest_test_data): Likewise.
712         (lrint_towardzero_test_data): Likewise.
713         (lrint_downward_test_data): Likewise.
714         (lrint_upward_test_data): Likewise.
715         (llrint_test_data): Likewise.
716         (llrint_tonearest_test_data): Likewise.
717         (llrint_towardzero_test_data): Likewise.
718         (llrint_downward_test_data): Likewise.
719         (llrint_upward_test_data): Likewise.
720         (lround_test_data): Likewise.
721         (llround_test_data): Likewise.
722
723         * math/libm-test.inc (NO_TEST_INLINE): New macro.
724         (ERRNO_UNCHANGED): Update value.
725         (ERRNO_EDOM): Likewise.
726         (ERRNO_ERANGE): Likewise.
727         (NO_TEST_INLINE_FLOAT): New macro.
728         (NO_TEST_INLINE_DOUBLE): Likewise.
729         (enable_test): New function.
730         (RUN_TEST_f_f): Check enable_test before running test.
731         (RUN_TEST_2_f): Likewise.
732         (RUN_TEST_fff_f): Likewise.
733         (RUN_TEST_c_f): Likewise.
734         (RUN_TEST_f_f1): Likewise.
735         (RUN_TEST_fF_f1): Likewise.
736         (RUN_TEST_fI_f1): Likewise.
737         (RUN_TEST_ffI_f1): Likewise.
738         (RUN_TEST_c_c): Likewise.
739         (RUN_TEST_cc_c): Likewise.
740         (RUN_TEST_f_i): Likewise.
741         (RUN_TEST_f_i_tg): Likewise.
742         (RUN_TEST_ff_i_tg): Likewise.
743         (RUN_TEST_f_b): Likewise.
744         (RUN_TEST_f_b_tg): Likewise.
745         (RUN_TEST_f_l): Likewise.
746         (RUN_TEST_f_L): Likewise.
747         (RUN_TEST_fFF_11): Likewise.
748         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
749         conditionals.
750         (cosh_test_data): Likewise.
751         (exp_test_data): Likewise.
752         (expm1_test_data): Likewise.
753         (hypot_test_data): Likewise.
754         (pow_test_data): Likewise.
755         (sinh_test_data): Likewise.
756         (tanh_test_data): Likewise.
757         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
758         flags argument.
759
760         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
761         tests with quiet NaN input and output.
762         (acosh_test_data): Likewise.
763         (asin_test_data): Likewise.
764         (asinh_test_data): Likewise.
765         (atan_test_data): Likewise.
766         (atanh_test_data): Likewise.
767         (atan2_test_data): Likewise.
768         (cbrt_test_data): Likewise.
769         (cos_test_data): Likewise.
770         (cosh_test_data): Likewise.
771         (erf_test_data): Likewise.
772         (erfc_test_data): Likewise.
773         (exp_test_data): Likewise.
774         (exp10_test_data): Likewise.
775         (exp2_test_data): Likewise.
776         (expm1_test_data): Likewise.
777         (hypot_test_data): Likewise.
778         (j0_test_data): Likewise.
779         (j1_test_data): Likewise.
780         (jn_test_data): Likewise.
781         (lgamma_test_data): Likewise.
782         (log_test_data): Likewise.
783         (log10_test_data): Likewise.
784         (log1p_test_data): Likewise.
785         (log2_test_data): Likewise.
786         (pow_test_data): Likewise.
787         (scalb_test_data): Likewise.
788         (sin_test_data): Likewise.
789         (sincos_test_data): Likewise.
790         (sinh_test_data): Likewise.
791         (tan_test_data): Likewise.
792         (tanh_test_data): Likewise.
793         (tgamma_test_data): Likewise.
794         (y0_test_data): Likewise.
795         (y1_test_data): Likewise.
796         (yn_test_data): Likewise.
797
798         [BZ #16167]
799         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
800         argument being NaN and avoid computations with second argument in
801         that case.
802         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
803         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
804         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
805
806 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
807
808         * locale/iso-639.def: Add Chitwani Tharu (the).
809
810 2013-11-14  Andreas Schwab  <schwab@suse.de>
811
812         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
813         word instead of empty string.
814
815 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
816
817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
818         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
820         (__fe_nomask_env): Likewise.
821
822 2013-11-13  Steve Ellcey  <sellcey@mips.com>
823
824         * benchtests/bench-timing.h: Include time.h.
825
826 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
827
828         [BZ #15997]
829         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
830         to 3.4.0 for x32.
831         * sysdeps/unix/sysv/linux/configure: Regenerated.
832
833 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
834
835         [BZ #16151]
836         * stdlib/strtod_l.c (round_and_return): Do not consider
837         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
838         exponent one less than half the least subnormal exponent.
839         * stdlib/test-strtod-round-data: Add more tests.
840         * stdlib/tst-strtod-round.c (tests): Regenerated.
841
842 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
843
844         [BZ #14143]
845         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
846         (__fe_mask_env): Likewise.
847         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
848         libm_hidden_proto and add function prototype.
849         (__fe_mask_env): Add function prototype.
850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
851         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
853         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
855         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
856
857 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
858
859         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
860         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
861
862 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
863
864         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
865         of htab_find_slot().
866
867 2013-11-11  David S. Miller  <davem@davemloft.net>
868
869         [BZ #16150]
870         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
871         symbol in the non-vis3 case in static builds.
872         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
873         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
874         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
875         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
876
877 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
878
879         [BZ #387]
880         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
881         it is empty.
882
883 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
884
885         * benchtests/Makefile: Add bench-strtod.
886         * benchtests/bench-strtod.c: New file: strtod benchtest
887
888 2013-11-11  Andreas Schwab  <schwab@suse.de>
889
890         [BZ #16153]
891         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
892         terminating NUL in key length.
893
894 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
895
896         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
897         Add artificial ODP entry for vDSO symbol for PPC64.
898         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
899         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
900
901 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
902
903         [BZ #15374]
904         * nss/getent.c (services_keys): Recognize services starting with digit.
905
906 2013-11-06  David S. Miller  <davem@davemloft.net>
907
908         [BZ #15985]
909         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
910         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
911
912 2013-11-06  Will Newton  <will.newton@linaro.org>
913
914         * manual/memory.texi (Malloc Examples): Remove register
915         keyword from examples.
916
917 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
918
919         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
920
921 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
922
923         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
924         depending on [__GCC_IEC_559 > 0].
925         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
926         depending on [__GCC_IEC_559_COMPLEX > 0].
927
928 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
929
930         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
931         to iso-639.def.
932
933 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
934
935         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
936
937 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
938
939         [BZ #16112]
940         * malloc/malloc (malloc_info): Do not handle first bin as
941         special case.
942
943 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
944
945         * locale/iso-639.def: Add Central Nahuatl (nhn).
946
947 2013-11-01  Bruno Haible  <bruno@clisp.org>
948
949         [BZ #7003]
950         * manual/math.texi (BSD Random): Specify range upper bound as
951         in POSIX.
952
953 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
954
955         * locale/iso-639.def: Add Meadow Mari (mhr).
956
957 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
958
959         [BZ #14752], [BZ #15763]
960         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
961         Validate name.
962         * rt/tst_shm.c: Add test for escaping directory.
963
964 2013-10-31  Andreas Schwab  <schwab@suse.de>
965
966         [BZ #15917]
967         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
968         followed by 'x' as part of digit sequence.
969         * stdio-common/tst-sscanf.c (double_tests2): New tests.
970
971 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
972
973         [BZ #16037]
974         * configure.ac: allow GNU Make 4.0 and greater.
975         * configure: Regenerated.
976
977 2013-10-30  Will Newton  <will.newton@linaro.org>
978
979         [BZ #16038]
980         * malloc/hooks.c (memalign_check): Limit alignment to the
981         maximum representable power of two.
982         * malloc/malloc.c (__libc_memalign): Likewise.
983         * malloc/tst-memalign.c (do_test): Add test for very
984         large alignment values.
985         * malloc/tst-posix_memalign.c (do_test): Likewise.
986
987 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
988
989         [BZ #11087]
990         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
991         (munmap_chunk): Likewise.
992         (mremap_chunk): Likewise.
993
994 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
995
996         [BZ #15799]
997         * stdlib/div.c (div): Remove obsolete code.
998         * stdlib/ldiv.c (ldiv): Likewise.
999         * stdlib/lldiv.c (lldiv): Likewise.
1000
1001 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1002
1003         [BZ #16071]
1004         * nss/nss_files/files-XXX.c (get_contents_ret): New
1005         enumerator.
1006         (get_contents): New function.
1007         (internal_getent): Use it.  Expand size of LINEBUFLEN.
1008
1009 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
1010
1011         * configure.in: Moved to ...
1012         * configure.ac: ... here. Change reference to configure.in
1013         to configure.ac.
1014         * sysdeps/arm/preconfigure.ac: ... here.
1015         configure.in to configure.ac.
1016         * sysdeps/gnu/configure.in: Moved to ...
1017         * sysdeps/gnu/configure.ac: ... here.
1018         * sysdeps/i386/configure.in: Moved to ...
1019         * sysdeps/i386/configure.ac: ... here.
1020         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1021         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1022         * sysdeps/mach/configure.in: Moved to ...
1023         * sysdeps/mach/configure.ac: ... here.
1024         * sysdeps/mach/hurd/configure.in: Moved to ...
1025         * sysdeps/mach/hurd/configure.ac: ... here.
1026         * sysdeps/powerpc/configure.in: Moved to ...
1027         * sysdeps/powerpc/configure.ac: ... here.
1028         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1029         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1030         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1031         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1032         * sysdeps/s390/s390-32/configure.in: Moved to ...
1033         * sysdeps/s390/s390-32/configure.ac: ... here.
1034         * sysdeps/s390/s390-64/configure.in: Moved to ...
1035         * sysdeps/s390/s390-64/configure.ac: ... here.
1036         * sysdeps/sh/configure.in: Moved to ...
1037         * sysdeps/sh/configure.ac: ... here.
1038         * sysdeps/sparc/configure.in: Moved to ...
1039         * sysdeps/sparc/configure.ac: ... here.
1040         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1041         * sysdeps/unix/sysv/linux/configure.ac: ... here.
1042         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1043         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1044         * sysdeps/x86_64/configure.in: Moved to ...
1045         * sysdeps/x86_64/configure.ac: ... here.
1046         * sysdeps/x86_64/preconfigure.in: Moved to ...
1047         * sysdeps/x86_64/preconfigure.ac: ... here.
1048         * aclocal.m4: Change reference to configure.in to configure.ac.
1049         * config.h.in: Likewise.
1050         * manual/install.texi: Likewise.
1051         * manual/maint.texi: Likewise.
1052         * Makefile: Likewise.
1053         * malloc/Makefile: Likewise.
1054         * nscd/Makefile: Likewise.
1055         * Makeconfig: Change reference to configure.in and
1056         preconfigure.in to configure.ac and preconfigure.ac
1057         respectively.
1058         * INSTALL: Regenerated.
1059         * configure: Likewise.
1060         * sysdeps/gnu/configure: Likewise.
1061         * sysdeps/i386/configure: Likewise.
1062         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1063         * sysdeps/mach/configure: Likewise.
1064         * sysdeps/mach/hurd/configure: Likewise.
1065         * sysdeps/powerpc/configure: Likewise.
1066         * sysdeps/powerpc/powerpc32/configure: Likewise.
1067         * sysdeps/powerpc/powerpc64/configure: Likewise.
1068         * sysdeps/s390/s390-32/configure: Likewise.
1069         * sysdeps/s390/s390-64/configure: Likewise.
1070         * sysdeps/sh/configure: Likewise.
1071         * sysdeps/sparc/configure: Likewise.
1072         * sysdeps/unix/sysv/linux/configure: Likewise.
1073         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1074         * sysdeps/x86_64/configure: Likewise.
1075         * sysdeps/x86_64/preconfigure: Likewise.
1076
1077 2013-10-29  Andreas Schwab  <schwab@suse.de>
1078
1079         * stdio-common/Makefile (tst-swscanf-ENV): Define.
1080
1081 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1082
1083         * benchtests/pow-inputs: Add new inputs.
1084
1085         * benchtests/exp-inputs: Add new inputs.
1086
1087         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1088         conditional check for return value.
1089         (__cos32): Likewise.
1090
1091 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1092
1093         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1094         to provide a boost for large inputs with word alignment.
1095         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1096         implementation based on optimized PPC64 strcpy.
1097         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1098         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1099         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1100         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1101
1102 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1103
1104         [BZ #2801]
1105         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1106
1107 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1108
1109         [BZ #14876]
1110         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1111         * time/tst-strptime.c (day_tests): Add testcase.
1112
1113 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1114
1115         [BZ #14029]
1116         * manual/pattern.texi: Acknowledge that fnmatch can fail.
1117
1118 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
1119
1120         [BZ #16074]
1121         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1122         MAP_FAILED on error.
1123
1124 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1125
1126         [BZ #16072]
1127         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1128         heap for large requests.
1129
1130 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
1131
1132         [BZ #9954]
1133         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1134         result if the result has no associated interface.
1135         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1136         interface for all 127.X.Y.Z addresses.
1137
1138 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
1139
1140         * locale/iso-639.def: Add Ligurian (lij)
1141
1142 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
1143
1144         [BZ #15825]
1145         * sunrpc/rpc_main.c: Document rpcgen -5.
1146
1147 2013-10-19  Michael Stahl  <mstahl@redhat.com>
1148
1149         * elf/rtld.c (do_preload): Print the reason why preloading failed.
1150
1151 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1152
1153         [BZ #10278]
1154         * posix/glob.c: Match only directories when trailing slash is present.
1155         * posix/tst-gnuglob.c (my_opendir): Do not open files.
1156         (main): Add testcase.
1157
1158 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1159
1160         [BZ #15670]
1161         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1162
1163 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
1164
1165         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1166         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1167         AUTH_DES and cindex for FIPS 140-2.
1168         (DES Encryption): Add cindex FIPS 46-3.
1169
1170         * locale/locarchive.h (struct locarhandle): Add fname.
1171         * locale/programs/localedef.c (main): Pass ARGV[remaining]
1172         if an optional argument was specified to --list-archive,
1173         otherwise NULL.
1174         * locale/programs/locarchive.c (show_archive_content): Take new
1175         argument fname and pass it via ah.fname to open_archive.
1176         * locale/programs/localedef.h: Update decl.
1177         (open_archive): If AH->fname is non-null, open that file
1178         rather than the default file name, and don't ignore ENOENT.
1179         (create_archive): Set AH.fname to NULL.
1180         (delete_locales_from_archive): Likewise.
1181         (add_locales_to_archive): Likewise.
1182         * locale/programs/locfile.c (write_all_categories): Likewise.
1183
1184 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
1185             Aldy Hernandez  <aldyh@redhat.com>
1186
1187         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1188         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1189         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1190         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1191         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1192         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1193         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1194         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1195         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1196         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1197         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1198         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1199         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1200         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1201         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1202         Likewise.
1203         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1204         Likewise.
1205         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1206         Likewise.
1207         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1208         Likewise.
1209         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1210         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1211         Likewise.
1212         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1213         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1214         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1215         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1216         Likewise.
1217         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1218         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1219         * sysdeps/powerpc/preconfigure: Likewise.
1220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1221         Likewise.
1222         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1223         Replace contents of file by #include of <fenv_libc.h>.
1224         * sysdeps/powerpc/soft-fp/sfp-machine.h
1225         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1226         and <sys/prctl.h>.
1227         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1228         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1229         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1230         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1231         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1232         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1234         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1235         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1236         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1237         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1238         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1240         Allow copysignl PLT reference to be missing.
1241
1242 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
1243             Joseph Myers  <joseph@codesourcery.com
1244
1245         [BZ #15948]
1246         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1247         single character.
1248         (add_to_tablewc): Assert sequence of wide characters is nonempty.
1249
1250 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1251
1252         * elf/tst-tls-dlinfo.c: Don't include tls.h.
1253         * elf/tst-tls1.c: Likewise.
1254         * elf/tst-tls10.h: Likewise.
1255         * elf/tst-tls14.c: Likewise.
1256         * elf/tst-tls2.c: Likewise.
1257         * elf/tst-tls3.c: Likewise.
1258         * elf/tst-tls4.c: Likewise.
1259         * elf/tst-tls5.c: Likewise.
1260         * elf/tst-tls6.c: Likewise.
1261         * elf/tst-tls7.c: Likewise.
1262         * elf/tst-tls8.c: Likewise.
1263         * elf/tst-tls9.c: Likewise.
1264         * elf/tst-tlsmod1.c: Likewise.
1265         * elf/tst-tlsmod13.c: Likewise.
1266         * elf/tst-tlsmod13a.c: Likewise.
1267         * elf/tst-tlsmod14a.c: Likewise.
1268         * elf/tst-tlsmod16a.c: Likewise.
1269         * elf/tst-tlsmod16b.c: Likewise.
1270         * elf/tst-tlsmod2.c: Likewise.
1271         * elf/tst-tlsmod3.c: Likewise.
1272         * elf/tst-tlsmod4.c: Likewise.
1273         * elf/tst-tlsmod5.c: Likewise.
1274         * elf/tst-tlsmod6.c: Likewise.
1275
1276 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
1277
1278         [BZ #12486]
1279         * malloc/malloc.c: remove checks for statistics.
1280
1281 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1282
1283         [BZ #15277]
1284         * inet/inet_net.c (inet_network): Detect additional invalid strings.
1285         * inet/tst-network.c: Add testcase.
1286
1287 2013-10-17  Andreas Schwab  <schwab@suse.de>
1288
1289         [BZ #15218]
1290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1291         to determine canonical name.
1292
1293 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1294
1295         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1296         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1297         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1298         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1299         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1300         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1301         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1302         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1303         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1304         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1305         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1306         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1307         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1308         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1309         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1310         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1311         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1312         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1313         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1314         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1315         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1316         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1317         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1318         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1319         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1320         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1321         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1322         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1323         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1324         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1325         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1326         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1327         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1328         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1329         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1330         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1331         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1332         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1333         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1334         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1335         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1336         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1337         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1338         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1339         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1340         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1341         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1342         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1343         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1344         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1345         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1346         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1347         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1348         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1349         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1350         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1351         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1352         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1353
1354 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
1355
1356         [BZ #16041]
1357         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1358         make result into a quiet NaN.
1359
1360 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
1361
1362         * soft-fp/adddf3.c: Fix horizontal whitespace.
1363         * soft-fp/addsf3.c: Likewise.
1364         * soft-fp/addtf3.c: Likewise.
1365         * soft-fp/divdf3.c: Likewise.
1366         * soft-fp/divsf3.c: Likewise.
1367         * soft-fp/divtf3.c: Likewise.
1368         * soft-fp/double.h: Likewise.
1369         * soft-fp/eqdf2.c: Likewise.
1370         * soft-fp/eqsf2.c: Likewise.
1371         * soft-fp/eqtf2.c: Likewise.
1372         * soft-fp/extenddftf2.c: Likewise.
1373         * soft-fp/extended.h: Likewise.
1374         * soft-fp/extendsfdf2.c: Likewise.
1375         * soft-fp/extendsftf2.c: Likewise.
1376         * soft-fp/extendxftf2.c: Likewise.
1377         * soft-fp/fixdfdi.c: Likewise.
1378         * soft-fp/fixdfsi.c: Likewise.
1379         * soft-fp/fixdfti.c: Likewise.
1380         * soft-fp/fixsfdi.c: Likewise.
1381         * soft-fp/fixsfsi.c: Likewise.
1382         * soft-fp/fixsfti.c: Likewise.
1383         * soft-fp/fixtfdi.c: Likewise.
1384         * soft-fp/fixtfsi.c: Likewise.
1385         * soft-fp/fixtfti.c: Likewise.
1386         * soft-fp/fixunsdfdi.c: Likewise.
1387         * soft-fp/fixunsdfsi.c: Likewise.
1388         * soft-fp/fixunsdfti.c: Likewise.
1389         * soft-fp/fixunssfdi.c: Likewise.
1390         * soft-fp/fixunssfsi.c: Likewise.
1391         * soft-fp/fixunssfti.c: Likewise.
1392         * soft-fp/fixunstfdi.c: Likewise.
1393         * soft-fp/fixunstfsi.c: Likewise.
1394         * soft-fp/fixunstfti.c: Likewise.
1395         * soft-fp/floatdidf.c: Likewise.
1396         * soft-fp/floatdisf.c: Likewise.
1397         * soft-fp/floatditf.c: Likewise.
1398         * soft-fp/floatsidf.c: Likewise.
1399         * soft-fp/floatsisf.c: Likewise.
1400         * soft-fp/floatsitf.c: Likewise.
1401         * soft-fp/floattidf.c: Likewise.
1402         * soft-fp/floattisf.c: Likewise.
1403         * soft-fp/floattitf.c: Likewise.
1404         * soft-fp/floatundidf.c: Likewise.
1405         * soft-fp/floatundisf.c: Likewise.
1406         * soft-fp/floatunditf.c: Likewise.
1407         * soft-fp/floatunsidf.c: Likewise.
1408         * soft-fp/floatunsisf.c: Likewise.
1409         * soft-fp/floatunsitf.c: Likewise.
1410         * soft-fp/floatuntidf.c: Likewise.
1411         * soft-fp/floatuntisf.c: Likewise.
1412         * soft-fp/floatuntitf.c: Likewise.
1413         * soft-fp/fmadf4.c: Likewise.
1414         * soft-fp/fmasf4.c: Likewise.
1415         * soft-fp/fmatf4.c: Likewise.
1416         * soft-fp/gedf2.c: Likewise.
1417         * soft-fp/gesf2.c: Likewise.
1418         * soft-fp/getf2.c: Likewise.
1419         * soft-fp/ledf2.c: Likewise.
1420         * soft-fp/lesf2.c: Likewise.
1421         * soft-fp/letf2.c: Likewise.
1422         * soft-fp/muldf3.c: Likewise.
1423         * soft-fp/mulsf3.c: Likewise.
1424         * soft-fp/multf3.c: Likewise.
1425         * soft-fp/negdf2.c: Likewise.
1426         * soft-fp/negsf2.c: Likewise.
1427         * soft-fp/negtf2.c: Likewise.
1428         * soft-fp/op-1.h: Likewise.
1429         * soft-fp/op-2.h: Likewise.
1430         * soft-fp/op-4.h: Likewise.
1431         * soft-fp/op-8.h: Likewise.
1432         * soft-fp/op-common.h: Likewise.
1433         * soft-fp/quad.h: Likewise.
1434         * soft-fp/single.h: Likewise.
1435         * soft-fp/soft-fp.h: Likewise.
1436         * soft-fp/sqrtdf2.c: Likewise.
1437         * soft-fp/sqrtsf2.c: Likewise.
1438         * soft-fp/sqrttf2.c: Likewise.
1439         * soft-fp/subdf3.c: Likewise.
1440         * soft-fp/subsf3.c: Likewise.
1441         * soft-fp/subtf3.c: Likewise.
1442         * soft-fp/truncdfsf2.c: Likewise.
1443         * soft-fp/trunctfdf2.c: Likewise.
1444         * soft-fp/trunctfsf2.c: Likewise.
1445         * soft-fp/trunctfxf2.c: Likewise.
1446         * soft-fp/unorddf2.c: Likewise.
1447         * soft-fp/unordsf2.c: Likewise.
1448         * soft-fp/unordtf2.c: Likewise.
1449
1450 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
1451
1452         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1453         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1454
1455 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
1456
1457         * elf/dl-libc.c: Clear initfini list after freeing.
1458
1459 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
1460
1461         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1462         * soft-fp/addsf3.c: Likewise.
1463         * soft-fp/addtf3.c: Likewise.
1464         * soft-fp/divdf3.c: Likewise.
1465         * soft-fp/divsf3.c: Likewise.
1466         * soft-fp/divtf3.c: Likewise.
1467         * soft-fp/double.h: Likewise.
1468         * soft-fp/eqdf2.c: Likewise.
1469         * soft-fp/eqsf2.c: Likewise.
1470         * soft-fp/eqtf2.c: Likewise.
1471         * soft-fp/extenddftf2.c: Likewise.
1472         * soft-fp/extended.h: Likewise.
1473         * soft-fp/extendsfdf2.c: Likewise.
1474         * soft-fp/extendsftf2.c: Likewise.
1475         * soft-fp/extendxftf2.c: Likewise.
1476         * soft-fp/fixdfdi.c: Likewise.
1477         * soft-fp/fixdfsi.c: Likewise.
1478         * soft-fp/fixdfti.c: Likewise.
1479         * soft-fp/fixsfdi.c: Likewise.
1480         * soft-fp/fixsfsi.c: Likewise.
1481         * soft-fp/fixsfti.c: Likewise.
1482         * soft-fp/fixtfdi.c: Likewise.
1483         * soft-fp/fixtfsi.c: Likewise.
1484         * soft-fp/fixtfti.c: Likewise.
1485         * soft-fp/fixunsdfdi.c: Likewise.
1486         * soft-fp/fixunsdfsi.c: Likewise.
1487         * soft-fp/fixunsdfti.c: Likewise.
1488         * soft-fp/fixunssfdi.c: Likewise.
1489         * soft-fp/fixunssfsi.c: Likewise.
1490         * soft-fp/fixunssfti.c: Likewise.
1491         * soft-fp/fixunstfdi.c: Likewise.
1492         * soft-fp/fixunstfsi.c: Likewise.
1493         * soft-fp/fixunstfti.c: Likewise.
1494         * soft-fp/floatdidf.c: Likewise.
1495         * soft-fp/floatdisf.c: Likewise.
1496         * soft-fp/floatditf.c: Likewise.
1497         * soft-fp/floatsidf.c: Likewise.
1498         * soft-fp/floatsisf.c: Likewise.
1499         * soft-fp/floatsitf.c: Likewise.
1500         * soft-fp/floattidf.c: Likewise.
1501         * soft-fp/floattisf.c: Likewise.
1502         * soft-fp/floattitf.c: Likewise.
1503         * soft-fp/floatundidf.c: Likewise.
1504         * soft-fp/floatundisf.c: Likewise.
1505         * soft-fp/floatunsidf.c: Likewise.
1506         * soft-fp/floatunsisf.c: Likewise.
1507         * soft-fp/floatuntidf.c: Likewise.
1508         * soft-fp/floatuntisf.c: Likewise.
1509         * soft-fp/floatuntitf.c: Likewise.
1510         * soft-fp/fmadf4.c: Likewise.
1511         * soft-fp/fmasf4.c: Likewise.
1512         * soft-fp/fmatf4.c: Likewise.
1513         * soft-fp/gedf2.c: Likewise.
1514         * soft-fp/gesf2.c: Likewise.
1515         * soft-fp/getf2.c: Likewise.
1516         * soft-fp/ledf2.c: Likewise.
1517         * soft-fp/lesf2.c: Likewise.
1518         * soft-fp/letf2.c: Likewise.
1519         * soft-fp/muldf3.c: Likewise.
1520         * soft-fp/mulsf3.c: Likewise.
1521         * soft-fp/multf3.c: Likewise.
1522         * soft-fp/negdf2.c: Likewise.
1523         * soft-fp/negsf2.c: Likewise.
1524         * soft-fp/negtf2.c: Likewise.
1525         * soft-fp/op-1.h: Likewise.
1526         * soft-fp/op-2.h: Likewise.
1527         * soft-fp/op-4.h: Likewise.
1528         * soft-fp/op-8.h: Likewise.
1529         * soft-fp/op-common.h: Likewise.
1530         * soft-fp/quad.h: Likewise.
1531         * soft-fp/single.h: Likewise.
1532         * soft-fp/soft-fp.h: Likewise.
1533         * soft-fp/sqrtdf2.c: Likewise.
1534         * soft-fp/sqrtsf2.c: Likewise.
1535         * soft-fp/sqrttf2.c: Likewise.
1536         * soft-fp/subdf3.c: Likewise.
1537         * soft-fp/subsf3.c: Likewise.
1538         * soft-fp/subtf3.c: Likewise.
1539         * soft-fp/truncdfsf2.c: Likewise.
1540         * soft-fp/trunctfdf2.c: Likewise.
1541         * soft-fp/trunctfsf2.c: Likewise.
1542         * soft-fp/trunctfxf2.c: Likewise.
1543         * soft-fp/unorddf2.c: Likewise.
1544         * soft-fp/unordsf2.c: Likewise.
1545         * soft-fp/unordtf2.c: Likewise.
1546
1547 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1548
1549         [BZ #15672]
1550         * misc/error.c (error_tail): Fix possible buffer overflow.
1551
1552 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1553
1554         [BZ #13028]
1555         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1556         address.
1557
1558 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1559
1560         [BZ #832]
1561         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1562         testing pipefail option.
1563
1564 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1565
1566         * soft-fp/double.h: Indent preprocessor directives inside #if.
1567         * soft-fp/extended.h: Likewise.
1568         * soft-fp/op-2.h: Likewise.
1569         * soft-fp/op-4.h: Likewise.
1570         * soft-fp/op-common.h: Likewise.
1571         * soft-fp/quad.h: Likewise.
1572         * soft-fp/single.h: Likewise.
1573         * soft-fp/soft-fp.h: Likewise.
1574
1575 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1576
1577         * iconv/iconv_prog.c: Fix typos.
1578         * stdio-common/psiginfo-data.h: Likewise.
1579
1580 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1581
1582         [BZ #15764]
1583         * locale/setlocale.c: Fix typo.
1584
1585 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1586
1587         [BZ #16036]
1588         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1589         signaling NaN arguments.
1590         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1591         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1592
1593         [BZ #14910]
1594         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1595         unordered operands.
1596         * soft-fp/gesf2.c (__gesf2): Likewise.
1597         * soft-fp/getf2.c (__getf2): Likewise.
1598         * soft-fp/ledf2.c (__ledf2): Likewise.
1599         * soft-fp/lesf2.c (__lesf2): Likewise.
1600         * soft-fp/letf2.c (__letf2): Likewise.
1601
1602         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1603         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1604         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1605         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1606         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1607         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1608         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1609         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1610         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1611         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1612         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1613         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1614         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1615         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1616         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1617         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1618         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1619         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1620         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1621         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1622         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1623         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1624         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1625         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1626         * soft-fp/floattidf.c (__floattidf): Likewise.
1627         * soft-fp/floattisf.c (__floattisf): Likewise.
1628         * soft-fp/floattitf.c (__floattitf): Likewise.
1629         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1630         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1631         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1632         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1633         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1634         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1635         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1636         * soft-fp/gesf2.c (__gesf2): Likewise.
1637         * soft-fp/getf2.c (__getf2): Likewise.
1638         * soft-fp/ledf2.c (__ledf2): Likewise.
1639         * soft-fp/lesf2.c (__lesf2): Likewise.
1640         * soft-fp/letf2.c (__letf2): Likewise.
1641
1642         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1643         Undefine and redefine.
1644         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1645         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1646         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1647         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1648         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1649         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1650         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1651         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1652         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1653         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1654         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1655         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1656         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1657         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1658         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1659
1660         [BZ #16032]
1661         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1662         without decrementing exponent if mantissa >= that for the
1663         denominator, not >.
1664         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1665         denominator, not >.  Decrement exponent in < case instead of
1666         incrementing in >= case.
1667         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1668         without decrementing exponent if mantissa >= that for the
1669         denominator, not >.
1670
1671         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1672         computing saturated result for unsigned overflow.
1673
1674 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1675             Jeff Law  <law@redhat.com>
1676
1677         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1678         (atan2Mp): Add systemtap probe marker.
1679         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1680         (__ieee754_log): Add systemtap probe marker.
1681         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1682         (atanMp): Add systemtap probe marker.
1683         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1684         (tanMp): Add systemtap probe marker.
1685         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1686         (__slowexp): Add systemtap probe marker.
1687         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1688         (__slowpow): Add systemtap probe marker.
1689         * manual/probes.texi: Document probes.
1690
1691 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1692
1693         [BZ #15362]
1694         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1695         written.
1696         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1697         written.
1698         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1699         written to buffer but not flushed.
1700         * libio/iofwrite_u.c:  Likewise.
1701         * libio/iopadn.c:  Return bytes returned even if EOF was
1702         encountered.
1703         * libio/iowpadn.c:  Likewise.
1704         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1705         if _IO_padn does not write the whole buffer.
1706         [!COMPILE_WPRINTF] (PAD): Likewise.
1707
1708 2013-10-10  David S. Miller  <davem@davemloft.net>
1709
1710         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1711         directory block.
1712
1713 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1714
1715         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1716         instead of FSF address.
1717         * soft-fp/fixdfti.c: Likewise.
1718         * soft-fp/fixsfti.c: Likewise.
1719         * soft-fp/fixtfti.c: Likewise.
1720         * soft-fp/fixunsdfti.c: Likewise.
1721         * soft-fp/fixunssfti.c: Likewise.
1722         * soft-fp/fixunstfti.c: Likewise.
1723         * soft-fp/floattidf.c: Likewise.
1724         * soft-fp/floattisf.c: Likewise.
1725         * soft-fp/floattitf.c: Likewise.
1726         * soft-fp/floatuntidf.c: Likewise.
1727         * soft-fp/floatuntisf.c: Likewise.
1728         * soft-fp/floatuntitf.c: Likewise.
1729         * soft-fp/trunctfxf2.c: Likewise.
1730
1731         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1732         * soft-fp/fixdfti.c: Likewise.
1733         * soft-fp/fixsfti.c: Likewise.
1734         * soft-fp/fixtfti.c: Likewise.
1735         * soft-fp/fixunsdfti.c: Likewise.
1736         * soft-fp/fixunssfti.c: Likewise.
1737         * soft-fp/fixunstfti.c: Likewise.
1738         * soft-fp/floattidf.c: Likewise.
1739         * soft-fp/floattisf.c: Likewise.
1740         * soft-fp/floattitf.c: Likewise.
1741         * soft-fp/floatuntidf.c: Likewise.
1742         * soft-fp/floatuntisf.c: Likewise.
1743         * soft-fp/floatuntitf.c: Likewise.
1744         * soft-fp/trunctfxf2.c: Likewise.
1745
1746 2013-10-10  David S. Miller  <davem@davemloft.net>
1747
1748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1749
1750 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1751
1752         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1753         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1754         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1755         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1756         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1757         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1758         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1759
1760         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1761         for NaNs before doing comparisons on argument.
1762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1763         Likewise.
1764
1765 2013-10-10  Will Newton  <will.newton@linaro.org>
1766
1767         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1768         passed to _int_memalign does not overflow.
1769
1770 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1771
1772         * scripts/bench.pl: Add include-sources directive.
1773         * benchtests/README: Update documentation.
1774
1775 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1776
1777         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1778         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1779         instead of FP_INIT_ROUNDMODE.
1780         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1781         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1782
1783         [BZ #16034]
1784         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1785         copy class of input value.
1786         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1787         not handle exceptions.
1788         * soft-fp/negsf2.c (__negsf2): Likewise.
1789         * soft-fp/negtf2.c (__negtf2): Likewise.
1790         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1791
1792 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1793
1794         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1795         semicolon.  From Linux kernel.
1796
1797 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1798
1799         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1800
1801 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1802
1803         [BZ #156]
1804         * manual/socket.texi: Added statement about buffer
1805         for gethostbyname2_r.
1806
1807 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1808
1809         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1810         Use .p2align directive instead, throughout.
1811         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1812         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1813         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1814         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1815         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1816         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1817         * sysdeps/x86_64/strchr.S: Likewise.
1818         * sysdeps/x86_64/strrchr.S: Likewise.
1819
1820 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1821
1822         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1823
1824         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1825
1826         * sysdeps/generic/math_private.h (__mpsin1): Remove
1827         declaration.
1828         (__mpcos1): Likewise.
1829         (__mpsin): New argument __range_reduce.
1830         (__mpcos): Likewise.
1831         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1832         (slow): Use __mpsin and __mpcos.
1833         (slow1): Likewise.
1834         (slow2): Likewise.
1835         (sloww): Likewise.
1836         (sloww1): Likewise.
1837         (sloww2): Likewise.
1838         (bsloww): Likewise.
1839         (bsloww1): Likewise.
1840         (bsloww2): Likewise.
1841         (cslow2): Likewise.
1842         (csloww): Likewise.
1843         (csloww1): Likewise.
1844         (csloww2): Likewise.
1845         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1846         range_reduce.  Merge in __mpsin1.
1847         (__mpcos): Likewise.
1848         (__mpsin1): Remove.
1849         (__mpcos1): Likewise.
1850
1851 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1852
1853         * locale/loadlocale.c (_nl_intern_locale_data): Use
1854         LOCFILE_ALIGNED_P.
1855         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1856         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1857         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1858         obstack data is appropriately aligned.
1859         (obstack_int32_grow_fast): Likewise.
1860         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1861         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1862         (add_locale_uint32_array): Likewise.
1863
1864 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1865
1866         * benchtests/Makefile: Remove ARGLIST and RET variables.
1867         ($(objpfx)bench-%.c): Pass only function name to the script.
1868         * benchtests/README: Update documentation.
1869         * benchtests/acos-inputs: Add new directives.
1870         * benchtests/acosh-inputs: Likewise.
1871         * benchtests/asin-inputs: Likewise.
1872         * benchtests/asinh-inputs: Likewise.
1873         * benchtests/atan-inputs: Likewise.
1874         * benchtests/atanh-inputs: Likewise.
1875         * benchtests/cos-inputs: Likewise.
1876         * benchtests/cosh-inputs: Likewise.
1877         * benchtests/exp-inputs: Likewise.
1878         * benchtests/log-inputs: Likewise.
1879         * benchtests/pow-inputs: Likewise.
1880         * benchtests/rint-inputs: Likewise.
1881         * benchtests/sin-inputs: Likewise.
1882         * benchtests/sinh-inputs: Likewise.
1883         * benchtests/tan-inputs: Likewise.
1884         * benchtests/tanh-inputs: Likewise.
1885         * scripts/bench.pl: Add support for new directives.
1886
1887 2013-10-07  Alan Modra  <amodra@gmail.com>
1888
1889         * README: Fix careless merge.
1890
1891 2013-10-05  Alan Modra  <amodra@gmail.com>
1892
1893         * NEWS: Mention powerpc64le support and bugs fixed.
1894         * README: Both big-endian and little-endian powerpc64 supported.
1895
1896 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1897
1898         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1899         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1900         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1901         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1902
1903 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1904
1905         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1906         match prototype.
1907
1908 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1909
1910         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1911         Move -mhard-float appending from
1912         ports/sysdeps/powerpc/powerpc32/Makefile.
1913         [$(with-fp) = yes] (ASFLAGS): Likewise.
1914         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1915         * sysdeps/powerpc/nofpu: Move directory from
1916         ports/sysdeps/powerpc/nofpu.
1917         * sysdeps/powerpc/soft-fp: Move directory from
1918         ports/sysdeps/powerpc/soft-fp.
1919         * sysdeps/powerpc/powerpc32/405: Move directory from
1920         ports/sysdeps/powerpc/powerpc32/405.
1921         * sysdeps/powerpc/powerpc32/440: Move directory from
1922         ports/sysdeps/powerpc/powerpc32/440.
1923         * sysdeps/powerpc/powerpc32/464: Move directory from
1924         ports/sysdeps/powerpc/powerpc32/464.
1925         * sysdeps/powerpc/powerpc32/476: Move directory from
1926         ports/sysdeps/powerpc/powerpc32/476.
1927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1928         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1930         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1932         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1934         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1936         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1937         * README: Update for powerpc-*-linux-gnu software floating point
1938         support in libc.
1939
1940         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1941         case to powerpc/powerpc32*.
1942         * sysdeps/unix/sysv/linux/configure: Regenerated.
1943
1944         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1945         (_FPU_MASK_OM): Define as 0x04.
1946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1947         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1948         0x00c10080.
1949         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1950         0x0000003c.
1951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1952
1953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1954         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1955         getcontext_e500.
1956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1957         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1958         setcontext_e500.
1959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1960         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1961         and setcontext_e500.
1962
1963 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1964
1965         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1966
1967 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1968
1969         * manual/threads.texi (Default Thread Attributes): Fix typo.
1970
1971 2013-10-04  Will Newton  <will.newton@linaro.org>
1972
1973         * malloc/Makefile: Add tst-memalign.
1974         * malloc/tst-memalign.c: New file.
1975
1976         * malloc/tst-posix_memalign.c: Add comments.
1977         (do_test): Add comments and call free on all potentially
1978         allocated pointers. Add space after cast.
1979
1980         * malloc/tst-pvalloc.c: Add comments.
1981         (do_test): Add comments and call free on all potentially
1982         allocated pointers. Remove duplicate check for NULL pointer.
1983         Add space after cast.
1984
1985         * malloc/tst-valloc.c: Add comments.
1986         (do_test): Add comments and call free on all potentially
1987         allocated pointers. Remove duplicate check for NULL pointer.
1988         Add space after cast.
1989
1990 2013-10-04  Alan Modra  <amodra@gmail.com>
1991
1992         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1993         Use stdint types in rather than __attribute__((mode())).
1994         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1995
1996 2013-10-04  Alan Modra  <amodra@gmail.com>
1997
1998         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1999         Correct handling of unaligned relocs for little-endian.
2000         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2001
2002 2013-10-04  Alan Modra  <amodra@gmail.com>
2003
2004         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2005         * configure: Regenerate.
2006         * nptl/shlib-versions: Powerpc*le starts at 2.18.
2007         * shlib-versions: Likewise.
2008
2009 2013-10-04  Alan Modra  <amodra@gmail.com>
2010
2011         * string/tester.c (test_memrchr): Increment reported test cycle.
2012
2013 2013-10-04  Alan Modra  <amodra@gmail.com>
2014
2015         * string/test-memcpy.c (do_one_test): When reporting errors, print
2016         string address and don't overrun end of string.
2017
2018 2013-10-04  Alan Modra  <amodra@gmail.com>
2019
2020         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2021         insrdi.  Make better use of reg selection to speed exit slightly.
2022         Schedule entry path a little better.  Remove useless "are we done"
2023         checks on entry to main loop.  Handle wrapping around zero address.
2024         Correct main loop count.  Handle single left-over word from main
2025         loop inline rather than by using loop_small.  Remove extra word
2026         case in loop_small caused by wrong loop count.  Add little-endian
2027         support.
2028         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2029         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
2030         cache hint.
2031         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2032         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2033         support.  Avoid rlwimi.
2034         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2035
2036 2013-10-04  Alan Modra  <amodra@gmail.com>
2037
2038         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2039         insrdi.  Formatting.
2040         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2041         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2042         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2043         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2044         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2045         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2046
2047 2013-10-04  Alan Modra  <amodra@gmail.com>
2048
2049         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2050         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2051         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2052         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2053         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2054         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2055         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2056         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2057         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
2058         use of regs.  Use power7 mtocrf.  Tidy function tails.
2059
2060 2013-10-04  Alan Modra  <amodra@gmail.com>
2061
2062         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2063         Formatting.  Consistently use rXXX register defines or rN defines.
2064         Use early exit labels that avoid restoring unused non-volatile regs.
2065         Make cr field use more consistent with rWORDn compares.  Rename
2066         regs used as shift registers for unaligned loop, using rN defines
2067         for short lifetime/multiple use regs.
2068         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2069         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
2070         addi 1,1,64 to pop stack frame.  Simplify return value code.
2071         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2072
2073 2013-10-04  Alan Modra  <amodra@gmail.com>
2074
2075         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2076         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
2077         rather than rlwimi.
2078         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2079         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2080         little-endian support.  Correct typos.
2081         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
2082         rather than rlwimi.
2083         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
2084         in loop and entry code to keep "and." results.
2085         (strchr): Add little-endian support.  Comment.  Move cntlzd
2086         earlier in tail.
2087         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2088
2089 2013-10-04  Alan Modra  <amodra@gmail.com>
2090
2091         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2092         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2093         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2094         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2095
2096 2013-10-04  Alan Modra  <amodra@gmail.com>
2097
2098         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2099         (rTMP): Define as r11.
2100         (strcmp): Add little-endian support.  Optimise tail.
2101         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2102         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2103         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2104         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2105         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2106         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2107         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2108
2109 2013-10-04  Alan Modra  <amodra@gmail.com>
2110
2111         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2112         little-endian support.  Remove unnecessary "are we done" tests.
2113         Handle "s" wrapping around zero and extremely large "size".
2114         Correct main loop count.  Handle single left-over word from main
2115         loop inline rather than by using small_loop.  Correct comments.
2116         Delete "zero" tail, use "end_max" instead.
2117         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2118
2119 2013-10-04  Alan Modra  <amodra@gmail.com>
2120
2121         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2122         support.  Don't branch over align.
2123         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2124         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2125         support.  Rearrange tmp reg use to suit.  Comment.
2126         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2127
2128 2013-10-04  Alan Modra  <amodra@gmail.com>
2129
2130         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2131
2132 2013-10-04  Alan Modra  <amodra@gmail.com>
2133
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2135         conditional form of branch and link when obtaining pc.
2136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2137
2138 2013-10-04  Alan Modra  <amodra@gmail.com>
2139
2140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2141         HIWORD/LOWORD.
2142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2144
2145 2013-10-04  Alan Modra  <amodra@gmail.com>
2146
2147         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2148         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2149         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2150         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2151         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2152         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2153         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2154         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2155         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2156         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2157
2158 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2159             Alistair Popple <alistair@ozlabs.au.ibm.com>
2160             Alan Modra <amodra@gmail.com>
2161
2162         [BZ #15723]
2163         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2164         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2165         _dl_hwcap access for little-endian.
2166         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
2167         destroy vmx regs when saving unaligned.
2168         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2169         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
2170         destroy vmx regs when saving unaligned.
2171
2172 2013-10-04  Alan Modra  <amodra@gmail.com>
2173
2174         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2175         Don't use a union to pack hi/low value.
2176
2177 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2178
2179         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2180         for little-endian.
2181         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2182         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2183         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2184         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2185         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2186
2187 2013-10-04  Alan Modra  <amodra@gmail.com>
2188
2189         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2190         constants to usual value for .cst8 section, and remove redundant
2191         high address load.
2192         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2193         constant for 0x1p52.  Load little-endian words of double from
2194         correct stack offsets.
2195
2196 2013-10-04  Alan Modra  <amodra@gmail.com>
2197
2198         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2199         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2200         words of double from correct stack offsets.
2201         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2202         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2203         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2204         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2205         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2206         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2207         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2208         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2209         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2210         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2211         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2212         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2213         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2214         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2215         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2216         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2217         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2218
2219 2013-10-04  Alan Modra  <amodra@gmail.com>
2220
2221         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2222         64-bit int/double union.
2223         (_FPU_SETCW): Likewise.
2224         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2225         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2226
2227 2013-10-04  Alan Modra  <amodra@gmail.com>
2228
2229         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2230         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2231
2232 2013-10-04  Alan Modra  <amodra@gmail.com>
2233
2234         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2235         use vector int constants.
2236         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2237
2238 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2239
2240         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2241         array with long long.
2242         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2243         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2244         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2245         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2246         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2247         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2248         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2249         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2250         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2251         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2252         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2253         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2254         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2255
2256 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2257
2258         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2259         (__signbit): Likewise.  Correct for little-endian.
2260         (__signbitl): Call __signbit.
2261         (lrint): Correct for little-endian.
2262         (lrintf): Call lrint.
2263
2264 2013-10-04  Alan Modra  <amodra@gmail.com>
2265
2266         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2267         union 32-bit int array member with 64-bit int array.
2268         (t515, tm256): Double rather than long double.
2269         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2270
2271 2013-10-04  Alan Modra  <amodra@gmail.com>
2272
2273         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2274         Delete.
2275         (IEEE854_LONG_DOUBLE_BIAS): Delete.
2276         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2277         version of math_ldbl.h.
2278
2279 2013-10-04  Alan Modra  <amodra@gmail.com>
2280
2281         [BZ #15734], [BZ #15735]
2282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2283         all uses of ieee875 long double macros and unions.  Simplify test
2284         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
2285         ldbl_extract_mantissa value for ix,iy exponents.  Properly
2286         normalize after ldbl_extract_mantissa, and don't add hidden bit
2287         already handled.  Don't treat low word of ieee854 mantissa like
2288         low word of IBM long double and mask off bit when testing for
2289         zero.
2290         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2291         all uses of ieee875 long double macros and unions.  Simplify tests
2292         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
2293         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
2294         two1022, instead use their values.  Recognise that tests for large
2295         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
2296         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2297         Rewrite all uses of ieee875 long double macros and unions.  Simplify
2298         test for 0.0L and nan.  Correct negation.
2299         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2300         ieee875 long double macros and unions.  Correct output for large
2301         magnitude x.  Correct absolute value calculation.
2302         (__erfcl): Likewise.
2303         * math/libm-test.inc: Add tests for errors discovered in IBM long
2304         double versions of fmodl, remainderl, erfl and erfcl.
2305
2306 2013-10-04  Alan Modra  <amodra@gmail.com>
2307
2308         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2309         all uses of ieee854 long double macros and unions.  Simplify tests
2310         for long doubles that are fully specified by the high double.
2311         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2312         Likewise.
2313         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2314         Remove dead code too.
2315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2316         (__ieee754_ynl): Likewise.
2317         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2318         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2319         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2320         Remove dead code too.
2321         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2322         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2323         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2324         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2325         Simplify.
2326         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2327         Simplify.
2328         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2329         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2330         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2331         Comment on variable precision.
2332         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2333         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2334         Likewise.
2335         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2336         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2337         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2338         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2339         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2340
2341 2013-10-04  Alan Modra  <amodra@gmail.com>
2342
2343         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2344         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2345         all uses of ieee854 long double macros and unions.
2346         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2347         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2348         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2349         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2350         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2351         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2352         Likewise.
2353         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2354         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2355         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2356         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2357         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2358         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2359         Simplify sign and nan test too.
2360         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2361         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2362         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2363         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2364         Likewise.
2365         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2366         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2367         Likewise.
2368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2369         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2370         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2371         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2372         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2373         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2374
2375 2013-10-04  Alan Modra  <amodra@gmail.com>
2376
2377         * stdio-common/printf_size.c (__printf_size): Don't use
2378         union ieee854_long_double in fpnum union.
2379         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
2380         signbit macro to retrieve sign from long double.
2381         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2382         retrieve sign from long double.
2383         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2384         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2385         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2386         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2387         * math/test-misc.c (main): Don't use union ieee854_long_double.
2388
2389 2013-10-04  Alan Modra  <amodra@gmail.com>
2390
2391         [BZ #15680]
2392         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2393         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2394         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2395         calculation.  Remove unnecessary test for denormal exponent.
2396         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2397         Correct handling of denormals.  Avoid undefined shift behaviour.
2398         Correct normalisation of low mantissa when low double is denormal.
2399         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2400         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
2401         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2402         Correct normalisation of low mantissa.  Test for overflow of high
2403         mantissa and normalise.
2404         (ldbl_nearbyint): Use more readable constant for two52.
2405         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2406         (__mpn_construct_long_double): Fix test for overflow of high
2407         mantissa and correct normalisation.  Avoid undefined shift.
2408
2409 2013-10-04  Alan Modra  <amodra@gmail.com>
2410
2411         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2412         (union ibm_extended_long_double): Define as an array of ieee754_double.
2413         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2414         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2415         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2416         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2417         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2419         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2420         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2421         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2423         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2424
2425 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
2426
2427         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2428         page size instead of calling getpagesize.
2429
2430         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2431         (LOCFILE_ALIGN_MASK): Likewise.
2432         (LOCFILE_ALIGN_UP): Likewise.
2433         (LOCFILE_ALIGNED_P): Likewise.
2434         * locale/programs/ld-collate.c (collate_output): Use the new
2435         macros instead of __alignof__ (int32_t).
2436         * locale/weight.h (findidx): Likewise.
2437
2438 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
2439
2440         [BZ #431]
2441         * manual/string.texi: Fix strncat and wcsncat.
2442
2443 2013-10-03  Brooks Moses  <bmoses@google.com>
2444
2445         [BZ #15915]
2446         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2447         * Makerules: ...here, and adjust associated comments.
2448
2449 2013-10-02  Will Newton  <will.newton@linaro.org>
2450
2451         * malloc/Makefile: Add tst-pvalloc.
2452         * malloc/tst-pvalloc.c: New file.
2453
2454 2013-10-02  Will Newton  <will.newton@linaro.org>
2455
2456         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2457         improve test coverage.
2458
2459 2013-10-02  Will Newton  <will.newton@linaro.org>
2460
2461         * malloc/Makefile: Add tst-posix_memalign.
2462         * malloc/tst-posix_memalign.c: New file.
2463
2464 2013-10-01  Eric Blake  <eblake@redhat.com>
2465
2466         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2467         Use __THROWNL rather than __THROW on static functions.
2468
2469 2013-09-30  Petr Machata  <pmachata@redhat.com>
2470
2471         * elf/elf.h (R_AARCH64_ABS16): New macro.
2472         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2473         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2474         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2475         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2476         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2477         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2478         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2479         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2480         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2481         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2482         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2483         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2484         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2485         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2486         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2487         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2488         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2489         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2490         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2491         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2492         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2493         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2494         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2495         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2496         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2497         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2498         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2499         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2500         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2501         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2502         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2503         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2504         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2505         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2506         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2507         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2508         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2509         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2510         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2511         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2512         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2513         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2514         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2515         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2516         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2517         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2518         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2519         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2520         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2521         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2522         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2523         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2524         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2525         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2526         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2527         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2528         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2529         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2530         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2531         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2532         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2533         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2534         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2535         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2536         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2537         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2538         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2539         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2540         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2541         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2542         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2543         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2544         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2545         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2546         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2547         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2548         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2549         (R_AARCH64_TLSDESC_LDR): Likewise.
2550         (R_AARCH64_TLSDESC_ADD): Likewise.
2551         (R_AARCH64_TLSDESC_CALL): Likewise.
2552
2553 2013-09-30  Andreas Schwab  <schwab@suse.de>
2554
2555         [BZ #15048]
2556         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2557         the nss database lookup.
2558         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2560
2561 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2562
2563         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2564
2565 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2566
2567         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2568         ${Bash-specific parameter/pattern/string} parameter expansion.
2569         * sysdeps/unix/make-syscalls.sh: Likewise.
2570
2571 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2572
2573         * sysdeps/sh/stackguard-macros.h: New file.
2574
2575 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2576
2577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2578         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2579         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2580         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2581         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2582         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2583
2584 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2585
2586         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2587         Fix thread ID register.
2588
2589 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2590
2591         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2592         [POSIX || UNIX98]: Require rather than permitting all symbols from
2593         <time.h>.
2594         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2595         element of struct sched_param.
2596         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2597         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2598         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2599         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2600         constant.
2601
2602 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2603
2604         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2605         argument calculation.
2606
2607 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2608
2609         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2610         Expect macro.
2611         [POSIX] (pthread_attr_t): Do not require type.
2612         [POSIX] (pthread_cond_t): Likewise.
2613         [POSIX] (pthread_condattr_t): Likewise.
2614         [POSIX] (pthread_key_t): Likewise.
2615         [POSIX] (pthread_mutex_t): Likewise.
2616         [POSIX] (pthread_mutexattr_t): Likewise.
2617         [POSIX] (pthread_once_t): Likewise.
2618         [POSIX] (pthread_t): Likewise.
2619         [POSIX-based standards] (pthread_atfork): Expect function.
2620
2621 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2622             Richard Sandiford  <richard@codesourcery.com>
2623
2624         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2625         (swap_endianness_p): New extern variable.
2626         (set_big_endian): New inline function.
2627         (maybe_swap_uint32): Likewise.
2628         (maybe_swap_uint32_array): Likewise.
2629         (maybe_swap_uint32_obstack): Likewise.
2630         * locale/programs/locfile.c: Include <stdbool.h>.
2631         (swap_endianness_p): New variable.
2632         (add_locale_uint32): Call maybe_swap_uint32.
2633         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2634         (write_locale_data): Call maybe_swap_uint32_array.
2635         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2636         maybe_swap_uint32.
2637         (obstack_int32_grow_fast): Likewise.
2638         (output_weightwc): Call maybe_swap_uint32_obstack.
2639         (collate_output): Likewise.
2640         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2641         (OPT_LITTLE_ENDIAN): Likewise.
2642         (options): Add --little-endian and --big-endian options.
2643         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2644         * locale/programs/locarchive.c: Include "locfile.h".
2645         (GET): New macro.
2646         (SET): Likewise.
2647         (INC): Likewise.
2648         (create_archive): Use the new macros to access fields of
2649         structures directly mapped from or written to locale archives.
2650         (oldlocrecentcmp): Likewise.
2651         (enlarge_archive): Likewise.
2652         (insert_name): Likewise.
2653         (add_alias): Likewise.
2654         (add_locale): Likewise.
2655         (delete_locales_from_archive): Likewise.
2656         (show_archive_content): Likewise.
2657         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2658         locale data.
2659
2660 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2661
2662         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2663         http://www.gnu.org/doc/freemanuals.texi.
2664         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2665
2666 2013-09-24  Will Newton  <will.newton@linaro.org>
2667
2668         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2669         macro.
2670
2671 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2672
2673         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2674         unsigned char.
2675
2676 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2677
2678         * manual/threads.texi (POSIX Threads): Fix a typo.
2679
2680 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2681
2682         [BZ #14547]
2683         * string/tst-strcoll-overflow.c: New test case.
2684         * string/Makefile (xtests): Add tst-strcoll-overflow.
2685         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2686         cache if string sizes may cause integer overflow.
2687
2688         [BZ #14547]
2689         * string/strcoll_l.c (coll_seq): New members rule, idx,
2690         save_idx and back_us.
2691         (get_next_seq_nocache): New function.
2692         (do_compare_nocache): New function.
2693         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2694         when malloc fails.
2695
2696 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2697
2698         [BZ #15754]
2699         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2700         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2701         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2702
2703         [BZ #15754]
2704         * elf/Makefile (tests): Add tst-ptrguard1.
2705         (tests-static): Add tst-ptrguard1-static.
2706         (tst-ptrguard1-ARGS): Define.
2707         (tst-ptrguard1-static-ARGS): Define.
2708         * elf/tst-ptrguard1.c: New file.
2709         * elf/tst-ptrguard1-static.c: New file.
2710         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2711         * sysdeps/i386/stackguard-macros.h: Likewise.
2712         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2713         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2714         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2715         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2716         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2717         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2718
2719 2013-09-23  Hector Marco  <hecmargi@upv.es>
2720             Ismael Ripoll  <iripoll@disca.upv.es>
2721             Carlos O'Donell  <carlos@redhat.com>
2722
2723         [BZ #15754]
2724         * sysdeps/generic/stackguard-macros.h: Define
2725         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2726         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2727         Define __pointer_chk_guard_local.
2728         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2729         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2730
2731 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2732
2733         [BZ #15859]
2734         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2735
2736 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2737
2738         * include/string.h (__ffs): Declare as hidden.
2739         * string/ffs.c (__ffs): Define as hidden.
2740         * sysdeps/i386/ffs.c (__ffs): Likewise.
2741         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2742         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2743         * sysdeps/s390/ffs.c (__ffs): Likewise.
2744         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2745
2746 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2747
2748         * NEWS: Mention malloc probes.
2749
2750         * malloc/arena.c (new_heap): New memory_heap_new probe.
2751         (grow_heap): New memory_heap_more probe.
2752         (shrink_heap): New memory_heap_less probe.
2753         (heap_trim): New memory_heap_free probe.
2754         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2755         (systrim): New memory_sbrk_less probe.
2756         * manual/probes.texi: Document them.
2757
2758         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2759         * manual/probes.texi: Document it.
2760
2761         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2762         (__libc_realloc): Add memory_realloc_retry probe.
2763         (__libc_memalign): Add memory_memalign_retry probe.
2764         (__libc_valloc): Add memory_valloc_retry probe.
2765         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2766         (__libc_calloc): Add memory_calloc_retry probe.
2767         * manual/probes.texi: Document them.
2768
2769         * malloc/arena.c (get_free_list): Add probe
2770         memory_arena_reuse_free_list.
2771         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2772         and memory_arena_reuse.
2773         (arena_get2) [!PER_THREAD]: Likewise.
2774         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2775         memory_arena_reuse_realloc.
2776         * manual/probes.texi: Document them.
2777
2778         * malloc/malloc.c (__libc_free): Add
2779         memory_mallopt_free_dyn_thresholds probe.
2780         (__libc_mallopt): Add multiple memory_mallopt probes.
2781         * manual/probes.texi: Document them.
2782
2783         * malloc/malloc.c: Include stap-probe.h.
2784         (__libc_mallopt): Add memory_mallopt probe.
2785         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2786         * manual/probes.texi: New.
2787         * manual/Makefile (chapters): Add probes.
2788         * manual/threads.texi: Set next node.
2789
2790 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2791
2792         [BZ #15963, #13985]
2793         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2794         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2795         Add `Chinese' to `nan' entry name.
2796
2797 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2798
2799         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2800         (POLYNOMIAL): Likewise.
2801         (TAYLOR_SINCOS): Likewise.
2802         (TAYLOR_SLOW): Likewise.
2803         (__sin): Use TAYLOR_SINCOS.
2804         (__cos): Likewise.
2805         (slow): Use TAYLOR_SLOW.
2806         (sloww): Likewise.
2807         (bsloww): Likewise.
2808         (csloww): Likewise.
2809
2810 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2811
2812         * stdlib/strtod_l.c: Fix buffer overrun.
2813
2814 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2815
2816         * benchtests/Makefile (bench): Add sincos.
2817         * benchtests/bench-sincos.c: New file.
2818
2819         * math/libm-test.inc (cos_test_data): New test inputs.
2820         (sin_test_data): Likewise.
2821
2822         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2823         macro.
2824         (__sin): Use it.
2825         (__cos): Likewise.
2826         (slow1): Likewise.
2827         (slow2): Likewise.
2828         (sloww1): Likewise.
2829         (sloww2): Likewise.
2830         (bsloww1): Likewise.
2831         (bsloww2): Likewise.
2832         (cslow2): Likewise.
2833         (csloww1): Likewise.
2834         (csloww2): Likewise.
2835
2836         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2837         function.
2838         (__sin): Use it.
2839         (__cos): Likewise.
2840
2841         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2842         gotos.
2843         (__cos): Likewise.
2844
2845 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2846
2847         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2848         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2849         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2850         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2851         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2852         * elf/cache.c (print_entry): Handle the new cache flags.
2853
2854 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2855             Aldy Hernandez  <aldyh@redhat.com>
2856
2857         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2858         Change condition to [_SOFT_FLOAT].
2859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2871         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2872         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2874         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2875         declaration.
2876
2877 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2878
2879         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2880         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2881         (__longjmp): Use LOAD_GP to load saved GPRs.
2882         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2883         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2884         (__sigsetjmp): Use SAVE_GP to save GPRs.
2885
2886         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2887         Do not append -msoft-float.
2888         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2889
2890 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2891
2892         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2893
2894 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2895
2896         [BZ #15966]
2897         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2898         (_FPU_GETCW): Use initial "__" on variable and field names but not
2899         on macro parameter name.
2900         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2901         parentheses around reference to macro parameter.
2902
2903 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2904
2905         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2906         prototype.
2907         (ctype_startup): Use uint32_t in cast and sizeof for
2908         ctype->charnames.
2909
2910 2013-09-11  Jia Liu  <proljc@gmail.com>
2911
2912         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2913         __daddr_t_defined.
2914         [__FreeBSD__]: Likewise.
2915
2916 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2917
2918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2919         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2920         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2921         (strchr): Remove __strchr_sse42 ifunc selection.
2922         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2923         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2924
2925 2013-09-11  Will Newton  <will.newton@linaro.org>
2926
2927         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2928         parameter to RES. Remove hardcoded 1000 value.
2929         * benchtests/bench-skeleton.c (main): Pass RES parameter
2930         to TIMING_INIT and multiply result by 1000.
2931
2932 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2933
2934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2935
2936 2013-09-11  Andreas Schwab  <schwab@suse.de>
2937
2938         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2939         if not defined.
2940         (O_TMPFILE) [__USE_GNU]: Define.
2941         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2942         Define.
2943
2944 2013-09-11  Will Newton  <will.newton@linaro.org>
2945
2946         [BZ #15857]
2947         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2948         does not overflow.
2949
2950 2013-09-11  Will Newton  <will.newton@linaro.org>
2951
2952         [BZ #15856]
2953         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2954         does not overflow.
2955
2956 2013-09-11  Will Newton  <will.newton@linaro.org>
2957
2958         [BZ #15855]
2959         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2960         does not overflow.
2961
2962 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2963
2964         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2965         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2966         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2967         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2968         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2969
2970 2013-09-10  Allan McRae  <allan@archlinux.org>
2971
2972         [BZ #15748]
2973         * manual/arith.texi (Parsing of Floats): Clarify
2974         cross-reference.
2975
2976         [BZ #15849]
2977         * manual/install.texi (Running make install): Mention
2978         --enable-pt-chown.
2979         * INSTALL: Regenerated.
2980
2981 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2982
2983         * csu/init-first.c (_init): Remove the !SHARED condition around
2984         FPU control word initialization.
2985         * elf/dl-support.c (_dl_fpu_control): New variable.
2986         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2987         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2988         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2989         * math/test-fpucw-static.c: New file.
2990         * math/test-fpucw-ieee.c: New file.
2991         * math/test-fpucw-ieee-static.c: New file.
2992         * math/Makefile (tests): Add `test-fpucw-ieee' and
2993         `$(tests-static)'.
2994         (tests-static): New variable.
2995         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2996         dependency to...
2997         [($(build-shared),yes)]
2998         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2999         ... this.
3000         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3001         New dependency.
3002
3003 2013-09-09  Allan McRae  <allan@archlinux.org>
3004
3005         [BZ #15939]
3006         * manual/string.texi (Collation Functions): Fix typo in
3007         strcoll example.
3008         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3009
3010         [BZ #15893]
3011         * stdlib/isomac.c (get_null_defines): Fix memory leak.
3012
3013         [BZ #15892]
3014         * libio/memstream.c (open_memstream): Fix memory leak.
3015         * libio/wmemstream.c (open_wmemstream): Likewise.
3016
3017         [BZ #15895]
3018         * nscd/netgroupcache.c: Fix nesting of ifdefs.
3019
3020 2013-09-09  Will Newton  <will.newton@linaro.org>
3021
3022         * malloc/Makefile: Add tst-realloc to tests.
3023         * malloc/tst-realloc.c: New file.
3024
3025 2013-09-09  Allan McRae  <allan@archlinux.org>
3026
3027         [BZ #15844]
3028         * COPYING: Update from GNU website to fix FSF address.
3029         * COPYING.LIB: Likewise.
3030
3031 2013-09-06  David S. Miller  <davem@davemloft.net>
3032
3033         * po/zh_TW.po: Update Chinese (traditional) translation from
3034         translation project.
3035
3036 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
3037             Joseph Myers  <joseph@codesourcery.com>
3038
3039         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3040         "localeinfo.h".
3041         (obstack_chunk_alloc): New macro.
3042         (obstack_chunk_free): Likewise.
3043         (record_offset): New function.
3044         (init_locale_data): Likewise.
3045         (align_locale_data): Likewise.
3046         (add_locale_empty): Likewise.
3047         (add_locale_raw_data): Likewise.
3048         (add_locale_raw_obstack): Likewise.
3049         (add_locale_string): Likewise.
3050         (add_locale_wstring): Likewise.
3051         (add_locale_uint32): Likewise.
3052         (add_locale_uint32_array): Likewise.
3053         (add_locale_char): Likewise.
3054         (start_locale_structure): Likewise.
3055         (end_locale_structure): Likewise.
3056         (start_locale_prelude): Likewise.
3057         (end_locale_prelude): Likewise.
3058         (write_locale_data): Take locale_file structure rather than an
3059         iovec.
3060         * locale/programs/locfile.h: Include "obstack.h".
3061         (struct locale_file): Change to store locale file contents instead
3062         of header.
3063         (init_locale_data): New prototype.
3064         (align_locale_data): Likewise.
3065         (add_locale_empty): Likewise.
3066         (add_locale_raw_data): Likewise.
3067         (add_locale_raw_obstack): Likewise.
3068         (add_locale_string): Likewise.
3069         (add_locale_wstring): Likewise.
3070         (add_locale_uint32): Likewise.
3071         (add_locale_uint32_array): Likewise.
3072         (add_locale_char): Likewise.
3073         (start_locale_structure): Likewise.
3074         (end_locale_structure): Likewise.
3075         (start_locale_prelude): Likewise.
3076         (end_locale_prelude): Likewise.
3077         (write_locale_data): Update prototype.
3078         * locale/programs/3level.h (struct TABLE): Remove result field.
3079         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3080         Use new locale_file interface.
3081         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3082         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3083         * locale/programs/ld-address.c (address_output): Use new
3084         locale_file interface.
3085         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3086         NO_ADD_LOCALE.
3087         (collate_finish): Don't call collseq_table_finalize.
3088         (collate_output): Use new locale_file interface.
3089         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3090         in file.
3091         (NO_FINALIZE): Change to NO_ADD_LOCALE.
3092         (TABLE): Move defines earlier in file.
3093         (ELEMENT): Likewise.
3094         (DEFAULT): Likewise.
3095         (wctrans_table_add): Move macro and inline function earlier in
3096         file.
3097         (struct wctype_table): Move type earlier in file.
3098         (add_locale_wctype_table): New static prototype.
3099         (struct locale_ctype_t): Use logical types instead of struct iovec
3100         pointers for members.
3101         (ctype_output): Use new locale_file interface.
3102         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
3103         new locale_file interface.
3104         (allocate_arrays): Update for use of new locale_file interface.
3105         * locale/programs/ld-identification.c (identification_output): Use
3106         new locale_file interface.
3107         * locale/programs/ld-measurement.c (measurement_output): Likewise.
3108         * locale/programs/ld-messages.c (messages_output): Likewise.
3109         * locale/programs/ld-monetary.c (monetary_output): Likewise.
3110         * locale/programs/ld-name.c (name_output): Likewise.
3111         * locale/programs/ld-numeric.c (numeric_output): Likewise.
3112         * locale/programs/ld-paper.c (paper_output): Likewise.
3113         * locale/programs/ld-telephone.c (telephone_output): Likewise.
3114         * locale/programs/ld-time.c (time_output): Likewise.
3115
3116 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3117
3118         * benchtests/Makefile: Add memrchr benchmark.
3119         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3120         benchmark as memrchr.
3121         * benchtests/bench-memrchr-ifunc.c: New file.
3122         * benchtests/bench-memrchr.c: New file.
3123
3124 2013-09-06   Will Newton  <will.newton@linaro.org>
3125
3126         * benchtests/Makefile (string-bench): Add memcpy.
3127
3128 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
3129             Cong Wang  <amwang@redhat.com>
3130
3131         * sysdeps/unix/sysv/linux/bits/in.h
3132         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3133         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3134         before __USE_KERNEL_IPV6_DEFS uses.
3135         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3136         IPPROTO_BEETPH.
3137         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3138         sockaddr_in6, or ipv6_mreq.
3139
3140 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3141
3142         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3143         memory access for final bytes in some large inputs.
3144         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3145
3146 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3147
3148         * string/test-memrchr.c: New file.
3149         * string/test-memrchr-ifunc.c: New file.
3150         * string/Makefile: Add new memrchr testcase.
3151
3152 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
3153
3154         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3155         fanotify_init returns EPERM.
3156
3157 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3158
3159         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3160         errors.
3161         (top level): Treat second token from macro or constant entries for
3162         allowed headers as allowed.
3163         * include/complex.h: Condition internal declarations on
3164         [!_ISOMAC].
3165         * include/fenv.h: Condition include of <stdbool.h> and internal
3166         declarations on [!_ISOMAC].
3167
3168 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
3169
3170         [BZ #15923]
3171         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3172
3173 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3174
3175         * configure.in (--enable-versioning): Remove configure option.
3176         (libc_cv_asm_symver_directive): Remove configure test.
3177         (libc_cv_ld_version_script_option): Likewise.
3178         (VERSIONING): Remove variable and AC_SUBST.
3179         (DO_VERSIONING): Remove AC_DEFINE.
3180         * configure: Regenerated.
3181         * config.h.in (DO_VERSIONING): Remove macro.
3182         * Makerules [$(versioning) = yes]: Change conditionals to
3183         [$(build-shared) = yes].
3184         * config.make.in (versioning): Remove variable.
3185         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3186         [$(build-shared) = yes].
3187         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3188         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3189         * elf/Makefile [$(versioning) = yes]: Change conditionals to
3190         [$(build-shared) = yes].
3191         * extra-lib.mk [$(versioning) = yes]: Likewise.
3192         * hurd/Makefile [$(versioning) = yes]: Likewise.
3193         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3194         [SHARED].
3195         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3196         [SHARED].
3197         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3198         [SHARED && !NO_HIDDEN].
3199         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3200         [SHARED].
3201         [SHARED && DO_VERSIONING]: Likewise..
3202         * libio/Makefile [$(versioning) = yes]: Change conditionals to
3203         [$(build-shared) = yes].
3204         * manual/install.texi (--disable-versioning): Remove
3205         documentation.
3206         * INSTALL: Regenerated.
3207         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3208         to [SHARED].
3209         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3210         [$(build-shared) = yes].
3211         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3212         * sysdeps/i386/i686/multiarch/strstr-c.c
3213         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3214         [SHARED && !NO_HIDDEN].
3215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3216         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3217         * sysdeps/powerpc/powerpc32/dl-machine.c
3218         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3219         * sysdeps/powerpc/powerpc32/sysdep.h
3220         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3221         to [SHARED && PIC && !NO_HIDDEN].
3222         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3223         conditional to [SHARED].
3224
3225 2013-09-04   Will Newton  <will.newton@linaro.org>
3226
3227         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3228         * benchtests/bench-string.h: Include bench-timing.h instead
3229         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3230         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3231         call to HP_TIMING_DIFF_INIT.
3232         * benchtests/bench-memccpy.c: Use bench-timing.h macros
3233         instead of hp-timing.h macros.
3234         * benchtests/bench-memchr.c: Likewise.
3235         * benchtests/bench-memcmp.c: Likewise.
3236         * benchtests/bench-memcpy.c: Likewise.
3237         * benchtests/bench-memmem.c: Likewise.
3238         * benchtests/bench-memmove.c: Likewise.
3239         * benchtests/bench-memset.c: Likewise.
3240         * benchtests/bench-rawmemchr.c: Likewise.
3241         * benchtests/bench-strcasecmp.c: Likewise.
3242         * benchtests/bench-strcasestr.c: Likewise.
3243         * benchtests/bench-strcat.c: Likewise.
3244         * benchtests/bench-strchr.c: Likewise.
3245         * benchtests/bench-strcmp.c: Likewise.
3246         * benchtests/bench-strcpy.c: Likewise.
3247         * benchtests/bench-strcpy_chk.c: Likewise.
3248         * benchtests/bench-strlen.c: Likewise.
3249         * benchtests/bench-strncasecmp.c: Likewise.
3250         * benchtests/bench-strncat.c: Likewise.
3251         * benchtests/bench-strncmp.c: Likewise.
3252         * benchtests/bench-strncpy.c: Likewise.
3253         * benchtests/bench-strnlen.c: Likewise.
3254         * benchtests/bench-strpbrk.c: Likewise.
3255         * benchtests/bench-strrchr.c: Likewise.
3256         * benchtests/bench-strspn.c: Likewise.
3257         * benchtests/bench-strstr.c: Likewise.
3258
3259 2013-09-04  Will Newton  <will.newton@linaro.org>
3260
3261         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3262
3263 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
3264
3265         [BZ #15427]
3266         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3267         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3268         * math/libm-test.inc (lgamma_test_data): Add more tests.
3269         * sysdeps/i386/fpu/libm-test-ulps: Update.
3270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3271
3272 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
3273
3274         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3276         Add ifunc.
3277         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3278         Add strcmp-sse2-unaligned
3279         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3280
3281 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3282
3283         * Versions.def (libc): Add GLIBC_2.19.
3284
3285 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3286
3287         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3288         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3289
3290 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
3291
3292         [BZ #14155]
3293         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3294         intermediate calculations in recurrence.
3295         (__ieee754_ynf): Likewise.
3296         * math/libm-test.inc (jn_test_data): Do not allow spurious
3297         underflow exception.  Add more tests.
3298         (yn_test_data): Add more tests.
3299         * sysdeps/i386/fpu/libm-test-ulps: Update.
3300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3301
3302 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
3303
3304         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3305
3306 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3307
3308         * csu/init-first.c: Fix then/than typos.
3309         * locale/programs/ld-collate.c: Likewise.
3310         * locale/programs/linereader.h: Likewise.
3311         * manual/charset.texi: Likewise.
3312         * manual/filesys.texi: Likewise.
3313         * manual/stdio.texi: Likewise.
3314         * manual/string.texi: Likewise.
3315         * stdlib/fmtmsg.c: Likewise.
3316         * sysdeps/i386/stpncpy.S: Likewise.
3317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3318         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3319         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3320         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3321
3322 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3323
3324         * elf/dl-open.c: Fix typos.
3325         * iconvdata/gbbig5.c: Likewise.
3326         * iconvdata/iso-2022-jp.c: Likewise.
3327         * iconv/gconv_int.h: Likewise.
3328         * iconv/loop.c: Likewise.
3329         * nis/rpcsvc/nis.h: Likewise.
3330         * resolv/ns_name.c: Likewise.
3331         * stdio-common/vfscanf.c: Likewise.
3332         * streams/stropts.h: Likewise.
3333         * sunrpc/rpc_thread.c: Likewise.
3334         * sysdeps/i386/strpbrk.S: Likewise.
3335         * sysdeps/ieee754/k_standard.c: Likewise.
3336         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3338         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3339         * sysdeps/mach/hurd/profil.c: Likewise.
3340         * sysdeps/s390/dl-procinfo.h: Likewise.
3341         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3342         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3343         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3344         * sysdeps/x86_64/dl-trampoline.S: Likewise.
3345         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3346
3347 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
3348
3349         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3351
3352 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
3353
3354         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3355         aix specific files.
3356         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3357         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3358         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3359         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3360         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3361         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3362         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3363         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3364
3365 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3366             Roland McGrath  <roland@hack.frob.com>
3367
3368         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3369         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3370
3371 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3372
3373         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3374         __executable_start symbol instead of _start.
3375
3376 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3377
3378         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3379         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3380         Move macros to...
3381         * sysdeps/gnu/ldsodefs.h: ... this new file.
3382
3383         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3384         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3385         instead of ELFOSABI_LINUX.
3386
3387         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3388         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3389         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3390         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3391         Likewise.
3392         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3393         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3394         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3395         Likewise.
3396         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3397         (ibm_extended_long_double): Add ieee_nan member.
3398         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3399         (do_test): New function.
3400
3401         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3402         TEST_TRUNC.
3403         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3404         functions, renamed from truncdfsf_test, trunctfsf_test,
3405         trunctfdf_test.
3406         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3407         functions.
3408         (do_test): Run all these.
3409
3410 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
3411
3412         * argp/argp-help.c: Fix typos.
3413         * argp/argp-parse.c: Likewise.
3414         * debug/backtracesyms.c: Likewise.
3415         * elf/elf.h: Likewise.
3416         * malloc/malloc.c: Likewise.
3417         * nis/nis_print.c: Likewise.
3418         * resolv/res_comp.c: Likewise.
3419         * stdlib/stdlib.h: Likewise.
3420         * sunrpc/clnt_tcp.c: Likewise.
3421         * sunrpc/clnt_udp.c: Likewise.
3422         * sunrpc/clnt_unix.c: Likewise.
3423         * sysdeps/unix/bsd/ptsname.c: Likewise.
3424         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3425         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3427         Likewise.
3428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3429         Likewise.
3430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3431         Likewise.
3432         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3433
3434 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3435
3436         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3438
3439 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
3440
3441         [BZ #15897]
3442         * dlfcn/Makefile (tests): Add bug-dl-leaf.
3443         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3444         ($(objpfx)bug-dl-leaf): New rule.
3445         ($(objpfx)bug-dl-leaf.so): Likewise.
3446         ($(objpfx)bug-dl-leaf.out): Likewise.
3447         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3448         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3449         * dlfcn/bug-dl-leaf.c: New test.
3450         * dlfcn/bug-dl-leaf-lib.c: Likewise.
3451         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3452         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3453         (dlclose): Likewise.
3454         (dlmopen): Likewise.
3455
3456 2013-08-27  Roland McGrath  <roland@hack.frob.com>
3457
3458         * include/netdb.h [!_ISOMAC]:
3459         Don't include <tls.h>.
3460         (h_errno, __libc_h_errno): Move declaration and macros out of
3461         [_LIBC_REENTRANT].
3462
3463         * include/resolv.h [_RESOLV_H_]:
3464         Don't include <tls.h>.
3465         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3466         * resolv/res_libc.c: Don't include <tls.h>.
3467         (_res): Use __attribute__ ((nocommon)) in place of
3468         __attribute__ ((section (".bss"))).
3469
3470         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3471         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3472
3473         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3474
3475         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3476         only under [SIOCGIFCONF && SIOCGIFNETMASK].
3477
3478         * resolv/res_mkquery.c: Include <sys/time.h>.
3479
3480         * inet/ifreq.c: Moved to ...
3481         * sysdeps/unix/ifreq.c: ... here.
3482         * inet/ifreq.c: New file, true stub version.
3483
3484         * socket/sa_len.c: New file.
3485         * socket/Makefile (aux): Add it.
3486         * sysdeps/unix/sysv/linux/Makefile
3487         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3488         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3489         and #include <socket/sa_len.c>.
3490         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3491         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3492
3493         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3494         * bits/socket.h: ... here.
3495
3496         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3497         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3498         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3499
3500 2013-08-27  Andreas Schwab  <schwab@suse.de>
3501
3502         [BZ #15736]
3503         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3504         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3505         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3506         * string/test-strcasecmp.c (test_main): Run tests in several
3507         locales.
3508         * string/test-strncasecmp.c (test_main): Likewise.
3509
3510         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3511         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3512         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3513         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3514         (__strncasecmp_ssse3) [PIC]: Likewise.
3515
3516 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3517
3518         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3519
3520         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3521         instead of explicitly declaring xdecrypt.
3522         * nis/nss_nis/nis-publickey.c: Likewise.
3523
3524 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3525
3526         [BZ #15890]
3527         * nscd/aicache.c: Include res_hconf.h.
3528         (addhstaiX): Initialize res_hconf.
3529
3530 2013-08-26  Andreas Schwab  <schwab@suse.de>
3531
3532         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3533         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3534
3535 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3536
3537         * nscd/aicache.c (addhstaiX): Fix indentation.
3538
3539 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3540
3541         * configure.ac: Quote $build_pt_chown test.
3542         * configure: Regenerated.
3543
3544 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3545
3546         [BZ #15532]
3547         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3548         * math/s_cexpf.c (__cexpf): Likewise.
3549         * math/s_cexpl.c (__cexpl): Likewise.
3550         * math/libm-test.inc (cexp_test_data): Correct expected return
3551         value for NaN + i0.  Add another test.
3552
3553 2013-08-22  David S. Miller  <davem@davemloft.net>
3554
3555         * po/ca.po: Update Catalan translation from translation project.
3556         * po/uk.po: Add Ukrainian translations from translation project.
3557
3558 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3559
3560         [BZ #15797]
3561         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3562         is infinite, not alongside NaN test.
3563         * math/s_fdimf.c (__fdimf): Likewise.
3564         * math/s_fdiml.c (__fdiml): Likewise.
3565         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3566         errno is unchanged.
3567
3568 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3569
3570         * argp/argp-help.c: Fix typos.
3571         * crypt/speeds.c: Likewise.
3572         * csu/check_fds.c: Likewise.
3573         * elf/dl-load.c: Likewise.
3574         * elf/dl-open.c: Likewise.
3575         * elf/reldep3.c: Likewise.
3576         * elf/reldep.c: Likewise.
3577         * elf/sprof.c: Likewise.
3578         * iconv/iconv_charmap.c: Likewise.
3579         * iconv/skeleton.c: Likewise.
3580         * iconv/strtab.c: Likewise.
3581         * io/lockf64.c: Likewise.
3582         * libio/libioP.h: Likewise.
3583         * resolv/gai_notify.c: Likewise.
3584         * resolv/ns_name.c: Likewise.
3585         * resolv/ns_samedomain.c: Likewise.
3586         * resolv/res_send.c: Likewise.
3587         * stdlib/random.c: Likewise.
3588         * sunrpc/rpc/xdr.h: Likewise.
3589         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3590         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3591         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3592         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3593         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3594         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3595         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3596         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3597         * sysdeps/mach/hurd/check_fds.c: Likewise.
3598         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3599         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3600         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3601         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3602         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3603         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3604         * sysdeps/pthread/aio_notify.c: Likewise.
3605         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3606         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3607         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3608         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3609         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3610
3611 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3612
3613         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3614         version if bit_Slow_SSE4_2 is set.
3615         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3616         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3617
3618 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3619
3620         [BZ #15867]
3621         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3622         trampoline stack frame information.
3623         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3624         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3625         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3626         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3627         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3628         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3629         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3630         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3631         sa_flags value.
3632         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3633         interrupting a syscall and set with option SA_SIGINFO.
3634
3635 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3636
3637         [BZ #15531]
3638         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3639         argument is infinite.
3640         * math/s_cprojf.c (__cprojf): Likewise.
3641         * math/s_cprojl.c (__cprojl): Likewise.
3642         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3643         * math/libm-test.inc (cproj_test_data): Add more tests.
3644
3645         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3646
3647         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3648         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3649         size.  Use __ffs to determine corresponding shift.
3650
3651 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3652             Roland McGrath  <roland@hack.frob.com>
3653
3654         * Makefile (INSTALL): Remove trailing blank lines from output of
3655         makeinfo.
3656
3657 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3658
3659         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3660         Align 32 bit compat elf_greg to 8 bytes.
3661
3662 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3663
3664         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3665
3666 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3667
3668         * string/strcoll_l.c (coll_seq): New structure.
3669         (get_next_seq_cached): New function.
3670         (get_next_seq): New function.
3671         (do_compare): New function.
3672         (STRCOLL): Use GNU style definition.  Simplify implementation
3673         by using get_next_seq, get_next_seq_cached and do_compare.
3674
3675 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3676
3677         [BZ #14699]
3678         CVE-2013-4237
3679         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3680         member.
3681         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3682         member.
3683         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3684         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3685         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3686         conditional.
3687         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3688         GETDENTS_64BIT_ALIGNED.
3689         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3690         * manual/filesys.texi (Reading/Closing Directory): Document
3691         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3692         strongly.
3693         * manual/conf.texi (Limits for Files): Add portability note to
3694         NAME_MAX, PATH_MAX.
3695         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3696
3697 2013-08-13  Andreas Schwab  <schwab@suse.de>
3698
3699         [BZ #15749]
3700         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3701         of fabs.
3702         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3703         LDBL_MAX_EXP >= 16384]: Add tests for it.
3704
3705 2013-08-12  David S. Miller  <davem@davemloft.net>
3706
3707         * version.h (RELEASE): Set to "development".
3708         (VERSION): Set to "2.18.90".
3709         * NEWS: Add 2.19 section.
3710
3711 2013-08-03  David S. Miller  <davem@davemloft.net>
3712
3713         * po/ko.po: Update Korean translation from translation project.
3714
3715 2013-08-01  David S. Miller  <davem@davemloft.net>
3716
3717         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3718         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3719         Bilka.
3720
3721 2013-07-30  David S. Miller  <davem@davemloft.net>
3722
3723         * po/fr.po: Update French translation from translation project.
3724
3725 2013-07-28  David S. Miller  <davem@davemloft.net>
3726
3727         * po/cs.po: Update Czech translation from translation project.
3728
3729         * po/sv.po: Update Swedish translation from translation project.
3730
3731 2013-07-27  David S. Miller  <davem@davemloft.net>
3732
3733         * po/eo.po: Update Esperanto translation from translation project.
3734
3735         * po/vi.po: Update Vietnamese translation from translation project.
3736
3737         * po/de.po: Update German translation from translation project.
3738
3739 2013-07-26  David S. Miller  <davem@davemloft.net>
3740
3741         * po/bg.po: Update Bulgarian translation from translation project.
3742
3743         * po/nl.po: Update Dutch translation from translation project.
3744         * po/pl.po: Update Polish translation from translation project.
3745         * po/ru.po: Update Russian translation from translation project.
3746
3747 2013-07-24  David S. Miller  <davem@davemloft.net>
3748
3749         * po/libc.pot: Update.
3750
3751 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3752
3753         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3754         variable page size.
3755         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3756         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3757         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3758
3759 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3760
3761         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3762
3763 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3764             Andreas Schwab  <schwab@suse.de>
3765             Roland McGrath  <roland@hack.frob.com>
3766             Joseph Myers  <joseph@codesourcery.com>
3767             Carlos O'Donell  <carlos@redhat.com>
3768
3769         [BZ #15755]
3770         * config.h.in: Define HAVE_PT_CHOWN.
3771         * config.make.in (build-pt-chown): New variable.
3772         * configure.in (--enable-pt_chown): New configure option.
3773         * configure: Regenerate.
3774         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3775         build-pt-chown is enabled.
3776         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3777         pt_chown to fix pty ownership.
3778         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3779         CLOSE_ALL_FDS.
3780         * manual/install.texi (Configuring and compiling): Mention
3781         --enable-pt_chown. Add @findex for grantpt.
3782         * INSTALL: Regenerate.
3783
3784 2013-07-20  David S. Miller  <davem@davemloft.net>
3785
3786         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3787         difference between 32-bit and 64-bit.
3788
3789 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3790
3791         [BZ #15711]
3792         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3793         Avoid system header dependency with -ffreestanding.
3794         ($(objpfx)bits/syscall%d): Likewise.
3795
3796 2013-07-13  David S. Miller  <davem@davemloft.net>
3797
3798         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3799         underflows from atanl/atan2l due to bug 15319.
3800         (casinh_test_data): Likewise.
3801
3802 2013-07-07  David S. Miller  <davem@davemloft.net>
3803
3804         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3805
3806 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3807
3808         * sysdeps/i386/fpu/libm-test-ulps: Update.
3809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3810
3811 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3812
3813         * configure.in (--enable-lock-elision): Fix message text.
3814         * INSTALL: Regenerate.
3815         * configure: Regenerate.
3816
3817 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3818
3819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3820
3821 2013-07-03  Andreas Jaeger  <aj@suse.de>
3822
3823         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3824         define.
3825         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3826         (ptrace_peeksiginfo_args): Add.
3827         (__ptrace_peeksiginfo_flags): Add.
3828         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3830         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3831
3832 2013-07-03  Allan McRae  <allan@archlinux.org>
3833
3834         * sysdeps/i386/fpu/libm-test-ulps: Update.
3835
3836 2013-07-02  David S. Miller  <davem@davemloft.net>
3837
3838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3839
3840 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3841
3842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3843
3844 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3845
3846         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3848
3849 2013-07-02  Andi Kleen <ak@linux.intel.com>
3850
3851         * config.h.in (ENABLE_LOCK_ELISION): Add.
3852         * configure.in (--enable-lock-elision): Add option.
3853         * manual/install.texi: Document --enable lock elision.
3854         * configure: Regenerate
3855         * INSTALL: Regenerate.
3856
3857 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3858
3859         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3860         SSE4.2 strcasecmp for libc.a.
3861         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3862
3863 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3864
3865         [BZ #13304]
3866         * soft-fp/op-common.h (_FP_FMA): New macro.
3867         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3868         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3869         (_FP_MUL_MEAT_1_imm): ... here.
3870         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3871         (_FP_MUL_MEAT_1_wide): ... here.
3872         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3873         (_FP_MUL_MEAT_1_hard): ... here.
3874         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3875         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3876         (_FP_MUL_MEAT_2_wide): ... here.
3877         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3878         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3879         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3880         (_FP_MUL_MEAT_2_gmp): ... here.
3881         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3882         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3883         (_FP_MUL_MEAT_4_wide): ... here.
3884         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3885         (_FP_MUL_MEAT_4_gmp): ... here.
3886         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3887         (_FP_WFRACBITS_DW_S): Likewise.
3888         (_FP_WFRACXBITS_DW_S): Likewise.
3889         (_FP_HIGHBIT_DW_S): Likewise.
3890         (FP_FMA_S): Likewise.
3891         (_FP_FRAC_HIGH_DW_S): Likewise.
3892         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3893         (_FP_WFRACBITS_DW_D): Likewise.
3894         (_FP_WFRACXBITS_DW_D): Likewise.
3895         (_FP_HIGHBIT_DW_D): Likewise.
3896         (FP_FMA_D): Likewise.
3897         (_FP_FRAC_HIGH_DW_D): Likewise.
3898         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3899         (_FP_WFRACBITS_DW_E): Likewise.
3900         (_FP_WFRACXBITS_DW_E): Likewise.
3901         (_FP_HIGHBIT_DW_E): Likewise.
3902         (FP_FMA_E): Likewise.
3903         (_FP_FRAC_HIGH_DW_E): Likewise.
3904         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3905         (_FP_WFRACBITS_DW_Q): Likewise.
3906         (_FP_WFRACXBITS_DW_Q): Likewise.
3907         (_FP_HIGHBIT_DW_Q): Likewise.
3908         (FP_FMA_Q): Likewise.
3909         (_FP_FRAC_HIGH_DW_Q): Likewise.
3910         * soft-fp/fmasf4.c: New file.
3911         * soft-fp/fmadf4.c: Likewise.
3912         * soft-fp/fmatf4.c: Likewise.
3913
3914 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3915
3916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3917         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3918         Silvermont.
3919         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3920         macro.
3921         (index_Slow_SSE4_2): Likewise.
3922         (index_Prefer_PMINUB_for_stringop): Likewise.
3923         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3924         bit_Slow_SSE4_2 is set.
3925         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3926         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3927
3928 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3929
3930         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3931         rtld_global._dl_hwcap2.
3932         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3933         POWER8.
3934         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3935         POWER8 feature descriptions defined in _dl_hwcap2.
3936         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3937         string handling for POWER8 feature bits.
3938         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3939         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3940         _dl_powerpc_cap_flags.
3941         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3942         * sysdeps/powerpc/rtld-global-offsets.sym
3943         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3944         _dl_hwcap2 in the rtld_global_ro structure.
3945
3946 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3947
3948         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3949         hardware capabilities in support of AT_HWCAP2.
3950         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3951         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3952         GLRO(dl_hwcap2).
3953         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3954         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3955         explicitly the unknown a_type display mechanism is used.
3956         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3957         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3958         struct member.
3959         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3960         to macro prototype for AT_HWCAP2 support.
3961         * sysdeps/i386/dl-procinfo.h: Likewise.
3962         * sysdeps/s390/dl-procinfo.h: Likewise.
3963         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3964         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3965         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3966         return -1 for unknown a_type display fallback.
3967         * sysdeps/sparc/dl-procinfo.h: Likewise.
3968         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3969         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3970
3971 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3972
3973         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3974         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3975
3976 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3977
3978         [BZ #12492]
3979         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3980         mprotect making __stack_prot writable.
3981
3982 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3983             Joseph Myers  <joseph@codesourcery.com>
3984
3985         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3986         as being properly aligned.
3987
3988 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3989
3990         * dlfcn/modstatic5.c: New file.
3991         * dlfcn/tststatic5.c: New file.
3992         * dlfcn/Makefile (tests): Add tststatic5.
3993         (tests-static): Likewise.
3994         (modules-names): Add modstatic5.
3995         (tststatic5-ENV): New variable.
3996         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3997
3998         [BZ #15022]
3999         * elf/dl-support.c (_dl_main_map): New variable.
4000         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4001         (_dl_nns, _dl_load_adds): Set to 1.
4002         (_dl_initial_searchlist): Refer to _dl_main_map.
4003         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4004         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4005         call to _dl_get_origin.
4006         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4007         around call_map.
4008         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4009         * dlfcn/modstatic3.c: New file.
4010         * dlfcn/tststatic3.c: New file.
4011         * dlfcn/tststatic4.c: New file.
4012         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4013         (tests-static): Likewise.
4014         (modules-names): Add modstatic3.
4015         (tststatic3-ENV, tststatic4-ENV): New variables.
4016         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4017         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4018
4019 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
4020
4021         * configure.in (CC): Require GCC version 4.4 or later.
4022         * configure: Regenerated.
4023         * manual/install.texi (Tools for Compilation): Update GCC version
4024         requirement.
4025         * INSTALL: Regenerated.
4026
4027 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4028
4029         [BZ #15674]
4030         * string/test-memcmp.c (check2): New.
4031         (main): Call check2.
4032
4033         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4034
4035 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
4036
4037         [BZ #15022]
4038         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4039         over to...
4040         (dl_open_worker) [!SHARED]: ... here.
4041
4042 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4043
4044         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4045
4046 2013-06-25  Richard Henderson  <rth@redhat.com>
4047
4048         * locale/programs/locarchive.c: Include <libc-internal.h>
4049
4050 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
4051
4052         * manual/texinfo.tex: Update to version 2013-06-21.17, with
4053         trailing whitespace removed.
4054
4055 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4056
4057         [BZ #10283]
4058         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4059         * locale/programs/locarchive.c: Include libc-mmap.h.
4060         (prepare_address_space): Take two new outputs (the mmap base and len).
4061         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
4062         values.
4063         (create_archive): Declare new mmap base and len values for
4064         prepare_address_space, and store the result in ah.
4065         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4066         (enlarge_archive): If ah->mmap_base is not NULL, use that and
4067         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4068         Declare new mmap base and len values for
4069         prepare_address_space, and store the result in new_ah.
4070         (open_archive): Declare new mmap base and len values for
4071         prepare_address_space, and store the result in ah.
4072         (close_archive): If ah->mmap_base is not NULL, use that and
4073         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4074         * sysdeps/generic/libc-mmap.h: New file.
4075
4076 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4077
4078         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4079         (ALIGN_UP): Likewise.
4080         (PTR_ALIGN_DOWN): Likewise.
4081         (PTR_ALIGN_UP): Likewise.
4082
4083 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4084
4085         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4086         entry mapped to PPC_PLATFORM_POWER8.
4087         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4088         POWER8.
4089         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4090         (_dl_string_platform): Add case for exporting platform position for
4091         POWER8.
4092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4093         search path to sysdeps/powerpc/powerpc32/power8 directory.
4094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4095         search path to sysdeps/powerpc/powerpc64/power8 directory.
4096         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4097         power7 directories.
4098         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4099         power7 directories.
4100
4101 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4102
4103         * INSTALL: Regenerate.
4104
4105         * nscd/connections.c (nscd_init): Fix comment.
4106
4107 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
4108
4109         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4110
4111         [BZ #15667]
4112         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4113         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4114
4115 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4116
4117         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4118         DL_DST_REQ_STATIC.
4119         (DL_DST_REQ_STATIC): Remove macro.
4120
4121 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4122
4123         [BZ #7006]
4124         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4125         with a shift of 0 bits.
4126
4127 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4128
4129         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4130         $(tststatic-ENV).
4131
4132 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4133
4134         [BZ #15655]
4135         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4136
4137 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4138
4139         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4140         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4141         accepts -fno-tree-loop-distribute-patterns.
4142         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4143         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4144         recursive call.
4145         * string/memset.c (memset): Likewise.
4146         * string/test-memmove.c (simple_memmove): Disable loop transformation
4147         to library calls.
4148         * string/test-memset.c (simple_memset): Likewise.
4149         * benchtests/bench-memmove.c (simple_memmove): Likewise.
4150         * benchtests/bench-memset.c (simple_memset): Likewise.
4151         * configure: Regenerated.
4152
4153 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
4154
4155         * math/test-misc.c (main): Ignore fesetround failure when failures
4156         of subsequent rounding tests would be ignored.
4157
4158         [BZ #15654]
4159         * math/fedisblxcpt.c (fedisableexcept): Return 0.
4160         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4161         * math/fegetenv.c (__fegetenv): Return 0.
4162         * math/fegetexcept.c (fegetexcept): Return 0.
4163         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4164         FE_TONEAREST.
4165         * math/feholdexcpt.c (feholdexcept): Return 0.
4166         * math/fesetenv.c (__fesetenv): Return 0.
4167         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4168         argument FE_TONEAREST.
4169         * math/feupdateenv.c (__feupdateenv): Return 0.
4170         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4171
4172 2013-06-18  Roland McGrath  <roland@hack.frob.com>
4173
4174         * elf/rtld-Rules (rtld-compile-command.S): New variable.
4175         (rtld-compile-command.s, rtld-compile-command.c): New variables.
4176         ($(objpfx)rtld-%.os rules): Use them.
4177
4178 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4179
4180         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4181         fields.
4182
4183 2013-06-17  Roland McGrath  <roland@hack.frob.com>
4184
4185         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4186         length of target pattern, then descending length of dependency pattern.
4187         * configure.in (AWK): Require gawk 3.1.2 or newer.
4188         * manual/install.texi (Tools for Compilation): Say that we do.
4189         * configure: Regenerated.
4190
4191         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4192         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4193         * scripts/sysd-rules.awk: ... this new script.
4194         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4195         than a glob-style pattern.
4196
4197 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
4198
4199         * math/test-misc.c (main): Do not treat incorrectly rounded
4200         conversions as failure unless ROUNDING_TESTS passes.
4201
4202 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
4203
4204         [BZ #15631]
4205         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4206         restore exception state around main square root computation, then
4207         check for inexactness explicitly.
4208
4209         * math/libm-test.inc (fma_test_data): Add another test.
4210
4211 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4212
4213         * manual/threads.texi (Non-POSIX Extensions): New document
4214         node.  Document pthread_getattr_default_np and
4215         pthread_setattr_default_np.
4216
4217         * Versions.def (libpthread): Add GLIBC_2.18.
4218         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4220         Likewise.
4221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4222         Likewise.
4223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4224         Likewise.
4225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4226         Likewise.
4227         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4228         Likewise.
4229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4230         Likewise.
4231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4232         Likewise.
4233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4234         Likewise.
4235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4236         Likewise.
4237
4238 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4239
4240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4241         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4242
4243 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4244             H.J. Lu  <hjl.tools@gmail.com>
4245
4246         [BZ #15627]
4247         * sysdeps/x86_64/rtld-memset.c: Remove file.
4248         * sysdeps/x86_64/rtld-memset.S: New file.
4249
4250 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
4251
4252         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4253         (test_in_one_mode): Take arguments for whether the rounding mode
4254         is supported for each floating-point type.
4255         (do_test): Pass new arguments to test_in_one_mode using
4256         ROUNDING_TESTS.
4257
4258 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4259
4260         * posix/tst-waitid.c (do_test): Distinguish different instances of
4261         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
4262         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4263         before entering the kernel for waitpid.
4264
4265 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4266
4267         * NEWS: Fix note on clock function precision.  Text by Roland
4268         McGrath.
4269
4270 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4271
4272         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4273         it into place only when and if the sanity check passes.
4274
4275 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
4276
4277         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4278         output for whether conversion result is exact.  Take argument
4279         indicating whether type is IBM long double.
4280         (round_for_all): Change need_exact field to ibm_ld.
4281         * stdlib/tst-strtod-round.c (struct exactness): New type.
4282         (struct test): Change bool ld_ok field to struct exactness exact.
4283         (TEST): Update all definitions for change to field.
4284         (tests): Regenerate array contents.
4285         (test_in_one_mode): Take pointer to new field instead of old ld_ok
4286         field value.  Check for IBM long double here.
4287         (do_test): Update calls to test_in_one_mode.
4288
4289 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4290
4291         [BZ #12515]
4292         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4293         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4294
4295 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4296
4297         [BZ #15605]
4298         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4299         generated by the compiler on loop optimizations.
4300         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4301         general definitions.
4302
4303 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
4304
4305         * math/bug-nextafter.c: Include <math-tests.h>.
4306         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4307         the relevant type.
4308         * math/bug-nexttoward.c: Include <math-tests.h>.
4309         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4310         the relevant type.
4311         * math/test-misc.c: Include <math-tests.h>.
4312         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4313         the relevant type.
4314
4315 2013-06-12  Andreas Jaeger  <aj@suse.de>
4316
4317         * po/ia.po: Update Interlingua translation from translation
4318         project.
4319
4320 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4321
4322         * include/fenv.h: Include stdbool.h.
4323         (struct rm_ctx): New structure.
4324         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4325         Define macro.
4326         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4327         (SET_RESTORE_ROUNDF): Likewise.
4328         (SET_RESTORE_ROUNDL): Likewise.
4329         (SET_RESTORE_ROUND_NOEX): Likewise.
4330         (SET_RESTORE_ROUND_NOEXF): Likewise.
4331         (SET_RESTORE_ROUND_NOEXL): Likewise.
4332         (SET_RESTORE_ROUND_53BIT): Likewise.
4333         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4334         (libc_feresetround_noexf_ctx): Likewise.
4335         (libc_feresetround_noexl_ctx): Likewise.
4336         (libc_feholdsetround_53bit_ctx): Likewise.
4337         (libc_feresetround_53bit_ctx): Likewise.
4338         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4339         (libc_feholdexcept_setround_sse_ctx): New function.
4340         (libc_fesetenv_sse_ctx): Likewise.
4341         (libc_feupdateenv_sse_ctx): Likewise.
4342         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4343         (libc_feholdexcept_setround_387_ctx): Likewise.
4344         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4345         (libc_feholdsetround_387_prec_ctx): Likewise.
4346         (libc_feholdsetround_387_ctx): Likewise.
4347         (libc_feholdsetround_387_53bit_ctx): Likewise.
4348         (libc_feholdsetround_sse_ctx): Likewise.
4349         (libc_feresetround_sse_ctx): Likewise.
4350         (libc_feresetround_387_ctx): Likewise.
4351         (libc_feupdateenv_387_ctx): Likewise.
4352         (libc_feholdexcept_setroundf_ctx): Define macro.
4353         (libc_fesetenvf_ctx): Likewise.
4354         (libc_feupdateenvf_ctx): Likewise.
4355         (libc_feholdsetroundf_ctx): Likewise.
4356         (libc_feresetroundf_ctx): Likewise.
4357         (libc_feholdexcept_setround_ctx): Likewise.
4358         (libc_fesetenv_ctx): Likewise.
4359         (libc_feupdateenv_ctx): Likewise.
4360         (libc_feholdsetround_ctx): Likewise.
4361         (libc_feresetround_ctx): Likewise.
4362         (libc_feholdexcept_setroundl_ctx): Likewise.
4363         (libc_feupdateenvl_ctx): Likewise.
4364         (libc_feholdsetroundl_ctx): Likewise.
4365         (libc_feresetroundl_ctx): Likewise.
4366         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4367         (libc_feresetround_53bit_ctx): Likewise.
4368
4369 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4370
4371         * locale/iso-639.def: Convert to UTF-8.
4372
4373 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
4374
4375         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4376         (EXCEPTION_TESTS_double): Likewise.
4377         (EXCEPTION_TESTS_long_double): Likewise.
4378         (EXCEPTION_TESTS): Likewise.
4379         * math/libm-test.inc (test_exceptions): Only test exceptions if
4380         EXCEPTION_TESTS (FLOAT).
4381
4382 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4383
4384         * benchtests/Makefile (string-bench): Add strcpy_chk and
4385         stpcpy_chk.
4386         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4387         * benchtests/bench-stpcpy_chk.c: New file.
4388         * benchtests/bench-strcpy_chk-ifunc.c: New file.
4389         * benchtests/bench-strcpy_chk.c: New file.
4390         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4391         code.
4392         (do_test): Likewise.
4393
4394 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4395
4396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4397         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4398         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4399         with tabs where appropriate.
4400         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4401         dl-procinfo.h.
4402         [PPC_PLATFORM_PPC440]: Likewise.
4403         [PPC_PLATFORM_PPC464]: Likewise.
4404         [PPC_PLATFORM_PPC476]: Likewise.
4405         (_dl_string_platform): Add support for detecting ppc405, ppc440,
4406         ppc464, and ppc476 platform strings merging from ports/
4407         dl-procinfo.h.
4408
4409 2013-06-11  Andreas Schwab  <schwab@suse.de>
4410
4411         [BZ #14991]
4412         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4413         (from_ucs4_idx): Regenerate.
4414         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4415         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4416         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4417         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4418         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4419         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4420         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4421         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4422         from FROM_LOOP and TO_LOOP specific macros.
4423         (BODY): Handle combining characters.
4424         * iconvdata/BIG5HKSCS.irreversible: Update.
4425         * iconvdata/BIG5HKSCS.precomposed: New file.
4426         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4427         characters.
4428         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4429
4430 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4431
4432         * include/sys/time.h: Fix indentation and add copyright header.
4433
4434         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4435         (do_test): Likewise.
4436         * string/test-memchr.c (do_one_test): Likewise.
4437         (do_test): Likewise.
4438         * string/test-memcmp.c (do_one_test): Likewise.
4439         (do_test): Likewise.
4440         * string/test-memcpy.c (do_one_test): Likewise.
4441         (do_test): Likewise.
4442         * string/test-memmem.c (do_one_test): Likewise.
4443         (do_test): Likewise.
4444         (do_random_tests): Likewise.
4445         * string/test-memmove.c (do_one_test): Likewise.
4446         (do_test): Likewise.
4447         * string/test-memset.c (do_one_test): Likewise.
4448         (do_test): Likewise.
4449         * string/test-rawmemchr.c (do_one_test): Likewise.
4450         (do_test): Likewise.
4451         * string/test-strcasecmp.c (do_one_test): Likewise.
4452         (do_test): Likewise.
4453         * string/test-strcasestr.c (do_one_test): Likewise.
4454         (do_test): Likewise.
4455         * string/test-strcat.c (do_one_test): Likewise.
4456         (do_test): Likewise.
4457         * string/test-strchr.c (do_one_test): Likewise.
4458         (do_test): Likewise.
4459         * string/test-strcmp.c (do_one_test): Likewise.
4460         (do_test): Likewise.
4461         * string/test-strcpy.c (do_one_test): Likewise.
4462         (do_test): Likewise.
4463         * string/test-string.h: Likewise.
4464         (test_init): Likewise.
4465         * string/test-strlen.c (do_one_test): Likewise.
4466         (do_test): Likewise.
4467         * string/test-strncasecmp.c (do_one_test): Likewise.
4468         (do_test): Likewise.
4469         * string/test-strncat.c (do_one_test): Likewise.
4470         (do_test): Likewise.
4471         * string/test-strncmp.c (do_one_test): Likewise.
4472         (do_test_limit): Likewise.
4473         (do_test): Likewise.
4474         * string/test-strncpy.c (do_one_test): Likewise.
4475         (do_test): Likewise.
4476         * string/test-strnlen.c (do_one_test): Likewise.
4477         (do_test): Likewise.
4478         * string/test-strpbrk.c (do_one_test): Likewise.
4479         (do_test): Likewise.
4480         * string/test-strrchr.c (do_one_test): Likewise.
4481         (do_test): Likewise.
4482         * string/test-strspn.c (do_one_test): Likewise.
4483         (do_test): Likewise.
4484         * string/test-strstr.c (do_one_test): Likewise.
4485         (do_test): Likewise.
4486
4487         * benchtests/Makefile (string-bench): Add string benchmarks.
4488         * benchtests/bench-bcopy-ifunc.c: New file.
4489         * benchtests/bench-bcopy.c: New file.
4490         * benchtests/bench-bzero-ifunc.c: New file.
4491         * benchtests/bench-bzero.c: New file.
4492         * benchtests/bench-memccpy-ifunc.c: New file.
4493         * benchtests/bench-memccpy.c: New file.
4494         * benchtests/bench-memchr-ifunc.c: New file.
4495         * benchtests/bench-memchr.c: New file.
4496         * benchtests/bench-memcmp-ifunc.c: New file.
4497         * benchtests/bench-memcmp.c: New file.
4498         * benchtests/bench-memmem-ifunc.c: New file.
4499         * benchtests/bench-memmem.c: New file.
4500         * benchtests/bench-memmove-ifunc.c: New file.
4501         * benchtests/bench-memmove.c: New file.
4502         * benchtests/bench-mempcpy-ifunc.c: New file.
4503         * benchtests/bench-mempcpy.c: New file.
4504         * benchtests/bench-memset-ifunc.c: New file.
4505         * benchtests/bench-memset.c: New file.
4506         * benchtests/bench-rawmemchr-ifunc.c: New file.
4507         * benchtests/bench-rawmemchr.c: New file.
4508         * benchtests/bench-stpcpy-ifunc.c: New file.
4509         * benchtests/bench-stpcpy.c: New file.
4510         * benchtests/bench-stpncpy-ifunc.c: New file.
4511         * benchtests/bench-stpncpy.c: New file.
4512         * benchtests/bench-strcasecmp-ifunc.c: New file.
4513         * benchtests/bench-strcasecmp.c: New file.
4514         * benchtests/bench-strcasestr-ifunc.c: New file.
4515         * benchtests/bench-strcasestr.c: New file.
4516         * benchtests/bench-strcat-ifunc.c: New file.
4517         * benchtests/bench-strcat.c: New file.
4518         * benchtests/bench-strchr-ifunc.c: New file.
4519         * benchtests/bench-strchr.c: New file.
4520         * benchtests/bench-strchrnul-ifunc.c: New file.
4521         * benchtests/bench-strchrnul.c: New file.
4522         * benchtests/bench-strcmp-ifunc.c: New file.
4523         * benchtests/bench-strcmp.c: New file.
4524         * benchtests/bench-strcpy-ifunc.c: New file.
4525         * benchtests/bench-strcpy.c: New file.
4526         * benchtests/bench-strcspn-ifunc.c: New file.
4527         * benchtests/bench-strcspn.c: New file.
4528         * benchtests/bench-strlen-ifunc.c: New file.
4529         * benchtests/bench-strlen.c: New file.
4530         * benchtests/bench-strncasecmp-ifunc.c: New file.
4531         * benchtests/bench-strncasecmp.c: New file.
4532         * benchtests/bench-strncat-ifunc.c: New file.
4533         * benchtests/bench-strncat.c: New file.
4534         * benchtests/bench-strncmp-ifunc.c: New file.
4535         * benchtests/bench-strncmp.c: New file.
4536         * benchtests/bench-strncpy-ifunc.c: New file.
4537         * benchtests/bench-strncpy.c: New file.
4538         * benchtests/bench-strnlen-ifunc.c: New file.
4539         * benchtests/bench-strnlen.c: New file.
4540         * benchtests/bench-strpbrk-ifunc.c: New file.
4541         * benchtests/bench-strpbrk.c: New file.
4542         * benchtests/bench-strrchr-ifunc.c: New file.
4543         * benchtests/bench-strrchr.c: New file.
4544         * benchtests/bench-strspn-ifunc.c: New file.
4545         * benchtests/bench-strspn.c: New file.
4546         * benchtests/bench-strstr-ifunc.c: New file.
4547         * benchtests/bench-strstr.c: New file.
4548
4549         * benchtests/Makefile: Disable parallel execution of targets.
4550         (string-bench): Add memcpy.
4551         (benchset): New variable to store a list of benchmark sets.
4552         (bench-func): Renamed from bench.
4553         (bench-set): New target.
4554         (bench): Depend on bench-func and bench-set.
4555         * benchtests/README: Add section on benchmark sets.
4556         * benchtests/bench-memcpy-ifunc.c: New file.
4557         * benchtests/bench-memcpy.c: New file.
4558         * benchtests/bench-string.h: New file.
4559
4560 2013-06-11  Andreas Schwab  <schwab@suse.de>
4561
4562         [BZ #15577]
4563         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4564         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4565         values in the triple.
4566         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4567         terminator in the group key.
4568
4569 2013-06-11  Andreas Jaeger  <aj@suse.de>
4570
4571         * po/zh_TW.po: Update Chinese (traditional) translation from
4572         translation project.
4573
4574 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4575
4576         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4577         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4578         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4579         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4580         (clock_getcpuclockid): Likewise.
4581         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4582         Add weak_alias and libc_hidden_def.
4583         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4584         * rt/clock_gettime.c (clock_gettime): Rename to
4585         __clock_gettime.  Add weak_alias and libc_hidden_def.
4586         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4587         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4588         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4589         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4590         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4591         Likewise.
4592         * rt/clock_settime.c (clock_settime): Rename to
4593         __clock_settime.  Add weak_alias and libc_hidden_def.
4594         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4595
4596 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4597
4598         * mach/err_boot.sub: Remove trailing whitespace.
4599         * mach/err_ipc.sub: Likewise.
4600         * mach/err_mach.sub: Likewise.
4601
4602         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4603         (ROUNDING_TESTS_double): Likewise.
4604         (ROUNDING_TESTS_long_double): Likewise.
4605         (ROUNDING_TESTS): Likewise.
4606         * math/libm-test.inc: Include <math-tests.h>.
4607         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4608         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4609         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4610         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4611
4612 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4613
4614         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4615         of assigning.
4616
4617 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4618
4619         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4620         otherwise empty TRANS lines.
4621         * sysdeps/gnu/errlist.c: Regenerated.
4622
4623         * catgets/gencat.c (error_print): Use (void) in function
4624         definition.
4625         * crypt/crypt_util.c (__init_des): Likewise.
4626         * crypt/speeds.c (Stop): Likewise.
4627         (main): Likewise.
4628         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4629         * inet/ruserpass.c (token): Likewise.
4630         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4631         * intl/localealias.c (extend_alias_table): Likewise.
4632         * intl/plural-exp.c (init_germanic_plural): Likewise.
4633         * libio/fcloseall.c (__fcloseall): Likewise.
4634         * libio/genops.c (_IO_flush_all): Likewise.
4635         (_IO_flush_all_linebuffered): Likewise.
4636         (_IO_cleanup): Likewise.
4637         (_IO_iter_begin): Likewise.
4638         (_IO_iter_end): Likewise.
4639         (_IO_list_lock): Likewise.
4640         (_IO_list_unlock): Likewise.
4641         (_IO_list_resetlock): Likewise.
4642         * libio/getchar.c (getchar): Likewise.
4643         * libio/getchar_u.c (getchar_unlocked): Likewise.
4644         * libio/getwchar.c (getwchar): Likewise.
4645         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4646         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4647         * login/getpt.c (__getpt): Likewise.
4648         * login/tst-utmp.c (main): Likewise.
4649         * malloc/hooks.c (__malloc_check_init): Likewise.
4650         * malloc/malloc.c (__malloc_stats): Likewise.
4651         * malloc/mtrace.c (tr_break): Likewise.
4652         (mtrace): Likewise.
4653         (muntrace): Likewise.
4654         * misc/fstab.c (endfsent): Likewise.
4655         * misc/getclktck.c (__getclktck): Likewise.
4656         * misc/getdtsz.c (__getdtablesize): Likewise.
4657         * misc/gethostid.c (gethostid): Likewise.
4658         * misc/getpagesize.c (__getpagesize): Likewise.
4659         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4660         (__get_nprocs): Likewise.
4661         (__get_phys_pages): Likewise.
4662         (__get_avphys_pages): Likewise.
4663         * misc/getttyent.c (getttyent): Likewise.
4664         (setttyent): Likewise.
4665         (endttyent): Likewise.
4666         * misc/getusershell.c (getusershell): Likewise.
4667         (endusershell): Likewise.
4668         (setusershell): Likewise.
4669         (initshells): Likewise.
4670         * misc/hsearch.c (__hdestroy): Likewise.
4671         * misc/sync.c (sync): Likewise.
4672         * misc/syslog.c (closelog_internal): Likewise.
4673         (closelog): Likewise.
4674         * misc/ttyslot.c (ttyslot): Likewise.
4675         * misc/vhangup.c (vhangup): Likewise.
4676         * posix/fork.c (__fork): Likewise.
4677         * posix/getegid.c (__getegid): Likewise.
4678         * posix/geteuid.c (__geteuid): Likewise.
4679         * posix/getgid.c (__getgid): Likewise.
4680         * posix/getpid.c (__getpid): Likewise.
4681         * posix/getppid.c (__getppid): Likewise.
4682         * posix/getuid.c (__getuid): Likewise.
4683         * posix/pause.c (pause): Likewise.
4684         * posix/setpgrp.c (setpgrp): Likewise.
4685         * posix/setsid.c (__setsid): Likewise.
4686         * posix/test-vfork.c (noop): Likewise.
4687         * resolv/gethnamaddr.c (_endhtent): Likewise.
4688         (_gethtent): Likewise.
4689         (ht_endhostent): Likewise.
4690         (gethostent): Likewise.
4691         (dns_service): Likewise.
4692         * stdlib/drand48.c (drand48): Likewise.
4693         * stdlib/lrand48.c (lrand48): Likewise.
4694         * stdlib/mrand48.c (mrand48): Likewise.
4695         * stdlib/rand.c (rand): Likewise.
4696         * stdlib/random.c (__random): Likewise.
4697         * stdlib/setenv.c (clearenv): Likewise.
4698         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4699         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4700         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4701         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4702         (__get_nprocs): Likewise.
4703         (__get_phys_pages): Likewise.
4704         (__get_avphys_pages): Likewise.
4705         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4706         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4707         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4708         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4709         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4710         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4711         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4712         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4713         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4714         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4715         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4716         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4717         * sysdeps/posix/clock.c (clock): Likewise.
4718         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4719         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4720         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4721         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4722         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4723         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4724         (__get_nprocs_conf): Likewise.
4725         (__get_phys_pages): Likewise.
4726         (__get_avphys_pages): Likewise.
4727         * time/clock.c (clock): Likewise.
4728         * time/tzset.c (__tzname_max): Likewise.
4729
4730 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4731
4732         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4733         (__bswap_32): Do not use "register".
4734         * crypt/crypt.c (_ufc_doit_r): Likewise.
4735         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4736         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4737         * gmon/gmon.c (__monstartup): Likewise.
4738         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4739         * hurd/hurdmalloc.c (more_memory): Likewise.
4740         (malloc): Likewise.
4741         (free): Likewise.
4742         (realloc): Likewise.
4743         (malloc_fork_prepare): Likewise.
4744         (malloc_fork_parent): Likewise.
4745         (malloc_fork_child): Likewise.
4746         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4747         (_svcauth_des): Likewise.
4748         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4749         * inet/inet_net.c (inet_network): Likewise.
4750         * inet/inet_netof.c (inet_netof): Likewise.
4751         * inet/rcmd.c (__validuser2_sa): Likewise.
4752         * io/fts.c (fts_open): Likewise.
4753         (fts_load): Likewise.
4754         (fts_close): Likewise.
4755         (fts_read): Likewise.
4756         (fts_children): Likewise.
4757         (fts_build): Likewise.
4758         (fts_stat): Likewise.
4759         (fts_sort): Likewise.
4760         (fts_alloc): Likewise.
4761         (fts_lfree): Likewise.
4762         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4763         (_IO_file_xsgetn): Likewise.
4764         (_IO_file_xsgetn_mmap): Likewise.
4765         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4766         (_IO_cookie_write): Likewise.
4767         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4768         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4769         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4770         * malloc/obstack.c (_obstack_begin): Likewise.
4771         (_obstack_begin_1): Likewise.
4772         (_obstack_newchunk): Likewise.
4773         (_obstack_allocated_p): Likewise.
4774         (obstack_free): Likewise.
4775         (_obstack_memory_used): Likewise.
4776         * misc/getttyent.c (getttynam): Likewise.
4777         (getttyent): Likewise.
4778         (skip): Likewise.
4779         (value): Likewise.
4780         * misc/getusershell.c (initshells): Likewise.
4781         * misc/syslog.c (__vsyslog_chk): Likewise.
4782         * misc/ttyslot.c (ttyslot): Likewise.
4783         * nis/nis_hash.c (__nis_hash): Likewise.
4784         * posix/fnmatch_loop.c (FCT): Likewise.
4785         * posix/getconf.c (print_all): Likewise.
4786         (main): Likewise.
4787         * posix/getopt.c (exchange): Likewise.
4788         * posix/glob.c (globfree): Likewise.
4789         (prefix_array): Likewise.
4790         (__glob_pattern_type): Likewise.
4791         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4792         (NS_GET32): Likewise.
4793         (NS_PUT16): Likewise.
4794         (NS_PUT32): Likewise.
4795         * resolv/gethnamaddr.c (getanswer): Likewise.
4796         (gethostbyname2): Likewise.
4797         (gethostbyaddr): Likewise.
4798         (_gethtent): Likewise.
4799         (_gethtbyname2): Likewise.
4800         (_gethtbyaddr): Likewise.
4801         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4802         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4803         * resolv/res_init.c (__res_vinit): Likewise.
4804         (net_mask): Likewise.
4805         * resolv/res_mkquery.c (outchar): Likewise.
4806         (PRINT): Likewise.
4807         * stdio-common/printf_fp.c (outchar): Likewise.
4808         (PRINT): Likewise.
4809         * stdio-common/printf_fphex.c (outchar): Likewise.
4810         (PRINT): Likewise.
4811         * stdio-common/printf_size.c (outchar): Likewise.
4812         (PRINT): Likewise.
4813         * stdio-common/test_rdwr.c (main): Likewise.
4814         * stdio-common/tfformat.c (matches): Likewise.
4815         * stdio-common/vfprintf.c (outchar): Likewise.
4816         (printf_unknown): Likewise.
4817         (buffered_vfprintf): Likewise.
4818         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4819         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4820         (ReadFile): Likewise.
4821         * stdlib/qsort.c (SWAP): Likewise.
4822         (_quicksort): Likewise.
4823         * stdlib/setenv.c (__add_to_environ): Likewise.
4824         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4825         * stdlib/strtol_l.c (__strtol_l): Likewise.
4826         * stdlib/tst-strtod.c (main): Likewise.
4827         * stdlib/tst-strtol.c (main): Likewise.
4828         * stdlib/tst-strtoll.c (main): Likewise.
4829         * string/bits/string2.h (__strcmp_cc): Likewise.
4830         (__strcmp_cg): Likewise.
4831         (__strcspn_c1): Likewise.
4832         (__strcspn_c2): Likewise.
4833         (__strcspn_c3): Likewise.
4834         (__strspn_c1): Likewise.
4835         (__strspn_c2): Likewise.
4836         (__strspn_c3): Likewise.
4837         (__strsep_1c): Likewise.
4838         (__strsep_2c): Likewise.
4839         (__strsep_3c): Likewise.
4840         * string/memccpy.c (__memccpy): Likewise.
4841         * string/stpcpy.c (__stpcpy): Likewise.
4842         * string/strcmp.c (strcmp): Likewise.
4843         * string/strrchr.c (strrchr): Likewise.
4844         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4845         Likewise.
4846         * sysdeps/mach/hurd/getcwd.c
4847         (_hurd_canonicalize_directory_name_internal): Likewise.
4848         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4849         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4850         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4851         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4852         Likewise, in both definitions.
4853         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4854         definitions.
4855         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4856         64] (__bswap_64): Likewise.
4857         * time/test_time.c (main): Likewise.
4858         * time/tzfile.c (__tzfile_read): Likewise.
4859         (__tzfile_compute): Likewise.
4860         * time/tzset.c (__tzset_parse_tz): Likewise.
4861         (tzset_internal): Likewise.
4862         (compute_change): Likewise.
4863         * wcsmbs/wcscat.c (__wcscat): Likewise.
4864         * wcsmbs/wcschr.c (wcschr): Likewise.
4865         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4866         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4867         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4868         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4869         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4870         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4871         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4872         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4873         * wcsmbs/wmemset.c (wmemset): Likewise.
4874
4875 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4876
4877         * scripts/config.guess: Update to version 2013-05-16.
4878         * scripts/config.sub: Update to version 2013-04-24.
4879         * scripts/install-sh: Update to version 2011-11-20.07.
4880         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4881         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4882
4883 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4884
4885         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4886         * elf/sln.c: Likewise.
4887         * hurd/hurd/ioctl.h: Likewise.
4888         * hurd/hurdmalloc.c: Likewise.
4889         * hurd/xattr.c: Likewise.
4890         * include/shlib-compat.h: Likewise.
4891         * inet/ruserpass.c: Likewise.
4892         * libio/iofgets_u.c: Likewise.
4893         * libio/iofgetws_u.c: Likewise.
4894         * locale/programs/ld-identification.c: Likewise.
4895         * locale/programs/ld-time.c: Likewise.
4896         * mach/msg-destroy.c: Likewise.
4897         * nss/nss_files/files-netgrp.c: Likewise.
4898         * resolv/res_data.c: Likewise.
4899         * soft-fp/op-1.h: Likewise.
4900         * soft-fp/op-2.h: Likewise.
4901         * soft-fp/op-4.h: Likewise.
4902         * soft-fp/op-common.h: Likewise.
4903         * stdio-common/printf_fphex.c: Likewise.
4904         * stdlib/strtod_l.c: Likewise.
4905         * sunrpc/rpc/clnt.h: Likewise.
4906         * sysdeps/generic/framestate.c: Likewise.
4907         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4908         * sysdeps/i386/bsd-setjmp.S: Likewise.
4909         * sysdeps/i386/__longjmp.S: Likewise.
4910         * sysdeps/i386/setjmp.S: Likewise.
4911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4912         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4913         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4914         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4915         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4916         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4917         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4918         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4919         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4920         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4921         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4922         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4923         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4924         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4925         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4926         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4927         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4928         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4929         * sysdeps/ieee754/support.c: Likewise.
4930         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4931         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4932         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4933         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4934         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4935         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4936         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4937         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4938         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4939         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4940         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4941         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4942         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4943         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4944         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4945         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4946         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4948
4949 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4950
4951         * posix/transbug.c: Remove executable mode.
4952
4953 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4954
4955         * crypt/speeds.c: Remove trailing whitespace.
4956         * dlfcn/default.c: Likewise.
4957         * elf/ifuncdep2.c: Likewise.
4958         * elf/ifuncmain1.c: Likewise.
4959         * elf/ifuncmain1vis.c: Likewise.
4960         * elf/testobj.h: Likewise.
4961         * elf/tst-stackguard1.c: Likewise.
4962         * gmon/sys/gmon.h: Likewise.
4963         * hurd/hurdmsg.c: Likewise.
4964         * hurd/new-fd.c: Likewise.
4965         * hurd/ports-get.c: Likewise.
4966         * iconvdata/ibm1008_420.c: Likewise.
4967         * inet/tst-getni1.c: Likewise.
4968         * inet/tst-getni2.c: Likewise.
4969         * libio/ioungetc.c: Likewise.
4970         * libio/wfiledoalloc.c: Likewise.
4971         * manual/libm-err-tab.pl: Likewise.
4972         * math/w_dremf.c: Likewise.
4973         * misc/ftruncate.c: Likewise.
4974         * posix/bug-glob2.c: Likewise.
4975         * posix/tst-pcre.c: Likewise.
4976         * posix/wait4.c: Likewise.
4977         * resolv/README: Likewise.
4978         * resolv/res_debug.h: Likewise.
4979         * resolv/tst-inet_ntop.c: Likewise.
4980         * setjmp/bug269-setjmp.c: Likewise.
4981         * soft-fp/extended.h: Likewise.
4982         * soft-fp/op-1.h: Likewise.
4983         * soft-fp/op-2.h: Likewise.
4984         * soft-fp/op-4.h: Likewise.
4985         * soft-fp/op-8.h: Likewise.
4986         * soft-fp/testit.c: Likewise.
4987         * stdio-common/bug16.c: Likewise.
4988         * stdlib/random.c: Likewise.
4989         * sunrpc/rpcsvc/rquota.x: Likewise.
4990         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4991         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4992         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4993         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4994         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4995         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4996         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4997         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4998         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4999         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5000         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5001         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5002         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5003         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5004         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5005         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5006         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5007         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5008         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5009         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5010         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5011         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5012         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5013         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5014         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5015         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5017         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5018         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5019         * sysdeps/ieee754/s_lib_version.c: Likewise.
5020         * sysdeps/mach/hurd/check_fds.c: Likewise.
5021         * sysdeps/mach/hurd/getsockname.c: Likewise.
5022         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5023         * sysdeps/mach/hurd/recvfrom.c: Likewise.
5024         * sysdeps/powerpc/bits/link.h: Likewise.
5025         * sysdeps/powerpc/dl-procinfo.c: Likewise.
5026         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5027         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5028         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5029         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5030         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5031         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5032         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5033         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5034         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5035         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5036         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5037         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5038         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5039         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5040         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5041         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5042         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5043         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5044         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5045         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5046         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5047         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5048         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5049         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5050         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5051         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5052         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5053         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5054         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5055         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5056         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5057         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5058         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5059         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5060         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5061         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5062         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5063         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5064         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5065         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5066         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5067         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5068         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5069         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5070         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5071         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5072         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5073         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5074         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5075         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5076         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5077         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5078         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5079         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5080         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5081         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5082         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5083         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5084         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5085         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5086         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5087         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5088         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5089         * sysdeps/powerpc/sysdep.h: Likewise.
5090         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5091         * sysdeps/s390/s390-64/sub_n.S: Likewise.
5092         * sysdeps/sh/dl-trampoline.S: Likewise.
5093         * sysdeps/sh/memset.S: Likewise.
5094         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5095         * sysdeps/sh/strlen.S: Likewise.
5096         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5097         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5098         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5099         * sysdeps/sparc/sparc32/rem.S: Likewise.
5100         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5101         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5102         * sysdeps/sparc/sparc32/strchr.S: Likewise.
5103         * sysdeps/sparc/sparc32/udiv.S: Likewise.
5104         * sysdeps/sparc/sparc32/urem.S: Likewise.
5105         * sysdeps/sparc/sparc64/add_n.S: Likewise.
5106         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5107         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5108         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5109         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5110         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5111         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5112         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5113         * sysdeps/unix/bsd/times.c: Likewise.
5114         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5115         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5119         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5120         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5121         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5122         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5123         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5124         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5125         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5126         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5127         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5128         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5129         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5130         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5131         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5132         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5133         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5134         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5135         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5136         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5137         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5138         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5139         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5140         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5141         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5142         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5143         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5144         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5145         * sysdeps/x86_64/strcspn.S: Likewise.
5146
5147 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5148
5149         * locale/C-translit.h: Revert #include <stdint.h> because this is a
5150         generated file.  Regenerate properly from gen-translit.pl.
5151         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
5152         locale/C-translit.h.
5153
5154 2013-06-05  Andreas Schwab  <schwab@suse.de>
5155
5156         [BZ #15100]
5157         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5158         week as 6 instead of -1.
5159         * time/tst-strptime.c (day_tests): Add test case.
5160
5161 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5162
5163         * sysdeps/generic/math_private.h
5164         (libc_feholdexcept_setround_53bit): Replace with
5165         libc_feholdsetround_53bit.
5166         (libc_feupdateenv_53bit): Replace with
5167         libc_feresetround_53bit.
5168         (SET_RESTORE_ROUND_53BIT): Adjust.
5169
5170 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5171
5172         * string/test-strchrnul.c: Add copyright header.
5173
5174         * posix/tst-getaddrinfo4.c: Increase test timeout.
5175
5176 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
5177
5178         [BZ #15536]
5179         * math/libm-test.inc (MAX_EXP): Remove
5180         (MIN_EXP): Define.
5181         (ulp): Use MIN_EXP - MANT_DIG.
5182         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5183
5184 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
5185
5186         * po/be.po: Revert last change.
5187         * po/zh_CN.po: Likewise.
5188         * po/header.pot: Likewise.
5189
5190 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
5191
5192         * Makefile ($(common-objpfx)linkobj/libc.so): Define
5193         link-libc-deps to empty as target-specific variable.
5194         * Makerules (link-libc-args): New variable.
5195         (libc-for-link): Likewise.
5196         (link-libc-deps): Likewise.
5197         (lib%.so): Depend on $(link-libc-deps).  Link with
5198         $(link-libc-args).
5199         (build-module): Link with $(link-libc-args).
5200         (build-module-asneeded): Likewise.
5201         (build-module-helper-objlist): Filter out $(link-libc-deps) from
5202         list of objects.
5203         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5204         target-specific variable.
5205         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5206         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5207         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5208         libc.
5209         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5210         libc and ld.so.
5211         ($(objpfx)libpcprofile.so): Likewise.
5212         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5213         libc_nonshared.a.
5214         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5215         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5216         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5217         $(link-libc-deps).
5218         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5219         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5220         * login/Makefile ($(objpfx)libutil.so): Likewise.
5221         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5222         * math/Makefile ($(objpfx)libm.so): Likewise.
5223         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5224         $(objpfx)libnsl.so): Define libc-for-link as target-specific
5225         variable instead of depending directly on libc.
5226         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5227         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5228         $(link-libc-deps).
5229         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5230         libc.
5231         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5232         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5233         ($(objpfx)libanl.so): Likewise.
5234         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5235         ld.so.
5236         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5237         $(link-libc-deps).
5238         * sysdeps/i386/fpu/Makefile: Remove file.
5239         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5240         ($(objpfx)libm.so): Remove dependency on ld.so.
5241
5242 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
5243
5244         [BZ # 15553]
5245         * nis/yp_xdr.c (XDRMAXNAME): Define.
5246         (XDRMAXRECORD): Define.
5247         (xdr_domainname): Use XDRMAXNAME.
5248         (xdr_mapname): Likewise.
5249         (xdr_peername): Likewise.
5250         (xdr_keydat): Use XDRMAXRECORD.
5251         (xdr_valdat): Likewise.
5252
5253 2013-05-30  Jeff Law  <law@redhat.com>
5254
5255         [BZ #14256]
5256         * manual/errno.texi (ESTALE): Update to account for more than
5257         just NFS file systems.
5258         * sysdeps/gnu/errlist.c: Regenerated.
5259
5260 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5261
5262         [BZ #15465]
5263         * elf/Makefile (tests): Add tst-null-argv.
5264         (modules-names):  Add tst-null-argv-lib.
5265         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5266         (tst-null-argv-ENV): Set environment for tst-null-argv.
5267         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5268         (RTLD_PROGNAME): New macro.
5269         * elf/tst-null-argv.c: New test case.
5270         * elf/tst-null-argv-lib.c: Library for test case.
5271         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5272         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5273         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5274         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5275         * elf/dl-init.c (call_init): Likewise.
5276         (_dl_init): Likewise.
5277         * elf/dl-load.c (print_search_path): Likewise.
5278         (_dl_map_object): Likewise.
5279         * elf/dl-lookup.c (do_lookup_x): Likewise.
5280         (add_dependency): Likewise.
5281         (_dl_lookup_symbol_x): Likewise.
5282         (_dl_debug_bindings): Likewise.
5283         * elf/dl-open.c (_dl_show_scope): Likewise.
5284         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5285         * elf/dl-version.c (match_symbol): Likewise.
5286         (_dl_check_map_versions): Likewise.
5287         * elf/rtld.c (dl_main): Likewise.
5288         (print_unresolved): Use RTLD_PROGNAME.
5289         (print_missing_version): Likewise.
5290         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5291         (elf_machine_rela): Likewise.
5292         * sysdeps/powerpc/powerpc32/dl-machine.c
5293         (__process_machine_rela): Likewise.
5294         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5295         Likewise.
5296         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5297         Likewise.
5298         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5299         Likewise.
5300         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5301         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5302         Likewise.
5303         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5304         Likewise.
5305         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5306
5307 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
5308
5309         * po/be.po: Add descriptive title.
5310         * po/zh_CN.po: Likewise.
5311         * po/header.pot: Likewise.
5312
5313 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
5314
5315         * locale/programs/locarchive.c (create_archive): Inlucde fname in
5316         error message.
5317         (enlarge_archive): Likewise.
5318
5319 2013-05-28  Ben North  <ben@redfrontdoor.org>
5320
5321         * manual/arith.texi (frexp): It is the magnitude of the return
5322         value which lies in [0.5, 1), not the return value itself.
5323
5324 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5325
5326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5327
5328 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
5329
5330         * stdio-common/bug26.c (main): Correct fscanf template.
5331
5332         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5333         declare _dl_skip_args.
5334
5335         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5336         Don't declare.
5337
5338         * manual/platform.texi: Add missing @end deftypefun.
5339
5340 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5341
5342         [BZ #15529]
5343         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5344         bit of mantissa of 2^16382.
5345         * math/libm-test.inc (hypot_test_data): Add more tests.
5346
5347         * math/libm-test.inc: Add drem and pow10 to list of tested
5348         functions.
5349         (pow10_test): New function.
5350         (drem_test): Likewise.
5351         (drem_test_tonearest): Likewise.
5352         (drem_test_towardzero): Likewise.
5353         (drem_test_downward): Likewise.
5354         (drem_test_upward): Likewise.
5355         (main): Call the new functions.
5356
5357         * math/libm-test.inc (finite_test_data): Remove.
5358         (finite_test): Run tests from isfinite_test_data.
5359         (gamma_test_data): Remove.
5360         (gamma_test): Run tests from lgamma_test_data.
5361         * sysdeps/i386/fpu/libm-test-ulps: Update.
5362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5363
5364 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5365
5366         * manual/platform.texi: Add PowerPC PPR function set documentation.
5367         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5368         implementation.
5369
5370 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
5371
5372         * math/libm-test.inc (MAX_EXP): Define.
5373         (ULPDIFF): Define.
5374         (ulp): New function.
5375         (check_float_internal): Use ULPDIFF.
5376         (cpow_test): Disable failing test.
5377         (check_ulp): Test ulp() implemetnation.
5378         (main): Call check_ulp before starting tests.
5379
5380 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5381
5382         * math/gen-libm-test.pl (generate_testfile): Do not handle
5383         START_DATA and END_DATA.
5384         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5385         END_DATA.
5386         (acos_tonearest_test_data): Likewise.
5387         (acos_towardzero_test_data): Likewise.
5388         (acos_downward_test_data): Likewise.
5389         (acos_upward_test_data): Likewise.
5390         (acosh_test_data): Likewise.
5391         (asin_test_data): Likewise.
5392         (asin_tonearest_test_data): Likewise.
5393         (asin_towardzero_test_data): Likewise.
5394         (asin_downward_test_data): Likewise.
5395         (asin_upward_test_data): Likewise.
5396         (asinh_test_data): Likewise.
5397         (atan_test_data): Likewise.
5398         (atanh_test_data): Likewise.
5399         (atan2_test_data): Likewise.
5400         (cabs_test_data): Likewise.
5401         (cacos_test_data): Likewise.
5402         (cacosh_test_data): Likewise.
5403         (carg_test_data): Likewise.
5404         (casin_test_data): Likewise.
5405         (casinh_test_data): Likewise.
5406         (catan_test_data): Likewise.
5407         (catanh_test_data): Likewise.
5408         (cbrt_test_data): Likewise.
5409         (ccos_test_data): Likewise.
5410         (ccosh_test_data): Likewise.
5411         (ceil_test_data): Likewise.
5412         (cexp_test_data): Likewise.
5413         (cimag_test_data): Likewise.
5414         (clog_test_data): Likewise.
5415         (clog10_test_data): Likewise.
5416         (conj_test_data): Likewise.
5417         (copysign_test_data): Likewise.
5418         (cos_test_data): Likewise.
5419         (cos_tonearest_test_data): Likewise.
5420         (cos_towardzero_test_data): Likewise.
5421         (cos_downward_test_data): Likewise.
5422         (cos_upward_test_data): Likewise.
5423         (cosh_test_data): Likewise.
5424         (cosh_tonearest_test_data): Likewise.
5425         (cosh_towardzero_test_data): Likewise.
5426         (cosh_downward_test_data): Likewise.
5427         (cosh_upward_test_data): Likewise.
5428         (cpow_test_data): Likewise.
5429         (cproj_test_data): Likewise.
5430         (creal_test_data): Likewise.
5431         (csin_test_data): Likewise.
5432         (csinh_test_data): Likewise.
5433         (csqrt_test_data): Likewise.
5434         (ctan_test_data): Likewise.
5435         (ctan_tonearest_test_data): Likewise.
5436         (ctan_towardzero_test_data): Likewise.
5437         (ctan_downward_test_data): Likewise.
5438         (ctan_upward_test_data): Likewise.
5439         (ctanh_test_data): Likewise.
5440         (ctanh_tonearest_test_data): Likewise.
5441         (ctanh_towardzero_test_data): Likewise.
5442         (ctanh_downward_test_data): Likewise.
5443         (ctanh_upward_test_data): Likewise.
5444         (erf_test_data): Likewise.
5445         (erfc_test_data): Likewise.
5446         (exp_test_data): Likewise.
5447         (exp_tonearest_test_data): Likewise.
5448         (exp_towardzero_test_data): Likewise.
5449         (exp_downward_test_data): Likewise.
5450         (exp_upward_test_data): Likewise.
5451         (exp10_test_data): Likewise.
5452         (exp2_test_data): Likewise.
5453         (expm1_test_data): Likewise.
5454         (fabs_test_data): Likewise.
5455         (fdim_test_data): Likewise.
5456         (finite_test_data): Likewise.
5457         (floor_test_data): Likewise.
5458         (fma_test_data): Likewise.
5459         (fma_towardzero_test_data): Likewise.
5460         (fma_downward_test_data): Likewise.
5461         (fma_upward_test_data): Likewise.
5462         (fmax_test_data): Likewise.
5463         (fmin_test_data): Likewise.
5464         (fmod_test_data): Likewise.
5465         (fpclassify_test_data): Likewise.
5466         (frexp_test_data): Likewise.
5467         (gamma_test_data): Likewise.
5468         (hypot_test_data): Likewise.
5469         (ilogb_test_data): Likewise.
5470         (isfinite_test_data): Likewise.
5471         (isgreater_test_data): Likewise.
5472         (isgreaterequal_test_data): Likewise.
5473         (isinf_test_data): Likewise.
5474         (isless_test_data): Likewise.
5475         (islessequal_test_data): Likewise.
5476         (islessgreater_test_data): Likewise.
5477         (isnan_test_data): Likewise.
5478         (isnormal_test_data): Likewise.
5479         (issignaling_test_data): Likewise.
5480         (isunordered_test_data): Likewise.
5481         (j0_test_data): Likewise.
5482         (j1_test_data): Likewise.
5483         (jn_test_data): Likewise.
5484         (ldexp_test_data): Likewise.
5485         (lgamma_test_data): Likewise.
5486         (lrint_test_data): Likewise.
5487         (lrint_tonearest_test_data): Likewise.
5488         (lrint_towardzero_test_data): Likewise.
5489         (lrint_downward_test_data): Likewise.
5490         (lrint_upward_test_data): Likewise.
5491         (llrint_test_data): Likewise.
5492         (llrint_tonearest_test_data): Likewise.
5493         (llrint_towardzero_test_data): Likewise.
5494         (llrint_downward_test_data): Likewise.
5495         (llrint_upward_test_data): Likewise.
5496         (log_test_data): Likewise.
5497         (log10_test_data): Likewise.
5498         (log1p_test_data): Likewise.
5499         (log2_test_data): Likewise.
5500         (logb_test_data): Likewise.
5501         (logb_downward_test_data): Likewise.
5502         (lround_test_data): Likewise.
5503         (llround_test_data): Likewise.
5504         (modf_test_data): Likewise.
5505         (nearbyint_test_data): Likewise.
5506         (nextafter_test_data): Likewise.
5507         (nexttoward_test_data): Likewise.
5508         (pow_test_data): Likewise.
5509         (pow_tonearest_test_data): Likewise.
5510         (pow_towardzero_test_data): Likewise.
5511         (pow_downward_test_data): Likewise.
5512         (pow_upward_test_data): Likewise.
5513         (remainder_test_data): Likewise.
5514         (remainder_tonearest_test_data): Likewise.
5515         (remainder_towardzero_test_data): Likewise.
5516         (remainder_downward_test_data): Likewise.
5517         (remainder_upward_test_data): Likewise.
5518         (remquo_test_data): Likewise.
5519         (rint_test_data): Likewise.
5520         (rint_tonearest_test_data): Likewise.
5521         (rint_towardzero_test_data): Likewise.
5522         (rint_downward_test_data): Likewise.
5523         (rint_upward_test_data): Likewise.
5524         (round_test_data): Likewise.
5525         (scalb_test_data): Likewise.
5526         (scalbn_test_data): Likewise.
5527         (scalbln_test_data): Likewise.
5528         (signbit_test_data): Likewise.
5529         (sin_test_data): Likewise.
5530         (sin_tonearest_test_data): Likewise.
5531         (sin_towardzero_test_data): Likewise.
5532         (sin_downward_test_data): Likewise.
5533         (sin_upward_test_data): Likewise.
5534         (sincos_test_data): Likewise.
5535         (sinh_test_data): Likewise.
5536         (sinh_tonearest_test_data): Likewise.
5537         (sinh_towardzero_test_data): Likewise.
5538         (sinh_downward_test_data): Likewise.
5539         (sinh_upward_test_data): Likewise.
5540         (sqrt_test_data): Likewise.
5541         (tan_test_data): Likewise.
5542         (tan_tonearest_test_data): Likewise.
5543         (tan_towardzero_test_data): Likewise.
5544         (tan_downward_test_data): Likewise.
5545         (tan_upward_test_data): Likewise.
5546         (tanh_test_data): Likewise.
5547         (tgamma_test_data): Likewise.
5548         (trunc_test_data): Likewise.
5549         (y0_test_data): Likewise.
5550         (y1_test_data): Likewise.
5551         (yn_test_data): Likewise.
5552         (significand_test_data): Likewise.
5553
5554         * math/gen-libm-test.pl (@functions): Remove variable.
5555         (generate_testfile): Don't handle START and END lines.
5556         * math/libm-test.inc (START): New macro.
5557         (END): Likewise.
5558         (END_COMPLEX): Likewise.
5559         (acos_test): Use END macro without arguments.
5560         (acos_test_tonearest): Likewise.
5561         (acos_test_towardzero): Likewise.
5562         (acos_test_downward): Likewise.
5563         (acos_test_upward): Likewise.
5564         (acosh_test): Likewise.
5565         (asin_test): Likewise.
5566         (asin_test_tonearest): Likewise.
5567         (asin_test_towardzero): Likewise.
5568         (asin_test_downward): Likewise.
5569         (asin_test_upward): Likewise.
5570         (asinh_test): Likewise.
5571         (atan_test): Likewise.
5572         (atanh_test): Likewise.
5573         (atan2_test): Likewise.
5574         (cabs_test): Likewise.
5575         (cacos_test): Use END_COMPLEX macro without arguments.
5576         (cacosh_test): Likewise.
5577         (carg_test): Use END macro without arguments.
5578         (casin_test): Use END_COMPLEX macro without arguments.
5579         (casinh_test): Likewise.
5580         (catan_test): Likewise.
5581         (catanh_test): Likewise.
5582         (cbrt_test): Use END macro without arguments.
5583         (ccos_test): Use END_COMPLEX macro without arguments.
5584         (ccosh_test): Likewise.
5585         (ceil_test): Use END macro without arguments.
5586         (cexp_test): Use END_COMPLEX macro without arguments.
5587         (cimag_test): Use END macro without arguments.
5588         (clog_test): Use END_COMPLEX macro without arguments.
5589         (clog10_test): Likewise.
5590         (conj_test): Likewise.
5591         (copysign_test): Use END macro without arguments.
5592         (cos_test): Likewise.
5593         (cos_test_tonearest): Likewise.
5594         (cos_test_towardzero): Likewise.
5595         (cos_test_downward): Likewise.
5596         (cos_test_upward): Likewise.
5597         (cosh_test): Likewise.
5598         (cosh_test_tonearest): Likewise.
5599         (cosh_test_towardzero): Likewise.
5600         (cosh_test_downward): Likewise.
5601         (cosh_test_upward): Likewise.
5602         (cpow_test): Use END_COMPLEX macro without arguments.
5603         (cproj_test): Likewise.
5604         (creal_test): Use END macro without arguments.
5605         (csin_test): Use END_COMPLEX macro without arguments.
5606         (csinh_test): Likewise.
5607         (csqrt_test): Likewise.
5608         (ctan_test): Likewise.
5609         (ctan_test_tonearest): Likewise.
5610         (ctan_test_towardzero): Likewise.
5611         (ctan_test_downward): Likewise.
5612         (ctan_test_upward): Likewise.
5613         (ctanh_test): Likewise.
5614         (ctanh_test_tonearest): Likewise.
5615         (ctanh_test_towardzero): Likewise.
5616         (ctanh_test_downward): Likewise.
5617         (ctanh_test_upward): Likewise.
5618         (erf_test): Use END macro without arguments.
5619         (erfc_test): Likewise.
5620         (exp_test): Likewise.
5621         (exp_test_tonearest): Likewise.
5622         (exp_test_towardzero): Likewise.
5623         (exp_test_downward): Likewise.
5624         (exp_test_upward): Likewise.
5625         (exp10_test): Likewise.
5626         (exp2_test): Likewise.
5627         (expm1_test): Likewise.
5628         (fabs_test): Likewise.
5629         (fdim_test): Likewise.
5630         (finite_test): Likewise.
5631         (floor_test): Likewise.
5632         (fma_test): Likewise.
5633         (fma_test_towardzero): Likewise.
5634         (fma_test_downward): Likewise.
5635         (fma_test_upward): Likewise.
5636         (fmax_test): Likewise.
5637         (fmin_test): Likewise.
5638         (fmod_test): Likewise.
5639         (fpclassify_test): Likewise.
5640         (frexp_test): Likewise.
5641         (gamma_test): Likewise.
5642         (hypot_test): Likewise.
5643         (ilogb_test): Likewise.
5644         (isfinite_test): Likewise.
5645         (isgreater_test): Likewise.
5646         (isgreaterequal_test): Likewise.
5647         (isinf_test): Likewise.
5648         (isless_test): Likewise.
5649         (islessequal_test): Likewise.
5650         (islessgreater_test): Likewise.
5651         (isnan_test): Likewise.
5652         (isnormal_test): Likewise.
5653         (issignaling_test): Likewise.
5654         (isunordered_test): Likewise.
5655         (j0_test): Likewise.
5656         (j1_test): Likewise.
5657         (jn_test): Likewise.
5658         (ldexp_test): Likewise.
5659         (lgamma_test): Likewise.
5660         (lrint_test): Likewise.
5661         (lrint_test_tonearest): Likewise.
5662         (lrint_test_towardzero): Likewise.
5663         (lrint_test_downward): Likewise.
5664         (lrint_test_upward): Likewise.
5665         (llrint_test): Likewise.
5666         (llrint_test_tonearest): Likewise.
5667         (llrint_test_towardzero): Likewise.
5668         (llrint_test_downward): Likewise.
5669         (llrint_test_upward): Likewise.
5670         (log_test): Likewise.
5671         (log10_test): Likewise.
5672         (log1p_test): Likewise.
5673         (log2_test): Likewise.
5674         (logb_test): Likewise.
5675         (logb_test_downward): Likewise.
5676         (lround_test): Likewise.
5677         (llround_test): Likewise.
5678         (modf_test): Likewise.
5679         (nearbyint_test): Likewise.
5680         (nextafter_test): Likewise.
5681         (nexttoward_test): Likewise.
5682         (pow_test): Likewise.
5683         (pow_test_tonearest): Likewise.
5684         (pow_test_towardzero): Likewise.
5685         (pow_test_downward): Likewise.
5686         (pow_test_upward): Likewise.
5687         (remainder_test): Likewise.
5688         (remainder_test_tonearest): Likewise.
5689         (remainder_test_towardzero): Likewise.
5690         (remainder_test_downward): Likewise.
5691         (remainder_test_upward): Likewise.
5692         (remquo_test): Likewise.
5693         (rint_test): Likewise.
5694         (rint_test_tonearest): Likewise.
5695         (rint_test_towardzero): Likewise.
5696         (rint_test_downward): Likewise.
5697         (rint_test_upward): Likewise.
5698         (round_test): Likewise.
5699         (scalb_test): Likewise.
5700         (scalbn_test): Likewise.
5701         (scalbln_test): Likewise.
5702         (signbit_test): Likewise.
5703         (sin_test): Likewise.
5704         (sin_test_tonearest): Likewise.
5705         (sin_test_towardzero): Likewise.
5706         (sin_test_downward): Likewise.
5707         (sin_test_upward): Likewise.
5708         (sincos_test): Likewise.
5709         (sinh_test): Likewise.
5710         (sinh_test_tonearest): Likewise.
5711         (sinh_test_towardzero): Likewise.
5712         (sinh_test_downward): Likewise.
5713         (sinh_test_upward): Likewise.
5714         (sqrt_test): Likewise.
5715         (tan_test): Likewise.
5716         (tan_test_tonearest): Likewise.
5717         (tan_test_towardzero): Likewise.
5718         (tan_test_downward): Likewise.
5719         (tan_test_upward): Likewise.
5720         (tanh_test): Likewise.
5721         (tgamma_test): Likewise.
5722         (trunc_test): Likewise.
5723         (y0_test): Likewise.
5724         (y1_test): Likewise.
5725         (yn_test): Likewise.
5726         (significand_test): Likewise.
5727
5728 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5729
5730         [BZ #15381]
5731         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5732
5733 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5734
5735         [BZ #14894]
5736         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5737         __ppc_mdoio and __ppc_mdoom.
5738         * manual/platform.texi: Document new functions __ppc_yield,
5739         __ppc_mdoio and __ppc_mdoom.
5740
5741 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5742
5743         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5744         (main): Mention "tls" pseudo-hwcap is legacy.
5745         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5746
5747 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5748
5749         * math/gen-libm-test.pl (parse_args): Output only string of
5750         arguments as text for test name, not full call or descriptions of
5751         tests for extra outputs.
5752         (generate_testfile): Do not pass function name to parse_args.
5753         Generate this_func variable from START.
5754         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5755         field to arg_str.
5756         (struct test_ff_f_data): Likewise.
5757         (test_ff_f_data_nexttoward): Likewise.
5758         (struct test_fi_f_data): Likewise.
5759         (struct test_fl_f_data): Likewise.
5760         (struct test_if_f_data): Likewise.
5761         (struct test_fff_f_data): Likewise.
5762         (struct test_c_f_data): Likewise.
5763         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5764         (struct test_fF_f1_data): Likewise.
5765         (struct test_ffI_f1_data): Likewise.
5766         (struct test_c_c_data): Rename test_name field to arg_str.
5767         (struct test_cc_c_data): Likewise.
5768         (struct test_f_i_data): Likewise.
5769         (struct test_ff_i_data): Likewise.
5770         (struct test_f_l_data): Likewise.
5771         (struct test_f_L_data): Likewise.
5772         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5773         and extra2_name.
5774         (COMMON_TEST_SETUP): New macro.
5775         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5776         (COMMON_TEST_CLEANUP): Likewise.
5777         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5778         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5779         macros.
5780         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5781         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5782         macros.
5783         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5784         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5785         cleanup macros.
5786         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5787         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5788         macros.
5789         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5790         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5791         macros.
5792         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5793         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5794         cleanup macros.
5795         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5796         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5797         cleanup macros.
5798         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5799         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5800         cleanup macros.
5801         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5802         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5803         macros.
5804         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5805         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5806         macros.
5807         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5808         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5809         macros.
5810         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5811         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5812         cleanup macros.
5813         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5814         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5815         cleanup macros.
5816         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5817         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5818         macros.
5819         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5820         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5821         cleanup macros.
5822         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5823         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5824         macros.
5825         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5826         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5827         macros.
5828         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5829         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5830         cleanup macros.
5831         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5832
5833 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5834
5835         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5836         to _sifields.sigfault.
5837         (si_addr_lsb): Define new macro.
5838         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5840         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5841
5842 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5843
5844         [BZ #15441]
5845         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5846         returns -1.
5847         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5848         null return -1.
5849         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5850         loading the domain.
5851
5852 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5853
5854         * math/gen-libm-test.pl (parse_args): Do not include expected
5855         result in test name.
5856         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5857         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5858         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5859         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5860         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5862
5863 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5864
5865         * benchtests/Makefile: Sort function entries.
5866
5867         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5868         tanh, asinh, acosh, atanh.
5869         * benchtests/acos-inputs: New file.
5870         * benchtests/acosh-inputs: New file.
5871         * benchtests/asin-inputs: New file.
5872         * benchtests/asinh-inputs: New file.
5873         * benchtests/atanh-inputs: New file.
5874         * benchtests/cosh-inputs: New file.
5875         * benchtests/log-inputs: New file.
5876         * benchtests/sinh-inputs: New file.
5877         * benchtests/tanh-inputs: New file.
5878
5879 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5880
5881         [BZ #15339]
5882         * posix/tst-getaddrinfo4.c: New test.
5883         * posix/Makefile (tests): Add it.
5884
5885 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5886
5887         [BZ #15339]
5888         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5889         when no services were used.
5890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5891         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5892
5893 2013-05-21  Andreas Schwab  <schwab@suse.de>
5894
5895         [BZ #15014]
5896         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5897         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5898         successful.
5899         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5900         redundant variable declarations and reallocation of buffer when
5901         parsing as IPv6 address.  Always set NSS status when called from
5902         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5903         buffer too small.  Correct computation of needed size.
5904         * nss/Makefile (tests): Add test-digits-dots.
5905         * nss/test-digits-dots.c: New test.
5906
5907 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5908
5909         * benchtests/Makefile: Remove instructions for adding
5910         benchmark tests.
5911         * benchtests/README: New file to explain how to execute and
5912         enhance the benchmark tests.
5913
5914 2013-05-21  Andreas Schwab  <schwab@suse.de>
5915
5916         [BZ #15493]
5917         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5918         * setjmp/tst-sigsetjmp.c: New test.
5919
5920 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5921
5922         * sysdeps/x86_64/memset.S (memset): New implementation.
5923         (__bzero): Likewise.
5924         (__memset_tail): New function.
5925
5926 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5927
5928         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5929         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5930         __memcpy_sse2_unaligned ifunc selection.
5931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5932         Add memcpy-sse2-unaligned.S.
5933         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5934         Add: __memcpy_sse2_unaligned.
5935
5936 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5937
5938         [BZ #15490]
5939         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5940         math_force_eval before restoring floating-point envrionment.
5941         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5942         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5943         Likewise.
5944         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5945         <math_private.h>.
5946         (__nearbyintl): Use math_force_eval before restoring
5947         floating-point environment.
5948         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5949
5950         * math/gen-libm-test.pl (special_functions): Remove.
5951         (parse_args): Don't handle TEST_extra.  Handle functions with no
5952         return value.
5953         * math/libm-test.inc (struct test_sincos_data): Replace with
5954         struct test_fFF_11_data.
5955         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5956         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5957         (sincos_test_data): Change element type to struct
5958         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5959         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5960         RUN_TEST_LOOP_sincos.
5961         * math/README.libm-test: Don't mention special handling of
5962         individual functions.
5963         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5964         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5965         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5966         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5967         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5969
5970         * math/gen-libm-test.pl (get_variable): Remove function.
5971         (parse_args): Don't show pointer parameters to call in test
5972         names.  Use "extra output N" in test names for extra outputs
5973         rather than naming variables.
5974
5975 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5976
5977         [BZ #15488]
5978         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5979         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5980         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5981         double tests.
5982         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5983         disable.
5984         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5985         check_long_double.
5986
5987         * math/gen-libm-test.pl (@tests): Remove variable.
5988         ($count): Likewise.
5989         (new_test): Remove function.
5990         (show_exceptions): New function.
5991         (special_functions): Use show_exceptions instead of new_test.
5992         (parse_args): Likewise.
5993         (generate_testfile): Pass only function name in generated call to
5994         print_max_error or print_complex_max_error.
5995         (get_ulps): Do not handle complex tests specially.
5996         (output_test): Rename to ...
5997         (get_all_ulps_for_test): ... this.  Return a string rather than
5998         printing to a file.  Require ulps to be present.
5999         (output_ulps): Generate arrays rather than #defines.
6000         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6001         (struct ulp_data): New type.
6002         (BUILD_COMPLEX_ULP): Remove macro.
6003         (compare_ulp_data): New function.
6004         (find_ulps): Likewise.
6005         (find_test_ulps): Likewise.
6006         (find_function_ulps): Likewise.
6007         (find_complex_function_ulps): Likewise.
6008         (print_max_error): Determine allowed ulps using
6009         find_function_ulps.
6010         (print_complex_max_error): Determine allowed ulps using
6011         find_complex_function_ulps.
6012         (check_float_internal): Determine max ulps using find_test_ulps.
6013         (check_float): Do not take max_ulp parameter.  Update call to
6014         check_float_internal.
6015         (check_complex): Likewise.
6016         (check_int): Do not take max_ulp parameter.
6017         (check_long): Likewise.
6018         (check_bool): Likewise.
6019         (check_longlong): Likewise.
6020         (struct test_f_f_data): Remove max_ulp field.
6021         (struct test_ff_f_data): Likewise.
6022         (struct test_ff_f_data_nexttoward): Likewise.
6023         (struct test_fi_f_data): Likewise.
6024         (struct test_fl_f_data): Likewise.
6025         (struct test_if_f_data): Likewise.
6026         (struct test_fff_f_data): Likewise.
6027         (struct test_c_f_data): Likewise.
6028         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6029         (struct test_fF_f1_data): Likewise.
6030         (struct test_ffI_f1_data): Likewise.
6031         (struct test_c_c_data): Remove max_ulp field.
6032         (struct test_cc_c_data): Likewise.
6033         (struct test_f_i_data): Likewise.
6034         (struct test_ff_i_data): Likewise.
6035         (struct test_f_l_data): Likewise.
6036         (struct test_f_L_data): Likewise.
6037         (struct test_sincos_data): Likewise.
6038         (RUN_TEST_f_f): Do not handle ulps.
6039         (RUN_TEST_LOOP_f_f): Likewise.
6040         (RUN_TEST_2_f): Likewise.
6041         (RUN_TEST_LOOP_2_f): Likewise.
6042         (RUN_TEST_fff_f): Likewise.
6043         (RUN_TEST_LOOP_fff_f): Likewise.
6044         (RUN_TEST_c_f): Likewise.
6045         (RUN_TEST_LOOP_c_f): Likewise.
6046         (RUN_TEST_f_f1): Likewise.
6047         (RUN_TEST_LOOP_f_f1): Likewise.
6048         (RUN_TEST_fF_f1): Likewise.
6049         (RUN_TEST_LOOP_fF_f1): Likewise.
6050         (RUN_TEST_fI_f1): Likewise.
6051         (RUN_TEST_LOOP_fI_f1): Likewise.
6052         (RUN_TEST_ffI_f1): Likewise.
6053         (RUN_TEST_LOOP_ffI_f1): Likewise.
6054         (RUN_TEST_c_c): Likewise.
6055         (RUN_TEST_LOOP_c_c): Likewise.
6056         (RUN_TEST_cc_c): Likewise.
6057         (RUN_TEST_LOOP_cc_c): Likewise.
6058         (RUN_TEST_f_i): Likewise.
6059         (RUN_TEST_LOOP_f_i): Likewise.
6060         (RUN_TEST_f_i_tg): Likewise.
6061         (RUN_TEST_LOOP_f_i_tg): Likewise.
6062         (RUN_TEST_ff_i_tg): Likewise.
6063         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6064         (RUN_TEST_f_b): Likewise.
6065         (RUN_TEST_LOOP_f_b): Likewise.
6066         (RUN_TEST_f_b_tg): Likewise.
6067         (RUN_TEST_LOOP_f_b_tg): Likewise.
6068         (RUN_TEST_f_l): Likewise.
6069         (RUN_TEST_LOOP_f_l): Likewise.
6070         (RUN_TEST_f_L): Likewise.
6071         (RUN_TEST_LOOP_f_L): Likewise.
6072         (RUN_TEST_sincos): Likewise.
6073         (RUN_TEST_LOOP_sincos): Likewise.
6074
6075 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
6076
6077         [BZ #15480]
6078         [BZ #15485]
6079         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6080         main case of finite arguments, set rounding mode to FE_TONEAREST
6081         and discard exceptions.
6082         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6083         exceptions.
6084         (remainder_tonearest_test_data): New variable.
6085         (remainder_test_tonearest): New function.
6086         (remainder_towardzero_test_data): New variable.
6087         (remainder_test_towardzero): New function.
6088         (remainder_downward_test_data): New variable.
6089         (remainder_test_downward): New function.
6090         (remainder_upward_test_data): New variable.
6091         (remainder_test_upward): New function.
6092         (main): Call the new test functions.
6093
6094         * math/libm-test.inc (struct test_f_f1_data): Remove field
6095         extra_init.
6096         (struct test_fF_f1_data): Likewise.
6097         (struct test_ffI_f1_data): Likewise.
6098         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
6099         based on value of EXTRA_EXPECTED.
6100         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6101         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
6102         EXTRA_VAR based on value of EXTRA_EXPECTED.
6103         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6104         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
6105         EXTRA_VAR based on value of EXTRA_EXPECTED.
6106         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6107         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
6108         EXTRA_VAR based on value of EXTRA_EXPECTED.
6109         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6110         * math/gen-libm-test.pl (parse_args): Don't output initializers
6111         for extra output values.
6112
6113         * math/libm-test.inc (check_int): Expect result to be exactly
6114         equal to expected value and do not handle ulps.
6115         (check_long): Likewise.
6116         (check_longlong): Likewise.
6117
6118         * math/libm-test.inc (ceil_test_data): Test for "inexact"
6119         exceptions.
6120         (cimag_test_data): Likewise.
6121         (conj_test_data): Likewise.
6122         (copysign_test_data): Likewise.
6123         (cproj_test_data): Likewise.
6124         (creal_test_data): Likewise.
6125         (fabs_test_data): Likewise.
6126         (fdim_test_data): Likewise.
6127         (finite_test_data): Likewise.
6128         (floor_test_data): Likewise.
6129         (fmax_test_data): Likewise.
6130         (fmin_test_data): Likewise.
6131         (fmod_test_data): Likewise.
6132         (fpclassify_test_data): Likewise.
6133         (frexp_test_data): Likewise.
6134         (ilogb_test_data): Likewise.
6135         (isfinite_test_data): Likewise.
6136         (isgreater_test_data): Likewise.
6137         (isgreaterequal_test_data): Likewise.
6138         (isinf_test_data): Likewise.
6139         (isless_test_data): Likewise.
6140         (islessequal_test_data): Likewise.
6141         (islessgreater_test_data): Likewise.
6142         (isnan_test_data): Likewise.
6143         (isnormal_test_data): Likewise.
6144         (issignaling_test_data): Likewise.
6145         (isunordered_test_data): Likewise.
6146         (ldexp_test_data): Likewise.
6147         (lrint_test_data): Likewise.
6148         (lrint_test_data) [TEST_FLOAT]: Disable one test.
6149         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6150         (lrint_tonearest_test_data): Test for "inexact" exceptions.
6151         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6152         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6153         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6154         test input.
6155         (lrint_towardzero_test_data): Test for "inexact" exceptions.
6156         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6157         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6158         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6159         that test input.
6160         (lrint_downward_test_data): Test for "inexact" exceptions.
6161         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6162         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6163         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6164         test input.
6165         (lrint_upward_test_data): Test for "inexact" exceptions.
6166         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6167         test input.
6168         (llrint_test_data): Test for "inexact" exceptions.
6169         (llrint_test_data) [TEST_FLOAT]: Disable one test.
6170         (llrint_tonearest_test_data): Test for "inexact" exceptions.
6171         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6172         (llrint_towardzero_test_data): Test for "inexact" exceptions.
6173         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6174         (llrint_downward_test_data): Test for "inexact" exceptions.
6175         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6176         (llrint_upward_test_data): Test for "inexact" exceptions.
6177         (logb_test_data): Likewise.
6178         (logb_downward_test_data): Likewise.
6179         (nextafter_test_data): Likewise.
6180         (nexttoward_test_data): Likewise.
6181         (remainder_test_data): Likewise.
6182         (remquo_test_data): Likewise.
6183         (scalbn_test_data): Likewise.
6184         (scalbln_test_data): Likewise.
6185         (signbit_test_data): Likewise.
6186         (sqrt_test_data): Likewise.
6187         (significand_test_data): Likewise.
6188
6189 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6190
6191         [BZ #15424]
6192         * benchtests/bench-modf.c (struct args): Mark arg0 as
6193         volatile.
6194         * scripts/bench.pl: Mark members of struct args as volatile.
6195
6196 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6197
6198         [BZ # 15497]
6199         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6200         negative infinity on POWER6 or lower.
6201         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6202
6203 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6204
6205         [BZ #15442]
6206         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6207         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6208         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6209         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6210         (_FP_SETQNAN): New macro.
6211         (_FP_SETQNAN_SEMIRAW): Likewise.
6212         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6213         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6214         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6215         (FP_EXTEND): Use _FP_FRAC_SNANP.
6216         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6217         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6218         into account.
6219         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6220         New macro.
6221         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6222         Likewise.
6223
6224 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6225
6226         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6227         with DIVIDE_BY_ZERO_EXCEPTION.
6228         (gamma_test_data): Likewise.
6229         (lgamma_test_data): Likewise.
6230         (log_test_data): Likewise.
6231         (log10_test_data): Likewise.
6232         (log2_test_data): Likewise.
6233         (tgamma_test_data): Likewise.
6234
6235         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6236         (acos_test_tonearest): Likewise.
6237         (acos_test_towardzero): Likewise.
6238         (acos_test_downward): Likewise.
6239         (acos_test_upward): Likewise.
6240         (acosh_test): Likewise.
6241         (asin_test): Likewise.
6242         (asin_test_tonearest): Likewise.
6243         (asin_test_towardzero): Likewise.
6244         (asin_test_downward): Likewise.
6245         (asin_test_upward): Likewise.
6246         (asinh_test): Likewise.
6247         (atan_test): Likewise.
6248         (atanh_test): Likewise.
6249         (atan2_test): Likewise.
6250         (cabs_test): Likewise.
6251         (cacos_test): Likewise.
6252         (cacosh_test): Likewise.
6253         (casin_test): Likewise.
6254         (casinh_test): Likewise.
6255         (catan_test): Likewise.
6256         (catanh_test): Likewise.
6257         (cbrt_test): Likewise.
6258         (ccos_test): Likewise.
6259         (ccosh_test): Likewise.
6260         (cexp_test): Likewise.
6261         (clog_test): Likewise.
6262         (clog10_test): Likewise.
6263         (cos_test): Likewise.
6264         (cos_test_tonearest): Likewise.
6265         (cos_test_towardzero): Likewise.
6266         (cos_test_downward): Likewise.
6267         (cos_test_upward): Likewise.
6268         (cosh_test): Likewise.
6269         (cosh_test_tonearest): Likewise.
6270         (cosh_test_towardzero): Likewise.
6271         (cosh_test_downward): Likewise.
6272         (cosh_test_upward): Likewise.
6273         (cpow_test): Likewise.
6274         (csin_test): Likewise.
6275         (csinh_test): Likewise.
6276         (csqrt_test): Likewise.
6277         (ctan_test): Likewise.
6278         (ctan_test_tonearest): Likewise.
6279         (ctan_test_towardzero): Likewise.
6280         (ctan_test_downward): Likewise.
6281         (ctan_test_upward): Likewise.
6282         (ctanh_test): Likewise.
6283         (ctanh_test_tonearest): Likewise.
6284         (ctanh_test_towardzero): Likewise.
6285         (ctanh_test_downward): Likewise.
6286         (ctanh_test_upward): Likewise.
6287         (erf_test): Likewise.
6288         (erfc_test): Likewise.
6289         (exp_test): Likewise.
6290         (exp_test_tonearest): Likewise.
6291         (exp_test_towardzero): Likewise.
6292         (exp_test_downward): Likewise.
6293         (exp_test_upward): Likewise.
6294         (exp10_test): Likewise.
6295         (exp2_test): Likewise.
6296         (expm1_test): Likewise.
6297         (fmod_test): Likewise.
6298         (gamma_test): Likewise.
6299         (hypot_test): Likewise.
6300         (j0_test): Likewise.
6301         (j1_test): Likewise.
6302         (jn_test): Likewise.
6303         (lgamma_test): Likewise.
6304         (log_test): Likewise.
6305         (log10_test): Likewise.
6306         (log1p_test): Likewise.
6307         (log2_test): Likewise.
6308         (logb_test_downward): Likewise.
6309         (pow_test): Likewise.
6310         (pow_test_tonearest): Likewise.
6311         (pow_test_towardzero): Likewise.
6312         (pow_test_downward): Likewise.
6313         (pow_test_upward): Likewise.
6314         (remainder_test): Likewise.
6315         (remquo_test): Likewise.
6316         (sin_test): Likewise.
6317         (sin_test_tonearest): Likewise.
6318         (sin_test_towardzero): Likewise.
6319         (sin_test_downward): Likewise.
6320         (sin_test_upward): Likewise.
6321         (sincos_test): Likewise.
6322         (sinh_test): Likewise.
6323         (sinh_test_tonearest): Likewise.
6324         (sinh_test_towardzero): Likewise.
6325         (sinh_test_downward): Likewise.
6326         (sinh_test_upward): Likewise.
6327         (sqrt_test): Likewise.
6328         (tan_test): Likewise.
6329         (tan_test_tonearest): Likewise.
6330         (tan_test_towardzero): Likewise.
6331         (tan_test_downward): Likewise.
6332         (tan_test_upward): Likewise.
6333         (tanh_test): Likewise.
6334         (tgamma_test): Likewise.
6335         (y0_test): Likewise.
6336         (y1_test): Likewise.
6337         (yn_test): Likewise.
6338
6339         * math/gen-libm-test.pl (adjust_arg): Remove function.
6340         (special_function): Remove argument $in_func.  Only handle
6341         generating output for tables of tests, not inside functions.
6342         (parse_args): Likewise.
6343         (generate_testfile): Remove variable $in_func.  Update call to
6344         parse_args.
6345         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6346         (MINUS_ZERO_INIT): Rename macro to minus_zero.
6347         (PLUS_INFTY_INIT): Rename macro to plus_infty.
6348         (MINUS_INFTY_INIT): Rename macro to minus_infty.
6349         (QNAN_VALUE_INIT): Rename macro to qnan_value.
6350         (MAX_VALUE_INIT): Rename macro to max_value.
6351         (MIN_VALUE_INIT): Rename macro to min_value.
6352         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6353         (plus_zero): Remove variable.
6354         (minus_zero): Likewise.
6355         (plus_infty): Likewise.
6356         (minus_infty): Likewise.
6357         (qnan_value): Likewise.
6358         (max_value): Likewise.
6359         (min_value): Likewise.
6360         (min_subnorm_value): Likewise.
6361
6362 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6363
6364         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6365         uint64_t or uint32_t usage.
6366         * crypt/sha256-block.c: Likewise.
6367         * crypt/sha256-crypt.c: Likewise.
6368         * crypt/sha256.c: Likewise.
6369         * crypt/sha512-block.c: Likewise.
6370         * crypt/sha512-crypt.c: Likewise.
6371         * crypt/sha512.c: Likewise.
6372         * debug/backtrace-tst.c: Likewise.
6373         * debug/pcprofiledump.c: Likewise.
6374         * elf/cache.c: Likewise.
6375         * elf/dl-cache.c: Likewise.
6376         * elf/dl-misc.c: Likewise.
6377         * elf/dl-profile.c: Likewise.
6378         * elf/dl-support.c: Likewise.
6379         * elf/ldconfig.c: Likewise.
6380         * elf/sprof.c: Likewise.
6381         * iconv/dummy-repertoire.c: Likewise.
6382         * iconv/iconv_charmap.c: Likewise.
6383         * iconv/skeleton.c: Likewise.
6384         * iconvdata/8bit-generic.c: Likewise.
6385         * iconvdata/cp737.h: Likewise.
6386         * iconvdata/cp775.h: Likewise.
6387         * iconvdata/ibm1008.h: Likewise.
6388         * iconvdata/ibm1025.h: Likewise.
6389         * iconvdata/ibm1046.h: Likewise.
6390         * iconvdata/ibm1097.h: Likewise.
6391         * iconvdata/ibm1112.h: Likewise.
6392         * iconvdata/ibm1122.h: Likewise.
6393         * iconvdata/ibm1123.h: Likewise.
6394         * iconvdata/ibm1124.h: Likewise.
6395         * iconvdata/ibm1129.h: Likewise.
6396         * iconvdata/ibm1130.h: Likewise.
6397         * iconvdata/ibm1132.h: Likewise.
6398         * iconvdata/ibm1133.h: Likewise.
6399         * iconvdata/ibm1137.h: Likewise.
6400         * iconvdata/ibm1140.h: Likewise.
6401         * iconvdata/ibm1141.h: Likewise.
6402         * iconvdata/ibm1142.h: Likewise.
6403         * iconvdata/ibm1143.h: Likewise.
6404         * iconvdata/ibm1144.h: Likewise.
6405         * iconvdata/ibm1145.h: Likewise.
6406         * iconvdata/ibm1146.h: Likewise.
6407         * iconvdata/ibm1147.h: Likewise.
6408         * iconvdata/ibm1148.h: Likewise.
6409         * iconvdata/ibm1149.h: Likewise.
6410         * iconvdata/ibm1153.h: Likewise.
6411         * iconvdata/ibm1154.h: Likewise.
6412         * iconvdata/ibm1155.h: Likewise.
6413         * iconvdata/ibm1156.h: Likewise.
6414         * iconvdata/ibm1157.h: Likewise.
6415         * iconvdata/ibm1158.h: Likewise.
6416         * iconvdata/ibm1160.h: Likewise.
6417         * iconvdata/ibm1161.h: Likewise.
6418         * iconvdata/ibm1162.h: Likewise.
6419         * iconvdata/ibm1163.h: Likewise.
6420         * iconvdata/ibm1164.h: Likewise.
6421         * iconvdata/ibm1166.h: Likewise.
6422         * iconvdata/ibm1167.h: Likewise.
6423         * iconvdata/ibm12712.h: Likewise.
6424         * iconvdata/ibm1390.h: Likewise.
6425         * iconvdata/ibm1399.h: Likewise.
6426         * iconvdata/ibm16804.h: Likewise.
6427         * iconvdata/ibm4517.h: Likewise.
6428         * iconvdata/ibm4899.h: Likewise.
6429         * iconvdata/ibm4909.h: Likewise.
6430         * iconvdata/ibm4971.h: Likewise.
6431         * iconvdata/ibm5347.h: Likewise.
6432         * iconvdata/ibm803.h: Likewise.
6433         * iconvdata/ibm856.h: Likewise.
6434         * iconvdata/ibm901.h: Likewise.
6435         * iconvdata/ibm902.h: Likewise.
6436         * iconvdata/ibm9030.h: Likewise.
6437         * iconvdata/ibm9066.h: Likewise.
6438         * iconvdata/ibm921.h: Likewise.
6439         * iconvdata/ibm922.h: Likewise.
6440         * iconvdata/ibm9448.h: Likewise.
6441         * iconvdata/isiri-3342.h: Likewise.
6442         * iconvdata/jis0201.h: Likewise.
6443         * include/link.h: Likewise.
6444         * include/netdb.h: Likewise.
6445         * inet/check_native.c: Likewise.
6446         * inet/check_pf.c: Likewise.
6447         * inet/getipv4sourcefilter.c: Likewise.
6448         * inet/getnameinfo.c: Likewise.
6449         * inet/getsourcefilter.c: Likewise.
6450         * inet/htonl.c: Likewise.
6451         * inet/setipv4sourcefilter.c: Likewise.
6452         * inet/setsourcefilter.c: Likewise.
6453         * inet/test-inet6_opt.c: Likewise.
6454         * inet/tst-network.c: Likewise.
6455         * locale/C-collate.c: Likewise.
6456         * locale/C-ctype.c: Likewise.
6457         * locale/C-time.c: Likewise.
6458         * locale/C-translit.h: Likewise.
6459         * locale/loadarchive.c: Likewise.
6460         * locale/programs/3level.h: Likewise.
6461         * locale/programs/charmap.c: Likewise.
6462         * locale/programs/charmap.h: Likewise.
6463         * locale/programs/ld-address.c: Likewise.
6464         * locale/programs/ld-collate.c: Likewise.
6465         * locale/programs/ld-ctype.c: Likewise.
6466         * locale/programs/ld-identification.c: Likewise.
6467         * locale/programs/ld-measurement.c: Likewise.
6468         * locale/programs/ld-messages.c: Likewise.
6469         * locale/programs/ld-monetary.c: Likewise.
6470         * locale/programs/ld-name.c: Likewise.
6471         * locale/programs/ld-numeric.c: Likewise.
6472         * locale/programs/ld-paper.c: Likewise.
6473         * locale/programs/ld-telephone.c: Likewise.
6474         * locale/programs/ld-time.c: Likewise.
6475         * locale/programs/linereader.c: Likewise.
6476         * locale/programs/locale.c: Likewise.
6477         * locale/programs/locarchive.c: Likewise.
6478         * locale/programs/locfile.h: Likewise.
6479         * locale/programs/repertoire.c: Likewise.
6480         * locale/programs/simple-hash.c: Likewise.
6481         * locale/programs/simple-hash.h: Likewise.
6482         * malloc/memusage.c: Likewise.
6483         * malloc/memusagestat.c: Likewise.
6484         * nis/nis_defaults.c: Likewise.
6485         * nis/nis_hash.c: Likewise.
6486         * nis/nis_print.c: Likewise.
6487         * nis/nis_xdr.c: Likewise.
6488         * nscd/connections.c: Likewise.
6489         * nscd/hstcache.c: Likewise.
6490         * nscd/nscd_gethst_r.c: Likewise.
6491         * nscd/nscd_getserv_r.c: Likewise.
6492         * nscd/nscd_helper.c: Likewise.
6493         * nscd/servicescache.c: Likewise.
6494         * nss/makedb.c: Likewise.
6495         * nss/nss_db/db-XXX.c: Likewise.
6496         * nss/nss_db/db-initgroups.c: Likewise.
6497         * nss/nss_db/db-netgrp.c: Likewise.
6498         * nss/nss_files/files-network.c: Likewise.
6499         * nss/nss_files/files-parse.c: Likewise.
6500         * posix/bug-regex5.c: Likewise.
6501         * posix/fnmatch_loop.c: Likewise.
6502         * posix/regcomp.c: Likewise.
6503         * posix/regexec.c: Likewise.
6504         * posix/tst-rfc3484-2.c: Likewise.
6505         * posix/tst-rfc3484-3.c: Likewise.
6506         * posix/tst-rfc3484.c: Likewise.
6507         * resolv/nss_dns/dns-canon.c: Likewise.
6508         * resolv/nss_dns/dns-network.c: Likewise.
6509         * resolv/res_init.c: Likewise.
6510         * resolv/res_mkquery.c: Likewise.
6511         * resolv/tst-aton.c: Likewise.
6512         * stdlib/cxa_atexit.c: Likewise.
6513         * stdlib/cxa_finalize.c: Likewise.
6514         * stdlib/gen-fpioconst.c: Likewise.
6515         * stdlib/strtol_l.c: Likewise.
6516         * string/tst-endian.c: Likewise.
6517         * sunrpc/auth_des.c: Likewise.
6518         * sunrpc/clnt_udp.c: Likewise.
6519         * sunrpc/rtime.c: Likewise.
6520         * sunrpc/svcauth_des.c: Likewise.
6521         * sunrpc/xdr.c: Likewise.
6522         * sunrpc/xdr_intXX_t.c: Likewise.
6523         * sunrpc/xdr_rec.c: Likewise.
6524         * sysdeps/generic/ldconfig.h: Likewise.
6525         * sysdeps/generic/ldsodefs.h: Likewise.
6526         * sysdeps/generic/memusage.h: Likewise.
6527         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6528         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6529         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6530         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6531         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6532         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6533         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6534         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6535         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6536         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6537         * sysdeps/posix/getaddrinfo.c: Likewise.
6538         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6539         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6540         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6541         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6542         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6543         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6544         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6545         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6546         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6547         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6548         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6549         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6550         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6551         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6552         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6553         * sysdeps/x86_64/dl-tls.h: Likewise.
6554         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6555         * time/alt_digit.c: Likewise.
6556         * time/era.c: Likewise.
6557         * wcsmbs/tst-c16c32-1.c: Likewise.
6558
6559 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6560
6561         * math/libm-test.inc (struct test_sincos_data): New type.
6562         (RUN_TEST_LOOP_sincos): New macro.
6563         (sincos_test_data): New variable.
6564         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6565
6566 2013-05-16  Richard Henderson  <rth@redhat.com>
6567
6568         * math/atest-exp2.c (LIMB64): New macro.
6569         (CONSTSZ): New macro.
6570         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6571         (hexdig): Move ...
6572         (print_mpn_fp): ... to function scope.
6573         (read_mpn_hex): Remove.
6574         (get_log2): Remove.
6575         (exp2_mpn): Use mp_log2.
6576         (main): Use mp_exp1.
6577
6578 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6579
6580         * math/libm-test.inc: Remove comment about not testing "inexact"
6581         exceptions.
6582         (INEXACT_EXCEPTION): New macro.
6583         (NO_INEXACT_EXCEPTION): Likewise.
6584         (INVALID_EXCEPTION_OK): Update value.
6585         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6586         (OVERFLOW_EXCEPTION_OK): Likewise.
6587         (UNDERFLOW_EXCEPTION_OK): Likewise.
6588         (IGNORE_ZERO_INF_SIGN): Likewise.
6589         (ERRNO_UNCHANGED): Likewise.
6590         (ERRNO_EDOM): Likewise.
6591         (ERRNO_ERANGE): Likewise.
6592         (test_exceptions): Handle testing "inexact" exceptions.
6593         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6594         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6595         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6596         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6597         INEXACT_EXCEPTION.
6598         (rint_towardzero_test_data): Likewise.
6599         (rint_downward_test_data): Likewise.
6600         (rint_upward_test_data): Likewise.
6601
6602         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6603         with OVERFLOW_EXCEPTION.
6604         (exp10_test_data): Likewise.
6605         (exp2_test_data): Likewise.
6606         (expm1_test_data): Likewise.
6607         (lgamma_test_data): Likewise.
6608         (pow_test_data): Likewise.
6609         (tgamma_test_data): Likewise.
6610         (yn_test_data): Remove duplicate test of overflow.
6611
6612         * math/libm-test.inc (struct test_cc_c_data): New type.
6613         (RUN_TEST_LOOP_cc_c): New macro.
6614         (cpow_test_data): New variable.
6615         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6616
6617         * math/libm-test.inc (struct test_f_L_data): New type.
6618         (RUN_TEST_LOOP_f_L): New macro.
6619         (llrint_test_data): New variable.
6620         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6621         (llrint_tonearest_test_data): New variable.
6622         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6623         (llrint_towardzero_test_data): New variable.
6624         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6625         (llrint_downward_test_data): New variable.
6626         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6627         (llrint_upward_test_data): New variable.
6628         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6629         (llround_test_data): New variable.
6630         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6631
6632 2013-05-13  Peter Collingbourne  <pcc@google.com>
6633
6634         * math/atest-exp2.c (get_log2): Remove const attribute.
6635
6636 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6637
6638         * math/libm-test.inc (struct test_f_l_data): New type.
6639         (RUN_TEST_LOOP_f_l): New macro.
6640         (lrint_test_data): New variable.
6641         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6642         (lrint_tonearest_test_data): New variable.
6643         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6644         (lrint_towardzero_test_data): New variable.
6645         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6646         (lrint_downward_test_data): New variable.
6647         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6648         (lrint_upward_test_data): New variable.
6649         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6650         (lround_test_data): New variable.
6651         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6652
6653 2013-05-15  Peter Collingbourne  <pcc@google.com>
6654
6655         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6656         (EXTRACT_WORDS64) Use where appropriate.
6657         (INSERT_WORDS64) Likewise.
6658
6659         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6660         constraints with x constraints.
6661         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6662
6663         * malloc/obstack.c (_obstack_compat): Add initializer.
6664
6665 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6666
6667         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6668         si_trapno and add si_addr_lsb to _sifields.sigfault.
6669         (si_trapno): Remove macro.
6670         (si_addr_lsb): Define new macro.
6671         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6672
6673 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6674
6675         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6676         instead of TEST_f_l.
6677         (llrint_test_tonearest): Likewise.
6678         (llrint_test_towardzero): Likewise.
6679         (llrint_test_downward): Likewise.
6680         (llrint_test_upward): Likewise.
6681         (llround_test): Likewise.
6682
6683         * math/libm-test.inc (struct test_f_i_data): Add comment.
6684         (RUN_TEST_LOOP_f_b): New macro.
6685         (RUN_TEST_LOOP_f_b_tg): Likewise.
6686         (finite_test_data): New variable.
6687         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6688         (isfinite_test_data): New variable.
6689         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6690         (isinf_test_data): New variable.
6691         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6692         (isnan_test_data): New variable.
6693         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6694         (isnormal_test_data): New variable.
6695         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6696         (issignaling_test_data): New variable.
6697         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6698         (signbit_test_data): New variable.
6699         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6700
6701         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6702         with INVALID_EXCEPTION.
6703         (acosh_test_data): Likewise.
6704         (asin_test_data): Likewise.
6705         (atanh_test_data): Likewise.
6706         (fmod_test_data): Likewise.
6707         (log_test_data): Likewise.
6708         (log10_test_data): Likewise.
6709         (log2_test_data): Likewise.
6710         (pow_test_data): Likewise.
6711         (sqrt_test_data): Likewise.
6712         (y0_test_data): Likewise.
6713         (y1_test_data): Likewise.
6714         (yn_test_data): Likewise.
6715
6716         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6717         function contents.
6718
6719         * math/libm-test.inc (struct test_ff_i_data): New type.
6720         (RUN_TEST_LOOP_ff_i_tg): New macro.
6721         (isgreater_test_data): New variable.
6722         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6723         (isgreaterequal_test_data): New variable.
6724         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6725         (isless_test_data): New variable.
6726         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6727         (islessequal_test_data): New variable.
6728         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6729         (islessgreater_test_data): New variable.
6730         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6731         (isunordered_test_data): New variable.
6732         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6733
6734 2013-05-14  David S. Miller  <davem@davemloft.net>
6735
6736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6737
6738 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6739
6740         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6741
6742         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6743         extra_test to int.
6744         (struct test_f_i_data): Change type of max_ulp to int.
6745
6746         * math/libm-test.inc (test_ffI_f1_data): New type.
6747         (RUN_TEST_LOOP_ffI_f1): New macro.
6748         (remquo_test_data): New variable.
6749         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6750
6751         * setjmp/tst-setjmp-fp.c: New file.
6752         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6753         (link-libm): New variable.
6754         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6755
6756         * math/libm-test.inc (struct test_f_i_data): New type.
6757         (RUN_TEST_LOOP_f_i): New macro.
6758         (RUN_TEST_LOOP_f_i_tg): Likewise.
6759         (fpclassify_test_data): New variable.
6760         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6761         (ilogb_test_data): New variable.
6762         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6763
6764         * math/libm-test.inc (scalbln_test): Correct function name in END
6765         call.
6766
6767         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6768         (RUN_TEST_LOOP_fI_f1): New macro.
6769         (frexp_test_data): New variable.
6770         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6771
6772         * math/libm-test.inc (struct test_fF_f1_data): New type.
6773         (RUN_TEST_LOOP_fF_f1): New macro.
6774         (modf_test_data): New variable.
6775         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6776
6777         * math/libm-test.inc (struct test_f_f1_data): New type.
6778         (RUN_TEST_LOOP_f_f1): New macro.
6779         (gamma_test_data): New variable.
6780         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6781         (lgamma_test_data): New variable.
6782         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6783
6784 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6785
6786         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6787         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6788         (main): Comment "tls" pseudo-hwcap.
6789
6790 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6791
6792         * math/libm-test.inc (struct test_fl_f_data): New type.
6793         (RUN_TEST_LOOP_fl_f): New variable.
6794         (scalbln_test_data): New variable.
6795         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6796
6797         * math/libm-test.inc (struct test_fi_f_data): New type.
6798         (RUN_TEST_LOOP_fi_f): New macro.
6799         (ldexp_test_data): New variable.
6800         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6801         (scalbn_test_data): New variable.
6802         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6803
6804         * math/libm-test.inc (struct test_c_f_data): New type.
6805         (RUN_TEST_LOOP_c_f): New macro.
6806         (cabs_test_data): New variable.
6807         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6808         (carg_test_data): New variable.
6809         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6810         (cimag_test_data): New variable.
6811         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6812         (creal_test_data): New variable.
6813         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6814
6815         * math/libm-test.inc (struct test_if_f_data): New type.
6816         (RUN_TEST_LOOP_if_f): New macro.
6817         (jn_test_data): New variable.
6818         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6819         (yn_test_data): New variable.
6820         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6821
6822         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6823
6824 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6825
6826         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6827         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6828
6829 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6830
6831         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6832         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6833         (bench-deps): Add bench-timing.h.
6834         * benchtests-bench-skeleton.c: Include bench-timing.h.
6835         (main): Use TIMING_* macros instead of clock_gettime.
6836         * benchtests/bench-timing.h: New file.
6837
6838         [BZ #14582]
6839         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6840         Renamed from _LIB_VERSION.
6841         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6842
6843 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6844
6845         * math/libm-test.inc (struct test_fff_f_data): New type.
6846         (RUN_TEST_LOOP_fff_f): New macro.
6847         (fma_test_data): New variable.
6848         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6849         (fma_towardzero_test_data): New variable.
6850         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6851         (fma_downward_test_data): New variable.
6852         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6853         (fma_upward_test_data): New variable.
6854         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6855
6856         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6857         (struct test_c_c_data): New type.
6858         (RUN_TEST_LOOP_c_c): New macro.
6859         (cacos_test_data): New variable.
6860         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6861         (cacosh_test_data): New variable.
6862         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6863         (casin_test_data): New variable.
6864         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6865         (casinh_test_data): New variable.
6866         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6867         (catan_test_data): New variable.
6868         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6869         (catanh_test_data): New variable.
6870         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6871         (ccos_test_data): New variable.
6872         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6873         (ccosh_test_data): New variable.
6874         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6875         (cexp_test_data): New variable.
6876         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6877         (clog_test_data): New variable.
6878         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6879         (clog10_test_data): New variable.
6880         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6881         (conj_test_data): New variable.
6882         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6883         (cproj_test_data): New variable.
6884         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6885         (csin_test_data): New variable.
6886         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6887         (csinh_test_data): New variable.
6888         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6889         (csqrt_test_data): New variable.
6890         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6891         (ctan_test_data): New variable.
6892         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6893         (ctan_tonearest_test_data): New variable.
6894         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6895         (ctan_towardzero_test_data): New variable.
6896         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6897         (ctan_downward_test_data): New variable.
6898         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6899         (ctan_upward_test_data): New variable.
6900         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6901         (ctanh_test_data): New variable.
6902         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6903         (ctanh_tonearest_test_data): New variable.
6904         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6905         (ctanh_towardzero_test_data): New variable.
6906         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6907         (ctanh_downward_test_data): New variable.
6908         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6909         (ctanh_upward_test_data): New variable.
6910         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6911         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6912         of BUILD_COMPLEX.
6913
6914         * math/libm-test.inc (struct test_ff_f_data): New type.
6915         (struct test_ff_f_data_nexttoward): Likewise.
6916         (RUN_TEST_LOOP_2_f): New macro.
6917         (RUN_TEST_LOOP_ff_f): Likewise.
6918         (atan2_test_data): New variable.
6919         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6920         (copysign_test_data): New variable.
6921         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6922         (fdim_test_data): New variable.
6923         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6924         (fmax_test_data): New variable.
6925         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6926         (fmin_test_data): New variable.
6927         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6928         (fmod_test_data): New variable.
6929         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6930         (hypot_test_data): New variable.
6931         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6932         (nextafter_test_data): New variable.
6933         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6934         (nexttoward_test_data): New variable.
6935         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6936         (pow_test_data): New variable.
6937         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6938         (pow_tonearest_test_data): New variable.
6939         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6940         (pow_towardzero_test_data): New variable.
6941         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6942         (pow_downward_test_data): New variable.
6943         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6944         (pow_upward_test_data): New variable.
6945         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6946         (remainder_test_data): New variable.
6947         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6948         (scalb_test_data): New variable.
6949         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6950         * sysdeps/i386/fpu/libm-test-ulps: Update.
6951
6952 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6953
6954         * math/libm-test.inc (fma_test): Use max_value instead of local
6955         variable fltmax.
6956         (nextafter_test): Likewise.
6957
6958         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6959         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6960         (acos_downward_test_data): New variable.
6961         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6962         (acos_upward_test_data): New variable.
6963         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6964         (acosh_test_data): New variable.
6965         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6966         (asin_test_data): New variable.
6967         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6968         (asin_tonearest_test_data): New variable.
6969         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6970         (asin_towardzero_test_data): New variable.
6971         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6972         (asin_downward_test_data): New variable.
6973         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6974         (asin_upward_test_data): New variable.
6975         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6976         (asinh_test_data): New variable.
6977         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6978         (atan_test_data): New variable.
6979         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6980         (atanh_test_data): New variable.
6981         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6982         (cbrt_test_data): New variable.
6983         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6984         (ceil_test_data): New variable.
6985         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6986         (cos_test_data): New variable.
6987         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6988         (cos_tonearest_test_data): New variable.
6989         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6990         (cos_towardzero_test_data): New variable.
6991         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6992         (cos_downward_test_data): New variable.
6993         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6994         (cos_upward_test_data): New variable.
6995         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6996         (cosh_test_data): New variable.
6997         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6998         (cosh_tonearest_test_data): New variable.
6999         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7000         (cosh_towardzero_test_data): New variable.
7001         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7002         (cosh_downward_test_data): New variable.
7003         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7004         (cosh_upward_test_data): New variable.
7005         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7006         (erf_test_data): New variable.
7007         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7008         (erfc_test_data): New variable.
7009         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7010         (exp_test_data): New variable.
7011         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7012         (exp_tonearest_test_data): New variable.
7013         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7014         (exp_towardzero_test_data): New variable.
7015         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7016         (exp_downward_test_data): New variable.
7017         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7018         (exp_upward_test_data): New variable.
7019         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7020         (exp10_test_data): New variable.
7021         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7022         (exp2_test_data): New variable.
7023         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7024         (expm1_test_data): New variable.
7025         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7026         (fabs_test_data): New variable.
7027         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7028         (floor_test_data): New variable.
7029         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7030         (j0_test_data): New variable.
7031         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7032         (j1_test_data): New variable.
7033         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7034         (log_test_data): New variable.
7035         (log_test): Run tests with RUN_TEST_LOOP_f_f.
7036         (log10_test_data): New variable.
7037         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7038         (log1p_test_data): New variable.
7039         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7040         (log2_test_data): New variable.
7041         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7042         (logb_test_data): New variable.
7043         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7044         (logb_downward_test_data): New variable.
7045         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7046         (nearbyint_test_data): New variable.
7047         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7048         (rint_test_data): New variable.
7049         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7050         (rint_tonearest_test_data): New variable.
7051         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7052         (rint_towardzero_test_data): New variable.
7053         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7054         (rint_downward_test_data): New variable.
7055         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7056         (rint_upward_test_data): New variable.
7057         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7058         (round_test_data): New variable.
7059         (round_test): Run tests with RUN_TEST_LOOP_f_f.
7060         (sin_test_data): New variable.
7061         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7062         (sin_tonearest_test_data): New variable.
7063         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7064         (sin_towardzero_test_data): New variable.
7065         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7066         (sin_downward_test_data): New variable.
7067         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7068         (sin_upward_test_data): New variable.
7069         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7070         (sinh_test_data): New variable.
7071         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7072         (sinh_tonearest_test_data): New variable.
7073         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7074         (sinh_towardzero_test_data): New variable.
7075         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7076         (sinh_downward_test_data): New variable.
7077         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7078         (sinh_upward_test_data): New variable.
7079         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7080         (sqrt_test_data): New variable.
7081         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7082         (tan_test_data): New variable.
7083         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7084         (tan_tonearest_test_data): New variable.
7085         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7086         (tan_towardzero_test_data): New variable.
7087         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7088         (tan_downward_test_data): New variable.
7089         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7090         (tan_upward_test_data): New variable.
7091         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7092         (tanh_test_data): New variable.
7093         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7094         (tgamma_test_data): New variable.
7095         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7096         (trunc_test_data): New variable.
7097         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7098         (y0_test_data): New variable.
7099         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7100         (y1_test_data): New variable.
7101         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7102         (significand_test_data): New variable.
7103         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7104
7105 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
7106
7107         [BZ #12387]
7108         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7109
7110 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7111
7112         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7113
7114 2013-05-10  Andreas Jaeger  <aj@suse.de>
7115
7116         [BZ #15448]
7117         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7118         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7119
7120 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7121
7122         * math/gen-libm-test.pl (adjust_arg): New function.
7123         (special_functions): Handle generating output in both functions
7124         and arrays.
7125         (parse_args): Likewise.
7126         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
7127         $in_func argument to parse_args.
7128         * math/libm-test.inc (struct test_f_f_data): New type.
7129         (IF_ROUND_INIT_): New macro.
7130         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7131         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7132         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7133         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7134         (ROUND_RESTORE_): Likewise.
7135         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7136         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7137         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7138         (ROUND_RESTORE_FE_UPWARD): Likewise.
7139         (RUN_TEST_LOOP_f_f): New macro.
7140         (acos_test_data): New variable.
7141         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7142         (acos_tonearest_test_data): New variable.
7143         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7144
7145 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7146
7147         * benchtests/bench-skeleton.c (startup): Fix coding style.
7148
7149 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7150
7151         [BZ #6809]
7152         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7153         negative infinity argument.
7154         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7155         negative infinity argument.
7156         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7157         negative infinity argument.
7158         * math/libm-test.inc (tgamma_test): Expect errno to be set for
7159         domain errors.
7160
7161 2013-05-10  Florian Weimer  <fweimer@redhat.com>
7162
7163         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7164         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7165         * iconv/iconv_prog.c (main): Likewise.
7166         * locale/programs/charmap-dir.c (charmap_readdir)
7167         (fopen_uncompressed): Likewise.
7168         * locale/programs/locfile.c (siblings_uncached)
7169         (write_locale_data): Use lstat64 instead of lstat.
7170         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7171         stat.
7172
7173 2013-05-10  Andreas Jaeger  <aj@suse.de>
7174
7175         [BZ #15395]
7176         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7177         localization.
7178         Include <locale.h>.
7179
7180 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
7181
7182         * elf/dl-close.c (_dl_close_worker): Add comments.
7183
7184 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
7185
7186         [BZ #15359]
7187         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7188         high part of pi/2.
7189         (__ieee754_rem_pio2l): Update comments.
7190
7191         [BZ #15429]
7192         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7193         high part of pi/2.
7194         (__ieee754_rem_pio2l): Update comments.
7195
7196         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7197         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7198
7199         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7200         M_PI_4l.
7201
7202         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7203         (M_PI_34_LOG10El): Likewise.
7204         (M_PI2_LOG10El): Likewise.
7205         (M_PI4_LOG10El): Likewise.
7206         (M_PI_LOG10El): Likewise.
7207
7208 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7209
7210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7211
7212 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
7213
7214         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7215         (MINUS_ZERO_INIT): Likewise.
7216         (PLUS_INFTY_INIT): Likewise.
7217         (MINUS_INFTY_INIT): Likewise.
7218         (QNAN_VALUE_INIT): Likewise.
7219         (MAX_VALUE_INIT): Likewise.
7220         (MIN_VALUE_INIT): Likewise.
7221         (MIN_SUBNORM_VALUE_INIT): Likewise.
7222         (plus_zero): Initialize with PLUS_ZERO_INIT.
7223         (minus_zero): Initialize with MINUS_ZERO_INIT.
7224         (plus_infty): Initialize with PLUS_INFTY_INIT.
7225         (minus_infty): Initialize with MINUS_INFTY_INIT.
7226         (qnan_value): Initialize with QNAN_VALUE_INIT.
7227         (max_value): Initialize with MAX_VALUE_INIT.
7228         (min_value): Initialize with MIN_VALUE_INIT.
7229         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7230
7231         * math/libm-test.inc (RUN_TEST_if_f): New macro.
7232         (jn_test): Use TEST_if_f instead of TEST_ff_f.
7233         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7234         (yn_test): Use TEST_if_f instead of TEST_ff_f.
7235
7236         * math/libm-test.inc (RUN_TEST_f_f): New macro.
7237         (RUN_TEST_2_f): Likewise.
7238         (RUN_TEST_ff_f): Likewise.
7239         (RUN_TEST_fi_f): Likewise.
7240         (RUN_TEST_fl_f): Likewise.
7241         (RUN_TEST_fff_f): Likewise.
7242         (RUN_TEST_c_f): Likewise.
7243         (RUN_TEST_f_f1): Likewise.
7244         (RUN_TEST_fF_f1): Likewise.
7245         (RUN_TEST_fI_f1): Likewise.
7246         (RUN_TEST_ffI_f1): Likewise.
7247         (RUN_TEST_c_c): Likewise.
7248         (RUN_TEST_cc_c): Likewise.
7249         (RUN_TEST_f_i): Likewise.
7250         (RUN_TEST_f_i_tg): Likewise.
7251         (RUN_TEST_ff_i_tg): Likewise.
7252         (RUN_TEST_f_b): Likewise.
7253         (RUN_TEST_f_b_tg): Likewise.
7254         (RUN_TEST_f_l): Likewise.
7255         (RUN_TEST_f_L): Likewise.
7256         (RUN_TEST_sincos): Likewise.
7257         * math/gen-libm-test.pl (new_test): Take new argument to indicate
7258         whether to show exceptions.  Do not include ");\n" in return
7259         value.
7260         (special_functions): Output call to RUN_TEST_sincos instead of
7261         check_float calls.  Update calls to new_test.
7262         (parse_args): Output call to single RUN_TEST_* macro instead of
7263         check_* calls and other assignments.  Update calls to new_test.
7264
7265         [BZ #2546]
7266         [BZ #2560]
7267         [BZ #5159]
7268         [BZ #15426]
7269         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7270         input to result for tgamma overflow.
7271         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7272         (gamma_coeff): New variable.
7273         (NCOEFF): New macro.
7274         (gamma_positive): New function.
7275         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7276         underflow here.  Use gamma_positive instead of exp (lgamma) for
7277         other arguments.
7278         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7279         (gamma_coeff): New variable.
7280         (NCOEFF): New macro.
7281         (gammaf_positive): New function.
7282         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7283         underflow here.  Use gamma_positive instead of exp (lgamma) for
7284         other arguments.
7285         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7286         (gamma_coeff): New variable.
7287         (NCOEFF): New macro.
7288         (gammal_positive): New function.
7289         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7290         underflow here.  Use gamma_positive instead of exp (lgamma) for
7291         other arguments.
7292         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7293         (gamma_coeff): New variable.
7294         (NCOEFF): New macro.
7295         (gammal_positive): New function.
7296         (__ieee754_gammal_r): Handle positive infinity, overflow and
7297         underflow here.  Handle NaN the same as positive infinity.  Remove
7298         check x < 0xffffffff for negative integers.  Use gamma_positive
7299         instead of exp (lgamma) for other arguments.
7300         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7301         (gamma_coeff): New variable.
7302         (NCOEFF): New macro.
7303         (gammal_positive): New function.
7304         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7305         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7306         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7307         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7308         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7309         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7310         * sysdeps/generic/math_private.h (__gamma_productf): New
7311         prototype.
7312         (__gamma_product): Likewise.
7313         (__gamma_productl): Likewise.
7314         * math/Makefile (libm-calls): Add gamma_product.
7315         * math/libm-test.inc (tgamma_test): Add more tests.
7316         * sysdeps/i386/fpu/libm-test-ulps: Update.
7317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7318
7319 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
7320
7321         * benchtests/bench-skeleton.c (main): Preheat CPU.
7322
7323 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
7324
7325         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7326
7327 2013-05-07  Roland McGrath  <roland@hack.frob.com>
7328
7329         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7330         and _dl_skip_args_internal.
7331
7332 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
7333
7334         * manual/message.texi (Message Translation): Talk about users.
7335         Message to key mapping impacts design.
7336
7337 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7338
7339         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7340
7341         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7342
7343         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7344         * sysdeps/wordsize-64/glob64.c: ... here.
7345
7346         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7347         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7348         New macros.
7349
7350         * debug/getlogin_r_chk.c: Moved to ...
7351         * login/getlogin_r_chk.c: ... here.
7352         * debug/Makefile (routines): Move getlogin_r_chk to ...
7353         * login/Makefile (routines): ... here.
7354         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7355         * login/Versions (libc: GLIBC_2.4): ... here.
7356
7357         * io/poll.c (__poll): Renamed from poll.
7358         Add libc_hidden_def.
7359         (poll): Define as weak alias.
7360
7361         * debug/ptsname_r_chk.c: Moved to ...
7362         * login/ptsname_r_chk.c: ... here.
7363         * debug/Makefile (routines): Move ptsname_r_chk to ...
7364         * login/Makefile (routines): ... here.
7365         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7366         * login/Versions (libc: GLIBC_2.4): ... here.
7367
7368         * posix/getlogin.c: Moved to ...
7369         * login/getlogin.c: ... here.
7370         * posix/getlogin_r.c: Moved to ...
7371         * login/getlogin_r.c: ... here.
7372         * posix/getlogin_r.c: Moved to ...
7373         * login/getlogin_r.c: ... here.
7374         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7375         * login/Makefile (routines): ... here.
7376         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7377         * login/Versions (libc: GLIBC_2.0): ... here.
7378
7379         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7380         (setrlimit): Define as weak alias.
7381
7382         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7383         Call __ names for open, ftruncate, and close.
7384         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7385         (truncate): Define as weak alias.
7386
7387 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
7388
7389         * math/gen-libm-test.pl (parse_args): Initialize x before each
7390         test of frexp, modf and remquo.
7391
7392         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7393         test signgam value.
7394
7395 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7396
7397         [BZ #15418]
7398         [BZ #15419]
7399         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7400         internal tests.
7401         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7402
7403 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7404
7405         * elf/dl-writev.h: New file.
7406         * elf/dl-misc.c: Include it.
7407         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7408         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7409
7410 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
7411
7412         * math/libm-test.inc (noXFails): Remove variable.
7413         (noXPasses): Likewise.
7414         (BUILD_COMPLEX_INT): Remove macro.
7415         (print_screen): Remove xfail argument.
7416         (print_screen_max_error): Likewise.
7417         (update_stats): Likewise.
7418         (print_max_error): Likewise.  Update calls to other affected
7419         functions.
7420         (print_complex_max_error): Likewise.
7421         (test_single_exception): Update calls to print_screen.
7422         (test_single_errno): Likewise.
7423         (check_float_internal): Remove xfail argument.  Update calls to
7424         other affected functions.
7425         (check_float): Likewise.
7426         (check_complex): Likewise.
7427         (check_int): Likewise.
7428         (check_long): Likewise.
7429         (check_bool): Likewise.
7430         (check_longlong): Likewise.
7431         (main): Don't print noXFails and noXPasses.
7432         * math/gen-libm-test.pl (top level): Don't mention expected
7433         failure handling in comment.
7434         (new_test): Don't handle expected failures.
7435         (parse_args): Don't mention expected failure handling in comment.
7436         (generate_testfile): Don't handle expected failures.
7437         (parse_ulps): Likewise.
7438         (print_ulps_file): Likewise.
7439         (get_failure): Remove function.
7440         (output_test): Don't handle expected failures.
7441         * make/README.libm-test: Don't mention expected failure handling.
7442
7443         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
7444         (minus_zero): Likewise.
7445         (plus_infty): Likewise.
7446         (minus_infty): Likewise.
7447         (qnan_value): Likewise.
7448         (max_value): Likewise.
7449         (min_value): Likewise.
7450         (min_subnorm_value): Likewise.
7451         (initialize): Do not initialize those variables dynamically.
7452
7453 2013-05-03  Roland McGrath  <roland@hack.frob.com>
7454
7455         * io/open.c (__open_2): Moved to ...
7456         * io/open_2.c: ... this new file.
7457         * io/open64.c (__open64_2): Moved to ...
7458         * io/open64_2.c: ... this new file.
7459         * io/openat.c (__openat_2): Moved to ...
7460         * io/openat_2.c: ... this new file.
7461         * io/openat64.c (__openat64_2): Moved to ...
7462         * io/openat64_2.c: ... this new file.
7463         * io/Makefile (routines): Add them.
7464         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7465         * sysdeps/unix/sysv/linux/open_2.c: File removed.
7466         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7467         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7468         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7469         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7470         (__openat64): Add hidden_ver.
7471         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7472         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7473
7474         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7475         Separately conditionalize setting of GLRO(dl_sysinfo) so
7476         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7477         as well, but the actual setting is only under [NEED_DL_SYSINFO].
7478
7479 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7480
7481         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7482         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7483         definition.
7484         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7485         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7486         (_libc_vdso_platform_setup): Add __vdso_time initialization.
7487         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7488         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7489
7490 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
7491
7492         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7493         test signgam value.
7494
7495         * math/libm-test.inc (hypot_test): Do not use
7496         IGNORE_ZERO_INF_SIGN.
7497
7498 2013-05-03  Andreas Jaeger  <aj@suse.de>
7499
7500         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7501         Linux 3.9.
7502         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7503         (PF_MAX): Adjust for VSOCK change.
7504
7505 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7506
7507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7508
7509 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7510
7511         [BZ #15264]
7512         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7513         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7514         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7515
7516 2013-05-02  David S. Miller  <davem@davemloft.net>
7517
7518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7519
7520 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7521
7522         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7523
7524 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7525
7526         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7527
7528 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7529
7530         [BZ #14952]
7531         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7532         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7533         Use __attribute__ ((__gnu_inline__)).
7534         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7535         Don't use __attribute__ ((__gnu_inline__)).
7536
7537 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7538
7539         [BZ #15423]
7540         * math/s_catan.c (__catan): Handle small real or imaginary part of
7541         input specially to avoid spurious underflow.
7542         * math/s_catanf.c (__catanf): Likewise.
7543         * math/s_catanh.c (__catanh): Likewise.
7544         * math/s_catanhf.c (__catanhf): Likewise.
7545         * math/s_catanhl.c (__catanhl): Likewise.
7546         * math/s_catanl.c (__catanl): Likewise.
7547         * math/libm-test.inc (catan_test): Add more tests.
7548         (catanh_test): Likewise.
7549         * sysdeps/i386/fpu/libm-test-ulps: Update.
7550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7551
7552 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7553
7554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7555
7556 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7557
7558         [BZ #15416]
7559         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7560         accurately for denominator in atan2.
7561         * math/s_catanf.c (__catanf): Likewise.
7562         * math/s_catanh.c (__catanh): Likewise.
7563         * math/s_catanhf.c (__catanhf): Likewise.
7564         * math/s_catanhl.c (__catanhl): Likewise.
7565         * math/s_catanl.c (__catanl): Likewise.
7566         * math/libm-test.inc (catan_test): Add more tests.
7567         (catanh_test): Likewise.
7568         * sysdeps/i386/fpu/libm-test-ulps: Update.
7569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7570
7571 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7572
7573         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7574
7575         * benchtests/Makefile (bench): Remove slow benchmarks.
7576         * benchtests/atan-inputs: Add slow benchmark inputs.
7577         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7578         (BENCH_FUNC): Accept variant offset.
7579         (VARIANT): Define.
7580         * benchtests/bench-skeleton.c (main): Run benchmark for each
7581         variant.
7582         * benchtests/cos-inputs: Add slow benchmark inputs.
7583         * benchtests/exp-inputs: Likewise.
7584         * benchtests/pow-inputs: Likewise.
7585         * benchtests/sin-inputs: Likewise.
7586         * benchtests/slowatan-inputs: Remove.
7587         * benchtests/slowatan.c: Remove.
7588         * benchtests/slowcos-inputs: Remove.
7589         * benchtests/slowcos.c: Remove.
7590         * benchtests/slowexp-inputs: Remove.
7591         * benchtests/slowexp.c: Remove.
7592         * benchtests/slowpow-inputs: Remove.
7593         * benchtests/slowpow.c: Remove.
7594         * benchtests/slowsin-inputs: Remove.
7595         * benchtests/slowsin.c: Remove.
7596         * benchtests/slowtan-inputs: Remove.
7597         * benchtests/slowtan.c: Remove.
7598         * benchtests/tan-inputs: Add slow benchmark inputs.
7599         * scripts/bench.pl: Parse comments and directives.
7600
7601         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7602         in CPPFLAGS.
7603         ($(objpfx)bench-%.c): Remove *-ITER.
7604         * benchtests/bench-modf.c: Remove definition of ITER.
7605         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7606         (main): Loop for DURATION seconds instead of fixed number of
7607         iterations.
7608         * scripts/bench.pl: Don't expect iterations in parameters.
7609
7610 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7611
7612         * io/fchdir.c (__fchdir): Renamed from fchdir.
7613         (fchdir): Define as weak alias.
7614
7615 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7616
7617         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7618         (ERRNO_EDOM): Likewise.
7619         (ERRNO_ERANGE): Likewise.
7620         (noErrnoTests): New variable.
7621         (init_max_error): Set errno to 0.
7622         (test_single_errno): New function.
7623         (test_errno): Likewise.
7624         (check_float_internal): Call test_errno.  Set errno to 0.
7625         (check_complex): Refer to errno tests in comment.
7626         (check_int): Call test_errno.  Set errno to 0.
7627         (check_long): Likewise.
7628         (check_bool): Likewise.
7629         (check_longlong): Likewise.
7630         (cos_test): Use ERRNO_* flags for errno tests instead of
7631         check_int.
7632         (expm1_test): Likewise.
7633         (fmod_test): Likewise.
7634         (ilogb_test): Likewise.
7635         (lgamma_test): Likewise.
7636         (pow_test): Likewise.
7637         (remainder_test): Likewise.
7638         (sin_test): Likewise.
7639         (tan_test): Likewise.
7640         (yn_test): Likewise.
7641         (initialize): Set errno to 0.
7642         (main): Print number of errno tests.
7643         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7644
7645 2013-04-29  Andreas Jaeger  <aj@suse.de>
7646
7647         [BZ #15084]
7648         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7649         and RES_USEVC.
7650
7651         [BZ #15085]
7652         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7653         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7654         unimplemented.
7655
7656         [BZ #15380]
7657         * stdlib/random.c (__initstate): Return NULL if
7658         __initstate fails.
7659
7660         [BZ #15086]
7661         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7662         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7663         RES_SNGLKUPREOP.
7664
7665 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7666
7667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7668
7669 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7670
7671         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7672         of individual tests.
7673         (casin_test): Likewise.
7674         (casinh_test): Likewise.
7675
7676 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7677
7678         [BZ #15409]
7679         * math/s_catan.c (__catan): Handle arguments with large real or
7680         imaginary part separately without squaring.
7681         * math/s_catanf.c (__catanf): Likewise.
7682         * math/s_catanh.c (__catanh): Likewise.
7683         * math/s_catanhf.c (__catanhf): Likewise.
7684         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7685         and redefine.
7686         (__catanhl): Handle arguments with large real or imaginary part
7687         separately without squaring.
7688         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7689         and redefine.
7690         (__catanl): Handle arguments with large real or imaginary part
7691         separately without squaring.
7692         * math/libm-test.inc (catan_test): Add more tests.
7693         (catanh_test): Likewise.
7694         * sysdeps/i386/fpu/libm-test-ulps: Update.
7695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7696
7697 2013-04-27  Andreas Jaeger  <aj@suse.de>
7698
7699         [BZ #15007]
7700         * stdlib/stdlib.h: Update guards for qecvt.
7701         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7702         <stdlib.h>.
7703
7704 2013-04-27  Allan McRae  <allan@archlinux.org>
7705
7706         * sysdeps/i386/fpu/libm-test-ulps: Update.
7707
7708 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7709
7710         [BZ #15406]
7711         * math/s_catan.c: Include <float.h>.
7712         (__catan): Ensure underflow exception occurs for underflowed
7713         result.
7714         * math/s_catanf.c: Include <float.h>.
7715         (__catanf): Ensure underflow exception occurs for underflowed
7716         result.
7717         * math/s_catanh.c: Include <float.h>.
7718         (__catanh): Ensure underflow exception occurs for underflowed
7719         result.
7720         * math/s_catanhf.c: Include <float.h>.
7721         (__catanhf): Ensure underflow exception occurs for underflowed
7722         result.
7723         * math/s_catanhl.c: Include <float.h>.
7724         (__catanhl): Ensure underflow exception occurs for underflowed
7725         result.
7726         * math/s_catanl.c: Include <float.h>.
7727         (__catanl): Ensure underflow exception occurs for underflowed
7728         result.
7729         * math/libm-test.inc (catan_test): Add more tests.
7730         (catanh_test): Likewise.
7731
7732         [BZ #15405]
7733         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7734         underflowed result.
7735         * math/s_ccoshf.c (__ccoshf): Likewise.
7736         * math/s_ccoshl.c (__ccoshl): Likewise.
7737         * math/s_csin.c (__csin): Likewise.
7738         * math/s_csinf.c (__csinf): Likewise.
7739         * math/s_csinh.c (__csinh): Likewise.
7740         * math/s_csinhf.c (__csinhf): Likewise.
7741         * math/s_csinhl.c (__csinhl): Likewise.
7742         * math/s_csinl.c (__csinl): Likewise.
7743         * math/libm-test.inc (ccos_test): Add more tests.
7744         (ccosh_test): Likewise.
7745         (csin_test): Likewise.
7746         (csinh_test): Likewise.
7747
7748 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7749
7750         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7751         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7752         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7753         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7754         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7755         powerpc/power5+/fpu folders.
7756         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7757
7758
7759 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7760
7761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7762
7763 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7764
7765         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7766         additions to variable.
7767         [$(config-machine) = x86_64] (modules-names): Likewise.
7768         ($(objpfx)tst-audit3): Remove dependency.
7769         ($(objpfx)tst-audit3.out): Likewise.
7770         ($(objpfx)tst-audit4): Likewise.
7771         ($(objpfx)tst-audit4.out): Likewise.
7772         ($(objpfx)tst-audit5): Likewise.
7773         ($(objpfx)tst-audit5.out): Likewise.
7774         ($(objpfx)tst-audit6): Likewise.
7775         ($(objpfx)tst-audit6.out): Likewise.
7776         ($(objpfx)tst-audit7): Likewise.
7777         ($(objpfx)tst-audit7.out): Likewise.
7778         (tst-audit3-ENV): Remove variable.
7779         (tst-audit4-ENV): Likewise.
7780         (tst-audit5-ENV): Likewise.
7781         (tst-audit6-ENV): Likewise.
7782         (tst-audit7-ENV): Likewise.
7783         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7784         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7785         addition to variable.
7786         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7787         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7788         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7789         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7790         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7791         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7792         tst-audit3, tst-audit4 and tst-audit5.
7793         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7794         tst-audit6 and tst-audit7.
7795         [$(subdir) = elf] (modules-names): Add audit modules for those
7796         tests.
7797         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7798         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7799         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7800         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7801         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7802         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7803         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7804         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7805         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7806         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7807         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7808         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7809         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7810         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7811         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7812         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7813         Likewise.
7814         [$(subdir) = elf && $(config-cflags-avx) = yes]
7815         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7816         [$(subdir) = elf && $(config-cflags-avx) = yes]
7817         (CFLAGS-tst-auditmod4a.c): Likewise.
7818         [$(subdir) = elf && $(config-cflags-avx) = yes]
7819         (CFLAGS-tst-auditmod4b.c): Likewise.
7820         [$(subdir) = elf && $(config-cflags-avx) = yes]
7821         (CFLAGS-tst-auditmod6b.c): Likewise.
7822         [$(subdir) = elf && $(config-cflags-avx) = yes]
7823         (CFLAGS-tst-auditmod6c.c): Likewise.
7824         [$(subdir) = elf && $(config-cflags-avx) = yes]
7825         (CFLAGS-tst-auditmod7b.c): Likewise.
7826         * elf/tst-audit3.c: Move to ...
7827         * sysdeps/x86_64/tst-audit3.c: ... here.
7828         * elf/tst-audit4.c: Move to ...
7829         * sysdeps/x86_64/tst-audit4.c: ... here.
7830         * elf/tst-audit5.c: Move to ...
7831         * sysdeps/x86_64/tst-audit5.c: ... here.
7832         * elf/tst-audit6.c: Move to ...
7833         * sysdeps/x86_64/tst-audit6.c: ... here.
7834         * elf/tst-audit7.c: Move to ...
7835         * sysdeps/x86_64/tst-audit7.c: ... here.
7836         * elf/tst-auditmod3a.c: Move to ...
7837         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7838         * elf/tst-auditmod3b.c: Move to ...
7839         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7840         * elf/tst-auditmod4a.c: Move to ...
7841         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7842         * elf/tst-auditmod4b.c: Move to ...
7843         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7844         * elf/tst-auditmod5a.c: Move to ...
7845         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7846         * elf/tst-auditmod5b.c: Move to ...
7847         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7848         * elf/tst-auditmod6a.c: Move to ...
7849         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7850         * elf/tst-auditmod6b.c: Move to ...
7851         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7852         * elf/tst-auditmod6c.c: Move to ...
7853         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7854         * elf/tst-auditmod7a.c: Move to ...
7855         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7856         * elf/tst-auditmod7b.c: Move to ...
7857         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7858
7859 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7860
7861         [BZ #15366]
7862         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7863         define unconditionally.
7864         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7865         define unconditionally.
7866         (INT8_C, INT16_C, etc.): Likewise.
7867
7868 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7869
7870         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7871         __ehdr_start with hidden visibility.
7872
7873         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7874
7875 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7876
7877         * math/libm-test.inc (cos_test): Use accurate hex constants.
7878         (sincost_test): Likewise.
7879
7880 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7881
7882         * math/libm-test.inc (catan_test): Add more tests.
7883         (catanh_test): Likewise.
7884
7885         * math/s_catanf.c (__catanf): Use suffixed floating-point
7886         constants.
7887         * math/s_catanhf.c (__catanhf): Likewise.
7888         * math/s_catanhl.c (__catanhl): Likewise.
7889         * math/s_catanl.c (__catanl): Likewise.
7890
7891         [BZ #15394]
7892         * math/s_catan.c (__catan): Calculate imaginary part of result
7893         with log1p not log unless computing log of number close to 0.
7894         * math/s_catanf.c (__catanf): Likewise.
7895         * math/s_catanl.c (__catanl): Likewise.
7896         * math/s_catanh.c (__catanh): Calculate real part of result with
7897         log1p not log unless computing log of number close to 0.
7898         * math/s_catanhf.c (__catanhf): Likewise.
7899         * math/s_catanhl.c (__catanhl): Likewise.
7900         * math/libm-test.inc (catan_test): Add more tests.
7901         (catanh_test): Likewise.
7902         * sysdeps/i386/fpu/libm-test-ulps: Update.
7903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7904
7905 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7906
7907         * benchtests/Makefile: Mention files in which fast and slow
7908         paths of math functions are implemented.
7909
7910 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7911
7912         * sysdeps/posix/timespec_get.c: New file.
7913
7914 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7915
7916         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7917         POWER.
7918         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7919         for POWER.
7920         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7921         powerpc/power5/fpu folders.
7922         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7923         * benchtests/Makefile: Add modf testcase.
7924         * benchtests/bench-modf.c: New file: Benchmark test for mo
7925
7926 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7927
7928         [BZ #14888]
7929         * time/Makefile (tests): Add tst-strptime-whitespace.
7930         * time/strptime_l.c (get_number): Use ISSPACE.
7931         (__strptime_internal): Likewise.
7932         * time/tst-strptime-whitespace.c: New test case.
7933
7934 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7935
7936         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7937         member.
7938         (_nss_files_init): Set it here.
7939
7940 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7941
7942         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7943         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7944         unsigned.
7945
7946 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7947
7948         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7949
7950 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7951
7952         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7953         size just once.
7954
7955 2013-04-21  David S. Miller  <davem@davemloft.net>
7956
7957         * po/ru.po: Update Russion translation from translation project.
7958
7959 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7960
7961         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7962         and setfsgid.
7963
7964 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7965
7966         * configure.in: Remove i386 configure warning. Remove i386 case.
7967         * configure: Regenerate.
7968         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7969         Add example to error message.
7970         * sysdeps/i386/configure: Regenerate.
7971
7972 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7973
7974         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7975         slowtan.
7976         * benchtests/cos-inputs: New file.
7977         * benchtests/slowcos-inputs: New file.
7978         * benchtests/slowcos.c: New file.
7979         * benchtests/slowtan-inputs: New file.
7980         * benchtests/slowtan.c: New file.
7981         * benchtests/tan-inputs: New file.
7982
7983 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7984
7985         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7986         considered kosher.
7987
7988 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7989
7990         * benchtests/Makefile: Include cppflags-iterator.mk to add
7991         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7992
7993         * Makefile.in (bench-clean): New target.
7994         * benchtests/Makefile (bench-clean): Likewise.
7995
7996 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7997
7998         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7999
8000 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
8001
8002         * stdio-common/tstdiomisc.c: Fix coding-style violation.
8003
8004 2013-04-15  Andreas Schwab  <schwab@suse.de>
8005
8006         * nscd/grpcache.c (cache_addgr): Properly check for short write.
8007         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8008         * nscd/pwdcache.c (cache_addpw): Likewise.
8009         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
8010         more than recsize.
8011
8012 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8013
8014         * benchtests/Makefile (bench): Write all output to
8015         bench-out.tmp together.
8016
8017 2013-04-15  Andreas Schwab  <schwab@suse.de>
8018
8019         * nscd/nscd.c (main): Don't fork again after closing files.
8020
8021 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8022
8023         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8024
8025         * benchtests/Rules (bench-deps): Collect dependencies into a
8026         single variable.  Add Makefile to dependencies.
8027         ($(objpfx)bench-%.c): Depend on bench-deps.
8028
8029 2013-04-12  Roland McGrath  <roland@hack.frob.com>
8030             Xavier Roche  <roche+kml2@exalead.com>
8031
8032         [BZ #15361]
8033         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8034         just that it's a file descriptor.
8035         * manual/llio.texi (Synchronizing AIO Operations): Update description
8036         for EBADF error from aio_fsync.
8037
8038 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8039
8040         * Rules (bench): Move target definition...
8041         * benchtests/Makefile: ... here.
8042
8043 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
8044
8045         * math/libm-test.inc (cos_test): Fix PI/2 test.
8046         (sincos_test): Likewise.
8047         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8048         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8049
8050 2013-04-11  Andreas Schwab  <schwab@suse.de>
8051
8052         [BZ #13988]
8053         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8054         accept exponent character only when digits were seen.
8055         * stdio-common/Makefile (tests): Add bug26.
8056         * stdio-common/bug26.c: New file.
8057
8058         [BZ #14293]
8059         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8060         non-freeable.
8061
8062 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8063
8064         * Makeconfig (rtld-prefix): Define built linker prefix.
8065         * Rules (run-bench): Use it.
8066         * math/Makefile (run-regen-ulps): Likewise.
8067
8068         * Rules (bench): Remove eval.
8069
8070 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8071             Roland McGrath  <roland@hack.frob.com>
8072             Ondrej Bilka  <neleai@seznam.cz>
8073
8074         [BZ #15346]
8075         * time/getdate.c: Include ctype.h and alloca.h.
8076         (__getdate_r): Trim leading and trailing spaces of input.
8077         * time/tst-getdate.c (tests): Add tests with leading and
8078         trailing spaces.
8079
8080 2013-04-08  Roland McGrath  <roland@hack.frob.com>
8081
8082         [BZ #14280]
8083         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8084         when computing value.
8085
8086 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8087
8088         * math/README.libm-test (How can I generate "libm-test-ulps"?):
8089         Use testrun.sh to run libm tests.
8090
8091         [BZ #15309]
8092         * elf/dl-open.c (dl_open_worker): memset all of seen array.
8093
8094 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
8095
8096         [BZ #15264]
8097         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8098
8099 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8100
8101         * Makefile.in (regen-ulps): New target.
8102         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8103         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8104         [ifneq (no,$(PERL)] (regen-ulps): New target.
8105         [ifeq (no,$(PERL)] (regen-ulps): New target.
8106         * math/libm-test.inc (ulps_file_name): Define.
8107         (output_dir): New variable.
8108         (options): Add "output-dir" option.
8109         (parse_opt): Handle 'o' case.
8110         (main): If output_dir is non-NULL use it as a prefix
8111         otherwise use "".
8112         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8113
8114 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8115
8116         [BZ #10060, #10062]
8117         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8118         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8119         fail configure if __sync_val_compare_and_swap is not inlined.
8120         * sysdeps/i386/configure: Regenerate.
8121         * configure.in: Build for i686 when configured for i386.
8122         * configure: Regenerate.
8123         * README: Remove i386 reference.
8124
8125 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8126
8127         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8128         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8129
8130 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8131
8132         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8133         (lmsnanval): New variables.
8134         (F): Add conversion tests.
8135         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8136         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8137
8138         * stdio-common/tstdiomisc.c (F): Properly collect individual
8139         tests' results.
8140
8141         [BZ #14686, #15336]
8142         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8143         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8144         Instead, use input NaN values or generate a qNaN by arithmetic
8145         operation.  Also fix bugs to comply with the standard.
8146         * math/libm-test.inc (remainder_test): Add more tests.
8147
8148         [BZ #15335, #15342]
8149         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8150         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8151         input NaN values or generate a qNaN by arithmetic operation.
8152
8153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8154         unreachable code.
8155
8156         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8157         definitions.
8158
8159 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
8160
8161         [BZ #14478]
8162         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8163         underflowed result.
8164         * math/s_cexpf.c (__cexpf): Likewise.
8165         * math/s_cexpl.c (__cexpl): Likewise.
8166         * math/libm-test.inc (cexp_test): Add more tests.
8167
8168 2013-04-03  Andreas Schwab  <schwab@suse.de>
8169
8170         [BZ #15330]
8171         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8172         order arrays from heap if bigger than alloca cutoff.
8173
8174 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
8175
8176         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8177         (SNAN_TESTS_double): Refer to GCC PR56831.
8178         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8179         GCC PR56828.
8180
8181 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8182
8183         * Rules (bench): Move bench.out after the run is complete.
8184
8185         * Rules (bench): Echo currently running benchmark.
8186
8187         * benchtests/Makefile (bench): Add atan and slowatan.
8188         * benchtests/atan-inputs: New file.
8189         * benchtests/slowatan-inputs: New file.
8190         * benchtests/slowatan.c: New file.
8191
8192         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8193         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8194         its value.
8195
8196         [BZ #15305]
8197         * sysdeps/unix/sysv/linux/kernel-features.h
8198         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8199         __ASSUME_XFS_RESTRICTED_CHOWN.
8200         * sysdeps/unix/sysv/linux/pathconf.c
8201         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8202         Save and restore errno.
8203
8204 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
8205
8206         [BZ #15327]
8207         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8208         arguments using __kernel_casinh.
8209         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8210         arguments using __kernel_casinhf.
8211         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8212         arguments using __kernel_casinhl.
8213         * math/libm-test.inc (cacosh_test): Add more tests.
8214         * sysdeps/i386/fpu/libm-test-ulps: Update.
8215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8216
8217 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8218
8219         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8220         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8221
8222         * bench/Makefile (bench): Add sin and slowsin.
8223         * benchtests/sin-inputs: New file.
8224         * benchtests/slowsin-inputs: New file.
8225         * benchtests/slowsin.c: New file.
8226
8227         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8228         (bench): Add slowexp and slowpow.
8229         (exp-ITER): Increase iterations.
8230         (pow-ITER): Likewise.
8231         * benchtests/exp-inputs: Change input.
8232         * benchtests/pow-inputs: Likewise.
8233         * benchtests/slowexp-inputs: New file.
8234         * benchtests/slowexp.c: New file.
8235         * benchtests/slowpow-inputs: New file.
8236         * benchtests/slowpow.c: New file.
8237
8238 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8239
8240         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8241         instructions.
8242         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8243         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8244         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8245         * benchtests/Makefile: Add rint benchtest.
8246         * benchtests/rint-inputs: Input for rint benchtest.
8247
8248 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8249
8250         * Versions.def (libm): Add GLIBC_2.18.
8251         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8252         hidden libm prototypes.
8253         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8254         * math/Makefile (libm-calls): Add s_issignaling.
8255         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8256         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
8257         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8258         declaration.
8259         * math/math.h [__USE_GNU] (issignaling): New macro.
8260         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8261         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8262         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8263         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8264         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8265         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8266         * manual/arith.texi (issignaling): New section.
8267         * manual/libm-err-tab.pl (@all_functions): Update comment.
8268         * math/gen-libm-test.pl (parse_args): Apply special handling for
8269         issignaling.
8270         * math/libm-test.inc (print_float, issignaling_test): New
8271         functions.
8272         (check_float_internal): Add issignaling checks.
8273         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8274         default definition.
8275         * sysdeps/powerpc/math-tests.h: New file.
8276         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8277         tests.
8278         * math/test-snan.c (TEST_FUNC): Likewise.
8279
8280 2013-03-30  David S. Miller  <davem@davemloft.net>
8281
8282         * po/de.po: Update from translation team.
8283
8284 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
8285
8286         [BZ #10357]
8287         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8288         imaginary part less than 1.0 and real part less than 0.5
8289         specially.
8290         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8291         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8292         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8293         (cacos_test): Add more tests.
8294         (casin_test): Likewise.
8295         (casinh_test): Likewise.
8296         * sysdeps/i386/fpu/libm-test-ulps: Update.
8297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8298
8299 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8300
8301         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8302         ONE with its value.
8303
8304         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8305         (__pow_mp): Replace ONE and MONE with their values.
8306         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8307         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8308         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8309         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8310         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8311         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8312
8313         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8314
8315         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8316         (__pow_mp): Replace ZERO and MZERO with their values.
8317         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8318         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8319         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8321         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8322         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8323         (__sqr): Likewise.
8324
8325         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8326
8327         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8328
8329 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8330
8331         * include/stdlib.h [!SHARED] (__call_tls_dtors):
8332         Declare with __attribute__ ((weak)).
8333         * stdlib/exit.c (__libc_atexit) [!SHARED]:
8334         Call __call_tls_dtors only if it's not NULL.
8335
8336 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8337
8338         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8339         didn't do it already, then set _dl_phdr and _dl_phnum based on the
8340         magic __ehdr_start linker symbol if it's defined.
8341         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8342         them up here if it was already done.
8343
8344         * elf/dl-support.c (_dl_phdr): Make pointer to const.
8345         (_dl_aux_init): Use const in cast when setting it.
8346         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8347         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8348         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8349
8350         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8351         Declare them here.
8352         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8353         * csu/libc-tls.c: Nor here.
8354         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8355
8356         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8357         (__libc_message): Never call vsyslog.
8358
8359 2013-03-28  Alan Modra  <amodra@gmail.com>
8360
8361         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8362         Define as empty.
8363         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8364         Likewise.
8365
8366 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8367
8368         [BZ #15214]
8369         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8370         underflow.
8371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8372
8373 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8374
8375         [BZ #15304]
8376         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8377         Don't add gid passed as argument.
8378
8379         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8380
8381 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
8382
8383         [BZ #15307]
8384         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8385         imaginary part between 1.0 and 1.5 and real part less than 0.5
8386         specially.
8387         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8388         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8389         * math/libm-test.inc (cacos_test): Add more tests.
8390         (casin_test): Likewise.
8391         (casinh_test): Likewise.
8392         * sysdeps/i386/fpu/libm-test-ulps: Update.
8393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8394
8395 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8396
8397         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8398         constants.
8399         (norm): Likewise.
8400         (denorm): Likewise.
8401         (__dbl_mp): Likewise.
8402         (add_magnitudes): Likewise.
8403         (sub_magnitudes): Likewise.
8404         (__add): Likewise.
8405         (__sub): Likewise.
8406         (__mul): Likewise.
8407         (__sqr): Likewise.
8408         (__inv): Likewise.
8409         (__dvd): Likewise.
8410
8411         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8412         commented code.
8413         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8414         (__dubcos): Likewise.
8415         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8416         (__ieee754_acos): Likewise.
8417         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8418         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8419         (__exp1): Likewise.
8420         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8421         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8422         (log1): Likewise.
8423         (my_log2): Likewise.
8424         (checkint): Likewise.
8425         * sysdeps/ieee754/dbl-64/e_remainder.c
8426         (__ieee754_remainder): Likewise.
8427         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8428         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8429         (bsloww): Likewise.
8430         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8431
8432         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8433         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8434         MANTISSA_STORE_T to store computations on mantissa.  Use
8435         macros for rounding and division.
8436         (denorm): Likewise.
8437         (__dbl_mp): Likewise.
8438         (add_magnitudes): Likewise.
8439         (sub_magnitudes): Likewise.
8440         (__mul): Likewise.
8441         (__sqr): Likewise.
8442         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8443         powers of two in terms of TWOPOW macro.
8444         (mp_no): Make type of mantissa as MANTISSA_T.
8445         [!RADIXI]: Define RADIXI.
8446         [!TWO52]: Define TWO52.
8447         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8448
8449 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8450
8451         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8452         llroundl symbol when building for PPC32.
8453
8454 2013-03-24  Mark H Weaver  <mhw@netris.org>
8455
8456         * manual/arith.texi (Normalization Functions): Fix prototypes for
8457         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8458
8459 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8460
8461         [BZ #13889]
8462         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8463         high value to check if expl overflow.
8464         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8465         to check for underflow and overflow.
8466         * math/libm-test.inc: Add exp test.
8467
8468 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
8469
8470         [BZ #11120]
8471         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8472         with NOT_IN_libc.
8473
8474 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8475
8476         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8477         symbol.
8478
8479 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8480
8481         * math/gen-libm-test.pl (parse_args, special_functions): Properly
8482         wrap blocks consisting of several statements.
8483
8484         * sysdeps/generic/math-tests.h: New file.
8485         * sysdeps/i386/fpu/math-tests.h: Likewise.
8486         * math/test-snan.c: Include it.
8487         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8488
8489 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8490
8491         [BZ #15285]
8492         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8493         (__ieee754_j0l): Do not improve calculations using cos of twice
8494         input for inputs above LDBL_MAX / 2.0L.
8495         (__ieee754_y0l): Likewise.
8496         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8497         (__ieee754_j1l): Do not improve calculations using cos of twice
8498         input for inputs above LDBL_MAX / 2.0L.
8499         (__ieee754_y1l): Likewise.
8500         * math/libm-test.inc (j0_test): Add another test.
8501         (j1_test): Likewise.
8502         (y0_test): Likewise.
8503         (y1_test): Likewise.
8504         * sysdeps/i386/fpu/libm-test-ulps: Update.
8505
8506 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8507
8508         * Rules ($(objpfx)bench-%.c): Include code from a C source
8509         file.
8510
8511 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8512
8513         [BZ #15287]
8514         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8515         imaginary part 1.0 and real part less than 0.5 specially.
8516         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8517         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8518         * math/libm-test.inc (cacos_test): Add more tests.
8519         (casin_test): Likewise.
8520         (casinh_test): Likewise.
8521         * sysdeps/i386/fpu/libm-test-ulps: Update.
8522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8523
8524 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8525
8526         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8527         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8528
8529 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8530
8531         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8532         * config.make.in (config-cflags-sse4): Remove variable.
8533         (config-cflags-avx): Likewise.
8534         (config-cflags-sse2avx): Likewise.
8535         (config-cflags-novzeroupper): Likewise.
8536         (config-asflags-i686): Likewise.
8537         (have-mfma4): Likewise.
8538         (have-as-vis3): Likewise.
8539         (MIG): Likewise.
8540         * configure.in (MIG): Do not AC_SUBST.
8541         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8542         (libc_cv_cc_sse4): Do not AC_SUBST.
8543         (libc_cv_cc_avx): Likewise.
8544         (libc_cv_cc_sse2avx): Likewise.
8545         (libc_cv_cc_novzeroupper): Likewise.
8546         (libc_cv_cc_fma4): Likewise.
8547         (libc_cv_as_i686): Likewise.
8548         (libc_cv_sparc_as_vis3): Likewise.
8549         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8550         LIBC_CONFIG_VAR.
8551         (config-asflags-i686): Likewise.
8552         (config-cflags-avx): Likewise.
8553         (config-cflags-sse2avx): Likewise.
8554         (have-mfma4): Likewise.
8555         (config-cflags-novzeroupper): Likewise.
8556         * sysdeps/mach/configure.in (MIG): Likewise.
8557         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8558         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8559         LIBC_CONFIG_VAR.
8560         (config-cflags-avx): Likewise.
8561         (config-cflags-sse2avx): Likewise.
8562         (have-mfma4): Likewise.
8563         (config-cflags-novzeroupper): Likewise.
8564         * configure: Regenerated.
8565         * sysdeps/i386/configure: Likewise.
8566         * sysdeps/mach/configure: Likewise.
8567         * sysdeps/sparc/configure: Likewise.
8568         * sysdeps/x86_64/configure: Likewise.
8569
8570 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8571
8572         [BZ #14812]
8573         * locale/programs/localedef.c (options): Put N_ translation marker
8574         on argument names, not just descriptions.
8575
8576 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8577
8578         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8579
8580 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8581
8582         [BZ #14176]
8583         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8584
8585 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8586
8587         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8588         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8589         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8590         [!BEFORE_ABORT] (before_abort): New function.
8591         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8592         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8593         (writev_for_fatal): New function.
8594         (WRITEV_FOR_FATAL): New macro; call that.
8595         (backtrace_and_maps): New function.
8596         (BEFORE_ABORT): New macro; call that.
8597         (struct str_list): Type removed.
8598         (__libc_message, __libc_fatal): Functions removed.
8599         Include <sysdeps/posix/libc_fatal.c> instead.
8600
8601 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8602
8603         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8604         constants.
8605         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8606         double constants.
8607
8608 2013-03-19  Andreas Schwab  <schwab@suse.de>
8609
8610         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8611         * sysdeps/gnu/configure: Regenerate.
8612
8613         * configure.in: Substitute libc_cv_rtlddir.
8614         * configure: Regenerate.
8615         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8616         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8617         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8618         * elf/Makefile (install-others, CFLAGS-interp.c)
8619         (ldso_install, common-ldd-rewrite): Likewise.
8620         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8621         $(inst_slibdir)/$(rtld-installed-name).
8622         * scripts/rellns-sh: Add -p option.
8623         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8624         for source.
8625
8626 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8627
8628         * manual/nptl.texi: Renamed to ...
8629         * manual/threads.texi: ... this.
8630         * manual/Makefile (chapters): Update.
8631
8632 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8633
8634         [BZ #14812]
8635         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8636         on argument names, not just descriptions.
8637         * malloc/memusagestat.c (options): Likewise.
8638         * nss/getent.c (options): Likewise.
8639
8640 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8641
8642         [BZ #14812]
8643         * iconv/iconv_prog.c (options): Put N_ translation marker
8644         on argument names, not just descriptions.
8645         * iconv/iconvconfig.c (options): Likewise.
8646
8647 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8648
8649         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8650         implementation which is faster on all x86_64 architectures.
8651         Tested on AMD, Intel Nehalem, SNB, IVB.
8652         * sysdeps/x86_64/strnlen.S: Likewise.
8653
8654         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8655         Remove all multiarch strlen and strnlen versions.
8656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8657         Remove strlen and strnlen related parts.
8658
8659         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8660         Inline strlen part.
8661         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8662
8663         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8664         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8665         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8666         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8667         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8668         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8669
8670 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8671
8672         * manual/memory.texi (Malloc Tunable Parameters):
8673         Sort parameters alphabetically. Add comments for missing entries.
8674
8675 2013-03-17  David S. Miller  <davem@davemloft.net>
8676
8677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8678
8679 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8680
8681         [BZ #15283]
8682         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8683         for arguments at most half maximum finite value.
8684         * math/libm-test.inc (j0_test): Add more tests.
8685         (j1_test): Likewise.
8686         (y0_test): Likewise.
8687         (y1_test): Likewise.
8688         * sysdeps/i386/fpu/libm-test-ulps: Update.
8689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8690
8691         [BZ #14155]
8692         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8693         1 / x and functions P and Q for arguments above 0x1p256L.
8694         (__ieee754_y0l): Likewise.
8695         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8696         (__ieee754_y1l): Likewise.
8697         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8698         (j1_test): Likewise.
8699         (y0_test): Likewise.
8700         (y1_test): Likewise.
8701
8702 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8703
8704         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8705         variable.
8706
8707 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8708
8709         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8710         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8711         zero since it's initialized to EXEC_PAGESIZE.
8712
8713         * sysdeps/unix/sysv/linux/ldsodefs.h
8714         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8715         * sysdeps/generic/ldsodefs.h: ... here.
8716
8717 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8718
8719         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8720
8721         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8722         math/test-snan.c.
8723         * math/test-snan.c: Renamed from
8724         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8725         * math/Makefile (tests): Add test-snan.
8726         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8727         test-powerpc-snan.
8728
8729         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8730         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8731         functions.
8732         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8733         __builtin_nan family of functions.
8734         * math/libm-test.inc (initialize): Initialize qnan_value with
8735         __builtin_nan family of functions.
8736         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8737         Remove variables.
8738         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8739         Remove functions.
8740         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8741         storage class.  Initialize qNaN_var and sNaN_var with
8742         __builtin_nan and __builtin_nans families of functions,
8743         respectively.
8744
8745         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8746         (sqrt_test): Remove duplicate test with qNaN input.
8747         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8748         (round_test, signbit_test, significand_test): Note missing +/-Inf
8749         as well as qNaN tests.
8750
8751         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8752         qNaN_var.  Fix a few strings, too.
8753         * math/libm-test.inc (nan_value): Rename to qnan_value.
8754         * math/gen-libm-test.pl (%beautify): Adjust to that.
8755         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8756         * math/test-misc.c (main): Likewise.
8757         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8758         to __qnan_bytes, and __qnan_union, respectively.
8759         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8760         Likewise.
8761         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8762         and lqnanval, respectively.
8763         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8764         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8765         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8766         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8767
8768         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8769         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8770         doubles.
8771
8772         * math/test-misc.c (main): Fix copy'n'pastos.
8773         * misc/tst-efgcvt.c (special): Likewise.
8774
8775         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8776         Remove declarations.
8777
8778 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8779
8780         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8781         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8782         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8783         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8784
8785 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8786
8787         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8788         macro to return vdso values correctly in IFUNC implementations.
8789         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8790         Optimization by using IFUNC.
8791
8792 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8793             Richard Henderson  <rth@redhat.com>
8794             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8795
8796         * Makefile.in (bench): New target.
8797         * NEWS: Mention the benchmark framework.
8798         * Rules (bench): Likewise.
8799         (binaries-bench): Generate binaries for functions to
8800         benchmark.
8801         * benchtests/Makefile: New makefile for benchmark tests.
8802         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8803         programs.
8804         * benchtests/exp-inputs: New input file for EXP function.
8805         * benchtests/pow-inputs: New input file for POW function.
8806         * scripts/bench.pl: New script to generate source files for
8807         benchmark programs.
8808
8809 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8810
8811         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8812         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8813         computations on mantissa.  Use macros for rounding and
8814         division.
8815         (denorm): Likewise.
8816         (__dbl_mp): Likewise.
8817         (add_magnitudes): Likewise.
8818         (sub_magnitudes): Likewise.
8819         (__mul): Likewise.
8820         (__sqr): Likewise.
8821         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8822         powers of two in terms of TWOPOW macro.
8823         (mp_no): Make type of mantissa as MANTISSA_T.
8824         [!RADIXI]: Define RADIXI.
8825         [!TWO52]: Define TWO52.
8826         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8827
8828         * manual/nptl.texi (cindex): Modify threads to pthreads.
8829
8830 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8831
8832         * sysdeps/x86_64/preconfigure: Regenerated.
8833
8834 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8835
8836         [BZ #14155]
8837         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8838         0x1p28 and above.
8839         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8840         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8841         0x1p28 and above.
8842         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8843         * math/libm-test.inc (j0_test): Do not allow one spurious
8844         underflow exception.
8845         (y1_test): Likewise.
8846
8847 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8848
8849         * manual/Makefile (chapters): Add nptl.
8850         * manual/debug.texi (Debugging Support): Add link to Threads
8851         chapter.
8852         * manual/nptl.texi: New file.
8853
8854         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8855
8856 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8857
8858         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8859         for non-NULL pointer before the memory validity test. Pointed
8860         out by Holger Brunck <holger.brunck@keymile.com>.
8861
8862 2013-03-13  Andreas Schwab  <schwab@suse.de>
8863
8864         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8865         instead of .os.
8866
8867 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8868
8869         * timezone/zic.c: Update from tzcode 2013b.
8870
8871 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8872
8873         * manual/install.texi (Configuring and compiling):
8874         Mention i686 and i586.
8875         * INSTALL: Regenerate.
8876
8877 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8878
8879         * sysdeps/init_array/elf-init.c: New file.
8880         * csu/elf-init.c
8881         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8882         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8883
8884         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8885         __gmon_start__ as global, but as static with a .preinit_array pointer.
8886         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8887         * sysdeps/init_array/crti.S: New file, empty except for comments.
8888         * sysdeps/init_array/crtn.S: Likewise.
8889
8890 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8891
8892         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8893         definining bcopy.
8894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8895         Remove Prefer_SSE_for_memop.
8896         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8897         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8898         HAS_PREFER_SSE_FOR_MEMOP.
8899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8900         memset-x86-64.
8901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8902         Remove bzero, memset ifunc support.
8903         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8904         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8905         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8906         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8907
8908 2013-03-11  Andreas Schwab  <schwab@suse.de>
8909
8910         [BZ #15234]
8911         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8912         by SHLIB_COMPAT.
8913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8914         (GLIBC_2.16): Remove pthread_atfork.
8915
8916 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8917
8918         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8919         (ptestcases.h): Likewise.
8920
8921 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8922
8923         * Makeconfig ($(common-objpfx)config.status): Depend on
8924         sysdeps/*/preconfigure{,.in} too.
8925
8926 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8927
8928         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8929         (__free_hook): Use void * instead of __malloc_ptr_t.
8930         (__malloc_hook): Likewise.
8931         (__realloc_hook): Likewise.
8932         (__memalign_hook): Likewise.
8933         (__after_morecore_hook): Likewise.
8934         * malloc/arena.c (save_malloc_hook): Likewise.
8935         (save_free_hook): Likewise.
8936         * malloc/hooks.c (malloc_hook_ini): Likewise.
8937         (realloc_hook_ini): Likewise.
8938         (memalign_hook_ini): Likewise.
8939         * malloc/malloc.c (malloc_hook_ini): Likewise.
8940         (realloc_hook_ini): Likewise.
8941         (memalign_hook_ini): Likewise.
8942         (__free_hook): Likewise.
8943         (__malloc_hook): Likewise.
8944         (__realloc_hook): Likewise.
8945         (__memalign_hook): Likewise.
8946         (__libc_malloc): Likewise.
8947         (__libc_free): Likewise.
8948         (__libc_realloc): Likewise.
8949         (__libc_memalign): Likewise.
8950         (__libc_valloc): Likewise.
8951         (__libc_pvalloc): Likewise.
8952         (__libc_calloc): Likewise.
8953         (__posix_memalign): Likewise.
8954         * malloc/morecore.c (__sbrk): Likewise.
8955         (__default_morecore): Likewise.
8956
8957         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8958
8959         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8960         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8961         __malloc_ptrdiff_t.
8962
8963         * malloc/malloc.h (__malloc_size_t): Remove macro.
8964         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8965         __malloc_size_t.
8966         (old_memalign_hook): Likewise.
8967         (old_realloc_hook): Likewise.
8968         (struct hdr): Likewise.
8969         (flood): Likewise.
8970         (mallochook): Likewise.
8971         (memalignhook): Likewise.
8972         (reallochook): Likewise.
8973         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8974         (tr_old_realloc_hook): Likewise.
8975         (tr_old_memalign_hook): Likewise.
8976         (tr_mallochook): Likewise.
8977         (tr_reallochook): Likewise.
8978         (tr_memalignhook): Likewise.
8979
8980 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8981
8982         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8983         default_ldbl_pack and using as default implementation.
8984         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8985         implementation.
8986         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8987         redundant definition.
8988         (ldbl_insert_mantissa): Likewise.
8989         (ldbl_canonicalize): Likewise.
8990         (ldbl_nearbyint): Likewise.
8991         (ldbl_pack): Rename to ldbl_pack_ppc.
8992         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8993         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8994         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8995
8996 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8997
8998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8999         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9000         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9001         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9002         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9003         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9004         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9005         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9006
9007 2013-03-07  Andreas Jaeger  <aj@suse.de>
9008
9009         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9010         bits/mman-linux.h.
9011
9012 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9013
9014         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9015         Include mpa.h and declare __MPEXP.
9016         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9017         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9018         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9019         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9020         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9021         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9022         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9023
9024         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9025         (__slowpow): Use long double EXPL and LOGL functions to
9026         compute POW.
9027         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9028         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9029         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9030         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9031         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9032         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9033
9034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9035         intermediate variable to calculate exponent.
9036         (__sqr): Likewise.
9037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9038         Likewise.
9039         (__sqr): Likewise.
9040
9041         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9042         [!NO__SQR]: Define __sqr.
9043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9044         and NO__SQR.  Remove all code except __mul and __sqr.  Include
9045         sysdeps/ieee754/dbl-64/mpa.c.
9046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9047
9048         [BZ #12723]
9049         * posix/Makefile (tests): Add tst-pathconf.
9050         * posix/tst-pathconf.c: New test case.
9051         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9052         _PC_PIPE_BUF.
9053         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9054
9055 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
9056
9057         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9058
9059 2013-03-06  Andreas Jaeger  <aj@suse.de>
9060
9061         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9062         definition via __MAP_ANONYMOUS.
9063
9064         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9065         it's not part of Linux headers.
9066
9067         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9068         (MAP_HUGE_MASK): Define.
9069
9070         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9071         Define.
9072         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9073         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9074         Define.
9075         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9076         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9077         Define.
9078         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9079         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9080         Define.
9081         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9082
9083         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9084         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9085         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9086         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9087         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9088         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9089
9090         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9091         Handle f2fs.
9092
9093         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9094         Handle f2fs and efivarfs.
9095
9096         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9097         f2fs.
9098
9099         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9100         (EFIVARFS_MAGIC): Add.
9101         (F2FS_LINK_MAX): Add.
9102
9103 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9104
9105         * stdio-common/vfprintf.c: Replace __builtin_expect with
9106         __glibc_unlikely.
9107
9108 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
9109
9110         [BZ #13550]
9111         * sysdeps/generic/bp-sym.h: Remove file.
9112         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9113         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9114         <bp-sym.h> and <bp-asm.h>.
9115         (__longjmp): Don't use BP_SYM.
9116         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9117         and <bp-asm.h>.
9118         (memcpy): Don't use BP_SYM.
9119         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9120         <bp-sym.h> and <bp-asm.h>.
9121         (memcpy): Don't use BP_SYM.
9122         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9123         <bp-asm.h>.
9124         (memcpy): Don't use BP_SYM.
9125         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9126         <bp-asm.h>.
9127         (memset): Don't use BP_SYM.
9128         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9129         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9130         (__bzero): Don't use BP_SYM.
9131         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9132         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9133         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9134         <bp-sym.h> and <bp-asm.h>.
9135         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9136         pointers.
9137         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9138         <bp-sym.h> and <bp-asm.h>.
9139         (memcpy): Don't use BP_SYM.
9140         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9141         <bp-sym.h> and <bp-asm.h>.
9142         (memset): Don't use BP_SYM.
9143         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9144         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9145         (__bzero): Don't use BP_SYM.
9146         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9147         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9148         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9149         <bp-sym.h> and <bp-asm.h>.
9150         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9151         pointers.
9152         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9153         <bp-sym.h> and <bp-asm.h>.
9154         (memcpy): Don't use BP_SYM.
9155         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9156         <bp-sym.h> and <bp-asm.h>.
9157         (memset): Don't use BP_SYM.
9158         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9159         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9160         (__bzero): Don't use BP_SYM.
9161         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9162         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9163         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9164         <bp-sym.h> and <bp-asm.h>.
9165         (__memchr): Don't use BP_SYM.
9166         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9167         <bp-sym.h> and <bp-asm.h>.
9168         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9169         pointers.
9170         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9171         <bp-sym.h> and <bp-asm.h>.
9172         (memcpy): Don't use BP_SYM.
9173         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9174         <bp-sym.h> and <bp-asm.h>.
9175         (__mempcpy): Don't use BP_SYM.
9176         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9177         <bp-sym.h> and <bp-asm.h>.
9178         (__memrchr): Don't use BP_SYM.
9179         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9180         <bp-sym.h> and <bp-asm.h>.
9181         (memset): Don't use BP_SYM.
9182         (__bzero): Likewise.
9183         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9184         <bp-sym.h> and <bp-asm.h>.
9185         (__rawmemchr): Don't use BP_SYM.
9186         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9187         <bp-sym.h> and <bp-asm.h>.
9188         (__STRCMP): Don't use BP_SYM.
9189         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9190         <bp-sym.h> and <bp-asm.h>.
9191         (strchr): Don't use BP_SYM.
9192         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9193         <bp-sym.h> and <bp-asm.h>.
9194         (__strchrnul): Don't use BP_SYM.
9195         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9196         <bp-sym.h> and <bp-asm.h>.
9197         (strlen): Don't use BP_SYM.
9198         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9199         <bp-sym.h> and <bp-asm.h>.
9200         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9201         pointers.
9202         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9203         <bp-sym.h> and <bp-asm.h>.
9204         (__strnlen): Don't use BP_SYM.
9205         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9206         <bp-sym.h> and <bp-asm.h>.
9207         (__GI__setjmp): Don't use BP_SYM.
9208         (_setjmp): Likewise.
9209         (__sigsetjmp): Likewise.
9210         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9211         (L(start_addresses)): Don't use BP_SYM.
9212         (_start): Likewise.
9213         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9214         <bp-asm.h>.
9215         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9216         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9217         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9218         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9219         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9220         <bp-asm.h>.
9221         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9222         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
9223         about bounded pointers.
9224         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9225         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9226         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9227         <bp-asm.h>.
9228         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9229         about bounded pointers.  Remove GKM FIXME comments.
9230         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9231         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9232         <bp-asm.h>.
9233         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9234         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
9235         Remove GKM FIXME comments.
9236         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9237         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9238         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9239         <bp-asm.h>.
9240         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9241         about bounded pointers.  Remove GKM FIXME comment.
9242         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9243         and <bp-asm.h>.
9244         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9245         pointers.
9246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9247         <bp-sym.h> and <bp-asm.h>.
9248         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9250         <bp-sym.h> and <bp-asm.h>.
9251         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9252         comment.
9253
9254 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9255
9256         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9257         call free(NULL).
9258
9259 2013-03-05  David S. Miller  <davem@davemloft.net>
9260
9261         * po/es.po: Update from translation team.
9262
9263 2013-03-05  Andreas Jaeger  <aj@suse.de>
9264
9265         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9266         <bits/mman-linux.h>.
9267         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9268         is fine.
9269         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9270         <bits/mman-linux.h> to end of file.
9271         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9272         is fine.
9273         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9274         <bits/mman-linux.h> to end of file.
9275         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9276         is fine.
9277         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9278         <bits/mman-linux.h> to end of file.
9279
9280         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9281         (MCL_CURRENT, MCL_FUTURE): Define here.
9282
9283 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9284
9285         [BZ #15232]
9286         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9287         attribute_hidden.
9288         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9289
9290 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9291
9292         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9293         fourth parameter needed for rt_sigprocmask syscall.
9294         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9295         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9296         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9297         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9298         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9299         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9300
9301 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
9302
9303         [BZ #13550]
9304         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9305         comment about bounded pointers.
9306         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9307         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9308
9309 2013-03-04  Andreas Jaeger  <aj@suse.de>
9310
9311         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9312         common definitions.
9313
9314         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9315         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9316         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9317         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9318         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9319         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9320
9321 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9322
9323         [BZ #15055]
9324         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9325         __ieee754_sqrl instead of __sqrl.
9326
9327 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
9328
9329         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9330         * sysdeps/powerpc/fpu_control.h: ... here.
9331         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9332         * sysdeps/powerpc/bits/fenvinline.h: ... here.
9333         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9334         * sysdeps/powerpc/bits/mathinline.h: ... here.
9335
9336 2013-03-01  Roland McGrath  <roland@hack.frob.com>
9337
9338         * elf/dl-hwcaps.c (_dl_important_hwcaps):
9339         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9340         to just [NEED_DL_SYSINFO_DSO].
9341         * elf/dl-support.c: Likewise.
9342         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9343         * elf/rtld.c (dl_main): Likewise.
9344         * elf/setup-vdso.h (setup_vdso): Likewise.
9345         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9346         * sysdeps/unix/sysv/linux/dl-sysdep.c
9347         (_dl_discover_osversion): Likewise.
9348
9349 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
9350
9351         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9352         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9353
9354 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9355
9356         * NEWS: Mention libm performance improvements and non-x86 PI
9357         futex support.
9358
9359         * csu/libc-start.c (__pthread_initialize_minimal): Change
9360         function arguments.
9361         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9362
9363 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
9364
9365         [BZ #13550]
9366         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9367         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9368         <bp-sym.h> and <bp-asm.h>.
9369         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9370         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9371         and <bp-asm.h>.
9372         (memcpy): Don't use BP_SYM.
9373         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9374         <bp-asm.h>.
9375         (__mpn_add_n): Don't use BP_SYM.
9376         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9377         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9378         and <bp-asm.h>.
9379         (__mpn_addmul_1): Don't use BP_SYM.
9380         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9381         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9382         <bp-sym.h>.
9383         (_setjmp): Don't use BP_SYM.
9384         (__novmx_setjmp): Likewise.
9385         (__GI__setjmp): Likewise.
9386         (__vmx_setjmp): Likewise.
9387         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9388         <bp-sym.h>.
9389         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9390         (__bzero): Don't use BP_SYM.
9391         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9392         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9393         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9394         <bp-sym.h> and <bp-asm.h>.
9395         (memcpy): Don't use BP_SYM.
9396         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9397         <bp-sym.h> and <bp-asm.h>.
9398         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9399         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9400         <bp-sym.h> and <bp-asm.h>.
9401         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9402         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9403         <bp-asm.h>.
9404         (__mpn_lshift): Don't use BP_SYM.
9405         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9406         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9407         <bp-asm.h>.
9408         (memset): Don't use BP_SYM.
9409         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9410         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9411         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9412         <bp-asm.h>.
9413         (__mpn_mul_1): Don't use BP_SYM.
9414         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9415         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9416         <bp-sym.h> and <bp-asm.h>.
9417         (memcmp): Don't use BP_SYM.
9418         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9419         <bp-sym.h> and <bp-asm.h>.
9420         (memcpy): Don't use BP_SYM.
9421         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9422         <bp-sym.h> and <bp-asm.h>.
9423         (memset): Don't use BP_SYM.
9424         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9425         <bp-sym.h> and <bp-asm.h>.
9426         (strncmp): Don't use BP_SYM.
9427         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9428         <bp-sym.h> and <bp-asm.h>.
9429         (memcpy): Don't use BP_SYM.
9430         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9431         <bp-sym.h> and <bp-asm.h>.
9432         (memset): Don't use BP_SYM.
9433         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9434         <bp-sym.h> and <bp-asm.h>.
9435         (__memchr): Don't use BP_SYM.
9436         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9437         <bp-sym.h> and <bp-asm.h>.
9438         (memcmp): Don't use BP_SYM.
9439         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9440         <bp-sym.h> and <bp-asm.h>.
9441         (memcpy): Don't use BP_SYM.
9442         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9443         <bp-sym.h> and <bp-asm.h>.
9444         (__mempcpy): Don't use BP_SYM.
9445         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9446         <bp-sym.h> and <bp-asm.h>.
9447         (__memrchr): Don't use BP_SYM.
9448         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9449         <bp-sym.h> and <bp-asm.h>.
9450         (memset): Don't use BP_SYM.
9451         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9452         <bp-sym.h> and <bp-asm.h>.
9453         (__rawmemchr): Don't use BP_SYM.
9454         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9455         <bp-sym.h> and <bp-asm.h>.
9456         (__STRCMP): Don't use BP_SYM.
9457         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9458         <bp-sym.h> and <bp-asm.h>.
9459         (strchr): Don't use BP_SYM.
9460         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9461         <bp-sym.h> and <bp-asm.h>.
9462         (__strchrnul): Don't use BP_SYM.
9463         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9464         <bp-sym.h> and <bp-asm.h>.
9465         (strlen): Don't use BP_SYM.
9466         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9467         <bp-sym.h> and <bp-asm.h>.
9468         (strncmp): Don't use BP_SYM.
9469         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9470         <bp-sym.h> and <bp-asm.h>.
9471         (__strnlen): Don't use BP_SYM.
9472         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9473         <bp-asm.h>.
9474         (__mpn_rshift): Don't use BP_SYM.
9475         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9476         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9477         <bp-sym.h> and <bp-asm.h>.
9478         (__sigsetjmp): Don't use BP_SYM.
9479         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9480         (L(start_addresses)): Don't use BP_SYM.
9481         (_start): Likewise.
9482         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9483         <bp-asm.h>.
9484         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9485         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9486         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9487         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9488         <bp-asm.h>.
9489         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9490         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9491         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9492         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9493         <bp-asm.h>.
9494         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9495         comments.
9496         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9497         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9498         <bp-asm.h>.
9499         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9500         FIXME comments.
9501         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9502         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9503         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9504         <bp-asm.h>.
9505         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9506         comment.
9507         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9508         and <bp-asm.h>.
9509         (strncmp): Don't use BP_SYM,
9510         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9511         <bp-asm.h>.
9512         (__mpn_sub_n): Don't use BP_SYM.
9513         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9514         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9515         and <bp-asm.h>.
9516         (__mpn_submul_1): Don't use BP_SYM.
9517         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9519         <bp-sym.h> and <bp-asm.h>.
9520         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9522         <bp-sym.h> and <bp-asm.h>.
9523         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9524         comment.
9525
9526 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9527
9528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9529         Use ZK to minimize writes to Z.
9530         (sub_magnitudes): Simplify code a bit.
9531         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9532         Use ZK to minimize writes to Z.
9533         (sub_magnitudes): Simplify code a bit.
9534
9535 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9536
9537         * csu/gmon-start.c: Add special exception to license text.
9538
9539 2013-02-27  Richard Henderson  <rth@redhat.com>
9540
9541         * scripts/config.guess: Update from config.git.
9542         * scripts/config.sub: Likewise.
9543
9544 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9545
9546         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9547
9548         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9549
9550         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9551
9552         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9553
9554         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9555
9556 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9557
9558         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9559         [$(build-shared = yes].
9560
9561 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9562
9563         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9564         (__mul): Reduce iterations for calculating mantissa.
9565
9566         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9567         MPTWO.
9568         (__mpranred): Likewise.
9569
9570         [BZ #15160]
9571         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9572         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9573
9574 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9575
9576         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9577         Define __attribute__.
9578
9579 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9580
9581         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9582         unused.
9583         * posix/regex_internal.h (__attribute): Remove.
9584         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9585         (re_string_context_at): Likewise.
9586         (bitset_not): Use __attribute__ and mark function as possibly
9587         unused.
9588         (bitset_merge): Likewise.
9589         (bitset_mask): Likewise.
9590         (re_string_char_size_at): Likewise.
9591         (re_string_wchar_at): Likewise.
9592         (re_string_elem_size_at): Likewise.
9593
9594 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9595
9596         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9597         code.
9598         (cc32): Likewise.
9599
9600         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9601         (__acr): Likewise.
9602         (__cpy): Likewise.
9603         (norm): Likewise.
9604         (denorm): Likewise.
9605         (__dbl_mp): Likewise.
9606         (add_magnitudes): Likewise.
9607         (sub_magnitudes): Likewise.
9608         (__mul): Likewise.
9609         (__inv): Likewise.
9610
9611         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9612         style.
9613
9614         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9615         style.
9616
9617         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9618         code.
9619
9620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9621         up changes with default code.
9622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9623         Likewise.
9624
9625 2013-02-24  Allan McRae  <allan@archlinux.org>
9626
9627         * manual/socket.texi (The Internet Namespace): Order menu items
9628         to match that in the file.
9629
9630         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9631         node listing of the info page menu.
9632
9633 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9634
9635         [BZ #13550]
9636         * sysdeps/i386/bp-asm.h: Remove file.
9637         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9638         (PARMS): Do not use macros from bp-asm.h.
9639         (S1): Likewise.
9640         (S2): Likewise.
9641         (SIZE): Likewise.
9642         (__mpn_add_n): Do not use BP_SYM
9643         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9644         "bp-asm.h".
9645         (PARMS): Do not use macros from bp-asm.h.
9646         (S1): Likewise.
9647         (SIZE): Likewise.
9648         (__mpn_addmul_1): Do not use BP_SYM
9649         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9650         "bp-asm.h".
9651         (PARMS): Do not use macros from bp-asm.h.
9652         (SIGMSK): Likewise.
9653         (_setjmp): Likewise.  Do not use BP_SYM.
9654         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9655         "bp-asm.h".
9656         (PARMS): Do not use macros from bp-asm.h.
9657         (SIGMSK): Likewise.
9658         (setjmp): Likewise.  Do not use BP_SYM.
9659         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9660         "bp-asm.h".
9661         (PARMS): Do not use macros from bp-asm.h.
9662         (__frexp): Do not use BP_SYM.
9663         (frexp): Likewise.
9664         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9665         "bp-asm.h".
9666         (PARMS): Do not use macros from bp-asm.h.
9667         (__frexpf): Do not use BP_SYM.
9668         (frexpf): Likewise.
9669         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9670         "bp-asm.h".
9671         (PARMS): Do not use macros from bp-asm.h.
9672         (__frexpl): Do not use BP_SYM.
9673         (frexpl): Likewise.
9674         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9675         "bp-asm.h".
9676         (PARMS): Do not use macros from bp-asm.h.
9677         (__remquo): Do not use BP_SYM.
9678         (remquo): Likewise.
9679         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9680         "bp-asm.h".
9681         (PARMS): Do not use macros from bp-asm.h.
9682         (__remquof): Do not use BP_SYM.
9683         (remquof): Likewise.
9684         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9685         "bp-asm.h".
9686         (PARMS): Do not use macros from bp-asm.h.
9687         (__remquol): Do not use BP_SYM.
9688         (remquol): Likewise.
9689         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9690         "bp-asm.h".
9691         (PARMS): Do not use macros from bp-asm.h.
9692         (DEST): Likewise.
9693         (SRC): Likewise.
9694         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9695         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9696         "bp-asm.h".
9697         (PARMS): Do not use macros from bp-asm.h.
9698         (strlen): Do not use BP_SYM.
9699         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9700         "bp-asm.h".
9701         (PARMS): Do not use macros from bp-asm.h.
9702         (S1): Likewise.
9703         (S2): Likewise.
9704         (SIZE): Likewise.
9705         (__mpn_add_n): Do not use BP_SYM.
9706         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9707         "bp-asm.h".
9708         (PARMS): Do not use macros from bp-asm.h.
9709         (S1): Likewise.
9710         (SIZE): Likewise.
9711         (__mpn_addmul_1): Do not use BP_SYM.
9712         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9713         weak_alias.
9714         (bzero): Likewise.
9715         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9716         "bp-asm.h".
9717         (PARMS): Do not use macros from bp-asm.h.
9718         (S): Likewise.
9719         (SIZE): Likewise.
9720         (__mpn_lshift): Do not use BP_SYM.
9721         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9722         "bp-asm.h".
9723         (PARMS): Do not use macros from bp-asm.h.
9724         (DEST): Likewise.
9725         (SRC): Likewise.
9726         (LEN): Likewise.
9727         (memcpy): Likewise.  Do not use BP_SYM.
9728         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9729         libc_hidden_def and weak_alias.
9730         (mempcpy): Do not use BP_SYM in weak_alias.
9731         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9732         "bp-asm.h".
9733         (PARMS): Do not use macros from bp-asm.h.
9734         (DEST): Likewise.
9735         (LEN): Likewise.
9736         [!BZERO_P] (CHR): Likewise.
9737         (memset): Likewise.  Do not use BP_SYM.
9738         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9739         "bp-asm.h".
9740         (PARMS): Do not use macros from bp-asm.h.
9741         (S1): Likewise.
9742         (SIZE): Likewise.
9743         (__mpn_mul_1): Do not use BP_SYM.
9744         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9745         "bp-asm.h".
9746         (PARMS): Do not use macros from bp-asm.h.
9747         (S): Likewise.
9748         (SIZE): Likewise.
9749         (__mpn_rshift): Do not use BP_SYM.
9750         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9751         "bp-asm.h".
9752         (PARMS): Do not use macros from bp-asm.h.
9753         (STR): Likewise.
9754         (CHR): Likewise.
9755         (strchr): Likewise.  Do not use BP_SYM.
9756         (index): Do not use BP_SYM in weak_alias.
9757         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9758         "bp-asm.h".
9759         (PARMS): Do not use macros from bp-asm.h.
9760         (DEST): Likewise.
9761         (SRC): Likewise.
9762         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9763         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9764         "bp-asm.h".
9765         (PARMS): Do not use macros from bp-asm.h.
9766         (strlen): Do not use BP_SYM.
9767         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9768         "bp-asm.h".
9769         (PARMS): Do not use macros from bp-asm.h.
9770         (S1): Likewise.
9771         (S2): Likewise.
9772         (SIZE): Likewise.
9773         (__mpn_sub_n): Do not use BP_SYM.
9774         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9775         "bp-asm.h".
9776         (PARMS): Do not use macros from bp-asm.h.
9777         (S1): Likewise.
9778         (SIZE): Likewise.
9779         (__mpn_submul_1): Do not use BP_SYM.
9780         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9781         "bp-asm.h".
9782         (PARMS): Do not use macros from bp-asm.h.
9783         (S1): Likewise.
9784         (S2): Likewise.
9785         (SIZE): Likewise.
9786         (__mpn_add_n): Do not use BP_SYM.
9787         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9788         weak_alias.
9789         (bzero): Likewise.
9790         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9791         "bp-asm.h".
9792         (PARMS): Do not use macros from bp-asm.h.
9793         (BLK2): Likewise.
9794         (LEN): Likewise.
9795         (memcmp): Do not use BP_SYM.
9796         (bcmp): Do not use BP_SYM in weak_alias.
9797         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9798         "bp-asm.h".
9799         (PARMS): Do not use macros from bp-asm.h.
9800         (DEST): Likewise.
9801         (SRC): Likewise.
9802         (LEN): Likewise.
9803         (memcpy): Likewise.  Do not use BP_SYM.
9804         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9805         "bp-asm.h".
9806         (PARMS): Do not use macros from bp-asm.h.
9807         (DEST): Likewise.
9808         (SRC): Likewise.
9809         (LEN): Likewise.
9810         (memmove): Likewise.  Do not use BP_SYM.
9811         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9812         "bp-asm.h".
9813         (PARMS): Do not use macros from bp-asm.h.
9814         (DEST): Likewise.
9815         (SRC): Likewise.
9816         (LEN): Likewise.
9817         (__mempcpy): Likewise.  Do not use BP_SYM.
9818         (mempcpy): Do not use BP_SYM in weak_alias.
9819         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9820         "bp-asm.h".
9821         (PARMS): Do not use macros from bp-asm.h.
9822         (DEST): Likewise.
9823         (LEN): Likewise.
9824         [!BZERO_P] (CHR): Likewise.
9825         (memset): Likewise.  Do not use BP_SYM.
9826         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9827         "bp-asm.h".
9828         (PARMS): Do not use macros from bp-asm.h.
9829         (STR2): Likewise.
9830         (strcmp): Do not use BP_SYM.
9831         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9832         "bp-asm.h".
9833         (PARMS): Do not use macros from bp-asm.h.
9834         (STR): Likewise.
9835         (DELIM): Likewise.
9836         [USE_AS_STRTOK_R] (SAVE): Likewise.
9837         (FUNCTION): Likewise.  Do not use BP_SYM.
9838         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9839         aliases.
9840         (strtok_r): Likewise.
9841         (__GI___strtok_r): Likewise.
9842         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9843         (PARMS): Do not use macros from bp-asm.h.
9844         (S): Likewise.
9845         (SIZE): Likewise.
9846         (__mpn_lshift): Do not use BP_SYM.
9847         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9848         (PARMS): Do not use macros from bp-asm.h.
9849         (STR): Likewise.
9850         (CHR): Likewise.
9851         (__memchr): Do not use BP_SYM.
9852         (memchr): Do not use BP_SYM in weak_alias.
9853         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9854         (PARMS): Do not use macros from bp-asm.h.
9855         (BLK2): Likewise.
9856         (LEN): Likewise.
9857         (memcmp): Do not use BP_SYM.
9858         (bcmp): Do not use BP_SYM in weak_alias.
9859         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9860         (PARMS): Do not use macros from bp-asm.h.
9861         (S1): Likewise.
9862         (SIZE): Likewise.
9863         (__mpn_mul_1): Do not use BP_SYM.
9864         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9865         "bp-asm.h".
9866         (PARMS): Do not use macros from bp-asm.h.
9867         (STR): Likewise.
9868         (CHR): Likewise.
9869         (__rawmemchr): Do not use BP_SYM.
9870         (rawmemchr): Do not use BP_SYM in weak_alias.
9871         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9872         (PARMS): Do not use macros from bp-asm.h.
9873         (S): Likewise.
9874         (SIZE): Likewise.
9875         (__mpn_rshift): Do not use BP_SYM.
9876         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9877         (PARMS): Do not use macros from bp-asm.h.
9878         (SIGMSK): Likewise.
9879         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9880         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9881         (_start): Do not use BP_SYM.
9882         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9883         (PARMS): Do not use macros from bp-asm.h.
9884         (DEST): Likewise.
9885         (SRC): Likewise.
9886         (__stpcpy): Likewise.  Do not use BP_SYM.
9887         (stpcpy): Do not use BP_SYM in weak_alias.
9888         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9889         "bp-asm.h".
9890         (PARMS): Do not use macros from bp-asm.h.
9891         (DEST): Likewise.
9892         (SRC): Likewise.
9893         (LEN): Likewise.
9894         (__stpncpy): Likewise.  Do not use BP_SYM.
9895         (stpncpy): Do not use BP_SYM in weak_alias.
9896         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9897         (PARMS): Do not use macros from bp-asm.h.
9898         (STR): Likewise.
9899         (CHR): Likewise.
9900         (strchr): Likewise.  Do not use BP_SYM.
9901         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9902         "bp-asm.h".
9903         (PARMS): Do not use macros from bp-asm.h.
9904         (STR): Likewise.
9905         (CHR): Likewise.
9906         (__strchrnul): Likewise.  Do not use BP_SYM.
9907         (strchrnul): Do not use BP_SYM in weak_alias.
9908         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9909         "bp-asm.h".
9910         (PARMS): Do not use macros from bp-asm.h.
9911         (STOP): Likewise.
9912         (strcspn): Do not use BP_SYM.
9913         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9914         "bp-asm.h".
9915         (PARMS): Do not use macros from bp-asm.h.
9916         (STR): Likewise.
9917         (STOP): Likewise.
9918         (strpbrk): Likewise.  Do not use BP_SYM.
9919         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9920         "bp-asm.h".
9921         (PARMS): Do not use macros from bp-asm.h.
9922         (STR): Likewise.
9923         (CHR): Likewise.
9924         (strrchr): Likewise.  Do not use BP_SYM.
9925         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9926         (PARMS): Do not use macros from bp-asm.h.
9927         (SKIP): Likewise.
9928         (strspn): Do not use BP_SYM.
9929         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9930         (PARMS): Do not use macros from bp-asm.h.
9931         (STR): Likewise.
9932         (DELIM): Likewise.
9933         (SAVE): Likewise.
9934         (FUNCTION): Likewise.  Do not use BP_SYM.
9935         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9936         aliases.
9937         (strtok_r): Likewise.
9938         (__GI___strtok_r): Likewise.
9939         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9940         (PARMS): Do not use macros from bp-asm.h.
9941         (S1): Likewise.
9942         (S2): Likewise.
9943         (SIZE): Likewise.
9944         (__mpn_sub_n): Do not use BP_SYM.
9945         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9946         "bp-asm.h".
9947         (PARMS): Do not use macros from bp-asm.h.
9948         (S1): Likewise.
9949         (SIZE): Likewise.
9950         (__mpn_submul_1): Do not use BP_SYM.
9951         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9952         <bp-sym.h>.
9953         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9954         and <bp-asm.h>.
9955         (PARMS): Do not use macros from bp-asm.h.
9956         (FLAGS): Likewise.
9957         (PTID): Likewise.
9958         (TLS): Likewise.
9959         (CTID): Likewise.
9960         (__clone): Do not use BP_SYM.
9961         (clone): Do not use BP_SYM in weak_alias.
9962         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9963         and <bp-asm.h>.
9964         (PARMS): Do not use macros from bp-asm.h.
9965         (LEN): Likewise.
9966         (__mmap64): Do not use BP_SYM.
9967         (mmap64): Do not use BP_SYM in weak_alias.
9968         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9969         <bp-sym.h> and <bp-asm.h>.
9970         (PARMS): Do not use macros from bp-asm.h.
9971         (__posix_fadvise64_l64): Do not use BP_SYM.
9972         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9973         (PARMS): Do not use macros from bp-asm.h.
9974         (NSOPS): Likewise.
9975         (semtimedop): Do not use BP_SYM.
9976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9977         and <bp-asm.h>.
9978
9979 2013-02-21  Allan McRae  <allan@archlinux.org>
9980
9981         * manual/message.texi (Charset conversion in gettext):
9982         Move @end statement to beginning of line.
9983
9984 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9985
9986         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9987         static.
9988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9989         Likewise.
9990
9991         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9992         (denorm): Likewise.
9993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9995
9996 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9997
9998         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9999         tail-call to the resolved function if pltexit isn't needed.
10000
10001 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10002
10003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10004         or Y being zero as being unlikely.
10005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10006         Likewise.
10007
10008 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
10009
10010         * manual/nss.texi (System Databases and Name Service Switch):
10011         Remove frobnicate @pxref.
10012
10013 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10014
10015         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10016         __attribute__ ((unused)) to __attribute__ ((__unused__)).
10017
10018 2013-02-20  Petr Machata  <pmachata@redhat.com>
10019
10020         * elf/elf.h (R_ARM_TARGET1): New macro.
10021         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10022         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10023         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10024         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10025         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10026         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10027         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10028         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10029         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10030         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10031         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10032         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10033         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10034         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10035         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10036         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10037         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10038         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10039         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10040         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10041         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10042         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10043         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10044         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10045         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10046         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10047         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10048         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10049         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10050         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10051         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10052         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10053         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10054         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10055         (R_ARM_THM_GOT_BREL12): Likewise.
10056         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10057         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10058         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10059         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10060         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10061         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10062         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10063         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10064         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10065
10066 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10067
10068         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10069         __attribute_used__ to __attribute__ ((unused)).
10070
10071 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10072
10073         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10074         powerpc mpa.c.
10075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10076         comment formatting.
10077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10078
10079 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
10080
10081         [BZ #13550]
10082         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10083         Remove macro.
10084         (ENTER): Remove both macro definitions.
10085         (LEAVE): Likewise.
10086         (CHECK_BOUNDS_LOW): Likewise.
10087         (CHECK_BOUNDS_HIGH): Likewise.
10088         (CHECK_BOUNDS_BOTH): Likewise.
10089         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10090         (RETURN_BOUNDED_POINTER): Likewise.
10091         (RETURN_NULL_BOUNDED_POINTER): Likewise.
10092         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10093         (POP_ERRNO_LOCATION_RETURN): Likewise.
10094         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10095         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10096         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10097         macros.
10098         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10099         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10100         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10101         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10102         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10103         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10104         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10105         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10106         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10107         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10108         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10109         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10110         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10111         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10112         removed macros.
10113         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10114         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10115         macros.
10116         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10117         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10118         * sysdeps/i386/i586/memset.S (memset): Likewise.
10119         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10120         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10121         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10122         macros.
10123         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10124         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10125         Change uses of L(2) to L(out).
10126         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10127         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10128         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10129         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10130         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10131         removed macros.
10132         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10133         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10134         macros.
10135         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10136         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10137         (RETURN): Do not use macro LEAVE.
10138         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10139         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10140         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10141         * sysdeps/i386/i686/memset.S (memset): Likewise.
10142         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10143         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10144         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10145         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10146         Likewise.
10147         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10148         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
10149         L(1_2) and L(1_3) into L(1).
10150         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10151         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10152         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10153         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10154         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10155         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10156         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10157         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10158         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10159         macros.
10160         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10161         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10162         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10163         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10164         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10165         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10166         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10167         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10168         * sysdeps/i386/strcspn.S (strcspn): Likewise.
10169         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10170         * sysdeps/i386/strrchr.S (strrchr): Likewise.
10171         * sysdeps/i386/strspn.S (strspn): Likewise.
10172         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10173         conditional code.
10174         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10175         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10176         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10177         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
10178         L(1_3) into L(1_1).
10179         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10180         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10181         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10182         macros.
10183         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10184
10185 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
10186
10187         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10188         macro.
10189
10190 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10191
10192         * math/atest-exp.c (exp_mpn): Remove ROUND.
10193         * math/atest-exp2.c (exp_mpn): Likewise.
10194         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10195
10196         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10197         * stdlib/tst-tls-atexit-lib.c: Likewise.
10198         * stdlib/tst-tls-atexit.c: Likewise.
10199
10200 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10201
10202         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10203         and __attribute_alloc_size__.
10204
10205 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10206
10207         * include/programs/xmalloc.h: Change __attribute_alloc_size to
10208         __attribute_alloc_size__.
10209         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10210         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10211
10212 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10213
10214         * include/programs/xmalloc.h: New file.
10215         * catgets/gencat.c: Include it.
10216         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10217         * elf/pldd.c: Likewise.
10218         * iconv/iconv_charmap.c: Likewise.
10219         * iconv/iconvconfig.c: Likewise.
10220         * iconv/strtab.c: Likewise.
10221         * locale/programs/locale.c: Likewise.
10222         * locale/programs/localedef.h: Likewise.
10223         * locale/programs/simple-hash.c: Likewise.
10224         * nscd/nscd.h: Likewise.
10225         * nss/makedb.c: Likewise.
10226         * sysdeps/generic/ldconfig.h: Likewise.
10227
10228 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10229
10230         * Versions.def: Add GLIBC_2.18.
10231         * include/link.h (struct link_map): New member l_tls_dtor_count.
10232         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10233         (__call_tls_dtors): Likewise.
10234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10235         __cxa_thread_atexit_impl.
10236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10237         Likewise.
10238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10239         Likewise.
10240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10241         Likewise.
10242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10243         Likewise.
10244         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10246         Likewise.
10247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10248         Likewise.
10249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10251         Likewise.
10252         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10253         (tests): Add test case tst-tls-atexit.
10254         (modules-names): Add shared library for tst-tls-atexit.
10255         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10256         (GLIBC_PRIVATE): Add __call_tls_dtors.
10257         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10258         for libstdc++.
10259         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10260         * stdlib/tst-tls-atexit.c: New test case.
10261         * stdlib/tst-tls-atexit-lib.c: New test case.
10262
10263         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10264
10265         * elf/Versions (ld): Add _dl_find_dso_for_object.
10266         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10267         * elf/dl-open.c (_dl_find_dso_for_object): New function.
10268         (dl_open_worker): Use _dl_find_dso_for_object.
10269         * elf/dl-sym.c (do_sym): Likewise.
10270         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10271
10272 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10273
10274         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10275         Syntactic changes only.
10276         (_dl_runtime_profile): Do a tail-call to the resolved function.
10277
10278 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
10279
10280         [BZ #13550]
10281         * sysdeps/x86_64/bp-asm.h: Remove file.
10282         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10283         <bp-sym.h> and <bp-asm.h>.
10284         (__clone): Do not use BP_SYM.
10285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10286         <bp-sym.h> and <bp-asm.h>.
10287         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10288         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10289         "bp-asm.h".
10290         (_setjmp): Do not use BP_SYM.
10291         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10292         "bp-asm.h".
10293         (setjmp): Do not use BP_SYM.
10294         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10295         libc_hidden_def.
10296         (mempcpy): Do not use BP_SYM in weak_alias.
10297         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10298         "bp-asm.h".
10299         (strchr): Do not use BP_SYM.
10300         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10301         "bp-asm.h".
10302         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10303         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10304         (_start): Do not use BP_SYM.
10305         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10306         "bp-asm.h".
10307         (strcat): Do not use BP_SYM.
10308         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10309         "bp-asm.h".
10310         (STRCMP): Do not use BP_SYM.
10311         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10312         "bp-asm.h".
10313         (STRCPY): Do not use BP_SYM.
10314         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10315         "bp-asm.h".
10316         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10317         "bp-asm.h".
10318         (FUNCTION): Do not use BP_SYM.
10319         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10320         weak_alias.
10321         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10322
10323 2013-02-17  Andreas Jaeger  <aj@suse.de>
10324
10325         * time/Versions: Sort entries.
10326         * string/Versions: Likewise.
10327         * resolv/Versions: Likewise.
10328         * posix/Versions: Likewise.
10329         * iconv/Versions: Likewise.
10330         * elf/Versions: Likewise.
10331         * wcsmbs/Versions: Likewise.
10332
10333 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10334
10335         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10336         loop termination condition.
10337
10338         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10339         variable to calculate EZ.
10340         (__sqr): Likewise.
10341
10342         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10343         the lower precision input.
10344
10345 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
10346
10347         [BZ #13550]
10348         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10349         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10350         (run-via-rtld-prefix): Do not handle %-bp tests.
10351         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10352         (all-object-suffixes): Remove .ob.
10353         (bppfx): Remove variable.
10354         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10355         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10356         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10357         [$(build-bounded) = yes] (libtype.ob): Likewise.
10358         * Makerules (elide-routines.ob): Remove variable.
10359         (do-tests-clean): Do not handle *-bp.out.
10360         (common-mostlyclean): Do not handle *-bp and *-bp.out.
10361         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10362         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10363         (tests): Do not include $(tests-bp.out).
10364         (xtests): Do not include $(xtests-bp.out).
10365         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10366         [$(build-bounded) = yes] ($(addprefix
10367         $(objpfx),$(binaries-bounded))): Remove rule.
10368         ($(objpfx)%-bp.out): Remove rule.
10369         * config.make.in (build-bounded): Remove variable.
10370         * crypt/Makefile [$(build-bounded) = yes]
10371         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10372         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10373         append to variable.
10374         [$(build-bounded) = yes] (install-lib): Likewise.
10375         [$(build-bounded) = yes] (generated): Likewise.
10376         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10377         Remove rule.
10378         * intl/Makefile [$(build-bounded) = yes]
10379         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10380         * math/Makefile [$(build-bounded) = yes]
10381         ($(tests:%=$(objpfx)%-bp): Likewise.
10382         * misc/Makefile [$(build-bounded) = yes]
10383         ($(objpfx)tst-tsearch-bp): Likewise.
10384         * nptl/Makeconfig (bounded-thread-library): Remove variable.
10385         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10386         Remove dependency.
10387         * string/Makefile (o-objects.ob): Remove variable.
10388         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10389         (CFLAGS-.ob): Remove variable.
10390         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10391         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10392         both definitions of variable.
10393         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10394         (ASFLAGS-.ob): Remove variable.
10395
10396 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
10397
10398         [BZ #13550]
10399         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10400         Remove __BOUNDED_POINTERS__ from condition.
10401         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10402         * string/bits/string2.h [!__NO_STRING_INLINES &&
10403         !__BOUNDED_POINTERS__]: Likewise.
10404         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10405         Likewise.
10406         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10407         Remove conditional code.
10408         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10409         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10410         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10411         condition.
10412
10413         [BZ #13550]
10414         * csu/libc-start.c: Do not include <bp-sym.h>.
10415         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10416         * elf/dl-open.c: Do not include <bp-sym.h>.
10417         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10418         * math/fegetenv.c: Do not include <bp-sym.h>.
10419         (fegetenv): Do not use BP_SYM in versioned symbols.
10420         * nptl/sysdeps/pthread/bits/libc-lockP.h
10421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10422         <bp-sym.h>.
10423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10424         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10426         (__pthread_mutex_destroy): Likewise.
10427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10428         (__pthread_mutex_lock): Likewise.
10429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10430         (__pthread_mutex_trylock): Likewise.
10431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10432         (__pthread_mutex_unlock): Likewise.
10433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10434         (__pthread_mutexattr_init): Likewise.
10435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10436         (__pthread_mutexattr_destroy): Likewise.
10437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10438         (__pthread_mutexattr_settype): Likewise.
10439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10440         (__pthread_rwlock_init): Likewise.
10441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10442         (__pthread_rwlock_destroy): Likewise.
10443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10444         (__pthread_rwlock_rdlock): Likewise.
10445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10446         (__pthread_rwlock_tryrdlock): Likewise.
10447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10448         (__pthread_rwlock_wrlock): Likewise.
10449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10450         (__pthread_rwlock_trywrlock): Likewise.
10451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10452         (__pthread_rwlock_unlock): Likewise.
10453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10454         (__pthread_key_create): Likewise.
10455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10456         (__pthread_setspecific): Likewise.
10457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10458         (__pthread_getspecific): Likewise.
10459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10460         Likewise.
10461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10462         (_pthread_cleanup_push_defer): Likewise.
10463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10464         (_pthread_cleanup_pop_restore): Likewise.
10465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10466         (pthread_setcancelstate): Likewise.
10467         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10468         <bp-sym.h>.
10469         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10470         (memchr): Do not use BP_SYM in weak_alias.
10471         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10472         (fegetenv): Do not use BP_SYM in versioned symbols.
10473         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10474         (fesetenv): Do not use BP_SYM in versioned symbols.
10475         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10476         (feupdateenv): Do not use BP_SYM in versioned symbols.
10477         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10478         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10479         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10480         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10481         (open64): Do not use BP_SYM in weak_alias.
10482         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10483         (fegetenv): Do not use BP_SYM in versioned symbols.
10484         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10485         (fesetenv): Do not use BP_SYM in versioned symbols.
10486         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10487         (feupdateenv): Do not use BP_SYM in versioned symbols.
10488         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10489         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10490         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10491         (feraiseexcept): Do not use BP_SYM in versioned symbols.
10492         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10493         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10494         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10495         <bp-sym.h>.
10496         (__libc_start_main): Do not use BP_SYM.
10497
10498 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10499
10500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10501         redundant return line.
10502         (norm): Likewise.
10503         (denorm): Likewise.
10504         (dbl_mp): Likewise.
10505         (sub_magnitudes): Likewise.
10506         (__add): Likewise.
10507         (__sub): Likewise.
10508         (__mul): Likewise.
10509         (__inv): Likewise.
10510         (__dvd): Likewise.
10511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10512         (norm): Likewise.
10513         (denorm): Likewise.
10514         (dbl_mp): Likewise.
10515         (sub_magnitudes): Likewise.
10516         (__add): Likewise.
10517         (__sub): Likewise.
10518         (__mul): Likewise.
10519         (__inv): Likewise.
10520         (__dvd): Likewise.
10521
10522         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10523         instead of __mul.
10524         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10525         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10526         (cc32): Likewise.
10527
10528         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10529         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10530         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10531         of __mul for squares.
10532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10533         function
10534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10535         Likewise.
10536         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10537         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10538
10539 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10540
10541         [BZ #13550]
10542         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10543         code.
10544         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10545         prototype or function definition.  Rename ubp_* variables and
10546         parameters.  Remove argv definitions conditional on
10547         [__BOUNDED_POINTERS__].
10548         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10549         * elf/dl-runtime.c (_dl_fixup): Likewise.
10550         * include/set-hooks.h (RUN_HOOK): Likewise.
10551         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10552         definition.
10553         * string/strcpy.c (strcpy): Do not use __unbounded.
10554         * sysdeps/generic/frame.h (struct layout): Likewise.
10555         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10556         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10557         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10558         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10559         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10560         (__backtrace): Likewise.
10561         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10562         use __ptrvalue.
10563         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10564         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10565         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10566         Likewise.
10567         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10568         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10569         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10570         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10571         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10572         Do not use __unbounded.
10573         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10574         Rename __unboundedrlimits parameter to rlimits in prototype.
10575         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10576         Do not use __unbounded.
10577         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10578         not use __ptrvalue.
10579         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10580         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10581         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10582         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10583         __ptrvalue or __unbounded.
10584         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10585         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10586         use __unbounded.
10587         (__new_msgctl): Do not use __ptrvalue.
10588         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10589         __unbounded.
10590         (__libc_msgrcv): Do not use __ptrvalue.
10591         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10592         startup_info): Do not use __unbounded.
10593         (__libc_start_main): Likewise.  Rename ubp_* variables and
10594         parameters.  Remove argv definitions conditional on
10595         [__BOUNDED_POINTERS__].
10596         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10597         __ptrvalue.
10598         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10599         use __unbounded.
10600         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10601         or __ptrvalue.
10602         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10603         use __unbounded.
10604         (__new_shmctl): Do not use __ptrvalue.
10605         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10606         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10607         Likewise.
10608         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10609         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10610         (__libc_sigaction): Likewise.
10611         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10612         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10613         Likewise.
10614         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10615
10616 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10617
10618         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10619
10620         * string/mempcpy.c: Implement by calling memcpy.
10621
10622 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10623
10624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10625
10626         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10627         evaluation.
10628
10629         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10630         values in the mantissa.
10631
10632         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10633         minimize writes to Z.
10634         (sub_magnitudes): Simplify code a bit.
10635
10636 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10637
10638         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10639         from the message.  The linker prefixes all warnings with that already.
10640
10641 2013-02-12  Andreas Schwab  <schwab@suse.de>
10642
10643         [BZ #15078]
10644         * posix/regexec.c (extend_buffers): Add parameter min_len.
10645         (check_matching): Pass minimum needed length.
10646         (clean_state_log_if_needed): Likewise.
10647         (get_subexp): Likewise.
10648         * posix/Makefile (tests): Add bug-regex34.
10649         (bug-regex34-ENV): Define.
10650         * posix/bug-regex34.c: New file.
10651
10652         [BZ #11561]
10653         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10654         elements compare against the byte sequence of it, not its name.
10655         * posix/Makefile (tests): Add bug-regex35.
10656         (bug-regex35-ENV): Define.
10657         * posix/bug-regex35.c: New file.
10658
10659 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10660
10661         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10662         comment.
10663         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10664         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10665         (CHECK_EOL): Add undef.
10666
10667 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10668
10669         * bits/stdlib-bsearch.h: New file.
10670         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10671         * stdlib/stdlib.h: Likewise.
10672
10673 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10674
10675         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10676         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10677         declaration.
10678         * manual/search.texi (Array Search Function): Add missing const in
10679         lfind prototype.
10680         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10681         declaration to use rlim_t.
10682         (Basic Scheduling Functions): Remove erroneous const from
10683         sched_getparam prototype.  Remove erroneous * from
10684         sched_get_priority_max and sched_get_priority_min prototypes.
10685         (Resource Usage): Fix summary @comment on vtimes to refer to
10686         sys/vtimes.h rather than vtimes.h.
10687         Add missing *s in vtimes prototype.
10688         (Limits on Resources): Fix ulimit prototype to return long int.
10689         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10690         prototypes to use long int rather than double.
10691         (BSD Random): Fix initstate and setstate to use char *, not void *.
10692         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10693         prototype to make second argument 'struct aiocb64 *const[]'.
10694         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10695         (Status of AIO Operations): Remove erroneous const in aio_return and
10696         aio_return64 prototypes.
10697         (Synchronizing I/O): Fix sync prototype to return void.
10698         * manual/startup.texi (Suboptions): Remove an erroneous const in
10699         getsubopt prototype.
10700         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10701         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10702         use size_t rather than int.
10703         (Scanning All Users): Likewise for getpwent_r.
10704         (Setting Groups): Add missing const to setgroups prototype.
10705         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10706         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10707         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10708         'const void *' rather than 'const char *'.
10709         (Host Address Functions): Likewise for inet_ntop.
10710         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10711         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10712         ssize_t for return value.
10713         (Sending Data): Likewise for send, sendto, sendmsg.
10714         (Socket Option Functions): Add a missing const in setsockopt prototype.
10715         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10716         use wchar_t for the argument.
10717         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10718         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10719         take no arguments.
10720         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10721         double/float/long double for second argument.
10722         Fix return types of significand, significandf, significandl.
10723         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10724         argument in fchmod prototype.
10725         (File Owner): Use uid_t and gid_t in fchown prototype.
10726         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10727         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10728         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10729         use 'const struct dirent **' as argument types to CMP function pointer
10730         argument.
10731         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10732         (File Times): Fix summary magic @comment for struct utimbuf and utime
10733         to refer to utime.h, not time.h.
10734         * manual/string.texi (Argz Functions): Add missing const in
10735         argz_extract and argz_next prototypes.
10736         (Finding Tokens in a String): Likewise for basename.
10737         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10738         (Copying and Concatenation): Fix typo in wmemmove prototype.
10739         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10740         (Signal Stack): Remove erroneous const in sigstack prototype.
10741         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10742         prototype.
10743         (Simple Calendar Time): Likewise for stime.
10744         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10745         prototype.
10746         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10747         say sys/sysctl.h instead.
10748         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10749         and vsyslog prototypes.
10750
10751 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10752
10753         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10754         Remove.
10755
10756 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10757
10758         * misc/sys/mman.h: Fix typo in mremap comment.
10759
10760 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10761
10762         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10763         the '\0' terminator.
10764
10765 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10766
10767         [BZ #13550]
10768         * debug/segfault.c: Don't include <bp-checks.h>.
10769         * sysdeps/generic/bp-checks.h: Remove file.
10770         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10771         (__GETDENTS): Don't use CHECK_N.
10772         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10773         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10774         (__getgroups): Don't use CHECK_N.
10775         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10776         (setgroups): Don't use CHECK_N.
10777         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10778         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10779         (__libc_msgrcv): Don't use CHECK_N.
10780         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10781         (__libc_msgsnd): Don't use CHECK_N.
10782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10783         <bp-checks.h>.
10784         (__libc_pread): Don't use CHECK_N.
10785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10786         include <bp-checks.h>.
10787         (__libc_pread64): Don't use CHECK_N.
10788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10789         include <bp-checks.h>.
10790         (__libc_pwrite): Don't use CHECK_N.
10791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10792         include <bp-checks.h>.
10793         (__libc_pwrite64): Don't use CHECK_N.
10794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10795         <bp-checks.h>.
10796         (__libc_pread): Don't use CHECK_N.
10797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10798         include <bp-checks.h>.
10799         (__libc_pread64): Don't use CHECK_N.
10800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10801         include <bp-checks.h>.
10802         (__libc_pwrite): Don't use CHECK_N.
10803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10804         include <bp-checks.h>.
10805         (__libc_pwrite64): Don't use CHECK_N.
10806         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10807         (do_pread): Don't use CHECK_N.
10808         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10809         (do_pread64): Don't use CHECK_N.
10810         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10811         (do_pwrite): Don't use CHECK_N.
10812         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10813         (do_pwrite64): Don't use CHECK_N.
10814         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10815         (__libc_readv): Don't use CHECK_N.
10816         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10817         (semop): Don't use CHECK_N.
10818         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10819         <bp-checks.h>.
10820         (semtimedop): Don't use CHECK_N.
10821         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10822         (__libc_pread): Don't use CHECK_N.
10823         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10824         <bp-checks.h>.
10825         (__libc_pread64): Don't use CHECK_N.
10826         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10827         <bp-checks.h>.
10828         (__libc_pwrite): Don't use CHECK_N.
10829         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10830         <bp-checks.h>.
10831         (__libc_pwrite64): Don't use CHECK_N.
10832         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10833         <bp-checks.h>.
10834         (__libc_msgrcv): Don't use CHECK_N.
10835         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10836         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10837         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10838         (__libc_writev): Don't use CHECK_N.
10839
10840 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10841
10842         * string/strcpy.c: Removed unused variable.
10843
10844         * Makeconfig (+sysdep-includes): Define with := rather than =.
10845         Use an existing include/ subdir of each sysdeps dir before it.
10846
10847 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10848
10849         * nscd/connection.c (register_traced_file): Comment function.
10850         [HAVE_INOTIFY] (union __inev): Define.
10851         [HAVE_INOTIFY] (inotify_check_files): New function.
10852         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10853         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10854         clear_db_cache.
10855         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10856
10857 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10858
10859         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10860         loaded if not already and that a failure is permanent.
10861
10862 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10863
10864         [BZ #15006]
10865         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10866         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10867
10868 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10869
10870         [BZ #13550]
10871         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10872         (CHECK_1_NULL_OK): Likewise.
10873         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10874         (__fxstat): Do not use CHECK_1.
10875         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10876         <bp-checks.h>.
10877         (___fxstat64): Do not use CHECK_1.
10878         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10879         <bp-checks.h>.
10880         (__fxstatat): Do not use CHECK_1.
10881         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10882         <bp-checks.h>.
10883         (__fxstatat64): Do not use CHECK_1.
10884         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10885         <bp-checks.h>.
10886         (__fxstat): Do not use CHECK_1.
10887         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10888         <bp-checks.h>.
10889         (__fxstatat): Do not use CHECK_1.
10890         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10891         <bp-checks.h>.
10892         (__getresgid): Do not use CHECK_1.
10893         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10894         <bp-checks.h>.
10895         (__getresuid): Do not use CHECK_1.
10896         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10897         <bp-checks.h>.
10898         (__lxstat): Do not use CHECK_1.
10899         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10900         <bp-checks.h>.
10901         (__old_msgctl): Do not use CHECK_1.
10902         (__new_msgctl): Likewise.
10903         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10904         <bp-checks.h>.
10905         (__new_setrlimit): Do not use CHECK_1.
10906         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10907         <bp-checks.h>.
10908         (__old_shmctl): Do not use CHECK_1.
10909         (__new_shmctl): Likewise.
10910         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10911         <bp-checks.h>.
10912         (__xstat): Do not use CHECK_1.
10913         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10914         (__lxstat): Do not use CHECK_1.
10915         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10916         <bp-checks.h>.
10917         (___lxstat64): Do not use CHECK_1.
10918         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10919         (__old_msgctl): Do not use CHECK_1.
10920         (__new_msgctl): Likewise.
10921         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10922         <bp-checks.h>.
10923         (__gettimeofday): Do not use CHECK_1.
10924         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10925         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10926         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10927         <bp-checks.h>.
10928         (__gettimeofday): Do not use CHECK_1.
10929         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10930         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10931         (__new_shmctl): Do not use CHECK_1.
10932         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10933         <bp-checks.h>.
10934         (do_sigtimedwait): Do not use CHECK_1.
10935         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10936         <bp-checks.h>.
10937         (do_sigwaitinfo): Do not use CHECK_1.
10938         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10939         <bp-checks.h>.
10940         (msgctl): Do not use CHECK_1.
10941         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10942         <bp-checks.h>.
10943         (shmctl): Do not use CHECK_1.
10944         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10945         (ustat): Do not use CHECK_1.
10946         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10947         <bp-checks.h>.
10948         (__fxstat): Do not use CHECK_1.
10949         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10950         <bp-checks.h>.
10951         (__fxstatat): Do not use CHECK_1.
10952         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10953         <bp-checks.h>.
10954         (__lxstat): Do not use CHECK_1.
10955         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10956         <bp-checks.h>.
10957         (__xstat): Do not use CHECK_1.
10958         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10959         (__xstat): Do not use CHECK_1.
10960         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10961         (___xstat64): Do not use CHECK_1.
10962
10963         [BZ #13550]
10964         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10965         definitions.
10966         (CHECK_BOUNDS_HIGH): Likewise.
10967         * string/strcpy.c: Do not include <bp-checks.h>.
10968         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10969
10970 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10971
10972         * nscd/nscd-client.h (__nscd_drop_map_ref):
10973         Add __attribute__ ((unused)).
10974         * nis/nss-nisplus.h (niserr2nss): Likewise.
10975
10976         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10977         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10978
10979         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10980         Remove inline keyword.
10981         * include/rounding-mode.h (round_away): Likewise.
10982         * libio/wfileops.c (adjust_wide_data): Likewise.
10983         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10984         (__m128i_strloadu_tolower): Likewise.
10985         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10986         (__m128i_strloadu_tolower): Likewise.
10987         * time/mktime.c (ydhms_diff): Likewise.
10988         * locale/elem-hash.h (elem_hash): Likewise.
10989         * locale/setlocale.c (setdata): Likewise.
10990         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10991         (re_string_wchar_at): Likewise.
10992         (bitset_not, bitset_merge, bitset_mask): Likewise.
10993         [!(__GNUC__ > 3)] (inline): Remove macro.
10994         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10995         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10996         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10997         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10998         * string/memcmp.c (memcmp_bytes): Likewise.
10999         * locale/programs/locarchive.c (compute_hashval): Likewise.
11000         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11001         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11002         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11003         * nss/getent.c (print_rpc, print_protocols): Likewise.
11004         (print_passwd, print_group, print_aliases): Likewise.
11005         * nis/nss-nisplus.h (niserr2nss): Likewise.
11006         * nscd/connections.c (restart_p): Likewise.
11007         Change return type to bool.
11008
11009 2013-02-05  Roland McGrath  <roland@hack.frob.com>
11010
11011         * Makeconfig (all-Depend-files): Add existing
11012         $(sorted-subdirs:=/Depend) files.
11013         (all-subdirs): Remove nss.
11014         * sysdeps/unix/inet/Subdirs: Add it here instead.
11015         * hesiod/Depend: New file.
11016
11017         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11018         instead of calling alloca.
11019
11020         * io/lseek.c (__lseek): Rename to __libc_lseek.
11021         Define __lseek as an alias.
11022
11023         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11024
11025 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
11026
11027         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11028         else clause and remove check for non-standard endianness.
11029
11030 2013-02-04  David S. Miller  <davem@davemloft.net>
11031
11032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11033
11034 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
11035
11036         [BZ #13550]
11037         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11038         (__ubp_memchr): Remove prototype.
11039         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11040         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11041         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11042         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11043         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11044         Remove alias.
11045         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11046         (__ubp_memchr): Likewise.
11047         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11048         (__ubp_memchr): Likewise.
11049         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11050         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11051         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11052         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11053         CHECK_STRING.
11054         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11055         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11056         (__getcwd): Do not use CHECK_STRING.
11057         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11058         <bp-checks.h>.
11059         (__real_chown): Do not use CHECK_STRING.
11060         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11061         <bp-checks.h>.
11062         (fchownat): Do not use CHECK_STRING.
11063         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11064         CHECK_STRING.
11065         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11066         <bp-checks.h>.
11067         (__lchown): Do not use CHECK_STRING.
11068         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11069         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11070         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11071         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11073         include <bp-checks.h>.
11074         (truncate64): Do not use CHECK_STRING.
11075         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11076         <bp-checks.h>.
11077         (__real_chown): Do not use CHECK_STRING.
11078         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11079         <bp-checks.h>.
11080         (__lchown): Do not use CHECK_STRING.
11081         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11082         <bp-checks.h>.
11083         (__chown): Do not use CHECK_STRING.
11084         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11085         <bp-checks.h>.
11086         (truncate64): Do not use CHECK_STRING.
11087         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11088         Likewise.
11089         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11090         (__xmknod): Do not use CHECK_STRING.
11091         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11092         <bp-checks.h>.
11093         (__xmknodat): Do not use CHECK_STRING.
11094         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11095         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11096
11097 2013-02-04  Andreas Schwab  <schwab@suse.de>
11098
11099         [BZ #14142]
11100         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11101         * include/netdb.h: Likewise for h_errno.
11102         * elf/tst-stackguard1.c: Include <tls.h>.
11103
11104 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11105
11106         * elf/link.h (struct link_map): Extend the l_addr comment.
11107         * include/link.h (struct link_map): Likewise.
11108
11109 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
11110
11111         [BZ #13550]
11112         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11113         (BOUNDED_1): Remove macro.
11114         * debug/backtrace.c: Don't include <bp-checks.h>.
11115         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11116         (__backtrace): Likewise.
11117         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11118         <bp-checks.h>.
11119         (__backtrace): Don't use BOUNDED_1.
11120         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11121         <bp-checks.h>.
11122         (__backtrace): Don't use BOUNDED_1.
11123         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11124         (__backtrace): Don't use BOUNDED_1.
11125         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11126         (shmat): Don't use BOUNDED_N.
11127
11128 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
11129
11130         [BZ #13550]
11131         * sysdeps/generic/bp-start.h: Remove file.
11132         * csu/libc-start.c: Don't include <bp-start.h>.
11133         (LIBC_START_MAIN): Set up __environ directly instead of using
11134         INIT_ARGV_and_ENVIRON.
11135         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11136         <bp-start.h>.
11137
11138         [BZ #13550]
11139         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11140         definitions.
11141         (CHECK_FCNTL): Likewise.
11142         (CHECK_N_PAGES): Likewise.
11143
11144         [BZ #13550]
11145         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11146         definitions.
11147         (CHECK_SIGSET_NULL_OK): Likewise.
11148         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11149         <bp-checks.h>.
11150         (sigpending): Don't use CHECK_SIGSET.
11151         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11152         <bp-checks.h>.
11153         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11154         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11155         <bp-checks.h>.
11156         (do_sigsuspend): Don't use CHECK_SIGSET.
11157         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11158         use CHECK_SIGSET.
11159         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11160         (do_sigwait): Don't use CHECK_SIGSET.
11161         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11162         use CHECK_SIGSET.
11163         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11164         include <bp-checks.h>.
11165         (sigpending): Don't use CHECK_SIGSET.
11166         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11167         include <bp-checks.h>.
11168         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11169         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11170         <bp-checks.h>.
11171         (sigpending): Don't use CHECK_SIGSET.
11172         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11173         <bp-checks.h>.
11174         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11175
11176         [BZ #13550]
11177         * sysdeps/generic/bp-semctl.h: Remove file.
11178         * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
11183         and <bp-semctl.h>.
11184         (__old_semctl): Don't use CHECK_SEMCTL.
11185         (__new_semctl): Likewise.
11186         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11187         <bp-checks.h> and <bp-semctl.h>.
11188         (__old_semctl): Don't use CHECK_SEMCTL.
11189         (__new_semctl): Likewise.
11190         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11191         <bp-checks.h> and <bp-semctl.h>.
11192         (semctl): Don't use CHECK_SEMCTL.
11193
11194         [BZ #13550]
11195         * Makerules (elide-bp-thunks): Remove variable.
11196         (elide-routines.oS): Don't use $(elide-bp-thunks).
11197         (elide-routines.os): Likewise.
11198         (elide-routines.o): Likewise.
11199         (elide-routines.op): Likewise.
11200         (elide-routines.og): Likewise.
11201         (objects): Don't use $(bp-thunks).
11202         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11203         include.
11204         (common-generated): Do not add s-proto-bp.d.
11205         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11206         (int): Likewise.
11207         (typ): Likewise.
11208         Do not generate makefile rules for bounded-pointer thunks.
11209         * sysdeps/generic/bp-thunks.h: Remove file.
11210         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11211         * sysdeps/unix/s-proto-bp.S: Likewise.
11212
11213         [BZ #15062]
11214         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11215         parts of result separately when argument is not close to line from
11216         -i to i and one part of argument is small.
11217         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11218         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11219         * math/libm-test.inc (cacos_test): Add more tests.
11220         (casin_test): Likewise.
11221         (casinh_test): Likewise.
11222         * sysdeps/i386/fpu/libm-test-ulps: Update.
11223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11224
11225 2013-01-31  David S. Miller  <davem@davemloft.net>
11226
11227         * po/de.po: Update from translation team.
11228
11229 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
11230
11231         * time/tzfile.c: Include stdint.h for SIZE_MAX.
11232
11233 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
11234
11235         * configure.in (_AC_PROG_CC_C89): New definition.
11236         * configure: Regenerate.
11237
11238         * configure.in (AC_PROG_CPP): New definition.
11239         * configure: Regenerate.
11240
11241 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11242
11243         * debug/tst-backtrace.h: New file.
11244         * debug/tst-backtrace2.c: Include tst-backtrace.h.
11245         (ret): Remove variable.
11246         (x): Likewise.
11247         (FAIL): Remove macro.
11248         (NO_INLINE): Likewise.
11249         (fn1): Use match function instead of strstr.
11250         * debug/tst-backtrace3.c: Include tst-backtrace.h.
11251         (ret): Remove variable.
11252         (x): Likewise.
11253         (FAIL): Remove macro.
11254         (NO_INLINE): Likewise.
11255         (fn): Use match function instead of strstr.
11256         * debug/tst-backtrace4.c: Include tst-backtrace.h.
11257         (ret): Remove variable.
11258         (x): Likewise.
11259         (FAIL): Remove macro.
11260         (NO_INLINE): Likewise.
11261         (handle_signal): Use match function instead of strstr.
11262         * debug/tst-backtrace5.c: Include tst-backtrace.h.
11263         (ret): Remove variable.
11264         (x): Likewise.
11265         (FAIL): Remove macro.
11266         (NO_INLINE): Likewise.
11267         (handle_signal): Use match function instead of strstr.
11268
11269 2013-01-23  Roland McGrath  <roland@hack.frob.com>
11270
11271         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11272
11273 2013-01-23  David S. Miller  <davem@davemloft.net>
11274
11275         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11276         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11277         argument of CAS if possible.
11278         * sysdeps/sparc/sparc64/bits/atomic.h
11279         (__arch_compare_and_exchange_val_32_acq): Likewise.
11280         (__arch_compare_and_exchange_val_64_acq): Likewise.
11281
11282 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
11283
11284         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11285         * sysdeps/posix/ulimit.c: ... this.
11286         Include <limits.h>.
11287         * sysdeps/unix/bsd/ulimit.c: Remove file.
11288
11289 2013-01-23  Adam Conrad  <adconrad@0c3.net>
11290
11291         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11292         (LDFLAGS-tst-array5): Likewise.
11293
11294 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11295
11296         [BZ #15036]
11297         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11298         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11299         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11300         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11301
11302 2013-01-21  David S. Miller  <davem@davemloft.net>
11303
11304         * sysdeps/sparc/backtrace.c: New file.
11305         * sysdeps/sparc/sparc32/backtrace.h: New file.
11306         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11307         * sysdeps/sparc/sparc64/backtrace.h: New file.
11308         * sysdeps/sparc/sparc64/backtrace.c: Delete.
11309         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11310         -funwind-tables.
11311
11312 2013-01-21  Andreas Schwab  <schwab@suse.de>
11313
11314         [BZ #15020]
11315         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11316         closed its stdout.
11317
11318 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
11319
11320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11321         "mpa2.h".
11322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11323
11324 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
11325             Mark Mitchell  <mark@codesourcery.com>
11326             Tom de Vries  <tom@codesourcery.com>
11327             Paul Pluzhnikov  <ppluzhnikov@google.com>
11328
11329         * debug/tst-backtrace2.c: New file.
11330         * debug/tst-backtrace3.c: Likewise.
11331         * debug/tst-backtrace4.c: Likewise.
11332         * debug/tst-backtrace5.c: Likewise.
11333         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11334         (CFLAGS-tst-backtrace3.c): Likewise.
11335         (CFLAGS-tst-backtrace4.c): Likewise.
11336         (CFLAGS-tst-backtrace5.c): Likewise.
11337         (LDFLAGS-tst-backtrace2): Likewise.
11338         (LDFLAGS-tst-backtrace3): Likewise.
11339         (LDFLAGS-tst-backtrace4): Likewise.
11340         (LDFLAGS-tst-backtrace5): Likewise.
11341         (tests): Add new tests tst-backtrace2, tst-backtrace3,
11342         tst-backtrace4 and tst-backtrace5.
11343
11344 2013-01-18  Anton Blanchard  <anton@samba.org>
11345             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11346
11347         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11348         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11349         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11350         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11352         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11353         "+r" and remove output regs list as redundant.  Add explicit inline
11354         asm to specify register of return val to work around compiler codegen
11355         bug.  Remove (int) cast on return value.  Add return type parameter to
11356         use in macro so that this macro does not truncate return value for
11357         64-bit values.
11358         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11359         pass to INTERNAL_VSYSCALL_NCS.
11360         (INLINE_VSYSCALL): Add 'long int' as return type to
11361         INTERNAL_VSYSCALL_NCS macro invocation.
11362         (INTERNAL_VSYSCALL): Add 'long int' as return type to
11363         INTERNAL_VSYSCALL_NCS macro invocation.
11364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11365
11366 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11367
11368         [BZ #14496]
11369         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11370         Fix application of SIMD FP exception mask.
11371
11372         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11373         mp_no from a power of two.
11374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11375         __mpexp_twomm1.  Use __pow_mp.
11376
11377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11378         multiplication.
11379
11380 2013-01-17  David S. Miller  <davem@davemloft.net>
11381
11382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11383
11384 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11385
11386         [BZ #15023]
11387         * include/complex.h: Condition contents on [!_COMPLEX_H].
11388         (__kernel_casinhf): New prototype.
11389         (__kernel_casinh): Likewise.
11390         (__kernel_casinhl): Likewise.
11391         * math/Makefile (libm_calls): Add k_casinh.
11392         * math/k_casinh.c: New file.
11393         * math/k_casinhf.c: Likewise.
11394         * math/k_casinhl.c: Likewise.
11395         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11396         finite nonzero arguments.
11397         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11398         finite nonzero arguments.
11399         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11400         finite nonzero arguments.
11401         * math/s_casinh.c: Do not include <float.h>.
11402         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11403         * math/s_casinhf.c: Do not include <float.h>.
11404         (__casinhf): Move code for finite nonzero arguments to
11405         k_casinhf.c.
11406         * math/s_casinhl.c: Do not include <float.h>.
11407         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11408         redefine.
11409         (__casinhl): Move code for finite nonzero arguments to
11410         k_casinhl.c.
11411         * math/libm-test.inc (cacos_test): Add more tests.
11412         * sysdeps/i386/fpu/libm-test-ulps: Update.
11413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11414
11415 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
11416
11417         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11418         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11419         [!HAVE_MREMAP]: Remove [defined linux] case.
11420         * malloc/arena.c: Do not include <malloc-sysdep.h>.
11421
11422 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11423
11424         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11425
11426 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
11427
11428         * elf/elf.h (R_386_SIZE32): New relocation.
11429         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11430         R_386_SIZE32.
11431         (elf_machine_rela): Likewise.
11432         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11433         R_X86_64_SIZE64 and R_X86_64_SIZE32.
11434
11435 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11436
11437         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11438         (FP_FAST_FMA): Do not define.
11439         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11440         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11441         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11442         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11443         !_SOFT_FLOAT]: Likewise.
11444         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11445         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11446         value.
11447         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11448         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11449         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11450         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11451         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11452         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11453         file.
11454
11455 2013-01-16  Andreas Schwab  <schwab@suse.de>
11456
11457         [BZ #14327]
11458         * include/stdlib.h (__mktemp): Add declaration.
11459         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11460         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11461
11462 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11463
11464         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11465         definitions.
11466         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11467         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11468         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11469         definitions here.
11470         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11471         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11472         definitions.
11473         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11474         and ONE.
11475         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11476         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11477         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11478         definitions.
11479         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11480         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11481         definitions.
11482         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11483
11484         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11485
11486 2013-01-15  David S. Miller  <davem@davemloft.net>
11487
11488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11489         trunc{,f} to libm-sysdep_routes.
11490         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11492         file.
11493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11495         file.
11496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11497         file.
11498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11500         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11501         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11502         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11503         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11504         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11505         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11506
11507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11508         nearbyint{,f} to libm-sysdep_routes.
11509         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11511         New file.
11512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11513         file.
11514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11515         New file.
11516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11517         file.
11518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11520         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11521         file.
11522         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11523         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11524         file.
11525         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11526         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11527         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11528
11529         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11530         libc_feholdexcept and libc_fesetenv.
11531
11532 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11533
11534         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11535
11536 2013-01-14  David S. Miller  <davem@davemloft.net>
11537
11538         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11539         (SPARC_ASM_VIS2_IFUNC): Likewise.
11540         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11542         use of 'siam' instruction.
11543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11544         Likewise.
11545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11546         Likewise.
11547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11548         Likewise.
11549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11554         file.
11555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11556         file.
11557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11558         file.
11559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11560         file.
11561         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11563         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11566         new VIS2 routines.
11567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11570         Likewise.
11571         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11576         routines to libm-sysdep_routines.
11577         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11578
11579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11580         fdim/fdimf to libm-sysdep_routines.
11581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11582         file.
11583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11585         file.
11586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11589         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11590         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11591         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11592         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11593
11594 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11595
11596         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11597         to optimize copies.
11598
11599         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11602
11603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11604         local variable MPTWO.
11605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11606         Likewise.
11607
11608 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11609
11610         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11611         GLOB_NOESCAPE.
11612
11613 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11614
11615         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11616
11617 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11618
11619         * manual/pattern.texi (glob_t): Document gl_flags.
11620         (glob64_t): Likewise.
11621
11622 2013-01-11  David S. Miller  <davem@davemloft.net>
11623
11624         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11625         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11626         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11627         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11628         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11629         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11630         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11631         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11632         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11633         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11634         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11635         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11636         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11637
11638         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11639         sparc V9 rather than using V8 code.
11640         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11641         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11642
11643         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11644         Move to...
11645         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11646         Here.
11647
11648 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11649
11650         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11651         not in the main loop.
11652         * configure: Regenerated.
11653
11654 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11655
11656         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11657         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11658         to just #else.
11659         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11660         [!__GLIBC_HAVE_LONG_LONG] case.
11661         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11662         condition to just #else.
11663         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11664         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11665         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11666         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11667         unconditional.
11668         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11669         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11670         #elif condition to just #else.
11671         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11672         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11673         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11674         #elif condition to just #else.
11675
11676 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11677
11678         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11679         (EF_MIPS_ARCH_64): Fix value.
11680         (EF_MIPS_ARCH_32R2): New.
11681         (EF_MIPS_ARCH_64R2): New.
11682
11683 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11684
11685         * Makeconfig (+link-pie-before-libc): New.
11686         (+link-pie-after-libc): Likewise.
11687         (+link-pie-tests): Likewise.
11688         (+link-pie): Rewritten.
11689         (link-before-libc): Remove $(config-LDFLAGS).
11690         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11691         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11692         (config-LDFLAGS): Renamed to ...
11693         (rtld-LDFLAGS): This.
11694         (rtld-tests-LDFLAGS): New macro.
11695         (link-libc-rpath-link): Likewise.
11696         (link-libc-tests-rpath-link): Likewise.
11697         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11698         (link-libc): Prepand $(link-libc-rpath-link).
11699         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11700         (test-program-prefix): New macro.
11701         (test-via-rtld-prefix): Likewise.
11702         (test-program-cmd): Likewise.
11703         (host-test-program-cmd): Likewise.
11704         * Makefile ($(common-objpfx)testrun.sh): Replace
11705         $(run-program-prefix) with $(test-program-prefix).
11706         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11707         $(rtld-LDFLAGS).
11708         ($(common-objpfx)shlib.lds): Likewise.
11709         (build-module-helper): Likewise.
11710         ($(common-objpfx)format.lds): Likewise.
11711         * Rules (binaries-pie-tests): New.
11712         (binaries-pie-notests): Likewise.
11713         (binaries-pie): Rewritten.
11714         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11715         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11716         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11717         (make-test-out): Replace $(host-built-program-cmd) with
11718         $(host-test-program-cmd).
11719         * config.make.in (build-hardcoded-path-in-tests): New variable.
11720         * configure.in (--enable-hardcoded-path-in-tests): New configure
11721         option.
11722         (hardcoded_path_in_tests): New AC_SUBST.
11723         * configure: Regenerated.
11724         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11725         $(built-program-cmd) with $(test-program-cmd).
11726         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11727         (test_program_cmd): This.
11728         * elf/Makefile ($(objpfx)order.out): Run test with
11729         $(test-program-prefix).
11730         ($(objpfx)order2.out): Likewise.
11731         ($(objpfx)tst-initorder.out): Likewise.
11732         ($(objpfx)tst-initorder2.out): Likewise.
11733         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11734         $(test-program-cmd).
11735         ($(objpfx)tst-array1-static.out): Likewise.
11736         ($(objpfx)tst-array2.out): Likewise.
11737         ($(objpfx)tst-array3.out): Likewise.
11738         ($(objpfx)tst-array4.out): Likewise.
11739         ($(objpfx)tst-array5.out): Likewise.
11740         ($(objpfx)tst-array5-static.out): Likewise.
11741         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11742         $(test-program-cmd).
11743         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11744         $(run-program-prefix) with $(test-program-prefix).
11745         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11746         (test_program_prefix): This.
11747         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11748         $(run-program-prefix) with $(test-program-prefix).
11749         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11750         (test_program_prefix): This.
11751         * iconvdata/tst-tables.sh: Likewise.
11752         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11753         $(run-program-prefix) with $(test-program-prefix).
11754         ($(objpfx)tst-translit.out): Likewise.
11755         ($(objpfx)tst-gettext2.out): Likewise.
11756         ($(objpfx)tst-gettext4.out): Likewise.
11757         ($(objpfx)tst-gettext6.out): Likewise.
11758         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11759         (test_program_prefix): This.
11760         * intl/tst-gettext2.sh: Likewise.
11761         * intl/tst-gettext4.sh  Likewise.
11762         * intl/tst-gettext6.sh: Likewise.
11763         * intl/tst-translit.sh: Likewise.
11764         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11765         with $(test-program-cmd).
11766         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11767         $(run-program-prefix) with $(test-program-prefix).
11768         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11769         (test_program_prefix): This.
11770         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11771         $(run-program-prefix) with $(test-program-prefix).
11772         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11773         (test_program_prefix): This.
11774         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11775         * posix/Makefile ($(objpfx)globtest.out): Replace
11776         $(run-via-rtld-prefix) and $(test-wrapper) with
11777         $(test-program-prefix) and $(test-via-rtld-prefix).
11778         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11779         $(test-program-prefix).
11780         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11781         $(host-test-program-cmd).
11782         (tst-spawn-ARGS): Likewise.
11783         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11784         $(test-program-prefix).
11785         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11786         (test_via_rtld_prefix): This.
11787         (test_wrapper): Renamed to ...
11788         (test_program_prefix): This.
11789         (run_program_prefix): Replaced by test_program_prefix.
11790         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11791         (test_program_prefix): This.
11792         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11793         with $(host-test-program-cmd).
11794         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11795         $(run-program-prefix) with $(test-program-prefix).
11796         ($(objpfx)tst-printf.out): Likewise.
11797         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11798         $(test-program-cmd).
11799         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11800         (test_program_prefix): This.
11801         * stdio-common/tst-unbputc.sh: Likewise.
11802         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11803         $(run-program-prefix) with $(test-program-prefix).
11804         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11805         (test_program_prefix): This.
11806         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11807         $(built-program-cmd) with $(test-program-cmd).
11808
11809 2013-01-11  Andreas Jaeger  <aj@suse.de>
11810
11811         [BZ #15003]
11812         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11813         value. Sync with Linux 3.7.
11814
11815 2013-01-10  David S. Miller  <davem@davemloft.net>
11816
11817         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11818         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11819         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11820
11821 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11822
11823         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11824         never set.
11825         * configure: Regenerated.
11826
11827 2013-01-10  David S. Miller  <davem@davemloft.net>
11828
11829         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11830         sparc V9 rather than using V8 code.
11831         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11832         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11833
11834 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11835
11836         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11837         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11838         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11839         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11840         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11841         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11842         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11843         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11844         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11845         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11846         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11847         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11848         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11849         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11850         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11851         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11852         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11853         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11854         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11855         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11856         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11857         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11858         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11859         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11860         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11861         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11862         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11863
11864 2013-01-10  David S. Miller  <davem@davemloft.net>
11865
11866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11867
11868 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11869
11870         * posix/Makefile (tests-static): New variable.
11871         (tests): Add $(tests-static).
11872         (tst-exec-static-ARGS): New variable.
11873         (tst-spawn-static-ARGS): Likewise.
11874         * posix/tst-exec-static.c: New file.
11875         * posix/tst-spawn-static.c: Likewise.
11876         * posix/tst-exec.c: Support run directly.
11877         * posix/tst-spawn.c: Likewise.
11878
11879 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11880
11881         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11882         long.
11883         * math/bits/mathcalls.h (llrint): Likewise.
11884         (llround): Likewise.
11885         * stdlib/stdlib.h (struct drand48_data): Likewise.
11886         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11887         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11888         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11889         Likewise.
11890         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11891         Likewise.
11892         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11893         (elf_greg_t): Likewise.
11894         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11895         (__jmp_buf): Likewise.
11896         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11897         definitions.
11898         (llrint): Likewise, for all definitions.
11899         (llrintl): Likewise.
11900
11901         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11902         Remove [__GNUC__] condition.
11903         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11904         condition to just [__USE_ISOC99].
11905         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11906
11907 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11908
11909         [BZ #14200]
11910         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11911         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11912         defined.
11913         (_POSIX_V6_ILP32_OFF32): Likewise.
11914         (_XBS5_ILP32_OFF32): Likewise.
11915         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11916         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11917
11918 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11919
11920         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11921
11922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11923         doubles __mpexp_twomm1.  Adjust usage.
11924         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11925         Remove.
11926
11927 2013-01-10  Andreas Schwab  <schwab@suse.de>
11928
11929         [BZ #14964]
11930         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11931         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11932
11933 2013-01-09  David S. Miller  <davem@davemloft.net>
11934
11935         [BZ #15003]
11936         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11937         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11938         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11939         TCP_FASTOPEN): Define.
11940         (tcp_repair_opt): New structure.
11941         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11942         enum values.
11943         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11944         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11945         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11946         (tcp_cookie_transactions): New structure.
11947
11948 2013-01-09  Anton Blanchard  <anton@samba.org>
11949
11950         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11951         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11952         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11953         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11954
11955 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11956
11957         * include/features.h (__USE_ANSI): Remove.
11958
11959 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11960
11961         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11962
11963         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11964
11965 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11966
11967         * sysdeps/s390/fpu/libm-test-ulps: Update.
11968
11969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11970
11971         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11972         (__acr): Likewise.
11973         (__cpy): Likewise.
11974         (norm): Likewise.
11975         (denorm): Likewise.
11976         (__mp_dbl): Likewise.
11977         (__dbl_mp): Likewise.
11978         (add_magnitudes): Likewise.
11979         (sub_magnitudes): Likewise.
11980         (__add): Likewise.
11981         (__sub): Likewise.
11982         (__mul): Likewise.
11983         (__inv): Likewise.
11984         (__dvd): Likewise.
11985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11986         (__acr): Likewise.
11987         (__cpy): Likewise.
11988         (norm): Likewise.
11989         (denorm): Likewise.
11990         (__mp_dbl): Likewise.
11991         (__dbl_mp): Likewise.
11992         (add_magnitudes): Likewise.
11993         (sub_magnitudes): Likewise.
11994         (__add): Likewise.
11995         (__sub): Likewise.
11996         (__mul): Likewise.
11997         (__inv): Likewise.
11998         (__dvd): Likewise.
11999         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12000         (__acr): Likewise.
12001         (__cpy): Likewise.
12002         (norm): Likewise.
12003         (denorm): Likewise.
12004         (__mp_dbl): Likewise.
12005         (__dbl_mp): Likewise.
12006         (add_magnitudes): Likewise.
12007         (sub_magnitudes): Likewise.
12008         (__add): Likewise.
12009         (__sub): Likewise.
12010         (__mul): Likewise.
12011         (__inv): Likewise.
12012         (__dvd): Likewise.
12013
12014 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
12015
12016         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12017         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12018         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12019         2 && __USE_EXTERN_INLINES]: Likewise.
12020
12021 2013-01-08  Andreas Jaeger  <aj@suse.de>
12022
12023         [BZ# 14985]
12024         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12025         Remove.
12026         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12027         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12028
12029 2013-01-07  Anton Blanchard  <anton@samba.org>
12030
12031         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12032         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12033         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12034         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12035         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12036         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12037         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12038         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12040         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12041         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12042         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12043         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12044         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12045         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12046         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12047         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12048         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12049         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12050         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12051         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12052         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12053         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12054         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12055         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12056         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12057         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12058         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12059         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12060         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12061         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12063         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12064         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12065         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12066         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12067         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12068         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12069         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12070         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12071         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12072         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12073         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12074
12075 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
12076
12077         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12078         (__MALLOC_PMT): Likewise.
12079         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12080         [__GNUC__], only on [_LIBC].
12081         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12082         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12083         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12084         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12085         forward declaration.
12086         (realloc_hook_ini): Likewise.
12087         (memalign_hook_ini): Likewise.
12088         (__libc_memalign): Do not use __MALLOC_PMT in variable
12089         declaration.
12090         (__libc_valloc): Likewise.
12091         (__libc_pvalloc): Likewise.
12092         (__libc_calloc): Likewise.
12093         (__posix_memalign): Likewise.
12094
12095         [BZ #14996]
12096         * math/s_casinh.c: Include <float.h>.
12097         (__casinh): Do not do computation with squaring and square root
12098         for large arguments.
12099         * math/s_casinhf.c: Include <float.h>.
12100         (__casinhf): Do not do computation with squaring and square root
12101         for large arguments.
12102         * math/s_casinhl.c: Include <float.h>.
12103         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12104         (__casinhl): Do not do computation with squaring and square root
12105         for large arguments.
12106         * math/libm-test.inc (casin_test): Add more tests.
12107         (casinh_test): Likewise.
12108         * sysdeps/i386/fpu/libm-test-ulps: Update.
12109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12110
12111 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
12112
12113         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12114         (__x86_64_raw_data_cache_size): Likewise.
12115         (__x86_64_data_cache_size_half): Likewise.
12116         (__x86_64_raw_data_cache_size_half): Likewise.
12117         (__x86_64_shared_cache_size): Likewise.
12118         (__x86_64_raw_shared_cache_size): Likewise.
12119         (__x86_64_shared_cache_size_half): Likewise.
12120         (__x86_64_raw_shared_cache_size_half): Likewise.
12121         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12122         to ...
12123         (__x86_data_cache_size): This.
12124         (__x86_64_raw_data_cache_size): Renamed to ...
12125         (__x86_raw_data_cache_size): This.
12126         (__x86_64_data_cache_size_half): Renamed to ...
12127         (__x86_data_cache_size_half): This.
12128         (__x86_64_raw_data_cache_size_half): Renamed to ...
12129         (__x86_raw_data_cache_size_half): This.
12130         (__x86_64_shared_cache_size): Renamed to ...
12131         (__x86_shared_cache_size): This.
12132         (__x86_64_raw_shared_cache_size): Renamed to ...
12133         (__x86_raw_shared_cache_size): This.
12134         (__x86_64_shared_cache_size_half): Renamed to ...
12135         (__x86_shared_cache_size_half): This.
12136         (__x86_64_raw_shared_cache_size_half): Renamed to ...
12137         (__x86_raw_shared_cache_size_half): This.
12138         * sysdeps/x86_64/memcpy.S: Updated.
12139         * sysdeps/x86_64/memset.S: Likewise.
12140         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12141         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12142         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12143
12144 2013-01-04  David S. Miller  <davem@davemloft.net>
12145
12146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12147
12148 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
12149
12150         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12151         1 to avoid redefinition warning.
12152         (__USE_GNU): Don't define.
12153         (init_signaling_nan): Protoize.
12154
12155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12156
12157 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12158
12159         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12161         (__cpymn): Likewise.
12162         (norm): Remove commented code.
12163         (denorm): Likewise.
12164         (__mp_dbl): Likewise.
12165         (__inv): Likewise.
12166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12167         (__cpymn): Likewise.
12168         (norm): Remove commented code.
12169         (denorm): Likewise.
12170         (__mp_dbl): Likewise.
12171         (__inv): Likewise.
12172
12173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12174         mp_no value for 1.0 and 2.0.
12175         (norm): Use RADIXI instead of radixi.d.
12176         (denorm): Likewise.
12177         (__mul): Use 0.0 instead of zero.d.
12178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12179         mp_no value for 1.0 and 2.0.
12180         (norm): Use RADIXI instead of radixi.d.
12181         (denorm): Likewise.
12182         (__mul): Use 0.0 instead of zero.d.
12183
12184 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
12185
12186         [BZ #14994]
12187         * math/s_casinh.c (__casinh): Reduce finite argument to first
12188         quadrant then set signs of results at the end.
12189         * math/s_casinhf.c (__casinhf): Likewise.
12190         * math/s_casinhl.c (__casinhl): Likewise.
12191         * math/libm-test.inc (casin_test): Add more tests.
12192         (casinh_test): Likewise.
12193         * sysdeps/i386/fpu/libm-test-ulps: Update.
12194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12195
12196 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12197
12198         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12199
12200         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12201
12202         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12203         declarations.
12204         (denorm): Likewise.
12205         (__mp_dbl): Likewise.
12206         (__inv): Likewise.
12207
12208         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12209         and adjust the header comment.
12210
12211         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12212         variable name from declaration.
12213
12214 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
12215
12216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12217         Initialize COMMON_CPUID_INDEX_7 element.
12218         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12219         (CPUID_RTM): Likewise.
12220         (HAS_RTM): Likewise.
12221         (COMMON_CPUID_INDEX_7): New enum.
12222
12223 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
12224
12225         [BZ #14981]
12226         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12227         size is zero, record memory as freed.
12228
12229 2013-01-03  Andreas Jaeger  <aj@suse.de>
12230
12231         * po/ia.po: Add new Interlingua translation.
12232
12233 2012-01-03  Allan McRae  <allan@archlinux.org>
12234
12235         * locale/programs/localedef.c: Fix description of '--posix' flag.
12236
12237 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
12238
12239         * NEWS: Update dates in second copyright notice.
12240         * README: Update copyright dates in example.
12241         * manual/libc.texinfo: Update copyright dates.
12242         * scripts/test-installation.pl: Update copyright date in --version
12243         output.
12244
12245         * hurd/ctty-input.c: Fix copyright notice formatting.
12246         * hurd/ctty-output.c: Likewise.
12247         * hurd/dtable.c: Likewise.
12248         * hurd/hurd-raise.c: Likewise.
12249         * hurd/hurdprio.c: Likewise.
12250         * hurd/msgportdemux.c: Likewise.
12251         * misc/sys/file.h: Likewise.
12252         * misc/sys/ioctl.h: Likewise.
12253         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12254         * sysdeps/mach/hurd/chdir.c: Likewise.
12255         * sysdeps/mach/hurd/fchdir.c: Likewise.
12256         * sysdeps/mach/hurd/rename.c: Likewise.
12257         * sysdeps/mach/hurd/rmdir.c: Likewise.
12258         * sysdeps/mach/hurd/seekdir.c: Likewise.
12259         * sysdeps/mach/hurd/setsid.c: Likewise.
12260         * sysdeps/posix/wait3.c: Likewise.
12261
12262         * All files with FSF copyright notices: Update copyright dates
12263         using scripts/update-copyrights.
12264         * intl/plural.c: Regenerated.
12265         * locale/programs/charmap-kw.h: Likewise.
12266         * locale/programs/locfile-kw.h: Likewise.
12267
12268 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12269
12270         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12271         four values.
12272
12273         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12274         calculation loop and add branch prediction.
12275
12276         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12277         check access beyond bounds of m1np.
12278
12279         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12280         MPTWO.
12281         (__inv): Remove local variable MPTWO to use the global
12282         constant.
12283         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12284         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12285         variable MPTWO.
12286         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12287         MP3HALFS static const.
12288
12289 2013-01-01  David S. Miller  <davem@davemloft.net>
12290
12291         * po/ca.po: Update from translation team.
12292
12293 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
12294
12295         * scripts/update-copyrights: New file.
12296         * Makeconfig: Reformat copyright notice.
12297         * ctype/ctype.h: Likewise.
12298         * debug/swprintf_chk.c: Likewise.
12299         * elf/dl-cache.c: Likewise.
12300         * elf/dl-debug.c: Likewise.
12301         * elf/dl-object.c: Likewise.
12302         * grp/initgroups.c: Likewise.
12303         * hurd/Makefile: Likewise.
12304         * hurd/hurd/signal.h: Likewise.
12305         * hurd/hurdfault.c: Likewise.
12306         * hurd/hurdioctl.c: Likewise.
12307         * hurd/hurdlookup.c: Likewise.
12308         * hurd/intr-msg.c: Likewise.
12309         * iconv/gconv_open.c: Likewise.
12310         * libio/swprintf.c: Likewise.
12311         * locale/lc-ctype.c: Likewise.
12312         * locale/nl_langinfo.c: Likewise.
12313         * mach/Machrules: Likewise.
12314         * mach/Makefile: Likewise.
12315         * malloc/obstack.h: Likewise.
12316         * manual/Makefile: Likewise.
12317         * manual/tsort.awk: Likewise.
12318         * misc/bits/stab.def: Likewise.
12319         * nis/nis_print_group_entry.c: Likewise.
12320         * nis/nis_table.c: Likewise.
12321         * nis/nss_compat/compat-pwd.c: Likewise.
12322         * nis/nss_compat/compat-spwd.c: Likewise.
12323         * po/Makefile: Likewise.
12324         * posix/fnmatch.c: Likewise.
12325         * posix/regex.h: Likewise.
12326         * resolv/Makefile: Likewise.
12327         * resolv/nss_dns/dns-network.c: Likewise.
12328         * resolv/res_hconf.c: Likewise.
12329         * scripts/gen-sorted.awk: Likewise.
12330         * soft-fp/soft-fp.h: Likewise.
12331         * stdio-common/printf.h: Likewise.
12332         * stdlib/monetary.h: Likewise.
12333         * stdlib/random.c: Likewise.
12334         * stdlib/random_r.c: Likewise.
12335         * sysdeps/generic/Makefile: Likewise.
12336         * sysdeps/gnu/Makefile: Likewise.
12337         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12338         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12339         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12341         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12342         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12343         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12344         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12345         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12346         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12347         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12348         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12349         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12350         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12351         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12352         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12353         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12354         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12355         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12356         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12357         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12358         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12359         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12360         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12361         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12362         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12363         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12364         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12365         * sysdeps/mach/hurd/errnos.awk: Likewise.
12366         * sysdeps/mach/hurd/fork.c: Likewise.
12367         * sysdeps/mach/hurd/getcwd.c: Likewise.
12368         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12369         * sysdeps/mach/hurd/mmap.c: Likewise.
12370         * sysdeps/mach/hurd/utimes.c: Likewise.
12371         * sysdeps/mach/hurd/xmknod.c: Likewise.
12372         * sysdeps/posix/profil.c: Likewise.
12373         * sysdeps/posix/readdir_r.c: Likewise.
12374         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12375         * sysdeps/powerpc/bits/setjmp.h: Likewise.
12376         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12377         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12379         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12380         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12381         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12383         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12384         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12385         * sysdeps/pthread/lio_listio.c: Likewise.
12386         * sysdeps/sparc/dl-procinfo.h: Likewise.
12387         * sysdeps/unix/i386/sysdep.S: Likewise.
12388         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12389         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12390         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12391         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12393         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12394         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12395         * sysdeps/unix/sysv/linux/speed.c: Likewise.
12396         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12397         * sysdeps/wordsize-32/divdi3.c: Likewise.
12398         * time/sys/time.h: Likewise.
12399         * wcsmbs/Makefile: Likewise.
12400
12401 2013-01-01  David S. Miller  <davem@davemloft.net>
12402
12403         * po/fr.po: Update from translation team.
12404
12405         * catgets/gencat.c: Update copyright year.
12406         * csu/version.c: Likewise.
12407         * debug/catchsegv.sh: Likewise.
12408         * debug/pcprofiledump.c: Likewise.
12409         * debug/xtrace.sh: Likewise.
12410         * elf/ldconfig.c: Likewise.
12411         * elf/ldd.bash.in: Likewise.
12412         * elf/pldd.c: Likewise.
12413         * elf/sotruss.ksh: Likewise.
12414         * elf/sprof.c: Likewise.
12415         * iconv/iconv_prog.c: Likewise.
12416         * iconv/iconvconfig.c: Likewise.
12417         * locale/programs/locale.c: Likewise.
12418         * locale/programs/localedef.c: Likewise.
12419         * login/programs/pt_chown.c: Likewise.
12420         * malloc/memusage.sh: Likewise.
12421         * malloc/memusagestat.c: Likewise.
12422         * malloc/mtrace.pl: Likewise.
12423         * nscd/nscd.c: Likewise.
12424         * nss/getent.c: Likewise.
12425         * nss/makedb.c: Likewise.
12426         * posix/getconf.c: Likewise.
12427
12428 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12429
12430         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12431         numbers.
12432
12433 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
12434
12435         * math/bits/mathcalls.h (modf): Use __nonnull.
12436
12437 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12438
12439         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12440         (split): Use macro CN instead of the bare value.
12441         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12442         could be used.
12443         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12444         instead of the bare value.
12445         (power1): Likewise.
12446
12447 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12448
12449         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12450         __ATAN_TWOM.
12451         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12452
12453         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12454         their values.
12455         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12456         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12457         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12458         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12459
12460 2012-12-28  Andreas Jaeger  <aj@suse.de>
12461
12462         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
12463         values are from Linux 3.7.
12464
12465         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12466         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
12467
12468 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12469
12470         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12471         TRUE case.
12472
12473         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12474         (norm): Likewise.
12475         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12476         variables with preprocessor constants.
12477         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12478         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12479         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12480
12481 2012-12-27  Bruno Haible  <bruno@clisp.org>
12482
12483         [BZ #14317]
12484         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12485         only if needed.
12486
12487 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12488
12489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12490         and use variable directly.
12491         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12492
12493         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12494         MPONE.
12495         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12496         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12497         variable MPONE.
12498         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12499         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12500         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12501         include directive.  Remove local variable MPONE.
12502         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12503         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12504         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12505
12506 2012-12-25  David S. Miller  <davem@davemloft.net>
12507
12508         * version.h (RELEASE): Set to "development".
12509         (VERSION): Set to "2.17.90".
12510         * NEWS: Add 2.18 section.
12511
12512 2012-12-21  David S. Miller  <davem@davemloft.net>
12513
12514         * po/hr.po: Update from translation team.
12515
12516 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12517
12518         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12519
12520 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12521
12522         * NEWS:  Mention new memcpy for MIPS.
12523
12524 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12525
12526         * manual/contrib.texi (Contributors): Spelling correction.
12527
12528 2012-12-15  David S. Miller  <davem@davemloft.net>
12529
12530         * po/ru.po: Update from translation team.
12531
12532 2012-12-13  David S. Miller  <davem@davemloft.net>
12533
12534         * NEWS: Mention IFUNC testsuite enhancements.
12535
12536         * po/pl.po: Update from translation team.
12537         * po/bg.po: Likewise.
12538
12539         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12540         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12541
12542 2012-12-11  David S. Miller  <davem@davemloft.net>
12543
12544         * po/sv.po: Update from translation team.
12545
12546         * po/vi.po: Update from translation team.
12547
12548         * po/cs.po: Update from translation team.
12549
12550         * po/de.po: Update from translation team.
12551         * po/eo.po: Likewise.
12552         * po/nl.po: Likewise.
12553
12554 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12555
12556         [BZ #14246]
12557         * manual/argp.texi (Argp Helper Functions): Move node to follow
12558         Argp Parsing State.
12559
12560         [BZ #14872]
12561         * manual/conf.texi (Limits on File System Capacity): Mention if
12562         terminating null is included in the max size.
12563
12564 2012-12-10  Andreas Jaeger  <aj@suse.de>
12565
12566         * po/cs.po: Update from translation team.
12567
12568 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12569
12570         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12571         void pointer and cast to uintptr_t.
12572         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12573         path.
12574         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12575         * sysdeps/s390/s390-64/memset.S: Likewise.
12576
12577 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12578
12579         [BZ #14833]
12580         * menual/message.texi (Message Translation): Fix typos.
12581         (Helper programs for gettext): Likewise.
12582
12583 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12584
12585         [BZ #14898]
12586         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12587         Change to -1.
12588
12589 2012-12-07  David S. Miller  <davem@davemloft.net>
12590
12591         * po/libc.pot: Update.
12592
12593 2012-12-07  Richard Henderson  <rth@redhat.com>
12594
12595         [BZ #10114]
12596         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12597         normal/normal case to before the switch.
12598         (_FP_DIV): Likewise.
12599
12600 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12601             Mike Frysinger  <vapier@gentoo.org>
12602
12603         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12604         check for __NR_fadvise64_64.
12605
12606 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12607
12608         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12609         0, not just to plain "0" as a statement.
12610         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12611         with cw.
12612
12613 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12614
12615         * NEWS: Use sourceware.org in Bugzilla URL.
12616
12617 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12618
12619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12620         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12621
12622         * stdio-common/tst-put-error.c (do_test): Add newline to the
12623         padded test to ensure flush.
12624
12625 2012-12-05  Jeff Law  <law@redhat.com>
12626
12627         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12628
12629 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12630
12631         * README: Don't refer to ports add-on as distributed separately.
12632         Mention AArch64 in list of systems supported in the ports add-on.
12633
12634         * LICENSES: Add more non-FSF copyright and license notices.
12635
12636         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12637         ((unused)).
12638
12639         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12640
12641         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12642         10000 as width of padded output.
12643
12644 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12645
12646         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12647
12648         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12649         variable LX with __attribute__ ((unused)).
12650         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12651         Likewise.
12652         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12653         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12654         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12655         with __attribute__ ((unused)).
12656
12657 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12658
12659         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12660
12661 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12662
12663         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12664         (CFLAGS-nldbl-acos.c): New variable.
12665         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12666         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12667         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12668         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12669         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12670         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12671         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12672         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12673         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12674         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12675         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12676         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12677         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12678         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12679         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12680         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12681         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12682         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12683         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12684         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12685         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12686         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12687         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12688         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12689         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12690         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12691         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12692         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12693         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12694         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12695         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12696         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12697         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12698         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12699         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12700         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12701         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12702         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12703         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12704         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12705         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12706         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12707         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12708         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12709         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12710         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12711         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12712         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12713         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12714         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12715         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12716         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12717         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12718         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12719         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12720         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12721         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12722         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12723         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12724         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12725         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12726         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12727         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12728         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12729         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12730         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12731         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12732         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12733         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12734         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12735         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12736         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12737         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12738         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12739         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12740         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12741         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12742         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12743         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12744         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12745         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12746         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12747         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12748         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12749         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12750         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12751         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12752         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12753         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12754         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12755         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12756         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12757         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12758         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12759         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12760         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12761         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12762
12763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12764         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12765
12766         [BZ #14914]
12767         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12768         whole low double instead of just low 47 bits when splitting values
12769         into two parts.
12770
12771 2012-12-03  Allan McRae  <allan@archlinux.org>
12772
12773         * manual/stdio.texi (Predefined Printf Handlers): Remove
12774         @hsep and @vsep usage.
12775
12776 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12777
12778         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12779         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12780
12781 2012-12-03  Jeff Law  <law@redhat.com>
12782
12783         * time/sys/time.h (settimeofday): Do not mark TV argument
12784         as __nonnull.
12785
12786 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12787
12788         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12789         when currently writing and seek to current position when not.
12790         * libio/Makefile (tests): Remove bug-fclose1.
12791         * libio/bug-fclose1.c: Delete.
12792
12793 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12794
12795         * manual/arith.texi (feenableexcept): Fix typo.
12796         (fedisableexcept): Likewise.
12797
12798 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12799
12800         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12801         second, differently-typed declaration, rather than a cast.
12802
12803 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12804
12805         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12806         * include/rpc/svc.h: ... here.
12807
12808 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12809
12810         [BZ #13013]
12811         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12812         depending n and resplen2 to catch cases where answer
12813         equals answerp2.
12814
12815 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12816
12817         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12818         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12819
12820 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12821
12822         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12823
12824 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12825
12826         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12827
12828 2012-11-28  Jeff Law  <law@redhat.com>
12829
12830         [BZ #13761]
12831         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12832         dataset_temporary.  Track alloca usage into alloca_used.
12833         If dataset is large allocate and release it via malloc/free.
12834
12835 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12836
12837         [BZ #14197]
12838         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12839
12840 2012-11-28  David S. Miller  <davem@davemloft.net>
12841
12842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12843
12844 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12845
12846         [BZ #14803]
12847         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12848         of pi/2 rounded to nearest to 64 bits.
12849         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12850         nearest to 64 bits.
12851         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12852         bits.
12853
12854 2012-11-28  Jeff Law <law@redhat.com>
12855             Martin Osvald <mosvald@redhat.com>
12856
12857         [BZ #14889]
12858         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12859         * sunrpc/svc.c: Include time.h.
12860         (__svc_accept_failed): New function.
12861         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12862         any reason other than EINTR, call __svc_accept_failed.
12863         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12864         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12865
12866 2012-11-28  Andreas Schwab  <schwab@suse.de>
12867
12868         * scripts/abilist.awk: Also handle indirect functions in .opd
12869         section.
12870
12871 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12872
12873         [BZ #13881]
12874         * sysdeps/x86/fpu/powl_helper.c: New file.
12875         * sysdeps/x86/fpu/Makefile: Likewise.
12876         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12877         (p3): New object.
12878         (__ieee754_powl): Use __powl_helper for finite arguments except
12879         integer exponents below 8.
12880         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12881         (p3): New object.
12882         (__ieee754_powl): Use __powl_helper for finite arguments except
12883         integer exponents below 8.
12884         * math/libm-test.inc (pow_test): Add more tests and enable some
12885         previously disabled tests.
12886         * sysdeps/i386/fpu/libm-test-ulps: Update.
12887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12888
12889 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12890             Carlos O'Donell  <carlos_odonell@mentor.com>
12891
12892         * nss/makedb.c (is_prime): Assert that input is odd and greater
12893         than 4.  Note that fact in a comment too.
12894         (next_prime): Add 4 to input.
12895
12896 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12897
12898         [BZ #11741]
12899         * libio/Makefile (tests): Add test case tst-fwrite-error.
12900         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12901         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12902         * libio/tst-fwrite-error.c: New test case.
12903
12904 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12905
12906         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12907         before casting to void *.
12908         * include/libc-internal.h (__pointer_type): New macro.
12909         (__integer_if_pointer_type_sub): Likewise.
12910         (__integer_if_pointer_type): Likewise.
12911         (cast_to_integer): Likewise.
12912         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12913         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12914         before casting to atomic64_t.
12915         (atomic_exchange_acq): Likewise.
12916         (__arch_exchange_and_add_body): Likewise.
12917         (__arch_add_body): Likewise.
12918         (atomic_add_negative): Likewise.
12919         (atomic_add_zero): Likewise.
12920
12921 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12922
12923         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12924         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12925         (add_fdes): Likewise.
12926         (linear_search_fdes): Likewise.
12927         (binary_search_unencoded_fdes): Likewise.
12928
12929 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12930
12931         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12932
12933 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12934
12935         * configure.in: Autodetect C++ header directories.
12936         * configure: Regenerated.
12937
12938 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12939
12940         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12941
12942 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12943
12944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12945
12946 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12947
12948         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12949         LDBL_MANT_DIG == 106]: Disable some tests.
12950         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12951         Likewise.
12952         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12953         Likewise.
12954
12955         [BZ #14871]
12956         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12957         input for small inputs.  Return +/- pi/2 for large inputs.
12958         * math/libm-test.inc (atan_test): Add more tests.
12959
12960         * sysdeps/generic/unwind-dw2-fde-glibc.c
12961         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12962         __attribute__ ((unused)).
12963
12964         [BZ #14645]
12965         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12966         x * y if x and y are nonzero and z is zero.
12967
12968         [BZ #14811]
12969         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12970         nonzero exponents with absolute value below 0x1p-117 to +/-
12971         0x1p-117.
12972
12973         [BZ #14869]
12974         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12975         up arguments below 2**-450, not just those below 2**-500.
12976         * math/libm-test.inc (hypot_test): Add another test.
12977
12978         [BZ #14868]
12979         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12980         Return a+b for ratio over 2**120, not 2**60.
12981         * math/libm-test.inc (hypot_test): Add another test.
12982
12983         * math/libm-test.inc (clog_test): Use
12984         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12985         (clog10_test): Likewise.
12986
12987         [BZ #6778]
12988         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12989
12990 2012-11-22  Andreas Schwab  <schwab@suse.de>
12991
12992         * sysdeps/i386/fpu/libm-test-ulps: Update.
12993
12994 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12995
12996         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12997         printf output with newline.
12998
12999 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
13000
13001         [BZ #14865]
13002         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13003         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13004         -z nodlopen, -z initfirst and -z execstack support.
13005         * configure: Regenerated.
13006
13007         * elf/elf.h (DF_1_NODIRECT): New macro.
13008         (DF_1_IGNMULDEF): Likewise.
13009         (DF_1_NOKSYMS): Likewise.
13010         (DF_1_NOHDR): Likewise.
13011         (DF_1_EDITED): Likewise.
13012         (DF_1_NORELOC): Likewise.
13013         (DF_1_SYMINTPOSE): Likewise.
13014         (DF_1_GLOBAUDIT): Likewise.
13015         (DF_1_SINGLETON): Likewise.
13016         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13017         DT_1_SUPPORTED_MASK bits.
13018         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13019
13020 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
13021
13022         * sysdeps/unix/make-syscalls.sh: Document prefixes.
13023
13024 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
13025
13026         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13027         macro.
13028
13029         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13030         (sendmmsg): Move declarations...
13031         * socket/sys/socket.h: ... here.
13032         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13033         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13034         include it from...
13035         * socket/recvmmsg.c: ... this new file.
13036         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13037         (sendmmsg): Rename to __sendmmsg, create weak alias and make
13038         definition of __sendmmsg hidden.
13039         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13040         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13041         Move ENOSYS stub into and include it from...
13042         * socket/sendmmsg.c: ... this new file.
13043         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13044         (sysdep_routines): Move recvmmsg and sendmmsg...
13045         * socket/Makefile (routines): ... here.
13046         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13047         (GLIBC_PRIVATE): Add __sendmmsg.
13048         * include/sys/socket.h (__sendmmsg): Add declarations.
13049         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13050         sendmmsg.
13051
13052 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
13053
13054         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13055         variable I1 with __attribute__ ((unused)).
13056         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13057
13058 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13059
13060         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13061         DUMMY variables with __attribute__ ((unused)).
13062
13063         * bits/byteswap.h: Include <bits/types.h>.
13064         (__bswap_64): Use __uint64_t instead of unsigned long long int.
13065
13066 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13067
13068         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13069         string_t.  Do not manually set errno.
13070         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13071         length with __strnlen.  Make sure to both set errno and return it on
13072         failure.
13073
13074 2012-11-19  David S. Miller  <davem@davemloft.net>
13075
13076         With help from Joseph Myers.
13077         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13078         very large arguments properly.
13079         * math/libm-test.inc (atan_test): New tests.
13080         (atan2_test): New tests.
13081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13083
13084 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13085
13086         [BZ #14856]
13087         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13088         Define to 3.
13089
13090         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13091         [POSIX] (EADDRNOTAVAIL): Likewise.
13092         [POSIX] (EAFNOSUPPORT): Likewise.
13093         [POSIX] (EALREADY): Likewise.
13094         [POSIX] (ECONNABORTED): Likewise.
13095         [POSIX] (ECONNREFUSED): Likewise.
13096         [POSIX] (ECONNRESET): Likewise.
13097         [POSIX] (EDESTADDRREQ): Likewise.
13098         [POSIX] (EDQUOT): Likewise.
13099         [POSIX] (EHOSTUNREACH): Likewise.
13100         [POSIX] (EIDRM): Likewise.
13101         [POSIX] (EISCONN): Likewise.
13102         [POSIX] (ELOOP): Likewise.
13103         [POSIX] (EMULTIHOP): Likewise.
13104         [POSIX] (ENETDOWN): Likewise.
13105         [POSIX] (ENETUNREACH): Likewise.
13106         [POSIX] (ENOBUFS): Likewise.
13107         [POSIX] (ENODATA): Likewise.
13108         [POSIX] (ENOLINK): Likewise.
13109         [POSIX] (ENOMSG): Likewise.
13110         [POSIX] (ENOPROTOOPT): Likewise.
13111         [POSIX] (ENOSR): Likewise.
13112         [POSIX] (ENOSTR): Likewise.
13113         [POSIX] (ENOTCONN): Likewise.
13114         [POSIX] (ENOTSOCK): Likewise.
13115         [POSIX] (EOPNOTSUPP): Likewise.
13116         [POSIX] (EOVERFLOW): Likewise.
13117         [POSIX] (EPROTO): Likewise.
13118         [POSIX] (EPROTONOSUPPORT): Likewise.
13119         [POSIX] (EPROTOTYPE): Likewise.
13120         [POSIX] (ESTALE): Likewise.
13121         [POSIX] (ETIME): Likewise.
13122         [POSIX] (ETXTBSY): Likewise.
13123         [POSIX] (EWOULDBLOCK): Likewise.
13124         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13125         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13126         [POSIX] (SEEK_CUR): Likewise.
13127         [POSIX] (SEEK_END): Likewise.
13128         [POSIX || UNIX98] (mode_t): Do not require.
13129         [POSIX] (off_t): Likewise.
13130         [POSIX] (pid_t): Likewise.
13131         [POSIX] (sys/stat.h): Do not allow header.
13132         [POSIX] (unistd.h): Likewise.
13133         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13134         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13135         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13136         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13137         require.
13138         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13139         sigevent): Specify elements.
13140         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13141         entry.
13142         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13143         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13144
13145         * conform/data/cpio.h-data [POSIX]: Disable whole file.
13146         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13147         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13148         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13149         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13150         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13151         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13152         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13153         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13154         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13155         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13156         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13157         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13158         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13159         Likewise.
13160         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13161         Likewise.
13162         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13163         Likewise.
13164         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13165         Likewise.
13166         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13167         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13168         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13169         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13170         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13171         Specify lower bound on value.
13172         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13173         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13174         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13175         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13176         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13177         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13178         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13179         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13180         value.
13181         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13182         as optional.
13183         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13184         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13185         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13186         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13187         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13188         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13189         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13190         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13191         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13192         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13193         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13194         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13195         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13196         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13197         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13198         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13199         entry.
13200         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13201         optional.
13202         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13203         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13204         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13205         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13206         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13207         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13208         Likewise.
13209         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13210         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13211         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13212         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13213         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
13214         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13215         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13216         as optional.
13217         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13218         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13219         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13220         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13221         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13222         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13223         specify as optional.
13224         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13225         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13226         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13227         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13228         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13229         [XPG3] (NL_LANGMAX): Likewise.
13230         [POSIX || XPG3] (NL_MSGMAX): Likewise.
13231         [POSIX || XPG3] (NL_NMAX): Likewise.
13232         [POSIX || XPG3] (NL_SETMAX): Likewise.
13233         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13234         [XPG3] (NZERO): Likewise.
13235         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13236         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13237         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13238         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13239         (REG_ERANGE): Expect.
13240         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13241         optional-constant.
13242         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13243         Use (void) in prototype.
13244         [POSIX] (*_t): Allow.
13245         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13246         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13247         (WRDE_BADVAL): Expect.
13248
13249         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13250         expect.
13251         [XPG3 || XPG4] (O_RSYNC): Likewise.
13252         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13253         Likewise.
13254         [XPG3 || XPG4] (pthread_sigmask): Likewise.
13255         [XPG3 || XPG4] (sigqueue): Likewise.
13256         [XPG3 || XPG4] (sigtimedwait): Likewise.
13257         [XPG3 || XPG4] (sigwaitinfo): Likewise.
13258         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13259         [XPG3 || XPG4] (vsnprintf): Likewise.
13260         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13261         Likewise.
13262         [XPG3 || XPG4] (blksize_t): Likewise.
13263         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13264         Likewise.
13265         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13266         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13267         [XPG3 || XPG4] (struct itimerspec): Likewise.
13268         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13269         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13270         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13271         [XPG3 || XPG4] (clockid_t): Likewise.
13272         [XPG3 || XPG4] (timer_t): Likewise.
13273         [XPG3 || XPG4] (clock_getres): Likewise.
13274         [XPG3 || XPG4] (clock_gettime): Likewise.
13275         [XPG3 || XPG4] (clock_settime): Likewise.
13276         [XPG3 || XPG4] (nanosleep): Likewise.
13277         [XPG3 || XPG4] (timer_create): Likewise.
13278         [XPG3 || XPG4] (timer_delete): Likewise.
13279         [XPG3 || XPG4] (timer_gettime): Likewise.
13280         [XPG3 || XPG4] (timer_getoverrun): Likewise.
13281         [XPG3 || XPG4] (timer_settime): Likewise.
13282         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13283         [XPG3 || XPG4] (getlogin_r): Likewise.
13284         [XPG3 || XPG4] (pread): Likewise.
13285         [XPG3 || XPG4] (pthread_atfork): Likewise.
13286         [XPG3 || XPG4] (pwrite): Likewise.
13287
13288         [BZ #14835]
13289         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13290         <bits/siginfo.h>.
13291
13292 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13293
13294         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13295         finalizing MALLSTREAM.
13296
13297         * sysdeps/mach/hurd/syncfs.c: New file.
13298
13299 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13300
13301         [BZ #14719]
13302         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13303         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13304         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13305         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13306         (_nss_dns_gethostbyname4_r): Likewise.
13307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13308         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13309
13310 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
13311
13312         [BZ #13763]
13313         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13314
13315 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
13316
13317         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13318         * elf/cache.c (print_entry): Print ",AArch64" for
13319         FLAG_AARCH64_LIB64
13320
13321         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13322         * elf/cache.c (print_entry): Print ",hard-float" for
13323         FLAG_ARM_LIBHF.
13324
13325 2012-11-18  David S. Miller  <davem@davemloft.net>
13326
13327         With help from Joseph Myers.
13328         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13329         cutoff to 2**-13.
13330         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13331         cutoff to 2**-25.
13332         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13333         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13334         small.
13335         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13336         * math/libm-test.inc (y0_test): New tests.
13337         (y1_test): New tests.
13338         * sysdeps/i386/fpu/libm-test-ulps: Update.
13339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13341
13342 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
13343
13344         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13345         64-bit targets.
13346         * configure: Regenerated.
13347
13348 2012-11-17  David S. Miller  <davem@davemloft.net>
13349
13350         [BZ #14811]
13351         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13352         nonzero exponents with absolute value below 0x1p-128 to +/-
13353         0x1p-128.
13354
13355 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
13356
13357         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13358
13359         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13360
13361         * posix/getconf-speclist.c: New file.
13362         * posix/posix-envs.def: Likewise.
13363         * posix/confstr.c (START_ENV_GROUP): New macro.
13364         (END_ENV_GROUP): Likewise.
13365         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13366         (KNOWN_PRESENT_ENV_STRING): Likewise.
13367         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13368         (UNKNOWN_ENVIRONMENT): Likewise.
13369         (confstr): Include posix-envs.def instead of handling
13370         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13371         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13372         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13373         (END_ENV_GROUP): Likewise.
13374         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13375         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13376         (UNKNOWN_ENVIRONMENT): Likewise.
13377         (__sysconf): Include posix-envs.def instead of handling associated
13378         cases directly here.
13379         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13380         preprocessing getconf-speclist.c rather than running getconf or
13381         generating empty file.
13382
13383 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
13384
13385         * scripts/check-local-headers.sh: Ignore 'mach' headers.
13386
13387 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
13388
13389         [BZ #14672]
13390         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13391
13392 2012-11-16  David S. Miller  <davem@davemloft.net>
13393
13394         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13395         smaller than LDBL_EPSILON/2.0L, just return xm1.
13396
13397 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
13398
13399         * elf/tst-array1.c (init): Set constructor priority to 1000.
13400         (fini): Set destructor priority to 1000.
13401         * elf/tst-array2dep.c: Likewise.
13402
13403 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13404
13405         [BZ #11741]
13406         * libio/fileops.c (_IO_new_file_write): Correctly return error.
13407         (_IO_new_file_xsputn): Also return EOF if none of the input
13408         data was written when overflow failed.
13409         * libio/iopadn.c (_IO_padn): Likewise.
13410         * libio/iowpadn.c (_IO_wpadn): Likewise.
13411         * stdio-common/tst-put-error.c: Add copyright notice.
13412         (do_test): Add case for printing padded string.
13413         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13414         _IO_padn returned error.
13415         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13416         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13417         return EOF.
13418
13419 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13420
13421         * libio/libioP.h: Add comment note that the references to C++
13422         bits are now obsolete.
13423
13424 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13425
13426         * math/libm-test.inc (check_complex): Use asprintf.
13427
13428 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
13429
13430         * debug/pcprofiledump.c (print_version): Update copyright year.
13431         * malloc/memusagestat.c (print_version): Likewise.
13432
13433 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13434
13435         [BZ #14831]
13436         * elf/Makefile (tests): Add tst-audit8.
13437         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13438         ($(objpfx)tst-audit8.out): New target.
13439         (tst-audit8-ENV): New variable.
13440         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13441         audit if l_reloc_result is NULL.
13442         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13443         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13444         * elf/tst-audit8.c: New file.
13445
13446 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13447
13448         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13449         * misc/Makefile (CFLAGS-select.c): Define.
13450         * posix/Makefile (CFLAGS-pause.c): Define.
13451
13452 2012-11-13  David S. Miller  <davem@davemloft.net>
13453
13454         * crypt/Makefile: Move test targets after toplevel Rules
13455         inclusion.  Grab any necessary sysdep routines when linking.
13456         * crypt/md5.c (md5_process_block): Remove define, we will always
13457         name it __md5_process_block.
13458         (md5_finish_ctx): Update md5_process_block call.
13459         (md5_stream): Likewise.
13460         (md5_process_bytes): Likewise.
13461         (md5_process_block): Rename to __md5_process_block and move to ...
13462         * crypt/md5-block.c: ... here.
13463         * crypt/sha256.c (sha256_process_block): Move to ...
13464         * crypt/sha256-block.c: ... here.
13465         * crypt/sha512.c (sha512_process_block): Move to ...
13466         * crypt/sha512-block.c: ... here.
13467         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13468         path.
13469         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13470         * sysdeps/sparc/sparc64/multiarch/Makefile
13471         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13472         crypt subdir.
13473         (localedef-aux): Add md5 crypto assembler when in locale subdir.
13474         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13475         multiarch changes.
13476         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13477         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13478         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13479         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13480         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13481         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13482         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13483         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13484         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13485         file.
13486         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13487         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13488         file.
13489         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13490
13491 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
13492
13493         * timezone/tzselect.ksh: Update from tzcode git revision
13494         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13495         * timezone/zdump.c: Likewise.
13496         * timezone/zic.c: Likewise.
13497         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13498         in TZVERSION setting, not $(PKGVERSION).
13499         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13500         REPORT_BUGS_TO settings.
13501
13502         [BZ #14838]
13503         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13504         macro.
13505
13506 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13507
13508         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13509         detection to immediately after _FP_ROUND().
13510         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13511         bits are 0.
13512
13513 2012-11-11  David S. Miller  <davem@davemloft.net>
13514
13515         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13516         inttypes.h
13517         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13518         __close rather than their public counterparts.
13519
13520 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13521
13522         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13523         file.
13524         [UNIX98] (sem_timedwait): Do not expect.
13525         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13526         [XPG4 || UNIX98] (sockatmark): Do not expect.
13527         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13528         (clock_getcpuclockid): Do not expect.
13529         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13530         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13531         Do not expect.
13532         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13533         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13534         [UNIX98] (vwscanf): Likewise.
13535         [UNIX98] (vswscanf): Likewise.
13536
13537 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13538
13539         * timezone/version.h: Remove file.
13540         * timezone/README: Do not refer to version.h.
13541         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13542         $(objpfx)version.h.
13543         ($(objpfx)zdump.o): Likewise.
13544         ($(objpfx)version.h): New target.
13545
13546         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13547         2012i.
13548         * timezone/README: Don't mention modification to tzselect.ksh.
13549         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13550         work on unmodified tzselect.ksh.  Substitute version numbers in
13551         tzselect.ksh.
13552
13553         * Makefile (format-me): Remove.
13554         (INSTALL): Adjust indentation.  Use commands directly instead of
13555         using $(format-me).
13556
13557         * aclocal.m4 (ACX_PKGVERSION): New macro.
13558         (ACX_BUGURL): Likewise.
13559         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13560         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13561         (REPORT_BUGS_TO): Likewise.
13562         * configure: Regenerated.
13563         * config.h.in (PKGVERSION): New macro.
13564         (REPORT_BUGS_TO): Likewise.
13565         * config.make.in (PKGVERSION): New variable.
13566         (PKGVERSION_TEXI): Likewise.
13567         (REPORT_BUGS_TO): Likewise.
13568         (REPORT_BUGS_TEXI): Likewise.
13569         * Makefile (format-me): Use -I$(common-objpfx)manual.
13570         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13571         ($(common-objpfx)manual/%): New target.
13572         (manual/%): Remove target.
13573         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13574         (print_version): Use PKGVERSION.
13575         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13576         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13577         and REPORT_BUGS_TO.
13578         ($(objpfx)xtrace): Likewise.
13579         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13580         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13581         (print_version): Use PKGVERSION.
13582         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13583         (do_version): Use PKGVERSION.
13584         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13585         REPORT_BUGS_TO.
13586         (common-ldd-rewrite): Likewise.
13587         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13588         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13589         (print_version): Use PKGVERSION.
13590         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13591         * elf/pldd.c (argp_program_bug_address): Remove variable.
13592         (more_help): New function.
13593         (argp): Use more_help.
13594         (print_version): Use PKGVERSION.
13595         * elf/sln.c (main): Use PKGVERSION.
13596         (usage): Use REPORT_BUGS_TO.
13597         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13598         (top level): Use PKGVERSION.
13599         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13600         (print_version): Use PKGVERSION.
13601         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13602         (print_version): Use PKGVERSION.
13603         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13604         (print_version): Use PKGVERSION.
13605         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13606         (print_version): Use PKGVERSION.
13607         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13608         (print_version): Use PKGVERSION.
13609         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13610         (print_version): Use PKGVERSION.
13611         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13612         and BUGURL.
13613         ($(objpfx)memusage): Likewise.
13614         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13615         (do_version): Use PKGVERSION.
13616         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13617         (print_version): Use PKGVERSION.
13618         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13619         ($PKGVERSION): New variable.
13620         ($REPORT_BUGS_TO): Likewise.
13621         (usage): Use $REPORT_BUGS_TO.
13622         (top level): Use $PKGVERSION.
13623         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13624         ($(objpfx)pkgvers.texi): New rule.
13625         ($(objpfx)stamp-pkgvers): Likewise.
13626         * manual/install.texi: Include pkgvers.texi.
13627         (--with-pkgversion): Document new configure option.
13628         (--with-bugurl): Likewise.
13629         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13630         than necessarily for this particular distribution.  Use
13631         REPORT_BUGS_TO for where to report bugs.
13632         * INSTALL: Regenerated.
13633         * manual/libc.texinfo: Include pkgvers.texi.
13634         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13635         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13636         (print_version): Use PKGVERSION.
13637         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13638         (print_version): Use PKGVERSION.
13639         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13640         (print_version): Use PKGVERSION.
13641         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13642         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13643         macro.
13644         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13645         (print_version): Use PKGVERSION.
13646         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13647         (print_version): Use PKGVERSION.
13648         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13649         and PKGVERSION.
13650
13651         * timezone/checktab.awk: Update from tzcode 2012i.
13652         * timezone/ialloc.c: Likewise.
13653         * timezone/private.h: Likewise.
13654         * timezone/scheck.c: Likewise.
13655         * timezone/tzfile.h: Likewise.
13656         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13657         (TZVERSION): Hardcode tzcode version number.
13658         * timezone/zdump.c: Update from tzcode 2012i.
13659         * timezone/zic.c: Likewise.
13660         * timezone/version.h: New file.
13661         * timezone/README: Describe version.h.  Update upstream location.
13662
13663         [BZ #14824]
13664         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13665         (mktemp): Enable declaration.
13666         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13667         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13668         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13669         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13670         Likewise.
13671         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13672         Likewise.
13673         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13674         Likewise.
13675         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13676         Likewise.
13677         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13678         Likewise.
13679         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13680         Likewise.
13681
13682         [BZ #14821]
13683         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13684         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13685         for copies of such integer values.
13686         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13687         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13688
13689 2012-11-09  Andreas Jaeger  <aj@suse.de>
13690
13691         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13692         definitions and declarations that are provided by
13693         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13694
13695 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13696
13697         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13698         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13699         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13700         definition.
13701
13702 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13703
13704         * elf/elf.h: Update comment before AArch64 relocations.
13705
13706 2012-11-07  David S. Miller  <davem@davemloft.net>
13707
13708         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13709         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13710         (__start_context): Declare.
13711         (__makecontext_ret): Delete.
13712         (__makecontext): Hook up __start_context instead of
13713         __makecontext_ret.
13714         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13715         (sysdep_routines): Add __start_context when in stdlib.
13716
13717 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13718
13719         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13720         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13721         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13722         hardcoded "nm".
13723         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13724         (READELF): New variable.  Use it instead of hardcoded "readelf".
13725
13726 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13727
13728         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13729         * sysdeps/x86/Makefile: Here.
13730         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13731         * sysdeps/x86/tst-xmmymm.sh: This.
13732
13733 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13734
13735         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13736         expectations.
13737         [UNIX98] (pthread_barrier_t): Do not expect.
13738         [UNIX98] (pthread_barrierattr_t): Likewise.
13739         [UNIX98] (pthread_spinlock_t): Likewise.
13740         [UNIX98] (pthread_barrier_destroy): Likewise.
13741         [UNIX98] (pthread_barrier_init): Likewise.
13742         [UNIX98] (pthread_barrier_wait): Likewise.
13743         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13744         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13745         [UNIX98] (pthread_barrierattr_init): Likewise.
13746         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13747         [UNIX98] (pthread_getcpuclockid): Likewise.
13748         [UNIX98] (pthread_mutex_timedlock): Likewise.
13749         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13750         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13751         [UNIX98] (pthread_sigmask): Likewise.
13752         [UNIX98] (pthread_spin_destroy): Likewise.
13753         [UNIX98] (pthread_spin_init): Likewise.
13754         [UNIX98] (pthread_spin_lock): Likewise.
13755         [UNIX98] (pthread_spin_trylock): Likewise.
13756         [UNIX98] (pthread_spin_unlock): Likewise.
13757         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13758         Do not expect.
13759         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13760         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13761         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13762         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13763         [XPG3 || XPG4] (pthread_key_t): Likewise.
13764         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13765         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13766         [XPG3 || XPG4] (pthread_once_t): Likewise.
13767         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13768         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13769         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13770         [XPG3 || XPG4] (pthread_t): Likewise.
13771
13772         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13773         not expect.
13774         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13775
13776         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13777         Change function return type to int.
13778
13779         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13780         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13781         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13782         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13783         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13784         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13785         [!POSIX] (posix_madvise): Likewise.
13786         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13787         && !UNIX98].
13788         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13789         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13790         (mode_t): Likewise.
13791         (posix_mem_offset): Likewise.
13792         (posix_typed_mem_get_info): Likewise.
13793         (posix_typed_mem_open): Likewise.
13794
13795         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13796         Change condition to [XOPEN2K8].
13797
13798         * conform/conformtest.pl: Preprocess allow-header data with -x c
13799         instead of from stdin.
13800         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13801         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13802         [C99-based standards] (cerfc): Likewise.
13803         [C99-based standards] (cexp2): Likewise.
13804         [C99-based standards] (cexpm1): Likewise.
13805         [C99-based standards] (clog10): Likewise.
13806         [C99-based standards] (clog1p): Likewise.
13807         [C99-based standards] (clog2): Likewise.
13808         [C99-based standards] (clgamma): Likewise.
13809         [C99-based standards] (ctgamma): Likewise.
13810         [C99-based standards] (cerff): Likewise.
13811         [C99-based standards] (cerfcf): Likewise.
13812         [C99-based standards] (cexp2f): Likewise.
13813         [C99-based standards] (cexpm1f): Likewise.
13814         [C99-based standards] (clog10f): Likewise.
13815         [C99-based standards] (clog1pf): Likewise.
13816         [C99-based standards] (clog2f): Likewise.
13817         [C99-based standards] (clgammaf): Likewise.
13818         [C99-based standards] (ctgammaf): Likewise.
13819         [C99-based standards] (cerfl): Likewise.
13820         [C99-based standards] (cerfcl): Likewise.
13821         [C99-based standards] (cexp2l): Likewise.
13822         [C99-based standards] (cexpm1l): Likewise.
13823         [C99-based standards] (clog10l): Likewise.
13824         [C99-based standards] (clog1pl): Likewise.
13825         [C99-based standards] (clog2l): Likewise.
13826         [C99-based standards] (clgammal): Likewise.
13827         [C99-based standards] (ctgammal): Likewise.
13828         * conform/data/inttypes.h-data [C99-based standards]: Include
13829         stdint.h-data.  Remove all expectations for stdint.h contents.
13830         [C99-based standards] (PRI*): Do not allow.
13831         [C99-based standards] (SCN*): Likewise.
13832         [C99-based standards] (*_t): Likewise.
13833         [C99-based-standards] (PRId8): Expect macro.
13834         [C99-based-standards] (PRIi8): Likewise.
13835         [C99-based-standards] (PRIo8): Likewise.
13836         [C99-based-standards] (PRIu8): Likewise.
13837         [C99-based-standards] (PRIx8): Likewise.
13838         [C99-based-standards] (PRIX8): Likewise.
13839         [C99-based-standards] (SCNd8): Likewise.
13840         [C99-based-standards] (SCNi8): Likewise.
13841         [C99-based-standards] (SCNo8): Likewise.
13842         [C99-based-standards] (SCNu8): Likewise.
13843         [C99-based-standards] (SCNx8): Likewise.
13844         [C99-based-standards] (PRIdLEAST8): Likewise.
13845         [C99-based-standards] (PRIiLEAST8): Likewise.
13846         [C99-based-standards] (PRIoLEAST8): Likewise.
13847         [C99-based-standards] (PRIuLEAST8): Likewise.
13848         [C99-based-standards] (PRIxLEAST8): Likewise.
13849         [C99-based-standards] (PRIXLEAST8): Likewise.
13850         [C99-based-standards] (SCNdLEAST8): Likewise.
13851         [C99-based-standards] (SCNiLEAST8): Likewise.
13852         [C99-based-standards] (SCNoLEAST8): Likewise.
13853         [C99-based-standards] (SCNuLEAST8): Likewise.
13854         [C99-based-standards] (SCNxLEAST8): Likewise.
13855         [C99-based-standards] (PRIdFAST8): Likewise.
13856         [C99-based-standards] (PRIiFAST8): Likewise.
13857         [C99-based-standards] (PRIoFAST8): Likewise.
13858         [C99-based-standards] (PRIuFAST8): Likewise.
13859         [C99-based-standards] (PRIxFAST8): Likewise.
13860         [C99-based-standards] (PRIXFAST8): Likewise.
13861         [C99-based-standards] (SCNdFAST8): Likewise.
13862         [C99-based-standards] (SCNiFAST8): Likewise.
13863         [C99-based-standards] (SCNoFAST8): Likewise.
13864         [C99-based-standards] (SCNuFAST8): Likewise.
13865         [C99-based-standards] (SCNxFAST8): Likewise.
13866         [C99-based-standards] (PRId16): Likewise.
13867         [C99-based-standards] (PRIi16): Likewise.
13868         [C99-based-standards] (PRIo16): Likewise.
13869         [C99-based-standards] (PRIu16): Likewise.
13870         [C99-based-standards] (PRIx16): Likewise.
13871         [C99-based-standards] (PRIX16): Likewise.
13872         [C99-based-standards] (SCNd16): Likewise.
13873         [C99-based-standards] (SCNi16): Likewise.
13874         [C99-based-standards] (SCNo16): Likewise.
13875         [C99-based-standards] (SCNu16): Likewise.
13876         [C99-based-standards] (SCNx16): Likewise.
13877         [C99-based-standards] (PRIdLEAST16): Likewise.
13878         [C99-based-standards] (PRIiLEAST16): Likewise.
13879         [C99-based-standards] (PRIoLEAST16): Likewise.
13880         [C99-based-standards] (PRIuLEAST16): Likewise.
13881         [C99-based-standards] (PRIxLEAST16): Likewise.
13882         [C99-based-standards] (PRIXLEAST16): Likewise.
13883         [C99-based-standards] (SCNdLEAST16): Likewise.
13884         [C99-based-standards] (SCNiLEAST16): Likewise.
13885         [C99-based-standards] (SCNoLEAST16): Likewise.
13886         [C99-based-standards] (SCNuLEAST16): Likewise.
13887         [C99-based-standards] (SCNxLEAST16): Likewise.
13888         [C99-based-standards] (PRIdFAST16): Likewise.
13889         [C99-based-standards] (PRIiFAST16): Likewise.
13890         [C99-based-standards] (PRIoFAST16): Likewise.
13891         [C99-based-standards] (PRIuFAST16): Likewise.
13892         [C99-based-standards] (PRIxFAST16): Likewise.
13893         [C99-based-standards] (PRIXFAST16): Likewise.
13894         [C99-based-standards] (SCNdFAST16): Likewise.
13895         [C99-based-standards] (SCNiFAST16): Likewise.
13896         [C99-based-standards] (SCNoFAST16): Likewise.
13897         [C99-based-standards] (SCNuFAST16): Likewise.
13898         [C99-based-standards] (SCNxFAST16): Likewise.
13899         [C99-based-standards] (PRId32): Likewise.
13900         [C99-based-standards] (PRIi32): Likewise.
13901         [C99-based-standards] (PRIo32): Likewise.
13902         [C99-based-standards] (PRIu32): Likewise.
13903         [C99-based-standards] (PRIx32): Likewise.
13904         [C99-based-standards] (PRIX32): Likewise.
13905         [C99-based-standards] (SCNd32): Likewise.
13906         [C99-based-standards] (SCNi32): Likewise.
13907         [C99-based-standards] (SCNo32): Likewise.
13908         [C99-based-standards] (SCNu32): Likewise.
13909         [C99-based-standards] (SCNx32): Likewise.
13910         [C99-based-standards] (PRIdLEAST32): Likewise.
13911         [C99-based-standards] (PRIiLEAST32): Likewise.
13912         [C99-based-standards] (PRIoLEAST32): Likewise.
13913         [C99-based-standards] (PRIuLEAST32): Likewise.
13914         [C99-based-standards] (PRIxLEAST32): Likewise.
13915         [C99-based-standards] (PRIXLEAST32): Likewise.
13916         [C99-based-standards] (SCNdLEAST32): Likewise.
13917         [C99-based-standards] (SCNiLEAST32): Likewise.
13918         [C99-based-standards] (SCNoLEAST32): Likewise.
13919         [C99-based-standards] (SCNuLEAST32): Likewise.
13920         [C99-based-standards] (SCNxLEAST32): Likewise.
13921         [C99-based-standards] (PRIdFAST32): Likewise.
13922         [C99-based-standards] (PRIiFAST32): Likewise.
13923         [C99-based-standards] (PRIoFAST32): Likewise.
13924         [C99-based-standards] (PRIuFAST32): Likewise.
13925         [C99-based-standards] (PRIxFAST32): Likewise.
13926         [C99-based-standards] (PRIXFAST32): Likewise.
13927         [C99-based-standards] (SCNdFAST32): Likewise.
13928         [C99-based-standards] (SCNiFAST32): Likewise.
13929         [C99-based-standards] (SCNoFAST32): Likewise.
13930         [C99-based-standards] (SCNuFAST32): Likewise.
13931         [C99-based-standards] (SCNxFAST32): Likewise.
13932         [C99-based-standards] (PRId64): Likewise.
13933         [C99-based-standards] (PRIi64): Likewise.
13934         [C99-based-standards] (PRIo64): Likewise.
13935         [C99-based-standards] (PRIu64): Likewise.
13936         [C99-based-standards] (PRIx64): Likewise.
13937         [C99-based-standards] (PRIX64): Likewise.
13938         [C99-based-standards] (SCNd64): Likewise.
13939         [C99-based-standards] (SCNi64): Likewise.
13940         [C99-based-standards] (SCNo64): Likewise.
13941         [C99-based-standards] (SCNu64): Likewise.
13942         [C99-based-standards] (SCNx64): Likewise.
13943         [C99-based-standards] (PRIdLEAST64): Likewise.
13944         [C99-based-standards] (PRIiLEAST64): Likewise.
13945         [C99-based-standards] (PRIoLEAST64): Likewise.
13946         [C99-based-standards] (PRIuLEAST64): Likewise.
13947         [C99-based-standards] (PRIxLEAST64): Likewise.
13948         [C99-based-standards] (PRIXLEAST64): Likewise.
13949         [C99-based-standards] (SCNdLEAST64): Likewise.
13950         [C99-based-standards] (SCNiLEAST64): Likewise.
13951         [C99-based-standards] (SCNoLEAST64): Likewise.
13952         [C99-based-standards] (SCNuLEAST64): Likewise.
13953         [C99-based-standards] (SCNxLEAST64): Likewise.
13954         [C99-based-standards] (PRIdFAST64): Likewise.
13955         [C99-based-standards] (PRIiFAST64): Likewise.
13956         [C99-based-standards] (PRIoFAST64): Likewise.
13957         [C99-based-standards] (PRIuFAST64): Likewise.
13958         [C99-based-standards] (PRIxFAST64): Likewise.
13959         [C99-based-standards] (PRIXFAST64): Likewise.
13960         [C99-based-standards] (SCNdFAST64): Likewise.
13961         [C99-based-standards] (SCNiFAST64): Likewise.
13962         [C99-based-standards] (SCNoFAST64): Likewise.
13963         [C99-based-standards] (SCNuFAST64): Likewise.
13964         [C99-based-standards] (SCNxFAST64): Likewise.
13965         [C99-based-standards] (PRIdMAX): Likewise.
13966         [C99-based-standards] (PRIiMAX): Likewise.
13967         [C99-based-standards] (PRIoMAX): Likewise.
13968         [C99-based-standards] (PRIuMAX): Likewise.
13969         [C99-based-standards] (PRIxMAX): Likewise.
13970         [C99-based-standards] (PRIXMAX): Likewise.
13971         [C99-based-standards] (SCNdMAX): Likewise.
13972         [C99-based-standards] (SCNiMAX): Likewise.
13973         [C99-based-standards] (SCNoMAX): Likewise.
13974         [C99-based-standards] (SCNuMAX): Likewise.
13975         [C99-based-standards] (SCNxMAX): Likewise.
13976         [C99-based-standards] (PRIdPTR): Likewise.
13977         [C99-based-standards] (PRIiPTR): Likewise.
13978         [C99-based-standards] (PRIoPTR): Likewise.
13979         [C99-based-standards] (PRIuPTR): Likewise.
13980         [C99-based-standards] (PRIxPTR): Likewise.
13981         [C99-based-standards] (PRIXPTR): Likewise.
13982         [C99-based-standards] (SCNdPTR): Likewise.
13983         [C99-based-standards] (SCNiPTR): Likewise.
13984         [C99-based-standards] (SCNoPTR): Likewise.
13985         [C99-based-standards] (SCNuPTR): Likewise.
13986         [C99-based-standards] (SCNxPTR): Likewise.
13987         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13988         allow.
13989         * conform/data/stdint.h-data: Update comments to clarify
13990         requirements.
13991         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13992         type.
13993         [C99-based standards] (INT8_MAX): Likewise.
13994         [C99-based standards] (INT16_MIN): Likewise.
13995         [C99-based standards] (INT16_MAX): Likewise.
13996         [C99-based standards] (INT32_MIN): Likewise.
13997         [C99-based standards] (INT32_MAX): Likewise.
13998         [C99-based standards] (INT64_MIN): Likewise.
13999         [C99-based standards] (INT64_MAX): Likewise.
14000         [C99-based standards] (UINT8_MAX): Likewise.
14001         [C99-based standards] (UINT16_MAX): Likewise.
14002         [C99-based standards] (UINT32_MAX): Likewise.
14003         [C99-based standards] (UINT64_MAX): Likewise.
14004         [C99-based standards] (INT_LEAST8_MIN): Likewise.
14005         [C99-based standards] (INT_LEAST8_MAX): Likewise.
14006         [C99-based standards] (INT_LEAST16_MIN): Likewise.
14007         [C99-based standards] (INT_LEAST16_MAX): Likewise.
14008         [C99-based standards] (INT_LEAST32_MIN): Likewise.
14009         [C99-based standards] (INT_LEAST32_MAX): Likewise.
14010         [C99-based standards] (INT_LEAST64_MIN): Likewise.
14011         [C99-based standards] (INT_LEAST64_MAX): Likewise.
14012         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14013         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14014         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14015         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14016         [C99-based standards] (INT_FAST8_MIN): Likewise.
14017         [C99-based standards] (INT_FAST8_MAX): Likewise.
14018         [C99-based standards] (INT_FAST16_MIN): Likewise.
14019         [C99-based standards] (INT_FAST16_MAX): Likewise.
14020         [C99-based standards] (INT_FAST32_MIN): Likewise.
14021         [C99-based standards] (INT_FAST32_MAX): Likewise.
14022         [C99-based standards] (INT_FAST64_MIN): Likewise.
14023         [C99-based standards] (INT_FAST64_MAX): Likewise.
14024         [C99-based standards] (UINT_FAST8_MAX): Likewise.
14025         [C99-based standards] (UINT_FAST16_MAX): Likewise.
14026         [C99-based standards] (UINT_FAST32_MAX): Likewise.
14027         [C99-based standards] (UINT_FAST64_MAX): Likewise.
14028         [C99-based standards] (INTPTR_MIN): Likewise.
14029         [C99-based standards] (INTPTR_MAX): Likewise.
14030         [C99-based standards] (UINTPTR_MAX): Likewise.
14031         [C99-based standards] (INTMAX_MIN): Likewise.
14032         [C99-based standards] (INTMAX_MAX): Likewise.
14033         [C99-based standards] (UINTMAX_MAX): Likewise.
14034         [C99-based standards] (PTRDIFF_MIN): Likewise.
14035         [C99-based standards] (PTRDIFF_MAX): Likewise.
14036         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14037         [C99-based standards] (SIZE_MAX): Likewise.
14038         [C99-based standards] (WCHAR_MAX): Likewise.
14039         [C99-based standards] (WINT_MAX): Likewise.
14040         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
14041         constraint on value.
14042         [C99-based standards] (WCHAR_MIN): Likewise.
14043         [C99-based standards] (WINT_MIN): Likewise.
14044         [C99-based standards] (*_t): Allow.
14045         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14046         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14047         Include math.h-data and complex.h-data.  Remove all expectations
14048         of math.h and complex.h contents.
14049         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14050         at end of line.
14051         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14052         (struct tm): Expect tag.
14053         [C99-based-standards] (wcstof): Expect function.
14054         [C99-based-standards] (wcstold): Likewise.
14055         [C99-based-standards] (wcstoll): Likewise.
14056         [C99-based-standards] (wcstoull): Likewise.
14057         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14058         macro-int-constant.  Specify type.
14059         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
14060         constraint on value.
14061         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14062         Specify type.
14063         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14064         Specify value.
14065         [ISO C standards]: Do not allow headers.
14066         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14067         wcs[abcdefghijklmnopqrstuvwxyz]*.
14068         [ISO C standards] (*_t): Do not allow.
14069         * conform/data/wctype.h-data [C99-based standards] (iswblank):
14070         Expect function.
14071         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14072         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14073         Specify type.
14074         [ISO C standards]: Do not allow headers.
14075         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14076         is[abcdefghijklmnopqrstuvwxyz]*.
14077         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14078         to[abcdefghijklmnopqrstuvwxyz]*.
14079         [ISO C standards] (*_t): Do not allow.
14080         * conform/data/stdalign.h-data: New file.
14081         * conform/data/stdbool.h-data: Likewise.
14082         * conform/data/stdnoreturn.h-data: Likewise.
14083
14084 2012-11-07  Roland McGrath  <roland@hack.frob.com>
14085
14086         [BZ #14815]
14087         * manual/filesys.texi (Directory Entries): Typo fix.
14088         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14089
14090 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14091
14092         * elf/elf.h (EM_AARCH64): New macro.
14093         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14094         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14095         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14096         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14097         (R_AARCH64_TLSDESC): Likewise.
14098         (NT_ARM_TLS): Likewise.
14099         (NT_ARM_HW_BREAK): Likewise.
14100         (NT_ARM_HW_WATCH): Likewise.
14101
14102 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14103
14104         [BZ #14811]
14105         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14106         (__ieee754_powl): Saturate nonzero exponents with absolute value
14107         below 0x1p-79 to +/- 0x1p-79.
14108         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14109         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14110         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14111         nonzero exponents with absolute value below 0x1p-32 to +/-
14112         0x1p-32.
14113         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14114         (__ieee754_powl): Saturate nonzero exponents with absolute value
14115         below 0x1p-79 to +/- 0x1p-79.
14116         * math/libm-test.inc (pow_test): Add more tests.
14117
14118 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14119
14120         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14121         _dl_s390_cap_flags with kernel. Increase string length.
14122         (_dl_s390_platforms): Add z196 and zEC12.
14123
14124 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14125
14126         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14127         Change XOPEN21K to XOPEN2K.
14128
14129 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
14130
14131         * string/memmove.c: Use memcpy when possible.
14132
14133 2012-11-06  Andreas Jaeger  <aj@suse.de>
14134
14135         * po/eo.po: Update from translation team.
14136
14137 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
14138
14139         [BZ #14793]
14140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14141         exponent and small x and y exponents, scale x or y up.  Increase
14142         by 2 the exponent used in scaling up.
14143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14145         * math/libm-test.inc (fma_test): Add more tests.
14146         (fma_test_towardzero): Likewise.
14147         (fma_test_downward): Likewise.
14148         (fma_test_upward): Likewise.
14149
14150 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
14151
14152         [BZ #14805]
14153         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14154         fenv_t *.
14155
14156         [BZ #14801]
14157         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14158         namespace for names of struct fields.
14159         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14160         fenv_t fields.
14161         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14162         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14163
14164 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14165
14166         [BZ #3665]
14167         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14168
14169 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14170
14171         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14172         PTR_DEMANGLE.
14173
14174         [BZ #5246]
14175         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14176         PTR_DEMANGLE.
14177
14178 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
14179
14180         [BZ #14797]
14181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14182         definitely overflow as x * y not x * y + z.
14183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14185         * math/libm-test.inc (fma_test): Add more tests.
14186         (fma_test_towardzero): Likewise.
14187         (fma_test_downward): Likewise.
14188         (fma_test_upward): Likewise.
14189
14190 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14191
14192         [BZ #157]
14193
14194         * include/stub-tag.h: Remove file.
14195         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14196         '#include' of it.
14197         * manual/maint.texi (Porting): Don't reference it.
14198         * Makerules ($(objpfx)stubs): Likewise.
14199         * dirent/closedir.c: Don't include <stub-tag.h>.
14200         * dirent/dirfd.c: Likewise.
14201         * dirent/fdopendir.c: Likewise.
14202         * dirent/getdents.c: Likewise.
14203         * dirent/getdents64.c: Likewise.
14204         * dirent/opendir.c: Likewise.
14205         * dirent/readdir.c: Likewise.
14206         * dirent/readdir64.c: Likewise.
14207         * dirent/readdir64_r.c: Likewise.
14208         * dirent/readdir_r.c: Likewise.
14209         * dirent/rewinddir.c: Likewise.
14210         * dirent/seekdir.c: Likewise.
14211         * dirent/telldir.c: Likewise.
14212         * gmon/profil.c: Likewise.
14213         * grp/setgroups.c: Likewise.
14214         * inet/if_index.c: Likewise.
14215         * io/access.c: Likewise.
14216         * io/chdir.c: Likewise.
14217         * io/chmod.c: Likewise.
14218         * io/chown.c: Likewise.
14219         * io/close.c: Likewise.
14220         * io/dup.c: Likewise.
14221         * io/dup2.c: Likewise.
14222         * io/dup3.c: Likewise.
14223         * io/euidaccess.c: Likewise.
14224         * io/faccessat.c: Likewise.
14225         * io/fchdir.c: Likewise.
14226         * io/fchmod.c: Likewise.
14227         * io/fchmodat.c: Likewise.
14228         * io/fchown.c: Likewise.
14229         * io/fchownat.c: Likewise.
14230         * io/fcntl.c: Likewise.
14231         * io/flock.c: Likewise.
14232         * io/fstatfs.c: Likewise.
14233         * io/fstatfs64.c: Likewise.
14234         * io/fstatvfs.c: Likewise.
14235         * io/fstatvfs64.c: Likewise.
14236         * io/futimens.c: Likewise.
14237         * io/fxstat.c: Likewise.
14238         * io/fxstat64.c: Likewise.
14239         * io/fxstatat.c: Likewise.
14240         * io/fxstatat64.c: Likewise.
14241         * io/getcwd.c: Likewise.
14242         * io/isatty.c: Likewise.
14243         * io/lchmod.c: Likewise.
14244         * io/lchown.c: Likewise.
14245         * io/link.c: Likewise.
14246         * io/linkat.c: Likewise.
14247         * io/lseek.c: Likewise.
14248         * io/lseek64.c: Likewise.
14249         * io/lxstat64.c: Likewise.
14250         * io/mkdir.c: Likewise.
14251         * io/mkdirat.c: Likewise.
14252         * io/mkfifo.c: Likewise.
14253         * io/mkfifoat.c: Likewise.
14254         * io/open.c: Likewise.
14255         * io/open64.c: Likewise.
14256         * io/openat.c: Likewise.
14257         * io/openat64.c: Likewise.
14258         * io/pipe.c: Likewise.
14259         * io/pipe2.c: Likewise.
14260         * io/poll.c: Likewise.
14261         * io/posix_fadvise.c: Likewise.
14262         * io/posix_fadvise64.c: Likewise.
14263         * io/posix_fallocate.c: Likewise.
14264         * io/posix_fallocate64.c: Likewise.
14265         * io/read.c: Likewise.
14266         * io/readlink.c: Likewise.
14267         * io/readlinkat.c: Likewise.
14268         * io/rmdir.c: Likewise.
14269         * io/sendfile.c: Likewise.
14270         * io/sendfile64.c: Likewise.
14271         * io/statfs.c: Likewise.
14272         * io/statfs64.c: Likewise.
14273         * io/statvfs.c: Likewise.
14274         * io/statvfs64.c: Likewise.
14275         * io/symlink.c: Likewise.
14276         * io/symlinkat.c: Likewise.
14277         * io/ttyname.c: Likewise.
14278         * io/ttyname_r.c: Likewise.
14279         * io/umask.c: Likewise.
14280         * io/unlink.c: Likewise.
14281         * io/unlinkat.c: Likewise.
14282         * io/utime.c: Likewise.
14283         * io/utimensat.c: Likewise.
14284         * io/write.c: Likewise.
14285         * io/xmknod.c: Likewise.
14286         * io/xmknodat.c: Likewise.
14287         * io/xstat.c: Likewise.
14288         * io/xstat64.c: Likewise.
14289         * login/getpt.c: Likewise.
14290         * login/grantpt.c: Likewise.
14291         * login/unlockpt.c: Likewise.
14292         * math/e_acoshl.c: Likewise.
14293         * math/e_acosl.c: Likewise.
14294         * math/e_asinl.c: Likewise.
14295         * math/e_atan2l.c: Likewise.
14296         * math/e_atanhl.c: Likewise.
14297         * math/e_coshl.c: Likewise.
14298         * math/e_expl.c: Likewise.
14299         * math/e_fmodl.c: Likewise.
14300         * math/e_gammal_r.c: Likewise.
14301         * math/e_hypotl.c: Likewise.
14302         * math/e_j0l.c: Likewise.
14303         * math/e_j1l.c: Likewise.
14304         * math/e_jnl.c: Likewise.
14305         * math/e_lgammal_r.c: Likewise.
14306         * math/e_log10l.c: Likewise.
14307         * math/e_log2l.c: Likewise.
14308         * math/e_logl.c: Likewise.
14309         * math/e_powl.c: Likewise.
14310         * math/e_rem_pio2l.c: Likewise.
14311         * math/e_sinhl.c: Likewise.
14312         * math/e_sqrtl.c: Likewise.
14313         * math/fclrexcpt.c: Likewise.
14314         * math/fedisblxcpt.c: Likewise.
14315         * math/feenablxcpt.c: Likewise.
14316         * math/fegetenv.c: Likewise.
14317         * math/fegetexcept.c: Likewise.
14318         * math/fegetround.c: Likewise.
14319         * math/feholdexcpt.c: Likewise.
14320         * math/fesetenv.c: Likewise.
14321         * math/fesetround.c: Likewise.
14322         * math/feupdateenv.c: Likewise.
14323         * math/fgetexcptflg.c: Likewise.
14324         * math/fraiseexcpt.c: Likewise.
14325         * math/fsetexcptflg.c: Likewise.
14326         * math/ftestexcept.c: Likewise.
14327         * math/k_cosl.c: Likewise.
14328         * math/k_rem_pio2l.c: Likewise.
14329         * math/k_sinl.c: Likewise.
14330         * math/k_tanl.c: Likewise.
14331         * math/s_asinhl.c: Likewise.
14332         * math/s_atanl.c: Likewise.
14333         * math/s_cbrtl.c: Likewise.
14334         * math/s_erfl.c: Likewise.
14335         * math/s_expm1l.c: Likewise.
14336         * math/s_log1pl.c: Likewise.
14337         * math/s_tanhl.c: Likewise.
14338         * misc/acct.c: Likewise.
14339         * misc/brk.c: Likewise.
14340         * misc/chflags.c: Likewise.
14341         * misc/chroot.c: Likewise.
14342         * misc/fchflags.c: Likewise.
14343         * misc/fgetxattr.c: Likewise.
14344         * misc/flistxattr.c: Likewise.
14345         * misc/fremovexattr.c: Likewise.
14346         * misc/fsetxattr.c: Likewise.
14347         * misc/fsync.c: Likewise.
14348         * misc/ftruncate.c: Likewise.
14349         * misc/futimes.c: Likewise.
14350         * misc/futimesat.c: Likewise.
14351         * misc/getdomain.c: Likewise.
14352         * misc/getdtsz.c: Likewise.
14353         * misc/gethostid.c: Likewise.
14354         * misc/gethostname.c: Likewise.
14355         * misc/getloadavg.c: Likewise.
14356         * misc/getpagesize.c: Likewise.
14357         * misc/getsysstats.c: Likewise.
14358         * misc/getxattr.c: Likewise.
14359         * misc/gtty.c: Likewise.
14360         * misc/ioctl.c: Likewise.
14361         * misc/lgetxattr.c: Likewise.
14362         * misc/listxattr.c: Likewise.
14363         * misc/llistxattr.c: Likewise.
14364         * misc/lremovexattr.c: Likewise.
14365         * misc/lsetxattr.c: Likewise.
14366         * misc/lutimes.c: Likewise.
14367         * misc/madvise.c: Likewise.
14368         * misc/mincore.c: Likewise.
14369         * misc/mlock.c: Likewise.
14370         * misc/mlockall.c: Likewise.
14371         * misc/mmap.c: Likewise.
14372         * misc/mprotect.c: Likewise.
14373         * misc/msync.c: Likewise.
14374         * misc/munlock.c: Likewise.
14375         * misc/munlockall.c: Likewise.
14376         * misc/munmap.c: Likewise.
14377         * misc/preadv.c: Likewise.
14378         * misc/preadv64.c: Likewise.
14379         * misc/ptrace.c: Likewise.
14380         * misc/pwritev.c: Likewise.
14381         * misc/pwritev64.c: Likewise.
14382         * misc/readv.c: Likewise.
14383         * misc/reboot.c: Likewise.
14384         * misc/remap_file_pages.c: Likewise.
14385         * misc/removexattr.c: Likewise.
14386         * misc/revoke.c: Likewise.
14387         * misc/select.c: Likewise.
14388         * misc/setdomain.c: Likewise.
14389         * misc/setegid.c: Likewise.
14390         * misc/seteuid.c: Likewise.
14391         * misc/sethostid.c: Likewise.
14392         * misc/sethostname.c: Likewise.
14393         * misc/setregid.c: Likewise.
14394         * misc/setreuid.c: Likewise.
14395         * misc/setxattr.c: Likewise.
14396         * misc/sstk.c: Likewise.
14397         * misc/stty.c: Likewise.
14398         * misc/swapoff.c: Likewise.
14399         * misc/swapon.c: Likewise.
14400         * misc/sync.c: Likewise.
14401         * misc/syncfs.c: Likewise.
14402         * misc/syscall.c: Likewise.
14403         * misc/truncate.c: Likewise.
14404         * misc/ualarm.c: Likewise.
14405         * misc/usleep.c: Likewise.
14406         * misc/ustat.c: Likewise.
14407         * misc/utimes.c: Likewise.
14408         * misc/vhangup.c: Likewise.
14409         * misc/writev.c: Likewise.
14410         * posix/_exit.c: Likewise.
14411         * posix/alarm.c: Likewise.
14412         * posix/execve.c: Likewise.
14413         * posix/fexecve.c: Likewise.
14414         * posix/fork.c: Likewise.
14415         * posix/fpathconf.c: Likewise.
14416         * posix/getaddrinfo.c: Likewise.
14417         * posix/getegid.c: Likewise.
14418         * posix/geteuid.c: Likewise.
14419         * posix/getgid.c: Likewise.
14420         * posix/getgroups.c: Likewise.
14421         * posix/getlogin.c: Likewise.
14422         * posix/getlogin_r.c: Likewise.
14423         * posix/getpgid.c: Likewise.
14424         * posix/getpid.c: Likewise.
14425         * posix/getppid.c: Likewise.
14426         * posix/getresgid.c: Likewise.
14427         * posix/getresuid.c: Likewise.
14428         * posix/getsid.c: Likewise.
14429         * posix/getuid.c: Likewise.
14430         * posix/glob64.c: Likewise.
14431         * posix/nanosleep.c: Likewise.
14432         * posix/pathconf.c: Likewise.
14433         * posix/pause.c: Likewise.
14434         * posix/posix_madvise.c: Likewise.
14435         * posix/pread.c: Likewise.
14436         * posix/pread64.c: Likewise.
14437         * posix/pwrite.c: Likewise.
14438         * posix/pwrite64.c: Likewise.
14439         * posix/sched_getaffinity.c: Likewise.
14440         * posix/sched_getp.c: Likewise.
14441         * posix/sched_gets.c: Likewise.
14442         * posix/sched_primax.c: Likewise.
14443         * posix/sched_primin.c: Likewise.
14444         * posix/sched_rr_gi.c: Likewise.
14445         * posix/sched_setaffinity.c: Likewise.
14446         * posix/sched_setp.c: Likewise.
14447         * posix/sched_sets.c: Likewise.
14448         * posix/sched_yield.c: Likewise.
14449         * posix/setgid.c: Likewise.
14450         * posix/setlogin.c: Likewise.
14451         * posix/setpgid.c: Likewise.
14452         * posix/setresgid.c: Likewise.
14453         * posix/setresuid.c: Likewise.
14454         * posix/setsid.c: Likewise.
14455         * posix/setuid.c: Likewise.
14456         * posix/sleep.c: Likewise.
14457         * posix/spawni.c: Likewise.
14458         * posix/sysconf.c: Likewise.
14459         * posix/times.c: Likewise.
14460         * posix/wait.c: Likewise.
14461         * posix/wait3.c: Likewise.
14462         * posix/wait4.c: Likewise.
14463         * posix/waitpid.c: Likewise.
14464         * resolv/gai_sigqueue.c: Likewise.
14465         * resource/getpriority.c: Likewise.
14466         * resource/getrlimit.c: Likewise.
14467         * resource/getrusage.c: Likewise.
14468         * resource/nice.c: Likewise.
14469         * resource/setpriority.c: Likewise.
14470         * resource/setrlimit.c: Likewise.
14471         * resource/ulimit.c: Likewise.
14472         * rt/aio_cancel.c: Likewise.
14473         * rt/aio_fsync.c: Likewise.
14474         * rt/aio_read.c: Likewise.
14475         * rt/aio_sigqueue.c: Likewise.
14476         * rt/aio_suspend.c: Likewise.
14477         * rt/aio_write.c: Likewise.
14478         * rt/clock_getres.c: Likewise.
14479         * rt/clock_gettime.c: Likewise.
14480         * rt/clock_nanosleep.c: Likewise.
14481         * rt/clock_settime.c: Likewise.
14482         * rt/lio_listio.c: Likewise.
14483         * rt/mq_close.c: Likewise.
14484         * rt/mq_getattr.c: Likewise.
14485         * rt/mq_notify.c: Likewise.
14486         * rt/mq_open.c: Likewise.
14487         * rt/mq_receive.c: Likewise.
14488         * rt/mq_send.c: Likewise.
14489         * rt/mq_setattr.c: Likewise.
14490         * rt/mq_timedreceive.c: Likewise.
14491         * rt/mq_timedsend.c: Likewise.
14492         * rt/mq_unlink.c: Likewise.
14493         * rt/shm_open.c: Likewise.
14494         * rt/shm_unlink.c: Likewise.
14495         * rt/timer_create.c: Likewise.
14496         * rt/timer_delete.c: Likewise.
14497         * rt/timer_getoverr.c: Likewise.
14498         * rt/timer_gettime.c: Likewise.
14499         * rt/timer_settime.c: Likewise.
14500         * setjmp/__longjmp.c: Likewise.
14501         * setjmp/setjmp.c: Likewise.
14502         * signal/kill.c: Likewise.
14503         * signal/killpg.c: Likewise.
14504         * signal/raise.c: Likewise.
14505         * signal/sigaction.c: Likewise.
14506         * signal/sigaltstack.c: Likewise.
14507         * signal/sigblock.c: Likewise.
14508         * signal/sigignore.c: Likewise.
14509         * signal/sigintr.c: Likewise.
14510         * signal/signal.c: Likewise.
14511         * signal/sigpause.c: Likewise.
14512         * signal/sigpending.c: Likewise.
14513         * signal/sigqueue.c: Likewise.
14514         * signal/sigreturn.c: Likewise.
14515         * signal/sigset.c: Likewise.
14516         * signal/sigsetmask.c: Likewise.
14517         * signal/sigstack.c: Likewise.
14518         * signal/sigsuspend.c: Likewise.
14519         * signal/sigtimedwait.c: Likewise.
14520         * signal/sigvec.c: Likewise.
14521         * signal/sigwait.c: Likewise.
14522         * signal/sigwaitinfo.c: Likewise.
14523         * signal/sysv_signal.c: Likewise.
14524         * socket/accept.c: Likewise.
14525         * socket/accept4.c: Likewise.
14526         * socket/bind.c: Likewise.
14527         * socket/connect.c: Likewise.
14528         * socket/getpeername.c: Likewise.
14529         * socket/getsockname.c: Likewise.
14530         * socket/getsockopt.c: Likewise.
14531         * socket/isfdtype.c: Likewise.
14532         * socket/listen.c: Likewise.
14533         * socket/recv.c: Likewise.
14534         * socket/recvfrom.c: Likewise.
14535         * socket/recvmsg.c: Likewise.
14536         * socket/send.c: Likewise.
14537         * socket/sendmsg.c: Likewise.
14538         * socket/sendto.c: Likewise.
14539         * socket/setsockopt.c: Likewise.
14540         * socket/shutdown.c: Likewise.
14541         * socket/sockatmark.c: Likewise.
14542         * socket/socket.c: Likewise.
14543         * socket/socketpair.c: Likewise.
14544         * stdio-common/ctermid.c: Likewise.
14545         * stdio-common/cuserid.c: Likewise.
14546         * stdio-common/remove.c: Likewise.
14547         * stdio-common/rename.c: Likewise.
14548         * stdio-common/renameat.c: Likewise.
14549         * stdio-common/tempname.c: Likewise.
14550         * stdlib/getcontext.c: Likewise.
14551         * stdlib/makecontext.c: Likewise.
14552         * stdlib/setcontext.c: Likewise.
14553         * stdlib/swapcontext.c: Likewise.
14554         * stdlib/system.c: Likewise.
14555         * streams/fattach.c: Likewise.
14556         * streams/fdetach.c: Likewise.
14557         * streams/getmsg.c: Likewise.
14558         * streams/getpmsg.c: Likewise.
14559         * streams/putmsg.c: Likewise.
14560         * streams/putpmsg.c: Likewise.
14561         * sysdeps/unix/bsd/getpt.c: Likewise.
14562         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14563         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14564         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14566         Likewise.
14567         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14568         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14569         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14570         * sysvipc/msgctl.c: Likewise.
14571         * sysvipc/msgget.c: Likewise.
14572         * sysvipc/msgrcv.c: Likewise.
14573         * sysvipc/msgsnd.c: Likewise.
14574         * sysvipc/semctl.c: Likewise.
14575         * sysvipc/semget.c: Likewise.
14576         * sysvipc/semop.c: Likewise.
14577         * sysvipc/semtimedop.c: Likewise.
14578         * sysvipc/shmat.c: Likewise.
14579         * sysvipc/shmctl.c: Likewise.
14580         * sysvipc/shmdt.c: Likewise.
14581         * sysvipc/shmget.c: Likewise.
14582         * termios/tcdrain.c: Likewise.
14583         * termios/tcflow.c: Likewise.
14584         * termios/tcflush.c: Likewise.
14585         * termios/tcgetattr.c: Likewise.
14586         * termios/tcgetpgrp.c: Likewise.
14587         * termios/tcsendbrk.c: Likewise.
14588         * termios/tcsetattr.c: Likewise.
14589         * termios/tcsetpgrp.c: Likewise.
14590         * time/adjtime.c: Likewise.
14591         * time/clock.c: Likewise.
14592         * time/getitimer.c: Likewise.
14593         * time/gettimeofday.c: Likewise.
14594         * time/setitimer.c: Likewise.
14595         * time/settimeofday.c: Likewise.
14596         * time/stime.c: Likewise.
14597         * time/time.c: Likewise.
14598
14599 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14600
14601         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14602         /usr/old/bin.
14603
14604         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14605         instead of spaces.
14606         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14607
14608 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14609
14610         [BZ #14796]
14611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14612         FE_TONEAREST before applying Dekker multiplication and Knuth
14613         addition.  Clear inexact exceptions and check for exact zero
14614         results afterwards.
14615         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14616         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14617         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14618         * math/libm-test.inc (fma_test): Add more tests.
14619         (fma_test_towardzero): Likewise.
14620         (fma_test_downward): Likewise.
14621         (fma_test_upward): Likewise.
14622         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14623         function.
14624         (libc_fesetround): New macro.
14625         (libc_fesetroundf): Likewise.
14626         (libc_fesetroundl): Likewise.
14627         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14628         function.
14629         (libc_fesetround_387): Likewise.
14630         (libc_fesetroundf): New macro.
14631         (libc_fesetround): Likewise.
14632         (libc_fesetroundl): Likewise.
14633         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14634         function.
14635         (libc_fesetroundf): New macro.
14636         (libc_fesetround): Likewise.
14637         (libc_fesetroundl): Likewise.
14638         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14639         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14640         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14641         libm_hidden_ver.
14642         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14643         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14644         libm_hidden_def.
14645         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14646         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14647         libm_hidden_ver.
14648         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14649         libm_hidden_def.
14650
14651         [BZ #3439]
14652         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14653         integer constant usable in #if and use that to give value to enum
14654         constant.
14655         (FE_DIVBYZERO): Likewise.
14656         (FE_UNDERFLOW): Likewise.
14657         (FE_OVERFLOW): Likewise.
14658         (FE_INVALID): Likewise.
14659         (FE_INVALID_SNAN): Likewise.
14660         (FE_INVALID_ISI): Likewise.
14661         (FE_INVALID_IDI): Likewise.
14662         (FE_INVALID_ZDZ): Likewise.
14663         (FE_INVALID_IMZ): Likewise.
14664         (FE_INVALID_COMPARE): Likewise.
14665         (FE_INVALID_SOFTWARE): Likewise.
14666         (FE_INVALID_SQRT): Likewise.
14667         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14668         (FE_TONEAREST): Likewise.
14669         (FE_TOWARDZERO): Likewise.
14670         (FE_UPWARD): Likewise.
14671         (FE_DOWNWARD): Likewise.
14672         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14673         (FE_DIVBYZERO): Likewise.
14674         (FE_OVERFLOW): Likewise.
14675         (FE_UNDERFLOW): Likewise.
14676         (FE_INEXACT): Likewise.
14677         (FE_TONEAREST): Likewise.
14678         (FE_DOWNWARD): Likewise.
14679         (FE_UPWARD): Likewise.
14680         (FE_TOWARDZERO): Likewise.
14681         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14682         (FE_UNDERFLOW): Likewise.
14683         (FE_OVERFLOW): Likewise.
14684         (FE_DIVBYZERO): Likewise.
14685         (FE_INVALID): Likewise.
14686         (FE_TONEAREST): Likewise.
14687         (FE_TOWARDZERO): Likewise.
14688         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14689         (FE_OVERFLOW): Likewise.
14690         (FE_UNDERFLOW): Likewise.
14691         (FE_DIVBYZERO): Likewise.
14692         (FE_INEXACT): Likewise.
14693         (FE_TONEAREST): Likewise.
14694         (FE_TOWARDZERO): Likewise.
14695         (FE_UPWARD): Likewise.
14696         (FE_DOWNWARD): Likewise.
14697         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14698         (FE_DIVBYZERO): Likewise.
14699         (FE_OVERFLOW): Likewise.
14700         (FE_UNDERFLOW): Likewise.
14701         (FE_INEXACT): Likewise.
14702         (FE_TONEAREST): Likewise.
14703         (FE_DOWNWARD): Likewise.
14704         (FE_UPWARD): Likewise.
14705         (FE_TOWARDZERO): Likewise.
14706
14707 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14708
14709         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14710
14711 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14712
14713         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14714         commands.  Quote $PWD.
14715         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14716         -x" by "export".
14717         (remove_newlines): Remove.
14718
14719 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14720
14721         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14722         * stdlib/stdlib.h (atof): Moved to ...
14723         * include/bits/stdlib-float.h: Here.  New file.
14724         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14725         * stdlib/bits/stdlib-float.h: New file.
14726         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14727         -mno-sse -mno-mmx.
14728         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14729         <xmmintrin.h>.
14730
14731 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14732
14733         * conform/conformtest.pl (@headers): Add fenv.h.
14734         * conform/data/fenv.h-data: New file.
14735         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14736         include of <math/fenv.h>.
14737
14738         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14739         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14740         && !UNIX98].  Enables tests for XOPEN2K8.
14741         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14742         POSIX2008]: Likewise.
14743
14744         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14745         (struct rusage): Do not expect type or its members.
14746
14747         [BZ #3439]
14748         * math/math.h (FP_NAN): Define macro to integer constant usable in
14749         #if and use that to give value to enum constant.
14750         (FP_INFINITE): Likewise.
14751         (FP_ZERO): Likewise.
14752         (FP_SUBNORMAL): Likewise.
14753         (FP_NORMAL): Likewise.
14754
14755 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14756
14757         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14758         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14759         arguments.
14760
14761 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14762
14763         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14764         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14765         autoconf-time if not.
14766         * configure.in: Remove AC_PREREQ.
14767
14768 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14769
14770         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14771         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14772         of the internal implementation.
14773
14774 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14775
14776         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14777         except include of <misc/sys/syslog.h>.
14778
14779 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14780
14781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14782         function returns with a NULL context exit with zero.
14783
14784 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14785
14786         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14787
14788 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14789
14790         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14791         (run_program_cmd): This.
14792         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14793         (tst_langinfo): New variable.  Use it.
14794
14795 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14796
14797         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14798         floating point opcodes.
14799
14800 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14801
14802         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14803         variable.
14804
14805         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14806
14807         * sysdeps/mach/hurd/powerpc: Remove directory.
14808         * sysdeps/mach/powerpc: Likewise.
14809
14810 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14811
14812         * scripts/check-local-headers.sh: Ignore c++ headers.
14813
14814 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14815
14816         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14817         __libc_cleanup_region_start argument.
14818
14819 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14820
14821         [BZ #14784]
14822         [BZ #14785]
14823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14824         x * y using scaling, not as x * y + z.
14825         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14826         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14827         * math/libm-test.inc (fma_test): Add more tests.
14828         (fma_test_towardzero): Likewise.
14829         (fma_test_downward): Likewise.
14830         (fma_test_upward): Likewise.
14831
14832 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14833
14834         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14835
14836 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14837
14838         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14839         New variable.
14840
14841 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14842
14843         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14844
14845 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14846
14847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14848         Fix sort order.
14849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14850         Likewise.
14851
14852 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14853
14854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14855         Fix the order of the list for glibc 2.17.
14856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14857         Likewise.
14858
14859 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14860
14861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14862
14863 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14864
14865         [BZ #14610]
14866         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14867         for low part of x being zero before using __atanl (y).
14868         * math/libm-test.inc (atan2_test): Add another test.
14869
14870         * manual/install.texi (Configuring and compiling): Document
14871         general use of test-wrapper and test-wrapper-env.
14872         * INSTALL: Regenerated.
14873
14874         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14875         (__fma): Do not extract and scale down low bits on after-rounding
14876         systems when result rounded to normal precision would have normal
14877         exponent.
14878         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14879         (__fmal): Do not extract and scale down low bits on after-rounding
14880         systems when result rounded to normal precision would have normal
14881         exponent.
14882         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14883         (__fmal): Do not extract and scale down low bits on after-rounding
14884         systems when result rounded to normal precision would have normal
14885         exponent.
14886         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14887         macro.
14888         (fma_test): Add more tests.
14889         (fma_test_towardzero): Likewise.
14890         (fma_test_downward): Likewise.
14891         (fma_test_upward): Likewise.
14892
14893 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14894
14895         * sysdeps/i386/tininess.h: Renamed to ...
14896         * sysdeps/x86/tininess.h: This.
14897         * sysdeps/x86_64/tininess.h: Removed.
14898
14899 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14900
14901         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14902         input.  Use $(build-program-cmd).
14903         ($(objpfx)tst-array1-static.out): Likewise.
14904         ($(objpfx)tst-array2.out): Likewise.
14905         ($(objpfx)tst-array3.out): Likewise.
14906         ($(objpfx)tst-array4.out): Likewise.
14907         ($(objpfx)tst-array5.out): Likewise.
14908         ($(objpfx)tst-array5-static.out): Likewise.
14909
14910 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14911
14912         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14913         if defined.
14914
14915         * nss/nsswitch.h (nss_interface_function): Provide new
14916         macro for use with NSS functions.
14917         * grp/initgroups.c: Use new macro.
14918         * nss/getXXbyYY.c: Likewise.
14919         * nss/getXXbyYY_r.c: Likewise.
14920         * nss/getXXent.c: Likewise.
14921         * nss/getXXent_r.c: Likewise.
14922         * sysdeps/posix/getaddrinfo.c: Likewise.
14923
14924 2012-10-30  Andreas Jaeger  <aj@suse.de>
14925
14926         * po/ru.po: Update Russion translation from translation project.
14927
14928 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14929
14930         [BZ #14152]
14931         [BZ #14783]
14932         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14933         result and shift together with sticky bit instead of replicating
14934         round-to-nearest rounding.
14935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14936         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14937         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14938         missing underflow exceptions.
14939         (fma_test_towardzero): Add more tests.
14940         (fma_test_downward): Likewise.
14941         (fma_test_upward): Likewise.
14942
14943         [BZ #14047]
14944         * sysdeps/generic/tininess.h: New file.
14945         * sysdeps/i386/tininess.h: Likewise.
14946         * sysdeps/sh/tininess.h: Likewise.
14947         * sysdeps/x86_64/tininess.h: Likewise.
14948         * stdlib/tst-strtod-underflow.c: Likewise.
14949         * stdlib/tst-tininess.c: Likewise.
14950         * stdlib/strtod_l.c: Include <tininess.h>.
14951         (round_and_return): Do not set errno for exact underflow cases.
14952         Force an underflow exception when setting errno for underflow.
14953         Determine underflow based on rounding to normal precision if
14954         TININESS_AFTER_ROUNDING.
14955         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14956         ERANGE for exact underflow cases.
14957         * stdlib/Makefile (tests): Add tst-tininess and
14958         tst-strtod-underflow.
14959         ($(objpfx)tst-tininess): Use $(link-libm).
14960         ($(objpfx)tst-strtod-underflow): Likewise.
14961
14962 2012-10-30  Andreas Jaeger  <aj@suse.de>
14963
14964         [BZ#14767]
14965         * elf/Makefile (tests): Remove conditional for have-initfini-array
14966         since this is now always required and the variable does not exist
14967         anymore.
14968         (tests-static): Likewise.
14969         (modules-names): Likewise.
14970
14971         * po/eo.po: Add Esperanto translation from translation project.
14972
14973         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14974         merged with constructor/destructor.
14975         (init_array): Likewise.
14976         * elf/tst-array2dep.c (fini_array): Likewise.
14977         (init_array): Likewise.
14978
14979 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14980
14981         * manual/message.texi: Delete @cartouche tags.
14982
14983 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14984
14985         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14986         EOPNOTSUPP.
14987         * sysdeps/mach/hurd/fsync.c: Likewise.
14988
14989         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14990         [_POSIX_REALTIME_SIGNALS]: Change condition to
14991         [_POSIX_REALTIME_SIGNALS > 0].
14992
14993 2012-10-27  Andreas Jaeger  <aj@suse.de>
14994
14995         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14996         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14997         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14998         [__WORDSIZE != 64]: Likewise.
14999
15000 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
15001
15002         *  iconvdata/tst-table.sh: Remove ${SHELL}.
15003         *  iconvdata/tst-tables.sh: Likewise.
15004
15005 2012-10-25  David S. Miller  <davem@davemloft.net>
15006
15007         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15008         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15009         of strtoull.
15010
15011         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15012         ifunc-impl-list.c
15013         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15014         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15015         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15016         file.
15017
15018 2012-10-25  Roland McGrath  <roland@hack.frob.com>
15019
15020         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15021         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15022         __getdirentries.
15023
15024 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
15025             Jim Blandy  <jimb@codesourcery.com>
15026
15027         * scripts/cross-test-ssh.sh: New file.
15028         * manual/install.texi (Configuring and compiling): Document use of
15029         cross-test-ssh.sh.
15030         * INSTALL: Regenerated.
15031
15032 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
15033
15034         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15035         EOPNOTSUPP.
15036
15037 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
15038
15039         * Makeconfig (run-program-prefix): Fix comment.
15040
15041 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15042             Jim Blandy  <jimb@codesourcery.com>
15043
15044         * Makeconfig (test-wrapper): New variable,
15045         (test-wrapper-env): Likewise.
15046         [$(cross-compiling) = yes && $(test-wrapper) != ""]
15047         (run-built-tests): Define to yes.
15048         (run-program-prefix): Use $(test-wrapper).
15049         (built-program-cmd): Likewise.
15050         * Rules (make-test-out): Use $(test-wrapper-env) and
15051         $(host-built-program-cmd).
15052         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15053         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15054         tst-pathopt.sh.
15055         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15056         $(test-wrapper-env) to tst-rtld-load-self.sh.
15057         ($(objpfx)order2.out): Use $(test-wrapper).
15058         ($(objpfx)tst-initorder.out): Likewise.
15059         ($(objpfx)tst-initorder2.out): Likewise.
15060         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15061         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15062         (test_wrapper_env): New variable.  Use it to run ld.so.
15063         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15064         Use it to run ld.so.
15065         (test_wrapper_env): Likewise.
15066         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15067         $(test-wrapper) to run-iconv-test.sh.
15068         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15069         (ICONV): Use $test_wrapper.
15070         * posix/Makefile ($(objpfx)globtest.out): Pass
15071         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15072         globtest.sh, not $(run-program-prefix).
15073         * posix/globtest.sh (run_via_rtld_prefix): New variable.
15074         (test_wrapper): Likewise.
15075         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
15076         set together with run_via_rtld_prefix.
15077         (run_program_prefix): Define in terms of test_wrapper and
15078         run_via_rtld_prefix.
15079
15080 2012-10-24  Roland McGrath  <roland@hack.frob.com>
15081
15082         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15083         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15084         Targets removed.
15085
15086         [BZ #14743]
15087         * include/time.h: Remove librt_hidden_proto (clock_gettime).
15088         Declare __clock_getres, __clock_gettime, __clock_settime,
15089         __clock_nanosleep, and __clock_getcpuclockid.
15090         * rt/clock_gettime.c: Define __clock_gettime as an alias.
15091         Remove librt_hidden_def (clock_gettime).
15092         * sysdeps/unix/clock_gettime.c: Likewise.
15093         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15094         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15095         * rt/clock_getres.c: Define __clock_getres as an alias.
15096         * sysdeps/posix/clock_getres.c: Likewise.
15097         * rt/clock_settime.c: Define __clock_settime as an alias.
15098         * sysdeps/unix/clock_settime.c: Likewise.
15099         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15100         * sysdeps/unix/clock_nanosleep.c: Likewise.
15101         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15102         * rt/clock-compat.c: New file.
15103         * rt/Makefile (librt-routines): Add clock-compat and move
15104         $(clock-routines) to ...
15105         (routines): ... here, new variable.
15106         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15107         Don't add get_clockfreq here.
15108         * rt/Versions (libc: GLIBC_2.17): New version set.
15109         Add clock_* symbols here.
15110         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
15111         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15112         (GLIBC_2.17): Add clock_* symbols.
15113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15115         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15117         Likewise.
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15119         Likewise.
15120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15124         * NEWS: Mention the move.
15125
15126         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15127         Use __open, __read, __close rather than their public counterparts.
15128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15129         (__get_clockfreq_via_cpuinfo): Likewise.
15130         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15131         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15132
15133         * config.h.in (HAVE_IFUNC): New #undef.
15134         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15135         was successful.
15136         * configure: Regenerated.
15137
15138 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15139
15140         * configure.in: Move READELF check to start of file.
15141         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15142         libc_cv_asm_gnu_indirect_function in the process.
15143         * configure: Regenerated.
15144
15145 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15146
15147         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15148         send the output to /dev/null.
15149         (libc_cv_cc_with_libunwind): Likewise.
15150         (libc_cv_as_noexecstack): Likewise.
15151         * configure: Regenerate.
15152
15153 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15154
15155         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15156
15157         * posix/globtest.sh (TMPDIR): Do not set.
15158         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15159         (testout): Likewise.
15160
15161 2012-10-24  Andreas Jaeger  <aj@suse.de>
15162
15163         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15164         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15165         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15166         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15167         posix_fadvise64, posix_fallocate64.
15168
15169         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15170         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15171         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15172         Likewise.
15173         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15174         Likewise.
15175         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15176
15177         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15178         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15179         <bits/fcntl-linux.h>.
15180         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15181
15182         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15183         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15184         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15185         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15186         [__WORDSIZE != 64]: Likewise.
15187
15188 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15189
15190         * Makeconfig (run-built-tests): New variable.
15191         * Rules [$(cross-compiling) = yes]: Change condition to
15192         [$(run-built-tests) = no].
15193         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15194         to [$(run-built-tests) = yes].
15195         * elf/Makefile [$(cross-compiling) = no]: Likewise
15196         * grp/Makefile [$(cross-compiling) = no]: Likewise.
15197         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15198         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15199         * intl/Makefile [$(cross-compiling) = no]: Likewise.
15200         * io/Makefile [$(cross-compiling) = no]: Likewise.
15201         * libio/Makefile [$(cross-compiling) = no]: Likewise.
15202         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15203         * misc/Makefile [$(cross-compiling) = no]: Likewise.
15204         * posix/Makefile [$(cross-compiling) = no]: Likewise.
15205         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15206         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15207         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15208         * string/Makefile [$(cross-compiling) = no]: Likewise.
15209
15210         * posix/Makefile ($(objpfx)globtest.out): Pass
15211         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15212         $(rtld-installed-name).
15213         * posix/globtest.sh (elf_objpfx): Remove variable.
15214         (rtld_installed_name): Likewise.
15215         (library_path): Likewise.
15216         (run_program_prefix): New variable.  Use for running globtest
15217         binary.
15218
15219 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
15220             Joseph Myers  <joseph@codesourcery.com>
15221
15222         * Makeconfig (host-built-program-cmd): New variable.
15223         * elf/Makefile (tst-stackguard1-ARGS): Use
15224         $(host-built-program-cmd).
15225         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15226         (tst-spawn-ARGS): Likewise.
15227         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15228
15229 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15230             Jim Blandy  <jimb@codesourcery.com>
15231
15232         * Makeconfig (run-via-rtld-prefix): New variable.
15233         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15234         (built-program-cmd): Likewise.
15235
15236 2012-10-22  Andreas Jaeger  <aj@suse.de>
15237
15238         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15239         __O_RSYNC if it exists, otherwise to O_SYNC.
15240
15241 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
15242             Joseph Myers  <joseph@codesourcery.com>
15243
15244         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15245         /dev/null.
15246         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15247         from /dev/null
15248         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15249         /dev/null.
15250
15251 2012-10-22  Andreas Jaeger  <aj@suse.de>
15252
15253         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15254         Define always.
15255         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15256
15257         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15258         bits/fcntl-linux.h.
15259
15260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15261         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15262
15263         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15264         to __O_LARGEFILE.
15265         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15266         to __O_LARGEFILE.
15267
15268 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
15269             Joseph Myers  <joseph@codesourcery.com>
15270
15271         * config.make.in (NM): New variable.
15272
15273 2012-10-21  Andreas Jaeger  <aj@suse.de>
15274
15275         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15276         definitions and declarations that are provided by
15277         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15278
15279 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15280
15281         [BZ #14683]
15282         * elf/Makefile (tests-static): Add tst-leaks1-static.
15283         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15284         ($(objpfx)tst-leaks1-static): New rule.
15285         ($(objpfx)tst-leaks1-static-mem): Likewise.
15286         (tst-leaks1-static-ENV): New macro.
15287         * elf/dl-open.c (dl_open_worker): Check the main application
15288         only if SHARED is defined.
15289         * elf/tst-leaks1-static.c: New file.
15290
15291 2012-10-20  Andreas Jaeger  <aj@suse.de>
15292
15293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15294         generic values for Linux.
15295         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15296         and declarations that are provided by <bits/fcntl-linux.h> and
15297         include <bits/fcntl-linux.h>.
15298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15300
15301 2012-10-20  Roland McGrath  <roland@hack.frob.com>
15302
15303         * io/fcntl.h: Move include of <bits/types.h> to the top and
15304         include it unconditionally.
15305
15306 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15307
15308         * wcsmbs/Makefile (tests-ifunc): New variable.
15309         (tests): Add $(tests-ifunc).
15310         * wcsmbs/test-wcschr-ifunc.c: New file.
15311         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15312         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15313         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15314         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15315         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15316
15317         * string/Makefile (tests-ifunc): New variable.
15318         (tests): Add $(tests-ifunc).
15319         * string/test-memccpy.c (TEST_NAME): New macro.
15320         * string/test-memchr.c (TEST_NAME): Likewise.
15321         * string/test-memcmp.c (TEST_NAME): Likewise.
15322         * string/test-memcpy.c (TEST_NAME): Likewise.
15323         * string/test-memmem.c (TEST_NAME): Likewise.
15324         * string/test-memmove.c (TEST_NAME): Likewise.
15325         * string/test-memset.c (TEST_NAME): Likewise.
15326         * string/test-rawmemchr.c (TEST_NAME): Likewise.
15327         * string/test-stpcpy.c (TEST_NAME): Likewise.
15328         * string/test-stpncpy.c (TEST_NAME): Likewise.
15329         * string/test-strcasecmp.c (TEST_NAME): Likewise.
15330         * string/test-strcasestr.c (TEST_NAME): Likewise.
15331         * string/test-strcat.c (TEST_NAME): Likewise.
15332         * string/test-strchr.c (TEST_NAME): Likewise.
15333         * string/test-strcmp.c(TEST_NAME): Likewise.
15334         * string/test-strcpy.c (TEST_NAME): Likewise.
15335         * string/test-strcspn.c (TEST_NAME): Likewise.
15336         * string/test-strlen.c (TEST_NAME): Likewise.
15337         * string/test-strncasecmp.c (TEST_NAME): Likewise.
15338         * string/test-strncmp.c (TEST_NAME): Likewise.
15339         * string/test-strncpy.c (TEST_NAME): Likewise.
15340         * string/test-strnlen.c (TEST_NAME): Likewise.
15341         * string/test-strpbrk.c (TEST_NAME): Likewise.
15342         * string/test-strrchr.c (TEST_NAME): Likewise.
15343         * string/test-strspn.c (TEST_NAME): Likewise.
15344         * string/test-strstr.c (TEST_NAME): Likewise.
15345         * string/test-bcopy-ifunc.c: New file.
15346         * string/test-bzero-ifunc.c: Likewise.
15347         * string/test-memccpy-ifunc.c: Likewise.
15348         * string/test-memchr-ifunc.c: Likewise.
15349         * string/test-memcmp-ifunc.c: Likewise.
15350         * string/test-memcpy-ifunc.c: Likewise.
15351         * string/test-memmem-ifunc.c: Likewise.
15352         * string/test-memmove-ifunc.c: Likewise.
15353         * string/test-mempcpy-ifunc.c: Likewise.
15354         * string/test-memset-ifunc.c: Likewise.
15355         * string/test-rawmemchr-ifunc.c: Likewise.
15356         * string/test-stpcpy-ifunc.c: Likewise.
15357         * string/test-stpncpy-ifunc.c: Likewise.
15358         * string/test-strcasecmp-ifunc.c: Likewise.
15359         * string/test-strcasestr-ifunc.c: Likewise.
15360         * string/test-strcat-ifunc.c: Likewise.
15361         * string/test-strchr-ifunc.c: Likewise.
15362         * string/test-strchrnul-ifunc.c: Likewise.
15363         * string/test-strcmp-ifunc.c: Likewise.
15364         * string/test-strcpy-ifunc.c: Likewise.
15365         * string/test-strcspn-ifunc.c: Likewise.
15366         * string/test-strlen-ifunc.c: Likewise.
15367         * string/test-strncasecmp-ifunc.c: Likewise.
15368         * string/test-strncat-ifunc.c: Likewise.
15369         * string/test-strncmp-ifunc.c: Likewise.
15370         * string/test-strncpy-ifunc.c: Likewise.
15371         * string/test-strnlen-ifunc.c: Likewise.
15372         * string/test-strpbrk-ifunc.c: Likewise.
15373         * string/test-strrchr-ifunc.c: Likewise.
15374         * string/test-strspn-ifunc.c: Likewise.
15375         * string/test-strstr-ifunc.c: Likewise.
15376
15377         * debug/Makefile (tests-ifunc): New variable.
15378         (tests): Add $(tests-ifunc).
15379         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15380         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15381         * debug/test-stpcpy_chk-ifunc.c: New file.
15382         * debug/test-strcpy_chk-ifunc.c: Likewise.
15383
15384 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15385
15386         [BZ #13601]
15387         * elf/dl-load.c (open_verify): Retry read if the entire ELF
15388         header is not read in.
15389
15390 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
15391
15392         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
15393         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
15394         directly.  Pass built executable to script as
15395         $(built-program-cmd).
15396         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
15397         $testprogram without using LD_LIBRARY_PATH and $ldso.
15398
15399         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15400         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15401         $(rtld-installed-name).
15402         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15403         (rtld_installed_name): Likewise.
15404         (library_path): Likewise.
15405         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
15406         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15407         $(run-program-prefix) to tst-tables.sh.
15408         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
15409         it to run tst-table-from and tst-table-to.
15410         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15411         Pass it to tst-table.sh.
15412         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15413         $(run-program-prefix) to tst-gettext.sh.
15414         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15415         tst-translit.sh.
15416         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15417         tst-gettext2.sh.
15418         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
15419         to run tst-gettext.
15420         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
15421         to run tst-gettext2.
15422         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
15423         to run tst-translit.
15424         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15425         $(run-program-prefix) to tst-mtrace.sh.
15426         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
15427         to run tst-mtrace.
15428         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15429         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15430         $(rtld-installed-name).
15431         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15432         (rtld_installed_name): Likewise.
15433         (run_program_prefix): New variable.  Use it to run wordexp-test.
15434
15435         * Makeconfig (ARCH): Remove all definitions.
15436         (machine): Likewise.
15437         [ARCH]: Remove conditional code.
15438         [!objdir]: Give error.
15439         [!objdir] (objpfx): Remove.
15440         [!objdir] (common-objpfx): Likewise.
15441         [!objdir] (common-objdir): Likewise.
15442         * configure.in (config_makefile): Remove.  Hardcode Makefile in
15443         AC_CONFIG_FILES call.
15444         * configure: Regenerated.
15445
15446         [BZ #13888]
15447         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15448         or TMPDIR.
15449         (testout): Likewise.
15450
15451         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15452         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15453         $(rtld-installed-name).
15454         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15455         (rtld_installed_name): Likwise.
15456         (runit): Remove function.
15457         (run_getconf): New variable,  Use it for running getconf binary.
15458
15459 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
15460
15461         [BZ #14716]
15462         * string/test-memmem.c (check_result): New function.
15463         (do_one_test): Use it.
15464         (check1): New function.
15465         (test_main): Use it.
15466
15467 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
15468
15469         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15470
15471 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
15472
15473         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15474         (_G_LSEEK64): Likewise.
15475         (_G_MMAP64): Likewise.
15476         (_G_FSTAT64): Likewise.
15477         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15478         (_G_LSEEK64): Likewise.
15479         (_G_MMAP64): Likewise.
15480         (_G_FSTAT64): Likewise.
15481         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15482         unconditional.  Call __mmap64 directly.
15483         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15484         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
15485         __lseek64 directly.
15486         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15487         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
15488         __mmap64 directly.
15489         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15490         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15491         __lseek64 directly.
15492         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15493         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15494         __lseek64 directly.
15495         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15496         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15497         __lseek64 directly.
15498         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15499         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15500         __fxstat64 directly.
15501         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15502         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15503         unconditional.
15504         (freopen64) [!_G_OPEN64]: Remove conditional code.
15505         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15506         unconditional.
15507         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15508         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15509         unconditional.
15510         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15511         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15512         unconditional.
15513         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15514         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15515         unconditional.
15516         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15517         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15518         unconditional.
15519         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15520         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15521         unconditional.
15522         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15523         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15524         unconditional.
15525         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15526
15527 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15528
15529         [BZ #12140]
15530         * manual/memory.texi (Malloc Tunable Parameters): Add note
15531         about free list pointers overwriting some perturb bytes.
15532         Wording suggested by Roland McGrath.
15533
15534 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15535
15536         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15537         (lgamma_test): Likewise.
15538         (tgamma_test): Likewise.
15539
15540 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15541
15542         [BZ #14700]
15543         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15544         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15545
15546 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15547
15548         * NEWS: Mention BZ #14716.
15549         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15550         when removing AVAILABLE1_USES_J macro.
15551
15552 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15553
15554         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15555         (__bswap_64): __uint64_t for unsigned 64-bit int.
15556
15557 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15558
15559         * include/string.h (memmem): Declare libc hidden alias.
15560         * string/memmem.c (memmem): Define libc hidden alias.
15561         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15562         __read, __close instead of open, read, close.
15563
15564 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15565
15566         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15567         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15568         global and hidden.
15569         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15570         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15571         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15572         Likewise.
15573         (__rawmemchr_sse2): Likewise.
15574         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15575         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15576         (__strchr_sse2): Likewise.
15577         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15578         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15579         (__strcasecmp_sse2): Likewise.
15580         (__strncasecmp_sse2): Likewise.
15581         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15582         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15583         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15584         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15585         (__strrchr_sse2): Likewise.
15586         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15587         ifunc-impl-list.c.
15588         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15589         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15590         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15591         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15592         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15593         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15594         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15595         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15596         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15597         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15598         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15599         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15600         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15601         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15602         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15603         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15604         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15605         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15606         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15607         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15608         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15609         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15610         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15611         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15612         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15613         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15614         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15615         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15616         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15617         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15618
15619         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15620         global and hidden.
15621         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15622         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15623         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15624         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15625         Likewise.
15626         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15627         Likewise.
15628         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15629         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15630         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15631         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15632         ifunc-impl-list.c.
15633         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15634         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15635         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15636         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15637         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15638         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15639         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15640         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15641         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15642         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15643         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15644         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15645         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15646         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15647         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15648         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15649         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15650         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15651         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15652         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15653         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15654         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15655         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15656         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15657         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15658         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15659         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15660         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15661         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15662         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15663         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15664         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15665         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15666         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15667         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15668         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15669         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15670         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15671         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15672         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15673         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15674
15675         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15676         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15677         * include/ifunc-impl-list.h: New file.
15678         * misc/ifunc-impl-list.c: Likewise.
15679         * misc/Makefile (routines): Add ifunc-impl-list.
15680         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15681         * string/test-string.h: Include <ifunc-impl-list.h>.
15682         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15683         impl_array): New variables.
15684         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15685         are defined.
15686         (test_init): Call __libc_ifunc_impl_list to initialize
15687         func_list if TEST_IFUNC and TEST_NAME are defined.
15688
15689         * string/Makefile (strop-tests): Add bcopy and bzero.
15690         * string/test-bcopy.c: New file.
15691         * string/test-bzero.c: Likewise.
15692         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15693         defined.
15694         * string/test-memset.c: Support bzero test if TEST_BZERO is
15695         defined.
15696         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15697         __libc_memmove.
15698         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15699         __libc_memset.
15700         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15701         of memset.
15702
15703 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15704
15705         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15706         * configure: Regenerated.
15707
15708         * Makeconfig (+link-static-before-libc): Don't include
15709         $(link-static-libc).
15710
15711         * libio/libio.h (_IO_pos_t): Remove.
15712
15713 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15714
15715         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15716         McGrath.
15717
15718 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15719
15720         * crypt/crypt-entry.c: Include fips-private.h.
15721         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15722         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15723         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15724         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15725
15726 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15727
15728         * crypt/crypt-private.h: Include stdbool.h.
15729         (_ufc_setup_salt_r): Return bool.
15730         * crypt/crypt-entry.c: Include errno.h.
15731         (__crypt_r): Return NULL with EINVAL for bad salt.
15732         * crypt/crypt_util.c (bad_for_salt): New.
15733         (_ufc_setup_salt_r): Check that salt is long enough and within
15734         the specified alphabet.
15735         * crypt/badsalttest.c: New file.
15736         * crypt/Makefile (tests): Add it.
15737         ($(objpfx)badsalttest): New.
15738
15739 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15740
15741         * NEWS: Add entry for BZ #14602.
15742
15743 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15744
15745         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15746         type-generic.
15747         * math/libm-test.inc: Update comment listing what functions and
15748         macros are tested.
15749         (isgreater_test): New function.
15750         (isgreaterequal_test): Likewise.
15751         (isless_test): Likewise.
15752         (islessequal_test): Likewise.
15753         (islessgreater_test): Likewise.
15754         (isunordered_test): Likewise.
15755         (main): Call the new functions.
15756
15757 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15758
15759         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15760         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15761         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15762         * sysdeps/i386/configure: Regenerated.
15763         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15764         * sysdeps/mach/configure: Regenerated.
15765         * sysdeps/mach/hurd/configure: Regenerated.
15766         * sysdeps/powerpc/configure: Regenerated.
15767         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15768         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15769         * sysdeps/s390/s390-32/configure: Regenerated.
15770         * sysdeps/s390/s390-64/configure: Regenerated.
15771         * sysdeps/sh/configure: Regenerated.
15772         * sysdeps/sparc/configure: Regenerated.
15773         * sysdeps/unix/sysv/linux/configure: Regenerated.
15774         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15775         * sysdeps/x86_64/configure: Regenerated.
15776
15777         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15778         defined.  Don't check if MAP is NULL.
15779
15780 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15781
15782         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15783         (_G_stat64): Likewise.
15784         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15785         (_G_stat64): Likewise.
15786         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15787         instead of struct _G_stat64.
15788         * libio/fileops.c (mmap_remap_check): Likewise.
15789         (decide_maybe_mmap): Likewise.
15790         (_IO_new_file_seekoff): Likewise.
15791         (_IO_file_stat): Likewise.
15792         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15793         _G_off64_t.
15794         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15795         instead of struct _G_stat64.
15796         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15797
15798 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15799
15800         [BZ #14602]
15801         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15802         Replace with ...
15803         (CHECK_EOL): New macro.
15804         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15805         CHECK_EOL.
15806         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15807         Replace with CHECK_EOL.
15808         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15809         Replace with CHECK_EOL.
15810
15811 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15812
15813         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15814         type-generic.
15815         * math/libm-test.inc: Update comment listing what functions and
15816         macros are tested.
15817         (finite_test): New function.
15818         (isinf_test): Likewise.
15819         (isnan_test): Likewise.
15820         (fpclassify_test): Test subnormal input.
15821         (isfinite_test): Likewise.
15822         (isnormal_test): Likewise.
15823         (main): Call the new functions.
15824
15825 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15826
15827         [BZ #14660]
15828         * Makerules (%.dynsym): Force C locale when running
15829         $(OBJDUMP) --dynamic-syms.
15830
15831 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15832
15833         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15834         <stdint.h>.
15835
15836 2012-10-06  David S. Miller  <davem@davemloft.net>
15837
15838         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15839         upper 32-bits of the length value in %o2 since we use branch-on-register
15840         tests which consider the entire 64-bit register.
15841
15842 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15843
15844         * string/test-strstr.c (check2): Add a test for page boundary.
15845
15846 2012-10-05  David S. Miller  <davem@davemloft.net>
15847
15848         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15849         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15850         file.
15851         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15852         sysdep_routines.
15853         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15854         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15855         and bzero when HWCAP_SPARC_CRYPTO is present.
15856
15857 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15858
15859         [BZ #14602]
15860         * string/test-strstr.c (check2): New function.
15861         (test_main): Call check2.
15862
15863         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15864         and bug-strchr1.
15865         * string/bug-strcasestr1.c (do_test): Moved to ...
15866         * string/test-strcasestr.c (check1): Here.  New function.
15867         (do_one_test): Break out result checking code into ...
15868         (check_result): This.  New function.
15869         (do_one_test): Call check_result.
15870         (test_main): Call check1.
15871         * string/bug-strchr1.c (do_test): Moved to ...
15872         * string/test-strchr.c (check1): Here.  New function.
15873         (do_one_test): Break out result checking code into ...
15874         (check_result): This.  New function.
15875         (do_one_test): Call check_result.
15876         (test_main): Call check1.
15877         * string/bug-strstr1.c (main): Moved to ...
15878         * string/test-strstr.c (check1): Here.  New function.
15879         (do_one_test): Break out result checking code into ...
15880         (check_result): This.  New function.
15881         (do_one_test): Call check_result.
15882         (test_main): Call check1.
15883         * string/bug-strcasestr1.c: Removed.
15884         * string/bug-strchr1.c: Likewise.
15885         * string/bug-strstr1.c: Likewise.
15886
15887         * elf/Makefile (dl-routines): Add hwcaps.
15888         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15889         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15890         (_dl_important_hwcaps): Moved to ...
15891         * elf/dl-hwcaps.c: Here.  New file.
15892         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15893
15894         [BZ #14557]
15895         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15896         if IS_IN_rtld isn't defined.
15897
15898         * elf/dl-support.c (_dl_sysinfo_map): New.
15899         Include "get-dynamic-info.h" and "setup-vdso.h".
15900         (_dl_non_dynamic_init): Call setup_vdso.
15901         * elf/dynamic-link.h: Don't include <assert.h>.
15902         (elf_get_dynamic_info): Moved to ...
15903         * elf/get-dynamic-info.h: Here.  New file.
15904         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15905         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15906         * elf/setup-vdso.h: Here.  New file.
15907         * elf/rtld.c: Include "setup-vdso.h".
15908         (dl_main): Call setup_vdso.
15909
15910 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15911
15912         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15913         creal in comment listing functions tested.  List finite, isinf,
15914         isnan, isless, islessequal, isgreater, isgreaterequal,
15915         islessgreater, isunordered, lgamma_r and pow10 as functions and
15916         macros not tested.  Mention which functions not tested are aliases
15917         for other functions.  Fix typo.  Note that signs of NaNs are not
15918         tested.
15919
15920         * scripts/config.guess: Update from config.git.
15921         * scripts/config.sub: Likewise.
15922
15923 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15924
15925         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15926         * misc/madvise.c (madvise): Renamed to __madvise.
15927         Make madvise a weak alias.
15928         * include/sys/mman.h: Declare __madvise.
15929         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15930         * sysdeps/unix/syscalls.list
15931         (madvise): Make __madvise the strong name, and madvise a weak alias.
15932         * sysdeps/unix/sysv/linux/syscalls.list
15933         (madvise, mmap): Remove redundant entries.
15934         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15935         * malloc/malloc.c (mtrim): Likewise.
15936         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15937
15938 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15939
15940         * sysdeps/mach/hurd/dl-cache.c: File removed.
15941         * config.h.in (USE_LDCONFIG): New #undef.
15942         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15943         * configure: Regenerated.
15944         * elf/Makefile (dl-routines): Add dl-cache only under
15945         [$(use-ldconfig) = yes].
15946         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15947         cache on [USE_LDCONFIG].
15948         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15949         [USE_LDCONFIG].
15950         * elf/rtld.c (dl_main): Likewise.
15951
15952 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15953
15954         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15955         _SC_LEVEL4_CACHE_LINESIZE.
15956
15957 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15958
15959         * sysdeps/unix/bsd/confstr.h: File removed.
15960
15961 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15962
15963         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15964         sys/sdt-config.h.
15965
15966 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15967
15968         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15969         Make 'mapoff' field ElfW(Off) rather than off_t.
15970
15971 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15972
15973         * nscd/Makefile: Remove nscd-cflags and all its users.
15974         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15975         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15976
15977         [BZ #10631]
15978         * malloc.c (malloc_printerr): Clarify error message.
15979
15980 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15981
15982         [BZ #14648]
15983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15984         Set bit_FMA_Usable if FMA is supported.
15985         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15986         macro.
15987         (bit_FMA4_Usable): Updated.
15988         (index_FMA_Usable): New macro.
15989         (CPUID_FMA): Likewise
15990         (HAS_FMA): Defined with bit_FMA_Usable.
15991
15992 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15993
15994         * bits/types.h (__swblk_t): Type removed.
15995         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15996         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15997         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15998         (__SWBLK_T_TYPE): Likewise.
15999         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16000         (__SWBLK_T_TYPE): Likewise.
16001         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16002         (__SWBLK_T_TYPE): Likewise.
16003         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16004         (__SWBLK_T_TYPE): Likewise.
16005
16006 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
16007             Honza Horak <hhorak@redhat.com>
16008
16009         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16010         (xdr_mapname): Use YPMAXMAP as maxsize.
16011         (xdr_peername): Use YPMAXPEER as maxsize.
16012         (xdr_keydat): Use YPAXRECORD as maxsize.
16013         (xdr_valdat): Use YPMAXRECORD as maxsize.
16014
16015 2012-10-01  Roland McGrath  <roland@hack.frob.com>
16016
16017         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16018
16019         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16020         * csu/init-first.c: ... here.
16021         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16022         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16023         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16024         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16025         * sysdeps/i386/init-first.c: File removed.
16026         * sysdeps/sh/init-first.c: File removed.
16027
16028 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
16029
16030         [BZ #14645]
16031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16032         if x * y might underflow to zero and z is zero.
16033         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16034         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16035         * math/libm-test.inc (min_subnorm_value): New variable.
16036         (fma_test): Add more tests.
16037         (fma_test_towardzero): Likewise.
16038         (fma_test_downward): Likewise
16039         (fma_test_upward): Likewise.
16040         (initialize): Set min_subnorm_value.
16041
16042 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
16043
16044         [BZ #14638]
16045         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16046         0 + 0.
16047         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16048         mode for addition resulting in exact zero.
16049         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16051         exact 0 + 0.
16052         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16054         * math/libm-test.inc (fma_test): Add more tests.
16055         (fma_test_towardzero): New function.
16056         (fma_test_downward): Likewise.
16057         (fma_test_upward): Likewise.
16058         (main): Call the new functions.
16059
16060 2012-09-28  David S. Miller  <davem@davemloft.net>
16061
16062         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16063
16064 2012-09-28  Roland McGrath  <roland@hack.frob.com>
16065
16066         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16067         instead of SIGALRM.
16068
16069         * sysdeps/gnu/_G_config.h: Moved to ...
16070         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16071         * sysdeps/mach/hurd/_G_config.h: Moved to ...
16072         * sysdeps/generic/_G_config.h: ... here.
16073
16074         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
16075
16076         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16077
16078         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16079         Conditionalize target on [libnss_test1.so-version].
16080
16081         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16082
16083         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16084         (elfobjdir): Move out of conditionals.
16085
16086         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16087         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16088         (__nss_lookup_function): Conditionalize label remove_from_tree on
16089         [!DO_STATIC_NSS || SHARED], matching its only use.
16090
16091 2012-09-28  David S. Miller  <davem@davemloft.net>
16092
16093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16094         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16095         file.
16096         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16097         sysdep_routines.
16098         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16100         when HWCAP_SPARC_CRYPTO is present.
16101
16102 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16103
16104         * io/tst-mknodat.c: Create a FIFO instead of a socket.
16105
16106 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16107
16108         [BZ #6530]
16109         * stdio-common/vfprintf.c (process_string_arg): Revert
16110         2000-07-22 change.
16111
16112 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
16113
16114         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16115         for testcase.
16116         * stdio-common/tst-sprintf.c: Include <locale.h>
16117         (main): Test sprintf's handling of incomplete multibyte
16118         characters.
16119
16120 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
16121
16122         * elf/dl-runtime.c (VERSYMIDX): Removed.
16123         * elf/dl-version.c (VERSYMIDX): Likewise.
16124         * elf/do-rel.h (VERSYMIDX): Likewise.
16125         (VALIDX): Likewise.
16126         * elf/dynamic-link.h (VERSYMIDX): Likewise.
16127         * elf/rtld.c (VALIDX): Likewise.
16128         (ADDRIDX): Likewise.
16129         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16130         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16131         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16132         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16133         (VALIDX): Likewise.
16134         (ADDRIDX): Likewise.
16135
16136 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16137
16138         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16139
16140 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
16141
16142         [BZ #11438]
16143         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16144         to global scope.
16145         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16146         addresses are in the same scope as 192.0.2/24.
16147         * posix/gai.conf: Document new scope table defaults.
16148
16149 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16150
16151         [BZ #5298]
16152         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16153         for ftell.  Compute offsets from write pointers instead.
16154         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16155
16156 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16157
16158         [BZ #14543]
16159         * libio/Makefile (tests): New test case tst-fseek.
16160         * libio/tst-fseek.c: New test case to verify that fseek/ftell
16161         combination works in wide mode.
16162         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16163         state when the external buffer state changes.
16164
16165 2012-09-27  David S. Miller  <davem@davemloft.net>
16166
16167         [BZ #14376]
16168         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16169         pass reloc->r_addend in as the 'high' argument to
16170         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16171
16172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16173
16174 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16175
16176         * rt/tst-aio2.c: Include <pthread.h>.
16177         * rt/tst-aio3.c: Likewise.
16178
16179 2012-09-27  Steve Ellcey  <sellcey@mips.com>
16180
16181         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16182
16183 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
16184
16185         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16186         contents on [SHARED].
16187
16188 2012-09-26  Marek Polacek  <polacek@redhat.com>
16189
16190         [BZ #14530]
16191         [BZ #13741]
16192         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16193         for C++ and GCC <4.3 as well as for non GCC compilers.
16194
16195 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16196
16197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16198
16199 2012-09-25  Roland McGrath  <roland@hack.frob.com>
16200
16201         * Makefile.in (all, install): Declare with .PHONY.
16202         Reported by Michael Hope <michael.hope@linaro.org>.
16203
16204 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16205
16206         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16207         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16208         system header.
16209         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16210         Likewise.
16211         (sydep_routines): Add the new and the internal functions.
16212         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16213         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16215         (GLIBC_2.17): Add the new function.
16216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16217         (GLIBC_2.17): Likewise.
16218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16219         (GLIBC_2.17): Likewise.
16220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16221         (GLIBC_2.17): Likewise.
16222         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16223
16224 2012-09-25  Alan Modra  <amodra@gmail.com>
16225
16226         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16227         Add release barrier before setting once_control to say
16228         initialisation is done.  Add hints on lwarx.  Use macro in
16229         place of isync.
16230         (clear_once_control): Add release barrier.
16231
16232 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16233
16234         [BZ #13629]
16235         * math/s_clog.c (__clog): Handle more values close to |z| = 1
16236         specially.
16237         * math/s_clog10.c (__clog10): Likewise.
16238         * math/s_clog10f.c (__clog10f): Likewise.
16239         * math/s_clog10l.c (__clog10l): Likewise.
16240         * math/s_clogf.c (__clogf): Likewise.
16241         * math/s_clogl.c (__clogl): Likewise.
16242         * math/Makefile (libm-calls): Add x2y2m1.
16243         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16244         (__x2y2m1): Likewise.
16245         (__x2y2m1l): Likewise.
16246         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16247         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16248         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16249         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16250         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16251         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16252         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16253         * sysdeps/i386/fpu/libm-test-ulps: Update.
16254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255
16256         [BZ #14621]
16257         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16258         int as type of variable DEPTH.
16259         (glob): Use size_t instead of int as type of variables NEWCOUNT
16260         and OLD_PATHC.
16261
16262 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16263
16264         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16265         Add s_sincosf-sse2.
16266         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16267         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16268         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16269         macros for using routine as __sincosf_ia32.
16270         Use macro for function declaration and weak_alias.
16271         * sysdeps/i386/fpu/libm-test-ulps: Update.
16272
16273         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16275
16276         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16277         subnormal argument.
16278         * math/s_cexpf.c (__cexpf): Likewise.
16279         * math/s_csinf.c (__csinf): Likewise.
16280         * math/s_csinhf.c (__csinhf): Likewise.
16281         * math/s_ctanf.c (__ctanf): Likewise.
16282         * math/s_ctanhf.c (__ctanhf): Likewise.
16283         * math/s_ccosh.c (__ccoshf): Likewise.
16284         * math/s_cexp.c (__cexpl): Likewise.
16285         * math/s_csin.c (__csin): Likewise.
16286         * math/s_csinh.c (__csinh): Likewise.
16287         * math/s_ctan.c (__ctan): Likewise.
16288         * math/s_ctanh.c (ctanh): Likewise.
16289         * math/s_ccoshl.c (__ccoshl): Likewise.
16290         * math/s_cexpl.c (__cexpl): Likewise.
16291         * math/s_csinl.c (__csinl): Likewise.
16292         * math/s_csinhl.c (__csinhl): Likewise.
16293         * math/s_ctanl.c (__ctanl): Likewise.
16294         * math/s_ctanhl.c (__ctanhl): Likewise.
16295
16296 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16297
16298         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16299         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16300         (_IO_off_t): Define to __off_t, not _G_off_t.
16301         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16302         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16303         (_IO_wint_t): Define to wint_t, not _G_wint_t.
16304         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16305         type of __dummy and __dummy2 fields.
16306         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16307         (_G_ssize_t): Likewise.
16308         (_G_off_t): Likewise.
16309         (_G_pid_t): Likewise.
16310         (_G_uid_t): Likewise.
16311         (_G_wchar_t): Likewise.
16312         (_G_wint_t): Likewise.
16313         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16314         (_G_ssize_t): Likewise.
16315         (_G_off_t): Likewise.
16316         (_G_pid_t): Likewise.
16317         (_G_uid_t): Likewise.
16318         (_G_wchar_t): Likewise.
16319         (_G_wint_t): Likewise.
16320         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16321         (_G_ssize_t): Likewise.
16322         (_G_off_t): Likewise.
16323         (_G_pid_t): Likewise.
16324         (_G_uid_t): Likewise.
16325         (_G_wchar_t): Likewise.
16326         (_G_wint_t): Likewise.
16327
16328 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16329
16330         * malloc/arena.c: Include malloc-sysdep.h.
16331         (shrink_heap): Use check_may_shrink_heap to decide if madvise
16332         is sufficient to shrink the heap or an unmap is needed.
16333         * sysdeps/generic/malloc-sysdep.h: New file.  Define
16334         new function check_may_shrink_heap.
16335         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
16336         new function check_may_shrink_heap.
16337
16338 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16339
16340         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16341         comments.
16342
16343 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
16344
16345         * catgets/test-gencat.sh: Add "set -e".
16346         * elf/tst-pathopt.sh: Likewise.
16347         * grp/tst_fgetgrent.sh: Likewise.
16348         * iconvdata/run-iconv-test.sh: Likewise.
16349         * intl/tst-gettext.sh: Likewise.
16350         * intl/tst-gettext2.sh: Likewise.
16351         * intl/tst-gettext4.sh: Likewise.
16352         * intl/tst-gettext6.sh: Likewise.
16353         * intl/tst-translit.sh: Likewise.
16354         * io/ftwtest-sh: Likewise.
16355         * libio/test-freopen.sh: Likewise.
16356         * malloc/tst-mtrace.sh: Likewise.
16357         * posix/globtest.sh: Likewise.
16358         * posix/tst-getconf.sh: Likewise.
16359         * posix/wordexp-tst.sh: Likewise.
16360         * stdio-common/tst-printf.sh: Likewise.
16361         * stdio-common/tst-unbputc.sh: Likewise.
16362         * stdlib/tst-fmtmsg.sh: Likewise.
16363         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16364         * catgets/Makefile: Do not specify -e option when running
16365         testsuite shell scripts.
16366         * elf/Makefile: Likewise.
16367         * grp/Makefile: Likewise.
16368         * iconvdata/Makefile: Likewise.
16369         * intl/Makefile: Likewise.
16370         * io/Makefile: Likewise.
16371         * libio/Makefile: Likewise.
16372         * malloc/Makefile: Likewise.
16373         * posix/Makefile: Likewise.
16374         * stdio-common/Makefile: Likewise.
16375         * stdlib/Makefile: Likewise.
16376         * sysdeps/x86_64/Makefile: Likewise.
16377
16378         * io/ftwtest-sh: Add copyright header.
16379         * posix/globtest.sh: Likewise.
16380         * posix/tst-getconf.sh: Likewise.
16381         * posix/wordexp-tst.sh: Likewise.
16382         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16383
16384 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
16385
16386         [BZ #13679]
16387         * Makeconfig (+link): Defined as $(+link-static) if
16388         $(build-shared) isn't yes.
16389         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16390         isn't yes.
16391         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16392
16393         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16394
16395         [BZ #14562]
16396         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16397         new chunk size with MALLOC_ALIGN_MASK.
16398
16399 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
16400
16401         [BZ #5044]
16402         * stdio-common/printf_fphex.c: Include <stdbool.h> and
16403         <rounding-mode.h>.
16404         (__printf_fphex): Determine rounding using get_rounding_mode and
16405         round_away.
16406         * stdio-common/tst-printf-round.c (struct hex_test): New
16407         structure.
16408         (hex_tests): New variable.
16409         (test_hex_in_one_mode): New function.
16410         (do_test): Also run tests for hex float output.
16411
16412 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
16413
16414         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16415         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16416         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16417         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16418         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16419         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16420         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16421         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16422
16423 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
16424
16425         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16426         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16427         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16428         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16429
16430 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
16431
16432         [BZ #14579]
16433         * elf/rtld.c (dl_main): Limit the check for self loading to normal
16434         mode only.
16435         * elf/tst-rtld-load-self.sh: New test.
16436         * elf/Makefile: Run it.
16437
16438 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
16439
16440         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16441         (tst-writev-ENV): Remove.
16442         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16443
16444 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
16445
16446         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16447
16448 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
16449
16450         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16451         unconditional.
16452         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16453         Likewise.
16454         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16455         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16456         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16457         Likewise.
16458
16459 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
16460
16461         [BZ #14587]
16462         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16463         * config.make.in (have-cpp-asm-debuginfo): Removed.
16464         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16465         * configure: Regenerated.
16466
16467 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
16468
16469         [BZ #5044]
16470         * stdio-common/printf_fp.c: Include <stdbool.h> and
16471         <rounding-mode.h>.
16472         (___printf_fp): Determine rounding using get_rounding_mode and
16473         round_away.
16474         * stdio-common/tst-printf-round.c: New file.
16475         * stdio-common/Makefile (tests): Add tst-printf-round.
16476         (link-libm): New variable.
16477         ($(objpfx)tst-printf-round): Depend in $(link-libm).
16478
16479 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
16480
16481         [BZ #14576]
16482         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16483         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16484         Likewise.
16485         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16486         Likewise.
16487
16488 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
16489
16490         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16491         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16492         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16493         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16494
16495 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16496
16497         [BZ #14518]
16498         * include/rounding-mode.h: New file.
16499         * sysdeps/generic/get-rounding-mode.h: Likewise.
16500         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16501         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16502         (MAX_VALUE): New macro.
16503         (MIN_VALUE): Likewise.
16504         (overflow_value): New function.
16505         (underflow_value): Likewise.
16506         (round_and_return): Use overflow_value and underflow_value to
16507         determine return values in overflow and underflow cases.  Use
16508         round_away to determine rounding depending on rounding mode.
16509         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16510         determine return values in overflow and underflow cases.
16511         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16512         (struct test_results): New structure.
16513         (struct test): Use struct test_results to store expected results
16514         for all rounding modes.
16515         (TEST): Include expected results for all rounding modes.
16516         (test_in_one_mode): New function.
16517         (do_test): Use test_in_one_mode to compute and check results.
16518         Check results for all rounding modes.
16519         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16520         $(link-libm).
16521
16522 2012-12-09  Allan McRae  <allan@archlinux.org>
16523
16524         * sysdeps/i386/fpu/libm-test-ulps: Update
16525
16526 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16527
16528         * sysdeps/generic/_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/gnu/_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.
16544         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16545         (_G_int32_t): Likewise.
16546         (_G_uint16_t): Likewise.
16547         (_G_uint32_t): Likewise.
16548         (_G_HAVE_BOOL): Likewise.
16549         (_G_HAVE_ATEXIT): Likewise.
16550         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16551         (_G_HAVE_IO_FILE_OPEN): Likewise.
16552
16553 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16554
16555         * csu/libc-tls.c: Update copyright years.
16556
16557 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16558
16559         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16560         [!_G_USING_THUNKS]: Remove conditional code.
16561         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16562         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16563
16564         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16565         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16566         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16567         (_G_VTABLE_LABEL_PREFIX): Likewise.
16568         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16569         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16570         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16571         (_G_VTABLE_LABEL_PREFIX): Likewise.
16572         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16573         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16574         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16575         (_G_VTABLE_LABEL_PREFIX): Likewise.
16576         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16577
16578 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16579
16580         * libio/Makefile: Include ../Makeconfig before tests.
16581         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16582         only if $(build-shared) is yes.
16583
16584         * iconv/gconv_db.c: Update copyright years.
16585
16586 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16587
16588         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16589         unwind info if defined PIC. Fix special cases description.
16590         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16591
16592         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16593         DP_HI_MASK entry.
16594         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16595
16596 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16597
16598         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16599
16600         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16601         is NULL.
16602
16603         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16604         (LDLIBS-tst-chk4): This.
16605         (LDFLAGS-tst-chk5): Renamed to ...
16606         (LDLIBS-tst-chk5): This.
16607         (LDFLAGS-tst-chk6): Renamed to ...
16608         (LDLIBS-tst-chk6): This.
16609         (LDFLAGS-tst-lfschk4): Renamed to ...
16610         (LDLIBS-tst-lfschk4): This.
16611         (LDFLAGS-tst-lfschk5): Renamed to ...
16612         (LDLIBS-tst-lfschk5): This.
16613         (LDFLAGS-tst-lfschk6): Renamed to ...
16614         (LDLIBS-tst-lfschk6): This.
16615
16616         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16617         on $(common-objpfx)soversions.mk.
16618
16619 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16620
16621         [BZ #10014]
16622         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16623         example host name.
16624
16625 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16626
16627         * malloc/arena.c (arena_get_retry): New function that gets
16628         another arena for the caller to try its request on.
16629         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16630         current arena cannot fulfill the request.
16631         (__libc_memalign): Likewise.
16632         (__libc_memalign): Likewise.
16633         (__libc_pvalloc): Likewise.
16634         (__libc_calloc): Likewise.
16635
16636 2012-09-05  John Tobey  <john.tobey@gmail.com>
16637
16638         [BZ #13542]
16639         * manual/arith.texi (Operations on Complex): Fix description
16640         of carg branch cut.
16641
16642 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16643
16644         [BZ #10014]
16645         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16646         host name.
16647
16648         [BZ #10038]
16649         * manual/memory.texi (Memory): Make order of menu items match
16650         order of sections.
16651
16652 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16653
16654         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16655         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16656         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16657
16658 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16659
16660         * csu/libc-tls.c (static_dtv): Renamed to ...
16661         (_dl_static_dtv): This.  Make it global.
16662         (_dl_initial_dtv): Removed.
16663         (__libc_setup_tls): Updated.
16664         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16665         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16666         DL_INITIAL_DTV.
16667
16668 2012-09-06  Petr Machata  <pmachata@redhat.com>
16669
16670         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16671         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16672         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16673         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16674
16675 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16676
16677         [BZ #14545]
16678         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16679         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16680         freeing dtv[-1].
16681
16682 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16683
16684         [BZ #14544]
16685         * Makeconfig (link-static-before-libc): Replace $(+prector)
16686         with $(+prectorT).
16687         (link-static-after-libc): Replace $(+postctor) with
16688         $(+postctorT).
16689         (link-bounded): Replace $(+prector)/$(+postctor) with
16690         $(+prectorT)/$(+postctorT).
16691         (+prectorT): New macro.
16692         (+postctorT): Likewise.
16693
16694 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16695
16696         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16697         (round_str): Handle values above the maximum for IBM long double
16698         as inexact.
16699         * stdlib/tst-strtod-round.c (tests): Regenerated.
16700
16701 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16702
16703         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16704         assembler flag.
16705         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16706         zarch_nohighgprs around the zarch optimized routines.
16707         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16708         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16709         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16710         for zarch.
16711
16712 2012-09-05  David S. Miller  <davem@davemloft.net>
16713
16714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16715
16716         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16717         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16718         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16719         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16720         entries.
16721
16722 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16723
16724         * malloc/arena.c: Fold copyright years.
16725         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16726
16727 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16728
16729         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16730
16731 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16732
16733         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16734
16735 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16736
16737         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16738         change internal state upon failure.
16739
16740 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16741
16742         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16743         * malloc/memusage.c (mmap): Likewise.
16744         (mmap64, mremap): Likewise.  Adjust name in comment.
16745
16746 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16747
16748         * libio/fileops.c: Fix typos in comments.
16749         * libio/oldfileops.c: Likewise.
16750         * libio/wfileops.c: Likewise.
16751
16752 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16753
16754         [BZ #1349]
16755         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16756         (tst-malloc-usable-ENV): Set environment for test case.
16757         * malloc/hooks.c (malloc_check_get_size): New function to get
16758         requested size.
16759         * malloc/malloc.c (musable): Use malloc_check_get_size.
16760         * malloc/tst-malloc-usable.c: New test case.
16761
16762 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16763
16764         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16765
16766 2012-09-05  Allan McRae  <allan@archlinux.org>
16767
16768         [BZ #13966]
16769         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16770         determine header location.
16771         * configure: Regenerated.
16772
16773 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16774
16775         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16776         float format.
16777         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16778         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16779         format.
16780         (test): Regenerate.
16781
16782 2012-09-04  David S. Miller  <davem@davemloft.net>
16783
16784         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16785         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16786         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16787
16788 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16789
16790         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16791         failures.
16792
16793         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16794
16795 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16796
16797         [BZ #9914]
16798         * libio/iogetdelim.c: Include <limits.h>.
16799         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16800         + len + 1 would overflow.
16801
16802 2012-09-03  Andreas Jaeger  <aj@suse.de>
16803
16804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16805         * sysdeps/i386/fpu/libm-test-ulps: Update.
16806
16807 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16808
16809         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16810         Add s_sinf-sse2, s_conf-sse2.
16811
16812         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16813         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16814         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16815         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16816
16817         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16818         for using routine as __sinf_ia32.
16819         Use macro for function declaration and weak_alias.
16820         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16821         for using routine as __cosf_ia32.
16822         Use macro for function declaration and weak_alias.
16823
16824         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16825         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16826
16827         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16828         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16830
16831         * math/libm-test.inc (cos_test): Add more test cases.
16832         (sin_test): Likewise.
16833         (sincos_test): Likewise.
16834
16835 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16836
16837         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16838         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16839         hidden.
16840         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16841
16842 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16843
16844         [BZ #14538]
16845         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16846         first element of the GOT.
16847         (elf_machine_load_address): Return the difference between
16848         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16849
16850 2012-09-01  Allan McRae  <allan@archlinux.org>
16851
16852         [BZ #13412]
16853         * configure.in (AWK): Require gawk version 3.0 or later.
16854         * configure: Regenerated.
16855
16856 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16857
16858         * sysdeps/unix/sysv/linux/kernel-features.h
16859         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16860         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16861         [__NR_clock_getres]: Make code unconditional.
16862         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16863         (clock_getcpuclockid): Remove code left unreachable by removal of
16864         conditionals.
16865         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16866         code unconditional.
16867         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16868         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16869         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16870         Make code unconditional.
16871         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16872         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16873         * sysdeps/unix/sysv/linux/clock_settime.c
16874         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16875         conditional code.
16876         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16877         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16878
16879 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16880
16881         [BZ #14476]
16882         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16883         scripts/test-installation.pl.
16884
16885         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16886         and $ld_so_version if it is set.
16887
16888 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16889
16890         [BZ #14516]
16891         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16892         failure if reading from procfs failed.
16893         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16894
16895 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16896
16897         * sysdeps/unix/sysv/linux/kernel-features.h
16898         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16899         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16900         Remove conditional code.
16901         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16902         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16903         Remove conditional code.
16904         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16905         * sysdeps/unix/sysv/linux/i386/fxstat.c
16906         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16907         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16908         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16909         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16910         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16911         * sysdeps/unix/sysv/linux/i386/lxstat.c
16912         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16913         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16914         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16915         Remove conditional code.
16916         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16917         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16918         Remove conditional code.
16919         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16920         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16921         <kernel-features.h>.
16922         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16923         Remove.
16924         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16925         Remove conditional code.
16926         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16927         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16928         Remove conditional.
16929
16930 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16931
16932         [BZ #5400]
16933         * NEWS: Add fixed bug number.
16934
16935 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16936
16937         [BZ #14519]
16938         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16939         underflowing exponent in case of negative sign.
16940         * stdlib/tst-strtod-round-data: Add more tests.
16941         * stdlib/tst-strtod-round.c (tests): Regenerated.
16942
16943         [BZ #3479]
16944         * stdlib/strtod_l.c (NDIG): Remove.
16945         (HEXNDIG): Likewise.
16946         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16947         smallest representable value.
16948         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16949         lie within an exact representation of 1/2 ulp of the result.
16950         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16951         unconditionally.
16952         (TENS_P9_IDX): Define unconditionally.
16953         (TENS_P9_SIZE): Likewise.
16954         (TENS_P10_IDX): Likewise.
16955         (TENS_P10_SIZE): Likewise.
16956         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16957         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16958         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16959         entries for 10^2^13 and 10^2^14.
16960         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16961         (TENS_P13_IDX): Define.
16962         (TENS_P13_SIZE): Likewise.
16963         (TENS_P14_IDX): Likewise.
16964         (TENS_P14_SIZE): Likewise.
16965         (_fpioconst_pow10): Change array size to
16966         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16967         unconditional.
16968         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16969         1024]: Add entries for 10^2^13 and 10^2^14.
16970         [LAST_POW10 > _LAST_POW10]: Remove #error.
16971         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16972         (_fpioconst_pow10): Change array size to
16973         FPIOCONST_POW10_ARRAY_SIZE.
16974         * stdlib/gen-fpioconst.c: New file.
16975         * stdlib/gen-tst-strtod-round.c: Likewise.
16976         * stdlib/tst-strtod-round-data: Likewise.
16977         * stdlib/tst-strtod-round.c: Likewise.
16978         * stdlib/Makefile (tests): Add tst-strtod-round.
16979
16980         [BZ #14459]
16981         * stdlib/strtod_l.c: Include <stdint.h>.
16982         (NDEBUG): Do not define.
16983         (round_and_return): Change EXPONENT parameter to type intmax_t.
16984         Rearrange calculations to avoid internal overflow possibilities.
16985         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16986         Rearrange calculations to avoid internal overflow possibilities.
16987         Assert that number fits inside MPNSIZE limbs.
16988         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16989         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16990         calculations and add assertions to avoid internal overflow
16991         possibilities.  Add casts to avoid signed/unsigned operations.
16992         * stdlib/tst-strtod-overflow.c: New file.
16993         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16994
16995 2012-08-25  Marek Polacek  <polacek@redhat.com>
16996
16997         * time/time.h: Fix some typos in comments.
16998
16999 2012-08-23  Roland McGrath  <roland@hack.frob.com>
17000
17001         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17002         * posix/tst-rfc3484-2.c: Likewise.
17003         * posix/tst-rfc3484-3.c: Likewise.
17004
17005 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
17006
17007         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17008         (EF_ARM_ABI_FLOAT_HARD): Likewise.
17009
17010 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
17011
17012         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17013         #include of fxstatat64.c.
17014
17015 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17016
17017         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17018         * shadow/getspent_r.c: Likewise.
17019         * shadow/getspnam.c: Likewise.
17020         * shadow/getspnam_r.c: Likewise.
17021         * gshadow/getsgent.c: Likewise.
17022         * gshadow/getsgent_r.c: Likewise.
17023         * gshadow/getsgnam.c: Likewise.
17024         * gshadow/getsgnam_r.c: Likewise.
17025         * inet/getnetbyad.c: Likewise.
17026         * inet/getnetbyad_r.c: Likewise.
17027         * inet/getnetbynm.c: Likewise.
17028         * inet/getnetbynm_r.c: Likewise.
17029         * inet/getnetent.c: Likewise.
17030         * inet/getnetent_r.c: Likewise.
17031         * inet/getproto.c: Likewise.
17032         * inet/getproto_r.c: Likewise.
17033         * inet/getprtent.c: Likewise.
17034         * inet/getprtent_r.c: Likewise.
17035         * inet/getprtname.c: Likewise.
17036         * inet/getprtname_r.c: Likewise.
17037         * inet/getrpcbyname.c: Likewise.
17038         * inet/getrpcbyname_r.c: Likewise.
17039         * inet/getrpcbynumber.c: Likewise.
17040         * inet/getrpcbynumber_r.c: Likewise.
17041         * inet/getrpcent.c: Likewise.
17042         * inet/getrpcent_r.c: Likewise.
17043         * inet/getaliasent.c: Likewise.
17044         * inet/getaliasent_r.c: Likewise.
17045         * inet/getaliasname.c: Likewise.
17046         * inet/getaliasname_r.c: Likewise.
17047         * nscd/getgrgid_r.c: Likewise.
17048         * nscd/getgrnam_r.c: Likewise.
17049         * nscd/gethstbyad_r.c: Likewise.
17050         * nscd/gethstbynm3_r.c: Likewise.
17051         * nscd/getpwnam_r.c: Likewise.
17052         * nscd/getpwuid_r.c: Likewise.
17053         * nscd/getsrvbynm_r.c: Likewise.
17054         * nscd/getsrvbypt_r.c: Likewise.
17055         * nscd/gai.c: Likewise.
17056
17057         * configure.in (build_nscd): New substituted variable, set
17058         by --disable-build-nscd and defaults to $use_nscd.
17059         * configure: Regenerated.
17060         * config.make.in (build-nscd): New substituted variable.
17061         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17062         Change conditional to require [$(build-nscd) = yes] as well.
17063         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17064
17065         [BZ# 13696]
17066         * configure.in (use_nscd): New substituted variable, set by
17067         --disable-nscd.  If enabled, define USE_NSCD.
17068         * configure: Regenerated.
17069         * config.h.in: Add USE_NSCD.
17070         * config.make.in (use-nscd): New substituted variable.
17071         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17072         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17073         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17074         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17075         (CFLAGS-getgrnam_r.c): Likewise.
17076         (CFLAGS-initgroups.c): Likewise.
17077         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17078         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17079         Variables removed.
17080         * inet/getnetgrent_r.c
17081         (nscd_setnetgrent): New function, broken out of ...
17082         (setnetgrent): ... here.  Call it.
17083         (innetgr): Conditionalize nscd bits on [USE_NSCD].
17084         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17085         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17086         * nscd/Makefile (routines, aux): Move definitions after include of
17087         Makeconfig.  Conditionalize on [$(use-nscd) != no].
17088         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17089         Conditionalize on [USE_NSCD].
17090         (is_nscd, nscd_init_cb): Likewise.
17091         (nss_load_library): Conditionalize init callback on [USE_NSCD].
17092         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17093         * nss/nss_db/db-init.c: Likewise.
17094         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17095         [USE_NSCD].
17096         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17097         (make_request): Use it.
17098         (cache_valid_p): New function.
17099         (__check_pf): Use it.
17100         * NEWS: Add item for --disable-nscd.
17101
17102 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
17103
17104         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17105         to support sed >= 4.2.1-20-ga9bf076.
17106         * configure: Regenerated.
17107
17108 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17109
17110         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17111         Conditionalize whole body on [IREL].
17112
17113 2012-08-22  Jeff Law <law@redhat.com>
17114
17115         [BZ #14505]
17116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17117         if the family is PF_UNSPEC.
17118
17119 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
17120
17121         * Makerules (lib-version): Rename from V.
17122         (install-lib-nosubdir): Change V to lib-version.
17123
17124 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
17125
17126         [BZ #14252]
17127         * powerpc32/power6/wcschr.c: New file.
17128         * powerpc32/power6/wcscpy.c: New file.
17129         * powerpc32/power6/wcsrchr.c: New file.
17130         * powerpc64/power6/wcschr.c: New file.
17131         * powerpc64/power6/wcscpy.c: New file.
17132         * powerpc64/power6/wcsrchr.c: New file.
17133
17134 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17135
17136         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17137         (two_way_short_needle): Use it.
17138         * string/strstr.c (AVAILABLE1_USES_J): Define.
17139         * string/strcasestr.c: Likewise.
17140
17141         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17142         array references.
17143         * string/strcasestr.c (TOLOWER): Make side-effect safe.
17144
17145         [BZ #11607]
17146         * NEWS: Add an entry.
17147         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17148         define their defaults.
17149         (two_way_short_needle): Detect end-of-string on-the-fly.
17150         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17151         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17152         * string/bug-strcasestr1.c: New test.
17153         * string/Makefile: Run it.
17154
17155 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17156
17157         [BZ #11607]
17158         * string/str-two-way.h (two_way_short_needle): Optimize matching of
17159         the first character.
17160
17161 2012-08-21  Roland McGrath  <roland@hack.frob.com>
17162
17163         * csu/elf-init.c (__libc_csu_irel): Function removed.
17164         * csu/libc-start.c (apply_irel): New function.
17165         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17166
17167 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
17168
17169         * sysdeps/unix/sysv/linux/kernel-features.h
17170         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17171         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17172         <kernel-features.h>.
17173         [__NR_fadvise64_64]: Make code unconditional.
17174         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17175         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17176         !__NR_fadvise64_64)]: Likewise.
17177         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17178         !__NR_fadvise64_64))]: Likewise.
17179         [__NR_fadvise64]: Make code unconditional.
17180         [!__NR_fadvise64]: Remove conditional code.
17181         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17182         <kernel-features.h>.
17183         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17184         unconditional.
17185         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17186         conditional code.
17187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17188         not include <kernel-features.h>.
17189         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17190         unconditional.
17191         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17192         conditional code.
17193         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17194         include <kernel-features.h>.
17195         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17196         unconditional.
17197         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17198         conditional code.
17199
17200 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17201
17202         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17203         slight instruction rearrangements per scrollpipe analysis.
17204         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17205
17206 2012-08-20  Roland McGrath  <roland@hack.frob.com>
17207
17208         * manual/syslog.texi (syslog; vsyslog, closelog):
17209         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17210         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17211
17212         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17213         DSOCAPS to match condition on defining it.
17214
17215 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
17216
17217         * sysdeps/unix/sysv/linux/kernel-features.h
17218         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17220         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17221         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17223         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17224         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17226         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17227         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17228
17229         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17230         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17231
17232         * sysdeps/unix/sysv/linux/kernel-features.h
17233         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17234         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17235         unconditional.
17236         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17237         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17238         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17239         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17240         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17241         Make code unconditional.
17242         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17243         (__mmap64) [!__NR_mmap2]: Likewise.
17244         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17245         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17246         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17247         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17248         [__NR_mmap2]: Make code unconditional.
17249         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17250         (__mmap64) [!__NR_mmap2]: Likewise.
17251
17252 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17253
17254         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17255
17256 2012-08-18  Andreas Jaeger  <aj@suse.de>
17257
17258         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17259
17260 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17261
17262         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17263         * include/unistd.h (__have_sock_cloexec): Likewise.
17264         (__have_pipe2): Likewise.
17265         (__have_dup3): Likewise.
17266
17267 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17268
17269         [BZ #9685]
17270         * include/unistd.h (__have_pipe2): Change define into an extern int.
17271         (__have_dup3): Likewise.
17272         * socket/have_sock_cloexec.c: Include fcntl.h.
17273         (__have_pipe2): New variable.
17274         (__have_dup3): Likewise.
17275
17276 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
17277
17278         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17279
17280 2012-08-17  Marek Polacek  <polacek@redhat.com>
17281
17282         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17283         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17284
17285 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17286
17287         * configure.in: Add AC_SUBST for sysheaders.
17288         * configure: Regenerated.
17289         * config.make.in (sysheaders): New substituted variable.
17290
17291         * sysdeps/unix/mkfifo.c: Moved ...
17292         * sysdeps/posix/mkfifo.c: ... here.
17293         * sysdeps/unix/mkfifoat.c: Moved ...
17294         * sysdeps/posix/mkfifoat.c: ... here.
17295
17296         * sysdeps/unix/utime.c: Moved ...
17297         * sysdeps/posix/utime.c: ... here.
17298
17299         * sysdeps/unix/time.c: Moved ...
17300         * sysdeps/posix/time.c: ... here.
17301         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17302         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17303
17304         * sysdeps/unix/nice.c: Moved ...
17305         * sysdeps/posix/nice.c: ... here.
17306
17307         * sysdeps/unix/alarm.c: Moved ...
17308         * sysdeps/posix/alarm.c: ... here.
17309
17310         * intl/Makefile ($(codeset_mo)): Depend on the input file.
17311
17312 2012-08-17  Jeff Law <law@redhat.com>
17313
17314         * intl/Makefile (codeset_mo): New variable.
17315         ($(codeset_mo)): New target.
17316         (tst-codeset.out): Depend on that.  Remove explicit rule.
17317         (tst-gettext3.out, tst-gettext5.out): Likewise.
17318         (LOCPATH-ENV, tst-codeset-ENV): New variables.
17319         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17320         * intl/tst-codeset.sh: Remove.
17321         * intl/tst-gettext3.sh: Likewise.
17322         * intl/tst-gettext5.sh: Likewise.
17323
17324 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17325
17326         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
17327         * sysdeps/unix/syscalls.list: ... here.
17328
17329         * sysdeps/posix/getaddrinfo.c
17330         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17331         (gaiconf_init, gaiconf_reload): Use them.
17332         [!_STATBUF_ST_NSEC]
17333         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17334         Define using time_t rather than struct timespec.
17335
17336         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17337         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17338         Macros removed.
17339         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17340         [!NO_THREADS].
17341         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17342         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17343         Likewise.
17344
17345         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17346         __libc_cleanup_push argument.
17347
17348         * bits/param.h: New file.
17349         * misc/sys/param.h: New file.
17350         * include/sys/param.h: New file.
17351         * misc/Makefile (headers): Add bits/param.h.
17352         * sysdeps/generic/sys/param.h: File removed.
17353         * sysdeps/unix/sysv/linux/bits/param.h: New file.
17354         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17355         * sysdeps/mach/hurd/bits/param.h: New file.
17356         * sysdeps/mach/hurd/sys/param.h: File removed.
17357
17358         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17359         last change.
17360
17361         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17362         [_IO_MTSAFE_IO].
17363         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17364         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17365         New macros.
17366
17367         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17368         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17369         rather than -D_IO_MTSAFE_IO conditionally.
17370         * stdio-common/Makefile (CPPFLAGS): Likewise.
17371         * wcsmbs/Makefile (CPPFLAGS): Likewise.
17372         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17373         Use $(libio-mtsafe).
17374         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17375         of -D_IO_MTSAFE_IO.
17376         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17377         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17378         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17379         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17380         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17381         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17382         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17383         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17384         (CFLAGS-fread_u_chk.c): Likewise.
17385         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17386         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17387         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17388         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17389         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17390         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17391         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17392         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17393         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17394
17395         * libio/Makefile: Test [$(libc-reentrant) = yes]
17396         instead of [$(filter %REENTRANT, $(defines)) nonempty].
17397
17398         * Makeconfig
17399         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17400         * sysdeps/pthread/configure: File removed.
17401         * sysdeps/pthread/Makeconfig: New file.
17402         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17403         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17404
17405 2012-08-16  Gary Benson  <gbenson@redhat.com>
17406
17407         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17408         unmapping the first object in a namespace.
17409
17410 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17411
17412         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17413         (__internal_setnetgrent): ... this.  Add internal_function to
17414         definition.  Add libc_hidden_def.
17415         (setnetgrent): Update caller.
17416         (internal_endnetgrent): Renamed to ...
17417         (__internal_endnetgrent): ... this.  Add internal_function to
17418         definition.  Add libc_hidden_def.
17419         (endnetgrent): Update caller.
17420         (internal_getnetgrent_r): Renamed to ...
17421         (__internal_getnetgrent_r): ... this.  Add internal_function to
17422         definition.  Add libc_hidden_def.
17423         (__getnetgrent_r): Update caller.
17424         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
17425
17426 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17427
17428         * stdlib/longlong.h: Update from GCC.
17429
17430 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17431
17432         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17433         on _QL, which is set by umul_ppmm but never used.
17434         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17435         variables, which are set by GMP macros but never used.
17436         * stdio-common/_itowa.c (_itowa): Likewise.
17437         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17438         * stdlib/mod_1.c (mpn_mod_1): Likewise.
17439
17440 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
17441
17442         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17443         struct La_sh_regs is not constant.
17444         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17445         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17446         and struct La_sparc64_regs are not constant.
17447
17448 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17449
17450         * sysdeps/unix/sysv/linux/kernel-features.h
17451         (__ASSUME_POSIX_TIMERS): Remove.
17452         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17453         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17454         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17455         Make code unconditional.
17456         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17457         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17458         Make code unconditional.
17459         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17460         * sysdeps/unix/sysv/linux/clock_nanosleep.c
17461         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17462         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17463         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17464         Make code unconditional.
17465         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17466         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17467         (__libc_missing_posix_timers): Remove.
17468
17469 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17470
17471         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17472         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17473
17474         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17475
17476         * elf/dl-sym.c: Include <stdlib.h>.
17477
17478         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17479         constants, which avoids warnings in 32-bit builds.
17480
17481         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17482         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17483
17484         * misc/lseek.c: File moved to ...
17485         * io/lseek.c: ... here.
17486
17487         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17488
17489         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17490         shifting LEN more than 31 bits at once.
17491
17492 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17493
17494         [BZ #14195]
17495         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17496         segmentation fault for a case of two empty input strings.
17497         * string/test-strncasecmp.c (check1): Renamed to...
17498         (bz12205): ...this.
17499         (bz14195): Add new testcase for two empty input strings and N > 0.
17500         (test_main): Call new testcase, adapt for renamed function.
17501
17502 2012-08-15  Andreas Jaeger  <aj@suse.de>
17503
17504         [BZ #14090]
17505         * crypt/md5test2.c: New test, based on test supplied by Serge
17506         Belyshev <belyshev@depni.sinp.msu.ru>.
17507         * crypt/Makefile (xtests): Add md5test-giant..
17508         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17509
17510 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17511
17512         [BZ #14090]
17513         * crypt/md5.c (md5_process_block): Don't assume the buffer
17514         length is less than 2**32.
17515         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17516         length is less than 2**64.
17517
17518 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17519
17520         * string/str-two-way.h: Include <sys/param.h>.
17521         (MAX): Macro removed.
17522
17523         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17524         Move #define and #undef of memmove to just before and after
17525         including <string.h>.
17526
17527         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17528         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17529         and after including <string.h>.  Move declarations of
17530         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17531         to before #include "string/memmove.c".
17532
17533         * include/dirent.h: Declare __getdirentries.
17534
17535         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17536         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17537
17538 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17539
17540         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17541         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17542         * sysdeps/i386/configure: Regenerated.
17543         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17544         STABS_CURRENT_FILE, and STABS_FUN.
17545         (END): Remove call to STABS_FUN_END.
17546         (STABS_CURRENT_FILE1): Delete.
17547         (STABS_CURRENT_FILE): Likewise.
17548         (STABS_FUN): Likewise.
17549         (STABS_FUN_END): Likewise.
17550         (STABS_FUN2): Likewise.
17551         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17552         * sysdeps/x86_64/configure: Regenerated.
17553
17554 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17555
17556         * elf/dl-open.c: Include <atomic.h>.
17557         * elf/dl-lookup.c: Likewise.
17558
17559 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17560
17561         * sysdeps/unix/sysv/linux/kernel-features.h
17562         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17563         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17564         unconditionally.
17565         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17566         unconditionally.
17567         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17568         condition on __ASSUME_CLONE_THREAD_FLAGS.
17569
17570 2012-08-14  Andreas Jaeger  <aj@suse.de>
17571
17572         * sysdeps/i386/fpu/libm-test-ulps: Update.
17573
17574 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17575
17576         * include/atomic.h (atomic_exchange_and_add): Split into ...
17577         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17578         New atomic macros.
17579
17580 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17581
17582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17583
17584 2012-08-13  Jeff Law <law@redhat.com>
17585
17586         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17587         null byte in the output string.
17588
17589 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17590
17591         * sysdeps/unix/sysv/linux/kernel-features.h
17592         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17593         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17594         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17595         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17596         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17597         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17598         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17599
17600 2012-08-09  Jeff Law <law@redhat.com>
17601
17602         [BZ #13939]
17603         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17604         When avoid_arena is set, don't retry in the that arena.  Pick the
17605         next one, whatever it might be.
17606         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17607         (arena_lock): Pass in new parameter to arena_get2.
17608         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17609         arena_get2.
17610         (__libc_malloc): Unify retrying after main arena failure with
17611         __libc_memalign version.
17612         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17613
17614 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17615
17616         [BZ #14166]
17617         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17618         to __redirect_strstr.
17619         (__strstr_sse42): Use typeof __redirect_strstr.
17620         (__strstr_ia32): Likewise.
17621         (__libc_strstr): New prototype.
17622         (strstr): Renamed to ...
17623         (__libc_strstr): This.
17624         (strstr): New strong alias of __libc_strstr.
17625         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17626         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17627         __redirect_time.
17628         Include <time.h>.
17629         (__libc_time): New prototype.
17630         (time_ifunc): Replace time with __libc_time.
17631         (time): New strong alias and hidden definition of __libc_time.
17632         (__GI_time): Remove strong alias.
17633         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17634         Include <stddef.h>.
17635         (memmove): Redefined to __redirect_memmove.
17636         (__memmove_sse2): Use typeof __redirect_memmove.
17637         (__memmove_ssse3): Likewise.
17638         (__memmove_ssse3_back): Likewise.
17639         (__libc_memmove): New prototype.
17640         (memmove): Renamed to ...
17641         (__libc_memmove): This.
17642         (memmove): New strong alias of __libc_memmove.
17643
17644 2012-08-08  Mark Salter  <msalter@redhat.com>
17645
17646         * elf/elf.h
17647         (R_MN10300_TLS_GD): Define.
17648         (R_MN10300_TLS_LD): Likewise.
17649         (R_MN10300_TLS_LDO): Likewise.
17650         (R_MN10300_TLS_GOTIE): Likewise.
17651         (R_MN10300_TLS_IE): Likewise.
17652         (R_MN10300_TLS_LE): Likewise.
17653         (R_MN10300_TLS_DTPMOD): Likewise.
17654         (R_MN10300_TLS_DTPOFF): Likewise.
17655         (R_MN10300_TLS_TPOFF): Likewise.
17656         (R_MN10300_SYM_DIFF): Likewise.
17657         (R_MN10300_ALIGN): Likewise.
17658         (R_MN10300_NUM): Update.
17659
17660 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17661
17662         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17663         Remove.
17664
17665 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17666
17667         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17668
17669         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17670         sysdeps/unix -> sysdeps/posix move.
17671         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17672
17673 2012-08-07      Allan McRae     <allan@archlinux.org>
17674
17675         [BZ #14303]
17676         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17677         (SUNOS_CPP): Likewise.
17678         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17679         not found.
17680         (open_input): Call CPP using execvp.
17681
17682 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17683
17684         * sysdeps/unix/sysv/linux/kernel-features.h
17685         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17686         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17687         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17688         (__ASSUME_WAITID_SYSCALL): Likewise.
17689         * sysdeps/unix/sysv/linux/dl-execstack.c
17690         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17691         code unconditional.
17692         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17693         conditional code.
17694         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17695         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17696         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17697         code.
17698         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17699         unconditional.
17700         [__ASSUME_WAITID_SYSCALL]: Likewise.
17701         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17702
17703 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17704
17705         * sysdeps/unix/closedir.c: Renamed to ...
17706         * sysdeps/posix/closedir.c: ... here.
17707         * sysdeps/unix/dirfd.c: Renamed to ...
17708         * sysdeps/posix/dirfd.c: ... here.
17709         * sysdeps/unix/dirstream.h: Renamed to ...
17710         * sysdeps/posix/dirstream.h: ... here.
17711         * sysdeps/unix/fdopendir.c: Renamed to ...
17712         * sysdeps/posix/fdopendir.c: ... here.
17713         * sysdeps/unix/opendir.c: Renamed to ...
17714         * sysdeps/posix/opendir.c: ... here.
17715         * sysdeps/unix/readdir.c: Renamed to ...
17716         * sysdeps/posix/readdir.c: ... here.
17717         * sysdeps/unix/readdir_r.c: Renamed to ...
17718         * sysdeps/posix/readdir_r.c: ... here.
17719         * sysdeps/unix/rewinddir.c: Renamed to ...
17720         * sysdeps/posix/rewinddir.c: ... here.
17721         * sysdeps/unix/seekdir.c: Renamed to ...
17722         * sysdeps/posix/seekdir.c: ... here.
17723         * sysdeps/unix/telldir.c: Renamed to ...
17724         * sysdeps/posix/telldir.c: ... here.
17725         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17726         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17727         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17728         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17729
17730         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17731         * bits/fcntl.h: ... here.
17732
17733         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17734         not 0.
17735         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17736         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17737         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17738         (struct flock): Move l_start, l_len to the beginning.
17739         Use __pid_t for l_pid.
17740         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17741         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17742         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17743         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17744         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17745         [__USE_LARGEFILE64] (struct flock64): New type.
17746         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17747
17748         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17749         * bits/dirent.h: ... here.
17750
17751         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17752         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17753
17754 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17755
17756         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17757         Change from 2.6.0 to 2.6.16.
17758         * sysdeps/unix/sysv/linux/configure: Regenerated.
17759         * sysdeps/unix/sysv/linux/kernel-features.h
17760         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17761         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17762         version.
17763         (__ASSUME_UTIMES): Likewise.
17764         (__ASSUME_CLONE_STOPPED): Remove.
17765         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17766         architectures, not kernel version.
17767         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17768         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17769         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17770         (__ASSUME_WAITID_SYSCALL): Likewise.
17771         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17772         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17773         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17774         refer to older versions.
17775
17776 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17777
17778         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17779         Define alphasort64 as an alias.
17780         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17781         Define versionsort64 as an alias.
17782         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17783         Define scandir64 as an alias.
17784         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17785         Define scandirat64 as an alias.
17786         * dirent/alphasort64.c (alphasort64):
17787         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17788         * dirent/versionsort64.c: Likewise.
17789         * dirent/scandir64.c: Likewise.
17790         * dirent/scandirat64.c: Likewise.
17791         * sysdeps/wordsize-64/alphasort.c: File removed.
17792         * sysdeps/wordsize-64/alphasort64.c: File removed.
17793         * sysdeps/wordsize-64/scandir.c: File removed.
17794         * sysdeps/wordsize-64/scandir64.c: File removed.
17795         * sysdeps/wordsize-64/scandirat.c: File removed.
17796         * sysdeps/wordsize-64/scandirat64.c: File removed.
17797         * sysdeps/wordsize-64/versionsort.c: File removed.
17798         * sysdeps/wordsize-64/versionsort64.c: File removed.
17799         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17800         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17801         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17802         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17803         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17804         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17805         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17806         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17807
17808         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17810         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17811         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17812         [defined __arch64__ || defined __sparcv9]
17813         (__INO_T_MATCHES_INO64_T): New macro.
17814         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17815         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17816         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17817         * sysdeps/unix/sysv/linux/bits/dirent.h
17818         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17819         (_DIRENT_MATCHES_DIRENT64): New macro.
17820
17821         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17822         Define lockf64 as an alias.
17823         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17824         Define fseeko64 as an alias.
17825         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17826         Define ftello64 as an alias.
17827         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17828         Define _IO_fgetpos64 and fgetpos64 as aliases.
17829         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17830         Define _IO_fsetpos64 and fsetpos64 as aliases.
17831         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17832         Conditionalize body on this.
17833         * libio/fseeko64.c: Likewise.
17834         * libio/ftello64.c: Likewise.
17835         * libio/iofgetpos64.c: Likewise.
17836         * libio/iofsetpos64.c: Likewise.
17837         * sysdeps/wordsize-64/lockf.c: File removed.
17838         * sysdeps/wordsize-64/lockf64.c: File removed.
17839         * sysdeps/wordsize-64/fseeko.c: File removed.
17840         * sysdeps/wordsize-64/fseeko64.c: File removed.
17841         * sysdeps/wordsize-64/ftello.c: File removed.
17842         * sysdeps/wordsize-64/ftello64.c: File removed.
17843         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17844         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17845         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17846         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17847         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17848         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17849         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17850         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17851         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17852         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17853         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17854         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17855         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17856         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17857
17858         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17859         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17860         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17861         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17862         [defined __arch64__ || defined __sparcv9]
17863         (__OFF_T_MATCHES_OFF64_T): New macro.
17864         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17865         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17867         (__OFF_T_MATCHES_OFF64_T): New macro.
17868
17869 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17870
17871         * stdlib/secure-getenv.c (__secure_getenv): Replace
17872         GLIBC_2_16 with GLIBC_2_17.
17873
17874 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17875
17876         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17877         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17878
17879 2012-08-03  David S. Miller  <davem@davemloft.net>
17880
17881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17882
17883 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17884
17885         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17886         Remove.
17887         (__ASSUME_CORRECT_SI_PID): Likewise.
17888         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17889         (__ASSUME_TMPFS_NAME): Likewise.
17890         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17891         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17892         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17893         (HAVE_AUX_SECURE): Make definition unconditional.
17894         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17895         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17896
17897 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17898
17899         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17900         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17901         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17902         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17903         __eloop_threshold instead of SYMLOOP_MAX.
17904
17905         * sysdeps/generic/eloop-threshold.h: New file.
17906         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17907         of MAXSYMLINKS.
17908         * elf/chroot_canon.c (chroot_canon): Likewise.
17909
17910 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17911
17912         [BZ #13717]
17913         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17914         Change to 2.6.0 everywhere.
17915         * sysdeps/unix/sysv/linux/configure: Regenerated.
17916         * sysdeps/unix/sysv/linux/kernel-features.h
17917         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17918         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17919         kernel versions.
17920         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17921         (__ASSUME_FUTEX_REQUEUE): Remove.
17922         (__ASSUME_STATFS64): Define unconditionally.
17923         (__ASSUME_AT_SECURE): Likewise.
17924         (__ASSUME_CORRECT_SI_PID): Likewise.
17925         (__ASSUME_TGKILL): Define without depending on kernel version for
17926         i386.
17927         (__ASSUME_UTIMES): Likewise.
17928         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17929         kernel version.
17930         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17931         (__ASSUME_TMPFS_NAME): Likewise.
17932         * README: Update reference to Linux kernel versions.
17933
17934 2012-08-02  Marek Polacek  <polacek@redhat.com>
17935
17936         [BZ# 14150]
17937         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17938         libc_cv_asm_type_prefix with %.
17939         * configure: Regenerated.
17940         * include/libc-symbols.h: Remove comment about
17941         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17942         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17943         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17944         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17945         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17946         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17947         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17948         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17949         * elf/tst-unique2mod1.c: Likewise.
17950         * elf/tst-unique1mod2.c: Likewise.
17951         * elf/tst-unique1mod1.c: Likewise.
17952         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17953         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17954         Replace ASM_TYPE_DIRECTIVE with .type.
17955         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17956         * sysdeps/i386/sysdep.h: Likewise.
17957         * sysdeps/x86_64/sysdep.h: Likewise.
17958         * sysdeps/sh/sysdep.h: Likewise.
17959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17960         Do not define ASM_TYPE_DIRECTIVE.
17961         * sysdeps/powerpc/sysdep.h: Likewise.
17962         * sysdeps/powerpc/powerpc32/sysdep.h:
17963         Replace ASM_TYPE_DIRECTIVE with .type.
17964         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17965         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17966         * sysdeps/i386/fpu/e_powf.S: Likewise.
17967         * sysdeps/i386/fpu/e_expl.S: Likewise.
17968         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17969         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17970         * sysdeps/i386/fpu/e_pow.S: Likewise.
17971         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17972         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17973         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17974         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17975         * sysdeps/i386/fpu/e_log2.S: Likewise.
17976         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17977         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17978         * sysdeps/i386/fpu/e_powl.S: Likewise.
17979         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17980         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17981         * sysdeps/i386/fpu/e_logl.S: Likewise.
17982         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17983         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17984         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17985         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17986         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17987         * sysdeps/i386/fpu/e_log.S: Likewise.
17988         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17989         * sysdeps/i386/fpu/e_logf.S: Likewise.
17990         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17991         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17992         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17993         * sysdeps/i386/fpu/e_log10.S: Likewise.
17994         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17995         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17996         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17997         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17998         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17999         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18000         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18001         * sysdeps/i386/i686/strtok.S: Likewise.
18002         * sysdeps/i386/i386-mcount.S: Likewise.
18003         * sysdeps/i386/strtok.S: Likewise.
18004         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18005         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18006         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18007         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18008         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18009         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18010         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18011         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18012         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18013         * sysdeps/x86_64/_mcount.S: Likewise.
18014         * sysdeps/x86_64/strtok.S: Likewise.
18015         * sysdeps/sh/_mcount.S: Likewise.
18016
18017 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18018
18019         * libio/iofopen.c: Include <fcntl.h>.
18020         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18021         (_IO_fopen64, fopen64): Define as aliases.
18022         * libio/iofopen64.c: Include <fcntl.h>.
18023         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18024         Conditionalize body on this.
18025         * sysdeps/wordsize-64/iofopen.c: File removed.
18026         * sysdeps/wordsize-64/iofopen64.c: File removed.
18027
18028 2012-08-01  Marek Polacek  <polacek@redhat.com>
18029
18030         * libc/Makeconfig: Use elf in place of binfmt-subdir.
18031         Use dlfcn directly instead of a variable.
18032         (binfmt-subdir): Do not define.
18033         (dlfcn): Likewise.
18034
18035 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
18036
18037         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18038         Remove all definitions.
18039         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18040         <kernel-features.h>.
18041         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18042         (miss_F_GETOWN_EX): Remove all definitions.
18043         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18044         macro definition.
18045         [!__ASSUME_FCNTL64]: Remove conditional code.
18046         [__ASSUME_FCNTL64]: Make code unconditional.
18047         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18048         <kernel-features.h>.
18049         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18050         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18051         (lockf64) [__NR_fcntl64]: Make code unconditional.
18052         (lockf64) [__ASSUME_FCNTL64]: Likewise.
18053
18054         * sysdeps/unix/sysv/linux/kernel-features.h
18055         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18056         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18057         Make code unconditional.
18058         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18059         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18061         [__NR_vfork]: Make code unconditional.
18062         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18063         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18065         [__NR_vfork]: Make code unconditional.
18066         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18067         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18068
18069 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18070
18071         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18072         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18073
18074         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18075         Define mkstemp64 as an alias.
18076         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18077         Define mkstemps64 as an alias.
18078         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18079         Define mkostemp64 as an alias.
18080         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18081         Define mkostemps64 as an alias.
18082         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18083         Conditionalize body on this.
18084         * misc/mkostemp64.c: Likewise.
18085         * misc/mkostemps64.c: Likewise.
18086         * misc/mkstemps64.c: Likewise.
18087         * sysdeps/wordsize-64/mkstemp64.c: File removed.
18088         * sysdeps/wordsize-64/mkostemp64.c: File removed.
18089         * sysdeps/wordsize-64/mkostemp.c: File removed.
18090         * sysdeps/wordsize-64/mkstemp.c: File removed.
18091         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18092         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18093         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18094         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18095
18096         [BZ #14138]
18097         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18098         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18099         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18100         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18101
18102         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18103         compat_symbol macros from <shlib-compat.h> rather than the underlying
18104         default_symbol_version and symbol_version macros, so that DEFAULT
18105         lines in shlib-versions are respected.
18106         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18107
18108 2012-08-01  Florian Weimer  <fweimer@redhat.com>
18109
18110         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18111         Declare with warn_unused_result.
18112         (setgid, setregid, setegid, setresgid): Likewise.
18113         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18114         Likewise.
18115         * WUR-REPORT: Remove set*id functions.
18116
18117 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
18118
18119         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18120
18121 2012-07-31  Roland McGrath  <roland@hack.frob.com>
18122
18123         [BZ #10191]
18124         * include/sys/socket.h (__libc_accept, __libc_accept4):
18125         Add attribute_hidden.
18126         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18127
18128         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18129         use of PTR_MANGLE.
18130         * inet/getnetgrent_r.c (setup): Likewise.
18131
18132         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18133
18134 2012-07-31  David S. Miller  <davem@davemloft.net>
18135
18136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18137
18138 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
18139
18140         [BZ #13629]
18141         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18142         value between 1.0 and 2.0 and smaller part has absolute value less
18143         than 1.0.
18144         * math/s_clog10.c (__clog10): Likewise.
18145         * math/s_clog10f.c (__clog10f): Likewise.
18146         * math/s_clog10l.c (__clog10l): Likewise.
18147         * math/s_clogf.c (__clogf): Likewise.
18148         * math/s_clogl.c (__clogl): Likewise.
18149         * math/libm-test.inc (clog_test): Add more tests.
18150         (clog10_test): Likewise.
18151         * sysdeps/i386/fpu/libm-test-ulps: Update.
18152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18153
18154 2012-07-31  Florian Weimer  <fweimer@redhat.com>
18155
18156         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18157         Exit with zero in case no suitable GID is found, and write a
18158         message to standard error.
18159
18160 2012-07-30  Roland McGrath  <roland@hack.frob.com>
18161
18162         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18163         rather than to 1.
18164         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18165         (MAXPATHLEN): Removed.
18166         (NOGROUP, NODEV): New macros.
18167         (setbit, clrbit, isset, isclr): New macros.
18168         (howmany, roundup, powerof2): New macros.
18169         (DEV_BSIZE): New macro.
18170
18171         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18172         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18173
18174         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18175         definition on [!__NO_LONG_DOUBLE_MATH].
18176
18177         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18178         PTR_MANGLE and PTR_DEMANGLE.
18179
18180         * socket/accept4.c (accept4): Rename to __libc_accept4.
18181         Define accept4 as a weak alias.
18182
18183         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18184         on [_DIRENT_HAVE_D_TYPE].
18185         * io/ftw.c (ftw_dir): Likewise.
18186
18187         * io/xmknod.c (__xmknod): Don't check PATH for being null.
18188
18189         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18190
18191         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18192         Use the BSD numbers rather than the arbitrary ones we had.
18193         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18194         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18195         (SIGXCPU, SIGXFSZ): New macros.
18196         (_NSIG): Now 32.
18197
18198         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18199         initializer on [_LIBC_REENTRANT].
18200
18201         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18202         definitions inside [_POSIX_MAPPED_FILES].
18203
18204         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18205
18206         * dirent/opendir.c: Include <fcntl.h>.
18207
18208         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18209         (__libc_getspecific): Likewise.
18210         (__libc_key_create): Likewise.
18211
18212         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18213         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18214         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18215         (tmpfile64): Define as alias.
18216         * sysdeps/wordsize-64/tmpfile.c: File removed.
18217         * sysdeps/wordsize-64/tmpfile64.c: File removed.
18218         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18219         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18220
18221         * stdio-common/vfscanf.c: Include <stdbool.h>.
18222         * nss/makedb.c: Likewise.
18223         * stdio-common/_i18n_number.h: Likewise.
18224         * argp/argp-help.c: Likewise.
18225         * posix/wordexp.c: Likewise.
18226         * sysdeps/posix/spawni.c: Likewise.
18227         * nss/nss_files/files-initgroups.c: Likewise.
18228         * stdio-common/reg-modifier.c: Include <stdlib.h>.
18229         * nss/nss_files/files-initgroups.c: Likewise.
18230         * nss/nss_db/db-netgrp.c: Likewise.
18231         * nss/nss_db/db-initgroups.c: Likewise.
18232         * io/fchmodat.c: Include <sys/stat.h>.
18233
18234         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18235         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18236
18237         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18238         [HAVE_MMAP].
18239
18240         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18241         Add multiple inclusion protection.
18242
18243 2012-07-27  David S. Miller  <davem@davemloft.net>
18244
18245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18246
18247 2012-07-27  Gary Benson  <gbenson@redhat.com>
18248
18249         [BZ #14298]
18250         * elf/rtld.c: Include <stap-probe.h>.
18251         (dl_main): Added static probes "init_start" and "init_complete".
18252         * elf/dl-load.c: Include <stap-probe.h>.
18253         (lose): Take new parameter "nsid".
18254         Added static probe "map_failed".
18255         (_dl_map_object_from_fd): Pass namespace id to lose.
18256         Added static probe "map_start".
18257         (open_verify): Pass namespace id to lose.
18258         * elf/dl-open.c: Include <stap-probe.h>.
18259         (dl_open_worker) Added static probes "map_complete", "reloc_start"
18260         and "reloc_complete".
18261         * elf/dl-close.c: Include <stap-probe.h>.
18262         (_dl_close_worker): Added static probes "unmap_start" and
18263         "unmap_complete".
18264         * elf/rtld-debugger-interface.txt: New file documenting the above.
18265
18266 2012-07-26  Roland McGrath  <roland@hack.frob.com>
18267
18268         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18269         rather than a string variable.
18270         * sunrpc/rpc_main.c (h_output): Likewise.
18271         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18272
18273 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
18274
18275         * inet/check_native.c: New file.
18276
18277 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
18278
18279         [BZ #13629]
18280         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18281         if larger part has absolute value 1.0.
18282         * math/s_clog10.c (__clog10): Likewise.
18283         * math/s_clog10f.c (__clog10f): Likewise.
18284         * math/s_clog10l.c (__clog10l): Likewise.
18285         * math/s_clogf.c (__clogf): Likewise.
18286         * math/s_clogl.c (__clogl): Likewise.
18287         * math/libm-test.inc (clog_test): Add more tests.
18288         (clog10_test): Likewise.
18289         * sysdeps/i386/fpu/libm-test-ulps: Update.
18290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18291
18292         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18293         (pltexit): Likewise.
18294         (La_regs): Likewise.
18295         (La_retval): Likewise.
18296         (int_retval): Likewise.
18297         Update #error for removed macros to refer only to definitions in
18298         tst-audit.h.
18299         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18300         macro.
18301         (pltexit): Likewise.
18302         (La_regs): Likewise.
18303         (La_retval): Likewise.
18304         (int_retval): Likewise.
18305         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18306         macro.
18307         (pltexit): Likewise.
18308         (La_regs): Likewise.
18309         (La_retval): Likewise.
18310         (int_retval): Likewise.
18311         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18312         macro.
18313         (pltexit): Likewise.
18314         (La_regs): Likewise.
18315         (La_retval): Likewise.
18316         (int_retval): Likewise.
18317         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18318         macro.
18319         (pltexit): Likewise.
18320         (La_regs): Likewise.
18321         (La_retval): Likewise.
18322         (int_retval): Likewise.
18323         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18324         macro.
18325         (pltexit): Likewise.
18326         (La_regs): Likewise.
18327         (La_retval): Likewise.
18328         (int_retval): Likewise.
18329         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18330         macro.
18331         (pltexit): Likewise.
18332         (La_regs): Likewise.
18333         (La_retval): Likewise.
18334         (int_retval): Likewise.
18335         * sysdeps/generic/tst-audit.h: Update comment to refer only to
18336         macro definitions in tst-audit.h.
18337         * sysdeps/i386/tst-audit.h: New file.
18338         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18339         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18340         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18341         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18342         * sysdeps/sh/tst-audit.h: Likewise.
18343         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18344         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18345         * sysdeps/x86_64/tst-audit.h: Likewise.
18346
18347 2012-07-26  Andreas Jaeger  <aj@suse.de>
18348
18349         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18350         ptrace.
18351
18352         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18353         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18354         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18355         PTRACE_O_MASK.
18356         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18357         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18358         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18359
18360         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18361         value.
18362
18363         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18364         _sigsys.
18365         (si_call_addr, si_syscall, si_arch): Define new macro.
18366         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18367         _sigsys.
18368         (si_call_addr, si_syscall, si_arch): Define new marcro.
18369         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18370         _sigsys.
18371         (si_call_addr, si_syscall, si_arch): Define new macro.
18372         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18373         _sigsys.
18374         (si_call_addr, si_syscall, si_arch): Define new macro.
18375
18376 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18377
18378         [BZ #13717]
18379         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18380         Change to 2.4.21 where previously 2.4.1.
18381         * sysdeps/unix/sysv/linux/configure: Regenerated.
18382         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18383         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18384         Linux kernel version.
18385         (__ASSUME_STD_AUXV): Remove.
18386         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18387         kernel version.
18388         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18389         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18390         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18391         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18392         (__ASSUME_NETLINK_SUPPORT): Likewise.
18393         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18394         (__no_netlink_support): Remove conditional definition.
18395         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18396         Remove.
18397         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18398         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18399         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18400         (if_nameindex_ioctl): Remove.
18401         (if_nameindex_netlink): Do not handle __no_netlink_support.
18402         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18403         code.
18404         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18405         Remove conditional code.
18406         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18407         code.
18408         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18409         unconditional.
18410         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18411         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18412         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18413         Remove.
18414         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18415         [!__ASSUME_STD_AUXV]: Remove conditional code.
18416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18417         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18418         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18420         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18421         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18422         code.
18423         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18425         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18426         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18427         conditional code.
18428         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18430         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18431         code.
18432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18433         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18434         conditional code.
18435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18436         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18437         code unconditional.
18438         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18439         conditional code.
18440         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18441         unconditional.
18442         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18443         conditional code.
18444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18445         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18446         unconditional.
18447         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18448         conditional code.
18449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18450         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18451         code unconditional.
18452         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18453         conditional code.
18454         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18455         unconditional.
18456         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18457         conditional code.
18458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18459         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18460         code unconditional.
18461         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18462         conditional code.
18463         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18464         unconditional.
18465         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18466         conditional code.
18467
18468 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
18469
18470         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18471         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18472         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18473         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18474         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18475         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18476         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18477         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18478         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18479         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18480         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18481         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18482         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18483         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18484         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18485         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18486         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18487         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18488         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18489         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18490         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18491         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18492         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18493
18494 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18495
18496         * Versions.def: Add GLIBC_2.17.
18497         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18498         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18499         Introduce __libc_secure_getenv.
18500         * stdlib/Versions (2.17): Add secure_getenv
18501         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18502         * stdlib/secure-getenv.c: Rename __secure_getenv to
18503         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18504         symbol __secure_getenv for GLIBC_2.0.
18505         * stdlib/tst-secure-getenv.c: New.
18506         * stdlib/Makefile (tests): Add testcase.
18507         * manual/startup.texi (Environment Access): Document
18508         secure_getenv.
18509         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18510         __libc_secure_getenv.
18511         * inet/ruserpass.c (ruserpass): Likewise.
18512         * malloc/mtrace.c (mtrace): Likewise.
18513         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18514         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18515         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18516         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18517         HAVE_SECURE_GETENV.
18518         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18519         __secure_getenv to __libc_secure_getenv.
18520         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18522         Likewise.
18523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18524         Likewise.
18525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18527         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18532
18533 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18534
18535         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18536         (struct La_i86_retval): Likewise.
18537         (struct La_x86_64_regs): Likewise.
18538         (struct La_x86_64_retval): Likewise.
18539         (struct La_x32_regs): Likewise.
18540         (struct La_x32_retval): Likewise.
18541         (struct La_ppc32_regs): Likewise.
18542         (struct La_ppc32_retval): Likewise.
18543         (struct La_ppc64_regs): Likewise.
18544         (struct La_ppc64_retval): Likewise.
18545         (struct La_sh_regs): Likewise.
18546         (struct La_sh_retval): Likewise.
18547         (struct La_s390_32_regs): Likewise.
18548         (struct La_s390_32_retval): Likewise.
18549         (struct La_s390_64_regs): Likewise.
18550         (struct La_s390_64_retval): Likewise.
18551         (struct La_sparc32_regs): Likewise.
18552         (struct La_sparc32_retval): Likewise.
18553         (struct La_sparc64_regs): Likewise.
18554         (struct La_sparc64_retval): Likewise.
18555         (struct audit_ifaces): Remove architecture-specific pltenter and
18556         pltexit members.
18557         * sysdeps/i386/ldsodefs.h: New file.
18558         * sysdeps/powerpc/ldsodefs.h: Likewise.
18559         * sysdeps/s390/ldsodefs.h: Likewise.
18560         * sysdeps/sh/ldsodefs.h: Likewise.
18561         * sysdeps/sparc/ldsodefs.h: Likewise.
18562         * sysdeps/x86_64/ldsodefs.h: Likewise.
18563
18564 2012-07-25  Marek Polacek  <polacek@redhat.com>
18565
18566         [BZ #6808]
18567         * math/libm-test.inc (yn_test): Add another test.
18568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18569         to ERANGE when the result is +-Inf.
18570         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18571         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18572         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18573         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18574
18575 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18576
18577         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18578         equal to 0.
18579         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18580         clock_t.
18581         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18582
18583 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18584
18585         * configure.in <sysdeps resolving>: Correct printing
18586         Implies_before.
18587         * configure: Regenerate.
18588
18589 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18590
18591         * math/w_ilogb.c: Include <limits.h>.
18592         * math/w_ilogbl.c: Likewise.
18593
18594 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18595
18596         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18597         va_copy.  Document allowing for unavailable va_copy only as
18598         pre-C99 compatibility.
18599         * manual/string.texi (Copying and Concatenation): Use va_copy
18600         instead of __va_copy in concat example.
18601
18602 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18603
18604         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18605         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18606         it if not null.
18607
18608         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18609         with O_NOLINK passed to __file_name_lookup.
18610
18611         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18612         with O_NOLINK passed to __file_name_lookup.
18613
18614         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18615         negative N or less than NGIDS.
18616
18617         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18618         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18619         enough.  Use memcpy instead of strncpy.
18620
18621 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18622
18623         * elf/Makefile (check-data): Remove.
18624         (localplt.data): New vpath directive.
18625         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18626         instead of $(check-data).
18627         * scripts/data/localplt-generic.data: Move to ...
18628         * sysdeps/generic/localplt.data: ... here.
18629         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18630         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18631         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18633         ... here.
18634         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18636         ... here.
18637         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18639         ... here.
18640         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18642         ... here.
18643         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18645         ... here.
18646         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18648         ... here.
18649
18650 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18651
18652         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18653         PPC32 and PPC64 files.
18654         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18655         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18656
18657 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18658
18659         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18660         __makecontext_ret to ...
18661         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18662         ... here and call exit if uc_link is NULL.  New file.
18663         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18664         __makecontext_ret.S.
18665         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18666         __makecontext_ret to ...
18667         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18668         ... here and call exit if uc_link is NULL.  New file.
18669         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18670         __makecontext_ret.S.
18671
18672 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18673
18674         * elf/elf.h (R_390_IRELATIVE): New definition.
18675         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18676         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18677         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18678         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18679         (elf_machine_lazy_rel): Likewise.
18680         * sysdeps/s390/dl-irel.h: New file.
18681         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18682         * sysdeps/s390/s390-64/memset.S: New asm code.
18683         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18684         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18685         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18686         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18687         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18688         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18689         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18690         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18691         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18692         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18693         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18694         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18695         * sysdeps/s390/s390-32/memset.S: New asm code.
18696         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18697
18698 2012-07-17  Marek Polacek  <polacek@redhat.com>
18699
18700         [BZ #14349]
18701         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18702         * sysdeps/s390/s390-64/configure.in: Likewise.
18703         * sysdeps/sparc/configure.in: Likewise.
18704         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18705         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18706         * sysdeps/i386/configure.in: Likewise.
18707         * sysdeps/x86_64/configure.in: Likewise.
18708         * sysdeps/sh/configure.in: Likewise.
18709         * sysdeps/s390/s390-32/configure: Regenerated.
18710         * sysdeps/s390/s390-64/configure: Likewise.
18711         * sysdeps/x86_64/configure: Likewise.
18712         * sysdeps/sh/configure: Likewise.
18713         * sysdeps/powerpc/powerpc64/configure: Likewise.
18714         * sysdeps/powerpc/powerpc32/configure: Likewise.
18715         * sysdeps/sparc/configure: Likwise.
18716         * sysdeps/i386/configure: Likewise.
18717
18718         * elf/dl-open.c: Comment fixes.
18719
18720 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18721
18722         * Makefile [CXX] (check-data): Remove.
18723         [CXX] (c++-types.data): New vpath directive.
18724         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18725         vpath.  Do not allow for C++ type data being missing.
18726         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18727         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18728         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18729         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18730         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18731         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18732         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18734         ... here.
18735         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18737         ... here.
18738         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18740         ... here.
18741         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18743         ... here.
18744         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18746         ... here.
18747         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18749         ... here.
18750         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18752         ... here.
18753         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18755
18756         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18757         definitions to architecture-specific files.
18758         (TLS_IE): Likewise.
18759         (TLS_LD): Likewise.
18760         (TLS_GD): Likewise.
18761         * sysdeps/i386/tls-macros.h: New file.
18762         * sysdeps/powerpc/tls-macros.h: Likewise.
18763         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18764         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18765         * sysdeps/sh/tls-macros.h: Likewise.
18766         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18767         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18768         * sysdeps/x86_64/tls-macros.h: Likewise.
18769
18770 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18771
18772         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18773         zero value for regular exit case.
18774
18775         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18776         (__start_context): Preserve zero value for regular exit case.
18777
18778 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18779             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18780
18781         * manual/setjmp.texi (setcontext): Clarify normal process
18782         termination when uc_link is the null pointer.
18783         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18784         exit call.
18785
18786 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18787
18788         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18789         preprocessor.  Test for each exception mask separately.
18790
18791 2012-07-16  Andreas Jaeger  <aj@suse.de>
18792
18793         * po/ru.po: Update from translation team.
18794
18795 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18796
18797         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18798         equal to 0.
18799         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18800         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18801         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18802         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18804
18805 2012-07-13  Andreas Jaeger  <aj@suse.de>
18806
18807         * po/fr.po: Update from translation team.
18808
18809 2012-07-12  Marek Polacek  <polacek@redhat.com>
18810
18811         [BZ #14173]
18812         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18813         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18814         loop condition.
18815
18816 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18817
18818         [BZ #13717]
18819         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18820         Change to 2.4.1 where previously 2.4.0.
18821         * sysdeps/unix/sysv/linux/configure: Regenerated.
18822         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18823         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18824         version.
18825         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18826         (__ASSUME_AT_CLKTCK): Remove.
18827         (__ASSUME_AT_PAGESIZE): Likewise.
18828         (__ASSUME_AT_XID): Likewise.
18829         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18830         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18831         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18832         unconditionally.
18833         (HAVE_AUX_PAGESIZE): Likewise.
18834         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18835         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18836         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18837
18838 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18839
18840         [BZ #14307]
18841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18842         the temporary buffer used to invoke __gethostbyname2_r,
18843         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18844         host_data / struct gaih_addrtuple.
18845         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18846         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18847         header file nss/nsswitch.h.
18848         * nss/nsswitch.h (global scope): Add definition of implementation
18849         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18850         resolv/nss_dns/dns-host.c).
18851
18852 2012-07-11  Andreas Jaeger  <aj@suse.de>
18853
18854         * po/fr.po: Update from translation team.
18855
18856         * po/sv.po: Update from translation team
18857         * po/fr.po: Another update from translation team.
18858
18859 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18860
18861         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18862         for subnormals or multiply small sinh result by itself.
18863         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18865
18866 2012-07-11  David S. Miller  <davem@davemloft.net>
18867
18868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18869
18870 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18871
18872         [BZ #14347]
18873         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18874         (INTERNAL_MARK): Shift it here.
18875
18876 2012-07-10  Marek Polacek  <polacek@redhat.com>
18877
18878         [BZ #14151]
18879         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18880         libc_cv_asm_global_directive with .globl.
18881         * configure: Regenerated.
18882         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18883         with .globl.
18884         * sysdeps/i386/configure: Regenerated.
18885         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18886         with .globl.
18887         * sysdeps/x86_64/configure: Regenerated.
18888         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18889         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18890         * elf/tst-unique2mod2.c: Likewise.
18891         * elf/tst-unique2mod1.c: Likewise.
18892         * elf/tst-unique1mod2.c: Likewise.
18893         * elf/tst-unique1mod1.c: Likewise.
18894         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18895         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18896         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18897         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18898         * sysdeps/mach/sysdep.h: Likewise.
18899         * sysdeps/i386/sysdep.h: Likewise.
18900         * sysdeps/i386/i386-mcount.S: Likewise.
18901         * sysdeps/x86_64/_mcount.S: Likewise.
18902         * sysdeps/x86_64/sysdep.h: Likewise.
18903         * sysdeps/sh/_mcount.S: Likewise.
18904         * sysdeps/sh/sysdep.h: Likewise.
18905         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18906         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18907         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18908         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18909         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18910         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18911         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18912         * locale/localeinfo.h: Likewise.
18913         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18914         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18915
18916 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18917
18918         [BZ #14336]
18919         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18920         system".
18921         * manual/message.texi (The Uniforum approach): Likewise.
18922         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18923         (glibc iconv Implementation): Likewise.
18924
18925 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18926
18927         [BZ #14337]
18928         * math/s_clog.c (__clog): Avoid scaling a value down where that
18929         could result in underflow.
18930         * math/s_clog10.c (__clog10): Likewise.
18931         * math/s_clog10f.c (__clog10f): Likewise.
18932         * math/s_clog10l.c (__clog10l): Likewise.
18933         * math/s_clogf.c (__clogf): Likewise.
18934         * math/s_clogl.c (__clogl): Likewise.
18935         * math/libm-test.inc (clog_test): Add more tests.
18936         (clog10_test): Likewise.
18937         * sysdeps/i386/fpu/libm-test-ulps: Update.
18938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18939
18940 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18941
18942         [BZ #14283]
18943         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18944         by 7 not 8 to examine high bit of fractional part.
18945
18946         [BZ #14042]
18947         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18948         for call to __mcount_internal.
18949         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18950         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18951         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18952
18953 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18954
18955         [BZ #14154]
18956         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18957         approximation for values within 0x1p-13f of an odd multiple of
18958         pi/4.
18959         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18960         exception.  Add more tests.
18961         * sysdeps/i386/fpu/libm-test-ulps: Update.
18962
18963         [BZ #6778]
18964         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18965         inputs and return -1 for them.  Do not check for +Inf in case not
18966         reachable for +Inf.
18967         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18968         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18969         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18970         and return -1 for them.  Do not check for +Inf in case not
18971         reachable for +Inf.
18972         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18973         define.
18974         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18975         and return -1 for them.  Do not check for +Inf in case not
18976         reachable for +Inf.
18977         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18978         spurious underflow.
18979         * sysdeps/i386/fpu/libm-test-ulps: Update.
18980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18981
18982 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18983
18984         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18985
18986 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18987
18988         [BZ #14157]
18989         [BZ #14331]
18990         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18991         could result in spurious underflow.  Scale down values above
18992         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18993         * math/s_csqrtf.c (__csqrtf): Likewise.
18994         * math/s_csqrtl.c (__csqrtl): Likewise.
18995         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18996         spurious underflow.
18997         * sysdeps/i386/fpu/libm-test-ulps: Update.
18998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18999
19000 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19001
19002         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19003         xopen-msg.sed.
19004         * catgets/xopen-msg.awk: New file.
19005         * catgets/xopen-msg.sed: Removed.
19006
19007         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19008         po2text.sed.
19009         * intl/po2test.awk: New file.
19010         * intl/po2test.sed: Removed.
19011
19012 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
19013
19014         [BZ #14328]
19015         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19016         or multiply small sinh result by itself.
19017         * math/s_ctanf.c (__ctanf): Likewise.
19018         * math/s_ctanh.c (__ctanh): Likewise.
19019         * math/s_ctanhf.c (__ctanhf): Likewise.
19020         * math/s_ctanhl.c (__ctanhl): Likewise.
19021         * math/s_ctanl.c (__ctanl): Likewise.
19022         * math/libm-test.inc (ctan_test_tonearest): New function.
19023         (ctan_test_towardzero): Likewise.
19024         (ctan_test_downward): Likewise.
19025         (ctan_test_upward): Likewise.
19026         (ctanh_test_tonearest): Likewise.
19027         (ctanh_test_towardzero): Likewise.
19028         (ctanh_test_downward): Likewise.
19029         (ctanh_test_upward): Likewise.
19030         (main): Call these new functions.
19031         * sysdeps/i386/fpu/libm-test-ulps: Update.
19032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19033
19034 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
19035
19036         * .gitignore: Delete /ports entry.
19037
19038 2012-07-03  Andreas Jaeger  <aj@suse.de>
19039
19040         * po/bg.po: Update from translation team.
19041         * po/cs.po: Likewise.
19042         * po/de.po: Likewise.
19043         * po/hr.po: Likewise.
19044         * po/nl.pl: Likewise.
19045         * po/pl.po: Likewise.
19046         * po/vi.po: Likewise.
19047
19048 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
19049
19050         * Makeconfig [!+link] (+link-before-libc): New variable.
19051         [!+link] (+link-after-libc): Likewise.
19052         [!+link] (+link-tests): Likewise.
19053         [!+link] (+link): Define in terms of $(+link-before-libc) and
19054         $(+link-after-libc).
19055         [!+link-static] (+link-static-before-libc): New variable.
19056         [!+link-static] (+link-static-after-libc): Likewise.
19057         [!+link-static] (+link-static-tests): Likewise.
19058         [!+link-static] (+link-static): Define in terms of
19059         $(+link-static-before-libc) and $(+link-static-after-libc).
19060         [build-shared] (link-libc-before-gnulib): New variable.
19061         [build-shared] (link-libc-tests): Likewise.
19062         [build-shared] (link-libc): Define in terms of
19063         $(link-libc-before-gnulib).
19064         [!build-shared] (link-libc-tests): New variable.
19065         (link-libc-static-tests): New variable.
19066         [!gnulib] (gnulib-arch): New variable.
19067         [!gnulib] (gnulib-tests): Likewise.
19068         [!gnulib] (static-gnulib-arch): Likewise.
19069         [!gnulib] (static-gnulib-tests): Likewise.
19070         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
19071         Define with "=" instead of ":=".
19072         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
19073         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
19074         * Rules (binaries-all-notests): New variable.
19075         (binaries-all-tests): Likewise.
19076         (binaries-static-notests): Likewise.
19077         (binaries-static-tests): Likewise.
19078         (binaries-all): Define using $(binaries-all-notests) and
19079         $(binaries-all-tests).
19080         (binaries-static): Define using $(binaries-static-notests) and
19081         $(binaries-static-tests).
19082         (binaries-shared-tests): New variable.
19083         (binaries-shared-notests): Likewise.
19084         (binaries-shared): Remove variable.
19085         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19086         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19087         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19088         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19089         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19090         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19091         * elf/Makefile (sln-modules): New variable.
19092         (extra-objs): Add $(sln-modules:=.o).
19093         (ldconfig-modules): Add static-stubs.
19094         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19095         * elf/static-stubs.c: New file.
19096
19097         [BZ #14283]
19098         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19099         by 7 not 8 to examine high bit of fractional part.  Use volatile
19100         variables when splitting into final array of floats if
19101         __FLT_EVAL_METHOD__ != 0.
19102         * math/libm-test.inc (cos_test): Add another test.
19103         (sin_test): Likewise.
19104         * sysdeps/i386/fpu/libm-test-ulps: Update.
19105
19106         [BZ #14273]
19107         * math/libm-test.inc (cosh_test): Add more tests.
19108
19109         * version.h (RELEASE): Set to "development".
19110         (VERSION): Set to "2.16.90".
19111
19112 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
19113
19114         * NEWS: Update copyright. Remove last-updated date.
19115         Mention math library bug fixes and timezone data changes.
19116         * README: Mention GNU/Hurd, x32, and HPPA support status.
19117
19118 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
19119
19120         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19121
19122 2012-06-27  Andreas Jaeger  <aj@suse.de>
19123
19124         * manual/contrib.texi (Contributors): Add Samuel Thibault.
19125
19126 2012-06-25  Andreas Jaeger  <aj@suse.de>
19127
19128         * sysdeps/s390/fpu/libm-test-ulps: Update.
19129
19130 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
19131             Thomas Schwinge  <thomas@codesourcery.com>
19132
19133         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19134         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19136         fanotify_mark.
19137
19138 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
19139
19140         * sysdeps/mach/start.c: Remove file.
19141         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19142         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19143         * sysdeps/sh/init-first.c: Likewise.
19144
19145         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19146         registers for frame unwinding purposes, add CFI directives.
19147         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19148         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19149         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19150         Likewise.
19151
19152         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19153         __fortify_fail returning.
19154         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19155
19156         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19157         sysdeps/sh/____longjmp_chk.S.
19158         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19159         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19160         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19161         (gen-as-const-headers): Append sigaltstack-offsets.sym.
19162
19163         * sysdeps/sh/abort-instr.h: New file.
19164         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19165         process in case exit returns.
19166
19167         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19168         initialize the GOT register before use.
19169
19170         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19171         calculation of ARGC > 4.
19172
19173         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19174         meaningful names to some local labels.
19175
19176 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19177             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19178
19179         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19180         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19181         (__arch_compare_and_exchange_val_16_acq): Likewise.
19182         (__arch_compare_and_exchange_val_32_acq): Likewise.
19183         (atomic_exchange_and_add): Fix gUSA sequence.
19184         (atomic_add): Likewise.
19185         (atomic_add_negative): Likewise.
19186         (atomic_add_zero): Likewise.
19187         (atomic_bit_test_set): Likewise.
19188
19189 2012-06-22  Andreas Schwab  <schwab@redhat.com>
19190
19191         [BZ #13579]
19192         * include/link.h (struct link_map): Add l_free_initfini.
19193         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19194         l_initfini.
19195         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19196         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19197         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19198         set.
19199
19200 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
19201
19202         * configure.in: Use AC_LANG_SOURCE.
19203         * configure: Regenerate.
19204
19205 2012-06-22  Roland McGrath  <roland@hack.frob.com>
19206
19207         * configure.in (libc_cv_localstatedir): New substituted variable.
19208         * configure: Regenerated.
19209         * config.make.in (localstatedir): New variable, substituted from
19210         libc_cv_localstatedir.
19211         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19212         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19213         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19214         * sysdeps/gnu/configure: Regenerated.
19215
19216 2012-06-21  Jeff Law  <law@redhat.com>
19217
19218         [BZ #14277]
19219         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19220         free.  Simplify list management for _LIBC case.
19221
19222 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
19223
19224         [BZ #14273]
19225         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19226         Clear sign bit of 64-bit integer value before comparing against
19227         overflow value.
19228
19229         * sysdeps/mach/configure: Regenerated.
19230
19231 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
19232
19233         [BZ #14278]
19234         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19235
19236 2012-06-21  Jeff Law  <law@redhat.com>
19237
19238         [BZ #13882]
19239         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
19240         uint16_t for elements in the "seen" array to avoid char overflows.
19241         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19242         * elf/dl-open.c (dl_open_worker): Likewise.
19243
19244 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
19245
19246         * scripts/list-sources.sh: Scan PORTS for translations.
19247         * po/libc.pot: Regenerated.
19248
19249 2012-06-21  Andreas Jaeger  <aj@suse.de>
19250
19251         [BZ #12194]
19252         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19253         warning.
19254         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19255         * bits/byteswap-16.h (__bswap_16): Likewise.
19256         * bits/byteswap.h (__bswap_constant_16): Likewise.
19257
19258 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
19259
19260         [BZ #14117]
19261         * sysdeps/i386/fpu_control.h: Removed.
19262         * sysdeps/x86_64/fpu_control.h: Moved to ...
19263         * sysdeps/x86/fpu_control.h: Here.
19264
19265         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19266         (_FPU_SETCW): Likewise.
19267
19268 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
19269
19270         [BZ #14117]
19271         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19272         * sysdeps/x86/fpu/bits/mathinline.h: This.
19273         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19274
19275         [BZ #14050]
19276         [BZ #14117]
19277         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19278         functions if __x86_64__ is defined.
19279
19280 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
19281
19282         * string/endian.h: Add !__ASSEMBLER__ condition for including
19283         conversion interfaces.
19284
19285 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
19286
19287         [BZ #14241]
19288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19289         of ABS(x) in calculating zero to negative powers other than odd
19290         integers.
19291         * math/libm-test.inc (pow_test): Add more tests.
19292
19293 2012-06-15  Andreas Jaeger  <aj@suse.de>
19294
19295         * manual/contrib.texi (Contributors): Update entry of Liubov
19296         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19297         Machado Filho.
19298
19299 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
19300
19301         * string/string.h: Add __wur to GNU version of strerror_r.
19302
19303 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
19304
19305         [BZ #14229]
19306         * string/Makefile (tests): Add tst-strtok_r.
19307         * string/tst-strtok_r.c: New file.
19308         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19309         RAX_LP/RDX_LP on SAVE_PTR.
19310
19311 2012-06-14  Roland McGrath  <roland@hack.frob.com>
19312
19313         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19314
19315 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
19316
19317         * libm_test.inc (csqrt_test): Allow more spurious underflow
19318         exceptions.
19319         (j0_test): Likewise.
19320         (j1_test): Likewise.
19321         (y0_test): Likewise.
19322         (y1_test): Likewise.
19323
19324 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
19325
19326         * po/Makefile (libc.pot): Use UTF-8 charset.
19327
19328 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
19329
19330         [BZ #14210]
19331         Suppress sign-conversion warning from FD_SET.
19332         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19333         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19334         not unsigned long int.
19335         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19336
19337 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
19338
19339         [BZ #14050]
19340         [BZ #14117]
19341         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19342         __extern_always_inline instead of __extern_inline.
19343         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19344         (__signbit): Likewise.
19345         (__signbitl): Support C++ namespace.
19346         (lrintf): New inline function.
19347         (lrint): Likewise.
19348         (llrintf): Likewise.
19349         (llrint): Likewise.
19350         (fmaxf): Likewise.
19351         (fmax): Likewise.
19352         (fminf): Likewise.
19353         (fmin): Likewise.
19354         (rint): Likewise.
19355         (rintf): Likewise.
19356         (ceil): Likewise.
19357         (ceilf): Likewise.
19358         (floor): Likewise.
19359         (floorf): Likewise.
19360         (nearbyint): Likewise.
19361         (nearbyintf): Likewise.
19362
19363 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
19364
19365         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19366         non-default versions.
19367
19368 2012-06-11  Roland McGrath  <roland@hack.frob.com>
19369
19370         [BZ #14218]
19371         * manual/argp.texi (Argp): Reword argp_parse description slightly.
19372
19373 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
19374
19375         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19376         (FE_UPWARD, FE_DOWNWARD): Don't define.
19377         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19378         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19379
19380         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19381         reading it.
19382         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19383         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19384
19385 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19386
19387         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19388         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19389         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19390         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19391
19392 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19393
19394         [BZ #14117]
19395         * sysdeps/i386/fpu/bits/fenv.h: Removed.
19396         * sysdeps/i386/fpu/Implies: New file.
19397         * sysdeps/x86_64/fpu/Implies: Likewise.
19398         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19399         * sysdeps/x86/fpu/bits/fenv.h: This.
19400
19401         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19402         __SSE_MATH__.
19403
19404 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19405
19406         [BZ #14134]
19407         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19408         character 0xffff that matches the last element of the
19409         conversion table.
19410
19411 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19412
19413         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19414         fmodl commit.
19415
19416 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19417
19418         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19419         values higher than 25.6283.
19420
19421 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19422
19423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19424         subnormal exponent extraction and add some __builtin_expect.
19425         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19426         Fix for subnormal mantissa calculation.
19427
19428 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
19429
19430         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19431         cpu2 is -1 and errno is not ENOSYS.
19432
19433 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
19434
19435         [BZ #14117]
19436         * sysdeps/i386/i486/bits/string.h: Renamed to ...
19437         * sysdeps/x86/bits/string.h: This.
19438         * sysdeps/x86_64/bits/string.h: Removed.
19439
19440         * sysdeps/i386/i486/bits/string.h: Define inline functions only
19441         if not compiling for x86-64, but compiling for >= i486.
19442
19443         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19444         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19445
19446         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19447         New macro from Linux kernel 3.4.0.
19448         (FP_XSTATE_MAGIC2): Likewise.
19449         (FP_XSTATE_MAGIC2_SIZE): Likewise.
19450         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19451         (struct _fpx_sw_bytes): New struct.
19452         (struct _xsave_hdr): Likewise.
19453         (struct _ymmh_state): Likewise.
19454         (struct _xstate): Likewise.
19455
19456         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19457         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19458         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19459         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19460         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19461         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19462
19463         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19464         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19465         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19466         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19467         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19468         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19469
19470 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19471
19472         [BZ #13743]
19473         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19474         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19475         (sysdep_headers): Include sys/platform/ppc.h.
19476         * sysdeps/powerpc/test-gettimebase.c: Test for
19477         __ppc_get_timebase() to catch future ISA opcode/insn changes.
19478         * manual/Makefile (appendices): Include platform.texi.
19479         * manual/contrib.texi (Contributors): Update @node pointers.
19480         * manual/maint.texi (Maintenance): Likewise.
19481         (Platform): New node.
19482         * manual/platform.texi: New file.  Document the new features.
19483
19484 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19485             Jakub Jelinek  <jakub@redhat.com>
19486
19487         [BZ #14188]
19488         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19489         where __builtin_expect is unavailable.
19490
19491 2012-06-03  David S. Miller  <davem@davemloft.net>
19492
19493         * stdlib/longlong.h: Updated from GCC.
19494
19495 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19496
19497         [BZ #14042]
19498         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19499         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19500         __mcount_internal.
19501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19502         (GLIBC_2.16): Likewise.
19503
19504 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19505
19506         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19507
19508 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19509
19510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19511         (default-abi): New variable.
19512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19513         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19514         variable.
19515         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19516         Likewise.
19517         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19518         Likewise.
19519         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19520         Likewise.
19521
19522         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19523         definition.  Document in comment.
19524
19525 2012-06-01  David S. Miller  <davem@davemloft.net>
19526
19527         * stdlib/longlong.h: Updated from GCC.
19528
19529 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19530
19531         [BZ #14117]
19532         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19533         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19534         sys/debugreg.h sys/io.h here.
19535         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19536         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19537         sys/io.h.
19538         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19539         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19540         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19541         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19542         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19543         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19544
19545         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19546         Define only if __x86_64__ is defined.
19547
19548 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19549
19550         [BZ #14048]
19551         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19552         Use int64_t for variable i.
19553         * math/libm-test.inc (fmod_test): Add more tests.
19554
19555         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19556         z computation is not scheduled after fetestexcept.
19557         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19558         Use math_force_eval instead of asm to ensure calculation scheduled
19559         before exception test.
19560         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19561         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19562
19563 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19564
19565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19566         computation is not scheduled after fetestexcept.
19567
19568 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19569
19570         [BZ #14117]
19571         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19572         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19573
19574 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19575
19576         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19577         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19578
19579 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19580
19581         [BZ #14117]
19582         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19583         <bits/wordsize.h>.
19584         (__WCHAR_MIN): Support __WORDSIZE == 64.
19585         (__WCHAR_MAX): Likewise.
19586
19587         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19588         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19589
19590         [BZ #14183]
19591         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19592         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19593
19594         [BZ #14117]
19595         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19596         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19597
19598         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19599         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19600
19601         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19602         Defined to 1 if __x86_64__ isn't defined.
19603         (_STAT_VER_LINUX_OLD): New.
19604         (st_atime): Remove duplicate.
19605         (st_mtime): Likewise.
19606         (st_ctime): Likewise.
19607
19608 2012-05-31  David S. Miller  <davem@davemloft.net>
19609
19610         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19611         entries.
19612
19613 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19614
19615         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19616         gen-libm-test.pl.
19617
19618         [BZ #14132]
19619         * elf/dl-reloc.c: Include <_itoa.h>.
19620         (_dl_reloc_bad_type): Remove use of INTUSE.
19621         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19622         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19623         * stdio-common/psiginfo.c (psiginfo): Likewise.
19624         * stdio-common/psignal.c (psignal): Likewise.
19625         * string/strsignal.c (strsignal): Likewise.
19626         * include/signal.h (_sys_siglist): Declare hidden proto.
19627         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19628         INTVARDEF with libc_hidden_data_def.
19629         * stdio-common/itoa-udigits.c: Likewise.
19630         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19631         (_itoa_lower_digits_internal): Remove declaration.
19632         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19633         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19634         (_sys_sigabbrev_internal): Remove aliases.
19635         (_sys_siglist): Define hidden alias.
19636
19637 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19638
19639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19640         bits/sysctl.h.
19641
19642 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19643
19644         [BZ #14117]
19645         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19646         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19647
19648         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19649         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19650         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19651         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19652         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19653         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19654
19655         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19656         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19657         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19658
19659         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19660         with __addr.
19661         (insw): Likewise.
19662         (insl): Likewise.
19663         (outsb): Likewise.
19664         (outsw): Likewise.
19665         (outsl): Likewise.
19666
19667         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19668         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19669         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19670
19671         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19672         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19673         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19674         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19675         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19676         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19677
19678         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19679         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19680
19681         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19682         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19683
19684         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19685         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19686         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19687
19688         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19689         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19690         to ...
19691         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19692
19693         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19694         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19695         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19696
19697         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19698         for x86-64.
19699         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19700
19701 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19702
19703         * math/math.h (M_El): Use two more decimal places.
19704         (M_LOG2El): Likewise.
19705         (M_LOG10El): Likewise.
19706         (M_LN2l): Likewise.
19707         (M_LN10l): Likewise.
19708         (M_PIl): Likewise.
19709         (M_PI_2l): Likewise.
19710         (M_PI_4l): Likewise.
19711         (M_1_PIl): Likewise.
19712         (M_2_PIl): Likewise.
19713         (M_2_SQRTPIl): Likewise.
19714         (M_SQRT2l): Likewise.
19715         (M_SQRT1_2l): Likewise.
19716
19717 2012-05-31  David S. Miller  <davem@davemloft.net>
19718
19719         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19720         values between float registers.
19721         * sysdeps/sparc/sparc64/memset.S: Likewise.
19722         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19723
19724 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19725
19726         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19727         -D_FORTIFY_SOURCE=1.
19728         (CPPFLAGS-tst-longjmp_chk.c): Define.
19729         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19730         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19731         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19732         CFLAGS-tst-wchar-h.c.
19733
19734 2012-05-31  Marek Polacek  <polacek@redhat.com>
19735
19736         [BZ #14132]
19737         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19738         __endmntent_internal): Remove declaration.
19739         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19740         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19741         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19742
19743 2012-05-30  David S. Miller  <davem@davemloft.net>
19744
19745         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19746         (___Q_simulate_exceptions): Use real FP ops rather than writing
19747         into the %fsr.
19748         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19749         Likewise.
19750
19751 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19752
19753         [BZ #14117]
19754         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19755         * sysdeps/x86/bits/xtitypes.h: This.
19756
19757         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19758         * sysdeps/x86/bits/wordsize.h: This.
19759
19760         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19761         * sysdeps/x86/bits/huge_vall.h: This.
19762
19763         * sysdeps/i386/bits/select.h: Removed.
19764         * sysdeps/x86_64/bits/select.h: Renamed to ...
19765         * sysdeps/x86/bits/select.h: This.
19766
19767         * sysdeps/i386/bits/setjmp.h: Removed.
19768         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19769         * sysdeps/x86/bits/setjmp.h: This.
19770
19771         * sysdeps/i386/bits/mathdef.h: Removed.
19772         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19773         * sysdeps/x86/bits/mathdef.h: This.
19774
19775 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19776
19777         [BZ #14132]
19778         * include/sys/socket.h (__connect_internal)
19779         (__libc_sa_len_internal): Remove declaration.
19780         (__connect, __libc_sa_len): Declare hidden_proto.
19781         (SA_LEN): Remove use of INTUSE.
19782         * socket/connect.c: Add libc_hidden_def.
19783         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19784         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19785         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19786         alias.
19787         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19788         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19789         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19790         of adding _internal alias.
19791
19792 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19793
19794         [BZ #14117]
19795         * sysdeps/i386/bits/link.h: Removed.
19796         * sysdeps/i386/bits/linkmap.h: Likewise.
19797         * sysdeps/x86_64/bits/link.h: Renamed to ...
19798         * sysdeps/x86/bits/link.h: This.
19799         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19800         * sysdeps/x86/bits/linkmap.h: This.
19801
19802         * sysdeps/i386/bits/endian.h: Removed.
19803         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19804         * sysdeps/x86/bits/endian.h: This.
19805
19806         * sysdeps/i386/bits/byteswap.h: Removed.
19807         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19808         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19809         * sysdeps/x86/bits/byteswap.h: This.
19810         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19811         * sysdeps/x86/bits/byteswap-16.h: This.
19812         * sysdeps/i386/Implies: Add x86.
19813         * sysdeps/x86_64/Implies: Likewise.
19814
19815 2012-05-30  David S. Miller  <davem@davemloft.net>
19816
19817         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19818         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19819         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19820         (FP_TRAPPING_EXCEPTIONS): Define.
19821         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19822         (FP_TRAPPING_EXCEPTIONS): Define.
19823         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19824         subnormals only when inexact has been signalled or underflow
19825         exceptions are enabled.
19826         (_FP_PACK_CANONICAL): Likewise.
19827
19828 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19829
19830         [BZ #14183]
19831         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19832         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19833
19834 2012-05-30  Richard Henderson  <rth@twiddle.net>
19835
19836         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19837         with #ifndef NOT_IN_libc.
19838
19839         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19840         marked to avoid plt entry.
19841
19842 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19843
19844         [BZ #14112]
19845         * Makeconfig (default-abi): New macro.
19846         (abi-includes): Likewise.
19847         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19848         $(abi-$(default-abi)-lib-soname) for soname if defined.
19849         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19850         abi-variants.
19851         * Makefile (installed-stubs): Likewise.
19852         * include/stubs-biarch.h: Removed.
19853         * scripts/lib-names.awk: Only handle one library at a time.
19854         * scripts/soversions.awk: Remove WORDSIZE support.
19855         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19856         entries.
19857         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19858         Removed.
19859         (syscall-list-default-condition): Likewise.
19860         (syscall-list-default-condition): Likewise.
19861         (syscall-list-includes): Likewise.
19862         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19863         syscall-list-* with abi-*.  Handle undefined abi-variants.
19864         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19865         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19866         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19867         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19868         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19869         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19870         Removed.
19871         (syscall-list-32-options): Likewise.
19872         (syscall-list-32-condition): Likewise.
19873         (syscall-list-64-options): Likewise.
19874         (syscall-list-64-condition): Likewise.
19875         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19876         macro.
19877         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19878         Renamed to ...
19879         (abi-*): This.
19880         (abi-64-ld-soname): New macro.
19881         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19882         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19883         Renamed to ...
19884         (abi-*): This.
19885         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19886         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19887
19888 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19889
19890         * sysdeps/unix/sysv/linux/kernel-features.h
19891         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19892         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19893         include <kernel-features.h>.
19894         [!__NR_ftruncate64]: Remove conditional code.
19895         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19896         [__NR_ftruncate64]: Make code unconditional.
19897         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19898         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19899         include <kernel-features.h>.
19900         [!__NR_ftruncate64]: Remove conditional code.
19901         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19902         [__NR_ftruncate64]: Make code unconditional.
19903         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19905         include <kernel-features.h>.
19906         [!__NR_ftruncate64]: Remove conditional code.
19907         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19908         [__NR_ftruncate64]: Make code unconditional.
19909         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19911         include <kernel-features.h>.
19912         [!__NR_ftruncate64]: Remove conditional code.
19913         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19914         [__NR_ftruncate64]: Make code unconditional.
19915         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19916
19917         * configure.in (libc_cv_fpie): Weaken to a compile test using
19918         LIBC_TRY_CC_OPTION.
19919         * configure: Regenerated.
19920
19921 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19922
19923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19927         Refreshed.
19928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19934         Refreshed.
19935
19936 2012-05-27  David S. Miller  <davem@davemloft.net>
19937
19938         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19939         (___Q_zero): New.
19940         (__Q_simulate_exceptions): Return void.  Change to simulate
19941         exceptions by writing into the %fsr.
19942         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19943         (__Qp_handle_exceptions): Likewise.
19944         (numbers): Delete.
19945         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19946         __Qp_handle_exceptions.
19947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19948         __Qp_handle_exceptions.
19949         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19950         as unused and give dummy FP_RND_NEAREST initializer.
19951         (FP_INHIBIT_RESULTS): Define.
19952         (___Q_simulate_exceptions): Update declaration.
19953         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19954         formatting.
19955         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19956         as unused and give dummy FP_RND_NEAREST initializer.
19957         (__Qp_handle_exceptions): Update declaration.
19958         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19959         formatting.
19960
19961 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19962
19963         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19964         the temporary FPU control word.
19965         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19966         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19967         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19968         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19969         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19970         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19971         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19972         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19973         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19974         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19975         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19976
19977 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19978
19979         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19980         fields.
19981
19982 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19983
19984         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19985         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19986         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19987         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19988         Likewise.
19989         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19990         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19991         Likewise.
19992
19993 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19994
19995         * po/h.po: Update from translation team.
19996
19997 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19998
19999         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20000
20001         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20002         handling of denormals.
20003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20004         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20005         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20006         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20007         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20009         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20010         Likewise.
20011
20012 2012-05-26  Marek Polacek  <polacek@redhat.com>
20013
20014         [BZ #14152]
20015         * math/libm-test.inc (fma_test): Don't always expect underflow
20016         exception.
20017
20018 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20019
20020         [BZ #12416]
20021         * elf/tst-execstack.c: Include stackinfo.h.
20022         (do_test): Adjust test case to ensure that pthread_getattr_np
20023         behaviour remains the same after marking stack executable.
20024
20025 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
20026
20027         * sysdeps/unix/sysv/linux/kernel-features.h
20028         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20029         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20030         kernel-features.h.
20031         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20032         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20033         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20034         kernel-features.h.
20035         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20036         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20037
20038 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
20039
20040         * configure.in: Define the default includes to being none.
20041         * configure: Regenerated.
20042
20043 2012-05-25  Roland McGrath  <roland@hack.frob.com>
20044
20045         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20046         * sysdeps/x86_64/setjmp.S: Likewise.
20047         * sysdeps/i386/bsd-setjmp.S: Likewise.
20048         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20049         * sysdeps/i386/setjmp.S: Likewise.
20050         * sysdeps/i386/__longjmp.S: Likewise.
20051         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20052         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20053
20054         * include/stap-probe.h: New file.
20055         * configure.in: Handle --enable-systemtap.
20056         * configure: Regenerated.
20057         * config.h.in (USE_STAP_PROBE): New #undef.
20058         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20059         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20060         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20061
20062 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
20063
20064         [BZ #13717]
20065         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20066         to 2.4.0 where earlier.
20067         * sysdeps/unix/sysv/linux/configure: Regenerated.
20068         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20069         <kernel-features.h>.
20070         [__ASSUME_32BITUIDS]: Make code unconditional.
20071         [!__ASSUME_32BITUIDS]: Remove conditional code.
20072         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20073         <kernel-features.h>.
20074         [__ASSUME_32BITUIDS]: Make code unconditional.
20075         [!__ASSUME_32BITUIDS]: Remove conditional code.
20076         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20077         [__ASSUME_32BITUIDS]: Make code unconditional.
20078         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20079         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
20112         <kernel-features.h>.
20113         [__ASSUME_32BITUIDS]: Make code unconditional.
20114         [!__ASSUME_32BITUIDS]: Remove conditional code.
20115         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20116         <kernel-features.h>.
20117         [__ASSUME_32BITUIDS]: Make code unconditional.
20118         [!__ASSUME_32BITUIDS]: Remove conditional code.
20119         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20120         <kernel-features.h>.
20121         [__NR_setresgid] (__setresgid): Do not declare.
20122         [__ASSUME_32BITUIDS]: Make code unconditional.
20123         [!__ASSUME_32BITUIDS]: Remove conditional code.
20124         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20125         <kernel-features.h>.
20126         [__NR_setresuid] (__setresuid): Do not declare.
20127         [__ASSUME_32BITUIDS]: Make code unconditional.
20128         [!__ASSUME_32BITUIDS]: Remove conditional code.
20129         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
20162         <kernel-features.h>.
20163         [__ASSUME_32BITUIDS]: Make code unconditional.
20164         [!__ASSUME_32BITUIDS]: Remove conditional code.
20165         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20166         <kernel-features.h>.
20167         [__ASSUME_32BITUIDS]: Make code unconditional.
20168         [!__ASSUME_32BITUIDS]: Remove conditional code.
20169         * sysdeps/unix/sysv/linux/kernel-features.h
20170         (__ASSUME_SETRESUID_SYSCALL): Remove.
20171         (__ASSUME_SETRESGID_SYSCALL): Likewise.
20172         (__ASSUME_32BITUIDS): Likewise.
20173         (__ASSUME_LDT_WORKS): Likewise.
20174         (__ASSUME_O_DIRECTORY): Likewise.
20175         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20176         architecture but not kernel version.
20177         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20178         (__ASSUME_MMAP2_SYSCALL): Likewise.
20179         (__ASSUME_STAT64_SYSCALL): Likewise.
20180         (__ASSUME_IPC64): Likewise.
20181         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20182         <kernel-features.h>.
20183         [__ASSUME_32BITUIDS]: Make code unconditional.
20184         [!__ASSUME_32BITUIDS]: Remove conditional code.
20185         * sysdeps/unix/sysv/linux/opendir.c: Do not include
20186         <kernel-features.h>.
20187         [__ASSUME_O_DIRECTORY]: Make code unconditional.
20188         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20189         132096]: Remove conditional code.
20190         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20191         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20192         <kernel-features.h>.
20193         [__ASSUME_32BITUIDS]: Make code unconditional.
20194         [!__ASSUME_32BITUIDS]: Remove conditional code.
20195         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20196         <kernel-features.h>.
20197         [__ASSUME_32BITUIDS]: Make code unconditional.
20198         [!__ASSUME_32BITUIDS]: Remove conditional code.
20199         * sysdeps/unix/sysv/linux/setegid.c: Do not include
20200         <kernel-features.h>.
20201         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20202         unconditional.
20203         (__setresgid): Do not declare.
20204         [__ASSUME_32BITUIDS]: Make code unconditional.
20205         [!__ASSUME_32BITUIDS]: Remove conditional code.
20206         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20207         <kernel-features.h>.
20208         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20209         unconditional.
20210         (__setresuid): Do not declare.
20211         [__ASSUME_32BITUIDS]: Make code unconditional.
20212         [!__ASSUME_32BITUIDS]: Remove conditional code.
20213         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20214         <kernel-features.h>.
20215         [__ASSUME_32BITUIDS]: Make code unconditional.
20216         [!__ASSUME_32BITUIDS]: Remove conditional code.
20217         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20218         <kernel-features.h>.
20219         [__ASSUME_32BITUIDS]: Make code unconditional.
20220         [!__ASSUME_32BITUIDS]: Remove conditional code.
20221
20222 2012-05-25  Richard Henderson  <rth@twiddle.net>
20223
20224         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20225         dl_hwcap to ifunc resolver.
20226         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20227         elf_ifunc_invoke.
20228         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20229         dl_hwcap to ifunc resolver.
20230         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20231
20232 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20233
20234         [BZ #14153]
20235         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20236         for |x| <= 2**-26, not 2**-57.
20237         * math/libm-test.inc (acos_test): Do not allow spurious underflow
20238         exception.
20239
20240 2012-05-24  Jeff Law  <law@redhat.com>
20241
20242         * stdio-common/Makefile (tests): Add bug25.
20243         * stdio-common/bug25.c: New test.
20244
20245 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20246
20247         [BZ #13576]
20248         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20249         multiple of MALLOC_ALIGNMENT in size.
20250         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20251
20252 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20253
20254         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20255         Require >= 256.
20256         (FILENAME_MAX): Use macro-int-constant.
20257         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
20258         (_IOFBF): Use macro-int-constant.
20259         (_IOLBF): Likewise.
20260         (_IONBF): Likewise.
20261         (SEEK_CUR): Likewise.
20262         (SEEK_END): Likewise.
20263         (SEEK_SET): Likewise.
20264         (TMP_MAX): Likewise.
20265         (EOF): Use macro-int-constant.  Require < 0.
20266         (NULL): Use macro-constant.  Require == 0.
20267         (stdin): Require type to be FILE *.
20268         (stdout): Likewise.
20269         (stderr): Likewise.
20270         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20271         macro-int-constant.
20272         (EXIT_SUCCESS): Likewise.
20273         (NULL): Use macro-constant.  Require == 0.
20274         (RAND_MAX): Use macro-int-constant.
20275         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20276         [C99-based standards] (strtof): Require function.
20277         [C99-based standards] (strtold): Likewise.
20278         [C99-based standards] (strtoll): Likewise.
20279         [C99-based standards] (strtoull): Likewise.
20280         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20281         [ISO || ISO99 || ISO11] (limits.h): Likewise.
20282         [ISO || ISO99 || ISO11] (math.h): Likewise.
20283         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20284         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20285         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20286
20287 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
20288
20289         [BZ #14132]
20290         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20291         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20292         * intl/dgettext.c (DCGETTEXT): Likewise.
20293         * intl/gettext.c (DCGETTEXT): Likewise.
20294         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20295         * posix/regex_internal.h (gettext): Likewise.
20296         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20297         Remove declaration.
20298         * include/argz.h (__argz_count_internal)
20299         (__argz_stringify_internal): Remove declaration.
20300         (__argz_count, __argz_stringify): Declare hidden proto.
20301         * intl/dcgettext.c: Remove use of INTDEF.
20302         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20303         * string/argz-stringify.c: Likewise.
20304         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20305         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20306         Declare hidden proto.
20307         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20308         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20309         Declare hidden proto.
20310         * include/stdio.h (__asprintf_internal): Don't declare.
20311         (__asprintf): Don't define as macro.  Declare hidden proto.
20312         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20313         (__fsetlocking): Declare hidden proto.
20314         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20315         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20316         hidden proto.
20317         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20318         (_IO_setlinebuf): Remove use of INTUSE.
20319         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20320         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20321         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20322         Remove declaration.
20323         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20324         (_IO_do_flush): Remove use of INTUSE.
20325         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20326         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20327         (_IO_adjust_column, _IO_least_wmarker)
20328         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20329         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20330         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20331         (_IO_default_doallocate, _IO_wdefault_doallocate)
20332         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20333         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20334         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20335         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20336         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20337         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20338         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20339         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20340         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20341         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20342         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20343         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20344         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20345         proto.
20346         (_IO_flush_all_internal, _IO_adjust_column_internal)
20347         (_IO_default_uflow_internal, _IO_default_finish_internal)
20348         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20349         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20350         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20351         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20352         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20353         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20354         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20355         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20356         (_IO_file_close_internal, _IO_file_close_it_internal)
20357         (_IO_file_underflow_internal, _IO_file_overflow_internal)
20358         (_IO_file_init_internal, _IO_file_attach_internal)
20359         (_IO_file_fopen_internal, _IO_file_read_internal)
20360         (_IO_file_sync_internal, _IO_file_seek_internal)
20361         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20362         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20363         (_IO_str_underflow_internal, _IO_str_overflow_internal)
20364         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20365         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20366         (_IO_list_all_internal, _IO_link_in_internal)
20367         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20368         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20369         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20370         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20371         (_IO_do_write_internal, _IO_padn_internal)
20372         (_IO_getline_info_internal, _IO_getline_internal)
20373         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20374         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20375         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20376         (_IO_vfscanf_internal, _IO_vfprintf_internal)
20377         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20378         (_IO_init_internal, _IO_un_link_internal): Don't declare.
20379         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20380         with libc_hidden_ver, remove use of INTUSE.
20381         * libio/genops.c: Likewise.
20382         * libio/freopen.c: Likewise.
20383         * libio/freopen64.c: Likewise.
20384         * libio/iofclose.c: Likewise.
20385         * libio/iofdopen.c: Likewise.
20386         * libio/iofflush.c: Likewise.
20387         * libio/iofflush_u.c: Likewise.
20388         * libio/iofgets.c: Likewise.
20389         * libio/iofgets_u.c: Likewise.
20390         * libio/iofopen.c: Likewise.
20391         * libio/iofopncook.c: Likewise.
20392         * libio/iofread.c: Likewise.
20393         * libio/iofread_u.c: Likewise.
20394         * libio/ioftell.c: Likewise.
20395         * libio/iofwrite.c: Likewise.
20396         * libio/iogetline.c: Likewise.
20397         * libio/iogets.c: Likewise.
20398         * libio/iogetwline.c: Likewise.
20399         * libio/iopadn.c: Likewise.
20400         * libio/iopopen.c: Likewise.
20401         * libio/ioseekoff.c: Likewise.
20402         * libio/ioseekpos.c: Likewise.
20403         * libio/iosetbuffer.c: Likewise.
20404         * libio/iosetvbuf.c: Likewise.
20405         * libio/ioungetc.c: Likewise.
20406         * libio/ioungetwc.c: Likewise.
20407         * libio/iovdprintf.c: Likewise.
20408         * libio/iovsprintf.c: Likewise.
20409         * libio/iovsscanf.c: Likewise.
20410         * libio/memstream.c: Likewise.
20411         * libio/obprintf.c: Likewise.
20412         * libio/oldfileops.c: Likewise.
20413         * libio/oldiofclose.c: Likewise.
20414         * libio/oldiofdopen.c: Likewise.
20415         * libio/oldiofopen.c: Likewise.
20416         * libio/oldiopopen.c: Likewise.
20417         * libio/oldstdfiles.c: Likewise.
20418         * libio/putc.c: Likewise.
20419         * libio/setbuf.c: Likewise.
20420         * libio/setlinebuf.c: Likewise.
20421         * libio/stdfiles.c: Likewise.
20422         * libio/strops.c: Likewise.
20423         * libio/vasprintf.c: Likewise.
20424         * libio/vscanf.c: Likewise.
20425         * libio/vsnprintf.c: Likewise.
20426         * libio/vswprintf.c: Likewise.
20427         * libio/wfiledoalloc.c: Likewise.
20428         * libio/wfileops.c: Likewise.
20429         * libio/wgenops.c: Likewise.
20430         * libio/wmemstream.c: Likewise.
20431         * libio/wstrops.c: Likewise.
20432         * libio/__fpurge.c: Likewise.
20433         * libio/__fsetlocking.c: Likewise.
20434         * assert/assert.c: Likewise.
20435         * debug/fgets_chk.c: Likewise.
20436         * debug/fgets_u_chk.c: Likewise.
20437         * debug/fread_chk.c: Likewise.
20438         * debug/fread_u_chk.c: Likewise.
20439         * debug/gets_chk.c: Likewise.
20440         * debug/obprintf_chk.c: Likewise.
20441         * debug/vasprintf_chk.c: Likewise.
20442         * debug/vdprintf_chk.c: Likewise.
20443         * debug/vsnprintf_chk.c: Likewise.
20444         * debug/vsprintf_chk.c: Likewise.
20445         * malloc/mtrace.c: Likewise.
20446         * misc/error.c: Likewise.
20447         * misc/syslog.c: Likewise.
20448         * stdio-common/asprintf.c: Likewise.
20449         * stdio-common/fxprintf.c: Likewise.
20450         * stdio-common/getw.c: Likewise.
20451         * stdio-common/isoc99_fscanf.c: Likewise.
20452         * stdio-common/isoc99_scanf.c: Likewise.
20453         * stdio-common/isoc99_vfscanf.c: Likewise.
20454         * stdio-common/isoc99_vscanf.c: Likewise.
20455         * stdio-common/isoc99_vsscanf.c: Likewise.
20456         * stdio-common/printf-prs.c: Likewise.
20457         * stdio-common/printf_fp.c: Likewise.
20458         * stdio-common/printf_fphex.c: Likewise.
20459         * stdio-common/printf_size.c: Likewise.
20460         * stdio-common/putw.c: Likewise.
20461         * stdio-common/scanf.c: Likewise.
20462         * stdio-common/sprintf.c: Likewise.
20463         * stdio-common/tmpfile.c: Likewise.
20464         * stdio-common/vfprintf.c: Likewise.
20465         * stdio-common/vfscanf.c: Likewise.
20466         * stdlib/strfmon_l.c: Likewise.
20467         * sunrpc/openchild.c: Likewise.
20468         * sunrpc/xdr_stdio.c: Likewise.
20469         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20470         * sysdeps/mach/hurd/tmpfile.c: Likewise.
20471
20472 2012-05-24  Roland McGrath  <roland@hack.frob.com>
20473
20474         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20475
20476         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20477         in the third column, to generate for the shared library an IFUNC
20478         that uses _dl_vdso_vsym.
20479         * Makerules (COMPILE.c, compile-stdin.c): New variables.
20480         * Makeconfig (object-suffixes-noshared): New variable.
20481
20482         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20483         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20484         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20485         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20486
20487         [BZ #14132]
20488         * include/sys/time.h (__gettimeofday): Remove macro.
20489         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20490         * time/gettimeofday.c (__gettimeofday): Remove #undef.
20491         Remove INTDEF.
20492         (__gettimeofday): Add libc_hidden_def.
20493         (gettimeofday): Add libc_hidden_weak.
20494         * sysdeps/mach/gettimeofday.c: Likewise.
20495         * sysdeps/posix/gettimeofday.c: Likewise.
20496         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20497         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20498         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20499         (__gettimeofday_internal): Remove strong_alias.
20500         (__gettimeofday): Add libc_hidden_def.
20501         (gettimeofday): Add libc_hidden_weak.
20502         * sysdeps/unix/syscalls.list (gettimeofday):
20503         Remove __gettimeofday_internal alias.
20504
20505 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20506             H.J. Lu  <hongjiu.lu@intel.com>
20507
20508         [BZ #12495]
20509         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20510         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20511         (largebin_index_32_big): New.
20512         (largebin_index): Use it for 16-byte alignment.
20513         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20514         correction with front_misalign.
20515
20516 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20517
20518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20520         Likewise.
20521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20522         Likewise.
20523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20524         Likewise.
20525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20526         Likewise.
20527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20528         Likewise.
20529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20530         Likewise.
20531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20532         Likewise.
20533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20534         Likewise.
20535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20536         Likewise.
20537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20538         Likewise.
20539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20540         Likewise.
20541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20542         Likewise.
20543
20544         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20545         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20546
20547 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20548
20549         [BZ #10846]
20550         [BZ #14036]
20551         * math/libm-test.inc (exp_test): Add test from bug 14036.
20552         (pow_test): Add test from bug 10846.
20553
20554         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20555         and other flags.
20556         (special_function): Do not include flags in test name.
20557         (parse_args): Likewise.
20558         * sysdeps/i386/fpu/libm-test-ulps: Update.
20559         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20560         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20561         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20563
20564         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20565         exceptions.
20566         * math/libm-test.inc ("Philosophy"): Update comment about
20567         exception testing.
20568         (UNDERFLOW_EXCEPTION): New macro.
20569         (UNDERFLOW_EXCEPTION_OK): Likewise.
20570         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20571         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20572         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20573         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20574         (INVALID_EXCEPTION_OK): Update value.
20575         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20576         (OVERFLOW_EXCEPTION_OK): Likewise.
20577         (IGNORE_ZERO_INF_SIGN): Likewise.
20578         (test_exceptions): Handle underflow exceptions.
20579         (acos_test): Update for underflow exception expectations.
20580         (cexp_test): Likewise.
20581         (clog_test): Likewise.
20582         (clog10_test): Likewise.
20583         (csqrt_test): Likewise.
20584         (ctan_test): Likewise.
20585         (ctanh_test): Likewise.
20586         (exp_test): Likewise.
20587         (exp10_test): Likewise.
20588         (exp2_test): Likewise.
20589         (expm1_test): Likewise.
20590         (fma_test): Likewise.
20591         (j0_test): Likewise.
20592         (jn_test): Likewise.
20593         (nexttoward_test): Likewise.
20594         (pow_test): Likewise.
20595         (scalbn_test): Likewise.
20596         (scalbln_test): Likewise.
20597         (tan_test): Likewise.
20598         (y1_test): Likewise.
20599         * sysdeps/i386/fpu/libm-test-ulps: Update.
20600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20601
20602 2012-05-23  David S. Miller  <davem@davemloft.net>
20603
20604         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20605         (__libc_sigaction): Remove unused local variables.
20606
20607 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20608
20609         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20610
20611 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20612
20613         mktime: avoid signed integer overflow
20614         * time/mktime.c (__mktime_internal): Do not mishandle the case
20615         where diff == INT_MIN.
20616
20617         mktime: simplify computation of average
20618         * time/mktime.c (ranged_convert): Use new time_t_avg function
20619         instead of rolling our own (probably-slower) code.
20620
20621         mktime: do not assume signed right shift propagates sign bit
20622         * time/mktime.c (isdst_differ): New static function.
20623         (__mktime_internal): No need to normalize tm_isdst now.
20624         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20625         tm_isdst values.
20626
20627         mktime: merge another wrapv change from gnulib
20628         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20629         from some compilers.
20630
20631         mktime: remove incorrect attempt at unusual arithmetics
20632         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20633         The code didn't really work on such machines anyway.
20634         (TYPE_MINIMUM): Assume two's complement.
20635         (twos_complement_arithmetic): Verify that long_int and time_t
20636         are two's complement (or unsigned, in the latter case).
20637
20638         mktime: check signed shifts on long_int and time_t, too
20639         * time/mktime.c (SHR): Check that shifts work as desired
20640         on the types long_int and time_t too, as SHR is used on
20641         such types.
20642
20643         mktime: do not assume 'long' is wide enough
20644         * time/mktime.c (verify): Move decl up.
20645         (long_int): New type.
20646         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20647         to remove assumption in the code that 'long' is wide enough to
20648         store year values.  This assumption is not true on x32 and on
20649         some non-glibc platforms.
20650
20651         mktime: merge wrapv change from gnulib
20652         * time/mktime.c (WRAPV): New macro.
20653         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20654         (guess_time_tm, __mktime_internal): Do not assume that signed
20655         integer overflow wraps around; modern compilers generate code
20656         where this assumption is no longer valid.
20657
20658 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20659
20660         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20661         Replace "jmp L(pseudo_end)" with "ret".
20662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20663         Likewise.
20664
20665 2012-05-23  Andreas Jaeger  <aj@suse.de>
20666
20667         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20668         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20669
20670 2012-05-23  Andreas Jaeger  <aj@suse.de>
20671             Maximilian Attems  <max@stro.at>
20672
20673         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20674         New macros.
20675
20676 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20677
20678         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20679         code so that pseudo_end is just ret and the stack pointer is
20680         correct also for static library in error case.
20681
20682 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20683
20684         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20685         move to syscalls.list.
20686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20690
20691         * manual/install.texi (Running make install): Do not mention Linux
20692         kernel version for which pt_chown is not needed.
20693         (Linux): Do not mention problems with nscd with 2.0 kernels.
20694         * INSTALL: Regenerated.
20695
20696 2012-05-23  Andreas Jaeger  <aj@suse.de>
20697
20698         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20699         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20700         macro.
20701         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20702         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20703         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20704         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20705         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20706         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20707         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20708         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20709         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20710         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20711         * sysdeps/unix/sysv/linux/bits/in.h
20712         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20713
20714 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20715
20716         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20717         (PREPARE_VERSION): Just use assert instead, it will be elided
20718         under [NDEBUG] anyway.
20719
20720 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20721
20722         * sysdeps/unix/sysv/linux/Makefile: Include
20723         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20724         (sysdep_routines): Remove sysctl.
20725         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20726         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20727         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20728         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20729         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20730
20731 2012-05-22  Andreas Jaeger  <aj@suse.de>
20732
20733         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20734         that pseudo_end is just ret and the stack pointer is correct also
20735         for static library in error case.
20736
20737 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20738
20739         [BZ #14122]
20740         * nss/nsswitch.c (defconfig_entries): New variable.
20741         (__nss_database_lookup): Don't leak defconfig entries.
20742         (nss_parse_service_list): Don't leak on error paths.
20743         (free_database_entries): New function.
20744         (free_defconfig): New function.
20745         (free_mem): Move common code to free_database_entries.
20746
20747 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20748
20749         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20750         Add arch_prctl.
20751         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20752
20753         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20754         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20756         New macro.
20757         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20758         (INTERNAL_SYSCALL_TYPES): Likewise.
20759         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20760         (LOAD_REGS_TYPES_[1-6]): Likewise.
20761         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20762         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20763
20764 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20765
20766         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20767         copysignl for GLIBC_2_0.
20768         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20769         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20770         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20771         logbl for GLIBC_2_0.
20772         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20773         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20774
20775 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20776
20777         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20778         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20779
20780         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20781         Use "neg %eax".
20782
20783         * time/mktime.c: Update copyright years.
20784
20785 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20786
20787         mktime: merge comment-quoting-style change from gnulib
20788         * time/mktime.c: Quote 'like this' in comments.
20789         The GNU coding standards suggest that we no longer quote `like this',
20790         as "`" and "'" are typically rendered asymmetrically nowadays.
20791         The typical gnulib style is to quote 'like this' when quoting
20792         code, and "like this" when quoting English.
20793
20794         * time/mktime.c (compile-command): Add "-I.".
20795
20796         mktime: merge mktime-internal.h change from gnulib
20797         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20798
20799         mktime: merge time_r change from gnulib
20800         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20801
20802         mktime: merge DEBUG change from gnulib
20803         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20804         case system <time.h> has a #define.
20805
20806         mktime: merge <sys/types.h> change from gnulib
20807         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20808         since <time.t> is now guaranteed to define time_t.
20809
20810         mktime: merge HAVE_CONFIG_H change from gnulib
20811         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20812
20813 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20814
20815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20816         Use "neg %eax".
20817
20818         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20819         __rlim_t cast.
20820         (struct rusage): Use anonymous union to pad each field to
20821         __syscall_slong_t.
20822
20823 2012-05-21  David S. Miller  <davem@davemloft.net>
20824
20825         * Makefules (o-iterator): Remove .s cases.
20826         (compile-command.s): Delete.
20827         (COMPILE.s): Delete.
20828         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20829
20830 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20831
20832         * configure.in (libc_cv_predef_stack_protector): Only consider
20833         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20834         * configure: Regenerated.
20835
20836 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20837
20838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20839         New macro.  Use R*LP on int and pointer.
20840         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20841         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20842         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20843         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20844
20845         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20846         [__WORDSIZE_TIME64_COMPAT32] instead of
20847         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20848         (struct utmp): Likewise.
20849         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20850         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20851         Renamed to ...
20852         (__WORDSIZE_TIME64_COMPAT32): This.
20853         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20854         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20855         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20856         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20857         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20858         (__WORDSIZE_TIME64_COMPAT32): New macro.
20859
20860 2012-05-21  Andreas Jaeger  <aj@suse.de>
20861
20862         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20863         only if [SHARED]. Add prototype for __wcschr_ia32.
20864
20865 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20866
20867         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20868         of %rbp unmolested in the jmp_buf while mangling the low bits.
20869         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20870         unmolested high bits of %rbp while demangling the low bits.
20871         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20872
20873 2012-05-21  Andreas Jaeger  <aj@suse.de>
20874
20875         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20876         * sunrpc/svc_simple.c: Use it for registerrpc.
20877         * sunrpc/xcrypt.c: Use it for passwd2des.
20878
20879         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20880
20881 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20882
20883         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20884         Don't define if [__SYSCALL_WORDSIZE != 32].
20885         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20886         New macro.
20887
20888 2012-05-21  Bruno Haible  <bruno@clisp.org>
20889             Andreas Jaeger  <aj@suse.de>
20890
20891         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20892         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20893         inptr and inend for must_buffer_ch.
20894         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20895         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20896         * stdio-common/Makefile (tests): Remove bug15.
20897         (bug15-ENV): Remove macro.
20898         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20899         anymore.
20900
20901 2012-05-19  Andreas Jaeger  <aj@suse.de>
20902             Roland McGrath  <roland@hack.frob.com>
20903
20904         * manual/contrib.texi: Completely rewritten. It contains now an
20905         alphabetical list of contributors and their contributions.
20906
20907 2012-05-21  Richard Henderson  <rth@twiddle.net>
20908
20909         * misc/getauxval.c (__getauxval): Use unsigned long int.
20910         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20911         (getauxval): Use unsigned long int.
20912
20913 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20914
20915         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20916
20917 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20918
20919         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20920         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20921         __alignof__ (long double).
20922
20923 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20924
20925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20926
20927 2012-05-20  Richard Henderson  <rth@twiddle.net>
20928
20929         * misc/getauxval.c: New file.
20930         * misc/sys/auxv.h: New file.
20931         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20932         (routines): Add getauxval.
20933         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20934         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20935         * elf/dl-sysdep.c (_dl_auxv): Remove.
20936         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20937         * elf/dl-support.c (_dl_auxv): New variable.
20938         (_dl_aux_init): Initialize it.
20939         * manual/startup.texi (Auxiliary Vector): New node.
20940         * sysdeps/generic/bits/hwcap.h: New file.
20941         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20942         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20943         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20944         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20945         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20946         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20948         Update.
20949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20952         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20957
20958 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20959
20960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20961
20962 2012-05-19  David S. Miller  <davem@davemloft.net>
20963
20964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20965
20966 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20967
20968         [BZ #14123]
20969         * math/s_ccosh.c: Include <float.h>
20970         (__ccosh): Avoid internal overflow calculating sinh and cosh
20971         values before multiplying by sin and cos values.
20972         * math/s_ccoshf.c: Likewise.
20973         * math/s_ccoshl.c: Likewise.
20974         * math/s_csin.c: Likewise.
20975         * math/s_csinf.c: Likewise.
20976         * math/s_csinl.c: Likewise.
20977         * math/s_csinh.c: Likewise.
20978         * math/s_csinhf.c: Likewise.
20979         * math/s_csinhl.c: Likewise.
20980         * math/libm-test.inc (ccos_test): Add more tests.
20981         (ccosh_test): Likewise.
20982         (csin_test): Likewise.
20983         (csinh_test): Likewise.
20984         * sysdeps/i386/fpu/libm-test-ulps: Update.
20985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20986
20987 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20988
20989         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20990         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20991
20992         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20993
20994 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20995
20996         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20997         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20998         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20999         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21000         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21001         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21002         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21003         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21004         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21005         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21006         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21007         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21008         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21009         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21010         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21011         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21012         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21013         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21014         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21015         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21016         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21017         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21018         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21019         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21020         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21021         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21022         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21023         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21024         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21025         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21026         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21027
21028 2012-05-18  Andreas Jaeger  <aj@suse.de>
21029
21030         * csu/.gitignore: Delete.
21031
21032 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21033
21034         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21035         (timex): Use __syscall_slong_t.
21036
21037 2012-05-18  Andreas Jaeger  <aj@suse.de>
21038             Carlos O'Donell  <carlos_odonell@mentor.com>
21039
21040         * manual/install.texi (Configuring and compiling): Update
21041         description about files modified in the source directory.
21042         * INSTALL: Regenerated.
21043
21044 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21045
21046         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21047         value.  Use "or" to set return value to -1.
21048         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21049         negate return value.
21050
21051 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21052
21053         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21054         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21055         failure if the compiler has Graphite support disabled.
21056         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21057         Likewise.
21058         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21059         CFLAGS-memmove.c): Likewise.
21060         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21061         Likewise.
21062
21063 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21064
21065         * sysdeps/x86_64/x32/_itoa.h: New file.
21066
21067         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21068         getdents system call only if kernel and user dirents have the
21069         same d_ino and d_off.
21070
21071         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21072         LLONG_MAX != LONG_MAX.
21073         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21074         (_fitoa_word): Likewise.
21075
21076         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21077         years.
21078         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21079         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21080         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21081
21082         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21083         include <bits/wordsize.h>.  Check __x86_64__ instead of
21084         __WORDSIZE.
21085         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21086         if __x86_64__ is defined.  Use anonymous union on fpstate.
21087
21088         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21089         anonymous union.
21090
21091 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
21092
21093         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21094         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21095         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21096         Refer to _rtld_local_ro instead of _rtld_global_ro.
21097         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21098         Likewise.
21099         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21100         Likewise.
21101         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21102         Likewise.
21103         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21104         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21105         of _rtld_global, and rtld_progname instead of _dl_argv[0].
21106
21107         * sysdeps/powerpc/powerpc32/dl-machine.c
21108         (__elf_machine_runtime_setup) [PROF]: Don't reference
21109         _dl_prof_resolve.
21110
21111 2012-05-18  Andreas Jaeger  <aj@suse.de>
21112
21113         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21114         function only available for GCCs before 3.4 since GCC 3.4
21115         introduced a builtin.
21116         (lrint): Likewise.
21117         (llrintf): Likewise.
21118         (llrint): Likewise.
21119         (fmaxf): Likewise.
21120         (fmax): Likewise.
21121         (fminf): Likewise.
21122         (fmin): Likewise.
21123         (rint): Likewise.
21124         (rintf): Likewise.
21125         (nearbyint): Likewise.
21126         (nearbyintf): Likewise.
21127         (ceil): Likewise.
21128         (ceilf): Likewise.
21129         (floor): Likewise.
21130         (floorf): Likewise.
21131
21132 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21133
21134         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21135         on both fields and cast pointer to __syscall_ulong_t.
21136
21137         * bits/types.h (__fsword_t): New type.
21138         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21139         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21141         (__FSWORD_T_TYPE): Likewise.
21142         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21143         (__FSWORD_T_TYPE): Likewise.
21144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21145         (__FSWORD_T_TYPE): Likewise.
21146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21147         (__FSWORD_T_TYPE): Likewise.
21148         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21149         __SWORD_TYPE with __fsword_t.
21150         (statfs64): Likewise.
21151
21152 2012-05-17  David S. Miller  <davem@davemloft.net>
21153
21154         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21155
21156 2012-05-17  Andreas Jaeger  <aj@suse.de>
21157
21158         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21159         warning.
21160
21161 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21162
21163         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21164
21165 2012-05-17  Andreas Jaeger  <aj@suse.de>
21166
21167         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21168         when it is used.
21169
21170 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21171
21172         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21173
21174 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21175
21176         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21177         * sysdeps/x86_64/tst-mallocalign1.c: New file.
21178
21179 2012-05-17  Andreas Jaeger  <aj@suse.de>
21180             Carlos O'Donell  <carlos_odonell@mentor.com>
21181
21182         [BZ #14059]
21183         * sysdeps/x86_64/multiarch/init-arch.h
21184         (bit_YMM_Usable): Rename to...
21185         (bit_AVX_Usable): ... this.
21186         (bit_FMA4_Usable): New macro.
21187         (bit_XMM_state): New macro.
21188         (bit_YMM_state): New macro.
21189         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21190         [__ASSEMBLER__] (index_AVX_Usable): ... this.
21191         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21192         (CPUID_OSXSAVE): New macro.
21193         (CPUID_AVX): New macro.
21194         (CPUID_FMA4): New macro.
21195         (index_YMM_Usable): Rename to...
21196         (index_AVX_Usable): ... this.
21197         (HAS_AVX): Use HAS_ARCH_FEATURE.
21198         (HAS_FMA4): Likewise.
21199         (HAS_YMM_USABLE): Remove.
21200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21201         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21202         are present.
21203         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21204         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21205         * sysdeps/x86_64/multiarch/Makefile: Likewise.
21206         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21207         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21208
21209 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21210
21211         * math/libm-test.c: Support platforms without multiple rounding modes.
21212         * math/bug-nextafter.c: Support platforms without FP exceptions.
21213         * math/bug-nexttoward.c: Likewise.
21214         * math/test-fenv.c: Likewise.
21215         * math/test-misc.c: Likewise.
21216         * stdlib/bug-getcontext.c: Likewise.
21217
21218 2012-05-17  Andreas Jaeger  <aj@suse.de>
21219
21220         * manual/examples/search.c (critter_cmp): Change signature to
21221         avoid warnings.
21222         * manual/string.texi (Collation Functions): Likewise.
21223
21224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21225
21226         * bits/types.h: Fold copyright years.
21227         * bits/typesizes.h: Likewise.
21228         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21229         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21231         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21232         * time/time.h: Likewise.
21233
21234 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
21235
21236         [BZ #208]
21237         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21238         in instead of returning them.  Return void.
21239         (__libc_mallinfo): Accumulate over all arenas.
21240         (__malloc_stats): Adjust for change in int_mallinfo interface.
21241
21242 2012-05-16  Roland McGrath  <roland@hack.frob.com>
21243
21244         [BZ #10375]
21245         * configure.in (NM): Add AC_CHECK_TOOL for it.
21246         (libc_extra_cflags): New substituted variable.
21247         Check for -fstack-protector being used implicitly.
21248         * configure: Regenerated.
21249         * config.make.in (config-extra-cflags): New variable,
21250         gets @libc_extra_cflags@.
21251         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21252
21253         [BZ #10375]
21254         * configure.in: Check for _FORTIFY_SOURCE being predefined.
21255         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21256         * configure: Regenerated.
21257         * config.make.in (CPPUNDEFS): New substituted variable.
21258         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21259         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21260         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21261
21262 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21263
21264         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21265         (mq_attr): Use __syscall_slong_t.
21266
21267 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21268
21269         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21270         Check __x86_64__ instead of __WORDSIZE.
21271         (_STAT_VER_LINUX): Likewise.
21272         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
21273         __syscall_ulong_t and __syscall_slong_t.
21274         (stat64): Likewise.
21275
21276 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21277
21278         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21279
21280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21281
21282         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21283
21284 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21285
21286         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21287         __syscall_ulong_t.
21288
21289         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21290         include <bits/wordsize.h>.  Check __x86_64__ instead of
21291         __WORDSIZE.
21292         (greg_t): Use "__extension__ long long int" if __x86_64__ is
21293         defined.
21294         (mcontext_t): Replace "unsigned long" with "unsigned long long".
21295
21296         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21297         include <bits/wordsize.h>.  Check __x86_64__ instead of
21298         __WORDSIZE.
21299         (user_regs_struct): Use "__extension__ unsigned long long"
21300         instead of "unsigned long" if __x86_64__ is defined.
21301         (user): Likewise.  Pad after pointer field if __ILP32__ is
21302         defined.
21303
21304 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
21305
21306         * configure.in (makeinfo): Require version 4.5 or later.  Allow
21307         versions 5 to 9.
21308         * configure: Regenerated.
21309         * manual/install.texi (texinfo): Increase version requirement to
21310         4.5 or later.
21311         * INSTALL: Regenerated.
21312
21313         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21314
21315 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21316
21317         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21318
21319         * sysdeps/x86_64/x32/ffs.c: New file.
21320
21321         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21322         __syscall_ulong_t.
21323         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21324         defined.  Use __syscall_ulong_t.
21325         (shminfo): Use __syscall_ulong_t.
21326         (shm_info): Likewise.
21327
21328         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21329         __syscall_ulong_t.
21330
21331         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21332         <bits/wordsize.h>.
21333         (msgqnum_t): Use __syscall_ulong_t.
21334         (msglen_t): Likewise.
21335         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
21336         __syscall_ulong_t.
21337
21338         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21339         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21340
21341         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21342
21343         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21344         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21345
21346         * sysvipc/sys/msg.h (msgbuf): Replace long int with
21347         __syscall_slong_t.
21348
21349         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21350         include <bits/wordsize.h>.  Check __x86_64__ instead of
21351         __WORDSIZE.
21352
21353         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21354         "unsigned long long int" if __x86_64__ is defined.
21355         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21356
21357         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21358         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21359         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21360
21361         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21362         <stdint.h>.
21363         (GET_PC): Cast to uintptr_t first.
21364         (GET_FRAME): Likewise.
21365         (GET_STACK): Likewise.
21366
21367         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21368         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21369         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21370         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21371         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21372         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21373         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21374         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21375         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21376         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21377         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21378         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21379         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21380         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21381         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21382         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21383         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21384         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21385         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21386         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21387         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21388         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21389         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21390         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21391         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21392         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21393         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21394         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21396
21397 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
21398
21399         * Makerules (+depfiles): Also collect depfiles from .oS in
21400         $(extra-objs).
21401         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21402         .oS, $(libnldbl-routines)).
21403
21404         * Makerules (native-compile-mkdep-flags): Define.
21405         * sunrpc/Makefile (extra-objs): Add $(addprefix
21406         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21407         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21408         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
21409         calling $(make-target-directory).
21410
21411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21412
21413         * bits/types.h (__snseconds_t): Removed.
21414         * time/time.h (struct timespec): Replace __snseconds_t with
21415         __syscall_slong_t.
21416         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21417         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21418         Likewise.
21419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21420         (__SNSECONDS_T_TYPE): Likewise.
21421         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21422         (__SNSECONDS_T_TYPE): Likewise.
21423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21424         (__SNSECONDS_T_TYPE): Likewise.
21425
21426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21427
21428         * sysdeps/mach/hurd/bits/typesizes.h
21429         (__SYSCALL_SLONG_TYPE): New macro.
21430         (__SYSCALL_ULONG_TYPE): Likewise.
21431
21432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21433
21434         * bits/types.h (__syscall_slong_t): New type.
21435         (__syscall_ulong_t): Likewise.
21436
21437         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21438         (__SYSCALL_ULONG_TYPE): Likewise.
21439         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21440         (__SYSCALL_SLONG_TYPE): Likewise.
21441         (__SYSCALL_ULONG_TYPE): Likewise.
21442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21443         (__SYSCALL_SLONG_TYPE): Likewise.
21444         (__SYSCALL_ULONG_TYPE): Likewise.
21445         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21446         (__SYSCALL_SLONG_TYPE): Likewise.
21447         (__SYSCALL_ULONG_TYPE): Likewise.
21448
21449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21450
21451         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21452         Add sigaltstack-offsets.sym.
21453         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21454         <sigaltstack-offsets.h>.
21455         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
21456         longjmp_msg pointer.
21457         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
21458         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21459         signal stack.
21460         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21461
21462 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21463
21464         * elf/stackguard-macros.h: Remove file.
21465         * sysdeps/generic/stackguard-macros.h: New file.
21466         * sysdeps/i386/stackguard-macros.h: Likewise.
21467         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21468         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21469         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21470         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21471         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21472         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21473         * sysdeps/x86_64/stackguard-macros.h: Likewise.
21474         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21475         <elf/stackguard-macros.h>.
21476
21477         [BZ #14109]
21478         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21479         __aligned__ in attribute.
21480         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21481         (gregset_t): Likewise.
21482
21483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21484
21485         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21486         * sysdeps/x86_64/64/Implies-after: Here.  New file.
21487         * sysdeps/x86_64/x32/Implies-after: New file.
21488
21489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21490
21491         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21492         and access return value for _dl_profile_fixup.  Use R10_LP to
21493         load frame size.
21494
21495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21496
21497         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21498
21499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21500
21501         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21502         * sysdeps/x86_64/x32/sysdep.h: New file.
21503
21504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21505
21506         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21507         * sysdeps/x86_64/setjmp.S: Likewise.
21508
21509 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21510
21511         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21512         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21513         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21514         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21515         remove unused global constant.
21516
21517 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21518
21519         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21520         include of <not-cancel.h>.
21521
21522 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21523
21524         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21525
21526 2012-05-15  Jeff Law  <law@redhat.com>
21527             Andreas Jaeger  <aj@suse.de>
21528
21529         [BZ #13594]
21530         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21531         out from...
21532         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21533         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21534         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21535         code changing __hst_map_handle.map.
21536
21537 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21538
21539         * configure.in (sysnames): Look for Implies-before and Implies-after
21540         files.
21541         * configure: Regenerated.
21542
21543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21544
21545         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21546         8-byte data alignment with LP_SIZE alignment.
21547
21548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21549
21550         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21551         into R10_LP.
21552
21553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21554
21555         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21556
21557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21558
21559         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21560         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21561         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21562         Likewise.
21563         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21564
21565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21566
21567         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21568         (stackinfo_sub_sp): Likewise.
21569
21570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21571
21572         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21573         RAX_LP.
21574
21575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21576
21577         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21578         into R*_LP.
21579
21580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21581
21582         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21583         sizes into R*_LP.
21584
21585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21586
21587         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21588
21589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21590
21591         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21592         into R11_LP and load __x86_64_shared_cache_size_half into
21593         R8_LP.
21594
21595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21596
21597         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21598         R8_LP.
21599
21600 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21601
21602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21603         logb for POWER7.
21604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21605         logbf for POWER7.
21606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21607         logbl for POWER7.
21608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21609         powerpc32/power7/fpu/s_logb.c via #include.
21610         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21611         powerpc32/power7/fpu/s_logbf.c via #include.
21612         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21613         powerpc32/power7/fpu/s_logbl.c via #include.
21614
21615 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21616
21617         * README.libm: Remove file.
21618
21619 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21620
21621         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21622         count for x32.  Use R*_LP and omit operand-size suffix.
21623
21624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21625
21626         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21627         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21628         * sysdeps/x86_64/x32/shlib-versions: New file.
21629
21630 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21631
21632         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21633         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21634         Use _dl_fatal_printf instead.
21635
21636 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21637
21638         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21639         set if not set by the user.  Do not allow for being unset.
21640         * sysdeps/unix/sysv/linux/configure: Regenerated.
21641
21642 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21643
21644         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21645         the `q' suffix from lea and replace .quad with ASM_ADDR.
21646
21647 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21648
21649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21650         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21651         instead of $17.
21652         (PTR_DEMANGLE): Likewise.
21653
21654 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21655
21656         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21657         (LP_OP): Likewise.
21658         (ASM_ADDR): Likewise.
21659         (RAX_LP): Likewise.
21660         (RBP_LP): Likewise.
21661         (RBX_LP): Likewise.
21662         (RCX_LP): Likewise.
21663         (RDI_LP): Likewise.
21664         (RSI_LP): Likewise.
21665         (RSP_LP): Likewise.
21666         (R8_LP): Likewise.
21667         (R9_LP): Likewise.
21668         (R10_LP): Likewise.
21669         (R10_LP): Likewise.
21670         (R11_LP): Likewise.
21671         (R12_LP): Likewise.
21672         (R13_LP): Likewise.
21673         (R14_LP): Likewise.
21674         (R15_LP): Likewise.
21675
21676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21677
21678         * sysdeps/x86_64/x32/dl-machine.h: New file.
21679
21680 2012-05-14  Andreas Jaeger  <aj@suse.de>
21681
21682         * manual/Makefile (subdir): Remove export of subdir.
21683         (all): Remove target.
21684         (.PHONY): Remove all from list.
21685         (mkinstalldirs): Remove.
21686         (.PHONY): Remove installdirs from list.
21687         ($(inst_infodir)/libc.info): Use make-target-directory.
21688         (installdirs): Remove.
21689         (subdir_%): Remove.
21690         (glibc-targets): Remove.
21691         (lib): Remove.
21692         (stubs): Remove.
21693         ($(objpfx)stubs ../po/manual.pot): Remove.
21694         ($(objpfx)stamp%): Remove.
21695         (make-target-directory): Remove.
21696         (subdir_install): Remove.
21697         (routines): Remove.
21698         (aux): Remove.
21699         (sources): Remove.
21700         (objects): Remove.
21701         (headers): Remove.
21702
21703         [BZ #13750]
21704         * manual/.gitignore: Remove, it's not needed anymore.
21705         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21706         all files in it.
21707         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21708         directory.
21709         (texis): Renamed to $(objpfx)texis.
21710         (texis-path): New, contains path to generated files.
21711         (chapters.%): Use texis-path for complete path, add extra argument
21712         libc-texinfo.sh.
21713         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21714         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21715         (summary,texi, stamp-summary): Use complete path of
21716         files. Generate files in build dir.
21717         (dir-add.texi): Build in build dir.
21718         (libm-err.texi,stamp-libm-err): Likewise.
21719         (version.texi, stamp-version): Likewise.
21720         (.%c.texi): Likewise.
21721         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21722         (mostlyclean): Remove target.
21723         (realclean): Remove target.
21724         (generated): Add new variable with contents from mostlyclean and
21725         realclean, remove entries duplicated in common-mostlyclean, add
21726         stamp-libm-err and stamp-version.
21727         (generated-dirs): Add libc directory.
21728         ($(inst_infodir)/libc.info): Install files from build dir.
21729
21730         * manual/install.texi (Configuring and compiling): Adjust since
21731         the info files are not part of the tar ball anymore.
21732
21733 2012-05-14  Andreas Jaeger  <aj@suse.de>
21734
21735         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21736         variable.
21737
21738 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21739
21740         [BZ #13717]
21741         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21742         to 2.2.0 where earlier.
21743         * sysdeps/unix/sysv/linux/configure: Regenerated.
21744         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21745         Remove conditional code.
21746         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21747         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21748         Remove conditional code.
21749         [!__NR_lchown]: Likewise.
21750         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21751         [__NR_lchown]: Likewise.
21752         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21753         comment referencing __ASSUME_LCHOWN_SYSCALL.
21754         * sysdeps/unix/sysv/linux/i386/sigaction.c
21755         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21756         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21757         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21758         Remove conditional code.
21759         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21760         (__protocol_available): Remove #if 0 code.
21761         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21762         conditional code.
21763         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21764         * sysdeps/unix/sysv/linux/kernel-features.h
21765         (__ASSUME_GETCWD_SYSCALL): Don't define.
21766         (__ASSUME_REALTIME_SIGNALS): Likewise.
21767         (__ASSUME_PREAD_SYSCALL): Likewise.
21768         (__ASSUME_PWRITE_SYSCALL): Likewise.
21769         (__ASSUME_POLL_SYSCALL): Likewise.
21770         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21771         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21772         non-SPARC.
21773         (__ASSUME_SIOCGIFNAME): Don't define.
21774         (__ASSUME_MSG_NOSIGNAL): Likewise.
21775         (__ASSUME_SENDFILE): Define unconditionally.
21776         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21777         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21778         conditional code.
21779         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21780         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21781         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21782         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21783         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21784         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21785         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21787         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21788         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21790         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21791         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21793         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21794         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21796         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21797         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21799         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21800         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21802         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21803         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21805         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21806         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21808         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21809         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21810         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21811         Remove conditional code.
21812         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21813         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21814         Remove conditional code.
21815         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21816         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21817         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21818         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21819         Remove conditional code.
21820         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21821         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21822         Remove conditional code.
21823         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21824         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21825         Remove conditional code.
21826         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21827         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21828         Remove conditional code.
21829         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21830         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21831         Remove conditional code.
21832         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21833         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21834         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21835         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21836         * sysdeps/unix/sysv/linux/sigaction.c
21837         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21838         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21839         * sysdeps/unix/sysv/linux/sigpending.c
21840         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21841         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21842         * sysdeps/unix/sysv/linux/sigprocmask.c
21843         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21844         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21845         * sysdeps/unix/sysv/linux/sigsuspend.c
21846         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21847         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21848         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21849         (__libc_missing_rt_sigs): Remove.
21850         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21851         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21852         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21853         Remove conditional code.
21854         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21855         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21856         return 1.
21857         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21858         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21859         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21860         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21861
21862 2012-05-14  Andreas Jaeger  <aj@suse.de>
21863
21864         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21865         it's not used in glibc.
21866         (__coshm1): Likewise.
21867         (__acosh1p): Likewise.
21868         (__sgn): Likewise.
21869
21870         * manual/string.texi (Copying and Concatenation): Add missing
21871         variable in concat example.
21872         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21873
21874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21875
21876         [BZ #14103]
21877         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21878         __builtin_clzl with __builtin_clzll.
21879
21880 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21881
21882         [BZ #14104]
21883         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21884         libc_freeres_ptr.
21885
21886 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21887
21888         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21889         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21890         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21891         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21892
21893 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21894
21895         * NEWS: Update ia64 info.
21896
21897 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21898
21899         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21900         used as bcopy.
21901
21902 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21903
21904         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21905         * sysdeps/unix/syscalls.list (dup3): Likewise.
21906         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21907         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21908
21909 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21910
21911         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21912         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21913
21914 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21915
21916         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21917         thread pointer.
21918         (TLS_IE): Use mov/add instead of movq/addq to load thread
21919         pointer.
21920         (TLS_GD_PREFIX): New.
21921         (TLS_GD): Use it.
21922
21923 2012-05-11  David S. Miller  <davem@davemloft.net>
21924
21925         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21926         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21927         (_FPU_SETCW): Likewise.
21928
21929 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21930
21931         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21932         is 32-byte aligned.
21933
21934 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21935
21936         [BZ #11837]
21937         * iconvdata/gb18030.c: Update tables.
21938         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21939         characters specially.
21940         (BODY for TO_LOOP): Add encoding of missing ranges.
21941
21942 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21943
21944         [BZ #13673]
21945         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21946         * sysdeps/mach/hurd/dup3.c: Likewise.
21947         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21948         * sysdeps/powerpc/memmove.c:: Likewise.
21949
21950 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21951
21952         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21953         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21954
21955 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21956
21957         * elf/elf.h (R_X86_64_RELATIVE64): New.
21958         (R_X86_64_NUM): Updated.
21959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21960         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21961         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21962         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21963         tst-quad1pie tst-quad2pie
21964         (modules-names): Add tst-quadmod1 tst-quadmod2.
21965         ($(objpfx)tst-quad1): New dependency.
21966         ($(objpfx)tst-quad2): Likewise.
21967         ($(objpfx)tst-quad1pie): Likewise.
21968         ($(objpfx)tst-quad2pie): Likewise.
21969         * sysdeps/x86_64/tst-quad1.c: New file.
21970         * sysdeps/x86_64/tst-quad1pie.c: New file.
21971         * sysdeps/x86_64/tst-quad2.c: Likewise.
21972         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21973         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21974         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21975         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21976         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21977
21978 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21979
21980         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21981         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21982         * streams/stropts.h (t_scalar_t): Define type.
21983
21984         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21985         (_PATH_PRESERVE): Set to "/var/lib".
21986         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21987
21988         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21989         instead of int.
21990
21991         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21992         if __dir_mkfile succeeded.
21993
21994         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21995         checking for _hurd_dtablesize.  Unlock it right after having
21996         finished _hurd_dtable allocation.
21997
21998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21999
22000         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22001         * sysdeps/mach/hurd/configure: Regenerated.
22002         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22003         special-casing to...
22004         * sysdeps/gnu/configure.in: ... this new file.
22005         * sysdeps/unix/sysv/linux/configure: Regenerated.
22006         * sysdeps/gnu/configure: New generated file.
22007
22008         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22009         for Linux: use nsec instead of usec, as well as:
22010         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22011         members of type struct timespec.
22012         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22013         New macros.
22014         (struct stat64): Likewise.
22015         (_STATBUF_ST_NSEC): New macro.
22016         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22017
22018         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22019         __strtoul_internal rather than strtoul.
22020
22021 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22022
22023         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22024         and reject them.
22025
22026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22027
22028         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22029         which preserves existing values.
22030         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22031
22032 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22033
22034         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22035         TIMEOUT values.  Return EINVAL for NFDS values either negative or
22036         greater than FD_SETSIZE.
22037
22038 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22039
22040         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22041         allocated, call __vm_protect to finish enabling the existing space, and
22042         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22043         allocate the remainder.
22044
22045 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22046
22047         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22048         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
22049
22050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22051
22052         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22053         sysdeps/mach/hurd/readlink.c.
22054
22055         * posix/tst-sysconf.c (posix_options): Only use
22056         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22057         _POSIX_SYNCHRONIZED_IO when they are defined
22058         * sysdeps/mach/hurd/bits/posix_opt.h:
22059         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22060         (_XOPEN_REALTIME): Undefine macro.
22061         (_XOPEN_REALTIME_THREADS): Undefine macro.
22062         (_XOPEN_SHM): Undefine macro.
22063         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22064         macro to -1.
22065         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22066         macro to -1.
22067         (_POSIX_ASYNC_IO): Undefine macro.
22068         (_POSIX_PRIORITIZED_IO): Undefine macro.
22069         (_POSIX_SPIN_LOCKS): Define macro to -1.
22070
22071         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22072         SA_NODEFER, SA_RESETHAND.
22073         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22074         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22075         F_DUPFD_CLOEXEC.
22076
22077 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22078
22079         * elf/Makefile (pldd-modules): Define unconditionally.
22080
22081 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22082
22083         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22084
22085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22086
22087         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22088         Return ENOENT when name is empty.
22089         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22090
22091 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22092
22093         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22094
22095         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22096
22097 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22098
22099         Fix mlock in all cases except non-readable pages.
22100         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22101         instead of VM_PROT_ALL as parameter to __vm_wire function.
22102
22103         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22104         (__mkdir): When path is `/', just fail with EEXIST.
22105         * sysdeps/mach/hurd/mkdirat.c: Likewise.
22106
22107 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22108
22109         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22110         <sys/uio.h> (for writev).
22111         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22112         and <sys/param.h> (for MIN).
22113
22114 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22115
22116         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22117         REQUESTED_TIME.  Properly set the remaining time and return EINTR
22118         if interrupted.
22119
22120 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22121
22122         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22123         Depend on against $(link-rpcuserlibs).
22124
22125 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22126
22127         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22128         (__libc_stack_end): Do not use attribute_relro.
22129         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22130         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22131         to libthread-provided value.
22132         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22133         attribute_relro.
22134
22135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22136
22137         [BZ #3748]
22138         * bits/libc-lock.h (__libc_once_get): New macro.
22139         * sysdeps/mach/bits/libc-lock.h: Likewise.
22140         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22141         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22142         instead of using implementation details.
22143
22144         * libio/fileops.c: Unconditionally include <kernel-features.h>.
22145         * libio/freopen.c: Likewise.
22146         * libio/freopen64.c: Likewise.
22147         * misc/syslog.c: Likewise.
22148         * nscd/connections.c: Likewise.
22149         * nscd/netgroupcache.c: Likewise.
22150         * sysdeps/posix/getcwd.c: Likewise.
22151
22152 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22153
22154         * math/w_ilogbf.c: Add #include <limits.h>.
22155
22156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22157
22158         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22159         path instead of returning without unlocking.
22160
22161         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22162         immediate-write ioctls.
22163         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22164
22165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22166
22167         * sysdeps/mach/hurd/i386/init-first.c (init): Use
22168         __builtin_frame_address instead of making assumptions about the
22169         location of the return address relative to DATA.  Force early load of
22170         the return address.
22171         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22172         __builtin_frame_address.
22173
22174         dup3 for GNU Hurd.
22175         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22176         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
22177         implement dup3 and do some further code clean-ups.
22178         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22179         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22180
22181 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22182
22183         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22184
22185         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22186         HURD_CRITICAL_END around holding _hurd_dtable_lock.
22187         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22188         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22189         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22190         d->port.lock.
22191
22192         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22193         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
22194         when handler == SIG_ERR, not when handler != SIG_ERR.
22195
22196 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22197
22198         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22199         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22200         definitions.
22201
22202         accept4 for GNU Hurd.
22203         * include/sys/socket.h (__libc_accept4): New prototype.
22204         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
22205         to implement __libc_accept4.
22206         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22207         __libc_accept4.
22208         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22209
22210         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22211         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22212         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22213         signal-defines.sym.
22214
22215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22216
22217         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22218
22219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22220
22221         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22222         assertion on O_CLOEXEC flag.
22223         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22224         * hurd/intern-fd.c: Likewise.
22225         * hurd/port2fd.c: Likewise.
22226
22227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22228
22229         [BZ #3906]
22230         * bits/in.h (IPV6_PKTINFO): Define new macro.
22231         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22232
22233 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22234
22235         [BZ #13954]
22236         [BZ #13955]
22237         [BZ #13956]
22238         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22240         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22241         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22243         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22244         * math/libm-test.inc (logb_test) : Additional logb tests.
22245
22246 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
22247             Andreas Jaeger  <aj@suse.de>
22248
22249         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22250         * configure: Regenerated.
22251         * config.h.in (LINK_OBSOLETE_RPC): New macro.
22252         * config.make.in (link-obsolete-rpc): New substituted variable.
22253         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22254         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22255         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22256         (shared-only-routines): Don't set it under [link-obsolete-rpc],
22257         so that libc.a contains the symbols.
22258         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22259         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22260         * sunrpc/auth_none.c: Likewise.
22261         * sunrpc/auth_unix.c: Likewise.
22262         * sunrpc/authdes_prot.c: Likewise.
22263         * sunrpc/authuxprot.c: Likewise.
22264         * sunrpc/clnt_gen.c: Likewise.
22265         * sunrpc/clnt_perr.c: Likewise.
22266         * sunrpc/clnt_raw.c: Likewise.
22267         * sunrpc/clnt_simp.c: Likewise.
22268         * sunrpc/clnt_tcp.c: Likewise.
22269         * sunrpc/clnt_udp.c: Likewise.
22270         * sunrpc/clnt_unix.c: Likewise.
22271         * sunrpc/des_crypt.c: Likewise.
22272         * sunrpc/des_soft.c: Likewise.
22273         * sunrpc/get_myaddr.c: Likewise.
22274         * sunrpc/key_call.c: Likewise.
22275         * sunrpc/key_prot.c: Likewise.
22276         * sunrpc/netname.c: Likewise.
22277         * sunrpc/pm_getmaps.c: Likewise.
22278         * sunrpc/pm_getport.c: Likewise.
22279         * sunrpc/pmap_clnt.c: Likewise.
22280         * sunrpc/pmap_prot.c: Likewise.
22281         * sunrpc/pmap_prot2.c: Likewise.
22282         * sunrpc/pmap_rmt.c: Likewise.
22283         * sunrpc/publickey.c: Likewise.
22284         * sunrpc/rpc_cmsg.c: Likewise.
22285         * sunrpc/rpc_common.c: Likewise.
22286         * sunrpc/rpc_dtable.c: Likewise.
22287         * sunrpc/rpc_prot.c: Likewise.
22288         * sunrpc/rpc_thread.c: Likewise.
22289         * sunrpc/rtime.c: Likewise.
22290         * sunrpc/svc.c: Likewise.
22291         * sunrpc/svc_auth.c: Likewise.
22292         * sunrpc/svc_raw.c: Likewise.
22293         * sunrpc/svc_run.c: Likewise.
22294         * sunrpc/svc_tcp.c: Likewise.
22295         * sunrpc/svc_udp.c: Likewise.
22296         * sunrpc/svc_unix.c: Likewise.
22297         * sunrpc/svcauth_des.c: Likewise.
22298         * sunrpc/xcrypt.c: Likewise.
22299         * sunrpc/xdr.c: Likewise.
22300         * sunrpc/xdr_array.c: Likewise.
22301         * sunrpc/xdr_float.c: Likewise.
22302         * sunrpc/xdr_intXX_t.c: Likewise.
22303         * sunrpc/xdr_mem.c: Likewise.
22304         * sunrpc/xdr_rec.c: Likewise.
22305         * sunrpc/xdr_ref.c: Likewise.
22306         * sunrpc/xdr_sizeof.c: Likewise.
22307         * sunrpc/xdr_stdio.c: Likewise.
22308
22309 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22310
22311         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22312         change.  Update copyright years.
22313
22314 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22315
22316         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22317
22318 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
22319             Joseph Myers  <joseph@codesourcery.com>
22320             Paul Pluzhnikov  <ppluzhnikov@google.com>
22321
22322         [BZ #14012]
22323         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22324         requiring rpcgen.
22325         [cross-compiling] (extra-libs): Likewise.
22326         [cross-compiling] (extra-libs-others): Likewise.
22327         [cross-compiling] (librpcsvc-routines): Likewise.
22328         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22329         [cross-compiling] (omit-deps): Likewise.
22330         (sunrpc-CPPFLAGS): New variable.
22331         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22332         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22333         (cross-rpcgen-objs): New variable.
22334         (extra-objs): Append $(cross-rpcgen-objs).
22335         ($(cross-rpcgen-objs)): New rule.
22336         ($(objpfx)cross-rpcgen): Likewise.
22337         (rpcgen-cmd): Define to use $(built-program-file).  Expand
22338         comment.
22339         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22340         ($(objpfx)x%.stmp): Likewise.
22341         * sunrpc/proto.h [IS_IN_build] (_): Define.
22342         [IS_IN_build] (_libc_intl_domainname): Likewise.
22343
22344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22345
22346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22347         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22348         and R_X86_64_TPOFF64.
22349
22350 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22351
22352         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22353         sysdeps/unix/sysv/syscalls.list.
22354         (stime): Likewise.
22355         (utime): Likewise.
22356         * sysdeps/unix/sysv/syscalls.list: Remove file.
22357
22358 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
22359
22360         [BZ #3440]
22361         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22362         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22363         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22364         (__LC_IDENTIFICATION): Make these macros useful in #if
22365         expressions, as required by C99.
22366
22367 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
22368
22369         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22370         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
22371         after this.
22372
22373 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
22374
22375         * stdlib/longlong.h: Updated from GCC.
22376
22377 2012-05-09  Andreas Jaeger  <aj@suse.de>
22378
22379         * nscd/nscd.c (run_modes): Make named enum, reorder so that
22380         default is first entry.
22381         (run_mode): Set type.
22382         (main): Remove informal message about syslog.
22383         (options): Fix typo.
22384
22385         [BZ #14053]
22386         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22387         to asm.
22388         (lrint): Likewise.
22389         (llrintf): Likewise.
22390         (llrint): Likewise.
22391         (rint): Likewise.
22392         (rintf): Likewise.
22393         (nearbyint): Likewise.
22394         (nearbyintf): Likewise.
22395
22396 2012-05-09  Andreas Jaeger  <aj@suse.de>
22397             Pedro Alves  <palves@redhat.com>
22398
22399         * nscd/nscd.c (run_mode): Use enum.
22400         (main): Cleanup coding style issue.
22401
22402 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
22403             Andreas Jaeger  <aj@suse.de>
22404
22405         * nscd/nscd.c (go_background): Replaced with...
22406         (run_mode): ... this.
22407         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22408         (options): Add -F --foreground.
22409         (main): Implement it.
22410         (parse_opt): Parse it.
22411
22412 2012-05-09  Andreas Jaeger  <aj@suse.de>
22413
22414         [BZ #14083]
22415         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22416         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22417         -Wconversion warning.
22418         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22419         Likewise.
22420
22421 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
22422
22423         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
22424         == 0.
22425         (LC_ALL): Use macro-int-constant.
22426         (LC_COLLATE): Likewise.
22427         (LC_CTYPE): Likewise.
22428         (LC_MESSAGES): Likewise.
22429         (LC_MONETARY): Likewise.
22430         (LC_NUMERIC): Likewise.
22431         (LC_TIME): Likewise.
22432         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22433         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22434         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22435         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22436         Specify type.
22437         [C99-based standards] (float_t): Expect type.
22438         [C99-based standards] (double_t): Expect type.
22439         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
22440         type.
22441         [C99-based standards] (HUGE_VALL): Likewise.
22442         [C99-based standards] (INFINITY): Likewise.
22443         [C99-based standards] (NAN): Likewise.
22444         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22445         [C99-based standards] (FP_NAN): Likewise.
22446         [C99-based standards] (FP_NORMAL): Likewise.
22447         [C99-based standards] (FP_SUBNORMAL): Likewise.
22448         [C99-based standards] (FP_ZERO): Likewise.
22449         [C99-based standards] (FP_FAST_FMA): Use
22450         optional-macro-int-constant.  Specify type.  Require == 1.
22451         [C99-based standards] (FP_FAST_FMAF): Likewise.
22452         [C99-based standards] (FP_FAST_FMAL): Likewise.
22453         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22454         [C99-based standards] (FP_ILOGBNAN): Likewise.
22455         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22456         Specify type.
22457         [C99-based standards] (MATH_ERREXCEPT): Likewise.
22458         [C99-based standards] (math_errhandling): Specify type.
22459         [ISO99 || ISO11] (signgam): Do not allow.
22460         [non-C99-based standards] (copysignf): Do not allow.
22461         [non-C99-based standards] (exp2f): Likewise.
22462         [non-C99-based standards] (log2f): Likewise.
22463         [non-C99-based standards] (modff): Allow.
22464         [non-C99-based standards] (erff): Do not allow.
22465         [non-C99-based standards] (erfcf): Likewise.
22466         [non-C99-based standards] (gammaf): Likewise.
22467         [non-C99-based standards] (hypotf): Likewise.
22468         [non-C99-based standards] (j0f): Likewise.
22469         [non-C99-based standards] (j1f): Likewise.
22470         [non-C99-based standards] (jnf): Likewise.
22471         [non-C99-based standards] (lgammaf): Likewise.
22472         [non-C99-based standards] (tgammaf): Likewise.
22473         [non-C99-based standards] (y0f): Likewise.
22474         [non-C99-based standards] (y1f): Likewise.
22475         [non-C99-based standards] (ynf): Likewise.
22476         [non-C99-based standards] (isnanf): Likewise.
22477         [non-C99-based standards] (acoshf): Likewise.
22478         [non-C99-based standards] (asinhf): Likewise.
22479         [non-C99-based standards] (atanhf): Likewise.
22480         [non-C99-based standards] (cbrtf): Likewise.
22481         [non-C99-based standards] (expm1f): Likewise.
22482         [non-C99-based standards] (ilogbf): Likewise.
22483         [non-C99-based standards] (log1pf): Likewise.
22484         [non-C99-based standards] (logbf): Likewise.
22485         [non-C99-based standards] (nextafterf): Likewise.
22486         [non-C99-based standards] (remainderf): Likewise.
22487         [non-C99-based standards] (rintf): Likewise.
22488         [non-C99-based standards] (scalbf): Likewise.
22489         [non-C99-based standards] (copysignl): Likewise.
22490         [non-C99-based standards] (exp2l): Likewise.
22491         [non-C99-based standards] (log2l): Likewise.
22492         [non-C99-based standards] (modfl): Allow.
22493         [non-C99-based standards] (erfl): Do not allow.
22494         [non-C99-based standards] (erfcl): Likewise.
22495         [non-C99-based standards] (gammal): Likewise.
22496         [non-C99-based standards] (hypotl): Likewise.
22497         [non-C99-based standards] (j0l): Likewise.
22498         [non-C99-based standards] (j1l): Likewise.
22499         [non-C99-based standards] (jnl): Likewise.
22500         [non-C99-based standards] (lgammal): Likewise.
22501         [non-C99-based standards] (tgammal): Likewise.
22502         [non-C99-based standards] (y0l): Likewise.
22503         [non-C99-based standards] (y1l): Likewise.
22504         [non-C99-based standards] (ynl): Likewise.
22505         [non-C99-based standards] (isnanl): Likewise.
22506         [non-C99-based standards] (acoshl): Likewise.
22507         [non-C99-based standards] (asinhl): Likewise.
22508         [non-C99-based standards] (atanhl): Likewise.
22509         [non-C99-based standards] (cbrtl): Likewise.
22510         [non-C99-based standards] (expm1l): Likewise.
22511         [non-C99-based standards] (ilogbl): Likewise.
22512         [non-C99-based standards] (log1pl): Likewise.
22513         [non-C99-based standards] (logbl): Likewise.
22514         [non-C99-based standards] (nextafterl): Likewise.
22515         [non-C99-based standards] (remainderl): Likewise.
22516         [non-C99-based standards] (rintl): Likewise.
22517         [non-C99-based standards] (scalbl): Likewise.
22518         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22519         [non-C99-based standards] (FP_*): Do not allow.
22520         [C99-based standards] (FP_*): Change to
22521         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22522         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22523         allow.
22524         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22525         (SIG_ERR): Likewise.
22526         [X/Open-based standards] (SIG_HOLD): Likewise.
22527         (SIG_IGN): Likewise.
22528         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22529         positive value.
22530         (SIGFPE): Likewise.
22531         (SIGILL): Likewise.
22532         (SIGINT): Likewise.
22533         (SIGSEGV): Likewise.
22534         (SIGTER): Likewise.
22535         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22536         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22537         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22538         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22539         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22540         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22541         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22542         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22543         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22544         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22545         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22546         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22547         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22548         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22549         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22550         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22551         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22552         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22553         [X/Open-based standards] (SIGTRAP): Likewise.
22554         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22555         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22556         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22557         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22558         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22559         allow.
22560
22561 2012-05-08  Ian Wienand  <ianw@vmware.com>
22562
22563         [BZ #14080]
22564         * time/tzset.c (__tzset_parse_tz): Update default rules for
22565         daylight time changes in the Energy Policy Act of 2005.
22566
22567 2012-05-09  Andreas Jaeger  <aj@suse.de>
22568
22569         [BZ #13983]
22570         * elf/ldconfig.c (parse_conf): Change string to make clear that
22571         ldconfig only issued a warning if ld.so.conf does not exist.
22572
22573 2012-05-08  David S. Miller  <davem@davemloft.net>
22574
22575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22576         movxtod instead of popping the value on the stack.
22577
22578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22579
22580 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22581
22582         * config.h.in: Add HAVE_ARM_PCS_VFP.
22583
22584 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22585
22586         [BZ #13979]
22587         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22588         checking but the checks are disabled for any reason.
22589
22590 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22591
22592         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22593         and ELF64_R_TYPE with ELFW(R_TYPE).
22594
22595 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22596
22597         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22598         (ulimit): Likewise.
22599
22600         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22601         (settimeofday): Likewise.
22602
22603 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22604
22605         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22606         a struct th_u2 inside the union, and move tu_block/tu_code into
22607         a new th_u3 union of tu_block/tu_code inside of that.  Move
22608         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22609         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22610         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22611         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22612         (th_stuff): Change to th_u1.tu_stuff.
22613         (th_data): Define.
22614         (th_msg): Change to th_u1.th_u2.tu_data.
22615
22616 2012-05-07  David S. Miller  <davem@davemloft.net>
22617
22618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22619
22620         [BZ #14074]
22621         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22622         (SETUP_PIC_REG): Use it.
22623         (SETUP_PIC_REG_LEAF): Use it.
22624
22625 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22626
22627         [BZ #13885]
22628         [BZ #13923]
22629         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22630         USE_AS_EXPM1L.
22631         (EXPL_FINITE): Likewise.
22632         (FLDLOG): Likewise.
22633         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22634         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22635         e_expl.S.
22636         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22637         USE_AS_EXPM1L.
22638         (EXPL_FINITE): Likewise.
22639         (FLDLOG): Likewise.
22640         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22641         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22642         e_expl.S.
22643         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22644         test of -max_value argument for long double.
22645         * sysdeps/i386/fpu/libm-test-ulps: Update.
22646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647
22648 2012-05-06  David S. Miller  <davem@davemloft.net>
22649
22650         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22651         quad soft-float symbols whose references which are compiler
22652         generated.
22653         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22654
22655 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22656
22657         [BZ #13884]
22658         [BZ #13914]
22659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22660         USE_AS_EXP10L.
22661         (EXPL_FINITE): Likewise.
22662         (FLDLOG): Likewise.
22663         (c0): Likewise.
22664         (c1): Likewise.
22665         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22666         Adjust comments for base varying.
22667         (__expl_finite): Change alias to EXPL_FINITE.
22668         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22669         e_expl.S.
22670         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22671         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22672         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22673         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22674         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22675         USE_AS_EXP10L.
22676         (EXPL_FINITE): Likewise.
22677         (FLDLOG): Likewise.
22678         (c0): Likewise.
22679         (c1): Likewise.
22680         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22681         Adjust comments for base varying.
22682         (__expl_finite): Change alias to EXPL_FINITE.
22683         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22684         tests for bugs.
22685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22686
22687         [BZ #14064]
22688         * math/libm-test.inc (check_float_internal): Correct ulp
22689         calculation for subnormal expected results.
22690
22691 2012-05-06  Andreas Jaeger  <aj@suse.de>
22692
22693         * Makeconfig (+math-flags): New, set to -frounding-math.
22694         (+cflags): Add +math-flags so that all of glibc gets compiled with
22695         it.
22696
22697         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22698
22699 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22700
22701         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22702         Disable one test.
22703
22704         [BZ #13787]
22705         [BZ #13922]
22706         [BZ #14036]
22707         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22708         (__ieee754_expl): Allow for and saturate large arguments.
22709         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22710         (u_threshold): Likewise.
22711         (__exp): Call __ieee754_exp before checking for overflow and
22712         underflow.
22713         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22714         (u_threshold): Likewise.
22715         (__expf): Call __ieee754_expf before checking for overflow and
22716         underflow.
22717         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22718         (u_threshold): Likewise.
22719         (__expl): Call __ieee754_expl before checking for overflow and
22720         underflow.
22721         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22722         (__ieee754_expl): Allow for and saturate large arguments.
22723         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22724         missing overflow exception on overflow.
22725         (expm1_test): Do not allow missing overflow exception on overflow.
22726
22727         * sysdeps/i386/fpu/e_expl.c: Move to ...
22728         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22729         rather than using inline asm.
22730         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22731         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22732         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22733
22734         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22735         (nice): Likewise.
22736         (poll): Likewise.
22737         (signal): Likewise.
22738         (time): Likewise.
22739         (times): Likewise.
22740
22741 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22742
22743         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22744         sysdeps/unix/common/syscalls.list.
22745         (fchmod): Likewise.
22746         (fchown): Likewise.
22747         (ftruncate): Likewise.
22748         (getrusage): Likewise.
22749         (gettimeofday): Likewise.
22750         (setpgid): Likewise.
22751         (setregid): Likewise.
22752         (setreuid): Likewise.
22753         (sigaction): Likewise.
22754         (truncate): Likewise.
22755         (vhangup): Likewise.
22756         * sysdeps/unix/common/syscalls.list: Remove file.
22757         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22758         * sysdeps/unix/sysv/linux/Implies: Likewise.
22759
22760 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22761
22762         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22764         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22765         Moved to ...
22766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22767         Here.
22768         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22769         to ...
22770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22771         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22772         to ...
22773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22774         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22775         to ...
22776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22777         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22778         to ...
22779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22780         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22781         to ...
22782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22783         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22784         to ...
22785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22786         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22787         to ...
22788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22789         Here.
22790         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22791         to ...
22792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22793         Here.
22794         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22795         to ...
22796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22797         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22798         Moved to ...
22799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22800         Here.
22801         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22802         to ...
22803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22804
22805 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22806
22807         * sysdeps/unix/common/bits/dirent.h: Remove file.
22808         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22809
22810         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22811         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22812         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22813         * sysdeps/unix/bsd/isatty.c: Likewise.
22814         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22815         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22816         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22817
22818 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22819
22820         [BZ #13563]
22821         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22822         long double comparison inaccuracies.
22823         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22825
22826 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22827
22828         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22829         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22830
22831 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22832
22833         [BZ #14049]
22834         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22835         nonzero digits before rounding a hex value.
22836         * stdlib/tst-strtod.c (tests): Add another test.
22837
22838 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22839
22840         * sysdeps/s390/fpu/libm-test-ulps: Update.
22841
22842 2012-05-03  Andreas Jaeger  <aj@suse.de>
22843
22844         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22845         does not get optimized out.
22846         (malloc_opt_barrier): New.
22847
22848 2012-05-03  Andreas Jaeger  <aj@suse.de>
22849             Roland McGrath  <roland@hack.frob.com>
22850
22851         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22852         intermediate file deletion.
22853         (generated): Add .symlist files.
22854
22855 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22856
22857         [BZ #13775]
22858         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22859         Redirect under this condition.
22860         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22861         [__USE_GNU] (__dprintf_chk): Not under this condition.
22862         [__USE_GNU] (__vdprintf_chk): Likewise.
22863         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22864         under this condition.
22865         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22866         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22867         [__USE_XOPEN2K8] (vdprintf): Likewise.
22868         [__USE_GNU] (__dprintf_chk): Not under this condition.
22869         [__USE_GNU] (__vdprintf_chk): Likewise.
22870         [__USE_GNU] (dprintf): Likewise.
22871         [__USE_GNU] (vdprintf): Likewise.
22872
22873 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22874
22875         * elf/Makefile (common-generated): Set this instead of generated for
22876         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22877         $(all-built-dso)-derived lists.
22878
22879 2012-05-03  Andreas Jaeger  <aj@suse.de>
22880
22881         * sysdeps/i386/fpu/libm-test-ulps: Update.
22882
22883         * FAQ: Removed.
22884         * FAQ.in: Likewise.
22885         * scripts/gen-FAQ.pl: Likewise.
22886         * manual/install.texi (Installation): Point to online location of
22887         FAQ.
22888         * Makefile (files-for-dist): Remove FAQ.
22889         (FAQ): Remove.
22890
22891 2012-05-02  Allan McRae  <allan@archlinux.org>
22892
22893         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22894         (LDFLAGS-reldepmod5.so): Likewise.
22895         (LDFLAGS-reldep6mod1.so): Likewise.
22896         (LDFLAGS-reldep6mod4.so): Likewise.
22897         (LDFLAGS-reldep8mod3.so): Likewise.
22898         (LDFLAGS-unload4mod1.so): Likewise.
22899         (LDFLAGS-unload4mod2.so): Likewise.
22900         (LDFLAGS-tst-initorder): Likewise.
22901         (LDFLAGS-tst-initordera2.so): Likewise.
22902         (LDFLAGS-tst-initordera3.so): Likewise.
22903         (LDFLAGS-tst-initordera4.so): Likewise.
22904         (LDFLAGS-tst-initorderb2.so): Likewise.
22905         (LDFLAGS-noload): Likewise.
22906         (LDFLAGS-next): Likewise.
22907         (LDFLAGS-order2mod1.so): Likewise.
22908         (LDFLAGS-order2mod2.so): Likewise.
22909         (LDFLAGS-tst-initorder2): Likewise.
22910         (LDFLAGS-tst-initorder2a.so): Likewise.
22911         (LDFLAGS-tst-initorder2b.so): Likewise.
22912         (LDFLAGS-tst-initorder2c.so): Likewise.
22913         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22914
22915 2012-05-02  David S. Miller  <davem@davemloft.net>
22916
22917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22918
22919 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22920
22921         [BZ #14055]
22922         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22923
22924 2012-05-02  Andreas Jaeger  <aj@suse.de>
22925
22926         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22927         since we manipulate rounding mode.
22928         (CPPFLAGS-test-idouble.c): Likewise.
22929         (CPPFLAGS-test-ifloat.c): Likewise.
22930         (CFLAGS-test-ldouble.c): Likewise.
22931         (CFLAGS-test-double.c): Likewise.
22932         (CFLAGS-test-float.c): Likewise.
22933         (CFLAGS-test-misc.c): Likewise.
22934         (CFLAGS-test-test-fenv.c): Likewise.
22935
22936 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22937
22938         [BZ #2550]
22939         [BZ #2570]
22940         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22941         comparisons to determine direction to adjust input.
22942
22943 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22944
22945         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22946         output to the target.
22947
22948         * scripts/localplt.awk: New file.
22949         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22950         (check-localplt-CFLAGS): Variable removed.
22951         ($(all-built-dso:=.jmprel)): New static pattern rule.
22952         (generated): Add those targets.
22953         (localplt-built-dso): New variable.
22954         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22955
22956         * elf/check-localplt.c: File removed.
22957
22958         * scripts/check-execstack.awk: New file.
22959         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22960         (check-execstack-CFLAGS): Variable removed.
22961         ($(objpfx)check-execstack.h): Target removed.
22962         ($(objpfx)execstack-default): New target.
22963         (generated): Add that instead of check-execstack.h.
22964         ($(all-built-dso:=.phdr)): New static pattern rule.
22965         (generated): Add those targets.
22966         * elf/check-execstack.c: File removed.
22967
22968         * scripts/check-textrel.awk: New file.
22969         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22970         (check-textrel-CFLAGS): Variable removed.
22971         (all-built-dso): Use := to define.o
22972         ($(all-built-dso:=.dyn)): New static pattern rule.
22973         (generated): Add those targets.
22974         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22975         * config.make.in (READELF): New substituted variable.
22976         * elf/check-textrel.c: File removed.
22977
22978 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22979
22980         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22981         allow.
22982         * conform/data/ctype.h-data [C99-based standards] (isblank):
22983         Expect function.
22984         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22985         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22987         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22988         Specify type.  Require positive value.
22989         (EILSEQ): Likewise.
22990         (ERANGE): Likewise.
22991         [ISO || POSIX] (EILSEQ): Do not expect.
22992         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22993         Specify type.  Require positive value.
22994         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22995         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22996         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22997         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22998         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22999         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23000         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23001         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23002         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23003         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23004         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23005         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23006         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23007         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23008         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23009         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23010         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23011         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23012         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23013         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23014         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23015         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23016         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23017         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23018         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23019         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23020         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23021         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23022         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23023         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23024         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23025         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23026         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23027         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23028         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23029         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23030         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23031         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23032         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23033         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23034         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23035         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23036         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23037         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23038         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23039         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23040         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23041         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23042         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23043         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23044         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23045         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23046         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23047         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23048         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23049         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23050         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23051         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23052         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23053         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23054         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23055         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23056         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23057         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23058         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23059         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23060         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23061         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23062         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23063         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23064         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23065         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23066         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23067         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23068         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23069         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23070         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23071         Require >= 2.
23072         (FLT_ROUNDS): Expect as macro, not constant.
23073         (FLT_MANT_DIG): Use macro-int-constant.
23074         (DBL_MANT_DIG): Likewise.
23075         (LDBL_MANT_DIG): Likewise.
23076         (FLT_DIG): Likewise.
23077         (DBL_DIG): Likewise.
23078         (LDBL_DIG): Likewise.
23079         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
23080         (DBL_MIN_EXP): Likewise.
23081         (LDBL_MIN_EXP): Likewise.
23082         (FLT_MAX_EXP): Use macro-int-constant.
23083         (DBL_MAX_EXP): Likewise.
23084         (LDBL_MAX_EXP): Likewise.
23085         (FLT_MAX_10_EXP): Likewise.
23086         (DBL_MAX_10_EXP): Likewise.
23087         (LDBL_MAX_10_EXP): Likewise.
23088         (FLT_MAX): Use macro-constant.
23089         (DBL_MAX): Likewise.
23090         (LDBL_MAX): Likewise.
23091         (FLT_EPSILON): Use macro-constant.  Give upper bound.
23092         (DBL_EPSILON): Likewise.
23093         (LDBL_EPSILON): Likewise.
23094         (FLT_MIN): Likewise.
23095         (DBL_MIN): Likewise.
23096         (LDBL_MIN): Likewise.
23097         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23098         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23099         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23100         [ISO11] (FLT_HAS_SUBNORM): Likewise.
23101         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23102         [ISO11] (DBL_DECIMAL_DIG): Likewise.
23103         [ISO11] (FLT_DECIMAL_DIG): Likewise.
23104         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23105         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23106         [ISO11] (FLT_TRUE_MIN): Likewise.
23107         [ISO11] (LDBL_TRUE_MIN): Likewise.
23108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23109         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23110         (SCHAR_MIN): Use macro-int-constant.  Specify type.
23111         (SCHAR_MAX): Likewise.
23112         (UCHAR_MAX): Likewise.
23113         (CHAR_MIN): Likewise.
23114         (CHAR_MAX): Likewise.
23115         (MB_LEN_MAX): Use macro-int-constant.
23116         (SHRT_MIN): Use macro-int-constant.  Specify type.
23117         (SHRT_MAX): Likewise.
23118         (USHRT_MAX): Likewise.
23119         (INT_MAX): Likewise.
23120         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
23121         bound negative.
23122         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23123         bound with "U".
23124         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23125         bound with "L".
23126         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
23127         bound negative.  Suffix upper bound with "L".
23128         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23129         bound with "UL".
23130         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23131         Specify type.
23132         [C99-based standards] (LLONG_MAX): Likewise.
23133         [C99-based standards] (ULLONG_MAX): Likewise.
23134         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
23135         == 0.
23136         [ISO11] (max_align_t): Require type.
23137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23138
23139         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23140         from $CFLAGS, without defining away __attribute__ calls.
23141         (checknamespace): Use $CFLAGS_namespace.
23142
23143         * conform/conformtest.pl (@keywords): Only include C99 keywords
23144         for standards based on C99 or C11.
23145
23146         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23147         Disable tests.
23148         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23149         UNIX98]: Likewise.
23150
23151         * conform/conformtest.pl: Handle "macro-int-constant" and test for
23152         usability of symbols in #if.
23153
23154         * conform/conformtest.pl: If macro or constant types start
23155         "promoted:", expect the symbol to be of the following type
23156         promoted by the integer promotions.
23157
23158         * conform/conformtest.pl: Parse all "constant" and "macro" lines
23159         in one place.  Also handle "macro-constant".
23160
23161         * conform/conformtest.pl: Only accept expected macro values with
23162         "==".  Parse all "macro" lines in one place.
23163         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23164
23165         * conform/conformtest.pl: Handle braced types on "constant" lines
23166         instead of handling "typed-constant".
23167         * conform/data/signal.h-data: Use "constant" instead of
23168         "typed-constant".
23169
23170         * conform/conformtest.pl: Handle "optional-" at start of lines in
23171         one place rather than duplicating several cases.  Handle each
23172         format of "macro" line with initial "optional-".
23173
23174         * conform/conformtest.pl: Only accept expected constant or
23175         optional-constant values with "==".  Parse all "constant" lines in
23176         one place.  Parse all "optional-constant" lines in one place.
23177         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23178         * conform/data/fmtmsg.h-data: Likewise.
23179         * conform/data/netinet/in.h-data: Likewise.
23180         * conform/data/tar.h-data: Likewise.
23181         * conform/data/limits.h-data: Use "==" form on "constant" and
23182         "optional-constant" lines.
23183
23184         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23185         Use -std=c99 for XOPEN2K.
23186         (@knownproblems): Remove.
23187         (newtoken): Don't check %isknown.
23188
23189         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23190         Do not expect macro.
23191         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23192         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23193         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23194         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23195         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23196         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23197         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23198         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23199         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23200         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23201         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23202         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23203         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23204         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23205         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23206         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23207         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23208         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23209         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23210         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23211         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23212         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23213         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23214         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23215         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23216         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23217         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23218         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23219         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23220         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23221         [XPG3] (acosh): Likewise.
23222         [XPG3] (asinh): Likewise.
23223         [XPG3] (atanh): Likewise.
23224         [XPG3] (cbrt): Likewise.
23225         [XPG3] (expm1): Likewise.
23226         [XPG3] (ilogb): Likewise.
23227         [XPG3] (log1p): Likewise.
23228         [XPG3] (logb): Likewise.
23229         [XPG3] (nextafter): Likewise.
23230         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23231         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23232         [XPG3] (remainder): Likewise.
23233         [XPG3] (rint): Likewise.
23234         [XPG3 || XPG4 || UNIX98] (round): Likewise.
23235         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23236         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23237         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23238         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23239         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23240         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23241         [UNIX98 || XOPEN2K] (scalb): Expect.
23242         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23243         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23244         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23245         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23246         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23247         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23248         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23249         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23250         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23251         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23252         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23253         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23254         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23255         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23256         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23257         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23258         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23259         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23260         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23261         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23262         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23263         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23264         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23265         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23266         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23267         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23268         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23269         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23270         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23271         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23272         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23273         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23274         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23275         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23276         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23277         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23278         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23279         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23280         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23281         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23282         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23283         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23284         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23285         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23286         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23287         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23288         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23289         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23290         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23291         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23292         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23293         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23294         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23295         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23296         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23297         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23298         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23299         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23300         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23301         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23302         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23303         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23304         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23305         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23306         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23307         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23308         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23309         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23310         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23311         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23312         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23313         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23314         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23315         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23316         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23317         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23318         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23319         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23320         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23321         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23322         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23323         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23324         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23325         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23326         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23327         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23328         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23329         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23330         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23331         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23332         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23333         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23334         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23335         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23336         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23337         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23338         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23339         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23340         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23341         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23342         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23343         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23344         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23345         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23346         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23347         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23348         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23349         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23350         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23351         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23352         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23353         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23354         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23355         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23356         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23357         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23358         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23359         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23360         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23361         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23362         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23363         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23364         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23365         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23366         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23367         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23368         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23369         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23370         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23371         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23372         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23373         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23374         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23375         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23376         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23377         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23378         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23379
23380         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23381         _XOPEN_SOURCE_EXTENDED for XPG4.
23382
23383         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23384
23385         * Makeconfig (localtime): Remove variable.
23386         (inst_localtime-file): Likewise.
23387
23388 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23389
23390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23391         Update.
23392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23393         Update.
23394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23395         Update.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23397         Update.
23398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23399         Update.
23400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23401         Update.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23403         Update.
23404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23405         Update.
23406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23407         Update.
23408
23409 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23410
23411         [BZ #2550]
23412         [BZ #2570]
23413         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23414         comparisons to determine direction to adjust input.
23415         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23416         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23417         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23418         Likewise.
23419         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23420         Likewise.
23421         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23422         Likewise.
23423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23425         Likewise.
23426         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23427         Likewise.
23428         * math/libm-test.inc (nexttoward_test): Add more tests.
23429
23430 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23431
23432         [BZ #14040]
23433         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23434         in version GLIBC_2.1, not GLIBC_2.0.
23435         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23436         Likewise.
23437
23438 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
23439
23440         [BZ #13942]
23441         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23442         (1 - x) * (1 + x).
23443         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23444         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23445         * math/libm-test.inc (acos_test): Add more tests.
23446         (asin_test): Likewise.
23447         * sysdeps/i386/fpu/libm-test-ulps: Update.
23448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23449
23450         [BZ #14034]
23451         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23452         of square root.
23453         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23454         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23455         * math/libm-test.inc (acos_test_tonearest): New function.
23456         (acos_test_towardzero): Likewise.
23457         (acos_test_downward): Likewise.
23458         (acos_test_upward): Likewise.
23459         (asin_test_tonearest): Likewise.
23460         (asin_test_towardzero): Likewise.
23461         (asin_test_downward): Likewise.
23462         (asin_test_upward): Likewise.
23463         (main): Call the new functions.
23464         * sysdeps/i386/fpu/libm-test-ulps: Update.
23465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23466
23467         [BZ #13884]
23468         [BZ #13924]
23469         * math/e_exp10.c: Include <float.h>.
23470         (__ieee754_exp10): Handle underflow here rather than multiplying
23471         large negative argument by M_LN10.
23472         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23473         of __ieee754_expf.
23474         * math/e_exp10l.c: Include <float.h>.
23475         (__ieee754_exp10l): Handle underflow here rather than multiplying
23476         large negative argument by M_LN10l.
23477         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
23478         spurious overflow exception on underflow.
23479
23480 2012-04-29  Marek Polacek  <polacek@redhat.com>
23481
23482         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23483         (__fortify_function): New macro.
23484         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23485         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23486         __extern_always_inline.
23487         * libio/bits/stdio2.h: Likewise.
23488         * libio/bits/stdio.h: Likewise.
23489         * string/string.h: Likewise.
23490         * string/bits/string3.h: Likewise.
23491         * include/stdio.h: Likewise.
23492         * stdlib/bits/stdlib.h: Likewise.
23493         * stdlib/stdlib.h: Likewise.
23494         * rt/bits/mqueue2.h: Likewise.
23495         * rt/mqueue.h: Likewise.
23496         * posix/bits/unistd.h: Likewise.
23497         * posix/unistd.h: Likewise.
23498         * io/bits/poll2.h: Likewise.
23499         * io/bits/fcntl2.h: Likewise.
23500         * io/fcntl.h: Likewise.
23501         * io/sys/poll.h: Likewise.
23502         * misc/bits/syslog.h: Likewise.
23503         * misc/bits/syslog-ldbl.h: Likewise.
23504         * misc/sys/syslog.h: Likewise.
23505         * socket/bits/socket2.h: Likewise.
23506         * socket/sys/socket.h: Likewise.
23507         * debug/tst-chk1.c: Likewise.
23508         * wcsmbs/bits/wchar2.h: Likewise.
23509         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23510         * wcsmbs/wchar.h: Likewise.
23511
23512 2012-04-29  Andreas Jaeger  <aj@suse.de>
23513
23514         * Makerules (tests): Remove enable-check-abi protection.
23515         (check-abi-warn): Remove.
23516         (check-abi-%): Remove check-abi-warn usage.
23517
23518         * configure.in: Remove check-abi configure option.
23519         * configure: Regenerated.
23520         * config.make.in (enable-check-abi): Remove.
23521
23522 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23523
23524         [BZ #14033]
23525         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23526         double functions to double *_finite functions.
23527
23528         [BZ #13941]
23529         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23530         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23531         LDBL_MIN_EXP.
23532         * stdio-common/Makefile (tests): Add tst-sprintf3.
23533         * stdio-common/tst-sprintf3.c: New file.
23534
23535         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23536         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23537
23538 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23539
23540         * conform/conformtest.pl: Remove duplicate typed-constant
23541         handling.
23542
23543 2012-04-28  David S. Miller  <davem@davemloft.net>
23544
23545         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23546         (check-abi-%): Remove AWK script prerequisite and explicit
23547         abilist directory.
23548         (check-abi): Rewrite to just diff the symlist with the abilist.
23549         (config-tls, config-abi-config): Delete, no longer used.
23550         (update-abi-%): Remove AWK script and explicit abilist directory.
23551         (update-abi): Rewrite to simply compare and conditionally copy the
23552         symlist and the sysdep abilist file.  Remove update-abi-config
23553         checks.
23554         * abilist/ld.abilist: Remove.
23555         * abilist/libBrokenLocale.abilist: Remove.
23556         * abilist/libanl.abilist: Remove.
23557         * abilist/libcrypt.abilist: Remove.
23558         * abilist/libdl.abilist: Remove.
23559         * abilist/librt.abilist: Remove.
23560         * abilist/libthread_db.abilist: Remove.
23561         * abilist/libutil.abilist: Remove.
23562         * scripts/extract-abilist.awk: Remove.
23563         * scripts/merge-abilist.awk: Remove.
23564         * sysdeps/generic/libcidn.abilist: New file.
23565         * sysdeps/generic/libnss_compat.abilist: New file.
23566         * sysdeps/generic/libnss_db.abilist: New file.
23567         * sysdeps/generic/libnss_dns.abilist: New file.
23568         * sysdeps/generic/libnss_files.abilist: New file.
23569         * sysdeps/generic/libnss_hesiod.abilist: New file.
23570         * sysdeps/generic/libnss_nis.abilist: New file.
23571         * sysdeps/generic/libnss_nisplus.abilist: New file.
23572         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23573         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23574         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23575         file.
23576         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23577         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23578         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23579         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23580         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23581         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23582         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23583         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23584         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23585         file.
23586         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23587         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23588         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23589         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23590         file.
23591         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23592         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23593         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23594         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23595         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23596         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23597         file.
23598         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23599         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23600         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23601         file.
23602         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23604         New file.
23605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23606         New file.
23607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23608         New file.
23609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23610         New file.
23611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23612         New file.
23613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23614         New file.
23615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23616         New file.
23617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23618         New file.
23619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23620         New file.
23621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23622         New file.
23623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23624         New file.
23625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23626         New file.
23627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23628         New file.
23629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23630         file.
23631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23632         New file.
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23634         New file.
23635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23636         file.
23637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23638         New file.
23639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23640         New file.
23641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23642         file.
23643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23644         New file.
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23646         New file.
23647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23648         New file.
23649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23650         New file.
23651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23652         New file.
23653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23654         New file.
23655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23657         file.
23658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23659         New file.
23660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23661         file.
23662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23663         file.
23664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23665         file.
23666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23667         file.
23668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23669         file.
23670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23671         New file.
23672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23673         file.
23674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23675         file.
23676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23677         New file.
23678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23679         file.
23680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23682         file.
23683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23684         New file.
23685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23686         file.
23687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23688         file.
23689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23690         file.
23691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23692         file.
23693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23694         file.
23695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23696         New file.
23697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23698         file.
23699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23700         file.
23701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23702         New file.
23703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23704         file.
23705         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23706         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23707         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23708         file.
23709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23710         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23711         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23712         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23713         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23714         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23715         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23716         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23717         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23718         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23721         file.
23722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23723         New file.
23724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23725         file.
23726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23727         file.
23728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23729         file.
23730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23731         file.
23732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23733         file.
23734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23735         New file.
23736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23737         New file.
23738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23739         file.
23740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23741         New file.
23742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23743         file.
23744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23746         file.
23747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23748         New file.
23749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23750         file.
23751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23752         file.
23753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23754         file.
23755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23756         file.
23757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23758         file.
23759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23760         New file.
23761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23762         New file.
23763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23764         file.
23765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23766         New file.
23767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23768         file.
23769
23770 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23771
23772         * conform/conformtest.pl: Fix typo in handling typed-constant from
23773         allow-header.
23774
23775 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23776
23777         * README: Cut down references to pre-2.6 Linux kernels and
23778         Linuxthreads.  Update lists of configurations in libc and ports
23779         and sort alphabetically.  Say "or newer" with Linux kernel version
23780         requirements.
23781
23782         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23783
23784 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23785
23786         [BZ #887]
23787         * math/libm-test.inc (logb_test_downward): New test to expose
23788         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23789         rounding mode.
23790
23791 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23792
23793         [BZ #14027]
23794         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23795         to be done.
23796         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23797         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23798
23799 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23800
23801         * sysdeps/unix/i386/brk.S: Remove file.
23802         * sysdeps/unix/i386/dl-brk.S: Likewise.
23803         * sysdeps/unix/i386/pipe.S: Likewise.
23804         * sysdeps/unix/i386/sigreturn.S: Likewise.
23805         * sysdeps/unix/i386/syscall.S: Likewise.
23806         * sysdeps/unix/i386/vfork.S: Likewise.
23807         * sysdeps/unix/i386/wait.S: Likewise.
23808
23809         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23810         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23811
23812         * configure.in (arm*-none*): Do not allow without
23813         --enable-hacker-mode.
23814         (netbsd*): Remove case setting base_os.
23815         (386bsd*): Likewise.
23816         (freebsd*): Likewise.
23817         (bsdi*): Likewise.
23818         (osf*): Likewise.
23819         (sunos*): Likewise.
23820         (ultrix*): Likewise.
23821         (newsos*): Likewise.
23822         (dynix*): Likewise.
23823         (*bsd*): Likewise.
23824         (sysv*): Likewise.
23825         (isc*): Likewise.
23826         (esix*): Likewise.
23827         (sco*): Likewise.
23828         (minix*): Likewise.
23829         (irix4*): Likewise.
23830         (irix6*): Likewise.
23831         (solaris[2-9]*): Likewise.
23832         (none): Likewise.
23833         * configure: Regenerated.
23834
23835 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23836
23837         [BZ #11521]
23838         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23839         overflow or cancellation in calculating denominator.
23840         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23841         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23842         down expression to avoid unexpected rounding in newer GCCs.
23843         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23844
23845 2012-04-26  David S. Miller  <davem@davemloft.net>
23846
23847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23848         long-double compat symbols.
23849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23862
23863 2012-04-25  David S. Miller  <davem@davemloft.net>
23864
23865         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23866         HWCAP_* values only after the memory barriers have been defined.
23867         (atomic_full_barrier): Define.
23868         (atomic_read_barrier): Define.
23869         (atomic_write_barrier): Define.
23870
23871 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23872
23873         * shlib-versions: Add libgcc_s version information.
23874         * sysdeps/generic/libgcc_s.h: Remove.
23875         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23876         libgcc_s.h.
23877         * sysdeps/gnu/unwind-resume.c: Likewise.
23878         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23879
23880 2012-04-25  David S. Miller  <davem@davemloft.net>
23881
23882         * sysdeps/unix/sparc/brk.S: Delete.
23883         * sysdeps/unix/sparc/dl-brk.S: Delete.
23884         * sysdeps/unix/sparc/pipe.S: Delete.
23885         * sysdeps/unix/sparc/sysdep.S: Delete.
23886         * sysdeps/unix/sparc/sysdep.h: Delete.
23887         * sysdeps/unix/sparc/vfork.S: Delete.
23888         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23889         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23890         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23891         ret_ERRVAL, r0, r1, MOVE): Define.
23892         (JUMPTARGET): Remove.
23893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23894         sysdeps/unix/sparc/sysdep.h
23895         (ENTRY, END): Remove.
23896         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23897
23898 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23899
23900         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23901         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23902         -DIS_IN_build.
23903
23904         * timezone/README: Update upstream location and email address for
23905         tzcode and tzdata.
23906         * timezone/zdump.c: Update from tzcode 2012b.
23907         * timezone/zic.c: Likewise.
23908
23909         * configure.in (libc_cv_as_needed): Remove test.
23910         * configure: Regenerated.
23911         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23912         conditional definition.
23913         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23914         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23915         * config.make.in (have-as-needed): Remove variable.
23916
23917 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23918             Paul Pluzhnikov  <ppluzhnikov@google.com>
23919
23920         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23921         strings correctly.
23922
23923 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23924
23925         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23926         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23927         * sysdeps/sh/strlen.S: Likewise.
23928
23929 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23930
23931         * sysdeps/unix/fork.S: Remove file.
23932         * sysdeps/unix/i386/fork.S: Likewise.
23933         * sysdeps/unix/sparc/fork.S: Likewise.
23934
23935         * sysdeps/unix/system.c: Remove file.
23936         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23937
23938         * sysdeps/unix/getegid.S: Remove file.
23939         * sysdeps/unix/geteuid.S: Likewise.
23940
23941 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23942
23943         * scripts/check-localplt.awk: New file.
23944         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23945         of diff.
23946         * scripts/data/localplt-generic.data: Add a comment.
23947
23948         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23949         NODE when __dir_mkfile failed.
23950         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23951         Reported by Ludovic Courtès <ludo@gnu.org>.
23952
23953 2012-04-24  Andreas Jaeger  <aj@suse.de>
23954
23955         * Makerules (common-clean): Also remove gen-as-const-headers
23956         files.
23957
23958 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23959
23960         * Makerules (native-compile): Do not change working directory for
23961         build.  Use $(OUTPUT_OPTION) in command.
23962         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23963
23964 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23965
23966         [BZ #13886]
23967         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23968         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23969         * math/libm-test.inc (floor_test): Add more tests.
23970         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23971
23972 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23973
23974         * sysdeps/unix/getdents.c: Remove file.
23975         * sysdeps/unix/sysv/getdents.c: Likewise.
23976         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23977
23978         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23979         sysdeps/unix/mman/syscalls.list.
23980         (mmap): Likewise.
23981         (mprotect): Likewise.
23982         (msync): Likewise.
23983         (munmap): Likewise.
23984         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23985         * sysdeps/unix/mman/syscalls.list: Remove.
23986         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23987
23988         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23989         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23990         * configure: Regenerated.
23991         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23992         $(libgcc_s_suffix).
23993         * config.make.in (libgcc_s_suffix): Remove variable.
23994
23995 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23996
23997         * sysdeps/unix/sysv/gethostname.c: Move to ...
23998         * sysdeps/posix/gethostname.c: ... here.
23999
24000         * sysdeps/unix/execve.S: Remove file.
24001
24002         * sysdeps/unix/_exit.S: Remove file.
24003
24004 2012-04-23  Andreas Jaeger  <aj@suse.de>
24005
24006         [BZ #13739]
24007         * manual/Makefile: Remove make dist support, there's no
24008         need for a stand-alone documentation tar ball.
24009         (TEXI2DVI): Define always, it's not in Makeconfig.
24010         (dist): Removed.
24011         (tar-it): Removed.
24012         (edition): Removed.
24013         (glibc-doc-$(edition).tar): Removed
24014         (%.Z): Removed.
24015         (%.gz): Removed.
24016         (%.uu): Removed.
24017         (ETAGS): Remove, it's in Makeconfig.
24018         (move-if-change): Remove, it's in Makeconfig.
24019
24020 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
24021
24022         [BZ #13970]
24023         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24024         (strtod, strtof, strtold, strtol, strtoul, strtoq)
24025         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24026         (strtod_l, strtof_l, strtold_l): Remove __wur.
24027         It is not necessarily an error to ignore strtol's return value.
24028         One can reliably look at the stored endptr to decide whether
24029         the number had valid syntax.
24030
24031 2012-04-21  Andreas Jaeger  <aj@suse.de>
24032
24033         [BZ #13739]
24034         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24035
24036 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
24037
24038         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24039         * sysdeps/unix/sysv/Versions: Remove file.
24040
24041 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
24042
24043         [BZ #13927]
24044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24045
24046 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
24047
24048         [BZ #7064]
24049         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24050         version from __vm86.
24051
24052 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
24053
24054         * sysdeps/unix/common/lxstat.c: Remove file.
24055         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24056
24057         * sysdeps/unix/sysv/Makefile: Remove file.
24058
24059         * sysdeps/unix/sysv/direct.h: Remove file.
24060
24061         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24062         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24063         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24064         * sysdeps/unix/sysv/bits/signum.h: Likewise.
24065         * sysdeps/unix/sysv/bits/stat.h: Likewise.
24066         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24067         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24068
24069         * sysdeps/unix/sysv/setrlimit.c: Remove file.
24070
24071         * sysdeps/unix/xmknod.c: Remove file.
24072         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24073
24074         * sysdeps/unix/sysv/settimeofday.c: Remove file.
24075
24076         * sysdeps/unix/sysv/i386/time.S: Remove file.
24077
24078         * sysdeps/unix/fxstat.c: Remove file.
24079         * sysdeps/unix/xstat.c: Likewise.
24080         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24081
24082         * sysdeps/unix/sysv/sigaction.c: Remove file.
24083
24084         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24085         (sysdep_headers): Remove variable.
24086         [termio.h not in sysdep_headers] (generated): Likewise.
24087         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24088         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24089         * sysdeps/unix/sysv/tcdrain.c: Likewise.
24090         * sysdeps/unix/sysv/tcflow.c: Likewise.
24091         * sysdeps/unix/sysv/tcflush.c: Likewise.
24092         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24093         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24094         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24095         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24096         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24097
24098         * sysdeps/unix/siglist.c: Remove file.
24099
24100         * sysdeps/unix/getppid.S: Remove file.
24101
24102         * sysdeps/unix/mkdir.c: Remove file.
24103         * sysdeps/unix/rmdir.c: Likewise.
24104
24105 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
24106
24107         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24108         ERR_MAX value.
24109         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24110         errlist-compat value.
24111
24112 2012-04-18  David S. Miller  <davem@davemloft.net>
24113
24114         * sysdeps/generic/memcopy.h (reg_char): Delete.
24115         * debug/strcat_chk.c: Use char, not reg_char.
24116         * debug/strcpy_chk.c: Likewise.
24117         * debug/strncat_chk.c: Likewise.
24118         * debug/strncpy_chk.c: Likewise.
24119         * string/memchr.c: Likewise.
24120         * string/memrchr.c: Likewise.
24121         * string/rawmemchr.c: Likewise.
24122         * string/strcat.c: Likewise.
24123         * string/strchr.c: Likewise.
24124         * string/strchrnul.c: Likewise.
24125         * string/strcmp.c: Likewise.
24126         * string/strcpy.c: Likewise.
24127         * string/strncat.c: Likewise.
24128         * string/strncmp.c: Likewise.
24129         * string/strncpy.c: Likewise.
24130
24131 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24132
24133         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24134         __builtin_memcopy is called when src and dest ranges are known to not
24135         overlap.
24136
24137 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24138
24139         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24140         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24141         fwd_align_merge macro call.
24142         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24143         bwd_align_merge macro call.
24144         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24145
24146 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24147
24148         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24149         bwd_align_merge macros.
24150         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24151         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24152         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24153
24154 2012-04-18  David S. Miller  <davem@davemloft.net>
24155
24156         * sysdeps/sparc/sparc64/memcopy.h: Delete.
24157
24158 2012-04-18  Andreas Jaeger  <aj@suse.de>
24159
24160         [BZ# 6794]
24161         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24162         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24163         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24164
24165         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24166         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24167         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24168
24169         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24170         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24171         Adjust for changed ldbl-128 files.
24172
24173         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24174         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24175         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24176
24177 2012-04-17  David S. Miller  <davem@davemloft.net>
24178
24179         * sysdeps/sparc/sparc32/memcopy.h: Delete.
24180
24181 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
24182
24183         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24184         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24185         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24186         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24187         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24188         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24189
24190 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24191
24192         [BZ #6794]
24193         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24194         * math/libm-test.inc: Add ilogb errno and exception tests.
24195         * math/w_ilogb.c: New file: ilogb wrapper.
24196         * math/w_ilogbf.c: New file: ilogbf wrapper.
24197         * math/w_ilogbl.c: New file: ilogbl wrapper.
24198         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24199         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24200         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24201         exception being thrown with 0.0 as argument.
24202         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24203         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24204         exception being thrown with 0.0 as argument.
24205         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24206         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24207         exception being thrown with 0.0 as argument.
24208         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24209         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24210         exception being thrown with 0.0 as argument.
24211         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24212         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24213         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24214         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24215         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24216         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24217         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24218         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24219         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24220
24221 2012-04-17  Petr Baudis  <pasky@ucw.cz>
24222
24223         * include/sys/uio.h: Change __vector to __iovec to avoid clash
24224         with altivec.
24225
24226 2012-04-16  Marek Polacek  <polacek@redhat.com>
24227
24228         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24229
24230 2012-04-16  Marek Polacek  <polacek@redhat.com>
24231
24232         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24233         operands of fdivp instruction.
24234
24235 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24236
24237         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24238         * elf/tst-auditmod3b.c: Likewise.
24239         * elf/tst-auditmod4b.c: Likewise.
24240         * elf/tst-auditmod5b.c: Likewise.
24241         * elf/tst-auditmod6b.c: Likewise.
24242         * elf/tst-auditmod6c.c: Likewise.
24243         * elf/tst-auditmod7b.c: Likewise.
24244         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24245         * sysdeps/x86_64/preconfigure.in: Likewise.
24246         * sysdeps/x86_64/preconfigure: Regenerated.
24247
24248 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24249
24250         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24251         __ILP32__.
24252
24253 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
24254
24255         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24256         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24257
24258 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
24259
24260         [BZ #13973]
24261         * locale/iso-639.def: Fix gl language name. Spotted by
24262         Yaron Shahrabani.
24263
24264 2012-04-12  Roland McGrath  <roland@hack.frob.com>
24265
24266         [BZ #2074]
24267         * libio/libio.h (__io_write_fn): Update comment.
24268
24269 2012-04-12  Petr Baudis  <pasky@ucw.cz>
24270
24271         [BZ #2074]
24272         * stdio.texi (Hook Functions): The user provided writer function
24273         is not allowed to return -1.
24274
24275 2012-04-11  David S. Miller  <davem@davemloft.net>
24276
24277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24278
24279 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
24280
24281         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24282         Add a leading slash to rtkaio.
24283
24284 2012-04-11  Jim Meyering  <meyering@redhat.com>
24285
24286         [BZ #11959]
24287         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24288         It is not necessarily an error to ignore fwrite's return
24289         value.  One can reliably use ferror to test for errors after
24290         the fact.
24291
24292 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24293
24294         * bits/types.h (__snseconds_t): New type.
24295         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24296
24297         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24299         (__SNSECONDS_T_TYPE): Likewise.
24300         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24301         (__SNSECONDS_T_TYPE): Likewise.
24302         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24303         (__SNSECONDS_T_TYPE): Likewise.
24304
24305 2012-04-10  Andreas Jaeger  <aj@suse.de>
24306
24307         [BZ #2636]
24308         * manual/time.texi (Processor Time): Return type of times is
24309         elapsed real time since an arbitrary point in the past.
24310         (CPU Time): Move CLK_TCK from here...
24311         (Processor Time): ...to here.  Correct description.
24312         * manual/conf.texi (Constants for Sysconf): Correct description of
24313         _SC_CLK_TCK.
24314
24315 2012-04-10  David S. Miller  <davem@davemloft.net>
24316
24317         [BZ #13967]
24318         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24319         where the is a gap between DT_REL(A) and DT_JMPREL.
24320
24321 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24322
24323         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24324         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24325         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24326
24327 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24328
24329         * elf/dl-support.c (_dl_inhibit_cache): New variable.
24330         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24331         (dl_main): Handle --inhibit-cache.
24332         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24333         _dl_inhibit_cache.
24334         * elf/dl-load.c (_dl_map_object): Use it.
24335         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24336
24337 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24338
24339         [BZ #13872]
24340         * sysdeps/i386/fpu/e_powl.S (p78): New object.
24341         (__ieee754_powl): Saturate large exponents rather than testing for
24342         overflow of y*log2(x).
24343         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24344         * math/libm-test.inc (pow_test): Do not permit spurious overflow
24345         exceptions.
24346
24347         [BZ #11521]
24348         * math/s_ctan.c: Include <float.h>.
24349         (__ctan): Avoid internal overflow or cancellation in calculating
24350         denominator.
24351         * math/s_ctanf.c: Likewise.
24352         * math/s_ctanl.c: Likewise.
24353         * math/s_ctanh.c: Likewise.
24354         * math/s_ctanhf.c: Likewise.
24355         * math/s_ctanhl.c: Likewise.
24356         * math/libm-test.inc (ctan_test): Add more tests.
24357         (ctanh_test): Likewise.
24358         * sysdeps/i386/fpu/libm-test-ulps: Update.
24359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24360
24361 2012-04-09  Andreas Jaeger  <aj@suse.de>
24362
24363         [BZ #6894]
24364         * manual/filesys.texi (Directory Entries): Mention that d_namlen
24365         is an optional BSD extension.
24366
24367         [BZ #10254]
24368         * manual/stdio.texi (Opening Streams): Document additional fopen
24369         parameters.
24370
24371 2012-04-09  Roland McGrath  <roland@hack.frob.com>
24372
24373         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24374         %eax without telling the compiler.
24375
24376 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
24377
24378         [BZ # 13963]
24379         * manual/install.texi: Use sourceware.org.
24380
24381 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24382
24383         [BZ #13873]
24384         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24385         (__ieee754_pow): Generate overflow and underflow using huge*huge
24386         and tiny*tiny rather than just returning constant infinity or zero
24387         for large exponents.
24388         * math/libm-test.inc (pow_test): Require overflow exceptions for
24389         applicable cases of large exponents.
24390
24391         [BZ #706]
24392         * sysdeps/i386/fpu/e_pow.S (p10): New object.
24393         (__ieee754_pow): Use iterative multiplication algorithm only for
24394         integer exponents with absolute value below 1024.  Check for odd
24395         integer exponents when using algorithm for real exponents.
24396         * math/libm-test.inc (pow_test): Add more tests.
24397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24398
24399 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
24400
24401         [BZ #13705]
24402         * math/libm-test.inc (exp_test): Do not allow overflow exception
24403         on underflow test.
24404
24405 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
24406
24407         [BZ #13705]
24408         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24409         instead of __kernel_standard_f.
24410
24411 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
24412
24413         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24414         * sysdeps/x86_64/memset_chk.S: Likewise.
24415
24416 2012-04-08  Andreas Jaeger  <aj@suse.de>
24417
24418         [BZ #10153]
24419         * manual/startup.texi (Environment Access): Describe return value
24420         for putenv and setenv.
24421
24422         [BZ #6895]
24423         * manual/filesys.texi (Directory Entries): Add description for
24424         DT_LNK.
24425
24426         [BZ #6890]
24427         * manual/filesys.texi (Directory Entries): Clarify that it's file
24428         system not operating system in the description of DT_UNKNOWN.
24429
24430         [BZ #6578]
24431         * manual/syslog.texi (closelog): Fix reference, it's openlog.
24432
24433 2012-04-08  Stephen Compall  <s11@member.fsf.org>
24434
24435         [BZ #6649]
24436         * manual/llio.texi (Opening and Closing Files): Add cross
24437         reference to explain mode argument.
24438
24439 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
24440
24441         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24442         * sysdeps/x86_64/memset_chk.S: Likewise.
24443
24444 2012-04-07  David S. Miller  <davem@davemloft.net>
24445
24446         * elf/elf.h (R_SPARC_WDISP10): Define.
24447         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24448         R_SPARC_SIZE32.
24449         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24450         R_SPARC_SIZE64 and R_SPARC_H34.
24451
24452 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
24453
24454         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24455         conditions and remove no longer applicable assertion.
24456
24457 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24458
24459         * bits/byteswap.h: Include <features.h>.
24460         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24461         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24462
24463 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24464
24465         * bits/byteswap.h (__bswap_16): Removed.
24466         Include <bits/byteswap-16.h> to get __bswap_16.
24467         * sysdeps/i386/bits/byteswap.h: Likewise.
24468         * sysdeps/s390/bits/byteswap.h: Likewise.
24469         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24470         * bits/byteswap-16.h: New file.
24471         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24472         * sysdeps/s390/bits/byteswap-16.h: Likewise.
24473         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24474         * string/Makefile (headers): Add bits/byteswap-16.h.
24475
24476 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24477
24478         [BZ #13895]
24479         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24480         extra indirection.
24481         * nss/Makefile (tests-static, tests): Add tst-nss-static.
24482         * nss/tst-nss-static.c: New.
24483
24484 2012-04-06  Robert Millan  <rmh@gnu.org>
24485
24486         [BZ #6486]
24487         * manual/llio.texi (File Position Primitive): lseek
24488         refers to WHENCE when it really means OFFSET.
24489
24490 2012-04-06  Andreas Jaeger  <aj@suse.de>
24491
24492         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24493         strncmp declarations.
24494
24495         * abilist/libc.abilist: Add __poll and __ppoll.
24496
24497 2012-04-05  David S. Miller  <davem@davemloft.net>
24498
24499         * scripts/check-local-headers.sh: Accept a host triplet in the
24500         path matched by the exclude regexp.
24501
24502         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24503         definition.
24504         * sysdeps/powerpc/powerpc32/dl-machine.h
24505         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24506         * sysdeps/s390/s390-32/dl-machine.h
24507         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24508         * sysdeps/sparc/sparc32/dl-machine.h
24509         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24510         * sysdeps/sparc/sparc64/dl-machine.h
24511         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24512
24513         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24514         lazy binding.
24515         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24516         undefined symbol errors.
24517
24518         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24519         DT_NEEDED entries.
24520
24521 2012-04-05  Michael Matz  <matz@suse.de>
24522
24523         [BZ #13592]
24524         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24525
24526 2012-04-05  Andreas Jaeger  <aj@suse.de>
24527
24528         [BZ #13908]
24529         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24530         comment.
24531
24532 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24533
24534         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24535         which ROUND is no valid rounding mode.
24536
24537 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24538
24539         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24540         read again.
24541         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24542
24543 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24544
24545         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24546         an exception using FPU order intentionally.
24547
24548 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24549
24550         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24551         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24552         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24553         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24554
24555 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24556
24557         [BZ #12340]
24558         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24559         EINVAL when BUFLEN is too smal.
24560
24561 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24562
24563         [BZ #13553]
24564         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24565         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24566
24567 2012-04-03  Andreas Jaeger  <aj@suse.de>
24568
24569         [BZ #13938]
24570         * manual/setjmp.texi (System V contexts): Fix sentence.
24571
24572         [BZ #13926]
24573         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24574         New macro for this case.
24575         [!__GNUC__] (__bswap_64): New inline function for this case.
24576         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24577         * bits/byteswap.h: Likewise.
24578         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24579         ull, guard with __GLIBC_HAVE_LONG_LONG.
24580
24581         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24582         __GLIBC_HAVE_LONG_LONG.
24583
24584         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24585         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24586
24587 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24588
24589         [BZ #13691]
24590         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24591         inptr and inend, rather than using last_ch.
24592
24593 2012-04-02  David S. Miller  <davem@davemloft.net>
24594
24595         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24596         * stdio-common/printf-parse.h (read_int): Change return type to
24597         'int', return -1 on INT_MAX overflow.
24598         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24599         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24600         overflows INT_MAX.  Check for overflow of in-format-string precision
24601         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24602         SIZE_MAX not INT_MAX for integer overflow test.
24603         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24604         skip the construct in the format string but do not record anything.
24605         * stdio-common/bug22.c: Adjust to test both width/prevision
24606         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24607         explicitly for proper errno values.
24608
24609 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24610
24611         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24612         CHAR_MAX.
24613         * string/test-strcmp.c [! WIDE]: Likewise.
24614         * time/tst-mktime2.c: Likewise for INT_MAX.
24615         * string/test-string.h: #include <sys/param.h> for MIN.
24616
24617         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24618         * sysdeps/i386/init-first.c (init): Likewise.
24619         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24620         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24621         * sysdeps/sh/init-first.c (init): Likewise.
24622
24623 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24624
24625         * po/ru.po: Update from translation team.
24626         * po/vi.po: Likewise.
24627
24628 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24629
24630         * resolv/nss_dns/dns-host.c: Merge copyright years.
24631
24632 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24633
24634         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24635         Optimize memcpy with prefetch if
24636         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24637         src, dst pointers have unequal 16 byte alignments.
24638
24639 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24640
24641         [BZ #13928]
24642         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24643         from a CNAME entry and return the minimum ttl for the query.
24644         (gaih_getanswer_slice): Likewise.
24645
24646 2012-03-30  Jeff Law  <law@redhat.com>
24647
24648         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24649         due to long keys.
24650         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24651         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24652
24653         * resolv/nss_dns/dns-host.c: Update copyright year.
24654
24655 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24656
24657         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24658         requests to save a system call.  Fix check that all bytes are sent.
24659
24660         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24661         comments for sendmmsg.
24662
24663 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24664
24665         [BZ #13691]
24666         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24667         with only 1 character between 0x0041 and 0x01b0.
24668         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24669         * wcsmbs/tst-mbsnrtowcs.c: New file.
24670
24671 2012-03-29  David S. Miller  <davem@davemloft.net>
24672
24673         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24674         small copies by hand.
24675
24676 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24677
24678         [BZ #13761]
24679         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24680         _nss_compat_initgroups_dyn): Fall back to malloc/free
24681         for large group memberships.
24682
24683 2012-03-28  David S. Miller  <davem@davemloft.net>
24684
24685         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24686         that branches into memcpy.
24687         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24688         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24689         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24690         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24691         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24692         bits.
24693         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24694         implementation too.
24695         * sysdeps/sparc/mempcpy.S: New file.
24696
24697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24698         the IFUNC routine in the libc case.
24699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24700
24701         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24702         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24703         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24704         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24705         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24706         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24707         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24708         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24709
24710         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24711         loop to 256 bytes instead of 64 bytes and fix test signedness.
24712
24713         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24714         * sysdeps/sparc/sparc32/Makefile: rather than here...
24715         * sysdeps/sparc/sparc64/Makefile: and here.
24716
24717 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24718
24719         * malloc/mallocbug.c: Avoid warnings about unused variables.
24720
24721 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24722
24723         [BZ #13760]
24724         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24725         in the right place. Discard and retry query if response is
24726         larger than input buffer size.
24727
24728 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24729
24730         [BZ #369]
24731         [BZ #2678]
24732         [BZ #3866]
24733         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24734         x for large integer exponent.
24735         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24736         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24737         sign of result as needed afterwards.
24738         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24739         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24740         result for underflowing pow the same as for overflow.
24741         (__kernel_standard_l): Handle powl overflow and underflow here
24742         rather than calling __kernel_standard.
24743         * math/libm-test.inc (pow_test): Add more tests.
24744
24745         [BZ #3868]
24746         [BZ #13879]
24747         [BZ #13910]
24748         [BZ #13911]
24749         [BZ #13912]
24750         [BZ #13913]
24751         [BZ #13915]
24752         [BZ #13916]
24753         [BZ #13917]
24754         [BZ #13918]
24755         [BZ #13919]
24756         [BZ #13920]
24757         [BZ #13921]
24758         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24759         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24760         (__kernel_standard_l): New function.
24761         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24762         __kernel_standard.
24763         * math/w_acosl.c (__acosl): Likewise.
24764         * math/w_asinl.c (__asinl): Likewise.
24765         * math/w_atan2l.c (__atan2l): Likewise.
24766         * math/w_atanhl.c (__atanhl): Likewise.
24767         * math/w_coshl.c (__coshl): Likewise.
24768         * math/w_exp10l.c (__exp10l): Likewise.
24769         * math/w_exp2l.c (__exp2l): Likewise.
24770         * math/w_fmodl.c (__fmodl): Likewise.
24771         * math/w_hypotl.c (__hypotl): Likewise.
24772         * math/w_j0l.c (__j0l, __y0l): Likewise.
24773         * math/w_j1l.c (__j1l, __y1l): Likewise.
24774         * math/w_jnl.c (__jnl, __ynl): Likewise.
24775         * math/w_lgammal.c (__lgammal): Likewise.
24776         * math/w_log10l.c (__log10l): Likewise.
24777         * math/w_log2l.c (__log2l): Likewise.
24778         * math/w_logl.c (__logl): Likewise.
24779         * math/w_powl.c (__powl): Likewise.
24780         * math/w_remainderl.c (__remainderl): Likewise.
24781         * math/w_scalbl.c (sysv_scalbl): Likewise.
24782         * math/w_sinhl.c (__sinhl): Likewise.
24783         * math/w_sqrtl.c (__sqrtl): Likewise.
24784         * math/w_tgammal.c (__tgammal): Likewise.
24785         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24786         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24787         * math/libm-test.inc (acos_test): Add more tests.
24788         (acosh_test): Likewise.
24789         (asin_test): Likewise.
24790         (atanh_test): Likewise.
24791         (exp_test): Likewise.
24792         (exp10_test): Likewise.
24793         (exp2_test): Likewise.
24794         (expm1_test): Likewise.
24795         (lgamma_test): Likewise.
24796         (log_test): Likewise.
24797         (log10_test): Likewise.
24798         (log1p_test): Likewise.
24799         (log2_test): Likewise.
24800         (pow_test): Do not allow some spurious overflow exceptions.
24801         (sqrt_test): Add more tests.
24802         (tgamma_test): Likewise.
24803         (y0_test): Likewise.
24804         (y1_test): Likewise.
24805         (yn_test): Likewise.
24806
24807 2012-03-27  Anton Blanchard  <anton@samba.org>
24808
24809         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24810         MAP_HUGETLB.
24811         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24812         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24813         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24814
24815 2012-03-27  David S. Miller  <davem@davemloft.net>
24816
24817         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24818
24819         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24820         have-as-vis3 check.
24821
24822 2012-03-27  Andreas Jaeger  <aj@suse.de>
24823
24824         * sysdeps/x86_64/elf/configure.in: Moved to ...
24825         * sysdeps/x86_64/configure.in: ... here.
24826         * sysdeps/x86_64/elf/start.S: Moved to ...
24827         * sysdeps/x86_64/start.S: ... here.
24828         * sysdeps/x86_64/elf/configure: Delete.
24829
24830         * sysdeps/x86_64/configure.in: Merge contents from
24831         sysdeps/i386/configure.in (without i686 check).
24832
24833         * sysdeps/i386/elf/Versions: Merge into ...
24834         * sysdeps/i386/Versions: ... this.
24835         * sysdeps/i386/elf/Versions: Delete file.
24836         * sysdeps/i386/elf/start.S: Moved to ...
24837         * sysdeps/i386/start.S: ...here.
24838         * sysdeps/i386/elf/configure.in: Merge into...
24839         * sysdeps/i386/configure.in: ...here.
24840         * sysdeps/i386/elf/configure.in: Delete file.
24841         * sysdeps/i386/elf/configure: Delete file.
24842
24843         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24844         * debug/backtracesyms.c: ... here.
24845         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24846         * debug/backtracesymsfd.c: ... here.
24847         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24848         * sysdeps/generic/ifunc-sel.h: ... here.
24849
24850         * sysdeps/unix/i386/start.c: Delete file.
24851         * sysdeps/unix/sparc/start.c: Delete file.
24852         * sysdeps/unix/start.c: Delete file.
24853
24854         * sysdeps/sh/elf/configure.in: Moved to ...
24855         * sysdeps/sh/configure.in: ... here.
24856         * sysdeps/sh/elf/start.S: Moved to ...
24857         * sysdeps/sh/start.S: ... here.
24858         * sysdeps/sh/elf/configure: Delete file.
24859
24860         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24861         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24862         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24863         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24864         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24865         * sysdeps/powerpc/powerpc64/start.S: here.
24866         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24867         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24868         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24869         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24870         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24871
24872         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24873         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24874         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24875         * sysdeps/powerpc/powerpc32/start.S: ... here.
24876         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24877         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24878         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24879
24880         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24881         * sysdeps/powerpc/ifunc-sel.h: ... here.
24882         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24883         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24884
24885         * sysdeps/sparc/elf/configure.in: Moved to ...
24886         * sysdeps/sparc/configure.in: ... here.
24887         * sysdeps/sparc/elf/configure: Delete file.
24888         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24889         * sysdeps/sparc/sparc32/start.S: ... here.
24890         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24891         * sysdeps/sparc/sparc64/start.S: ... here.
24892         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24893         * sysdeps/sparc/sparc32/Makefile: ... this.
24894         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24895         * sysdeps/sparc/sparc64/Makefile: ... this.
24896
24897         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24898         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24899         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24900         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24901         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24902         * sysdeps/s390/s390-32/setjmp.S: ... here.
24903         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24904         * sysdeps/s390/s390-32/configure.in: ... here.
24905         * sysdeps/s390/s390-32/elf/configure: Delete file.
24906         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24907         * sysdeps/s390/s390-32/start.S: ... here.
24908
24909         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24910         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24911         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24912         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24913         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24914         * sysdeps/s390/s390-64/setjmp.S: ... here.
24915         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24916         * sysdeps/s390/s390-64/configure.in: ... here
24917         * sysdeps/s390/s390-64/elf/configure: Delete file.
24918         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24919         * sysdeps/s390/s390-64/start.S: ... here.
24920         * sysdeps/s390/s390-64/elf/configure: Delete.
24921
24922         * configure.in: Remove support for elf directories in sysdeps.
24923
24924         * configure: Regenerated.
24925         * sysdeps/i386/configure: Regenerated.
24926         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24927         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24928         * sysdeps/s390/s390-32/configure: Regenerated.
24929         * sysdeps/s390/s390-64/configure: Regenerated.
24930         * sysdeps/sh/configure: Regenerated.
24931         * sysdeps/sparc/configure: Regenerated.
24932         * sysdeps/x86_64/configure: Regenerated.
24933
24934 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24935
24936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24937
24938         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24939         denormal result into account.
24940
24941 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24942
24943         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24944         Reported by Allan McRae <allan@archlinux.org>.
24945
24946 2012-03-23  Jeff Law  <law@redhat.com>
24947
24948         * nss/getnssent.c (__nss_getent): Fix typo.
24949
24950 2012-03-23  David S. Miller  <davem@davemloft.net>
24951
24952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24953
24954 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24955
24956         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24957         to pad to uint64_t for each field.
24958         (dl_tls_index): Replace unsigned long with uint64_t.
24959
24960 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24961         Paul Pluzhnikov  <ppluzhnikov@google.com>
24962
24963         [BZ #6528]
24964         * grp/Makefile (otherlibs): Don't set it.
24965         * inet/Makefile (otherlibs): Likewise.
24966         * login/Makefile (otherlibs): Likewise.
24967         * nscd/Makefile (otherlibs): Likewise.
24968         * posix/Makefile (otherlibs): Likewise.
24969         * pwd/Makefile (otherlibs): Likewise.
24970         * rt/Makefile (otherlibs): Likewise.
24971         * sunrpc/Makefile (otherlibs): Likewise.
24972         * nss/Makefile (otherlibs): Likewise.
24973         Add libnss_files to routines and static-only-routines.
24974         ($(objpfx)getent): Remove rule.
24975         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24976         static-only-routines.
24977
24978 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24979
24980         [BZ #13892]
24981         * math/s_cexp.c: Include <float.h>.
24982         (__cexp): Handle exp result overflowing not necessarily
24983         overflowing both real and imaginary parts of result.
24984         * math/s_cexpf.c: Likewise.
24985         * math/s_cexpl.c: Likewise.
24986         * math/libm-test.inc (cexp_test): Add more tests.
24987         * sysdeps/i386/fpu/libm-test-ulps: Update.
24988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24989
24990 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24991
24992         * include/link.h (ELFW): New macro.
24993         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24994         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24995
24996 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24997
24998         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24999         with uint64_t.
25000
25001 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25002
25003         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25004         declaration.
25005         (struct La_x32_retval): Likewise.
25006
25007 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25008
25009         * sysdeps/x86_64/preconfigure.in: New file.
25010         * sysdeps/x86_64/preconfigure: New generated file.
25011
25012 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
25013
25014         [BZ #13824]
25015         * math/e_exp2l.c: Include <float.h>.
25016         (__ieee754_exp2l): Handle overflow and underflow cases
25017         separately.  Only pass fractional part of argument to
25018         __ieee754_expl.
25019         * math/libm-test.inc (exp2_test): Add more tests.
25020
25021         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25022         negating x to take absolute value.
25023         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25024         Likewise.
25025         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25026         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25027         Likewise.
25028         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25029         computing low part if x was negated.
25030         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25031
25032 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25033
25034         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25035         la_x32_gnu_pltexit.
25036         (pltexit): Cast int_retval to ptrdiff_t.
25037         * elf/tst-auditmod3b.c: Likewise.
25038         * elf/tst-auditmod4b.c: Likewise.
25039         * elf/tst-auditmod5b.c: Likewise.
25040         * elf/tst-auditmod6b.c: Likewise.
25041         * elf/tst-auditmod6c.c: Likewise.
25042         * elf/tst-auditmod7b.c: Likewise.
25043
25044         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25045         and x32_gnu_pltexit.
25046
25047         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25048         __ELF_NATIVE_CLASS.
25049         (La_x32_regs): New macro.
25050         (La_x32_retval): Likewise.
25051         (la_x32_gnu_pltenter): New function prototype.
25052         (la_x32_gnu_pltexit): Likewise.
25053
25054 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
25055
25056         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25057         exponent.
25058
25059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25060
25061         * configure.in (libc_cv_cc_nofma): Check for option to disable
25062         generation of FMA instructions.
25063         * configure: Regenerate.
25064         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25065         * sysdeps/ieee754/dbl-64/Makefile: New file.
25066         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25067         Remove brandred-fma4.
25068         (CFLAGS-brandred-fma4.c): Remove.
25069         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25070         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25071         define.
25072         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25073         define.
25074
25075 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25076
25077         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25078         LLONG_MAX != LONG_MAX.
25079         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25080         (_fitoa_word): Likewise.
25081         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25082         LLONG_MAX != LONG_MAX.
25083         * stdio-common/_itowa.h: Include <_itoa.h>.
25084         (_itowa_word): Use _ITOA_WORD_TYPE on value.
25085         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
25086         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
25087         only if not defined.
25088         (_ITOA_WORD_TYPE): Likewise.
25089         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25090         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25091
25092 2012-03-21  David S. Miller  <davem@davemloft.net>
25093
25094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25095
25096 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25097
25098         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25099         of x86_64 when setting libc_cv_slibdir, libdir and
25100         libc_cv_localedir.
25101         * sysdeps/unix/sysv/linux/configure: Regenerated.
25102
25103 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25104
25105         * manual/lang.texi (Old Varargs): Remove section.
25106         (How Variadic): Update menu.
25107         (va_start): Do not mention varargs.h.
25108
25109 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25110             Joseph Myers  <joseph@codesourcery.com>
25111
25112         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25113         link test.
25114         * configure: Regenerated.
25115
25116 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25117
25118         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25119         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25120         conformtest.pl
25121
25122 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25123
25124         * NOTES: Remove.
25125         * Makefile (files-for-dist): Remove NOTES.
25126         (NOTES): Remove rule.
25127         * README: Don't refer to NOTES.
25128         * manual/creature.texi: Don't include macros.texi.
25129         * manual/intro.texi (creature.texi): Remove comment referring to
25130         NOTES.
25131
25132         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25133         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25134         * configure: Regenerated.
25135         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25136         LIBC_TRY_CC_OPTION.
25137         (libc_cv_as_i686): Likewise.
25138         (libc_cv_cc_avx): Likewise.
25139         (libc_cv_cc_sse2avx): Likewise.
25140         (libc_cv_cc_fma4): Likewise.
25141         (libc_cv_cc_novzeroupper): Likewise.
25142         * sysdeps/i386/configure: Regenerated.
25143
25144         [BZ #13883]
25145         * sysdeps/i386/fpu/s_cexp.S: Remove.
25146         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25147         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25148         * math/libm-test.inc (cexp_test): Add more tests.
25149         * sysdeps/i386/fpu/libm-test-ulps: Update.
25150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25151
25152 2012-03-21  Allan McRae  <allan@archlinux.org>
25153
25154         * timezone/Makefile: Do not install iso3166.tab and zone.tab
25155
25156 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25157
25158         [BZ #13871]
25159         * math/w_exp2.c: Do not include <float.h>.
25160         (o_threshold, u_threshold): Remove.
25161         (__exp2): Calculate result before checking finiteness and calling
25162         __kernel_standard.
25163         * math/w_exp2f.c: Likewise.
25164         * math/w_exp2l.c: Likewise.
25165         * math/libm-test.inc (exp2_test): Require overflow exception for
25166         1e6 input.
25167
25168         [BZ #3866]
25169         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25170         range of signed 64-bit integers before using fistpll.  Remove
25171         checks for whether integers fit in mantissa bits.
25172         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25173         the range of signed 32-bit integers before using fistpl.  Remove
25174         checks for whether integers fit in mantissa bits.
25175         * sysdeps/i386/fpu/e_powl.S (p64): New object.
25176         (__ieee754_powl): Test for y outside the range of signed 64-bit
25177         integers before using fistpll.  Reduce 64-bit values to 63-bit
25178         ones as needed.
25179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25180         divide-by-zero is raised for zero to large negative powers.
25181         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25182         (__ieee754_powl): Test for y outside the range of signed 64-bit
25183         integers before using fistpll.  Reduce 64-bit values to 63-bit
25184         ones as needed.
25185         * math/libm-test.inc (pow_test): Add more tests.
25186
25187 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25188
25189         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25190         <stdio-common/_itoa.h>.
25191         * debug/segfault.c: Likewise.
25192         * elf/dl-cache.c: Likewise.
25193         * elf/dl-minimal.c: Likewise.
25194         * elf/dl-misc.c: Likewise.
25195         * elf/dl-sysdep.c: Likewise.
25196         * elf/dl-version.c: Likewise.
25197         * elf/rtld.c: Likewise.
25198         * hurd/hurdsock.c: Likewise.
25199         * hurd/lookup-retry.c: Likewise.
25200         * malloc/malloc.c: Likewise.
25201         * malloc/mtrace.c: Likewise.
25202         * nscd/nscd_getgr_r.c: Likewise.
25203         * nscd/nscd_getpw_r.c: Likewise.
25204         * nscd/nscd_getserv_r.c: Likewise.
25205         * posix/getopt_init.c: Likewise.
25206         * posix/wordexp.c: Likewise.
25207         * stdio-common/_itoa.c: Likewise.
25208         * stdio-common/printf_fphex.c: Likewise.
25209         * stdio-common/vfprintf.c: Likewise.
25210         * string/_strerror.c: Likewise.
25211         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25212         * sysdeps/i386/i686/hp-timing.h: Likewise.
25213         * sysdeps/mach/_strerror.c: Likewise.
25214         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25215         * sysdeps/mach/hurd/sethostid.c: Likewise.
25216         * sysdeps/mach/hurd/xmknodat.c: Likewise.
25217         * sysdeps/mach/xpg-strerror.c: Likewise.
25218         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25219         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25220         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25221         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25222         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25223         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25224         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25225         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25226         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25227         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25228         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25229         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25230         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25231         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25232         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25233         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25234         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25235         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25236         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25237         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25238         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25239
25240         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25241
25242         * stdio-common/_itoa.h: Moved to ...
25243         * sysdeps/generic/_itoa.h: Here.
25244
25245         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25246
25247         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25248         instead of "_itoa.h" and "_itowa.h".
25249         * stdio-common/vfprintf.: Likewise.
25250
25251 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25252
25253         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25254         <bits/wordsize.h>.
25255         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25256         (__signbit): Likwise.
25257         (llrintf): Likwise.
25258         (llrint): Likwise.
25259
25260 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25261
25262         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25263         __WORDSIZE != 64.
25264
25265 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
25266
25267         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25268         OVERFLOW_EXCEPTION_OK.
25269         * math/libm-test.inc ("Philosophy"): Update comment about
25270         exception testing.
25271         (OVERFLOW_EXCEPTION): Define.
25272         (OVERFLOW_EXCEPTION_OK): Likewise.
25273         (INVALID_EXCEPTION_OK): Renumber.
25274         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25275         (IGNORE_ZERO_INF_SIGN): Likewise.
25276         (test_exceptions): Handle FE_OVERFLOW.
25277         (exp10_test): Expect overflow exceptions.
25278         (exp2_test): Likewise.
25279         (expm1_test): Likewise.
25280         (nextafter_test): Likewise.
25281         (pow_test): Likewise.
25282         (scalbn_test): Likewise.
25283         (scalbln_test): Likewise.
25284
25285 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25286
25287         * sysdeps/x86_64/bits/atomic.h
25288         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25289         64bit integer.
25290         (atomic_exchange_acq): Likewise.
25291         (__arch_exchange_and_add_body): Likewise.
25292         (__arch_add_body): Likewise.
25293         (atomic_add_negative): Likewise.
25294         (atomic_add_zero): Likewise.
25295
25296 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25297
25298         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25299         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25300
25301 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25302
25303         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25304         Check __x86_64__ instead of __WORDSIZE.
25305
25306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25307
25308         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25309
25310 2012-03-19  David S. Miller  <davem@davemloft.net>
25311
25312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25313
25314         * sysdeps/sparc/fpu/fenv_private.h: New file.
25315         * sysdeps/sparc/fpu/math_private.h: Use it.
25316         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25317         Remove.
25318         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25319         (libc_feholdexcept_setroundl): Remove.
25320         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25321         Remove.
25322         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25323         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25324
25325 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25326
25327         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25328         int64_t instead of long int.
25329         (INSERT_WORDS64): Likwise.
25330
25331 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25332
25333         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25334         _Unwind_GetCFA return to _Unwind_Ptr first.
25335
25336 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
25337
25338         [BZ #13629]
25339         * math/s_clog.c: Include <float.h>.
25340         (__clog): Scale large or subnormal inputs.
25341         * math/s_clogf.c: Likewise.
25342         * math/s_clogl.c: Likewise.
25343         * math/s_clog10.c: Include <float.h>.
25344         (M_LOG10_2): Define.
25345         (__clog10): Scale large or subnormal inputs.
25346         * math/s_clog10f.c: Likewise.
25347         * math/s_clog10l.c: Likewise.
25348         * math/libm-test.inc (clog_test): Add more tests.
25349         (clog10_test): Likewise.
25350         * sysdeps/i386/fpu/libm-test-ulps: Update.
25351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25352
25353         [BZ #11451]
25354         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25355         x and y.
25356         * math/libm-test.inc (atan2_test): Add another test.
25357
25358         * Makerules (common-objdir-compile): Remove.
25359         * sysdeps/unix/Makefile (config-generated): Do not add
25360         $(unix-generated) to variable.
25361         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25362         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25363         Remove rule.
25364         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25365         Likewise.
25366         [generic bits/local_lim.h] (before-compile): Do not append to
25367         variable.
25368         [generic bits/local_lim.h] (common-generated): Likewise.
25369         [generic sys/param.h] (before-compile): Do not append to variable.
25370         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25371         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25372         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25373         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25374         include.
25375         [generic sys/param.h] (sys/param.h-includes): Remove variable.
25376         [generic sys/param.h] (sys/param.h-includes): Remove rule.
25377         [generic sys/param.h] ($(addprefix
25378         $(common-objpfx),$(sys/param.h-includes))): Likewise.
25379         [generic sys/param.h] (common-generated): Do not append to
25380         variable.
25381         [generic sys/param.h] (sysdep_headers): Likewise.
25382         [generic bits/errno.h] (before-compile): Do not append to
25383         variable.
25384         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25385         rule.
25386         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25387         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25388         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25389         [generic bits/errno.h] (common-generated): Do not append to
25390         variable.
25391         [generic bits/ioctls.h] (before-compile): Do not append to
25392         variable.
25393         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25394         rule.
25395         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25396         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25397         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25398         rule.
25399         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25400         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25401         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25402         [generic bits/ioctls.h] (common-generated): Do not append to
25403         variable.
25404         [generic sys/syscall.h] (syscall.h): Remove variable.
25405         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25406         rule.
25407         [generic sys/syscall.h] (before-compile): Do not append to
25408         variable.
25409         [generic sys/syscall.h] (common-generated): Likewise.
25410         * sysdeps/unix/errnos-tmpl.c: Remove file.
25411         * sysdeps/unix/errnos.awk: Likewise.
25412         * sysdeps/unix/ioctls-tmpl.c: Likewise.
25413         * sysdeps/unix/ioctls.awk: Likewise.
25414         * sysdeps/unix/mk-local_lim.c: Likewise.
25415         * sysdeps/unix/snarf-ioctls: Likewise.
25416
25417 2012-03-19  Richard Henderson  <rth@twiddle.net>
25418
25419         * sysdeps/i386/fpu/fenv_private.h: New file.
25420         * sysdeps/i386/fpu/math_private.h: Use it.
25421         (math_opt_barrier, math_force_eval): Remove.
25422         (libc_feholdexcept_setround_53bit): Remove.
25423         (libc_feupdateenv_53bit): Remove.
25424         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25425         (math_opt_barrier, math_force_eval): Remove.
25426         (libc_feholdexcept): Remove.
25427         (libc_feholdexcept_setround): Remove.
25428         (libc_fetestexcept, libc_fesetenv): Remove.
25429         (libc_feupdateenv_test): Remove.
25430         (libc_feupdateenv, libc_feholdsetround): Remove.
25431         (libc_feresetround): Remove.
25432
25433         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25434         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25435
25436         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25437         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25438         (libc_feupdateenv_testl): New.
25439         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25440         (libc_feupdateenv_testf): New.
25441         (libc_feupdateenv): Use libc_feupdateenv_test.
25442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25443         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25444
25445         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25446         (libc_feholdsetroundf, libc_feholdsetroundl): New.
25447         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25448         (libc_feresetround_noex): New.
25449         (libc_feresetround_noexf): New.
25450         (libc_feresetround_noexl): New.
25451         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25452         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25453         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25454         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25455         SET_RESTORE_ROUND.
25456         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25458         (__cos): Likewise.
25459         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25461         SET_RESTORE_ROUND_NOEX.
25462         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25463         SET_RESTORE_ROUND_NOEXF.
25464         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25465         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25466         (libc_feholdsetroundf): New.
25467         (libc_feresetround, libc_feresetroundf): New.
25468
25469         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25470         (libc_feholdexcept_setround_53bit): Convert from macro to function.
25471         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
25472
25473         * sysdeps/generic/math_private.h: Include <fenv.h>.
25474         (default_libc_feholdexcept): New.
25475         (default_libc_feholdexcept_setround): New.
25476         (default_libc_fesetenv, default_libc_feupdateenv): New.
25477         (libc_feholdexcept): Only define if undefined.
25478         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25479         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25480         (libc_feholdexcept_setroundl): Likewise.
25481         (libc_feholdexcept_setround_53bit): Likewise.
25482         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25483         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25484         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25485         (libc_feupdateenv_53bit): Likewise.
25486         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25487         (libc_feholdexcept): Convert from macro to inline function.
25488         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25489         (libc_fesetenv, libc_feupdateenv): Likewise.
25490
25491         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25492         not previously defined.
25493         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25494         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25495         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25496         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25497         * sysdeps/ieee754/flt-32/math_private.h: New file.
25498         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25499         math_private.h below SET_FLOAT_WORD.
25500         (__isnan, __isinf_ns, __finite): Remove.
25501         (__isnanf, __isinf_nsf, __finitef): Remove.
25502
25503 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25504
25505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25506
25507 2012-03-17  David S. Miller  <davem@davemloft.net>
25508
25509         [BZ #6471]
25510         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25511         for 2.16.
25512
25513 2012-03-16  David S. Miller  <davem@davemloft.net>
25514
25515         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25516         warnings.
25517
25518         [BZ #6471]
25519         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25520         properly.
25521         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25522         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25523         sysdep_routines when subdir is sysvipc.
25524         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25525         __getshmlba helper.
25526
25527         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25528
25529 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25530
25531         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25532         [__LP64__].
25533
25534 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25535
25536         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25537         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25538         (__lround): Renamed to ...
25539         (__llround): This.  Replace long int with long long int.
25540         Define lround functions as aliases of llround functions.
25541         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25542
25543 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25544
25545         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25546         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25547         adresses to uintptr_t.  Replace "long int" and "unsigned long
25548         int" with "greg_t" on va_arg.
25549
25550 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25551
25552         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25553         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25554
25555         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25556         Move e_machine check before EI_CLASS check.  Handle x32
25557         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25558         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25559         SKIP_EM_IA_64 and include
25560         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25561
25562         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25563         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25564         (add_system_dir): New macro.
25565
25566         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25567         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25568
25569 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25570
25571         [BZ #2551]
25572         [BZ #2552]
25573         [BZ #2553]
25574         [BZ #2554]
25575         [BZ #2562]
25576         [BZ #2563]
25577         [BZ #2565]
25578         [BZ #2566]
25579         [BZ #2576]
25580         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25581         (y0): Likewise.
25582         * math/w_j0f.c (j0f): Likewise.
25583         (y0f): Likewise.
25584         * math/w_j0l.c (__j0l): Likewise.
25585         (__y0l): Likewise.
25586         * math/w_j1.c (j1): Likewise.
25587         (y1): Likewise.
25588         * math/w_j1f.c (j1f): Likewise.
25589         (y1f): Likewise.
25590         * math/w_j1l.c (__j1l): Likewise.
25591         (__y1l): Likewise.
25592         * math/w_jn.c (jn): Likewise.
25593         (yn): Likewise.
25594         * math/w_jnf.c (jnf): Likewise.
25595         (ynf): Likewise.
25596         * math/w_jnl.c (__jnl): Likewise.
25597         (__ynl): Likewise.
25598         * math/libm-test.inc (j0_test): Add more tests.
25599         (j1_test): Likewise.
25600         (jn_test): Likewise.  Add trailing semicolon to existing test.
25601         (y0_test): Likewise.
25602         (y1_test): Likewise.
25603         * sysdeps/i386/fpu/libm-test-ulps: Update.
25604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25605
25606         [BZ #13851]
25607         [BZ #13854]
25608         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25609         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25610         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25611         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25612         (__tanl): Set errno for infinite argument.
25613         * sysdeps/i386/fpu/mptan.c: Remove.
25614         * sysdeps/i386/fpu/s_tan.S: Likewise.
25615         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25616         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25617         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25618         * math/libm-test.inc (tan_test): Add more tests and enable more
25619         tests for double and long double.
25620         * sysdeps/i386/fpu/libm-test-ulps: Update.
25621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25622
25623 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25624
25625         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25626         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25627
25628 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25629
25630         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25631         * configure.in: Use it for both main tree and add-ons.
25632         * configure: Regenerated.
25633
25634 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25635
25636         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25637
25638 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25639
25640         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25641         in comment.
25642
25643         [BZ #13851]
25644         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25645         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25646         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25647         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25648         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25649         infinite argument.
25650         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25651         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25652         != 0 for prec == 2.
25653         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25654         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25655         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25656         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25657         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25658         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25659         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25660         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25661         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25662         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25663         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25664         * math/libm-test.inc (cos_test): Add more tests and enable more
25665         tests for long double.
25666         (sin_test): Likewise.
25667         (sincos_test): Likewise.
25668         * sysdeps/i386/fpu/libm-test-ulps: Update.
25669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25670
25671 2012-03-16  David S. Miller  <davem@davemloft.net>
25672
25673         * sysdeps/sparc/fpu/math_private.h: New file.
25674
25675 2012-03-15  David S. Miller  <davem@davemloft.net>
25676
25677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25678         file.
25679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25681         file.
25682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25683         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25687         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25688         sysdep routines.
25689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25690
25691         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25692         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25693
25694         * sysdeps/sparc/sparc-ifunc.h: New file.
25695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25696         sparc-ifunc.h
25697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25699         Likewise.
25700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25701         Likewise.
25702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25706         Likewise.
25707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25712         Likewise.
25713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25714         Likewise.
25715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25721         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25723         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25725         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25726         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25727         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25729         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25733         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25734         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25735         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25736         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25737         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25738         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25739
25740 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25741
25742         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25743         scaling.
25744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25745
25746 2012-03-15  Andreas Jaeger  <aj@suse.de>
25747
25748         [BZ #13852]
25749         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25750         ieee754/flt-32 implementation for sin, cos and sincos.
25751         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25752         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25753         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25754         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25755         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25756         ieee754/flt-32 implementation for tan.
25757
25758         * math/libm-test.inc (cos_test): Enable some large input tests for
25759         float as well
25760         (sin_test): Likewise.
25761         (sincos_test): Likewise.
25762         (tan_test): Add tests for large input.
25763
25764         * sysdeps/i386/fpu/libm-test-ulps: Update.
25765
25766 2012-03-15  Andreas Jaeger  <aj@suse.de>
25767
25768         [BZ #13658]
25769         * math/libm-test.inc (cos_test): Add more test cases.
25770         (sin_test): Likewise.
25771         (sincos_test): Likewise.
25772
25773 2012-03-15  Andreas Jaeger  <aj@suse.de>
25774
25775         [BZ #13837]
25776         * math/libm-test.inc (cos_test): Add a test case for large input
25777         value.
25778         (sin_test): Likewise.
25779         (sincos_test): Likewise.
25780
25781 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25782         Joseph Myers  <joseph@codesourcery.com>
25783
25784         [BZ #13658]
25785         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25786         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25787         * sysdeps/i386/fpu/branred.c: Likewise.
25788         * sysdeps/i386/fpu/dosincos.c: Likewise.
25789         * sysdeps/i386/fpu/mpa.c: Likewise.
25790         * sysdeps/i386/fpu/s_cos.S: Likewise.
25791         * sysdeps/i386/fpu/s_sin.S: Likewise.
25792         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25793         * sysdeps/i386/fpu/sincos32.c: Likewise.
25794
25795         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25796         Define.
25797         (libc_feupdateenv_53bit): Define.
25798         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25799         Define.
25800         (libc_feupdateenv_53bit): Define.
25801
25802         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25803         53 bit (without extend i386 double precision).
25804
25805         * math/libm-test.inc (sincos_test): Add tests for large input.
25806         (sin): Likewise.
25807         (cos): Likewise.
25808
25809         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25810
25811 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25812
25813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25814
25815 2012-03-15  David S. Miller  <davem@davemloft.net>
25816
25817         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25818         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25819         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25820         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25829         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25833         file.
25834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25836         file.
25837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25839         file.
25840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25842         file.
25843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25844         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25845         fmin/fmax sysdep routines.
25846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25847
25848 2012-03-14  David S. Miller  <davem@davemloft.net>
25849
25850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25854         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25855         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25856         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25857         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25861         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25862         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25863         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25866         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25867         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25868         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25869         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25870         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25871         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25872         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25873         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25874         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25875         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25876         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25877         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25879         routines.
25880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25881         file.
25882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25884         file.
25885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25887         file.
25888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25890         file.
25891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25893         file.
25894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25896         file.
25897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25898         file.
25899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25900         file.
25901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25902         file.
25903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25904         New file.
25905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25906         file.
25907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25908         file.
25909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25911         file.
25912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25914         file.
25915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25917         file.
25918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25920         VIS3 routines.
25921
25922         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25923         New file.
25924
25925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25926
25927         * sysdeps/sparc/configure.in: New file.
25928         * sysdeps/sparc/configure: Generate.
25929         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25930         * configure: Regenerate.
25931         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25932         * config.make.in (have-as-vis3): New.
25933         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25934         available use -Av9d instead of -Av9a.
25935         * sysdeps/sparc/sparc64/Makefile: Likewise.
25936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25938         New file.
25939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25940         file.
25941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25942         New file.
25943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25944         file.
25945         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25946         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25947         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25948         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25949         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25950
25951         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25952         fzeros/fnegs to load 0x80000000 into a float register instead of
25953         using the stack.
25954         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25955
25956 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25957
25958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25959         bits/syscall.h.
25960         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25961         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25962         ($(inst_includedir)/bits/syscall.h): Remove rule.
25963         ($(objpfx)bits/syscall.d): Include instead of
25964         $(objpfx)syscall-list.d.
25965         (generated): Change syscall-list.h and syscall-list.d to
25966         bits/syscall.h and bits/syscall.d.
25967
25968 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25969
25970         [BZ #13846]
25971         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25972
25973 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25974
25975         [BZ #13841]
25976         * math/s_csqrt.c: Include <float.h>.
25977         (__csqrt): Scale large or subnormal inputs.
25978         * math/s_csqrtf.c: Likewise.
25979         * math/s_csqrtl.c: Likewise.
25980         * math/libm-test.inc (csqrt_test): Add more tests.
25981         * sysdeps/i386/fpu/libm-test-ulps: Update.
25982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25983
25984         [BZ #13840]
25985         * math/libm-test.inc (hypot_test): Add more tests.
25986
25987 2012-03-13  David S. Miller  <davem@davemloft.net>
25988
25989         [BZ #13840]
25990         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25991         double-precision for the calculation instead of scaling.
25992
25993 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25994
25995         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25996         manipulate bits before adding and subtracting TWO52[sx].
25997         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25998         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25999         Likewise.
26000         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26001
26002 2012-03-13  David S. Miller  <davem@davemloft.net>
26003
26004         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26005         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26006         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26007         rtld-global-offsets.h
26008         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26009
26010         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26011         large parameters.
26012
26013         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26014
26015         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26016         'err' in the ifdef scope in which it is actually used.
26017
26018         * nss/nss_db/db-init.c: Include string.h
26019
26020 2012-03-12  David S. Miller  <davem@davemloft.net>
26021
26022         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26023         masking out of the most significant byte of random value used.
26024         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26025         Fix coding style in previous change.
26026
26027         * sysdeps/unix/sysv/linux/kernel-features.h
26028         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26029         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26030         expression.
26031         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26032         later.
26033
26034 2012-03-11  David S. Miller  <davem@davemloft.net>
26035
26036         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26037         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26038         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26039         for 'resultvar' otherwise things get truncated on 64-bit.
26040
26041         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26042         Fix masking out of the most significant byte of random value used.
26043
26044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26045
26046 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
26047
26048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26049
26050 2012-03-09  David S. Miller  <davem@davemloft.net>
26051
26052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26053         variables with appropriate CPP guards.
26054         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26055         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
26056         on resulting framesize and the management of the outregs buffer for pltexit.
26057         Preserve floating point return values across _dl_call_pltexit call.
26058         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26059         framesize and the management of the outregs buffer for pltexit.
26060         Preserve floating point return values across _dl_call_pltexit
26061         call.
26062         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26063         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26064         (print_exit): Fix format string for return register value.
26065
26066 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
26067
26068         * sunrpc/Makefile (others): Add rpcgen.
26069         ($(objpfx)rpcgen): Remove special build rule and dependency on
26070         libc.
26071         * sunrpc/rpcgen.c: New file.
26072
26073 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
26074
26075         [BZ #13673]
26076         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26077         * stdio-common/bug-vfprintf-nargs.c: Likewise.
26078         * sysdeps/i386/crti.S: Likewise.
26079         * sysdeps/i386/crtn.S: Likewise.
26080         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26081         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26082         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26083         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26084         * sysdeps/sh/crti.S: Likewise.
26085         * sysdeps/sh/crtn.S: Likewise.
26086         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26087
26088         [BZ #13673]
26089         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26090         with URL.
26091         * locale/programs/locfile-kw.gperf: Likewise.
26092         * locale/programs/charmap-kw.h: Regenerated.
26093         * locale/programs/locfile-kw.h: Likewise.
26094
26095         [BZ #13673]
26096         * intl/plural.y: Replace FSF snail mail address with URL.
26097         * intl/plural.c: Regenerated.
26098
26099 2012-03-09  Richard Henderson  <rth@twiddle.net>
26100
26101         * include/math_private.h: Remove file.
26102         * math/math_private.h: Move file ...
26103         * sysdeps/generic/math_private.h: ... here.
26104
26105         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26106         * sysdeps/powerpc/fpu/math_private.h: Likewise.
26107         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26108
26109         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26110         and <math_private.h>.
26111         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26112         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26113         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26114         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26115         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26116         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26117         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26119         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26120         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26122         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26123         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26124         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26125         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26126         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26127         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26129         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26130         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26132         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26133         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26134         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26135         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26136         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26137         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26138         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26140         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26141         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26142         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26143         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26144         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26145         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26146         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26147         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26148         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26149         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26150         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26151         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26152         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26153         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26154         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26155         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26156         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26157         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26158         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26159         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26160         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26161         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26162         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26163         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26164         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26165         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26166         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26167         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26168         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26169         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26170         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26171         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26172         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26173         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26174         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26175         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26176         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26177         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26178         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26179         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26180         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26181         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26182         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26183         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26185         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26187         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26189         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26190         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26191         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26192         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26193         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26194         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26195         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26197         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26198         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26199         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26200         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26201         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26202         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26203         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26204         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26205         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26206         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26207         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26208         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26209         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26210         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26211         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26212         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26213         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26214         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26215         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26216         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26217         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26218         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26219         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26221         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26222         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26223         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26224         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26225         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26226         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26227         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26228         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26229         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26230         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26231         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26232         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26233         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26234         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26235         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26236         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26237         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26238         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26239         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26240         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26241         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26242         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26243         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26244         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26245         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26246         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26247         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26248         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26249         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26250         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26251         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26252         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26253         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26254         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26255         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26256         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26257         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26258         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26259         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26260         * sysdeps/ieee754/k_standard.c: Likewise.
26261         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26262         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26263         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26264         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26265         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26266         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26267         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26268         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26269         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26270         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26271         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26272         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26273         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26274         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26275         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26276         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26277         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26278         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26279         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26280         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26281         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26282         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26283         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26284         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26285         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26286         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26287         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26288         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26289         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26290         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26291         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26292         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26293         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26294         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26295         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26296         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26297         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26298         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26299         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26300         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26301         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26302         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26303         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26304         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26305         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26306         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26307         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26308         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26309         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26310         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26311         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26312         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26313         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26314         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26315         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26316         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26317         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26318         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26319         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26320         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26321         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26322         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26323         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26324         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26325         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26326         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26327         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26328         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26329         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26330         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26331         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26333         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26334         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26335         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26336         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26337         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26338         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26339         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26340         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26341         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26342         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26343         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26344         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26345         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26346         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26347         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26348         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26349         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26351         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26352         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26353         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26354         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26355         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26356         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26357         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26358         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26359         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26360         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26361         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26362         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26364         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26365         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26366         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26367         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26368         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26369         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26370         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26371         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26372         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26373         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26374         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26375         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26376         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26377         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26380         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26383         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26384         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26385         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26386         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26387         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26388         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26389         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26390         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26391         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26392         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26393         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26394         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26395         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26396         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26397         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26398         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26399         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26400         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26401         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26402         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26403         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26404         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26405         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26406         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26407         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26408         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26409         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26410         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26411         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26412         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26413         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26414         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26415         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26416         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26417         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26418         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26419         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26420         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26421         * sysdeps/ieee754/s_lib_version.c: Likewise.
26422         * sysdeps/ieee754/s_matherr.c: Likewise.
26423         * sysdeps/ieee754/s_signgam.c: Likewise.
26424         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26425         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26426         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26427         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26428         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26429         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26430         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26431         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26432         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26433         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26434         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26435         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26436         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26437         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26438         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26439         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26440         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26441         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26442         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26443         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26444         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26445
26446 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26447
26448         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26449         * sunrpc/rpc_main.c: Likewise.
26450         * sunrpc/rpc_svcout.c: Likewise.
26451
26452 2012-03-09  David S. Miller  <davem@davemloft.net>
26453
26454         * include/math_private.h: New file.
26455
26456 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26457
26458         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26459         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26460         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26461         from <bits/socket_type.h>.
26462         (enum __socket_type): Don't define here.
26463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26465         bits/socket_type.h.
26466
26467         [BZ #13566]
26468         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26469         checking __USE_GNU.
26470
26471         * Makerules ($(inst_includedir)/%.h): New rule.
26472         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26473         (install-others): Remove variable setting.
26474         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26475
26476 2012-03-08  Richard Henderson  <rth@twiddle.net>
26477
26478         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26479         from macro to inline function; merge with the
26480         !__LIBC_INTERNAL_MATH_INLINES version.
26481         (__ieee754_sqrtf): Likewise.
26482
26483         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26484         to inline function.
26485         (__rintf, __floor, __floorf): Likewise.
26486
26487         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26488         macro to inline function.
26489         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26490
26491         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26492         not <math/math_private.h>.
26493
26494 2012-03-08  David S. Miller  <davem@davemloft.net>
26495
26496         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26497         copyright year.
26498         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26499
26500 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26501
26502         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26503         normalization.
26504         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26505         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26506
26507 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26508
26509         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26510         be defined individually, they must be defined as a block.  Define
26511         S for printing a string instead of hidint the different by using a
26512         macro for adding the 'l'.
26513         * stdio-common/tst-fphex-wide.c: Adjust.
26514
26515 2012-03-07  Marek Polacek  <polacek@redhat.com>
26516
26517         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26518
26519 2012-03-08  Marek Polacek  <polacek@redhat.com>
26520
26521         [BZ #13806]
26522         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26523         * stdio-common/tst-fphex.c: Define a few macros to make the
26524         test reusable.  Use them.
26525         * stdio-common/tst-fphex-wide.c: New file.
26526
26527 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26528
26529         [BZ #6911]
26530         * manual/macros.texi (gnusystems): New macro.
26531         (nongnusystems): Likewise.
26532         (gnulinuxhurdsystems): Likewise.
26533         (gnuhurdsystems): Likewise..
26534         (gnulinuxsystems): Likewise.
26535         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26536         variants of the GNU system, not "GNU system".
26537         * manual/conf.texi: Likewise.
26538         * manual/errno.texi: Likewise.  Update example of errno macro
26539         expansion.
26540         * manual/filesys.texi: Likewise.
26541         (getumask): Document as specific to GNU/Hurd.
26542         * manual/install.texi: Likewise.  Reword some references to
26543         GNU/Linux.
26544         * manual/intro.texi: Likewise.
26545         * manual/io.texi: Likewise.
26546         (File Name Portability): Detail which constraints are inapplicable
26547         to all GNU systems and which are only inapplicable to GNU/Hurd.
26548         * manual/job.texi: Likewise.
26549         * manual/llio.texi: Likewise.
26550         (O_NOCTTY): Document as present on GNU/Linux.
26551         * manual/maint.texi: Likewise.
26552         * manual/memory.texi: Likewise.
26553         * manual/pattern.texi: Likewise.
26554         * manual/pipe.texi: Likewise.
26555         * manual/process.texi: Likewise.
26556         * manual/resource.texi: Likewise.
26557         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26558         child on GNU/Hurd.
26559         * manual/setjmp.texi: Likewise.
26560         * manual/signal.texi: Likewise.
26561         * manual/startup.texi: Likewise.
26562         * manual/stdio.texi: Likewise.
26563         * manual/terminal.texi: Likewise.
26564         (ONLCR): Document as POSIX.
26565         (OXTABS): Document availability on GNU/Linux as XTABS.
26566         (ONOEOT): Document availability separately from other bits.
26567         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26568         * manual/time.texi: Likewise.
26569         * manual/users.texi: Likewise.
26570         * INSTALL: Regenerated.
26571         * sysdeps/gnu/errlist.c: Regenerated.
26572
26573         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26574         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26575         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26576         puts.
26577         * configure: Regenerated.
26578
26579 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26580
26581         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26582         default includes instead of AC_HEADER_CHECK.
26583         * sysdeps/i386/configure: Regenerated.
26584
26585         [BZ #10716]
26586         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26587         * math/s_cacoshf.c (__cacoshf): Likewise.
26588         * math/s_cacoshl.c (__cacoshl): Likewise.
26589         * math/s_casinh.c (__casinh): Set signs of result from argument.
26590         * math/s_casinhf.c (__casinhf): Likewise.
26591         * math/s_casinhl.c (__casinhl): Likewise.
26592         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26593         (casinh_test): Add more tests.
26594         * sysdeps/i386/fpu/libm-test-ulps: Update.
26595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26596
26597 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26598
26599         * po/zh_TW.po: Update from translation team.
26600
26601         * login/Makefile (distribute): Remove variable.
26602         * catgets/Makefile: Likewise.
26603         * mach/Makefile: Likewise.
26604         * malloc/Makefile: Likewise.
26605         * misc/Makefile: Likewise.
26606         * iconv/Makefile: Likewise.
26607         * nscd/Makefile: Likewise.
26608         * hurd/Makefile: Likewise.
26609         * manual/Makefile: Likewise.
26610         * locale/Makefile: Likewise.
26611         * intl/Makefile: Likewise.
26612         * conform/Makefile: Likewise.
26613         * nss/Makefile: Likewise.
26614         * time/Makefile: Likewise.
26615         * soft-fp/Makefile: Likewise.
26616         * dirent/Makefile: Likewise.
26617         * gmon/Makefile: Likewise.
26618         * po/Makefile: Likewise.
26619         * rt/Makefile: Likewise.
26620         * socket/Makefile: Likewise.
26621         * math/Makefile: Likewise.
26622         * signal/Makefile: Likewise.
26623         * debug/Makefile: Likewise.
26624         * elf/Makefile: Likewise.
26625         * timezone/Makefile: Likewise.
26626         * stdlib/Makefile: Likewise.
26627         * iconvdata/Makefile: Likewise.
26628         * sunrpc/Makefile: Likewise.
26629         * io/Makefile: Likewise.
26630         * argp/Makefile: Likewise.
26631         * inet/Makefile: Likewise.
26632         * hesiod/Makefile: Likewise.
26633         * grp/Makefile: Likewise.
26634         * csu/Makefile: Likewise.
26635         * wctype/Makefile: Likewise.
26636         * crypt/Makefile: Likewise.
26637         * libio/Makefile: Likewise.
26638         * string/Makefile: Likewise.
26639         * nis/Makefile: Likewise.
26640         * resolv/Makefile: Likewise.
26641         * stdio-common/Makefile: Likewise.
26642         * wcsmbs/Makefile: Likewise.
26643         * dlfcn/Makefile: Likewise.
26644         * posix/Makefile: Likewise.
26645
26646         [BZ #6959]
26647         * timezone/Makefile: Don't install timezone files, just the programs
26648         and scripts.
26649
26650 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26651
26652         * nss/databases.def: Add missing gshadow entry.
26653
26654         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26655
26656 2012-03-06  Marek Polacek  <polacek@redhat.com>
26657
26658         [BZ #13726]
26659         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26660         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26661         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26662         * stdio-common/tst-long-dbl-fphex.c: New file.
26663
26664 2012-03-06  David S. Miller  <davem@davemloft.net>
26665
26666         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26667         (set_obp_int): New function.
26668         (get_obp_int): New function.
26669         (__get_clockfreq_via_dev_openprom): Likewise.
26670         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26671         Avoid unused variable warnings on 'val' and use builtin_expect.
26672         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26673         __builtin_expect.
26674         (INLINE_CLONE_SYSCALL): Likewise.
26675
26676 2012-03-05  David S. Miller  <davem@davemloft.net>
26677
26678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26679
26680 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26681
26682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26683
26684         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26685         only for |x| >= 40.
26686         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26687
26688 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26689
26690         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26691         Replace gettimeofday with __vdso_gettimeofday.
26692
26693         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26694         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26695         __vdso_clock_gettime and __vdso_getcpu.
26696
26697         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26698         time with __vdso_time.
26699
26700 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26701
26702         * manual/lang.texi (size_t): Note types to which size_t may be
26703         equivalent with the GNU C Library, but do not describe when
26704         differences between them are significant.
26705
26706 2012-03-05  Andreas Jaeger  <aj@suse.de>
26707
26708         * sysdeps/i386/fpu/libm-test-ulps: Update.
26709
26710 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26711
26712         [BZ #3976]
26713         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26714         (__ieee754_pow): Save and restore rounding mode and use
26715         round-to-nearest for main computations.
26716         * math/libm-test.inc (pow_test_tonearest): New function.
26717         (pow_test_towardzero): Likewise.
26718         (pow_test_downward): Likewise.
26719         (pow_test_upward): Likewise.
26720         (main): Call the new functions.
26721         * sysdeps/i386/fpu/libm-test-ulps: Update.
26722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26723
26724         [BZ #3976]
26725         * math/libm-test.inc (cosh_test_tonearest): New function.
26726         (cosh_test_towardzero): Likewise.
26727         (cosh_test_downward): Likewise.
26728         (cosh_test_upward): Likewise.
26729         (sinh_test_tonearest): Likewise.
26730         (sinh_test_towardzero): Likewise.
26731         (sinh_test_downward): Likewise.
26732         (sinh_test_upward): Likewise.
26733         (main): Call the new functions.
26734         * sysdeps/i386/fpu/libm-test-ulps: Update.
26735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26736
26737 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26738
26739         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26740         default stack guard is set in last bytes.
26741         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26742
26743 2012-03-05  Kees Cook  <keescook@chromium.org>
26744
26745         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26746
26747         [BZ #13656]
26748         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26749         possibly allocate from heap instead of stack.
26750         * stdio-common/bug-vfprintf-nargs.c: New file.
26751         * stdio-common/Makefile (tests): Add nargs overflow test.
26752
26753 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26754
26755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26756
26757 2012-03-03  Marek Polacek  <polacek@redhat.com>
26758
26759         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26760         * math/math_private.h: Likewise.
26761         * stdlib/tst-strtod.c: Likewise.
26762         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26763         * sysdeps/x86_64/bits/atomic.h: Likewise.
26764
26765 2012-03-02  David S. Miller  <davem@davemloft.net>
26766
26767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26771         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26772         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26773         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26774         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26775
26776 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26777
26778         [BZ #13792]
26779         * manual/examples/README: New file, says the example source files
26780         can be used under GPL>=2.
26781         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26782         line containing just "*/".
26783         * manual/examples/add.c: Add copyright header (GPL>=2).
26784         * manual/examples/argp-ex1.c: Likewise.
26785         * manual/examples/argp-ex2.c: Likewise.
26786         * manual/examples/argp-ex3.c: Likewise.
26787         * manual/examples/argp-ex4.c: Likewise.
26788         * manual/examples/atexit.c: Likewise.
26789         * manual/examples/db.c: Likewise.
26790         * manual/examples/dir.c: Likewise.
26791         * manual/examples/dir2.c: Likewise.
26792         * manual/examples/execinfo.c: Likewise.
26793         * manual/examples/filecli.c: Likewise.
26794         * manual/examples/filesrv.c: Likewise.
26795         * manual/examples/fmtmsgexpl.c: Likewise.
26796         * manual/examples/genpass.c: Likewise.
26797         * manual/examples/inetcli.c: Likewise.
26798         * manual/examples/inetsrv.c: Likewise.
26799         * manual/examples/isockad.c: Likewise.
26800         * manual/examples/longopt.c: Likewise.
26801         * manual/examples/memopen.c: Likewise.
26802         * manual/examples/memstrm.c: Likewise.
26803         * manual/examples/mkfsock.c: Likewise.
26804         * manual/examples/mkisock.c: Likewise.
26805         * manual/examples/mygetpass.c: Likewise.
26806         * manual/examples/pipe.c: Likewise.
26807         * manual/examples/popen.c: Likewise.
26808         * manual/examples/rprintf.c: Likewise.
26809         * manual/examples/search.c: Likewise.
26810         * manual/examples/select.c: Likewise.
26811         * manual/examples/setjmp.c: Likewise.
26812         * manual/examples/sigh1.c: Likewise.
26813         * manual/examples/sigusr.c: Likewise.
26814         * manual/examples/stpcpy.c: Likewise.
26815         * manual/examples/strdupa.c: Likewise.
26816         * manual/examples/strftim.c: Likewise.
26817         * manual/examples/strncat.c: Likewise.
26818         * manual/examples/subopt.c: Likewise.
26819         * manual/examples/swapcontext.c: Likewise.
26820         * manual/examples/termios.c: Likewise.
26821         * manual/examples/testopt.c: Likewise.
26822         * manual/examples/testpass.c: Likewise.
26823         * manual/examples/timeval_subtract.c: Likewise.
26824
26825         [BZ #13792]
26826         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26827         function to ...
26828         * manual/timeval_subtract.c.texi: ... here, new file.
26829
26830 2012-03-02  David S. Miller  <davem@davemloft.net>
26831
26832         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26833
26834 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26835
26836         [BZ #3976]
26837         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26838         (__sin): Save and restore rounding mode and use round-to-nearest
26839         for all computations.
26840         (__cos): Save and restore rounding mode and use round-to-nearest
26841         for all computations.
26842         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26843         <fenv.h>.
26844         (tan): Save and restore rounding mode and use round-to-nearest for
26845         all computations.
26846         * math/libm-test.inc (cos_test_tonearest): New function.
26847         (cos_test_towardzero): Likewise.
26848         (cos_test_downward): Likewise.
26849         (cos_test_upward): Likewise.
26850         (sin_test_tonearest): Likewise.
26851         (sin_test_towardzero): Likewise.
26852         (sin_test_downward): Likewise.
26853         (sin_test_upward): Likewise.
26854         (tan_test_tonearest): Likewise.
26855         (tan_test_towardzero): Likewise.
26856         (tan_test_downward): Likewise.
26857         (tan_test_upward): Likewise.
26858         (main): Call the new functions.
26859         * sysdeps/i386/fpu/libm-test-ulps: Update.
26860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26861
26862         [BZ #10135]
26863         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26864         small n, then large n, before computing and testing k+n.
26865         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26866         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26867         Likewise.
26868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26869         Likewise.
26870         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26871         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26872         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26873         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26874         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26875         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26876         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26877         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26878         * math/libm-test.inc (scalbn_test): Add more tests.
26879         (scalbln_test): Likewise.
26880
26881         * manual/filesys.texi (mode_t): Describe constraints on size and
26882         signedness, not exact equivalence to a particular type.
26883         (ino_t): Likewise.
26884         (ino64_t): Likewise.
26885         (dev_t): Likewise.
26886         (nlink_t): Likewise.
26887         (blkcnt_t): Likewise.
26888         (blkcnt64_t): Likewise.
26889         * manual/llio.texi (off_t): Likewise.
26890
26891         [BZ #3976]
26892         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26893         (__ieee754_exp): Save and restore rounding mode and use
26894         round-to-nearest for all computations.
26895         * math/libm-test.inc (exp_test_tonearest): New function.
26896         (exp_test_towardzero): Likewise.
26897         (exp_test_downward): Likewise.
26898         (exp_test_upward): Likewise.
26899         (main): Call the new functions.
26900         * sysdeps/i386/fpu/libm-test-ulps: Update.
26901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26902
26903 2012-03-01  Chris Demetriou  <cgd@google.com>
26904
26905         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26906         have predictable order.
26907
26908 2012-03-01  David S. Miller  <davem@davemloft.net>
26909
26910         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26911
26912         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26913         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26914         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26915         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26916
26917         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26918         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26919         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26921         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26922         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26923         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26924         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26925         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26926
26927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26928
26929         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26930         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26931         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26932
26933         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26934         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26935         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26936         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26937         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26939         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26940         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26941         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26942         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26943         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26944         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26946         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26947         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26949         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26950         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26951         * sysdeps/sparc/elf/configure: Regenerated.
26952
26953 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26954
26955         * configure.in (AS, LD): Require binutils 2.20 or later.
26956         * configure: Regenerated.
26957         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26958         as required minimum version.
26959         * INSTALL: Regenerated.
26960
26961         [BZ #2541]
26962         [BZ #4108]
26963         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26964         before squaring exponent.
26965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26966         bottom long double and 27 bits of top long double before squaring
26967         exponent.
26968         * math/libm-test.inc (erfc_test): Add more tests.
26969         * sysdeps/i386/fpu/libm-test-ulps: Update.
26970         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26972
26973 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26974
26975         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26976         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26977         containing bit-fields.
26978         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26979         * soft-fp/single.h (_FP_UNION_S): Likewise.
26980         * soft-fp/double.h (_FP_UNION_D): Likewise.
26981
26982 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26983
26984         [BZ #13786]
26985         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26986         not include ../strcmp.S.
26987         [USE_AS_STRNCASECMP_L]: Likewise.
26988         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26989         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26990         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26991         (__strncasecmp_l_ia32): Define as alias to
26992         __strncasecmp_l_nonascii.
26993
26994         [BZ #5794]
26995         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26996         * sysdeps/i386/fpu/libm-test-ulps: Update.
26997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26998
26999         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27001
27002 2012-02-29  Jeff Law  <law@redhat.com>
27003
27004         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27005         out of bounds read.
27006
27007 2012-02-29  Marek Polacek  <polacek@redhat.com>
27008
27009         [BZ #13706]
27010         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27011         * elf/Makefile: Add rules to run tst-unused-dep.out.
27012
27013 2012-02-28  David S. Miller  <davem@davemloft.net>
27014
27015         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27016         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27017         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27018         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27019         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27020         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27021
27022 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
27023
27024         * math/libm-test.inc (llround_test): Move one test from
27025         lround_test.  Use TEST_f_L in moved test.
27026         (lround_test): Move misplaced test to llround_test.  Add testcase
27027         from bug 2561.
27028
27029 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
27030
27031         * sysdeps/x86_64/fpu/e_expf.S: New file.
27032         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27033
27034 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
27035
27036         [BZ #13637]
27037         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27038         of remain_len that may cause incomplete multi-byte character and
27039         false match.
27040         * posix/bug-regex33.c: New file.
27041         * posix/Makefile (tests): Add bug-regex33.
27042
27043 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
27044
27045         * manual/macros.texi: New file.
27046         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27047         * manual/libc.texinfo: Include macros.texi.
27048         * manual/creatute.texi: Likewise.
27049         * manual/install.texi: Likewise.
27050         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27051         @glibcadj{} in references to the GNU C Library.
27052         * manual/charset.texi: Likewise.
27053         * manual/conf.texi: Likewise.
27054         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
27055         when not using those macros.
27056         * manual/creature.texi: Likewise.
27057         * manual/crypt.texi: Likewise.
27058         * manual/errno.texi: Likewise.
27059         * manual/filesys.texi: Likewise.
27060         * manual/header.texi: Likewise.
27061         * manual/install.texi: Likewise.
27062         * manual/intro.texi: Likewise.
27063         * manual/io.texi: Likewise.
27064         * manual/job.texi: Likewise.
27065         * manual/lang.texi: Likewise.
27066         * manual/libc.texiinfo: Likewise.
27067         * manual/llio.texi: Likewise.
27068         * manual/locale.texi: Likewise.
27069         * manual/maint.texi: Likewise.
27070         * manual/math.texi: Likewise.
27071         * manual/memory.texi: Likewise.
27072         * manual/message.texi: Likewise.
27073         * manual/nss.texi: Likewise.
27074         * manual/pattern.texi: Likewise.
27075         * manual/process.texi: Likewise.
27076         * manual/resource.texi: Likewise.
27077         * manual/search.texi: Likewise.
27078         * manual/setjmp.texi: Likewise.
27079         * manual/signal.texi: Likewise.
27080         * manual/socket.texi: Likewise.
27081         * manual/startup.texi: Likewise.
27082         * manual/stdio.texi: Likewise.
27083         * manual/string.texi: Likewise.
27084         * manual/sysinfo.texi: Likewise.
27085         * manual/syslog.texi: Likewise.
27086         * manual/terminal.texi: Likewise.
27087         * manual/time.texi: Likewise.
27088         * manual/users.texi: Likewise.
27089         * INSTALL: Regenerated.
27090         * NOTES: Regenerated.
27091         * sysdeps/gnu/errlist.c: Regenerated.
27092
27093 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
27094
27095         * include/dirent.h: Include <dirstream.h> before
27096         <dirent/dirent.h>.
27097
27098 2012-02-28  David S. Miller  <davem@davemloft.net>
27099
27100         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27101         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27102         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27103         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27104
27105 2012-02-27  David S. Miller  <davem@davemloft.net>
27106
27107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27109         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27110         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27111
27112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27113         frame pointer instead of stack pointer relative arg slot.
27114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27115         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27116         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27117
27118 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
27119
27120         [BZ #3992]
27121         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27122
27123 2012-02-27  David S. Miller  <davem@davemloft.net>
27124
27125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27129         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27130         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27131         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27132         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27133
27134 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27135
27136         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27137         later.  Allow versions 5-9.
27138         * configure: Regenerated.
27139         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27140         required minimum version and 4.6 as recommended version.  Do not
27141         mention bugs in GCC 2.7 and 2.8.
27142         * INSTALL: Regenerated.
27143
27144 2012-02-27  David S. Miller  <davem@davemloft.net>
27145
27146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27150         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27151         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27152         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27153         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27154
27155         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27156         manipulate bits before adding and subtracting TWO112[sx].
27157         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27158
27159 2012-02-27  Roland McGrath  <roland@hack.frob.com>
27160
27161         [BZ #13775]
27162         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27163         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27164         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27165         being in POSIX, because they are in 1003.1-2008.
27166
27167         * rt/tst-aio.c: Include <fcntl.h>.
27168         * rt/tst-aio7.c: Likewise.
27169         * rt/tst-aio64.c: Likewise.
27170
27171         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27172
27173 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27174
27175         * manual/install.texi (--with-headers): Describe headers as
27176         interface headers, not private headers.
27177         (Specific advice for GNU/Linux systems): Describe use of headers
27178         from "make headers_install", not private headers from older
27179         kernels.
27180         * INSTALL: Regenerated.
27181         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27182         Change to 2.6.19.
27183         * sysdeps/unix/sysv/linux/configure: Regenerated.
27184
27185         * manual/llio.texi (fclean): Remove documentation.
27186
27187         * manual/Makefile (libc-texi-generated): New variable.  Include
27188         version.texi.
27189         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27190         $(libc-texi-generated), not duplicated list of files.
27191         (version.texi, stamp-version): New rules.
27192         (realclean): Remove $(libc-texi-generated), not individual files
27193         from that list.  Do not remove dir-add.texinfo.
27194         * manual/libc.texinfo: Comment out uses of edition numbers and
27195         references to printed manual.  Remove last-updated dates.
27196         (EDITION): Comment out.
27197         (ISBN): Likewise.
27198         (VERSION, UPDATED): Remove.
27199         (version.texi): Include.
27200
27201 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
27202
27203         * sysdeps/posix/spawni.c: Include <signal.h>.
27204         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27205         * sysdeps/pthread/aio_fsync.c: Likewise.
27206
27207 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
27208
27209         * conform/Makefile (tests): Run only when not cross-compiling and
27210         when fast-check is not defined.
27211
27212         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27213         * conform/data/limits.h-data: Fixes for POSIX2008.
27214         * conform/run-conformtest.sh: Run all tests.
27215         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27216         headers.
27217         * include/bits/dlfcn.h: Likewise.
27218         * include/langinfo.h: Likewise.
27219         * include/monetary.h: Likewise.
27220         * include/sys/poll.h: Likewise.
27221
27222         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27223         for __USE_GNU.
27224         * posix/spawn.h: Define __need_sigset_t.
27225         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27226         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27227         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
27228         to get sigevent_t only.
27229         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27230         only for __USE_GNU.
27231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27232         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27233         process_vm_writev only for __USE_GNU.
27234         * termios/termios.h: Declare tcgetsid also for POSIX2008.
27235
27236         * conform/Makefile: For now ignore errors from run-conformtest.
27237         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
27238         POSIX to avoid namespace pollution.  Don't prepend headers.
27239         * conform/data/aio.h-data: Fixes for POSIX testing.
27240         * conform/data/fcntl.h-data: Likewise.
27241         * conform/data/glob.h-data: Likewise.
27242         * conform/data/grp.h-data: Likewise.
27243         * conform/data/pthread.h-data: Likewise.
27244         * conform/data/pwd.h-data: Likewise.
27245         * conform/data/signal.h-data: Likewise.
27246         * conform/data/spawn.h-data: Likewise.
27247         * conform/data/stdio.h-data: Likewise.
27248         * conform/data/stdlib.h-data: Likewise.
27249         * conform/data/stropts.h-data: Likewise.
27250         * conform/data/sys/mman.h-data: Likewise.
27251         * conform/data/sys/stat.h-data: Likewise.
27252         * conform/data/sys/types.h-data: Likewise.
27253         * conform/data/sys/wait.h-data: Likewise.
27254         * conform/data/time.h-data: Likewise.
27255         * conform/data/unistd.h-data: Likewise.
27256         * conform/data/utime.h-data: Likewise.
27257
27258         * io/sys/stat.h: fchmod was always in POSIX.
27259         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27260         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27261         * rt/aio.h: Define __need_timespec before including <time.h>.
27262         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27263         struct.  Add forward declaration of pthread_attr_t and use it in
27264         sigevent.
27265         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27267         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27268         always remove CLK_TCK definition.
27269
27270 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
27271
27272         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27273
27274 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
27275
27276         * conform/run-conformtest.sh: New file.
27277         * conform/Makefile: Run run-conformtest for tests.
27278         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
27279         support.
27280
27281         * conform/data/uchar.h-data: New file.
27282         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27283         * conform/data/arpa/inet.h-data: Likewise.
27284         * conform/data/assert.h-data: Likewise.
27285         * conform/data/complex.h-data: Likewise.
27286         * conform/data/cpio.h-data: Likewise.
27287         * conform/data/ctype.h-data: Likewise.
27288         * conform/data/dirent.h-data: Likewise.
27289         * conform/data/dlfcn.h-data: Likewise.
27290         * conform/data/errno.h-data: Likewise.
27291         * conform/data/fcntl.h-data: Likewise.
27292         * conform/data/float.h-data: Likewise.
27293         * conform/data/fmtmsg.h-data: Likewise.
27294         * conform/data/fnmatch.h-data: Likewise.
27295         * conform/data/ftw.h-data: Likewise.
27296         * conform/data/glob.h-data: Likewise.
27297         * conform/data/grp.h-data: Likewise.
27298         * conform/data/iconv.h-data: Likewise.
27299         * conform/data/inttypes.h-data: Likewise.
27300         * conform/data/langinfo.h-data: Likewise.
27301         * conform/data/libgen.h-data: Likewise.
27302         * conform/data/limits.h-data: Likewise.
27303         * conform/data/locale.h-data: Likewise.
27304         * conform/data/math.h-data: Likewise.
27305         * conform/data/monetary.h-data: Likewise.
27306         * conform/data/mqueue.h-data: Likewise.
27307         * conform/data/ndbm.h-data: Likewise.
27308         * conform/data/net/if.h-data: Likewise.
27309         * conform/data/netdb.h-data: Likewise.
27310         * conform/data/netinet/in.h-data: Likewise.
27311         * conform/data/nl_types.h-data: Likewise.
27312         * conform/data/poll.h-data: Likewise.
27313         * conform/data/pthread.h-data: Likewise.
27314         * conform/data/pwd.h-data: Likewise.
27315         * conform/data/regex.h-data: Likewise.
27316         * conform/data/sched.h-data: Likewise.
27317         * conform/data/search.h-data: Likewise.
27318         * conform/data/semaphore.h-data: Likewise.
27319         * conform/data/setjmp.h-data: Likewise.
27320         * conform/data/signal.h-data: Likewise.
27321         * conform/data/spawn.h-data: Likewise.
27322         * conform/data/stdarg.h-data: Likewise.
27323         * conform/data/stdio.h-data: Likewise.
27324         * conform/data/stdlib.h-data: Likewise.
27325         * conform/data/string.h-data: Likewise.
27326         * conform/data/strings.h-data: Likewise.
27327         * conform/data/stropts.h-data: Likewise.
27328         * conform/data/sys/ipc.h-data: Likewise.
27329         * conform/data/sys/mman.h-data: Likewise.
27330         * conform/data/sys/msg.h-data: Likewise.
27331         * conform/data/sys/resource.h-data: Likewise.
27332         * conform/data/sys/select.h-data: Likewise.
27333         * conform/data/sys/sem.h-data: Likewise.
27334         * conform/data/sys/shm.h-data: Likewise.
27335         * conform/data/sys/socket.h-data: Likewise.
27336         * conform/data/sys/stat.h-data: Likewise.
27337         * conform/data/sys/statvfs.h-data: Likewise.
27338         * conform/data/sys/time.h-data: Likewise.
27339         * conform/data/sys/timeb.h-data: Likewise.
27340         * conform/data/sys/times.h-data: Likewise.
27341         * conform/data/sys/types.h-data: Likewise.
27342         * conform/data/sys/uio.h-data: Likewise.
27343         * conform/data/sys/un.h-data: Likewise.
27344         * conform/data/sys/utsname.h-data: Likewise.
27345         * conform/data/sys/wait.h-data: Likewise.
27346         * conform/data/syslog.h-data: Likewise.
27347         * conform/data/tar.h-data: Likewise.
27348         * conform/data/termios.h-data: Likewise.
27349         * conform/data/utime.h-data: Likewise.
27350         * conform/data/utmpx.h-data: Likewise.
27351         * conform/data/varargs.h-data: Likewise.
27352         * conform/data/wchar.h-data: Likewise.
27353         * conform/data/wctype.h-data: Likewise.
27354         * conform/data/wordexp.h-data: Likewise.
27355
27356         * include/stropts.h: New file.
27357         * include/uchar.h: New file.
27358         * include/aio.h: Changes to allow conformtest.pl to use the headers.
27359         * include/assert.h: Likewise.
27360         * include/ctype.h: Likewise.
27361         * include/dirent.h: Likewise.
27362         * include/dlfcn.h: Likewise.
27363         * include/fcntl.h: Likewise.
27364         * include/fnmatch.h: Likewise.
27365         * include/glob.h: Likewise.
27366         * include/grp.h: Likewise.
27367         * include/libio.h: Likewise.
27368         * include/locale.h: Likewise.
27369         * include/math.h: Likewise.
27370         * include/net/if.h: Likewise.
27371         * include/netdb.h: Likewise.
27372         * include/netinet/in.h: Likewise.
27373         * include/pthread.h: Likewise.
27374         * include/pwd.h: Likewise.
27375         * include/regex.h: Likewise.
27376         * include/sched.h: Likewise.
27377         * include/search.h: Likewise.
27378         * include/setjmp.h: Likewise.
27379         * include/signal.h: Likewise.
27380         * include/stdio.h: Likewise.
27381         * include/stdlib.h: Likewise.
27382         * include/string.h: Likewise.
27383         * include/sys/cdefs.h: Likewise.
27384         * include/sys/mman.h: Likewise.
27385         * include/sys/msg.h: Likewise.
27386         * include/sys/resource.h: Likewise.
27387         * include/sys/select.h: Likewise.
27388         * include/sys/socket.h: Likewise.
27389         * include/sys/stat.h: Likewise.
27390         * include/sys/statvfs.h: Likewise.
27391         * include/sys/time.h: Likewise.
27392         * include/sys/times.h: Likewise.
27393         * include/sys/uio.h: Likewise.
27394         * include/sys/utsname.h: Likewise.
27395         * include/sys/wait.h: Likewise.
27396         * include/termios.h: Likewise.
27397         * include/time.h: Likewise.
27398         * include/ulimit.h: Likewise.
27399         * include/unistd.h: Likewise.
27400         * include/utime.h: Likewise.
27401         * include/wchar.h: Likewise.
27402         * include/wctype.h: Likewise.
27403         * include/wordexp.h: Likewise.
27404
27405         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27406
27407         * time/time.h: TIME_UTC must be a macro.
27408         Make timespec_get available for ISO C11 only as well.
27409
27410 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
27411
27412         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27413         Reported by Peng Haitao <penght@cn.fujitsu.com>.
27414
27415 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27416
27417         * configure.in: Use -o not -a in test for unsupported multi-arch.
27418
27419 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27420
27421         * manual/texinfo.tex: Update to version 2012-01-19.16.
27422
27423 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27424
27425         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27426
27427 2012-02-24  Roland McGrath  <roland@hack.frob.com>
27428
27429         [BZ #13738]
27430         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27431         * manual/fdl-1.3.texi: New file.
27432         * manual/fdl-1.1.texi: File removed.
27433
27434         [BZ #13738]
27435         * manual/libc.texinfo (FDL_VERSION): New @set.
27436         Use it for mention of FDL in cover text.
27437         (Documentation License): Use it in @include file name.
27438
27439 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27440             Roland McGrath  <roland@hack.frob.com>
27441
27442         [BZ #5461]
27443         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27444         not LONG_LONG_MAX and LONG_LONG_MIN.
27445         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27446         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
27447         name.
27448         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27449
27450 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27451
27452         [BZ #2547]
27453         [BZ #11365]
27454         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27455         manipulate bits before adding and subtracting TWO23[sx].
27456         * math/libm-test.inc (nearbyint_test): Add more tests.
27457
27458 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27459
27460         [BZ #2548]
27461         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27462         bits before adding and subtracting TWO23[sx].
27463         * math/libm-test.inc (rint_test): Add more tests.
27464         (rint_test_tonearest): Likewise.
27465         (rint_test_towardzero): Likewise.
27466         (rint_test_downward): Likewise.
27467         (rint_test_upward: Likewise.
27468
27469 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27470
27471         [BZ #10110]
27472         * include/stdc-predef.h: New file.  Extracted from features.h.
27473         * include/features.h: Include stdc-predef.h.
27474         * Makefile (headers): Add stdc-predef.h.
27475         * CONFORMANCE (Compiler limitations): Update.
27476
27477 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27478
27479         * manual/libc.texinfo (VERSION, UPDATED): Revert.
27480
27481 2012-02-21  David S. Miller  <davem@davemloft.net>
27482
27483         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27484         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27485
27486 2012-02-20  David S. Miller  <davem@davemloft.net>
27487
27488         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27489         using a normal save/restore sequence, rather than allocating a
27490         dummy stack frame just to store a frame pointer and restore.
27491         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27492
27493 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27494
27495         * manual/install.texi: Fix stray word in line-wrapped comment.
27496
27497 2012-02-20  David S. Miller  <davem@davemloft.net>
27498
27499         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27500         both binutils and gcc support GOTDATA.
27501
27502         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27503         "rd %pc" in the PIC register setup sequences.
27504
27505         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27506         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27507         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27508         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27509         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27510         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27511         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27512         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27514         (SYSCALL_ERROR_HANDLER): Likewise.
27515         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27516         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27518         (SYSCALL_ERROR_HANDLER): Likewise.
27519
27520         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27521         (HAVE_GCC_GOTDATA): New.
27522         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27523         relocation support in both binutils and gcc.
27524         * sysdeps/sparc/elf/configure: Regenerate.
27525
27526         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27527         * sysdeps/sparc/sparc32/elf/configure: Delete.
27528         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27529         * sysdeps/sparc/sparc64/elf/configure: Delete.
27530         * sysdeps/sparc/elf/configure.in: New file.
27531         * sysdeps/sparc/elf/configure: Generate.
27532
27533         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27534         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27535         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27536         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27537         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27538
27539 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27540
27541         * manual/install.texi: Do not mention specific glibc version
27542         numbers.
27543         * manual/libc.texinfo (VERSION, UPDATED): Update.
27544         (@copying): Use @copyright{} and range of years.
27545
27546 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27547
27548         [BZ #13695]
27549         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27550         [crti.S not in sysdirs] (generated): Do not append.
27551         [crti.S not in sysdirs] (omit-deps): Likewise.
27552         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27553         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27554         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27555         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27556         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27557         Likewise.
27558         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27559         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27560         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27561         * csu/defs.awk: Remove file.
27562         * sysdeps/generic/initfini.c: Likewise.
27563         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27564         variable.
27565         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27566         Likewise.
27567
27568 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27569
27570         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27571         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27572         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27573         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27574         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27575         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27576         <bits/epoll.h>.
27577         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27578         (__EPOLL_PACKED): Define to empty if not defined by
27579         <bits/epoll.h>.
27580         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27582         bits/epoll.h.
27583
27584 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27585
27586         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27587         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27588         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27589         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27590         <bits/timerfd.h>.
27591         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27593         bits/timerfd.h.
27594
27595 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27596
27597         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27598         in C locale.
27599         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27600         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27601         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27603
27604 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27605
27606         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27607         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27608
27609 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27610
27611         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27612         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27613         defined.
27614         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27615         Likewise.
27616         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27617         entry for 2.16.
27618
27619 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27620
27621         * math/w_acos.c: Use non-signaling floating-point comparisons.
27622         * math/w_acosf.c: Likewise.
27623         * math/w_acosh.c: Likewise.
27624         * math/w_acoshf.c: Likewise.
27625         * math/w_acoshl.c: Likewise.
27626         * math/w_acosl.c: Likewise.
27627         * math/w_asin.c: Likewise.
27628         * math/w_asinf.c: Likewise.
27629         * math/w_asinl.c: Likewise.
27630         * math/w_atanh.c: Likewise.
27631         * math/w_atanhf.c: Likewise.
27632         * math/w_atanhl.c: Likewise.
27633         * math/w_exp2.c: Likewise.
27634         * math/w_exp2f.c: Likewise.
27635         * math/w_exp2l.c: Likewise.
27636         * math/w_j0.c: Likewise.
27637         * math/w_j0f.c: Likewise.
27638         * math/w_j0l.c: Likewise.
27639         * math/w_j1.c: Likewise.
27640         * math/w_j1f.c: Likewise.
27641         * math/w_j1l.c: Likewise.
27642         * math/w_jn.c: Likewise.
27643         * math/w_jnf.c: Likewise.
27644         * math/w_log.c: Likewise.
27645         * math/w_log10.c: Likewise.
27646         * math/w_log10f.c: Likewise.
27647         * math/w_log10l.c: Likewise.
27648         * math/w_log2.c: Likewise.
27649         * math/w_log2f.c: Likewise.
27650         * math/w_log2l.c: Likewise.
27651         * math/w_logf.c: Likewise.
27652         * math/w_logl.c: Likewise.
27653         * math/w_sqrt.c: Likewise.
27654         * math/w_sqrtf.c: Likewise.
27655         * math/w_sqrtl.c: Likewise.
27656         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27657         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27658         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27659         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27660         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27661
27662 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27663
27664         [BZ #9739]
27665         * manual/string.texi (strnlen): Use correct parameter name in
27666         equivalent expression.
27667
27668 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27669
27670         [BZ #11174]
27671         * manual/users.texi (seteuid): Consistently use neweuid for
27672         argument name.
27673
27674 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27675
27676         [BZ #13704]
27677         * manual/nss.texi (Services in the NSS configuration): Correct
27678         list of services in example configuration file.
27679
27680 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27681
27682         [BZ #11322]
27683         * manual/arith.texi: Remove statements about negative zero
27684         behaving identically to zero.
27685
27686 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27687
27688         [BZ #5993]
27689         * manual/install.texi: Do not document upgrading from libc5.
27690
27691 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27692
27693         [BZ #4596]
27694         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27695
27696 2012-02-18  David S. Miller  <davem@davemloft.net>
27697
27698         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27699         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27700         %o7 across the call.
27701         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27702         instead.
27703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27704         SETUP_PIC_REG_LEAF.
27705         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27706         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27707         * sysdeps/sparc/crtn.S: Likewise.
27708
27709 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27710
27711         * aout/Makefile: Remove.
27712
27713 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27714
27715         [BZ #13058]
27716         * manual/examples/argp-ex1.c (main): Format definition in GNU
27717         style.
27718         * manual/examples/argp-ex2.c (main): Likewise.
27719         * manual/examples/argp-ex3.c (main): Likewise.
27720         * manual/examples/argp-ex4.c (main): Likewise.
27721         * manual/examples/longopt.c (main): Use new-style prototype
27722         definition.
27723         * manual/examples/strncat.c (main): Specify return type and use
27724         (void) for arguments.
27725         * manual/examples/subopt.c (main): Use char **argv argument.
27726
27727 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27728
27729         [BZ #5077]
27730         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27731         rounding modes.
27732
27733 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27734
27735         [BZ #6907]
27736         * manual/string.texi (strchr): Change when strchrnul is
27737         recommended.
27738
27739 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27740
27741         [BZ #174]
27742         * manual/locale.texi (setlocale): Document LOCPATH.
27743
27744 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27745
27746         [BZ #10210]
27747         * manual/process.texi (execle): Move @dots{} before last argument.
27748
27749 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27750
27751         [BZ #12047]
27752         * manual/charset.texi (Generic Charset Conversion): Fix typo
27753         (LC_TYPE -> LC_CTYPE).
27754
27755 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27756
27757         [BZ #5805]
27758         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27759         (scalbnf): Likewise.
27760         (scalbnl): Likewise.
27761         (scalbln): Likewise.
27762         (scalblnf): Likewise.
27763         (scalblnl): Likewise.
27764         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27765         (vwarnx): Likewise.
27766         (verr): Likewise.
27767         (verrx): Likewise.
27768         * manual/filesys.texi (telldir): Use braces around return type.
27769         * manual/llio.texi (mmap): Add space after comma.
27770         (mmap64): Likewise.
27771         * manual/math.texi (jn): Use @var{} on parameter names.
27772         (jnf): Likewise.
27773         (jnl): Likewise.
27774         (yn): Likewise.
27775         (ynf): Likewise.
27776         (ynl): Likewise.
27777         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27778         line.
27779         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27780         "...".
27781         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27782         (sched_get_priority_max): Likewise.
27783         * manual/signal.texi (sigvec): Add space after comma.
27784         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27785         names.
27786         (if_indextoname): Likewise.
27787         (if_freenameindex): Likewise.
27788         (sendto): Use ',' instead of '.' in prototype.
27789         * manual/startup.texi (syscall): Use @dots{} instead of literal
27790         "...".
27791         * manual/stdio.texi (__fpending): Separate initial words of
27792         paragraph from @deftypefun line.
27793         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27794         "...".
27795         (vsyslog): Use @var{} on parameter names.
27796         * manual/terminal.texi (stty): Use @var{} on parameter names.
27797         * manual/users.texi (getutmp): Use @var{} on parameter names.
27798         (getutmpx): Likewise.
27799
27800 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27801
27802         [BZ #6884]
27803         * manual/stdio.texi (fopen): Fix typos in description of
27804         ",ccs=STRING".
27805
27806 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27807
27808         [BZ #4026]
27809         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27810         get clock_id definition.
27811
27812 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27813
27814         [BZ #4822]
27815         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27816         (madvise): Cast every argument to void on its own.
27817
27818 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27819
27820         [BZ #9902]
27821         * manual/startup.texi (Exit Status): Fix typo.
27822
27823 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27824
27825         [BZ #10140]
27826         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27827         * manual/examples/argp-ex2.c: Likewise.
27828         * manual/examples/argp-ex3.c: Likewise.
27829
27830 2012-02-16  Richard Henderson  <rth@redhat.com>
27831
27832         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27833         * sysdeps/s390/s390-32/initfini.c: Remove.
27834         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27835         * sysdeps/s390/s390-64/initfini.c: Remove.
27836
27837 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27838
27839         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27840         compiler output for sysdeps/generic/initfini.c.
27841         * sysdeps/sh/elf/initfini.c: Remove file.
27842
27843 2012-02-16  David S. Miller  <davem@davemloft.net>
27844
27845         [BZ #11494]
27846         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27847
27848         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27849         * sysdeps/sparc/crti.S: New file.
27850         * sysdeps/sparc/crtn.S: New file.
27851         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27852         * sysdeps/sparc/sparc64/Makefile: Likewise.
27853
27854 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27855
27856         [BZ #3335]
27857         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27858
27859 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27860
27861         [BZ #4822]
27862         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27863
27864         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27865         (write, read, close): Likewise.
27866         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27867
27868 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27869
27870         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27871         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27872         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27873         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27874         <bits/signalfd.h>.
27875         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27877         bits/signalfd.h.
27878
27879 2012-02-14  Marek Polacek  <polacek@redhat.com>
27880
27881         * sysdeps/x86_64/crti.S: New file.
27882         * sysdeps/x86_64/crtn.S: New file.
27883         * sysdeps/x86_64/elf/initfini.c: Remove file.
27884
27885 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27886
27887         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27888         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27889         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27890         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27891         <bits/inotify.h>.
27892         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27893         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27894         bits/inotify.h.
27895
27896 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27897
27898         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27899         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27900         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27901         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27902         <bits/eventfd.h>.
27903         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27905         bits/eventfd.h.
27906
27907 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27908
27909         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27910         __feraiseexcept instead of feraiseexcept.
27911
27912         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27913         nanosleep invocations.
27914         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27915         strings, and add error checking for a nanosleep invocations.
27916
27917 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27918
27919         Replace FSF snail mail address with URLs, as per GNU coding standards.
27920         Most of the snail mail addresses were wrong anyway, and omitting
27921         them makes the source code easier to maintain.  Almost all of the
27922         changes are to license notices and to locale LC_IDENTIFICATION
27923         addresses, except for this one:
27924         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27925         not its snail mail address.
27926
27927 2012-02-09  Richard Henderson  <rth@twiddle.net>
27928
27929         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27930         of kernel-features.h.
27931
27932         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27933
27934 2012-02-08  Marek Polacek  <polacek@redhat.com>
27935
27936         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27937         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27938         * sysdeps/gnu/_G_config.h: Likewise.
27939         * sysdeps/generic/_G_config.h: Likewise.
27940
27941 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27942
27943         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27944         tests.
27945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27946
27947         * sysdeps/powerpc/powerpc32/crti.S: New file.
27948         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27949         * sysdeps/powerpc/powerpc64/crti.S: New file.
27950         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27951
27952         * Makeconfig (have-initfini): Don't set.
27953         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27954         * configure.in (nopic_initfini): Don't substitute.
27955         * config.h.in (HAVE_INITFINI): Don't #undef.
27956         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27957         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27958
27959 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27960
27961         Support crti.S and crtn.S provided directly by architectures.
27962         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27963         [crti.S in sysdirs] (omit-deps): Likewise.
27964         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27965         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27966         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27967         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27968         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27969         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27970         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27971         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27972         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27973         compiler output for sysdeps/generic/initfini.c.
27974         * sysdeps/i386/elf/Makefile: Remove file.
27975         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27976
27977 2012-02-07  Marek Polacek  <polacek@redhat.com>
27978
27979         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27980         * sysdeps/gnu/_G_config.h: Likewise.
27981         * sysdeps/mach/hurd/_G_config.h: Likewise.
27982
27983 2012-02-07  Marek Polacek  <polacek@redhat.com>
27984
27985         * math/Makefile (tests): Add tst-CMPLX2.
27986         * math/tst-CMPLX2.c: New file.
27987
27988 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27989
27990         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27991
27992         * math/libm-test.inc (jn_test): Add missing L suffix.
27993
27994 2012-02-06  Marek Polacek  <polacek@redhat.com>
27995
27996         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27997         * sysdeps/i386/fpu/e_powf.S: Likewise.
27998         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27999         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28000         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28001         * sysdeps/i386/fpu/e_pow.S: Likewise.
28002         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28003         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28004         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28005         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28006         * sysdeps/i386/fpu/e_log2.S: Likewise.
28007         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28008         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28009         * sysdeps/i386/fpu/e_powl.S: Likewise.
28010         * sysdeps/i386/fpu/s_log1p.S: Likewise.
28011         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28012         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28013         * sysdeps/i386/fpu/e_logl.S: Likewise.
28014         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28015         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28016         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28017         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28018         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28019         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28020         * sysdeps/i386/fpu/e_log.S: Likewise.
28021         * sysdeps/i386/fpu/s_cexp.S: Likewise.
28022         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28023         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28024         * sysdeps/i386/fpu/e_logf.S: Likewise.
28025         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28026         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28027         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28028         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28029         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28030         * sysdeps/i386/fpu/e_log10.S: Likewise.
28031         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28032         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28033         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28034         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28035         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28036         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28037         * sysdeps/i386/asm-syntax.h: Likewise.
28038         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28039         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28040         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28041         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28042         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28043         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28044         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28045         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28046         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28047         * sysdeps/powerpc/sysdep.h: Likewise.
28048         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28049         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28050
28051 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
28052
28053         [BZ #411]
28054         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28055
28056 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
28057
28058         * sysdeps/i386/sysdep.h: Include <features.h>.
28059         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28060         version.
28061
28062 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
28063
28064         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28065         Define.
28066         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28067         LOAD_PIC_REG_STR.
28068
28069 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28070
28071         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28072         (SETUP_PIC_REG): Use GET_PC_THUNK.
28073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28074         macro.
28075
28076 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28077
28078         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28079         for non-PIC compilation.
28080         (SETUP_PIC_REG): Add .p2align directive.
28081         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28082         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28083         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28084         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28085         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28086         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28087         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28088         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28089         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28090         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28091         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28092         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28093         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28094         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28095         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28096         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28097         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28098         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28099         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28100         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28101         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28102         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28103         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28104         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28105         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28106         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28107         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28108         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28109         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28110         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28111         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28112         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28113         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28114         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28115         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28116         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28117         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28118         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28119         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28120         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28121         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28122
28123 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28124
28125         * math/tst-CMPLX.c: Include <stdio.h>.
28126
28127 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
28128
28129         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28130         float.
28131         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28132         * sysdeps/sparc/bits/mathdef.h: Likewise.
28133
28134 2012-01-31  Marek Polacek  <polacek@redhat.com>
28135
28136         * libio/libio.h: Don't define _PARAMS.
28137         * locale/programs/config.h: Don't define PARAMS.
28138         * stdlib/strtol_l.c: Likewise.
28139         (__strtol_l): Remove PARAMS from the prototype.
28140
28141 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
28142
28143         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
28144         names.  Just use the correct names.  Remove unnecessary wrapper
28145         functions.
28146         * malloc/arena.c: Likewise.
28147         * malloc/hooks.c: Likewise.
28148
28149         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28150         ARENA_TEST says not to.  Simplify test for creation of a new arena.
28151         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28152
28153 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
28154
28155         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28156         into tail calls.
28157         (update_get_addr): New function.
28158         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28159         GET_ADDR_MODULE parameter.
28160
28161 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28162
28163         * crypt/cert.c: Remove __STDC__ conditionals.
28164         * crypt/crypt-entry.c: Likewise.
28165         * crypt/crypt_util.c: Likewise.
28166         * libio/filedoalloc.c: Likewise.
28167         * libio/fileops.c: Likewise.
28168         * libio/genops.c: Likewise.
28169         * libio/iofclose.c: Likewise.
28170         * libio/iofdopen.c: Likewise.
28171         * libio/iofopen.c: Likewise.
28172         * libio/iofopen64.c: Likewise.
28173         * libio/iogetdelim.c: Likewise.
28174         * libio/iopopen.c: Likewise.
28175         * libio/obprintf.c: Likewise.
28176         * libio/oldfileops.c: Likewise.
28177         * libio/oldiofclose.c: Likewise.
28178         * libio/oldiofdopen.c: Likewise.
28179         * libio/oldiofopen.c: Likewise.
28180         * libio/oldiopopen.c: Likewise.
28181         * libio/wfiledoalloc.c: Likewise.
28182         * libio/wgenops.c: Likewise.
28183         * locale/programs/xmalloc.c: Likewise.
28184         * misc/syslog.c: Likewise.
28185         * stdio-common/xbug.c: Likewise.
28186         * string/memchr.c: Likewise.
28187         * string/memcmp.c: Likewise.
28188         * string/memrchr.c: Likewise.
28189         * string/rawmemchr.c: Likewise.
28190         * sysdeps/posix/getcwd.c: Likewise.
28191         * time/strftime_l.c: Likewise.
28192
28193 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28194
28195         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28196         * config.make.in (config-cflags-sse2avx): Define.
28197         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28198         Fix typo.
28199
28200 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
28201
28202         * scripts/config.guess: Update from upstream config git repository.
28203         * scripts/config.sub: Likewise.
28204
28205 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
28206
28207         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28208         (EM_NUM): Update.
28209         (R_TILEPRO_*, R_TILEGX_*): New macros.
28210
28211         * scripts/firstversions.awk: Fix bug in version range handling.
28212
28213         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28214
28215         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28216
28217         * include/sys/epoll.h: New file.
28218         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28219         libc_hidden_def.
28220
28221 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
28222
28223         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28224         Avoid unnecessary __WORDSIZE == 64 test.
28225         (fmaxf): Use VEX format if possible.
28226         (fmax): Likewise.
28227         (fminf): Likewise.
28228         (fmin): Likewise.
28229
28230         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28231         * math/math_private.h: Remove libc_fegetround* and
28232         libc_fesetround*.
28233         * sysdeps/i386/configure.in: Check for -msse2avx.
28234         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28235         also if SSE2AVX is defined.
28236         Remove libc_fegetround* and libc_fesetround*.
28237         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28238         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
28239         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28240         of HAS_YMM_USABLE.
28241         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28242         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28243         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28244         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28245         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28246
28247         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28248
28249 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28250
28251         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28252         size is not set.
28253         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28254
28255 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
28256
28257         [BZ #13618]
28258         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28259         relocation.
28260         * Makeconfig (libm): Define.
28261         * elf/Makefile: Add rules to build and run tst-relsort1.
28262         * elf/tst-relsort1.c: New file.
28263         * elf/tst-relsort1mod1.c: New file.
28264         * elf/tst-relsort1mod2.c: New file.
28265
28266 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
28267
28268         * math/s_ldexp.c: Remove __STDC__ conditionals.
28269         * math/s_ldexpf.c: Likewise.
28270         * math/s_ldexpl.c: Likewise.
28271         * math/s_nextafter.c: Likewise.
28272         * math/s_nexttowardf.c: Likewise.
28273         * math/s_significand.c: Likewise.
28274         * math/s_significandf.c: Likewise.
28275         * math/s_significandl.c: Likewise.
28276         * math/w_jnl.c: Likewise.
28277         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28278         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28279         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28280         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28281         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28283         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28284         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28285         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28286         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28287         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28288         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28289         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28290         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28291         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28292         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28293         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28294         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28295         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28296         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28297         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28298         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28299         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28300         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28301         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28302         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28303         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28304         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28305         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28306         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28307         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28308         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28309         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28310         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28311         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28312         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28313         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28314         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28315         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28316         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28317         * sysdeps/ieee754/k_standard.c: Likewise.
28318         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28319         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28320         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28321         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28322         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28323         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28324         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28325         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28326         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28327         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28328         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28329         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28330         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28331         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28332         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28333         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28334         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28335         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28336         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28337         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28340         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28341         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28342         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28343         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28344         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28345         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28347         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28348         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28349         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28350         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28351         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28352         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28353         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28354         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28355         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28356         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28357         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28358         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28359         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28360         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28361         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28362         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28363         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28364         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28365         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28366         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28367         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28368         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28369         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28370         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28371         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28372         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28373         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28374         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28375         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28376         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28377         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28378         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28379         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28380         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28381         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28382         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28383         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28384         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28385         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28386         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28387         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28388         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28389         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28390         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28391         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28392         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28393         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28394         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28395         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28396         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28397         * sysdeps/ieee754/s_matherr.c: Likewise.
28398         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28399         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28400         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28401         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28402
28403 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28404
28405         * crypt/md5.h: Remove __STDC__ conditionals.
28406         * libio/libioP.h: Likewise.
28407         * locale/programs/config.h: Likewise.
28408         * sysdeps/generic/sysdep.h: Likewise.
28409         * sysdeps/i386/asm-syntax.h: Likewise.
28410         * sysdeps/s390/asm-syntax.h: Likewise.
28411         * sysdeps/unix/sysdep.h: Likewise.
28412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28414
28415 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28416
28417         * libio/libio.h: Remove __STDC__ conditionals.
28418         * malloc/obstack.h: Likewise.
28419         * math/complex.h: Likewise.
28420         * math/math.h: Likewise.
28421         * sysdeps/generic/_G_config.h: Likewise.
28422         * sysdeps/gnu/_G_config.h: Likewise.
28423         * sysdeps/mach/hurd/_G_config.h: Likewise.
28424         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28425         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28426         * sysdeps/sparc/bits/mathdef.h: Likewise.
28427
28428 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
28429
28430         [BZ #13583]
28431         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28432         Clean up HAS_* macros.
28433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28434         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28435         possible.
28436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28437         HAS_AVX.
28438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28440         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28441         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28442         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28443
28444 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
28445
28446         * elf/tst-unique3.cc (gets): Remove declaration.
28447         * elf/tst-unique3lib.cc (gets): Likewise.
28448         * elf/tst-unique3lib2.cc (gets): Likewise.
28449         * elf/tst-unique4.cc (gets): Likewise.
28450
28451 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
28452
28453         * include/stdio.h: Add C++ protection.  Add gets declarations and
28454         definitions.
28455         * debug/tst-chk1.c: Don't declare gets here.
28456         * stdio-common/tst-gets.c: Likewise.
28457
28458 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28459
28460         * posix/glob: Remove directory.
28461
28462 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28463
28464         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28465
28466 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
28467
28468         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28469         of the non-standard EPFNOSUPPORT.
28470
28471 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28472
28473         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28474         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28475         ANYWHERE set to 1 only on KERN_NO_SPACE error.
28476
28477 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
28478
28479         * wcsmbs/uchar.h: Test __STDC_VERSION__.
28480
28481 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
28482
28483         * nscd/aicache.c (addhstaiX): Do not cache negative results of
28484         transient errors.
28485         * nscd/grpcache.c (cache_addgr): Likewise.
28486         * nscd/hstcache.c (cache_addhst): Likewise.
28487         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28488         * nscd/pwdcache.c (cache_addpw): Likewise.
28489         * nscd/servicescache.c (cache_addserv): Likewise.
28490
28491 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
28492
28493         * malloc/malloc.c: Various cleanups.
28494         * malloc/hooks.c: Likewise.
28495
28496         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28497         * stdlib/bug-fmtmsg1.c: New file.
28498
28499         * stdlib/fmtmsg.c (init): Add missing unlock.
28500         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28501
28502 2012-01-12  Marek Polacek  <polacek@redhat.com>
28503
28504         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28505         and _GNU_SOURCE.
28506
28507 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28508
28509         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28510         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28511         macro to ensure uniqueness of label name.
28512         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28513         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28514
28515 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28516
28517         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28518
28519         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28520         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28521         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28522         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28523
28524 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28525
28526         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28527
28528         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28529         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28530         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28531
28532         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28533
28534         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28535         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28536         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28538
28539         * math/bits/math-finite.h: Add ldexp support.
28540
28541 2012-01-10  Marek Polacek  <polacek@redhat.com>
28542
28543         * locale/programs/localedef.h (show_archive_content): Add noreturn
28544         attribute.
28545
28546 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28547
28548         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28549
28550 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28551
28552         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28553
28554         * io/Makefile (headers): Add bits/poll2.h.
28555
28556 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28557
28558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28559         typo #include statement.
28560
28561 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28562
28563         * include/sys/cdefs.h: Define __attribute_alloc_size.
28564         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28565         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28566         * elf/pldd.c: Likewise.
28567         * iconv/iconv_charmap.c: Likewise.
28568         * iconv/iconvconfig.c: Likewise.
28569         * iconv/strtab.c: Likewise.
28570         * locale/programs/locale.c: Likewise.
28571         * locale/programs/localedef.h: Likewise.
28572         * locale/programs/simple-hash.c: Likewise.
28573         * nscd/nscd.h: Likewise.
28574         * nss/makedb.c: Likewise.
28575         * sysdeps/generic/ldconfig.h: Likewise.
28576         * locale/programs/localedef.c: Remove xmalloc prototype.
28577         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28578
28579 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28580
28581         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28582         appropriate.
28583
28584 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28585
28586         * math/Makefile (tests): Add tst-CMPLX.
28587         * math/tst-CMPLX.c: New file.
28588
28589         * math/complex.h (CMPLXL): Fix typo.
28590
28591         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28592         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28593         GLIBC_2.16.
28594         * debug/tst-chk1.c: Add poll and ppoll tests.
28595         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28596         * include/sys/poll.h: Add hidden proto for ppoll.
28597         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28598         * sysdeps/mach/hurd/ppoll.c: Likewise.
28599         * io/ppoll.c: Likewise.
28600         * debug/poll_chk.c: New file.
28601         * debug/ppoll_chk.c: New file.
28602         * include/bits/poll2.h: New file.
28603         * io/bits/poll2.h: New file.
28604
28605         [BZ #1350]
28606         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28607
28608         * configure.in: static is always set to yes.  Remove.
28609         * config.make.in: Don't set build-static.
28610         * Makeconfig: Remove use of build-static.
28611         * dlfcn/Makefile: Likewise.
28612         * elf/Makefile: Likewise.
28613         * math/Makefile: Likewise.
28614         * misc/Makefile: Likewise.
28615         * nptl/Makefile: Likewise.
28616         * sysdeps/mach/hurd/Makefile: Likewise.
28617
28618         * configure.in: PWD_P is not used anymore.
28619         * config.make.in: Remove PWD_P entry.
28620
28621         * configure.in: Remove last remnants of RANLIB.
28622         No need to check for signed size_t anymore.
28623         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28624         and IA-64.
28625         Remove __builtin_expect test because we require at least gcc 3.4.
28626         * aclocal.m4: Likewise.
28627
28628         * wcsmbs/mbrtoc16.c: Implement using towc function.
28629         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28630         * wcsmbs/wcsmbsload.c: Likewise.
28631         * iconv/gconv_simple.c: Likewise.
28632         * iconv/gconv_int.h: Likewise.
28633         * iconv/gconv_builtin.h: Likewise.
28634         * iconv/iconv_prog.c: Remove CHAR16 handling.
28635
28636         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28637
28638         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28639
28640         * configure.in: Remove --with-elf and --enable-bounded options.
28641         Dont set base_machine for ia64.  More non-ELF conditions removed.
28642         Remove testing and setting of leading underscore information.
28643         * config.make.in (build-bounded): Set to no.
28644         * config.h.in: Remove NO_UNDERSCORES entry.
28645         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28646         them.
28647         * csu/start.c: Remove !NO_UNDERSCORE code.
28648         * locale/localeinfo.h: Likewise.
28649         * sysdeps/generic/machine-gmon.h: Likewise.
28650         * sysdeps/generic/sysdep.h: Likewise.
28651         * sysdeps/i386/sysdep.h: Likewise.
28652         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28653         * sysdeps/mach/sysdep.h: Likewise.
28654         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28655         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28656         * sysdeps/sh/sysdep.h: Likewise.
28657         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28658         * sysdeps/unix/i386/sysdep.S: Likewise.
28659         * sysdeps/unix/sparc/start.c: Likewise.
28660         * sysdeps/unix/sparc/sysdep.S: Likewise.
28661         * sysdeps/unix/sparc/sysdep.h: Likewise.
28662         * sysdeps/unix/start.c: Likewise.
28663         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28664         * sysdeps/x86_64/sysdep.h: Likewise.
28665
28666 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28667
28668         [BZ #13553]
28669         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28670         for non-gcc.
28671         * argp/argp-fmtstream.h: Use const instead __const.
28672         * argp/argp.h: Likewise.
28673         * assert/assert.h: Likewise.
28674         * bits/fenv.h: Likewise.
28675         * bits/sched.h: Likewise.
28676         * bits/sigset.h: Likewise.
28677         * bits/sigthread.h: Likewise.
28678         * catgets/nl_types.h: Likewise.
28679         * conform/data/pthread.h-data: Likewise.
28680         * crypt/crypt-private.h: Likewise.
28681         * crypt/crypt.h: Likewise.
28682         * crypt/crypt_util.c: Likewise.
28683         * ctype/ctype.h: Likewise.
28684         * debug/execinfo.h: Likewise.
28685         * debug/mbsnrtowcs_chk.c: Likewise.
28686         * debug/mbsrtowcs_chk.c: Likewise.
28687         * debug/wcsnrtombs_chk.c: Likewise.
28688         * debug/wcsrtombs_chk.c: Likewise.
28689         * debug/wcstombs_chk.c: Likewise.
28690         * dirent/dirent.h: Likewise.
28691         * dlfcn/dlfcn.h: Likewise.
28692         * elf/neededtest4.c: Likewise.
28693         * grp/grp.h: Likewise.
28694         * gshadow/gshadow.h: Likewise.
28695         * iconv/gconv.h: Likewise.
28696         * iconv/gconv_int.h: Likewise.
28697         * iconv/gconv_simple.c: Likewise.
28698         * iconv/iconv.h: Likewise.
28699         * iconv/loop.c: Likewise.
28700         * iconv/skeleton.c: Likewise.
28701         * include/aio.h: Likewise.
28702         * include/aliases.h: Likewise.
28703         * include/argz.h: Likewise.
28704         * include/arpa/inet.h: Likewise.
28705         * include/assert.h: Likewise.
28706         * include/dirent.h: Likewise.
28707         * include/dlfcn.h: Likewise.
28708         * include/execinfo.h: Likewise.
28709         * include/fcntl.h: Likewise.
28710         * include/fenv.h: Likewise.
28711         * include/glob.h: Likewise.
28712         * include/grp.h: Likewise.
28713         * include/libintl.h: Likewise.
28714         * include/mntent.h: Likewise.
28715         * include/netdb.h: Likewise.
28716         * include/pwd.h: Likewise.
28717         * include/rpc/netdb.h: Likewise.
28718         * include/sched.h: Likewise.
28719         * include/search.h: Likewise.
28720         * include/shadow.h: Likewise.
28721         * include/signal.h: Likewise.
28722         * include/stdio.h: Likewise.
28723         * include/stdlib.h: Likewise.
28724         * include/string.h: Likewise.
28725         * include/sys/socket.h: Likewise.
28726         * include/sys/stat.h: Likewise.
28727         * include/sys/statfs.h: Likewise.
28728         * include/sys/statvfs.h: Likewise.
28729         * include/sys/syslog.h: Likewise.
28730         * include/sys/time.h: Likewise.
28731         * include/sys/uio.h: Likewise.
28732         * include/time.h: Likewise.
28733         * include/unistd.h: Likewise.
28734         * include/utmp.h: Likewise.
28735         * include/wchar.h: Likewise.
28736         * include/wctype.h: Likewise.
28737         * inet/aliases.h: Likewise.
28738         * inet/arpa/inet.h: Likewise.
28739         * inet/netinet/ether.h: Likewise.
28740         * inet/netinet/in.h: Likewise.
28741         * intl/libintl.h: Likewise.
28742         * io/bits/fcntl2.h: Likewise.
28743         * io/fcntl.h: Likewise.
28744         * io/ftw.h: Likewise.
28745         * io/sys/poll.h: Likewise.
28746         * io/sys/stat.h: Likewise.
28747         * io/sys/statfs.h: Likewise.
28748         * io/sys/statvfs.h: Likewise.
28749         * io/utime.h: Likewise.
28750         * libio/bits/stdio.h: Likewise.
28751         * libio/bits/stdio2.h: Likewise.
28752         * libio/libio.h: Likewise.
28753         * libio/libioP.h: Likewise.
28754         * libio/stdio.h: Likewise.
28755         * locale/lc-ctype.c: Likewise.
28756         * locale/locale.h: Likewise.
28757         * login/utmp.h: Likewise.
28758         * malloc/arena.c: Likewise.
28759         * malloc/malloc.c: Likewise.
28760         * malloc/malloc.h: Likewise.
28761         * malloc/mcheck.c: Likewise.
28762         * malloc/mtrace.c: Likewise.
28763         * math/bits/mathcalls.h: Likewise.
28764         * math/fenv.h: Likewise.
28765         * math/math_private.h: Likewise.
28766         * misc/bits/error.h: Likewise.
28767         * misc/bits/syslog.h: Likewise.
28768         * misc/err.h: Likewise.
28769         * misc/error.h: Likewise.
28770         * misc/fstab.h: Likewise.
28771         * misc/mntent.h: Likewise.
28772         * misc/regexp.h: Likewise.
28773         * misc/search.h: Likewise.
28774         * misc/sgtty.h: Likewise.
28775         * misc/sys/mman.h: Likewise.
28776         * misc/sys/syslog.h: Likewise.
28777         * misc/sys/uio.h: Likewise.
28778         * misc/sys/xattr.h: Likewise.
28779         * misc/ttyent.h: Likewise.
28780         * nis/rpcsvc/ypclnt.h: Likewise.
28781         * nss/nss.h: Likewise.
28782         * posix/bits/unistd.h: Likewise.
28783         * posix/fnmatch.h: Likewise.
28784         * posix/glob.h: Likewise.
28785         * posix/sched.h: Likewise.
28786         * posix/spawn.h: Likewise.
28787         * posix/sys/wait.h: Likewise.
28788         * posix/unistd.h: Likewise.
28789         * posix/wordexp.h: Likewise.
28790         * pwd/pwd.h: Likewise.
28791         * resolv/netdb.h: Likewise.
28792         * resource/sys/resource.h: Likewise.
28793         * rt/aio.h: Likewise.
28794         * rt/bits/mqueue2.h: Likewise.
28795         * rt/mqueue.h: Likewise.
28796         * shadow/shadow.h: Likewise.
28797         * signal/signal.h: Likewise.
28798         * socket/send.c: Likewise.
28799         * socket/sendto.c: Likewise.
28800         * socket/sys/socket.h: Likewise.
28801         * stdio-common/printf.h: Likewise.
28802         * stdlib/bits/stdlib.h: Likewise.
28803         * stdlib/fmtmsg.h: Likewise.
28804         * stdlib/monetary.h: Likewise.
28805         * stdlib/stdlib.h: Likewise.
28806         * stdlib/ucontext.h: Likewise.
28807         * streams/stropts.h: Likewise.
28808         * string/argz.h: Likewise.
28809         * string/bits/string2.h: Likewise.
28810         * string/string.h: Likewise.
28811         * string/strings.h: Likewise.
28812         * sunrpc/rpc/auth.h: Likewise.
28813         * sunrpc/rpc/auth_des.h: Likewise.
28814         * sunrpc/rpc/clnt.h: Likewise.
28815         * sunrpc/rpc/netdb.h: Likewise.
28816         * sunrpc/rpc/pmap_clnt.h: Likewise.
28817         * sunrpc/rpc/xdr.h: Likewise.
28818         * sysdeps/generic/inttypes.h: Likewise.
28819         * sysdeps/generic/net/if.h: Likewise.
28820         * sysdeps/generic/sys/swap.h: Likewise.
28821         * sysdeps/gnu/net/if.h: Likewise.
28822         * sysdeps/gnu/utmpx.h: Likewise.
28823         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28824         * sysdeps/i386/i486/bits/string.h: Likewise.
28825         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28826         * sysdeps/s390/bits/string.h: Likewise.
28827         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28828         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28829         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28830         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28831         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28832         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28833         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28834         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28835         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28836         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28837         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28838         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28839         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28840         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28841         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28842         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28843         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28845         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28846         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28847         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28848         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28849         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28850         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28851         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28852         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28853         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28854         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28855         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28856         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28857         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28858         * sysvipc/sys/ipc.h: Likewise.
28859         * sysvipc/sys/msg.h: Likewise.
28860         * sysvipc/sys/sem.h: Likewise.
28861         * sysvipc/sys/shm.h: Likewise.
28862         * termios/termios.h: Likewise.
28863         * time/sys/time.h: Likewise.
28864         * time/time.h: Likewise.
28865         * wcsmbs/bits/wchar2.h: Likewise.
28866         * wcsmbs/uchar.h: Likewise.
28867         * wcsmbs/wchar.h: Likewise.
28868         * wctype/wctype.h: Likewise.
28869
28870         [BZ #13551]
28871         * Makeconfig: Remove all but ELF support including AIX support.
28872         * Makerules: Likewise.
28873         * config.h.in: Likewise.
28874         * config.make.in: Likewise.
28875         * configure: Likewise.
28876         * configure.in: Likewise.
28877         * csu/Makefile: Likewise.
28878         * csu/version.c: Likewise.
28879         * debug/Makefile: Likewise.
28880         * dlfcn/Makefile: Likewise.
28881         * elf/Makefile: Likewise.
28882         * extra-lib.mk: Likewise.
28883         * iconv/Makefile: Likewise.
28884         * include/libc-symbols.h: Likewise.
28885         * include/shlib-compat.h: Likewise.
28886         * resolv/Makefile: Likewise.
28887         * resolv/res_libc.c: Likewise.
28888         * rt/Makefile: Likewise.
28889         * sysdeps/i386/asm-syntax.h: Likewise.
28890         * sysdeps/i386/sysdep.h: Likewise.
28891         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28892         * sysdeps/mach/sysdep.h: Likewise.
28893         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28894         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28895         * sysdeps/s390/asm-syntax.h: Likewise.
28896         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28897         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28898         * sysdeps/sh/sysdep.h: Likewise.
28899         * sysdeps/unix/sparc/sysdep.h: Likewise.
28900         * sysdeps/wordsize-32/divdi3.c: Likewise.
28901         * sysdeps/x86_64/sysdep.h: Likewise.
28902
28903         * argp/Versions: Remove _argp_unlock_xxx.
28904
28905         [BZ #13559]
28906         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28907         * abilist/libBrokenLocale.abilist: Likewise.
28908         * abilist/libanl.abilist: Likewise.
28909         * abilist/libc.abilist: Likewise.
28910         * abilist/libcrypt.abilist: Likewise.
28911         * abilist/libdl.abilist: Likewise.
28912         * abilist/libm.abilist: Likewise.
28913         * abilist/libnsl.abilist: Likewise.
28914         * abilist/libpthread.abilist: Likewise.
28915         * abilist/libresolv.abilist: Likewise.
28916         * abilist/librt.abilist: Likewise.
28917         * abilist/libthread_db.abilist: Likewise.
28918         * abilist/libutil.abilist: Likewise.
28919         * abilist/libnss_db.abilist: New file.
28920
28921         * scripts/abilist.awk: Add support for indirect functions.
28922
28923         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28924
28925         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28926
28927         * shlib-versions: Remove entries for ports architectures.
28928
28929         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28930         files in ports.
28931         * elf/stackguard-macros.h: Remove support for IA-64.
28932         * elf/tst-auditmod1.c: Likewise.
28933         * sysdeps/generic/ldsodefs.h: Likewise.
28934
28935         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28936         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28937         configure files.
28938
28939         [BZ #13552]
28940         * configure.in: Remove --enable-omitfp support.
28941         * FAQ.in: Adjust.
28942         * config.make.in: Likewise.
28943         * Makeconfig: Likewise.
28944         * manual/install.texi: Likewise.
28945
28946         In case anyone cares, the IA-64 architecture could move to ports.
28947         * sysdeps/ia64/*: Removed.
28948         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28949         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28950
28951         [BZ #13555]
28952         * configure.in: Remove entries for unsupported architectures.
28953
28954         [BZ #13533]
28955         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28956         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28957         routines.
28958         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28959         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28960         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28961         fall back to using wcrtomb.
28962         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28963         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28964         renaming.
28965         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28966         * wcsmbs/tst-c16c32-1.c: New file.
28967
28968         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28969         local variable.
28970
28971         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28972
28973         * elf/tst-unique3.cc: Add explicit declaration of gets.
28974         * elf/tst-unique3lib.cc: Likewise.
28975         * elf/tst-unique3lib2.cc: Likewise.
28976         * elf/tst-unique4.cc: Likewise.
28977
28978         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28979
28980 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28981
28982         [BZ #13566]
28983         * assert/assert.h (static_assert): Don't define for C++.
28984         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28985         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28986
28987 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28988
28989         * iconv/loop.c (single loop): Fix assertion in storing of
28990         remaining bytes.
28991
28992         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28993
28994 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28995
28996         * posix/getconf.c: Update copyright year.
28997         * nss/getent.c: Likewise.
28998         * nss/makedb.c: Likewise.
28999         * iconv/iconvconfig.c: Likewise.
29000         * iconv/iconv_prog.c: Likewise.
29001         * elf/ldconfig.c: Likewise.
29002         * elf/pldd.c: Likewise.
29003         * elf/sotruss.ksh: Likewise.
29004         * catgets/gencat.c: Likewise.
29005         * csu/version.c: Likewise.
29006         * elf/ldd.bash.in: Likewise.
29007         * elf/sprof.c (print_version): Likewise.
29008         * locale/programs/locale.c: Likewise.
29009         * locale/programs/localedef.c: Likewise.
29010         * login/programs/pt_chown.c: Likewise.
29011         * nscd/nscd.c (print_version): Likewise.
29012         * debug/xtrace.sh: Likewise.
29013         * malloc/memusage.sh: Likewise.
29014         * malloc/mtrace.pl: Likewise.
29015         * debug/catchsegv.sh: Likewise.
29016
29017 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
29018
29019         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29020         pure attribute.
29021
29022 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
29023
29024         [BZ #13533]
29025         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29026         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29027         transformations.
29028         * iconv/gconv_int.h: Likewise.
29029         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29030         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29031         from libc for GLIBC_2.16.
29032         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29033         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29034         * wcsmbs/uchar.h: Really define mbstate_t.
29035         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29036         * wcsmbs/c16rtomb.c: New file.
29037         * wcsmbs/mbrtoc16.c: New file.
29038         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29039         for C/POSIX locale.
29040         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29041         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29042
29043         * wcsmbs/wchar.h: Add missing __restrict.
29044
29045 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29046
29047         [BZ #13532]
29048         * time/Makefile (routines): Add timespec_get.
29049         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29050         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
29051         timespec for ISO C11.
29052         * time/timespec_get.c: New file.
29053         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29054         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29055
29056         [BZ #13531]
29057         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29058         * stdlib/stdlib.h: Declare aligned_alloc.
29059         * Versions.def: Add GLIBC_2.16 for libc.
29060         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29061
29062         [BZ 13527]
29063         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29064         ISO C11.
29065
29066         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29067         code.
29068
29069         [BZ #13528]
29070         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29071
29072         [BZ #13529]
29073         * assert/assert.h (static_assert): Define.
29074
29075         * version.h: Update for 2.16 development version.
29076
29077         [BZ #13526]
29078         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29079         _ISOC11_SOURCE.
29080
29081         * version.h (RELEASE): Bump for 2.15 release.
29082         * include/features.h (__GLIBC_MINOR__): Bump to 15.
29083
29084         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29085         Patch by Marek Polacek <mpolacek@redhat.com>.
29086
29087         * bits/byteswap.h: Protect long long constants with __extension__.
29088         * sysdeps/i386/bits/byteswap.h: Likewise.
29089         * sysdeps/ia64/bits/byteswap.h: Likewise.
29090         * sysdeps/s390/bits/byteswap.h: Likewise.
29091         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29092
29093 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29094
29095         [BZ #13540]
29096         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29097         destination buffer.
29098         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29099
29100 2011-12-23  Marek Polacek  <polacek@redhat.com>
29101
29102         * elf/dl-addr.c (determine_info): Add inline keyword.
29103         * elf/tst-auditmod4b.c (check_avx): Likewise.
29104         * elf/tst-auditmod6b.c (check_avx): Likewise.
29105         * elf/tst-auditmod6c.c (check_avx): Likewise.
29106         * elf/tst-auditmod7b.c (check_avx): Likewise.
29107
29108 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29109
29110         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29111         !__SSE_MATH__.
29112
29113 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29114
29115         [BZ #13540]
29116         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29117         processing for last bytes.
29118
29119 2011-08-06  Bruno Haible  <bruno@clisp.org>
29120
29121         [BZ #13061]
29122         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29123         U+0385, not to U+1FEE.
29124
29125         [BZ #13062]
29126         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29127         entry for U+00A5 U+0301.
29128
29129 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29130
29131         [BZ #13166]
29132         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29133         buffer for the output is too small.
29134
29135         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29136         optimization.
29137
29138         [BZ #13185]
29139         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29140         SSE flags if possible.
29141
29142 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29143
29144         [BZ #13540]
29145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29146         processing for last bytes.
29147
29148 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
29149
29150         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29151         (syscall-list-default-options, syscall-list-default-condition)
29152         (syscall-list-includes): Define.
29153         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29154         list of ABIs and options and #if conditions for each ABI.  Do not
29155         handle common syscalls between ABIs specially.
29156         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29157         Remove.
29158         (syscall-list-variants, syscall-list-32bit-options)
29159         (syscall-list-32bit-condition, syscall-list-64bit-options)
29160         (syscall-list-64bit-condition): Define.
29161         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29162         (syscall-list-variants, syscall-list-32bit-options)
29163         (syscall-list-32bit-condition, syscall-list-64bit-options)
29164         (syscall-list-64bit-condition): Define.
29165         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29166         Remove.
29167         (syscall-list-variants, syscall-list-32bit-options)
29168         (syscall-list-32bit-condition, syscall-list-64bit-options)
29169         (syscall-list-64bit-condition): Define.
29170         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29171         Remove.
29172         (syscall-list-variants, syscall-list-32bit-options)
29173         (syscall-list-32bit-condition, syscall-list-64bit-options)
29174         (syscall-list-64bit-condition): Define.
29175
29176 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29177
29178         * locale/iso-639.def: Add brx entry.
29179
29180         [BZ #13328]
29181         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29182         Proposed by Mariusz_Cukr <marcukr@op.pl>.
29183
29184         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29185         __feraiseexcept_renamed.
29186
29187 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29188
29189         [BZ #13538]
29190         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29191         EPOLLET with unsigned values.
29192         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29193         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29194
29195         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29196         to large cancellation.
29197         * math/s_cacoshf.c: Likewise.
29198         * math/s_cacoshl.c: Likewise.
29199
29200 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
29201
29202         [BZ #13305]
29203         [BZ #12786]
29204         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29205         * math/s_cacoshf.c: Likewise.
29206         * math/s_cacoshl.c: Likewise.
29207
29208 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29209
29210         [BZ #13439]
29211         * iconv/gconv.h: Define __GCONV_SWAP.
29212         * iconvdata/unicode.c: The swap bit must be stored in __flags.
29213         * iconvdata/utf-16.c: Likewise.
29214         * iconvdata/utf-32.c: Likewise.
29215
29216 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29217
29218         [BZ #13524]
29219         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29220         numerator after shifting it by one limb.
29221
29222 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
29223
29224         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29225         under [__USE_EXTERN_INLINES].
29226
29227 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29228
29229         [BZ #13446]
29230         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29231
29232 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29233
29234         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29235         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29236         optimized code.
29237         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29238         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29239         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29240         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29241         for strncasecmp/strncasecmp_l compilation.
29242         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29243         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29244
29245 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
29246
29247         [BZ #13484]
29248         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29249         of __asm__.
29250
29251 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29252
29253         [BZ #13506]
29254         * time/tzfile.c (__tzfile_read): Check values from file header.
29255
29256 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29257
29258         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29259         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29260         * powerpc/powerpc32/dl-start.S: Likewise.
29261         * powerpc/powerpc32/elf/start.S: Likewise.
29262         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29263         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29264         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29265         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29266         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29267         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29268         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29269         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29270         * powerpc/powerpc32/fpu/s_round.S: Likewise.
29271         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29272         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29273         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29274         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29275         * powerpc/powerpc32/memset.S: Likewise.
29276         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29277         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29278         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29279         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29280         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29281         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29282         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29283         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29284         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29285         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29286         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29287         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29288         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29289
29290 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29291
29292         * math/libm-test.inc: Added more nearbyint tests.
29293         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29294         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29296         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29297
29298 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
29299
29300         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29301         FD_CLOEXEC.
29302
29303 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29304
29305         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29306         Add wcscpy-ssse3 wcscpy-c.
29307         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29308         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29309         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29310         * sysdeps/x86_64/wcschr.S: New file.
29311         * sysdeps/x86_64/wcsrchr.S: New file.
29312         * string/test-strcmp.c: Remove checking of wcscmp function for
29313         wrong alignments.
29314         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29315         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29316         wcsrchr-sse2 wcsrchr-c.
29317         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29318         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29319         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29320         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29321         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29322         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29323         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29324         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29325         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29326         * wcsmbc/wcschr.c (WCSCHR): New macro.
29327
29328 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29329
29330         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29331         * wcsmbs/test-wcsrchr.c: New file.
29332         * string/test-strrchr.c: Add wcsrchr support.
29333         (WIDE): New macro.
29334         * wcsmbs/test-wcscpy.c: New file.
29335         * string/test-strcpy.c: Add wcscpy support.
29336         (WIDE): New macro.
29337
29338 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
29339
29340         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29341         the inner loop.
29342
29343 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
29344
29345         [BZ #13472]
29346         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29347
29348 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
29349
29350         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29351         Minor optimizations.
29352
29353         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29354         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29355         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29356
29357 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
29358
29359         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29360         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29361         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29362         for gcc to avoid warnings.
29363         * inet/Makefile (tests): Add tst-checks.
29364         * inet/tst-checks.c: New file.
29365
29366         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29367         warning.
29368
29369         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29370         __wmemcmp_sse2.
29371
29372         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29373         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29374
29375         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29376
29377 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
29378
29379         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29380         problem.
29381
29382         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29383
29384 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
29385
29386         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29387         conditional on GCC version.
29388         (__arch_compare_and_exchange_val_8_acq)
29389         (__arch_compare_and_exchange_val_16_acq)
29390         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29391         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29392         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29393
29394 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
29395
29396         * sysdeps/sh/backtrace.c: New file.
29397
29398 2011-12-02  Andreas Schwab  <schwab@redhat.com>
29399
29400         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
29401         parenthesis.
29402
29403 2011-12-01  Andreas Schwab  <schwab@redhat.com>
29404
29405         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29406         falling back to utime.
29407
29408 2011-11-30  Andreas Schwab  <schwab@redhat.com>
29409
29410         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29411         expectations for float.
29412
29413 2011-11-29  Andreas Schwab  <schwab@redhat.com>
29414
29415         * locale/weight.h (findidx): Add parameter len.
29416         * locale/weightwc.h (findidx): Likewise.
29417         * posix/fnmatch_loop.c (FCT): Adjust caller.
29418         * posix/regcomp.c (build_equiv_class): Likewise.
29419         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29420         * posix/regexec.c (check_node_accept_bytes): Likewise.
29421         * string/strcoll_l.c (STRCOLL): Likewise.
29422         * string/strxfrm_l.c (STRXFRM): Likewise.
29423
29424 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
29425
29426         * Makefile.in: Remove CVSOPT handling.
29427         * configure.in: Remove use of AC_REVISION.
29428         * iconvdata/Makefile (distribute): No need to filter out CVS.
29429         * scripts/list-sources.sh: Remove CVS, subversion and monotone
29430         handling.
29431
29432 2011-11-16  Andreas Schwab  <schwab@redhat.com>
29433
29434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29435         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29436         [USE_AS_STRNCASECMP_L]: Likewise.
29437         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29438         NO_TLS_DIRECT_SEG_REFS.
29439         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29440         Fix argument offsets for non-PIC.
29441         [USE_AS_STRNCASECMP_L]: Likewise.
29442         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29443         NO_TLS_DIRECT_SEG_REFS.
29444
29445 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29446
29447         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29448         O_CLOEXEC.
29449         * locale/loadlocale.c (_nl_load_locale): Likewise.
29450
29451 2011-11-15  Andreas Schwab  <schwab@redhat.com>
29452
29453         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29454         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29455         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29456         (SYSCALL_GETTIME): Set errno on error.
29457
29458         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29459         count references to noai6ai_cached.
29460
29461 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29462
29463         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29464
29465         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29466         FD_CLOEXEC for /proc/self/maps.
29467
29468         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29469         FD_CLOEXEC for /proc/meminfo.
29470
29471         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29472         gai.conf.
29473
29474         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
29475         FD_CLOEXEC for given file.
29476
29477         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29478
29479         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29480         FD_CLOEXEC for /etc/hosts.
29481         (_gethtent): Likewise.
29482
29483         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29484
29485         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29486         cancellation and set FD_CLOEXEC for /etc/netgroup.
29487
29488         * nss/nss_files/files-key.c (search): Don't allow cancellation when
29489         reading /etc/publickey.
29490
29491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29492         allow cancellation when reading /etc/group.
29493
29494         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29495         cancellation.
29496         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29497
29498         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29499         when using data file.
29500
29501         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29502
29503         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29504         (write_nis_obj): Use "c" and "e" in fopen.
29505
29506         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29507
29508         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29509
29510         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29511
29512         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29513
29514         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29515         locale.alias.
29516
29517         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29518
29519         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29520
29521         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29522
29523         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29524         file parsing and set FD_CLOEXEC.
29525
29526 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29527
29528         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29529
29530 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29531
29532         * malloc/arena.c (arena_get2): Don't call reused_arena when
29533         _int_new_arena failed.
29534
29535 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29536
29537         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29538         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29539         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29540         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29541         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29542         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29543         to compile strcasecmp and strncasecmp.
29544         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29545         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29546
29547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29548
29549 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29550
29551         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29552         locale-defines.sym to gen-as-const-headers.
29553         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29554         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29555         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29556         to compile strcasecmp and strncasecmp.
29557         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29558         strcasecmp_l and strncasecmp_l.
29559         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29560         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29561         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29562         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29563         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29564         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29565         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29566         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29567         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29568         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29569         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29570
29571 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29572
29573         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29574         result of SYSDEP_GETTIME_CPU to retval.
29575         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29576         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29577
29578         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29579         variable.
29580
29581         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29582         mantissa words.
29583         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29584
29585         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29586         from unused variable.
29587
29588         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29589         DWARF definitions.
29590         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29591         for assembling.
29592
29593         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29594         over namespaces.
29595
29596         * sunrpc/rpc_prot.c (rejected): Fix case value.
29597
29598         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29599         unsigned long long int to avoid warnings in shift.
29600
29601         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29602         of use of trans.
29603         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29604         variable tmp.
29605
29606         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29607         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29608         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29609
29610         * nis/nis_table.c (nis_list): Use variable of correct type for
29611         result of __follow_path call.
29612
29613 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29614
29615         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29616         of math functions ceil, trunc, floor, round, and sqrt, when
29617         avaliable on the platform.
29618         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29619         name clash.
29620         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29621         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29622         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29623
29624 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29625
29626         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29627         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29628
29629 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29630
29631         * include/unistd.h: Fix __readlink return type.
29632         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29633
29634 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29635
29636         * stdlib/ucontext.h: Undo last change for makecontext.
29637
29638 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29639
29640         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29641
29642         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29643         * setjmp/setjmp.h: Mark functions as non-leaf.
29644         * setjmp/bits/setjmp2.h: Likewise.
29645         * stdlib/ucontext.h: Likewise.
29646
29647 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29648
29649         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29650         (reused_arena): Don't check arena limit.
29651         (arena_get2): Atomically check arena limit.
29652
29653 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29654
29655         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29656         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29657
29658         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29659         instructions.
29660
29661 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29662
29663         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29664         handler when locking.
29665
29666         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29667         Fix size of allocated buffer.
29668
29669 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29670
29671         [BZ #10103]
29672         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29673         declarations for long double functions.
29674         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29675
29676         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29677
29678 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29679
29680         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29681         installed.
29682
29683         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29684         is disabled.
29685
29686 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29687
29688         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29689
29690 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29691
29692         * include/alloca.h (stackinfo_alloca_round): Define.
29693         (extend_alloca): Use it.
29694         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29695         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29696         here.
29697
29698         * scripts/check-local-headers.sh: Ignore libaudit.h.
29699
29700         * nscd/Makefile (extra-objs): Make recursively expanded.
29701
29702 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29703
29704         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29705         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29706
29707         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29708         * posix/tst-rfc3484-2.c: Likewise.
29709         * posix/tst-rfc3484-3.c: Likewise.
29710
29711         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29712         process_vm_writev.
29713         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29714         process_vm_writev.
29715         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29716         process_vm_writev from libc using GLIBC_2.15 version.
29717
29718         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29719
29720 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29721
29722         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29723         stack usage.
29724
29725 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29726
29727         [BZ #13367]
29728         * nss/getent.c (initgroups_keys): Show error message in case no group
29729         names are given.
29730
29731         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29732         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29733         __bump_nl_timestamp.
29734         * nscd/connections (nscd_init): When host database is served open
29735         netlink socket and request notification about configuration changes.
29736         (main_loop_poll): Track netlink file descriptor and bump timestamp
29737         in case data becomes available.
29738         (main_loop_epoll): Likewise.
29739         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29740         (database_pers_head): Add extra_data fileds.
29741         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29742         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29743         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29744         Adjust caller.
29745         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29746         in6ai data, call __free_in6ai.
29747         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29748         Add -DHAVE_NETLINK.
29749         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29750         interface information.  Reuse previous data if netlink timestamp
29751         is not changed.
29752         (__bump_nl_timestamp): New function.
29753         (__free_in6ai): New function.
29754
29755 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29756
29757         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29758         close_not_cancel_no_status here.
29759         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29760
29761 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29762
29763         [BZ #13276]
29764         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29765         return value.
29766
29767         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29768         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29769         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29770
29771 2011-07-03  Andreas Jaeger  <aj@suse.de>
29772
29773         [BZ #10709]
29774         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29775         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29776         * math/libm-test.inc (sin_test): Add test case.
29777
29778 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29779
29780         [BZ #13337]
29781         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29782         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29783
29784         * elf/chroot_canon.c (chroot_canon): Cleanups.
29785
29786         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29787
29788         [BZ #13335]
29789         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29790         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29791
29792         * string/test-strchr.c: Make usable for strchrnul testing.
29793         * string/test-strchrnul.c: New file.
29794         * string/Makefile (strop-tests): Add strchrnul.
29795
29796         * po/it.po: Update from translation team.
29797         * po/es.po: Likewise.
29798
29799 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29800
29801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29802         the three constants needed as parameters.  Drop the others.
29803         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29804         __m128i_strloadu_tolower.
29805         Create and initialize variable zero and use it in all the places
29806         where _mm_setzero_si128 was used.
29807
29808         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29809         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29810         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29811         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29812         anymore.
29813         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29814         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29815         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29816         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29817         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29818         __mpranred, __mptan.
29819         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29820         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29821         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29822         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29823         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29824         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29825         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29826         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29827         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29828
29829 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29830
29831         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29832         redefine if SHARED.
29833         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29834
29835         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29836         wide char related routines to wcsmbs subdir.
29837
29838 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29839
29840         [BZ #13344]
29841         * misc/sys/cdefs.h (__THROWNL): Define.
29842         * posix/unistd.h: Use __THREADNL instead of __THREAD
29843         for memory synchronization functions.
29844
29845 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29846
29847         [BZ #13349]
29848         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29849         doesn't exist.
29850         * manual/stdio.texi (Obstack Streams): Node removed.
29851
29852 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29853
29854         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29855         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29856         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29857
29858         * math/math_private.h (math_force_eval): Allow non-addressable
29859         arguments.
29860         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29861
29862 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29863
29864         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29865         file is not needed.
29866
29867         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29868         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29869         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29870         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29871         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29872         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29873         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29874         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29875         Add AVX variants.
29876         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29877         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29878         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29879         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29880         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29881         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29882         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29883         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29884         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29885         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29886         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29887         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29888         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29889         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29890         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29891         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29892         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29893         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29894         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29895
29896         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29897         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29898
29899         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29900         place.  Use VEX encoding when compiling for AVX.
29901
29902 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29903
29904         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29905         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29906
29907         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29908
29909 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29910
29911         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29912         useless if() expression.
29913         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29914         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29917         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29918         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29919         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29921         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29922         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29923         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29924         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29925         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29926         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29927         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29928         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29929         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29930         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29931         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29932
29933         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29934
29935 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29936
29937         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29938         condition.
29939         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29940
29941 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29942
29943         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29944         .text section.  Avoid duplicate constants.
29945         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29947         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29948         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29949         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29950         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29951         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29952         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29953         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29954         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29955         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29956         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29957         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29958         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29959         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29960         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29961         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29962         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29963         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29964         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29965         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29966         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29967         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29968         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29969         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29970         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29971         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29972         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29973         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29974         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29975         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29976         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29977         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29978         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29979         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29980         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29981         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29982         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29983         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29984         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29985         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29986         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29987         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29988         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29989         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29990
29991 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29992
29993         * sysdeps/x86_64/dla.h: Move to ...
29994         * sysdeps/x86_64/fpu/dla.h: ...here.
29995         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29996         situations.  Use __builtin_fma only for gcc 4.6 and up.
29997
29998         * config.make.in: Add have-mfma4 entry.
29999         * configure.in: Substitute libc_cv_cc_fma4.
30000         * math/Makefile (dbl-only-routines): Add sincostab.
30001         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30002         Use __sincostab not sincos.
30003         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30004         name is a macro.
30005         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30007         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
30009         using __copysign.
30010         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
30011         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
30012         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30013         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30014         and __inv.
30015         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30016         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30017         __copysign.
30018         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
30019         define aliases when function name is a macro.
30020         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30021         sysdeps/ieee754/dbl-64/sincos.tbl.
30022         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30023         fma4-enabled routines.
30024         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30025         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30026         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30027         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30028         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30029         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30030         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30031         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30032         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30033         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30034         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30035         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30036         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30037         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30038         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30039         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30040         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30041         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30042         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30043         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30044         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30045         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30046         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30047         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30048         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30049         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30050         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30051         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30052         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30053         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30054
30055         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30056         rename.
30057         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30058         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30059         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30060         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30061         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30062         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30063         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30064         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30065
30066 2011-10-24  Andreas Schwab  <schwab@redhat.com>
30067
30068         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30069
30070 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30071
30072         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30073
30074         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30075         prediction.
30076         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30077
30078         * string/strnlen.c: Don't define STRNLEN, reverse logic.
30079         Remove unused variable magic_bits.
30080         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30081
30082         * string/strnlen.c: Define and use STRNLEN macro.
30083         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30084         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30086         * wcsmbs/wcslen.c: Define and use WCSLEN.
30087         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30088         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30089         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30090         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30091         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30092         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30093         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30094
30095 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30096
30097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30098         strnlen-sse2-no-bsf.
30099         Rename strlen-no-bsf to strlen-sse2-no-bsf.
30100         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30101         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30102         Add strnlen support.
30103         (USE_AS_STRNLEN): New macro.
30104         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30105         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30106         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30107         * sysdeps/x86_64/wcslen.S: New file.
30108
30109 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
30110
30111         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30112         XMM-moves are used for copying on small sizes.
30113
30114 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30115
30116         * wcsmbs/Makefile (strop-tests): Add wcschr.
30117         * wcsmbs/test-wcschr.c: New file.
30118         * string/test-strchr.c: Update.
30119         Add wcschr support.
30120         (WIDE): New macro.
30121
30122 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30123
30124         * wcsmbs/Makefile (strop-tests): Add wcslen.
30125         * wcsmbs/test-wcslen.c: New file.
30126         * string/test-strlen.c: Update.
30127         Add wcslen support.
30128         (WIDE): New macro.
30129
30130 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30131
30132         * po/it.po: Update from translation team.
30133
30134 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30135
30136         * sysdeps/x86_64/wcscmp.S: Update.
30137         Fix wrong comparison semantics.
30138         wcscmp shall use signed comparison not unsigned.
30139         Don't use substraction to avoid overflow bug.
30140         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30141         * wcsmbc/wcscmp.c: Likewise.
30142         * string/test-strcmp.c: Likewise.
30143         Add new tests to check cases with negative values.
30144
30145 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30146
30147         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30148         * sysdeps/x86_64/dla.h: ...here.  New file.
30149         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30150         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30152         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30153         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30154         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30156         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30157         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30158
30159 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
30160
30161         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30162         __ynl_finite aliases.
30163
30164 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30165
30166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30167
30168         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30169         define DLA_FMA.
30170         [DLA_FMA] (EMULV): Use DLA_FMA.
30171         [DLA_FMA] (MUL12): Use EMULV.
30172         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30173         that are not needed.
30174         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30175         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30176         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30178         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30179         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30180         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30181
30182 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
30183
30184         * math/s_nan.c: Undef __nan.
30185         * math/s_nanf.c: Undef __nanf.
30186         * math/s_nanl.c: Undef __nanl.
30187         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30188         "math_private.h".
30189
30190 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30191
30192         * math/s_catan.c: Add branch predictions.
30193         * math/s_catanf.c: Likewise.
30194         * math/s_catanh.c: Likewise.
30195         * math/s_catanhf.c: Likewise.
30196         * math/s_catanhl.c: Likewise.
30197         * math/s_catanl.c: Likewise.
30198         * math/s_cexp.c: Likewise.
30199         * math/s_cexpf.c: Likewise.
30200         * math/s_cexpl.c: Likewise.
30201         * math/s_clog.c: Likewise.
30202         * math/s_clog10.c: Likewise.
30203         * math/s_clog10f.c: Likewise.
30204         * math/s_clog10l.c: Likewise.
30205         * math/s_clogf.c: Likewise.
30206         * math/s_clogl.c: Likewise.
30207         * math/s_csqrt.c: Likewise.
30208         * math/s_csqrtf.c: Likewise.
30209         * math/s_csqrtl.c: Likewise.
30210         * math/s_ctanf.c: Likewise.
30211         * math/s_ctanh.c: Likewise.
30212         * math/s_ctanhf.c: Likewise.
30213         * math/s_ctanhl.c: Likewise.
30214         * math/s_ctanl.c: Likewise.
30215
30216         * math/math_private.h: Define __nan, __nanf, __nanl.
30217         * math/s_cacosh.c: Include <math_private.h>.
30218         * math/s_cacoshl.c: Likewise.
30219         * math/s_casinh.c: Likewise.
30220         * math/s_casinhf.c: Likewise.
30221         * math/s_casinhl.c: Likewise.
30222         * math/s_ccos.c: Rely entire on ccosh.
30223         * math/s_ccosf.c: Rely entire on ccoshf.
30224         * math/s_ccosl.c: Rely entirely on ccoshl.
30225         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
30226         Remove tests for FE_INVALID.
30227         * math/s_ccoshf.c: Likewise.
30228         * math/s_ccoshl.c: Likewise.
30229         * math/s_csin.c: Likewise.
30230         * math/s_csinf.c: Likewise.
30231         * math/s_csinh.c Likewise.
30232         * math/s_csinhf.c: Likewise.
30233         * math/s_csinhl.c: Likewise.
30234         * math/s_csinl.c: Likewise.
30235         * math/s_ctan.c: Likewise.
30236         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30237         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30238         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30239
30240 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
30241
30242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30243         compilation problems.
30244
30245         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30246         __builtin_expect.
30247
30248 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
30249
30250         * sysdeps/i386/configure.in: Test for -mfma4 option.
30251         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30252         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30253         COMMON_CPUID_INDEX_80000001.
30254         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30255         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30256         use it if FMA3 is not supported.
30257         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30258
30259         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30260         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30261
30262 2011-10-20  Andreas Schwab  <schwab@redhat.com>
30263
30264         [BZ #12892]
30265         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30266         it would create a cycle with a link time dependency.
30267
30268 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
30269
30270         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30271         instruction.
30272         * string/Makefile (strop-tests): Add rawmemchr.
30273         * string/test-rawmemchr.c: New file.
30274
30275         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30276         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
30277         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
30278         when compiling str{,n}casecmp and when AVX is available.  Hook up
30279         new optimized code in initializers.
30280
30281 2011-10-19  Andreas Schwab  <schwab@redhat.com>
30282
30283         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30284         __feraiseexcept instead of feraiseexcept.
30285
30286 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
30287
30288         * math/math_private.h: Define defaults for libc_fetestexcept and
30289         libc_feupdateenv.
30290         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30291         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30292         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30293         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30294         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30295         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30296         libc_fetestexcept and libc_feupdateenv.
30297
30298         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30299         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30300         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30301         * sysdeps/x86_64/fpu/math_private.h: Define special version of
30302         libc_feholdexcept_setround.
30303
30304         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30305         Add s_nearbyint-c and s_nearbyintf-c.
30306         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30307         nearbyintf inlines.
30308         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30309         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30310         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30311         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30312
30313         * math/math_private.h: Define defaults for libc_fegetround,
30314         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30315         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30316         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30317         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30318         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30319         standard functions.
30320         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30321         Remove comments and hacks for old compiler versions.
30322         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30323         libc_fegetround, libc_fesetround, libc_feholdexcept, and
30324         libc_feholdexceptl.
30325
30326 2011-10-18  Andreas Schwab  <schwab@redhat.com>
30327
30328         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30329         (__feraiseexcept_renamed): Add __NTH.
30330         (feraiseexcept): Add __NTH.  Rename local variables to fix
30331         namespace violations.
30332
30333 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
30334
30335         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30336
30337         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30338
30339         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30340         recently added interfaces.
30341         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30342
30343         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30344         about macro parameter expansion.
30345
30346         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30347         __NO_MATH_INLINES is defined.  Cleanups.
30348
30349         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30350         and __floorf is target has SSE4.1.
30351         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30352         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30353         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30354         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30355
30356         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30357         name.
30358         (floorf): Likewise.
30359
30360         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30361
30362 2011-10-17  Andreas Schwab  <schwab@redhat.com>
30363
30364         * misc/sys/cdefs.h: Fix last change.
30365
30366         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30367         database lookup.
30368
30369 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
30370
30371         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30372
30373         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30374         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30375         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30376         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30377         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30378         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30379         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30380         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30381         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30382         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30383         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30384         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30385         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30386         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30387         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30388         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30389         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30390         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30391         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30392         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30393         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30394         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30395
30396         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30397         ceil, ceilf, floor, floorf.
30398
30399         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30400         Perform IRELATIVE relocations last.
30401
30402         * elf/do-rel.h: Add another parameter nrelative, replacing the
30403         local variable with the same name.  Change name of the function
30404         to end in Rel or Rela (uppercase).
30405         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30406         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
30407         elf_dynamic_do_##reloc function.
30408
30409 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30410
30411         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30412         is sufficient, at least on modern CPUs.
30413
30414         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30415
30416         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30417         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30418
30419         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30420         __expl_finite.
30421         * math/bits/math-finite.h: Add entries for exp.
30422         * math/e_expl.c: Add __*_finite alias.
30423         * sysdeps/i386/fpu/e_exp.S: Likewise.
30424         * sysdeps/i386/fpu/e_expf.S: Likewise.
30425         * sysdeps/i386/fpu/e_expl.c: Likewise.
30426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30427         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30428         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30429         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30430         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30431         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30432         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30433
30434         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30435         is sufficient, at least on modern CPUs.
30436
30437         * ctype/ctype-info.c (__ctype_init): Define.
30438         * include/ctype.h (__ctype_init): Declare.
30439         (__ctype_b_loc): The variable is always initialized.
30440         (__ctype_toupper_loc): Likewise.
30441         (__ctype_tolower_loc): Likewise.
30442         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30443         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30444
30445 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
30446
30447         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30448
30449         * configure.in: Also look in $cxxmachine/include for C++ system
30450         headers.
30451
30452 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30453
30454         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30455         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30456         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30457         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
30458         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30459         (USE_AS_WMEMCMP): New macro.
30460         Fixing indents.
30461         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30462         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30463         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30464         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30466         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30467         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30468         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30469         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30470         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30471         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30472         (USE_AS_WMEMCMP): New macro.
30473         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30474         * sysdeps/string/test-memcmp.c: Update.
30475         Fix simple_wmemcmp.
30476         Add new tests.
30477         * wcsmbs/wmemcmp.c: Update.
30478         (WMEMCMP): New macro.
30479         Fix overflow bug.
30480
30481 2011-10-12  Andreas Jaeger  <aj@suse.de>
30482
30483         [BZ #13268]
30484         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30485
30486 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30487
30488         * libio/iofwide.c (do_length): Avoid warning.
30489
30490         * ctype/ctype.h (__isctype_f): Add missing __THROW.
30491
30492 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30493
30494         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30495
30496         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30497         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30498         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30499         * sysdeps/i386/i686/fpu/e_log.S: New file.
30500         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30501         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30502
30503         * ctype/ctype.h: Add support for inlined isXXX functions when
30504         compiling C++ code.
30505
30506 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30507
30508         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30509
30510         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30511
30512 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30513
30514         [BZ #13291]
30515         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30516
30517 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30518
30519         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30520         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30521         feraiseexcept.
30522
30523         * sysdeps/x86_64/memrchr.S: Check for zero size.
30524
30525         * string/stratcliff.c: Add memrchr tests.
30526
30527 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30528
30529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30530         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30531         rawmemchr-sse2 rawmemchr-sse2-bsf.
30532         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30533         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30534         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30535         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30536         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30537         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30538         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30539         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30540         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30541         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30542         * string/memrchr.c (MEMRCHR): New macro.
30543
30544 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30545
30546         Add integration with gcc's -ffinite-math-only and optimize wrapper
30547         functions in libm.
30548         * Versions.def: Define GLIBC_2.15 version for libm.
30549         * math/Makefile (headers): Add bits/math-finite.h.
30550         * math/bits/math-finite.h: New file.
30551         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30552         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30553         * math/e_acoshl.c: Add __*_finite alias.
30554         * math/e_acosl.c: Likewise.
30555         * math/e_asinl.c: Likewise.
30556         * math/e_atan2l.c: Likewise.
30557         * math/e_atanhl.c: Likewise.
30558         * math/e_coshl.c: Likewise.
30559         * math/e_exp10.c: Likewise.
30560         * math/e_exp10f.c: Likewise.
30561         * math/e_exp10l.c: Likewise.
30562         * math/e_exp2l.c: Likewise.
30563         * math/e_fmodl.c: Likewise.
30564         * math/e_gammal_r.c: Likewise.
30565         * math/e_hypotl.c: Likewise.
30566         * math/e_j0l.c: Likewise.
30567         * math/e_j1l.c: Likewise.
30568         * math/e_jnl.c: Likewise.
30569         * math/e_lgammal_r.c: Likewise.
30570         * math/e_log10l.c: Likewise.
30571         * math/e_log2l.c: Likewise.
30572         * math/e_logl.c: Likewise.
30573         * math/e_powl.c: Likewise.
30574         * math/e_sinhl.c: Likewise.
30575         * math/e_sqrtl.c: Likewise.
30576         * math/e_scalb.c: Completely rewritten and optimized.
30577         * math/e_scalbf.c: Likewise.
30578         * math/e_scalbl.c: Likewise.
30579         * math/w_acos.c: Likewise.
30580         * math/w_acosf.c: Likewise.
30581         * math/w_acosl.c: Likewise.
30582         * math/w_acosh.c: Likewise.
30583         * math/w_acoshf.c: Likewise.
30584         * math/w_acoshl.c: Likewise.
30585         * math/w_asin.c: Likewise.
30586         * math/w_asinf.c: Likewise.
30587         * math/w_asinl.c: Likewise.
30588         * math/w_atan2.c: Likewise.
30589         * math/w_atan2f.c: Likewise.
30590         * math/w_atan2l.c: Likewise.
30591         * math/w_atanh.c: Likewise.
30592         * math/w_atanhf.c: Likewise.
30593         * math/w_atanhl.c: Likewise.
30594         * math/w_exp10.c: Likewise.
30595         * math/w_exp10f.c: Likewise.
30596         * math/w_exp10l.c: Likewise.
30597         * math/w_fmod.c: Likewise.
30598         * math/w_fmodf.c: Likewise.
30599         * math/w_fmodl.c: Likewise.
30600         * math/w_j0.c: Likewise.
30601         * math/w_j0f.c: Likewise.
30602         * math/w_j0l.c: Likewise.
30603         * math/w_j1.c: Likewise.
30604         * math/w_j1f.c: Likewise.
30605         * math/w_j1l.c: Likewise.
30606         * math/w_jn.c: Likewise.
30607         * math/w_jnf.c: Likewise.
30608         * math/w_log.c: Likewise.
30609         * math/w_logf.c: Likewise.
30610         * math/w_logl.c: Likewise.
30611         * math/w_log10.c: Likewise.
30612         * math/w_log10f.c: Likewise.
30613         * math/w_log10l.c: Likewise.
30614         * math/w_log2.c: Likewise.
30615         * math/w_log2f.c: Likewise.
30616         * math/w_log2l.c: Likewise.
30617         * math/w_pow.c: Likewise.
30618         * math/w_powf.c: Likewise.
30619         * math/w_powl.c: Likewise.
30620         * math/w_remainder.c: Likewise.
30621         * math/w_remainderf.c: Likewise.
30622         * math/w_remainderl.c: Likewise.
30623         * math/w_scalb.c: Likewise.
30624         * math/w_scalbf.c: Likewise.
30625         * math/w_scalbl.c: Likewise.
30626         * math/w_sqrt.c: Likewise.
30627         * math/w_sqrtf.c: Likewise.
30628         * math/w_sqrtl.c: Likewise.
30629         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30630         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30631         used.
30632         * math/math_private.h: Declare __kernel_standard_f.
30633         * math/w_cosh.c: Remove cruft and optimize a bit.
30634         * math/w_coshf.c: Likewise.
30635         * math/w_coshl.c: Likewise.
30636         * math/w_exp2.c: Likewise.
30637         * math/w_exp2f.c: Likewise.
30638         * math/w_exp2l.c: Likewise.
30639         * math/w_hypot.c: Likewise.
30640         * math/w_hypotf.c: Likewise.
30641         * math/w_hypotl.c: Likewise.
30642         * math/w_lgamma.c: Likewise.
30643         * math/w_lgamma_r.c: Likewise.
30644         * math/w_lgammaf.c: Likewise.
30645         * math/w_lgammaf_r.c: Likewise.
30646         * math/w_lgammal.c: Likewise.
30647         * math/w_lgammal_r.c: Likewise.
30648         * math/w_sinh.c: Likewise.
30649         * math/w_sinhf.c: Likewise.
30650         * math/w_sinhl.c: Likewise.
30651         * math/w_tgamma.c: Likewise.
30652         * math/w_tgammaf.c: Likewise.
30653         * math/w_tgammal.c: Likewise.
30654         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30655         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30656         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30657         Minor optimizations.  Pretty printing.  Remove cruft.
30658         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30659         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30660         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30661         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30662         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30663         * sysdeps/i386/fpu/e_asin.S: Likewise.
30664         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30665         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30666         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30667         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30668         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30669         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30670         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30671         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30672         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30673         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30674         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30675         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30676         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30677         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30678         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30679         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30680         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30681         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30682         * sysdeps/i386/fpu/e_log.S: Likewise.
30683         * sysdeps/i386/fpu/e_log10.S: Likewise.
30684         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30685         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30686         * sysdeps/i386/fpu/e_log2.S: Likewise.
30687         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30688         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30689         * sysdeps/i386/fpu/e_logf.S: Likewise.
30690         * sysdeps/i386/fpu/e_logl.S: Likewise.
30691         * sysdeps/i386/fpu/e_pow.S: Likewise.
30692         * sysdeps/i386/fpu/e_powf.S: Likewise.
30693         * sysdeps/i386/fpu/e_powl.S: Likewise.
30694         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30695         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30696         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30697         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30698         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30699         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30700         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30701         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30702         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30703         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30704         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30706         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30707         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30708         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30709         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30710         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30711         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30712         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30713         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30714         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30716         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30717         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30718         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30719         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30720         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30721         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30722         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30723         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30724         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30725         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30726         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30727         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30728         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30729         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30730         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30731         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30732         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30733         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30734         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30735         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30736         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30737         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30738         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30739         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30740         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30741         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30742         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30743         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30744         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30745         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30746         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30747         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30748         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30749         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30750         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30751         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30752         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30753         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30754         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30755         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30756         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30757         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30758         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30759         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30760         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30761         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30762         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30763         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30767         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30770         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30771         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30772         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30773         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30774         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30775         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30776         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30777         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30778         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30779         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30780         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30781         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30782         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30783         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30784         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30785         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30786         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30787         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30788         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30789         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30790         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30791         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30792         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30793         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30794         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30795         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30796         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30797         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30798         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30799         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30800         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30801         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30802         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30803         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30804         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30805         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30806         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30807         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30808         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30809         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30810         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30811         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30812         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30813         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30814         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30815         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30816         (__isnanf): Likewise.
30817         (__isinf_ns): Likewise.
30818         (__isinf_nsf): Likewise.
30819         (__finite): Likewise.
30820         (__finitef): Likewise.
30821         (__ieee754_sqrt): Define as macro.
30822         (__ieee754_sqrtf): Define as macro.
30823         (__ieee754_sqrtl): Define as macro.
30824         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30825         inlined copy.
30826         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30827         __FINITE_MATH_ONLY__ consistent.
30828         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30829
30830 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30831
30832         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30833         of rawmemchr.
30834
30835         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30836
30837 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30838
30839         * po/ja.po: Update from translation team.
30840
30841 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30842
30843         * locale/programs/locarchive.c (prepare_address_space): New function.
30844         (create_archive, enlarge_archive, open_archive): Use it.
30845
30846         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30847         inside [SHARED], where it is used.
30848
30849         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30850
30851         * nss/getent.c (netgroup_keys): Remove unused variable.
30852         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30853
30854 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30855
30856         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30857         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30859         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30860         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30861         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30862         * math/Makefile (libm-calls): Add s_isinf_ns.
30863         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30864         * math/multc3.c: Likewise.
30865         * math/s_casin.c: Likewise.
30866         * math/s_casinf.c: Likewise.
30867         * math/s_casinl.c: Likewise.
30868         * math/s_ccos.c: Likewise.
30869         * math/s_ccosf.c: Likewise.
30870         * math/s_ccosl.c: Likewise.
30871         * math/s_ctan.c: Likewise.
30872         * math/s_ctanf.c: Likewise.
30873         * math/s_ctanh.c: Likewise.
30874         * math/s_ctanhf.c: Likewise.
30875         * math/s_ctanhl.c: Likewise.
30876         * math/s_ctanl.c: Likewise.
30877         * math/w_fmod.c: Likewise.
30878         * math/w_fmodf.c: Likewise.
30879         * math/w_fmodl.c: Likewise.
30880         * math/w_remainder.c: Likewise.
30881         * math/w_remainderf.c: Likewise.
30882         * math/w_remainderl.c: Likewise.
30883         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30884         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30885         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30887         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30888         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30889         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30890         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30891
30892         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30893         of the number.
30894         * stdio-common/printf_fphex.c: Likewise.
30895         * stdio-common/printf_size.c: Likewise.
30896
30897         * math/e_exp10.c: Include math_private.h using <...> not "...".
30898         * math/e_exp10f.c: Likewise.
30899         * math/e_exp10l.c: Likewise.
30900         * math/e_exp2l.c: Likewise.
30901         * math/e_j0l.c: Likewise.
30902         * math/e_j1l.c: Likewise.
30903         * math/e_jnl.c: Likewise.
30904         * math/e_lgammal_r.c: Likewise.
30905         * math/e_rem_pio2l.c: Likewise.
30906         * math/e_scalb.c: Likewise.
30907         * math/e_scalbf.c: Likewise.
30908         * math/e_scalbl.c: Likewise.
30909         * math/k_cosl.c: Likewise.
30910         * math/k_sinl.c: Likewise.
30911         * math/k_tanl.c: Likewise.
30912         * math/s_cacoshf.c: Likewise.
30913         * math/s_catan.c: Likewise.
30914         * math/s_catanf.c: Likewise.
30915         * math/s_catanh.c: Likewise.
30916         * math/s_catanhf.c: Likewise.
30917         * math/s_catanhl.c: Likewise.
30918         * math/s_catanl.c: Likewise.
30919         * math/s_ccosh.c: Likewise.
30920         * math/s_ccoshf.c: Likewise.
30921         * math/s_ccoshl.c: Likewise.
30922         * math/s_cexp.c: Likewise.
30923         * math/s_cexpf.c: Likewise.
30924         * math/s_cexpl.c: Likewise.
30925         * math/s_clog.c: Likewise.
30926         * math/s_clog10.c: Likewise.
30927         * math/s_clog10f.c: Likewise.
30928         * math/s_clog10l.c: Likewise.
30929         * math/s_clogf.c: Likewise.
30930         * math/s_clogl.c: Likewise.
30931         * math/s_csin.c: Likewise.
30932         * math/s_csinf.c: Likewise.
30933         * math/s_csinh.c: Likewise.
30934         * math/s_csinhf.c: Likewise.
30935         * math/s_csinhl.c: Likewise.
30936         * math/s_csinl.c: Likewise.
30937         * math/s_csqrt.c: Likewise.
30938         * math/s_csqrtf.c: Likewise.
30939         * math/s_csqrtl.c: Likewise.
30940         * math/s_ctan.c: Likewise.
30941         * math/s_ctanf.c: Likewise.
30942         * math/s_ctanh.c: Likewise.
30943         * math/s_ctanhf.c: Likewise.
30944         * math/s_ctanhl.c: Likewise.
30945         * math/s_ctanl.c: Likewise.
30946         * math/s_ldexp.c: Likewise.
30947         * math/s_ldexpf.c: Likewise.
30948         * math/s_ldexpl.c: Likewise.
30949         * math/s_significand.c: Likewise.
30950         * math/s_significandf.c: Likewise.
30951         * math/s_significandl.c: Likewise.
30952         * math/w_acos.c: Likewise.
30953         * math/w_acosf.c: Likewise.
30954         * math/w_acosh.c: Likewise.
30955         * math/w_acoshf.c: Likewise.
30956         * math/w_acoshl.c: Likewise.
30957         * math/w_acosl.c: Likewise.
30958         * math/w_asin.c: Likewise.
30959         * math/w_asinf.c: Likewise.
30960         * math/w_asinl.c: Likewise.
30961         * math/w_atan2.c: Likewise.
30962         * math/w_atan2f.c: Likewise.
30963         * math/w_atan2l.c: Likewise.
30964         * math/w_atanh.c: Likewise.
30965         * math/w_atanhf.c: Likewise.
30966         * math/w_atanhl.c: Likewise.
30967         * math/w_cosh.c: Likewise.
30968         * math/w_coshf.c: Likewise.
30969         * math/w_coshl.c: Likewise.
30970         * math/w_dremf.c: Likewise.
30971         * math/w_exp10.c: Likewise.
30972         * math/w_exp10f.c: Likewise.
30973         * math/w_exp10l.c: Likewise.
30974         * math/w_exp2.c: Likewise.
30975         * math/w_exp2f.c: Likewise.
30976         * math/w_fmod.c: Likewise.
30977         * math/w_fmodf.c: Likewise.
30978         * math/w_fmodl.c: Likewise.
30979         * math/w_hypot.c: Likewise.
30980         * math/w_hypotf.c: Likewise.
30981         * math/w_hypotl.c: Likewise.
30982         * math/w_j0.c: Likewise.
30983         * math/w_j0f.c: Likewise.
30984         * math/w_j0l.c: Likewise.
30985         * math/w_j1.c: Likewise.
30986         * math/w_j1f.c: Likewise.
30987         * math/w_j1l.c: Likewise.
30988         * math/w_jn.c: Likewise.
30989         * math/w_jnf.c: Likewise.
30990         * math/w_jnl.c: Likewise.
30991         * math/w_lgamma.c: Likewise.
30992         * math/w_lgamma_r.c: Likewise.
30993         * math/w_lgammaf.c: Likewise.
30994         * math/w_lgammaf_r.c: Likewise.
30995         * math/w_lgammal.c: Likewise.
30996         * math/w_lgammal_r.c: Likewise.
30997         * math/w_log.c: Likewise.
30998         * math/w_log10.c: Likewise.
30999         * math/w_log10f.c: Likewise.
31000         * math/w_log10l.c: Likewise.
31001         * math/w_log2.c: Likewise.
31002         * math/w_log2f.c: Likewise.
31003         * math/w_log2l.c: Likewise.
31004         * math/w_logf.c: Likewise.
31005         * math/w_logl.c: Likewise.
31006         * math/w_pow.c: Likewise.
31007         * math/w_powf.c: Likewise.
31008         * math/w_powl.c: Likewise.
31009         * math/w_remainder.c: Likewise.
31010         * math/w_remainderf.c: Likewise.
31011         * math/w_remainderl.c: Likewise.
31012         * math/w_scalb.c: Likewise.
31013         * math/w_scalbf.c: Likewise.
31014         * math/w_scalbl.c: Likewise.
31015         * math/w_sinh.c: Likewise.
31016         * math/w_sinhf.c: Likewise.
31017         * math/w_sinhl.c: Likewise.
31018         * math/w_sqrt.c: Likewise.
31019         * math/w_sqrtf.c: Likewise.
31020         * math/w_sqrtl.c: Likewise.
31021         * math/w_tgamma.c: Likewise.
31022         * math/w_tgammaf.c: Likewise.
31023         * math/w_tgammal.c: Likewise.
31024
31025         * po/ja.po: Update from translation team.
31026
31027 2011-09-29  Andreas Jaeger  <aj@suse.de>
31028
31029         [BZ #13179]
31030         * sunrpc/netname.c (netname2host): Fix logic.
31031
31032         [BZ #6779]
31033         [BZ #6783]
31034         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31035         correctly.
31036         * math/w_remainder.c (__remainder): Likewise.
31037         * math/w_remainderf.c (__remainderf): Likewise.
31038         * math/libm-test.inc (remainder_test): Add test cases.
31039
31040 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31041
31042         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
31043         sdiv_qrnnd.
31044
31045 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31046
31047         * string/test-memcmp.c: Avoid unncessary #defines.
31048         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31049
31050 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31051
31052         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31053         Use new sse2 version for core i3 - i7 as it's faster
31054         than sse42 version.
31055         (bit_Prefer_PMINUB_for_stringop): New.
31056         * sysdeps/x86_64/rawmemchr.S: Update.
31057         Replace with faster SSE2 version.
31058         * sysdeps/x86_64/memrchr.S: New file.
31059         * sysdeps/x86_64/memchr.S: Update.
31060         Replace with faster SSE2 version.
31061
31062 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
31063
31064         * elf/dl-load.c (lose): Add cast to avoid warning.
31065
31066 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31067
31068         * po/ca.po: Update from translation team.
31069
31070         * inet/getnetgrent_r.c: Hook up nscd.
31071         * nscd/Makefile (routines): Add nscd_netgroup.
31072         (nscd-modules): Add netgroupcache.
31073         (CFLAGS-netgroupcache.c): Define.
31074         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31075         (cache_search): Add const to second parameter.
31076         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31077         INNETGR.
31078         (dbs): Add netgrdb entry.
31079         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31080         (verify_persistent_db): Handle netgrdb.
31081         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31082         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31083         GETFDNETGR.
31084         (netgroup_response_header): Define.
31085         (innetgroup_response_header): Define.
31086         (datahead): Add netgroup_response_header and innetgroup_response_header
31087         elements.
31088         * nscd/nscd.conf: Add entries for netgroup cache.
31089         * nscd/nscd.h (dbtype): Add netgrdb.
31090         (_PATH_NSCD_NETGROUP_DB): Define.
31091         (netgroup_iov_disabled): Declare.
31092         (xmalloc, xcalloc, xrealloc): Move declarations here.
31093         (cache_search): Adjust prototype.
31094         Add netgroup-related prototypes.
31095         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31096         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31097         (__nscd_innetgr): Declare.
31098         * nscd/selinux.c (perms): Use access_vector_t as element type and
31099         add netgroup-related initializers.
31100         * nscd/netgroupcache.c: New file.
31101         * nscd/nscd_netgroup.c: New file.
31102         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31103         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31104         For four parameters use innetgr.
31105         * nss/nss_files/files-init.c: Add definition and callback for netgr.
31106         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31107         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31108         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31109
31110         * nscd/connections.c (register_traced_file): Don't register file
31111         for disabled databases.
31112
31113 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
31114
31115         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31116
31117         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31118         from tree and freeing node.
31119
31120 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
31121
31122         * nss/nsswitch.c (__nss_database_lookup): Handle
31123         nss_parse_service_list out of memory case.
31124
31125 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
31126
31127         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31128         out of memory case.
31129
31130 2011-10-04  Andreas Schwab  <schwab@redhat.com>
31131
31132         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31133         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31134         pass it down.
31135         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31136         elf_machine_rela, elf_machine_lazy_rel.
31137         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31138         (ELF_DYNAMIC_DO_REL): Likewise.
31139         (ELF_DYNAMIC_DO_RELA): Likewise.
31140         (ELF_DYNAMIC_RELOCATE): Likewise.
31141         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31142         to ELF_DYNAMIC_DO_REL.
31143         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31144         (dl_main): In trace mode always set __RTLD_NOIFUNC.
31145         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31146         elf_machine_rela.
31147         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31148         skip_ifunc, don't call ifunc function if non-zero.
31149         (elf_machine_rela): Likewise.
31150         (elf_machine_lazy_rel): Likewise.
31151         (elf_machine_lazy_rela): Likewise.
31152         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31153         (elf_machine_lazy_rel): Likewise.
31154         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31155         Likewise.
31156         (elf_machine_lazy_rel): Likewise.
31157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31158         Likewise.
31159         (elf_machine_lazy_rel): Likewise.
31160         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31161         (elf_machine_lazy_rel): Likewise.
31162         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31163         (elf_machine_lazy_rel): Likewise.
31164         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31165         (elf_machine_lazy_rel): Likewise.
31166         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31167         (elf_machine_lazy_rel): Likewise.
31168         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31169         (elf_machine_lazy_rel): Likewise.
31170         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31171         (elf_machine_lazy_rel): Likewise.
31172
31173 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
31174
31175         * nss/nss_files/files-init.c (_nss_files_init): Use static
31176         initialization for all the *_traced_file variables.
31177
31178 2011-09-28  Andreas Schwab  <schwab@redhat.com>
31179
31180         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31181
31182 2011-09-27  Roland McGrath  <roland@hack.frob.com>
31183
31184         [BZ #13226]
31185         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31186
31187 2011-09-27  Andreas Schwab  <schwab@redhat.com>
31188
31189         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31190         Reread the line before reparsing it.
31191
31192 2011-09-26  Andreas Schwab  <schwab@redhat.com>
31193
31194         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31195
31196 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
31197             Maxim Kuvyrkov  <maxim@codesourcery.com>
31198             Joseph Myers  <joseph@codesourcery.com>
31199
31200         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31201         if needed for __stack_chk_guard.
31202
31203 2011-09-19  Roland McGrath  <roland@hack.frob.com>
31204
31205         * sysdeps/posix/spawni.c (script_execute): Always define it.
31206         It will be optimized away if unused.
31207         (maybe_script_execute): New function.
31208         (__spawni): Call it.
31209
31210         * Makerules: Don't include tls.make.
31211         (config-tls): Always set to thread.
31212         * tls.make.c: File removed.
31213
31214 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
31215
31216         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31217         * config.make.in (CPPFLAGS-config): New substituted variable.
31218
31219 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31220
31221         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31222
31223         [BZ #13192]
31224         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31225         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31226
31227 2011-09-15  Roland McGrath  <roland@hack.frob.com>
31228
31229         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31230         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31232         (CALL_FAIL): Likewise.
31233         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31234         (CALL_FAIL): Macro removed.
31235         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31236
31237 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31238
31239         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31240         for __FINITE_MATH_ONLY__ == 1.
31241
31242 2011-09-15  Andreas Schwab  <schwab@redhat.com>
31243
31244         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31245         __ieee754_sqrt instead of sqrt.
31246         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31247         __ieee754_sqrtf instead of sqrtf.
31248         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31249         __floorf instead of floorf.
31250         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31251         __floorf, __truncf instead of floorf, truncf.
31252
31253 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
31254
31255         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31256
31257         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31258         __extern_always_inline.
31259         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31260         32-bit.
31261
31262 2011-09-14  Andreas Schwab  <schwab@redhat.com>
31263
31264         * elf/rtld.c (dl_main): Also relocate in dependency order when
31265         doing symbol dependency testing.
31266
31267 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
31268
31269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31270         Always define `refsym'.
31271
31272 2011-09-13  Andreas Schwab  <schwab@redhat.com>
31273
31274         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31275         (__FD_ELT): Renamed from __FDELT.
31276         * misc/bits/select2.h (__FD_ELT): Likewise.
31277         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31278         __FD_MASK instead of __FDELT, __FDMASK.
31279         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31280         Likewise.
31281         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31282         Likewise.
31283
31284         * elf/Makefile (gen-ldd): Fix pattern.
31285
31286         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31287         (init_tls): Likewise.
31288
31289 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
31290
31291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31292
31293 2011-09-12  Andreas Schwab  <schwab@redhat.com>
31294
31295         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31296         `struct cmsghdr *' instead of `void *'.
31297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31298         Likewise.
31299
31300 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
31301
31302         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31303         if non-absolute.
31304         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31305         ldd_rewrite_script.
31306
31307 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
31308
31309         * configure.in: Remove --with-tls option.
31310         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31311         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31312         out in case it is missing.
31313         * sysdeps/ia64/elf/configure.in: Likewise.
31314         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31315         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31316         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31317         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31318         * sysdeps/sh/elf/configure.in: Likewise.
31319         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31320         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31321         * sysdeps/x86_64/elf/configure.in: Likewise.
31322         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31323         * sysdeps/mach/hurd/tls.h: Likewise.
31324
31325         [BZ #13067]
31326         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31327
31328         [BZ #13090]
31329         * configure.in: Fix use of AC_INIT.
31330
31331         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31332
31333 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
31334
31335         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31336         __set_errno.
31337         * malloc/hooks.c: Likewise.
31338
31339         [BZ #11929]
31340         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
31341         variables statically.
31342         (narenas): Initialize.
31343         (list_lock): Initialize.
31344         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
31345         initializtion of main_arena and list_lock.  Small cleanups.
31346         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31347         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
31348         Add initializers to main_arena and mp_.
31349         (malloc_state): Remove pagesize member.  Change all users to use
31350         GLRO(dl_pagesize).
31351
31352         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31353         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
31354         is always initialized.
31355
31356         * malloc/malloc.c: Removed unused configurations and dead code.
31357         * malloc/arena.c: Likewise.
31358         * malloc/hooks.c: Likewise.
31359         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31360
31361         * include/tls.h: Removed.  USE___THREAD must always be defined.
31362         * bits/libc-tsd.h: Don't handle !USE___THREAD.
31363         * elf/dl-libc.c: Likewise.
31364         * elf/dl-tsd.c: Likewise.
31365         * include/errno.h: Likewise.
31366         * include/netdb.h: Likewise.
31367         * include/resolv.h: Likewise.
31368         * inet/herrno-loc.c: Likewise.
31369         * inet/herrno.c: Likewise.
31370         * malloc/arena.c: Likewise.
31371         * malloc/hooks.c: Likewise.
31372         * malloc/malloc.c: Likewise.
31373         * resolv/res-state.c: Likewise.
31374         * resolv/res_libc.c: Likewise.
31375         * sysdeps/i386/dl-machine.h: Likewise.
31376         * sysdeps/ia64/dl-machine.h: Likewise.
31377         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31378         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31379         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31380         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31381         * sysdeps/sh/dl-machine.h: Likewise.
31382         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31383         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31384         * sysdeps/unix/i386/sysdep.S: Likewise.
31385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31386         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31387         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31388         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31389         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31391         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31395         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31396         * sysdeps/x86_64/dl-machine.h: Likewise.
31397         * tls.make.c: Likewise.
31398
31399         * configure.in: Remove --with-__thread option.  Make tests for
31400         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31401         tls_model attribute fail if no support is available.  Remove
31402         USE_IN_LIBIO.
31403         * Makeconfig: Adjust for dropped configure option.  All features are
31404         now mandatory.
31405         * Makerules: Likewise.
31406         * Versions.def: Likewise.
31407         * argp/argp-fmtstream.c: Likewise.
31408         * argp/argp-fmtstream.h: Likewise.
31409         * argp/argp-help.c: Likewise.
31410         * assert/assert.c: Likewise.
31411         * config.h.in: Likewise.
31412         * config.make.in: Likewise.
31413         * configure: Likewise.
31414         * configure.in: Likewise.
31415         * csu/Versions: Likewise.
31416         * csu/init.c: Likewise.
31417         * elf/tst-audit2.c: Likewise.
31418         * elf/tst-tls10.c: Likewise.
31419         * elf/tst-tls10.h: Likewise.
31420         * elf/tst-tls11.c: Likewise.
31421         * elf/tst-tls12.c: Likewise.
31422         * elf/tst-tls14.c: Likewise.
31423         * elf/tst-tlsmod11.c: Likewise.
31424         * elf/tst-tlsmod12.c: Likewise.
31425         * elf/tst-tlsmod13.c: Likewise.
31426         * elf/tst-tlsmod13a.c: Likewise.
31427         * elf/tst-tlsmod14a.c: Likewise.
31428         * elf/tst-tlsmod15b.c: Likewise.
31429         * elf/tst-tlsmod16a.c: Likewise.
31430         * elf/tst-tlsmod16b.c: Likewise.
31431         * elf/tst-tlsmod7.c: Likewise.
31432         * elf/tst-tlsmod8.c: Likewise.
31433         * elf/tst-tlsmod9.c: Likewise.
31434         * gmon/gmon.c: Likewise.
31435         * grp/fgetgrent_r.c: Likewise.
31436         * grp/putgrent.c: Likewise.
31437         * hurd/fopenport.c: Likewise.
31438         * include/libc-symbols.h: Likewise.
31439         * include/tls.h: Likewise.
31440         * intl/gettextP.h: Likewise.
31441         * intl/loadinfo.h: Likewise.
31442         * locale/global-locale.c: Likewise.
31443         * locale/localeinfo.h: Likewise.
31444         * mach/devstream.c: Likewise.
31445         * malloc/arena.c: Likewise.
31446         * malloc/set-freeres.c: Likewise.
31447         * misc/err.c: Likewise.
31448         * misc/getttyent.c: Likewise.
31449         * misc/mntent_r.c: Likewise.
31450         * posix/getopt.c: Likewise.
31451         * posix/wordexp.c: Likewise.
31452         * pwd/fgetpwent_r.c: Likewise.
31453         * resolv/Versions: Likewise.
31454         * resolv/res_hconf.c: Likewise.
31455         * shadow/fgetspent_r.c: Likewise.
31456         * shadow/putspent.c: Likewise.
31457         * stdio-common/printf_fphex.c: Likewise.
31458         * stdio-common/tmpfile.c: Likewise.
31459         * stdlib/abort.c: Likewise.
31460         * stdlib/fmtmsg.c: Likewise.
31461         * sunrpc/auth_unix.c: Likewise.
31462         * sunrpc/clnt_perr.c: Likewise.
31463         * sunrpc/clnt_tcp.c: Likewise.
31464         * sunrpc/clnt_udp.c: Likewise.
31465         * sunrpc/clnt_unix.c: Likewise.
31466         * sunrpc/openchild.c: Likewise.
31467         * sunrpc/svc_simple.c: Likewise.
31468         * sunrpc/svc_tcp.c: Likewise.
31469         * sunrpc/svc_udp.c: Likewise.
31470         * sunrpc/svc_unix.c: Likewise.
31471         * sunrpc/xdr.c: Likewise.
31472         * sunrpc/xdr_array.c: Likewise.
31473         * sunrpc/xdr_rec.c: Likewise.
31474         * sunrpc/xdr_ref.c: Likewise.
31475         * sunrpc/xdr_stdio.c: Likewise.
31476
31477 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31478
31479         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31480
31481 2011-07-03  Andreas Jaeger  <aj@suse.de>
31482
31483         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31484         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31485         regenerate with gen-libm-tests.pl.
31486
31487 2010-05-12  Petr Baudis  <pasky@suse.cz>
31488
31489         [BZ #11589]
31490         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31491         around j0() zero points by switching to j1().
31492         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31493         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31494         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31495         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31496
31497 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31498
31499         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31500         instead of 0.
31501         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31502         instead of 0.
31503         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31504         Patch in part by Pavel Roskin <proski@gnu.org>.
31505
31506         [BZ #13138]
31507         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31508         realloc.
31509         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31510         Free memory block if necessary.
31511
31512         [BZ #12847]
31513         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31514         be NULL.  Don't lock in this case.
31515
31516 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31517
31518         * elf/elf.h (ELFOSABI_GNU): New macro.
31519         (ELFOSABI_LINUX): Define to that.
31520
31521 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31522
31523         * string/strncat.c (strncat): Undef the symbol in case it has been
31524         defined in bits/string.h.
31525
31526 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31527
31528         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31529
31530         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31531         link map.
31532
31533 2011-08-17  Andreas Jaeger  <aj@suse.de>
31534
31535         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31536
31537 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31538             Ian Lance Taylor  <iant@google.com>
31539
31540         * math/libm-test.inc (lround_test): New testcase.
31541         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31542
31543 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31544
31545         * Makefile: Remove support for automatic cvs check-ins.
31546         * Makerules: Likewise.
31547         * config.make.in: Likewise.
31548         * configure.in: Likewise.
31549         * intl/Makefile: Likewise.
31550         * locale/Makefile: Likewise.
31551         * po/Makefile: Likewise.
31552         * posix/Makefile: Likewise.
31553         * sysdeps/gnu/Makefile: Likewise.
31554         * sysdeps/mach/hurd/Makefile: Likewise.
31555         * sysdeps/sparc/sparc32/Makefile: Likewise.
31556
31557         [BZ #13118]
31558         * posix/Makefile (bug-regex32-ENV): Define.
31559         Patch by John Stanley <jpsinthemix@verizon.net>.
31560
31561         * misc/Makefile (headers): Add bits/select2.h.
31562         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31563         * misc/bits/select2.h: New file.
31564         * include/bits/select2.h: New file.
31565         * debug/Makefile (routines): Add fdelt_chk.
31566         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31567         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31568         FD_ISSET.
31569         * debug/fdelt_chk.c: New file.
31570
31571         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31572         * wcsmbs/test-wmemcmp.c: Likewise.
31573         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31574         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31575
31576 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31577
31578         * string/Makefile (strop-tests): Add memcmp.
31579         * string/test-wmemcmp.c: New file.
31580         * string/test-memcmp.c: Add wmemcmp support.
31581
31582 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31583
31584         [BZ #13153]
31585         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31586         2011-07-19 change.
31587
31588         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31589         garbage value in a __mach_port_mod_refs call in the cases of the
31590         task-self and thread-self ports.
31591
31592 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31593
31594         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31595
31596 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31597
31598         * elf/dl-load.c (lose): Check for non-null L.
31599
31600 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31601
31602         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31603
31604         * elf/dl-libc.c (dlerror_run): Pass back error code from
31605         dl_catch_error.
31606
31607         [BZ #13123]
31608         * elf/dl-load.c (lose): Free l_origin if it is valid.
31609
31610         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31611         names.
31612         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31613         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31615         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31616         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31617         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31618
31619 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31620
31621         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31622         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31623         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31624         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31625         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31626         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31627         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31628         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31629         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31630         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31631
31632 2011-08-15  Alan Modra  <amodra@gmail.com>
31633
31634         [BZ #13092]
31635         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31636         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31637         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31638         ppc_mcount to static-only-routines.
31639         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31640         __mcount_internal.
31641         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31642         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31643
31644 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31645
31646         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31647         for finite and infinity parameters.
31648
31649 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31650
31651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31652         and add nop instructions for throughput optimization.
31653         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31654
31655 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31656
31657         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31658         aligned copy for power7 with vector-scalar instructions.
31659         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31660
31661 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31662
31663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31664         AVX check.
31665
31666 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31667
31668         [BZ #13144]
31669         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31670         last change.
31671
31672 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31673
31674         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31675         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31676         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31677         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31678         clock_gettime.
31679
31680 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31681
31682         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31683         Forgot to demangle the pointer.
31684
31685         * sysdeps/i386/sysdep.h: Define atom_text_section.
31686         * sysdeps/x86_64/sysdep.h: Likewise.
31687         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31688         section with atom_text_section.
31689         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31690         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31691         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31693         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31694
31695         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31696         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31697         already be defined.  Change to take two parameters and don't assign
31698         result to variable.  Adjust all users.
31699         Define INTERNAL_GETTIME if not already defined.
31700         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31701         call.
31702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31703         HAVE_CLOCK_GETTIME_VSYSCALL.
31704         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31705
31706         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31707         gettimeofday vsyscall, just use time.
31708
31709 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31710
31711         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31712         <errno.h>.
31713
31714 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31715
31716         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31717         syscall on x86-64.
31718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31719         syscall.
31720         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31721         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31722         syscall if possible.
31723
31724 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31725
31726         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31727         e_ident.  Don't pass to find_mapsXX.
31728         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31729
31730 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31731
31732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31733         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31734         * sysdeps/x86_64/multiarch/strchr.S: Update.
31735         Check bit_slow_BSF bit.
31736         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31737         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31738         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31739
31740 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31741
31742         [BZ #13134]
31743         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31744         before glibc 2.15.
31745         (tryshell): Define.
31746         (__spawni): Change last parameter to be flag.  Test
31747         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31748         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31749         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31750         * posix/spawni.c: Likewise.
31751         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31752         * posix/spawnp.c: Likewise.  Change normal version to use
31753         SPAWN_XFLAGS_USE_PATH.
31754         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31755         SPAWN_XFLAGS_TRY_SHELL.
31756
31757         [BZ #13150]
31758         * posix/glob.h: Remove gcc 1.x support.
31759
31760         [BZ #13068]
31761         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31762
31763 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31764
31765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31766         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31767         strrchr-sse2-bsf
31768         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31769         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31770         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31771         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31772         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31773         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31774
31775 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31776
31777         * sysdeps/x86_64/wcscmp.S: New file.
31778
31779         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31780         wcscmp-c wcscmp-sse2
31781         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31782         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31783         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31784         * wcsmbs/wcscmp.c: Allow renaming.
31785
31786 2011-09-05  David S. Miller  <davem@davemloft.net>
31787
31788         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31789         stack slot, rather than the struct return pointer slot.
31790         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31791         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31793         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31794
31795 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31796
31797         * po/ja.po: Update from translation team.
31798
31799         [BZ #13144]
31800         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31801         kernel in 64-bit binaries.
31802
31803 2011-09-01  David S. Miller  <davem@davemloft.net>
31804
31805         * elf/elf.h (HWCAP_SPARC_*): Move to..
31806         * sysdeps/sparc/sysdep.h: this new file and add new values.
31807         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31808         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31809         _DL_HWCAP_COUNT to 24.
31810         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31811         entries.
31812         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31813         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31814         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31815         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31816         instead of magic constants.
31817         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31818
31819 2011-08-31  David S. Miller  <davem@davemloft.net>
31820
31821         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31823         Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
31829         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31830         (PSEUDO): Reimplement to do errno handling inline.
31831         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31832         (SYSCALL_ERROR_HANDLER): New macro.
31833         (__SYSCALL_STRING): Do not do errno handling in asm.
31834         (__CLONE_SYSCALL_STRING): Delete.
31835         (__INTERNAL_SYSCALL_STRING): Delete.
31836         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31837         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31838         i386.
31839         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31840         (inline_syscall*): Add 'err' argument.
31841         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31842         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31843         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31844         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31845
31846         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31847         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31848
31849 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31850
31851         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31852
31853 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31854
31855         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31856         directive.
31857
31858 2011-08-24  David S. Miller  <davem@davemloft.net>
31859
31860         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31861
31862 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31863
31864         * elf/Makefile: Add rules to build and run unload8 test.
31865         * elf/unload8.c: New file.
31866         * elf/unload8mod1.c: New file.
31867         * elf/unload8mod1x.c: New file.
31868         * elf/unload8mod2.c: New file.
31869         * elf/unload8mod3.c: New file.
31870
31871         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31872         it wasn't used.
31873
31874 2011-08-23  David S. Miller  <davem@davemloft.net>
31875
31876         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31877         subtract stack bias.
31878         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31879         %sp not %fp in calculations.
31880         (_JMPBUF_UNWINDS_ADJ): Likewise.
31881
31882         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31883         (aio_suspend): Call it to force an exception region around the
31884         AIO_MISC_WAIT() invocation.
31885
31886 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31887
31888         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31889         backslash.
31890
31891 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31892
31893         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31894         protection macro.
31895         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31896         and <dl-machine.h>.
31897         (Elf64_FuncDesc): Remove.
31898
31899 2011-08-22  David S. Miller  <davem@davemloft.net>
31900
31901         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31902         sigaltstack check, add missing cfi directives.
31903         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31904         missing cfi directives, and sigaltstack handling.
31905
31906 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31907
31908         [BZ #11724]
31909         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31910         object is seen twice.
31911         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31912
31913         * elf/Makefile (distribute): Add tst-initorder2.c.
31914         (tests): Add tst-initorder2.
31915         (modules-names): Add tst-initorder2a tst-initorder2b
31916         tst-initorder2c tst-initorder2d.  Add rules to build them.
31917         ($(objpfx)tst-initorder2.out): New rule.
31918         * elf/tst-initorder2.c: New file.
31919         * elf/tst-initorder2.exp: New file.
31920
31921 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31922
31923         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31924
31925         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31926         dependencies back to end of function.
31927
31928         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31929         $(elfobjdir)/ld.so.
31930
31931 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31932
31933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31934         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31935         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31936         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31937         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31938         of __vdso_gettimeofday.
31939         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31940         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31941         attribute_hidden.
31942         (_libc_vdso_platform_setup): Remove initialization of
31943         __vdso_gettimeofday and __vdso_time.
31944
31945 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31946
31947         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31948         and fgetc_unlocked.
31949         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31950         getc_unlocked.
31951
31952         * elf/dl-open.c (add_to_global): Report additions to the global scope
31953         for LD_DEBUG=scopes.
31954         (dl_open_worker): Also print scope of newly loaded dependencies.
31955         (_dl_show_scope): Indicate if there is no scope.
31956
31957         [BZ #13114]
31958         * stdio-common/Makefile (tests): Add bug24.
31959         * stdio-common/bug24.c: New file.
31960
31961 2011-08-19  Andreas Jaeger  <aj@suse.de>
31962
31963         [BZ #13114]
31964         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31965         non-existant file when using close-on-exec mode.
31966
31967 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31968
31969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31970         the very first instruction.
31971
31972         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31973         the CFI state in the end.
31974         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31975         inclusion of dl-trampoline.h.
31976         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31977
31978 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31979
31980         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31981         expectations for long double.
31982
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31984         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31985
31986 2011-08-14  David S. Miller  <davem@davemloft.net>
31987
31988         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31989         artificual limit depends upon the system page size.
31990
31991 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31992
31993         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31994         * resolv/Makefile: Define CFLAGS-libresolv.
31995
31996 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31997
31998         * nss/makedb.c (compute_tables): Make variables used in nested
31999         function static.
32000
32001 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
32002
32003         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32004         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32005         if buffer was too small.
32006
32007         * elf/pldd.c (main): Attach to all threads in the process.
32008         Rewrite /proc handling to use *at functions.
32009
32010 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
32011
32012         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32013         specifies first scope to show.
32014         (dl_open_worker): Update callers.  Move printing scope of new
32015         object to before the relocation.
32016         * elf/rtld.c (dl_main): Update _dl_show_scope call.
32017         * sysdeps/generic/ldsodefs.h: Update declaration.
32018
32019         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32020         string for the scope number.
32021
32022 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
32023
32024         * nscd/servicescache.c (cache_addserv): Make sure written is always
32025         initialized.
32026
32027 2011-08-14  Roland McGrath  <roland@hack.frob.com>
32028
32029         * sysdeps/i386/i486/bits/atomic.h
32030         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32031         statement expression, so as to suppress "set but not used" warning.
32032         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32033
32034         * string/strncat.c (STRNCAT): Use prototype definition.
32035
32036         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32037         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32038         -Iprograms here.
32039         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32040         (localedef-modules): Add localedef.
32041         (locale-modules): Add locale.
32042
32043         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32044         * elf/rtld.c (dl_main): Invert order of assignment in last change,
32045         to avoid a warning.
32046
32047 2011-08-14  David S. Miller  <davem@davemloft.net>
32048
32049         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32050         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32051
32052 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
32053
32054         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32055         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32056         * elf/rtld.c (dl_main): Set l_name of vDSO.
32057         Call _dl_show_scope when DL_DEBUG_SCOPES.
32058         (process_dl_debug): Recognize scopes flag and also set it for all.
32059         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32060         Declare _dl_show_scope.
32061
32062         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32063         (do_dlopen): Pass caller_dlopen to dl_open.
32064         (__libc_dlopen_mode): Initialize caller_dlopen.
32065
32066         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32067         of libc.  Make tolower call locale-independent.  Optimize a bit by
32068         using isdigit instead of isalnum.
32069         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32070
32071 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
32072
32073         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32074         was a dependency or dynamically loaded.
32075
32076 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
32077
32078         * intl/l10nflist.c: Allow architecture-specific pop function.
32079         * sysdeps/x86_64/l10nflist.c: New file.
32080
32081         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32082         classification.
32083
32084 2011-08-10  Andreas Schwab  <schwab@redhat.com>
32085
32086         * include/dirent.h: Add libc_hidden_proto for scandirat and
32087         scandirat64.  Don't declare __scandirat64.
32088         * dirent/scandirat.c: Add libc_hidden_def.
32089         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32090         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32091
32092 2011-08-10  David S. Miller  <davem@davemloft.net>
32093
32094         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32095         enum.
32096         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32097         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32098         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32099
32100 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
32101
32102         * Versions.def [libc]: Add GLIBC_2.15.
32103         * dirent/Makefile (routines): Add scandirat and scandirat64.
32104         * dirent/Versions [libc]: Export scandirat and scandirat64 for
32105         GLIBC_2.15.
32106         * dirent/dirent.h: Declare scandirat and scandirat64.
32107         * dirent/scandirat.c: New file.
32108         * dirent/scandirat64.c: New file.
32109         * sysdeps/wordsize-64/scandirat.c: New file.
32110         * sysdeps/wordsize-64/scandirat64.c: New file.
32111         * dirent/opendir.c: Define opendirat.
32112         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
32113         using scandirat.
32114         * dirent/scandir64.c: Adjust for scandir.c change.
32115         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
32116         __scandirat64, and __scandir_cancel_handler.
32117         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
32118         additional parameter and use openat instead of open (outside of ld.so).
32119         Add new __opendir as wrapper around __opendirat.
32120         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32121         here without requiring old scandirat implementation.
32122
32123 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
32124
32125         * dirent/scandir.c (cancel_handler): Renamed to
32126         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
32127         defined.  Adjust users.
32128         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32129         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32130
32131 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
32132
32133         * string/test-string.h (IMPL): Use __STRING to expand name and then
32134         stringify it.
32135
32136         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
32137         of cleanups.
32138
32139 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32140
32141         * string/Makefile: Update.
32142         (strop-tests): Append strncat.
32143         * string/test-wcscmp.c: New file.
32144         New comprehensive test for wcscmp.
32145         * string/test-strcmp.c: Update.
32146         (WIDE): New define.
32147
32148 2011-07-22  Andreas Schwab  <schwab@redhat.com>
32149
32150         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32151         line.
32152
32153 2011-07-26  Andreas Schwab  <schwab@redhat.com>
32154
32155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32156         encoding to ACE if AI_IDN.
32157
32158 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
32159
32160         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32161         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32162
32163 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32164
32165         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32166         Fix overflow bug in strncat.
32167         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32168
32169         * string/test-strncat.c: Update.
32170         Add new tests for checking overflow bugs.
32171
32172 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32173
32174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32175         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32176         * sysdeps/i386/i686/multiarch/strcat.S: New file.
32177         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32178         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32179         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32180         * sysdeps/i386/i686/multiarch/strncat.S: New file.
32181         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32182         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32183
32184         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32185         (USE_AS_STRCAT): Define.
32186         Add strcat and strncat support.
32187         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32188
32189 2011-07-25  Andreas Schwab  <schwab@redhat.com>
32190
32191         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32192         __n bigger than INT_MAX+1.
32193         (__strncmp_g): Likewise.
32194
32195 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
32196
32197         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32198         * libio/stido.h: Likewise.
32199
32200         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32201         (AF_NFC): Define.
32202         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32203         (AF_NFC): Define.
32204
32205         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32206         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32207         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32208         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32209         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32210
32211         [BZ #13021]
32212         * scripts/test-installation.pl: Don't expect libnss_test1 to be
32213         installed.
32214
32215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32216         typo.
32217         (_dl_x86_64_save_sse): Likewise.
32218
32219 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
32220
32221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32222         OSXSAVE.
32223         (_dl_x86_64_save_sse): Likewise.
32224
32225         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32226
32227         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32228
32229 2011-07-21  Andreas Schwab  <schwab@redhat.com>
32230
32231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32232         change.
32233         (_dl_x86_64_save_sse): Use correct AVX check.
32234
32235 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32236
32237         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32238         bug in strncpy/strncat.
32239         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32240
32241 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
32242
32243         * string/tester.c (test_strcat): Add tests for different alignments
32244         of source and destination.
32245         (test_strncat): Likewise.
32246
32247 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32248
32249         [BZ #12852]
32250         * posix/glob.c (glob): Check passed in values before using them in
32251         expressions to avoid some overflows.
32252         (glob_in_dir): Likewise.
32253
32254         [BZ #13007]
32255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32256         check for AVX enablement so that we don't crash with old kernels and
32257         new hardware.
32258         * elf/tst-audit4.c: Add same checks here.
32259         * elf/tst-audit6.c: Likewise.
32260
32261         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32262
32263 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
32264
32265         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32266
32267 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32268
32269         * po/cs.po: Update from translation team.
32270         * po/bg.po: Likewise.
32271
32272 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
32273
32274         * misc/sys/cdefs.h: Add support for const attribute.
32275         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32276         to gnu_dev_{major,minor,makedev} functions.
32277
32278 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
32279
32280         * intl/dcigettext.c (get_output_charset): Add missing bracket.
32281
32282 2011-07-20  Andreas Schwab  <schwab@redhat.com>
32283
32284         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32285         strlen results.
32286
32287 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32288
32289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32290         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32291         register in order to avoid conflicts with the soft frame pointer
32292         being held in r11 when necessary.
32293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32294         (INTERNAL_VSYSCALL_NCS): Likewise.
32295
32296 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
32297
32298         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32299         * elf/dl-fini.c (_dl_fini): Adjust caller.
32300         * elf/dl-close.c (_dl_close_worker): Likewise.
32301         * sysdeps/generic/ldsodefs.h: Adjust declaration.
32302
32303 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32304
32305         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32306         "aux_cache->nlibs < 0".
32307
32308         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32309         in the reload-count case.
32310
32311 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32312
32313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32314         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32315         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32316         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32317         * sysdeps/x86_64/multiarch/strcat.S: New file.
32318         * sysdeps/x86_64/multiarch/strncat.S: New file.
32319         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32321         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32322         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32323         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32324         (USE_AS_STRCAT): Define.
32325         Add strcat and strncat support.
32326         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32327         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32328         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32329         * string/strncat.c: Update.
32330         (USE_AS_STRNCAT): Define.
32331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32332         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32333         and i7.
32334         * sysdeps/x86_64/multiarch/init-arch.h
32335         (bit_Prefer_PMINUB_for_stringop): New.
32336         (index_Prefer_PMINUB_for_stringop): Likewise.
32337         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32338         bit_Prefer_PMINUB_for_stringop.
32339
32340 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32341
32342         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32343         buffer64.
32344         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32345         of casting of buffer.
32346         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32347         buffer32 and buffer64.
32348         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32349         writes instead of casting of buffer.
32350         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32351         buffer32.
32352         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32353         casting of buffer.
32354
32355 2011-07-19  Andreas Schwab  <schwab@redhat.com>
32356
32357         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32358
32359 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32360
32361         * nscd/nscd.c (termination_handler): Don't do anything for a database
32362         if it has not yet been initialized.
32363
32364 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32365
32366         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32367
32368 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32369
32370         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32371
32372 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32373
32374         * po/nl.po: Update from translation team.
32375         * po/sv.po: Likewise.
32376
32377 2011-07-16  Roland McGrath  <roland@hack.frob.com>
32378
32379         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32380         now disallowed by GCC.
32381
32382         * configure.in (use-default-link): Default to yes if a test -shared
32383         link meets our qualifications.
32384         * configure: Regenerated.
32385
32386         * config.make.in (output-format): New variable.
32387         * configure.in: Check for ld --print-output-format support.
32388         * configure: Regenerated.
32389         * Makerules ($(common-objpfx)format.lds)
32390         [$(output-format) != unknown]: Just use $(output-format),
32391         instead of the linker-script munging.
32392
32393 2011-07-14  Roland McGrath  <roland@hack.frob.com>
32394
32395         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32396         of $(common-objpfx)shlib.lds.
32397         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32398
32399         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32400         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32401
32402         * configure.in (-z relro check): Adjust test code to add a large
32403         writable data section after it.
32404         * configure: Regenerated.
32405
32406 2011-07-11  Roland McGrath  <roland@hack.frob.com>
32407
32408         * configure.in (-z relro check): Fix test code to make the variable
32409         truly const.
32410         * configure: Regenerated.
32411
32412 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
32413
32414         * nscd/nscd.h (struct traced_file): Define.
32415         (struct database_dyn): Remove inotify_descr, reset_res, and filename
32416         elements.  Add traced_files.
32417         (inotify_fd): Declare.
32418         (register_traced_file): Declare.
32419         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32420         (inotify_fd): Export.
32421         (resolv_conf_descr): Remove.
32422         (nscd_init): Move inotify descriptor creation to main.
32423         Don't register files for notification here.
32424         (register_traced_file): New function.
32425         (invalidate_cache): Don't use reset_res to determine whether to call
32426         res_init, go through the list of registered files.
32427         (main_loop_poll): The inotify descriptors are now stored in the
32428         structures for the traced files.
32429         (main_loop_epoll): Likewise
32430         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
32431         to __nss_disable_nscd.
32432         * nscd/cache.c (prune_cache): There is no single inotify descriptor
32433         for a database anymore.  Check the records for all the registered
32434         files instead.
32435         * nss/Makefile (libnss_files-routines): Add files-init.
32436         (libnss_db-routines): Add db-init.
32437         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32438         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32439         * nss/nss_db/db-init.c: New file.
32440         * nss/nss_files/files-init.c: New file.
32441         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
32442         __nss_lookup_function.
32443         (__nss_lookup_function): Call nss_load_library.
32444         (nss_load_all_libraries): New function.
32445         (__nss_disable_nscd): Take parameter with callback function for files
32446         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
32447         used for the cached services.
32448         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32449         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32450         options for features to all the files in nscd.
32451
32452         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32453
32454 2011-07-10  Roland McGrath  <roland@hack.frob.com>
32455
32456         * csu/elf-init.c (__libc_csu_init): Comment typo.
32457
32458 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
32459
32460         * po/pl.po: Update from translation team.
32461         * po/ja.po: Likewise.
32462         * po/ru.po: Likewise.
32463         * po/ko.po: Likewise.
32464         * po/fr.po: Likewise.
32465
32466 2011-07-09  Roland McGrath  <roland@hack.frob.com>
32467
32468         * configure.in (.ctors/.dtors header and trailer check):
32469         Use an empirical test on a built program.
32470         * configure: Regenerated.
32471
32472         * configure.in (-z relro check): Use an empirical test on a built DSO.
32473         Detect, but do not require, on ia64.
32474         * configure: Regenerated.
32475
32476         * configure.in (READELF): Find it with AC_CHECK_TOOL.
32477         Update tests that use readelf to use $READELF instead.
32478         * configure: Regenerated.
32479
32480 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
32481
32482         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32483         if the result is not used.
32484
32485 2011-07-05  Andreas Jaeger  <aj@suse.de>
32486
32487         [BZ#9696]
32488         * stdlib/tst-strtod.c: Add testcase.
32489
32490 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
32491
32492         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32493         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32494         The latter has a higher limit.  Take additional parameter to pass to
32495         the new function.
32496         (__pathconf): Pass file to __statfs_link_max.
32497         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32498         __statfs_link_max.
32499         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32500         __statfs_link_max.
32501
32502         [BZ #12868]
32503         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32504         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32505         Handle Lustre.
32506         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32507         (__statfs_filesize_max): Likewise.
32508         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32509
32510 2011-07-05  Andreas Jaeger  <aj@suse.de>
32511
32512         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32513
32514 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32515
32516         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32517         `status' variable.
32518         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32519         Likewise.
32520
32521 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32522
32523         * Makefile (strop-tests): Add strncat.
32524         * string/test-strncat.c: New file.
32525
32526 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32527
32528         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32529
32530 2011-06-21  Andreas Jaeger  <aj@suse.de>
32531
32532         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32533         Copy rule from iconvdata/Makefile.
32534
32535 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32536
32537         [BZ #12922]
32538         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32539         but no long options are defined, just return 'W'.
32540
32541 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32542
32543         [BZ #9696]
32544         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32545
32546 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32547
32548         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32549         netgroups to read.
32550         (innetgr): Likewise.
32551
32552 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32553
32554         * config.make.in (install_root): Default to $(DESTDIR).
32555
32556 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32557
32558         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32559
32560 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32561
32562         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32563
32564         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32565         containing directory rather than embedding absolute directory names.
32566
32567         * scripts/check-local-headers.sh: Rewritten using awk.
32568         Match by word, not by line.  Print error messages for matches.
32569         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32570
32571         * Makerules [shlib-lds-flags empty]:
32572         ($(common-objpfx)libc_pic.opts): New target.
32573         ($(common-objpfx)libc_pic.os.clean): New target.
32574         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32575
32576         * config.make.in (OBJCOPY): New variable.
32577         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32578         * configure: Regenerated.
32579
32580         * config.make.in (use-default-link): New variable.
32581         * configure.in (use_default_link): Grok --with-default-link to set it.
32582         * configure: Regenerated.
32583         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32584         (shlib-lds, shlib-lds-flags): Define to empty.
32585
32586         * Makerules (shlib-lds): New variable.
32587         (shlib-lds-flags): New variable.
32588         (build-shlib, build-moduile, build-module-asneeded): Use it.
32589         ($(common-objpfx)libc.so): Use $(shlib-lds).
32590         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32591         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32592
32593         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32594         DT_FLAGS/DT_FLAGS_1 with zero flags.
32595
32596         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32597         linker script munging.
32598
32599 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32600
32601         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32602         as 128-bit value.
32603         * crypt/sha512.c (sha512_process_block): Perform total addition using
32604         128-bit if possible.
32605         (__sha512_finish_ctx): Likewise.
32606         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32607         as 64-bit value.
32608         * crypt/sha256.c (SWAP64): Define.
32609         (sha256_process_block): Perform total addition using 64-bit if
32610         possible.
32611         (__sha256_finish_ctx): Likewise.
32612
32613 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32614
32615         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32616         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32617         * nscd/hstcache.c (cache_addhst): Likewise.
32618         * nscd/grpcache.c (cache_addgr): Likewise.
32619         * nscd/aicache.c (addhstaiX): Likewise
32620         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32621
32622 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32623
32624         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32625         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32626         * nscd/hstcache.c (cache_addhst): Likewise.
32627         * nscd/grpcache.c (cache_addgr): Likewise.
32628         * nscd/aicache.c (addhstaiX): Likewise
32629
32630 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32631
32632         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32633         domain only when needed.
32634
32635 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32636
32637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32638         is always restored.
32639
32640 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32641
32642         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32643         are re-adding the entry.
32644         * nscd/servicescache.c (cache_addserv): Likewise.
32645
32646 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32647
32648         * sysdeps/generic/dl-irel.h: fix protection against multiple
32649         inclusions.
32650         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32651
32652 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32653
32654         [BZ #12935]
32655         * malloc/memusage.sh: Fix quoting in message.
32656         * debug/xtrace.sh: Likewise.
32657
32658         * configure.in: Remove support for --experimental-malloc option, make
32659         it the default.
32660         * config.make.in: Likewise.
32661         * malloc/Makefile: Likewise.
32662
32663 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32664
32665         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32666         two-byte characters.
32667
32668 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32669
32670         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32671         AC_CACHE_CHECK invocation.
32672         * configure: Regenerated.
32673
32674         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32675
32676 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32677
32678         [BZ #12350]
32679         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32680         bit from old_res_options.
32681
32682         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32683
32684         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32685         value type for setfct.
32686
32687 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32688
32689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32690         __gettimeofday instead of gettimeofday.
32691
32692 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32693
32694         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32695
32696 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32697
32698         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32699
32700         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32701         info.
32702
32703 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32704
32705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32706         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32707         strcpy-sse2-unaligned strncpy-sse2-unaligned
32708         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32709         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32710         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32711         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32712         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32713         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32714         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32715         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32716         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32717         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32718         (STRCPY): Support SSE2 and SSSE3 versions.
32719
32720 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32721
32722         [BZ #12874]
32723         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32724         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32725         kernels which artificially limit size of requests.
32726
32727 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32728
32729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32730         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32731         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32732         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32733         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32734         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32735         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32736         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32737         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32738         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32739         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32740         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32741         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32742         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32743         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32745         Enable unaligned load optimization for Intel Core i3, i5 and i7
32746         processors.
32747         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32748         Define.
32749         (index_Fast_Unaligned_Load): Define.
32750         (HAS_FAST_UNALIGNED_LOAD): Define.
32751
32752 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32753
32754         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32755
32756 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32757
32758         [BZ #12907]
32759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32760         until it is clear that the information is realy needed.
32761         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32762
32763 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32764
32765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32766
32767 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32768
32769         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32770         /sys/devices/system/cpu/online if it is usable.
32771
32772         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32773         reading the information from the /proc filesystem to once a second.
32774
32775 2011-06-21  Andreas Jaeger  <aj@suse.de>
32776
32777         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32778         NULL after inclusion of kernel headers.
32779
32780 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32781
32782         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32783         calls to internal_setent.
32784
32785         [BZ #12885]
32786         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32787         addresses using gethostbyname4_r ignore IPv4 addresses.
32788
32789         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32790         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32791
32792         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32793
32794 2011-06-20  David S. Miller  <davem@davemloft.net>
32795
32796         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32797         inclusions.
32798         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32799
32800         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32801         (elf_irel): Use it.
32802         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32803         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32804         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32805         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32806         * sysdeps/x86_64/dl-irel.h: Likewise.
32807
32808         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32809         * elf/dl-sym.c: Likewise.
32810
32811 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32812
32813         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32814         need to dereference resplen2.
32815
32816 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32817
32818         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32819
32820 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32821
32822         * Makeconfig: Define vardbdir and inst_vardbdir.
32823         * nss/Makefile: Add rules to install db-Makefile.
32824
32825         * nss/nss_db/db-XXX.c: Cleanup.
32826
32827         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32828         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32829         GLIBC_PRIVATE.
32830         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32831         * nss/makedb.c: Implement -g option to specify that value strings
32832         are generated and should not be added to table iterated over for
32833         get*ent calls.
32834         * nss/nss_db/db-initgroups.c: New file.
32835
32836         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32837         interface.
32838
32839         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32840         (internal_getgrouplist): Adjust to name change.
32841         Update use_initgroups_entry if this is not the first call.
32842         * nss/databases.def: Add initgroups entry.
32843
32844         * nss/makedb.c (compute_tables): Check result of multiple hash table
32845         sizes to minimize maximum chain length.
32846
32847 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32848
32849         * Versions.def: Add entry for libnss_db.
32850         * shlib-versions: Likewise.
32851         * nss/Makefile: Add rules to build libnss_db.
32852         * nss/Versions: Add libnss_db information.  Organize libnss_files
32853         entries better.
32854         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32855         makedb progra.  Some minor improvements to generate smaller files.
32856         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32857         here from...
32858         * nss/makedb.c: ...here.
32859         Improve database format to be smaller and require less memory at
32860         runtime.
32861         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32862         db anymore.
32863         * nss/nss_db/db-netgrp.c: Likewise.
32864         * nss/nss_db/db-open.c: Likewise.
32865         * nss/nss_files/flies-XXX.x: Adjust comments.
32866         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32867         * nss/nss_files/files-grp.c: Likewise.
32868         * nss/nss_files/files-hosts.c: Likewise.
32869         * nss/nss_files/files-network.c: Likewise.
32870         * nss/nss_files/files-proto.c: Likewise.
32871         * nss/nss_files/files-pwd.c: Likewise.
32872         * nss/nss_files/files-rpc.c: Likewise.
32873         * nss/nss_files/files-service.c: Likewise.
32874         * nss/nss_files/files-sgrp.c: Likewise.
32875         * nss/nss_files/files-spwd.c: Likewise.
32876         * nss/nss_db/db-alias.c: Removed.
32877         * nss/nss_db/dummy-db.h: Removed.
32878
32879 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32880
32881         * nss/makedb.c: Rewritten to not use database library.
32882         * nss/Makefile: Update to build new makedb program.
32883
32884 2011-06-14  Andreas Jaeger  <aj@suse.de>
32885
32886         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32887         memset declaration.
32888
32889 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32890
32891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32892         tmpbuf.
32893
32894 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32895
32896         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32897         * elf/Makefile ($(objpfx)ld.so): Likewise.
32898
32899         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32900         Don't list ld.so twice in dependencies.
32901
32902         * posix/bug-regex31.c: Include <stdlib.h>.
32903
32904         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32905
32906         * nis/nss_compat/compat-spwd.c
32907         (getspent_next_nss_netgr): Remove unused variable.
32908         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32909
32910         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32911         nonmembers" output to use the right array.
32912
32913         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32914
32915         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32916
32917         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32918         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32919         * catgets/gencat.c (read_input_file): Likewise.
32920         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32921
32922         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32923         variable definition inside #if's controlling its use.
32924
32925         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32926
32927         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32928
32929         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32930
32931         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32932         unreachable code.
32933
32934         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32935
32936         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32937         * configure: Regenerated.
32938
32939         * Makerules: Revert last change.
32940         * elf/Makefile: Likewise.
32941
32942 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32943
32944         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32945         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32946         (reloc-link): Likewise.
32947
32948 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32949
32950         * elf/Makefile: Add rules to build pldd.
32951         * elf/pldd.c: New file.
32952         * elf/pldd-xx.c: New file.
32953
32954 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32955
32956         * version.h: Update for 2.15 development version.
32957
32958 2011-06-07  David S. Miller  <davem@davemloft.net>
32959
32960         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32961         ifuncs.
32962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32963         elf_machine_lazy_rel): Likewise.
32964         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32965         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32966         elf_machine_lazy_rel): Likewise.
32967         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32968         dl_hwcap via passed in argument.
32969         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32970         Likewise.
32971
32972 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32973
32974         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32975
32976 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32977
32978         [BZ #12849]
32979         * manual/fdl-1.1.texi: New file, verbatim from:
32980         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32981         * manual/lgpl-2.1.texi: New file, verbatim from:
32982         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32983         * manual/Makefile (licenses): New variable, list those new file names.
32984         (texis): Use it.
32985         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32986
32987         * manual/fdl.texi: File removed.
32988         * manual/lesser.texi: File removed.
32989         * manual/libc.texinfo (Copying, Documentation License):
32990         Use new @include file names, put @appendix directive before @include.
32991
32992 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32993
32994         [BZ #12841]
32995         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32996         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32997         (mq_open): Add __NTH.
32998
32999 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
33000
33001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33002         Assume Intel Core i3/i5/i7 processor if AVX is available.
33003
33004 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
33005
33006         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33007         typo.
33008
33009 2011-05-31  Andreas Schwab  <schwab@redhat.com>
33010
33011         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33012         memory.  Use alloca_account.  Fix memory leak when retrying.
33013
33014 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
33015
33016         * version.h (RELEASE): Bump for 2.14 release.
33017         * include/features.h (__GLIBC_MINOR__): Bump to 14.
33018
33019         * config.make.in (RANLIB): Remove entry.
33020
33021 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
33022
33023         * po/Makefile (po-sed-cmd): Add ksh to extensions.
33024         (libc.pot): Work around missing support for .ksh extension in xgettext.
33025
33026         [BZ #12684]
33027         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33028         if both request failed.
33029         (send_dg): In case of server errors clear resplen or *resplen2.
33030
33031         [BZ #12454]
33032         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33033         when there are multiple maps.
33034         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33035         (_dl_fini): Remove test here.
33036
33037         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33038
33039 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
33040
33041         [BZ #12350]
33042         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33043         bit from old_res_options.
33044         (gaih_inet): Likewise.
33045
33046         [BZ #11099]
33047         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33048         as signed.
33049
33050         * resolv/res_init.c (res_setoptions): Make the code more compact.
33051
33052         [BZ #11558]
33053         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33054         set RES_USEVC.
33055
33056         [BZ #11634]
33057         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33058
33059         * malloc/malloc.h: Mark malloc hook variables as deprecated.
33060
33061         [BZ #11781]
33062         * malloc/malloc.h: Declare malloc hook variables as volatile.
33063
33064         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33065         in last patch.
33066
33067         [BZ #11799]
33068         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33069         raise in the comment.
33070         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33071         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33072         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33073
33074 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
33075
33076         [BZ #12811]
33077         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33078         grow the buffers more if it already has to be sufficient.
33079         (build_wcs_upper_buffer): Likewise.
33080         * posix/regexec.c (check_matching): Likewise.
33081         (clean_state_log_if_needed): Likewise.
33082         (extend_buffers): Don't enlarge buffers beyond size of the input
33083         buffer.
33084         Patches mostly by Emil Wojak <emil@wojak.eu>.
33085         * posix/bug-regex32.c: New file.
33086         * posix/Makefile (tests): Add bug-regex32.
33087
33088         * locale/findlocale.c (_nl_find_locale): Return right away if
33089         _nl_explode_name failed.
33090         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33091
33092         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33093
33094         * debug/xtrace.sh: Unify messages.
33095         * malloc/memusage.sh: Likewise.
33096
33097         [BZ #12813]
33098         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33099         time symbol from vDSO.  Substitute with vsyscall if not available.
33100         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33101         __vdso_time.
33102
33103         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33104         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33105         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33106         Add sendmmsg and internal_sendmmsg.
33107         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33108         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33109         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33110
33111         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33112         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33113         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33114
33115 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
33116
33117         [BZ #12813]
33118         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33119         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
33120         available.
33121         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33122         __vdso_getcpu.
33123
33124         [BZ #12814]
33125         * iconvdata/Makefile (tests): Add bug-iconv9.
33126         * iconvdata/bug-iconv9.c: New file.
33127
33128 2011-05-27  Andreas Schwab  <schwab@redhat.com>
33129
33130         [BZ #12814]
33131         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33132
33133 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
33134
33135         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33136         (struct user_regs_struct): Change intcs field back to cs.
33137
33138 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
33139
33140         * po/ja.po: Update from translation team.
33141
33142 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
33143
33144         [BZ #12795]
33145         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33146         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33147
33148 2011-05-20  Andreas Schwab  <schwab@redhat.com>
33149
33150         * stdlib/longlong.h: Update from GCC.
33151
33152 2011-05-23  Andreas Schwab  <schwab@redhat.com>
33153
33154         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33155         parameter name.
33156         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33157         Add parameter name.
33158         (__sysconf): Pass it down.
33159
33160 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
33161
33162         [BZ #12671]
33163         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33164         some situations.
33165         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33166         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33167         add in in __libc_use_alloca calls.  Adjust callers.
33168         (glob): Use malloc in some situations.
33169
33170         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33171         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33172         pltexit.
33173
33174 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
33175
33176         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33177         and CLOCK_BOOTTIME_ALARM.
33178
33179         [BZ #12782]
33180         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33181         is returned.
33182
33183         * string/_strerror.c (__strerror_r): Print negative errors as signed
33184         numbers.
33185
33186         [BZ #12777]
33187         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33188         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33189         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33190
33191         * configure.in: Fix typo in redirection and correct removal of test
33192         files in two cases.
33193
33194         [BZ #12788]
33195         * locale/setlocale.c (new_composite_name): Fix test to check for
33196         identical name of all categories.
33197
33198         [BZ #12792]
33199         * libio/filedoalloc.c (local_isatty): New function.
33200         (_IO_file_doallocate): Use local_isatty.
33201         * stdio-common/perror.c (perror): In case a new stream is used
33202         forward the stream error.
33203         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33204         error flag.
33205
33206 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
33207
33208         [BZ #11869]
33209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33210         alloca.
33211         * include/alloca.h (extend_alloca_account): Define.
33212
33213         [BZ #11857]
33214         * posix/regex.h: Fix comments with documentation of user-accessible
33215         fields after compilation and describe correct free'ing of pattern
33216         after re_compile_pattern.
33217         Patch by Reuben Thomas <rrt@sc3d.org>.
33218
33219 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
33220
33221         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33222         and -mno-altivec to prevent the compiler from using Altivec and/or
33223         VSX instructions when the corresponding registers are not available.
33224
33225 2011-05-19  Andreas Schwab  <schwab@redhat.com>
33226
33227         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33228
33229 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
33230
33231         * libio/freopen.c (freopen): Use __dup2, not dup2.
33232         * libio/freopen64.c (freopen64): Likewise.
33233
33234 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33235
33236         [BZ #12775]
33237         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33238         * math/Makefile (tests): Add test-powl.
33239         (CFLAGS-test-powl.c): Define.
33240         * math/test-powl.c: New file.
33241
33242 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33243
33244         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33245
33246 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
33247
33248         [BZ #11837]
33249         * iconvdata/gb18030.c: Update to GB18020-2005.
33250
33251 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
33252
33253         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33254         RE_SYNTAX_POSIX_AWK): Update to match recent development.
33255         Patch by Aharon Robbins <arnold@skeeve.com>.
33256
33257         [BZ #11892]
33258         * stdlib/putenv.c (putenv): Don't always create copy of the variable
33259         on the stack.
33260
33261         [BZ #11895]
33262         * misc/pselect.c (__pselect): Handle timeout value errors hidden
33263         through underflows.
33264
33265         [BZ #12766]
33266         * misc/error.c (error_at_line): Ensure file_name and old_file_name
33267         point to strings before performing equality test for error_one_per_line
33268         mode.
33269
33270         [BZ #11697]
33271         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33272
33273         [BZ #11820]
33274         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33275         (struct user_fpregs_struct): Avoid __uint*_t types.
33276
33277         [BZ #6420]
33278         * malloc/mtrace.c (tr_where): Add additional parameter to point to
33279         symbol info.  Use it instead of calling _dl_addr locally.
33280         (lock_and_info): New function.
33281         (tr_freehook): Call lock_and_info and pass symbol info as additional
33282         parameter to tr_where.
33283         (tr_mallochook): Likewise.
33284         (tr_reallochook): Likewise.
33285         (tr_memalignhook): Likewise.
33286
33287         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
33288         used and couldn't be at all thread-safe.
33289
33290 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
33291
33292         * libio/freopen.c (freopen): Don't close old file descriptor
33293         before the new one is opened.  Instead dup the new file descriptor
33294         to the old one after the new stream is created.
33295         * libio/freopen64.c (freopen64): Likewise.
33296         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33297         * libio/fileops.c (_IO_new_file_close_it): Handle new
33298         _IO_FLAGS2_NOCLOSE flag.
33299         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33300         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33301         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33302         _IO_FLAGS2_NOCLOSE flag.
33303         * include/unistd.h: Add hidden_proto for dup3.
33304         Define __have_dup3.
33305         * io/dup3.c: Define hidden symbol.
33306         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33307
33308         [BZ #7101]
33309         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33310         when an incomplete long option is used.
33311         * posix/tst-getopt_long1.c: New file.
33312         * posix/Makefile (tests): Add tst-getopt_long1.
33313
33314         [BZ #10138]
33315         * scripts/config.guess: Update from autoconf-2.68.
33316         * scripts/config.sub: Likewise.
33317
33318         [BZ #10157]
33319         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33320         tests into ...
33321         (has_cpuclock): ...this.  New function.
33322         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33323         macro here based on has_cpuclock code.
33324
33325         [BZ #10149]
33326         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33327         First byte (not low byte) is now always NUL.
33328         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33329
33330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33331         Use non-cancelable interfaces.
33332
33333         [BZ #9809]
33334         * locale/iso-639.def: Add entry for Sorani.
33335
33336         [BZ #11901]
33337         * include/stdlib.h: Move include protection to the right place.
33338         Define abort_msg_s.  Declare __abort_msg with it.
33339         * stdlib/abort.c (__abort_msg): Adjust type.
33340         * assert/assert.c (__assert_fail_base): New function.  Majority
33341         of code from __assert_fail.  Allocate memory for __abort_msg with
33342         mmap.
33343         (__assert_fail): Now call __assert_fail_base.
33344         * assert/assert-perr.c: Remove bulk of implementation.  Use
33345         __assert_fail_base.
33346         * include/assert.hL Declare __assert_fail_base.
33347         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33348         mmap.
33349         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33350
33351 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
33352
33353         [BZ #11952]
33354         [BZ #12453]
33355         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33356         until all modules are registered in the DTV.
33357         * elf/Makefile: Add rules to build and run tst-tls19.
33358         * elf/tst-tls19.c: New file.
33359         * elf/tst-tls19mod1.c: New file.
33360         * elf/tst-tls19mod2.c: New file.
33361         * elf/tst-tls19mod3.c: New file.
33362         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33363
33364         [BZ #12083]
33365         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33366         correctly.
33367
33368         [BZ #12601]
33369         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33370         two-byte sequence errors.
33371         * iconvdata/Makefile (tests): Add bug-iconv8.
33372         * iconvdata/bug-iconv8.c: New file.
33373
33374         [BZ #12626]
33375         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33376         buf2 definition.
33377
33378         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33379
33380         [BZ #12432]
33381         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33382         (dummy_getcfa): New function.
33383         (init): Get _Unwind_GetCFA address, use dummy if not found.
33384         (backtrace_helper): In recursion check, also check whether CFA changes.
33385         (__backtrace): Completely initialize arg.
33386
33387         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33388         storing incomplete byte sequence in state object.  Avoid testing for
33389         guaranteed too small input if we know there is enough data available.
33390
33391 2011-05-11  Andreas Schwab  <schwab@redhat.com>
33392
33393         * Makeconfig (+link-pie): Indent.
33394         * Rules (binaries-pie): Define if $(have-fpie) and
33395         $(build-shared).
33396         (binaries-shared): Also filter out $(binaries-pie).
33397         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33398         * nscd/Makefile (others-pie): Add nscd.
33399         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33400         ($(objpfx)nscd): Remove command override.
33401         * login/Makefile (others-pie): Add pt_chown.
33402         ($(objpfx)pt_chown): Remove command override.
33403         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33404         remove command overrides.
33405
33406 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
33407
33408         * libio/tst_putwc.c: Fix error messages.
33409
33410         [BZ #12724]
33411         * libio/fileops.c (_IO_new_file_close_it): Always flush when
33412         currently writing and seek to current position when not.
33413         * libio/Makefile (tests): Add bug-fclose1.
33414         * libio/bug-fclose1.c: New file.
33415
33416 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
33417
33418         [BZ #12511]
33419         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33420         don't set DF_1_NODELETE here.
33421         (do_lookup_x): When entering new entry test for copy relocation
33422         and if necessary set DF_1_NODELETE flag.
33423         * elf/tst-unique4.cc: New file.
33424         * elf/tst-unique4.h: New file.
33425         * elf/tst-unique4lib.cc: New file.
33426         * elf/Makefile: Add rules to build and run tst-unique4.
33427         Patch by Piotr Bury <pbury@goahead.com>.
33428
33429 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
33430
33431         [BZ #12052]
33432         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33433
33434         [BZ #12625]
33435         * misc/mntent_r.c (addmntent): Flush the stream after the output
33436
33437         [BZ #12393]
33438         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33439         (is_trusted_path_normalize): Skip initial colon.  Append slash
33440         to empty buffer.  Duplicate is_trusted_path code but allow
33441         constructed patch to be prefix.
33442         (is_dst): Allow $ORIGIN followed by /.
33443         (_dl_dst_substitute): Correct clearing of check_for_trusted.
33444         Correct testing of result of is_trusted_path_normalize
33445         (decompose_rpath): Fix warning.
33446
33447 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
33448
33449         [BZ #11257]
33450         * grp/initgroups.c (internal_getgrouplist): When we found the service
33451         list through the initgroups entry in nsswitch.conf do not always
33452         continue on a successful lookup.  Don't always use the
33453         __nss_group_database value if it is set.
33454         * nss/nsswitch.conf (initgroups): Change action for successful db
33455         lookup to continue for compatibility.
33456
33457 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
33458
33459         [BZ #11532]
33460         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33461         and CP774 modules.
33462         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33463         and CP774 modules.
33464         * iconvdata/tst-tables.sh: Likewise.
33465         * iconvdata/cp770.c: New file.
33466         * iconvdata/cp771.c: New file.
33467         * iconvdata/cp772.c: New file.
33468         * iconvdata/cp773.c: New file.
33469         * iconvdata/cp774.c: New file.
33470         * iconvdata/testdata/CP770: New file.
33471         * iconvdata/testdata/CP770..UTF8: New file.
33472         * iconvdata/testdata/CP771: New file.
33473         * iconvdata/testdata/CP771..UTF8: New file.
33474         * iconvdata/testdata/CP772: New file.
33475         * iconvdata/testdata/CP772..UTF8: New file.
33476         * iconvdata/testdata/CP773: New file.
33477         * iconvdata/testdata/CP773..UTF8: New file.
33478         * iconvdata/testdata/CP774: New file.
33479         * iconvdata/testdata/CP774..UTF8: New file.
33480
33481         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33482         END CHARMAP line.
33483         * iconvdata/gen-8bit-gap.sh: Likewise.
33484         * iconvdata/gen-8bit.sh: Likewise.
33485
33486         * locale/iso-639.def: Add ary entry.
33487
33488         [BZ #11258]
33489         * locale/C-translit.h.in: Add U20A1 transliteration.
33490
33491         [BZ #12178]
33492         * locale/iso-639.def: Add wae entry.
33493         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33494
33495         [BZ #12545]
33496         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33497         for n.
33498
33499         [BZ #12711]
33500         * locale/C-translit.h.in: Add entry for U20B9.
33501         Patch by pravin.d.s@gmail.com.
33502
33503 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33504
33505         [BZ #12713]
33506         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33507         ENAMETOOLONG use generic getcwd.
33508         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33509         in rtld.  Use *stat64.
33510         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33511         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33512         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33513         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33514         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33515         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33516         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33517         __fstatat64 macros.
33518         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33519         * dirent/rewinddir.c: Add libc_hidden_def.
33520         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33521         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33522
33523         * include/dirent.h (__alloc_dir): Add flags parameter.
33524         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33525         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33526         __alloc_dir.
33527         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33528         from fdopendir if O_CLOEXEC is already set.
33529
33530 2011-03-15  Alan Modra  <amodra@gmail.com>
33531
33532         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33533         l_tls_firstbyte_offset non-zero.  Save padding offset in
33534         l_tls_firstbyte_offset for later use.
33535         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33536         freeing static tls block.
33537
33538 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33539
33540         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33541         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33542         being defined by the kernel headers.
33543
33544 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33545
33546         [BZ #12734]
33547         * resolv/resolv.h: Define RES_NOTLDQUERY.
33548         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33549         no-tld-query and set RES_NOTLDQUERY.
33550         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33551         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33552         modern BIND to search name as TLD unless forbidden.
33553
33554 2011-05-07  Petr Baudis  <pasky@suse.cz>
33555             Ulrich Drepper  <drepper@gmail.com>
33556
33557         [BZ #12393]
33558         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33559         (is_trusted_path): ...to here.
33560         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33561         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33562         using is_trusted_path_normalize() in setuid scripts.
33563
33564 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33565
33566         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33567         __BEGIN/__END_DECLS.
33568
33569 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33570
33571         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33572         NSS_STATUS_NOTFOUND if no record was found.
33573
33574 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33575
33576         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33577         (headers-not-in-tirpc): Remove rpc/netdb.h
33578         * resolv/netdb.h: Revert last change.
33579
33580 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33581
33582         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33583         circular dependency between libgcc.a and libc.a.
33584
33585 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33586
33587         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33588         * nis/Makefile: Don't install rpcsvc/*.
33589         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33590         instead of <rpc/types.h>.
33591         (MAXHOSTNAMELEN): Define.
33592
33593 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33594
33595         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33596
33597 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33598
33599         [BZ #12714]
33600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33601         gethostbyname4_r when IPv6 results are possible.
33602
33603 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33604
33605         [BZ #12723]
33606         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33607         _PC_PIPE_BUF handling.
33608
33609 2011-04-30  Bruno Haible  <bruno@clisp.org>
33610
33611         [BZ #12717]
33612         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33613         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33614         to 'int'.
33615         * inet/getnameinfo.c (getnameinfo): Likewise.
33616
33617 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33618
33619         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33620         to groups setting in database lookup.
33621         * nss/nsswitch.conf: Add initgroups entry.
33622
33623 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33624
33625         [BZ #12685]
33626         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33627         mode string.
33628         Patch by Eric Blake <eblake@redhat.com>.
33629
33630 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33631
33632         * sunrpc/Makefile (need-export-routines): Add svc_run.
33633         (routines): Remove svc_run.
33634         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33635         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33636         * sunrpc/svc_run.c (svc_run): Likewise.
33637         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33638
33639 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33640
33641         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33642         problem in reallocation in last patch.
33643
33644 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33645
33646         * sunrpc/Makefile: Move inclusion of Rules.
33647
33648 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33649
33650         * nss/nss_files/files-initgroups.c: New file.
33651         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33652         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33653         _nss_files_initgroups_dyn.
33654
33655 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33656
33657         * elf/elf.h (R_ARM_IRELATIVE): Define.
33658
33659 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33660
33661         * po/ru.po: Update from translation team.
33662
33663 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33664
33665         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33666         dependencies.
33667
33668 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33669
33670         [BZ #12653]
33671         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33672         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33673         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33674         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33675         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33676
33677 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33678
33679         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33680         differing bytes.
33681         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33682         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33683         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33684
33685 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33686
33687         [BZ #12420]
33688         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33689         storing it.
33690         * stdlib/bug-getcontext.c: New file.
33691         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33692
33693 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33694
33695         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33696         instructions into .machine "z9-109".
33697         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33698         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33699
33700 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33701
33702         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33703         between environment variables and auxiliary vector.
33704
33705 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33706
33707         * Makefile: Add rules to build linkobj/libc.so.
33708         * include/libc-symbols.h: Define libc_hidden_nolink.
33709         * include/rpc/auth.h: Mark functions which are to be hidden.
33710         * include/rpc/auth_des.h: Likewise.
33711         * include/rpc/auth_unix.h: Likewise.
33712         * include/rpc/clnt.h: Likewise.
33713         * include/rpc/des_crypt.h: Likewise.
33714         * include/rpc/key_prot.h: Likewise.
33715         * include/rpc/pmap_clnt.h: Likewise.
33716         * include/rpc/pmap_prot.h: Likewise.
33717         * include/rpc/pmap_rmt.h: Likewise.
33718         * include/rpc/rpc_msg.h: Likewise.
33719         * include/rpc/svc.h: Likewise.
33720         * include/rpc/svc_auth.h: Likewise.
33721         * include/rpc/xdr.h: Likewise.
33722         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33723         * nss/Makefile: Likewise.
33724         * sunrpc/Makefile: Don't install headers.  Build library with normal
33725         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33726         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33727         for the compat linking library.  Remove use of INTDEF/INTUSE.
33728         * sunrpc/auth_none.c: Likewise.
33729         * sunrpc/auth_unix.c: Likewise.
33730         * sunrpc/authdes_prot.c: Likewise.
33731         * sunrpc/authuxprot.c: Likewise.
33732         * sunrpc/clnt_gen.c: Likewise.
33733         * sunrpc/clnt_perr.c: Likewise.
33734         * sunrpc/clnt_raw.c: Likewise.
33735         * sunrpc/clnt_simp.c: Likewise.
33736         * sunrpc/clnt_tcp.c: Likewise.
33737         * sunrpc/clnt_udp.c: Likewise.
33738         * sunrpc/clnt_unix.c: Likewise.
33739         * sunrpc/des_crypt.c: Likewise.
33740         * sunrpc/des_soft.c: Likewise.
33741         * sunrpc/get_myaddr.c: Likewise.
33742         * sunrpc/key_call.c: Likewise.
33743         * sunrpc/key_prot.c: Likewise.
33744         * sunrpc/netname.c: Likewise.
33745         * sunrpc/pm_getmaps.c: Likewise.
33746         * sunrpc/pm_getport.c: Likewise.
33747         * sunrpc/pmap_clnt.c: Likewise.
33748         * sunrpc/pmap_prot.c: Likewise.
33749         * sunrpc/pmap_prot2.c: Likewise.
33750         * sunrpc/pmap_rmt.c: Likewise.
33751         * sunrpc/publickey.c: Likewise.
33752         * sunrpc/rpc_cmsg.c: Likewise.
33753         * sunrpc/rpc_common.c: Likewise.
33754         * sunrpc/rpc_dtable.c: Likewise.
33755         * sunrpc/rpc_prot.c: Likewise.
33756         * sunrpc/rpc_thread.c: Likewise.
33757         * sunrpc/rtime.c: Likewise.
33758         * sunrpc/svc.c: Likewise.
33759         * sunrpc/svc_auth.c: Likewise.
33760         * sunrpc/svc_authux.c: Likewise.
33761         * sunrpc/svc_raw.c: Likewise.
33762         * sunrpc/svc_run.c: Likewise.
33763         * sunrpc/svc_simple.c: Likewise.
33764         * sunrpc/svc_tcp.c: Likewise.
33765         * sunrpc/svc_udp.c: Likewise.
33766         * sunrpc/svc_unix.c: Likewise.
33767         * sunrpc/svcauth_des.c: Likewise.
33768         * sunrpc/xcrypt.c: Likewise.
33769         * sunrpc/xdr.c: Likewise.
33770         * sunrpc/xdr_array.c: Likewise.
33771         * sunrpc/xdr_float.c: Likewise.
33772         * sunrpc/xdr_intXX_t.c: Likewise.
33773         * sunrpc/xdr_mem.c: Likewise.
33774         * sunrpc/xdr_rec.c: Likewise.
33775         * sunrpc/xdr_ref.c: Likewise.
33776         * sunrpc/xdr_sizeof.c: Likewise.
33777         * sunrpc/xdr_stdio.c: Likewise.
33778
33779 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33780
33781         [BZ #12650]
33782         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33783         * sysdeps/ia64/dl-tls.h: Likewise.
33784         * sysdeps/powerpc/dl-tls.h: Likewise.
33785         * sysdeps/s390/dl-tls.h: Likewise.
33786         * sysdeps/sh/dl-tls.h: Likewise.
33787         * sysdeps/sparc/dl-tls.h: Likewise.
33788         * sysdeps/x86_64/dl-tls.h: Likewise.
33789         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33790
33791 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33792
33793         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33794         rpath element also skip the following colon.
33795         (expand_dynamic_string_token): Add is_path parameter and pass
33796         down to DL_DST_REQUIRED and _dl_dst_substitute.
33797         (decompose_rpath): Call expand_dynamic_string_token with
33798         non-zero is_path.  Ignore empty rpaths.
33799         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33800         with zero is_path.
33801
33802 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33803
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33805         Make cancelable.
33806
33807 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33808
33809         [BZ #12655]
33810         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33811         Patch by Filipe David Manana <fdmanana@apache.org>.
33812
33813 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33814
33815         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33816         Maintain aligned stack.
33817         (CHECK_RSP): Remove unused macro.
33818
33819 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33820
33821         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33822         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33823
33824 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33825
33826         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33827
33828         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33829
33830 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33831
33832         [BZ #12518]
33833         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33834         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33835         * sysdeps/x86_64/memmove.c: New file.
33836         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33837         (memcpy): Renamed to ...
33838         (__new_memcpy): This.
33839         (memcpy): Provide GLIBC_2_14 memcpy.
33840         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33841         (memcpy): Provide GLIBC_2_2_5 memcpy.
33842
33843 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33844
33845         [BZ #12631]
33846         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33847
33848 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33849
33850         * misc/syncfs.c: New file.
33851         * misc/Makefile (routines): Add syncfs.
33852         * posix/unistd.h: Declare syncfs.
33853         * sysdeps/unix/syscalls.list: Add syncfs.
33854
33855 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33856
33857         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33858         open_by_handle_at.
33859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33860         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33862         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33864         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33865         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33866
33867 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33868
33869         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33870         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33871         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33872         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33873         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33875         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33876
33877         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33878         sync_file_range.c with -fexceptions.
33879         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33880         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33881         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33882         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33883         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33884         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33885         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33886         sync_file_range as cancellation point
33887         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33888         now a wrapper around __call_sync_file_range with cancellation handling.
33889         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33890         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33891         function name to __call_sync_file_range.
33892         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33893         Add call_sync_file_range.
33894
33895 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33896
33897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33898         bits/timex.h.
33899
33900 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33901
33902         * iconv/iconv.h: Fix typo in comment.
33903         * io/fcntl.h: Likewise.
33904         * libio/stdio.h: Likewise.
33905         * posix/spawn.h: Likewise.
33906         * posix/unistd.h: Likewise.
33907         * stdlib/stdlib.h: Likewise.
33908         * time/time.h: Likewise.
33909         * wcsmbs/wchar.h: Likewise.
33910
33911         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33912         open_by_handle): Add.
33913         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33914         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33915         Augment a few comments.
33916         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33918         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33920         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33921         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33922         open_by_handle.
33923
33924         * io/fcntl.h (AT_EMPTY_PATH): Define.
33925
33926 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33927
33928         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33929         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33930         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33931         to...
33932         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33933         * Versions.def: Add GLIBC_2.14.
33934         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33935         Export.
33936
33937 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33938
33939         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33940         round counter.
33941         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33942
33943 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33944
33945         [BZ #12597]
33946         * string/test-strncmp.c (do_page_test): New function.
33947         (check2): Likewise.
33948         (test_main): Call check2.
33949         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33950
33951 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33952
33953         [BZ #12587]
33954         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33955         Handle cache information in CPU leaf 4.
33956         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33957
33958 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33959
33960         [BZ #12583]
33961         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33962         character representation.
33963         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33964
33965 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33966
33967         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33968         END(__isnan) to END(__isnanf) to match function entry point/label
33969         EALIGN(__isnanf,...).
33970
33971 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33972
33973         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33974
33975 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33976
33977         [BZ #12510]
33978         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33979         copy from the symbol referenced in the relocation to initialize the
33980         used variable.
33981         Patch by Piotr Bury <pbury@goahead.com>.
33982         * elf/Makefile: Add rules to build and tst-unique3.
33983         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33984         * elf/tst-unique3.cc: New file.
33985         * elf/tst-unique3.h: New file.
33986         * elf/tst-unique3lib.cc: New file.
33987         * elf/tst-unique3lib2.cc: New file.
33988
33989         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33990
33991 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33992
33993         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33994         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33995         to _start.
33996
33997 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33998
33999         * elf/dl-load.c (_dl_map_object): If we are looking for the first
34000         to-be-loaded object along a path to loader is ld.so.
34001
34002 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
34003             Ulrich Drepper  <drepper@gmail.com>
34004
34005         * sysdeps/x86_64/memset.S: After aligning destination, code
34006         branches to different locations depending on the value of
34007         misalignment, when multiarch is enabled. Fix this.
34008
34009 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
34010
34011         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34012         Set _x86_64_preferred_memory_instruction for AMD processsors.
34013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34014         Set bit_Prefer_SSE_for_memop for AMD processors.
34015
34016 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
34017
34018         * libio/fmemopen.c (fmemopen): Optimize a bit.
34019
34020 2011-03-03  Andreas Schwab  <schwab@redhat.com>
34021
34022         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34023
34024 2011-03-03  Roland McGrath  <roland@redhat.com>
34025
34026         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34027
34028 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
34029
34030         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34031         __bzero_ultra1 instead of __memset_ultra1.
34032
34033 2011-02-23  Andreas Schwab  <schwab@redhat.com>
34034             Ulrich Drepper  <drepper@gmail.com>
34035
34036         [BZ #12509]
34037         * include/link.h (struct link_map): Add l_orig_initfini.
34038         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34039         returning unsuccessfully.
34040         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34041         close of a file loaded at startup, restore the original l_initfini
34042         list.
34043         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34044         list, store the pointer.
34045         * elf/Makefile ($(objpfx)noload-mem): New rule.
34046         (noload-ENV): Define.
34047         (tests): Add $(objpfx)noload-mem.
34048         * elf/noload.c: Include <memcheck.h>.
34049         (main): Call mtrace.  Close all opened handles.
34050
34051 2011-02-17  Andreas Schwab  <schwab@redhat.com>
34052
34053         [BZ #12454]
34054         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34055         dependencies are missing.
34056
34057 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34058
34059         Fix __if_freereq crash: Unlike the generic version which uses free,
34060         Hurd needs munmap.
34061         * sysdeps/mach/hurd/ifreq.h: New file.
34062
34063 2011-01-27  Petr Baudis  <pasky@suse.cz>
34064             Ulrich Drepper  <drepper@gmail.com>
34065
34066         [BZ 12445]#
34067         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34068         to extend_alloca().
34069         * stdio-common/bug23.c: New file.
34070         * stdio-common/Makefile (tests): Add bug23.
34071
34072 2010-09-28  Andreas Schwab  <schwab@redhat.com>
34073             Ulrich Drepper  <drepper@gmail.com>
34074
34075         [BZ #12489]
34076         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34077         before performing relro protection.  At old place add assertion
34078         to make sure nothing changed.
34079
34080 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
34081             Glauber de Oliveira Costa  <glommer@gmail.com>
34082
34083         * elf/elf.h: Add new ARM TLS relocs.
34084
34085 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
34086
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34088         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34089         cast from r3.
34090         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
34091         'tests' variable.
34092         * sysdeps/wordsize-64/tst-writev.c: New file.
34093
34094 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
34095
34096         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34097         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34098         insns in _dl_start to prevent a TOC reference before relocs are
34099         resolved.
34100
34101 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
34102
34103         [BZ #12469]
34104         * Makeconfig: Remove RANLIB definition.
34105         * Makerules: Don't use RANLIB.
34106         * aclocal.m4: Remove ranlib test.
34107         * configure.in: No need to check for ranlib.
34108         * elf/rtld-Rules: Don't use RANLIB.
34109
34110 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34111
34112         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34113         protection macro.
34114         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34115         inclusion protection macro.
34116
34117         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34118         SIGRTMIN and SIGRTMAX and print information in that case only when
34119         SIGRTMIN is defined.
34120
34121 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
34122
34123         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34124         arginfo fn returning -1.
34125
34126         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34127         and thousands string is zero terminated.
34128
34129 2011-02-03  Andreas Schwab  <schwab@redhat.com>
34130
34131         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34132         sysdeps/unix/sysv/linux/bits/socket.h.
34133
34134 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34135
34136         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34137         (__CPU_COUNT): Remove old macros.
34138         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34139         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34140         (__CPU_ALLOC, __CPU_FREE): Add macros.
34141         (__sched_cpualloc, __sched_cpufree): Add declarations.
34142
34143 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
34144
34145         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34146         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34147         * nscd/aicache.c (addhstaiX): Return timeout of added value.
34148         (readdhstai): Return value of addhstaiX call.
34149         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34150         (addgrbyX): Return value returned by cache_addgr.
34151         (readdgrbyname): Return value returned by addgrbyX.
34152         (readdgrbygid): Likewise.
34153         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34154         (addpwbyX): Return value returned by cache_addpw.
34155         (readdpwbyname): Return value returned by addhstbyX.
34156         (readdpwbyuid): Likewise.
34157         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34158         (addservbyX): Return value returned by cache_addserv.
34159         (readdservbyname): Return value returned by addservbyX:
34160         (readdservbyport): Likewise.
34161         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34162         (addhstbyX): Return value returned by cache_addhst.
34163         (readdhstbyname): Return value returned by addhstbyX.
34164         (readdhstbyaddr): Likewise.
34165         (readdhstbynamev6): Likewise.
34166         (readdhstbyaddrv6): Likewise.
34167         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34168         (readdinitgroups): Return value returned by addinitgroupsX.
34169         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34170         (prune_cache): Keep track of timeout value of re-added entries.
34171         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34172         * nscd/nscd.h: Adjust prototypes of readd* functions.
34173
34174 2011-02-04  Roland McGrath  <roland@redhat.com>
34175
34176         * nis/nis_server.c (nis_servstate): Use the right name for 0.
34177         (nis_stats): Likewise.
34178         * nis/nis_modify.c (nis_modify): Likewise.
34179         * nis/nis_remove.c (nis_remove): Likewise.
34180         * nis/nis_add.c (nis_add): Likewise.
34181
34182         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34183
34184         * posix/fnmatch_loop.c: Add some consts.
34185
34186         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34187
34188 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
34189
34190         [BZ #12460]
34191         * config.make.in (config-cflags-novzeroupper): Define.
34192         * configure.in: Substitute libc_cv_cc_novzeroupper.
34193         * elf/Makefile (AVX-CFLAGS): Define.
34194         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34195         (CFLAGS-tst-auditmod4a.c): Likewise.
34196         (CFLAGS-tst-auditmod4b.c): Likewise.
34197         (CFLAGS-tst-auditmod6b.c): Likewise.
34198         (CFLAGS-tst-auditmod6c.c): Likewise.
34199         (CFLAGS-tst-auditmod7b.c): Likewise.
34200         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34201
34202 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
34203
34204         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34205         function to the callback.
34206         Patch partly by Jiri Olsa <jolsa@redhat.com>.
34207
34208 2011-02-02  Andreas Schwab  <schwab@redhat.com>
34209
34210         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34211         of errno.
34212
34213 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
34214
34215         [BZ #11724]
34216         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34217         of constructors.
34218         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34219         of destructors.
34220         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34221
34222         [BZ #11724]
34223         * elf/Makefile: Add rules to build and run new test.
34224         * elf/tst-initorder.c: New file.
34225         * elf/tst-initorder.exp: New file.
34226         * elf/tst-initordera1.c: New file.
34227         * elf/tst-initordera2.c: New file.
34228         * elf/tst-initordera3.c: New file.
34229         * elf/tst-initordera4.c: New file.
34230         * elf/tst-initorderb1.c: New file.
34231         * elf/tst-initorderb2.c: New file.
34232         * elf/tst-order-a1.c: New file.
34233         * elf/tst-order-a2.c: New file.
34234         * elf/tst-order-a3.c: New file.
34235         * elf/tst-order-a4.c: New file.
34236         * elf/tst-order-b1.c: New file.
34237         * elf/tst-order-b2.c: New file.
34238         * elf/tst-order-main.c: New file.
34239         New test case by George Gensure <werkt0@gmail.com>.
34240
34241 2010-10-01  Andreas Schwab  <schwab@redhat.com>
34242
34243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34244         decoding ACE if AI_CANONIDN.
34245
34246 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
34247
34248         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34249
34250 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
34251
34252         * version.h (RELEASE): Bump for 2.13 release.
34253         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34254
34255         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34256
34257         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34258         MADV_NOHUGEPAGE.
34259         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34260         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34261         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34262         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34263         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34264         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34265
34266         * posix/getconf.c: Update copyright year.
34267         * catgets/gencat.c: Likewise.
34268         * csu/version.c: Likewise.
34269         * debug/catchsegv.sh: Likewise.
34270         * debug/xtrace.sh: Likewise.
34271         * elf/ldconfig.c: Likewise.
34272         * elf/ldd.bash.in: Likewise.
34273         * elf/sprof.c (print_version): Likewise.
34274         * iconv/iconv_prog.c: Likewise.
34275         * iconv/iconvconfig.c: Likewise.
34276         * locale/programs/locale.c: Likewise.
34277         * locale/programs/localedef.c: Likewise.
34278         * malloc/memusage.sh: Likewise.
34279         * malloc/mtrace.pl: Likewise.
34280         * nscd/nscd.c (print_version): Likewise.
34281         * nss/getent.c: Likewise.
34282
34283         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34284         PF_CAIF, and PF_ALG.
34285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34286
34287 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
34288
34289         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34290         (modules-names): Use them.
34291         (ifunc-test-modules, ifunc-pie-tests): Define.
34292         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34293         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34294         (test-extras): Likewise.
34295         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34296         $(compile-command.c).
34297         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34298         (all-built-dso): Define.
34299         (check-textrel.out, check-execstack.out): Depend on it.
34300
34301         * configure.in: Don't override --enable-multi-arch.
34302
34303 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
34304
34305         [BZ #6812]
34306         * nscd/hstcache.c (tryagain): Define.
34307         (cache_addhst): Return tryagain not notfound for temporary errors.
34308         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34309         failed.
34310
34311 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
34312
34313         [BZ #10563]
34314         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34315         to make the syscall.
34316         * sysdeps/unix/sysv/linux/setgroups.c: New file.
34317
34318         [BZ #12378]
34319         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34320         and fall back to matching as normal character if the string ends before
34321         the matching ']' is found.  This is what POSIX requires.
34322         * posix/testfnm.c: Adjust test result.
34323         * posix/globtest.sh: Adjust test result.  Add new test.
34324         * posix/tst-fnmatch.input: Likewise.
34325         * posix/tst-fnmatch2.c: Add new test.
34326
34327 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
34328
34329         * elf/Makefile (check-execstack): Revert last change.  Depend on
34330         check-execstack.h.
34331         (check-execstack.h): New target.
34332         (generated): Add check-execstack.h.
34333         * elf/check-execstack.c: Include "check-execstack.h".
34334         (main): Revert last change.
34335         (handle_file): Return zero if GNU_STACK is absent and
34336         DEFAULT_STACK_PERMS doesn't include PF_X.
34337
34338 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
34339
34340         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34341         in child fails because the descriptor is already closed.
34342         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34343         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34344         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34345
34346         [BZ #12397]
34347         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34348         syscall.
34349
34350         [BZ #10484]
34351         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34352         temporary buffer used to handle multi lookups locally.
34353         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34354
34355 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34356
34357         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34358         loader is ld.so.
34359
34360 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
34361
34362         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34363         alignment for SSE2.
34364
34365 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34366
34367         [BZ #12394]
34368         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34369         characters.  When rounding increased number of integer digits recompute
34370         number of groups.
34371         * stdio-common/tst-grouping.c: New file.
34372         * stdio-common/Makefile: Add rules to build and run tst-grouping.
34373
34374 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
34375
34376         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34377         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
34378
34379         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34380         void.
34381         * bits/select.h: Likewise.
34382
34383 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
34384
34385         * po/ja.po: Update from translation team.
34386
34387 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
34388
34389         [BZ #11155]
34390         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34391         implementation just like for lxstat, fxstatat, et al.
34392
34393 2010-12-27  Jim Meyering  <meyering@redhat.com>
34394
34395         [BZ #12348]
34396         * posix/regexec.c (build_trtable): Return failure indication upon
34397         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
34398
34399 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
34400
34401         [BZ #12201]
34402         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34403         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34404         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34405         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34406
34407         [BZ #12207]
34408         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34409
34410         [BZ #12204]
34411         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34412         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34413
34414 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
34415
34416         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34417         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34418         script has SORT_BY_INIT_PRIORITY.
34419         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34420         NO_CTORS_DTORS_SECTIONS is defined.
34421         * elf/soinit.c: Likewise.
34422         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34423         NO_CTORS_DTORS_SECTIONS is defined.
34424         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34425         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34426         * sysdeps/sh/init-first.c: Likewise.
34427         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34428
34429 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
34430
34431         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34432         always use the slow path.
34433
34434 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
34435
34436         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34437         similar rule which adds the sysdep directories to the header search in
34438         order to pick up the correct platform stackinfo.h.
34439         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34440         perform test if it is, otherwise return successfully without testing.
34441         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34442         DEFAULT_STACK_PERMS define in stackinfo.h.
34443         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34444         defined in stackinfo.h.
34445         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34446         DEFAULT_STACK_PERMS defined in stackinfo.h.
34447         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34448         * sysdeps/ia64/stackinfo.h: Likewise.
34449         * sysdeps/s390/stackinfo.h: Likewise.
34450         * sysdeps/sh/stackinfo.h: Likewise.
34451         * sysdeps/sparc/stackinfo.h: Likewise.
34452         * sysdeps/x86_64/stackinfo.h: Likewise.
34453         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34454         PF_X for powerpc64.  Retain PF_X for powerpc32.
34455
34456 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
34457
34458         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34459         accurately.
34460         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34461         GETDENTS_64BIT_ALIGNED.
34462
34463 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
34464
34465         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34466
34467 2010-12-10  Andreas Schwab  <schwab@redhat.com>
34468
34469         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34470         _GNU_SOURCE.
34471
34472         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34473         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34474         Remove __restrict.
34475         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34476         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34477
34478 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
34479
34480         [BZ #11655]
34481         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34482         are initialized.
34483
34484 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
34485
34486         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34487
34488 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
34489
34490         * po/it.po: Update from translation team.
34491
34492 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34493
34494         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34495         unused codes.
34496
34497 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34498
34499         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34500
34501 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34502
34503         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34504         specially.
34505         (gaih_getanswer_slice): Likewise.
34506
34507 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34508
34509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34510
34511 2010-05-31  Petr Baudis  <pasky@suse.cz>
34512
34513         [BZ #11149]
34514         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34515         silently even in the chroot mode.
34516
34517 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34518
34519         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34520         last patch a bit.  Pretty printing
34521
34522 2010-05-31  Petr Baudis <pasky@suse.cz>
34523
34524         [BZ #10085]
34525         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34526         initialization of skip_initgroups_dyn.
34527
34528 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34529
34530         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34531         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34532
34533 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34534
34535         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34536
34537 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34538
34539         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34540         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34541         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34542         ($(objpfx)tst-fnmatch-mem): New rule.
34543         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34544         * posix/tst-fnmatch.c (main): Call mtrace.
34545
34546 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34547
34548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34549         Support Intel processor model 6 and model 0x2c.
34550
34551 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34552
34553         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34554           signed comparison.
34555
34556 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34557
34558         [BZ #12205]
34559         * string/test-strncasecmp.c (check_result): New function.
34560         (do_one_test): Use it.
34561         (check1): New function.
34562         (test_main): Use it.
34563         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34564         Support strcasecmp and strncasecmp.
34565
34566 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34567
34568         [BZ #12194]
34569         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34570         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34571
34572 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34573
34574         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34575         IFUNC support.
34576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34577         memset-x86-64.
34578         * sysdeps/x86_64/multiarch/bzero.S: New file.
34579         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34580         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34581         * sysdeps/x86_64/multiarch/memset.S: New file.
34582         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34584         Set bit_Prefer_SSE_for_memop for Intel processors.
34585         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34586         Define.
34587         (index_Prefer_SSE_for_memop): Define.
34588         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34589
34590 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34591
34592         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34593         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34594
34595 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34596
34597         [BZ #12191]
34598         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34599         (__x86_64_raw_data_cache_size_half): Likewise.
34600         (__x86_64_raw_shared_cache_size): Likewise.
34601         (__x86_64_raw_shared_cache_size_half): Likewise.
34602
34603         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34604         (__x86_64_raw_data_cache_size_half): Likewise.
34605         (__x86_64_raw_shared_cache_size): Likewise.
34606         (__x86_64_raw_shared_cache_size_half): Likewise.
34607         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34608         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34609         and __x86_64_raw_shared_cache_size_half.  Round
34610         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34611         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34612         to multiple of 256 bytes.
34613
34614 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34615
34616         [BZ #12167]
34617         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34618         of inacessible symlinks.  Verify result of symlink before returning it.
34619         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34620         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34621
34622 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34623
34624         * math/math.h (isinf): Fix typo in comment.
34625
34626 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34627
34628         * po/da.po: Update from translation team.
34629
34630 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34631
34632         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34633         is added to the list.
34634
34635 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34636             Ulrich Drepper  <drepper@gmail.com>
34637
34638         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34639         the global list here.  Move code to...
34640         (_dl_add_to_namespace_list): ...here.  New function.
34641         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34642         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34643         * elf/dl-load.c (lose): Don't remove the element from the list.
34644         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34645         (_dl_map_object): Likewise.
34646
34647 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34648
34649         [BZ #12159]
34650         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34651         into all bytes of SSE register.
34652         Patch by Richard Li <richardpku@gmail.com>.
34653
34654 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34655
34656         [BZ #12140]
34657         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34658         perturbing.
34659
34660 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34661
34662         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34663         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34664         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34665         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34667         submachine.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34669
34670 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34671
34672         * include/dlfcn.h (__RTLD_SECURE): Define.
34673         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34674         mode & __RTLD_SECURE instead.
34675         (open_path): Rename preloaded parameter to secure.
34676         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34677         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34678         * elf/dl-deps.c (openaux): Likewise.
34679         * elf/rtld.c (struct map_args): Remove is_preloaded.
34680         (map_doit): Don't use it.
34681         (dl_main): Likewise.
34682         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34683         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34684
34685 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34686
34687         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34688         (sysd-rules-targets): Remove duplicates.
34689         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34690         rtld-%.$o dependency.
34691
34692 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34693
34694         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34695         _dl_map_object do it.
34696
34697 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34698
34699         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34700         fast fma builtins, define the macros in the C99 standard.
34701         (FP_FAST_FMAF): Likewise.
34702         (FP_FAST_FMAL): Likewise.
34703         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34704
34705         * bits/mathdef.h: Update copyright year.
34706         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34707
34708 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34709
34710         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34711         builtins, define the macros in the C99 standard.
34712         (FP_FAST_FMAF): Likewise.
34713         (FP_FAST_FMAL): Likewise.
34714         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34715         multiply/add.
34716         (FP_FAST_FMAF): Likewise.
34717
34718 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34719
34720         [BZ #3268]
34721         * math/libm-test.inc (fma_test): Some new testcases.
34722         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34723         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34724         y and infinite z.  Do multiplication by C already in long double.
34725         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34727         y and infinite z.  Do bitwise or of inexact bit into u.d.
34728         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34729         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34730         * sysdeps/i386/fpu/s_fma.S: Removed.
34731         * sysdeps/i386/fpu/s_fmal.S: Removed.
34732
34733 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34734
34735         [BZ #3268]
34736         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34738         computation is not scheduled after fetestexcept.  Fix value
34739         of minimum denormal long double.
34740
34741 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34742
34743         [BZ #3268]
34744         * math/libm-test.inc (fma_test): Add some more tests.
34745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34746         correctly.
34747
34748 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34749
34750         * scripts/data/localplt-s390-linux-gnu.data: New file.
34751         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34752
34753 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34754
34755         [BZ #3268]
34756         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34757         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34758         instead of dbl-64.
34759         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34760         inlines.
34761         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34763         if one of x and y is very large and the other is subnormal.
34764         * sysdeps/s390/fpu/s_fmaf.c: New file.
34765         * sysdeps/s390/fpu/s_fma.c: New file.
34766         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34767         * sysdeps/powerpc/fpu/s_fma.S: New file.
34768         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34769         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34770         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34771
34772 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34773
34774         [BZ #3268]
34775         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34776         fma tests.
34777         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34778         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34779         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34780         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34781         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34782         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34783         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34784
34785 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34786
34787         [BZ #12078]
34788         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34789         * posix/bug-regex31.input: Add test case.
34790
34791 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34792
34793         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34794         * posix/bug-regex31.input: New file.
34795
34796         [BZ #12078]
34797         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34798         (parse_sub_exp): Fix last change, use postorder.
34799
34800         * posix/bug-regex31.c: New file.
34801         * posix/Makefile: Add rules to build and run bug-regex31.
34802
34803         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34804
34805         [BZ #12078]
34806         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34807
34808         [BZ #12108]
34809         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34810         to have entries in sys_siglist.
34811
34812         [BZ #12093]
34813         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34814         be NULL.
34815
34816 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34817
34818         [BZ #3268]
34819         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34820         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34821         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34822         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34823         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34824         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34825         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34826         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34827         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34828         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34829         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34830         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34831         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34832         * math/ftestexcept.c (fetestexcept): Likewise.
34833         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34834         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34835         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34836         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34837         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34838         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34839         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34840
34841 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34842
34843         [BZ #12107]
34844         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34845         newline.
34846
34847 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34848
34849         * string/bug-strstr1.c: New file.
34850         * string/Makefile: Add rules to build and run bug-strstr1.
34851
34852 2010-10-05  Eric Blake  <eblake@redhat.com>
34853
34854         [BZ #12092]
34855         * string/str-two-way.h (two_way_long_needle): Always clear memory
34856         when skipping input due to the shift table.
34857
34858 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34859
34860         [BZ #12005]
34861         * malloc/mcheck.c: Handle large requests.
34862
34863         [BZ #12077]
34864         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34865         for strncmp and strncasecmp.
34866         * string/stratcliff.c: Add tests for strcmp and strncmp.
34867         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34868
34869 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34870
34871         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34872         __set_fpscr.
34873
34874 2010-09-30  Andreas Jaeger  <aj@suse.de>
34875
34876         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34877         (CGROUP_SUPER_MAGIC): Define.
34878         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34879         Handle btrfs and cgroup file systems.
34880         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34881         Likewise.
34882
34883 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34884
34885         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34886         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34887
34888 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34889
34890         [BZ #12067]
34891         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34892         trying to locate the ELF header.
34893
34894 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34895
34896         [BZ #11611]
34897         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34898         Mask out sign-bit copies when constructing f_fsid.
34899
34900 2010-09-24  Petr Baudis <pasky@suse.cz>
34901
34902         * debug/stack_chk_fail_local.c: Add missing licence exception.
34903         * debug/warning-nop.c: Likewise.
34904
34905 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34906
34907         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34908         implementing getdents64 using getdents syscall, set d_type if
34909         __ASSUME_GETDENTS32_D_TYPE.
34910
34911 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34912
34913         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34914         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34915
34916 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34917
34918         [BZ #12037]
34919         * posix/unistd.h: Undo change of feature selection for ftruncate from
34920         2010-01-11.
34921
34922 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34923
34924         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34925         detection.
34926
34927 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34928
34929         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34930         fanotify_mark.
34931         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34932
34933 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34934
34935         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34936         variables after CHECK_SP call.
34937         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34938
34939 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34940             Ulrich Drepper  <drepper@redhat.com>
34941
34942         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34943         re-relocationg ld.so.
34944         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34945         _dl_init_paths call.
34946         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34947         here anymore.
34948
34949 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34950
34951         * resolv/res_init.c (__res_vinit): Count the default server we added.
34952
34953 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34954             Ulrich Drepper  <drepper@redhat.com>
34955
34956         [BZ #11968]
34957         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34958         (____longjmp_chk): Use %ebx for saving value across system call.
34959         Add unwind info.
34960
34961 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34962
34963         * manual/Makefile: Don't mix pattern rules with normal rules.
34964
34965 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34966
34967         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34968         operation.
34969         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34970         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34971         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34972         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34973         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34974         Likewise.
34975
34976 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34977
34978         [BZ #11979]
34979         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34980         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34981
34982 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34983
34984         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34985         * sysdeps/x86_64/addmul_1.S: Likewise.
34986         * sysdeps/x86_64/lshift.S: Likewise.
34987         * sysdeps/x86_64/mul_1.S: Likewise.
34988         * sysdeps/x86_64/rshift.S: Likewise.
34989         * sysdeps/x86_64/sub_n.S: Likewise.
34990         * sysdeps/x86_64/submul_1.S: Likewise.
34991
34992 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34993
34994         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34995         Define __sched_param instead of SCHED_* and sched_param when
34996         <bits/sched.h> is included with __need_schedparam defined.
34997         * bits/sched.h [__need_schedparam]
34998         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34999         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35000         (__defined_schedparam): Define to 1.
35001         (__sched_param): New structure, identical to sched_param.
35002         (__need_schedparam): Undefine.
35003
35004 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
35005
35006         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35007         (epoll_create1): Declare.
35008
35009         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35010
35011 2010-08-31  Andreas Schwab  <schwab@redhat.com>
35012
35013         [BZ #7066]
35014         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35015         shifting retval into place.
35016
35017 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
35018
35019         * nis/rpcsvc/nis.h: Update copyright notice.
35020         * nis/rpcsvc/nis.x: Likewise.
35021         * nis/rpcsvc/nis_callback.h: Likewise.
35022         * nis/rpcsvc/nis_callback.x: Likewise.
35023         * nis/rpcsvc/nis_object.x: Likewise.
35024         * nis/rpcsvc/nis_tags.h: Likewise.
35025         * nis/rpcsvc/yp.h: Likewise.
35026         * nis/rpcsvc/yp.x: Likewise.
35027         * nis/rpcsvc/ypupd.h: Likewise.
35028         * nis/yp_xdr.c: Likewise.
35029         * nis/ypupdate_xdr.c: Likewise.
35030
35031         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
35032         mainly the body of pmap_getport.  Add parameters to specify timeouts.
35033         (pmap_getport): Use __libc_rpc_getport.
35034         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35035         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35036         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35037
35038 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
35039
35040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35041         fanotify_mark.
35042
35043 2010-08-27  Roland McGrath  <roland@redhat.com>
35044
35045         * sysdeps/i386/i686/multiarch/Makefile
35046         (CFLAGS-varshift.c): New variable.
35047
35048 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
35049
35050         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35051         * sysdeps/i386/i686/multiarch/varshift.c: New file.
35052
35053         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35054
35055         * sysdeps/x86_64/strlen.S: Minimal code improvement.
35056
35057 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
35058
35059         * sysdeps/x86_64/strlen.S: Unroll the loop.
35060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35061         strlen-sse2 strlen-sse2-bsf.
35062         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35063         __strlen_no_bsf if bit_Slow_BSF is set.
35064         (__strlen_sse42): Removed.
35065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35066         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35067
35068 2010-08-25  Roland McGrath  <roland@redhat.com>
35069
35070         * sysdeps/x86_64/multiarch/varshift.S: File removed.
35071         * sysdeps/x86_64/multiarch/varshift.c: New file.
35072         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35073         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35074         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35075         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35076
35077 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
35078
35079         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35080         strlen-sse2 strlen-sse2-bsf.
35081         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35082         __strlen_sse2_bsf if bit_Slow_BSF is unset.
35083         (__strlen_sse2): Removed.
35084         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35087         bit_Slow_BSF for Atom.
35088         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35089         (index_Slow_BSF): Define.
35090         (HAS_SLOW_BSF): Define.
35091
35092 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
35093
35094         [BZ #10851]
35095         * resolv/res_init.c (__res_vinit): When no server address at all
35096         is given default to loopback.
35097
35098 2010-08-24  Roland McGrath  <roland@redhat.com>
35099
35100         * configure.in: Remove config-name.h generation.
35101         * configure: Regenerated.
35102         * config-name.in: File removed.
35103         * scripts/config-uname.sh: New file.
35104         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35105         ($(objdir)config-name.h): New target.
35106
35107         * sunrpc/rpc_parse.h: Avoid nested comment.
35108
35109 2010-08-24  Richard Henderson  <rth@redhat.com>
35110             Ulrich Drepper  <drepper@redhat.com>
35111             H.J. Lu  <hongjiu.lu@intel.com>
35112
35113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35115         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35116         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
35117         _mm_alignr_epi8 with _mm_loadu_si128.
35118         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35119         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35120         (__m128i_shift_right): Removed.
35121         * sysdeps/i386/i686/multiarch/varshift.h: New file.
35122         * sysdeps/i386/i686/multiarch/varshift.S: New file.
35123         * sysdeps/x86_64/multiarch/varshift.h: New file.
35124         * sysdeps/x86_64/multiarch/varshift.S: New file.
35125
35126 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
35127
35128         * configure.in: Move assembler checks to before sysdep dir checking.
35129
35130 2010-08-20  Petr Baudis  <pasky@suse.cz>
35131
35132         * LICENSES: Sync the sunrpc license.
35133
35134 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
35135
35136         * sunrpc/auth_des.c: Update copyright notice once again.
35137         * sunrpc/auth_none.c: Likewise.
35138         * sunrpc/auth_unix.c: Likewise.
35139         * sunrpc/authdes_prot.c: Likewise.
35140         * sunrpc/authuxprot.c: Likewise.
35141         * sunrpc/bindrsvprt.c: Likewise.
35142         * sunrpc/clnt_gen.c: Likewise.
35143         * sunrpc/clnt_perr.c: Likewise.
35144         * sunrpc/clnt_raw.c: Likewise.
35145         * sunrpc/clnt_simp.c: Likewise.
35146         * sunrpc/clnt_tcp.c: Likewise.
35147         * sunrpc/clnt_udp.c: Likewise.
35148         * sunrpc/clnt_unix.c: Likewise.
35149         * sunrpc/des_crypt.c: Likewise.
35150         * sunrpc/des_soft.c: Likewise.
35151         * sunrpc/get_myaddr.c: Likewise.
35152         * sunrpc/getrpcport.c: Likewise.
35153         * sunrpc/key_call.c: Likewise.
35154         * sunrpc/key_prot.c: Likewise.
35155         * sunrpc/openchild.c: Likewise.
35156         * sunrpc/pm_getmaps.c: Likewise.
35157         * sunrpc/pm_getport.c: Likewise.
35158         * sunrpc/pmap_clnt.c: Likewise.
35159         * sunrpc/pmap_prot.c: Likewise.
35160         * sunrpc/pmap_prot2.c: Likewise.
35161         * sunrpc/pmap_rmt.c: Likewise.
35162         * sunrpc/rpc/auth.h: Likewise.
35163         * sunrpc/rpc/auth_unix.h: Likewise.
35164         * sunrpc/rpc/clnt.h: Likewise.
35165         * sunrpc/rpc/des_crypt.h: Likewise.
35166         * sunrpc/rpc/key_prot.h: Likewise.
35167         * sunrpc/rpc/netdb.h: Likewise.
35168         * sunrpc/rpc/pmap_clnt.h: Likewise.
35169         * sunrpc/rpc/pmap_prot.h: Likewise.
35170         * sunrpc/rpc/pmap_rmt.h: Likewise.
35171         * sunrpc/rpc/rpc.h: Likewise.
35172         * sunrpc/rpc/rpc_des.h: Likewise.
35173         * sunrpc/rpc/rpc_msg.h: Likewise.
35174         * sunrpc/rpc/svc.h: Likewise.
35175         * sunrpc/rpc/svc_auth.h: Likewise.
35176         * sunrpc/rpc/types.h: Likewise.
35177         * sunrpc/rpc/xdr.h: Likewise.
35178         * sunrpc/rpc_clntout.c: Likewise.
35179         * sunrpc/rpc_cmsg.c: Likewise.
35180         * sunrpc/rpc_common.c: Likewise.
35181         * sunrpc/rpc_cout.c: Likewise.
35182         * sunrpc/rpc_dtable.c: Likewise.
35183         * sunrpc/rpc_hout.c: Likewise.
35184         * sunrpc/rpc_main.c: Likewise.
35185         * sunrpc/rpc_parse.c: Likewise.
35186         * sunrpc/rpc_parse.h: Likewise.
35187         * sunrpc/rpc_prot.c: Likewise.
35188         * sunrpc/rpc_sample.c: Likewise.
35189         * sunrpc/rpc_scan.c: Likewise.
35190         * sunrpc/rpc_scan.h: Likewise.
35191         * sunrpc/rpc_svcout.c: Likewise.
35192         * sunrpc/rpc_tblout.c: Likewise.
35193         * sunrpc/rpc_util.c: Likewise.
35194         * sunrpc/rpc_util.h: Likewise.
35195         * sunrpc/rpcinfo.c: Likewise.
35196         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35197         * sunrpc/rpcsvc/key_prot.x: Likewise.
35198         * sunrpc/rpcsvc/klm_prot.x: Likewise.
35199         * sunrpc/rpcsvc/mount.x: Likewise.
35200         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35201         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35202         * sunrpc/rpcsvc/rex.x: Likewise.
35203         * sunrpc/rpcsvc/rstat.x: Likewise.
35204         * sunrpc/rpcsvc/rusers.x: Likewise.
35205         * sunrpc/rpcsvc/sm_inter.x: Likewise.
35206         * sunrpc/rpcsvc/spray.x: Likewise.
35207         * sunrpc/rpcsvc/yppasswd.x: Likewise.
35208         * sunrpc/rtime.c: Likewise.
35209         * sunrpc/svc.c: Likewise.
35210         * sunrpc/svc_auth.c: Likewise.
35211         * sunrpc/svc_authux.c: Likewise.
35212         * sunrpc/svc_raw.c: Likewise.
35213         * sunrpc/svc_run.c: Likewise.
35214         * sunrpc/svc_simple.c: Likewise.
35215         * sunrpc/svc_tcp.c: Likewise.
35216         * sunrpc/svc_udp.c: Likewise.
35217         * sunrpc/svc_unix.c: Likewise.
35218         * sunrpc/svcauth_des.c: Likewise.
35219         * sunrpc/xcrypt.c: Likewise.
35220         * sunrpc/xdr.c: Likewise.
35221         * sunrpc/xdr_array.c: Likewise.
35222         * sunrpc/xdr_float.c: Likewise.
35223         * sunrpc/xdr_mem.c: Likewise.
35224         * sunrpc/xdr_rec.c: Likewise.
35225         * sunrpc/xdr_ref.c: Likewise.
35226         * sunrpc/xdr_sizeof.c: Likewise.
35227         * sunrpc/xdr_stdio.c: Likewise.
35228
35229         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35230         handling.
35231
35232 2010-08-19  Andreas Schwab  <schwab@redhat.com>
35233
35234         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35235
35236 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
35237
35238         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35239         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35240         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35241         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35242         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35243         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35244         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35245         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35246         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35247         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35248         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35249         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35250         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35251         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35252
35253 2010-07-26  Anton Blanchard  <anton@samba.org>
35254
35255         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35256         * malloc/arena.c (heap_trim): Likewise.
35257
35258 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
35259
35260         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35261         here.  Not...
35262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35263         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35264
35265 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35266
35267         * sysdeps/i386/elf/Makefile: New file.
35268
35269 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35270
35271         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35272         from fanotify_init.
35273         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35275
35276 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
35277
35278         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35279         of strncasecmp_l.
35280         * sysdeps/multiarch/strcmp.S: Likewise.
35281
35282 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
35283
35284         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35285         strncase_l-nonascii.
35286         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35287         Add strncase_l-ssse3.
35288         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35289         * sysdeps/x86_64/strcmp.S: Likewise.
35290         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35291         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35292         * sysdeps/x86_64/strncase.S: New file.
35293         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35294         * sysdeps/x86_64/strncase_l.S: New file.
35295         * string/Makefile (strop-tests): Add strncasecmp.
35296         * string/test-strncasecmp.c: New file.
35297
35298         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35299         warning.
35300
35301         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35302         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35303
35304 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35305
35306         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35307
35308 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
35309
35310         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35311         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35312         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35313
35314 2010-05-01  Alan Modra  <amodra@gmail.com>
35315
35316         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35317         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35318         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35319         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35320         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35321         tidying.  Don't tail-call __sigjmp_save for static lib.
35322         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35323         save location.
35324         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35325         (CALL_MCOUNT): Add eh info, and nop after bl.
35326         (TAIL_CALL_SYSCALL_ERROR): New macro.
35327         (PSEUDO_RET): Use it.
35328         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35329         Correct save location of integer regs and cr.
35330         (_dl_profile_resolve): Correct cr save location.  Delete nops
35331         after bl when SHARED.  Reduce cfi size a little by better
35332         placement of cfi directives.
35333         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35334         make a stack frame.  Instead use parm save area as a temp.
35335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35336         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
35337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35338         Don't make a stack frame for parent, use parm save area.
35339         Increase child stack frame to 112 bytes.  Don't save unused reg,
35340         and adjust reg usage.  Set up cfi on error recovery and
35341         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35343         (__makecontext): Add dummy nop after jump to exit.
35344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35345         Use correct parm save area and cr save, reduce stack frame.
35346         Correct cfi for possible PSEUDO_RET frame setup.
35347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35348         Branch to local label emitted by PSEUDO_RET rather than
35349         __syscall_error.
35350
35351 2010-08-12  Andreas Schwab  <schwab@redhat.com>
35352
35353         [BZ #11904]
35354         * locale/programs/locale.c (print_assignment): New function.
35355         (show_locale_vars): Use it.
35356
35357 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
35358
35359         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35360         field.
35361         (struct statfs64): Likewise.
35362         (_STATFS_F_FLAGS): Define.
35363         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35364         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35365         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35366         (ST_VALID): Define locally.
35367         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35368         __statvfs_getflags, use the provided value.
35369         * sysdeps/unix/sysv/linux/kernel-features.h: Define
35370         __ASSUME_STATFS_F_FLAGS.
35371
35372         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35373
35374         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35375         Add sys/fanotify.h.
35376         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35377         fanotify_mask for GLIBC_2.13.
35378         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35379         fanotify_init and fanotify_mark.
35380         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35381         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35382
35383         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35384         Add prlimit.
35385         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35386         prlimit64 for GLIBC_2.13.
35387         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35388         prlimit64.
35389         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35390         syscall.
35391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35393         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35394         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
35396         add prlimit alias.
35397         * sysdeps/unix/sysv/linux/prlimit.c: New file.
35398
35399         [BZ #11903]
35400         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35401         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35402
35403         * nss/Makefile: Add rules to build and run tst-nss-test1.
35404         * shlib-versions: Add entry for libnss_test1.
35405         * nss/nss_test1.c: New file.
35406         * nss/tst-nss-test1.c: New file.
35407
35408         * nss/nsswitch.c (__nss_database_custom): Define new variable.
35409         (__nss_configure_lookup): Set appropriate entry in
35410         __nss_configure_lookup to true.
35411         * nss/nsswitch.h: Define enum with indeces of databases in
35412         databases and __nss_database_custom arrays.  Declare
35413         __nss_database_custom.
35414         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35415         to avoid using nscd when custom rules are installed.
35416         * nss/getXXbyYY_r.c: Likewise.
35417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35418
35419         * nss/nss_files/files-parse.c: Whitespace fixes.
35420
35421 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
35422
35423         [BZ #11883]
35424         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35425         * posix/fnmatch_loop.c: Likewise.
35426
35427 2010-07-17  Andi Kleen  <ak@linux.intel.com>
35428
35429         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35430         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35431         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35432         * Versions.def [GLIBC_2.13]: Add.
35433
35434 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
35435
35436         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35437         Also fail if tpwd after pwuid call is NULL.
35438
35439 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35440
35441         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35442         when converting to ms.
35443
35444 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35445
35446         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35447         EOPNOTSUPP errors with ENOTTY.
35448         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35449         EOPNOTSUPP errors with ENOTTY.
35450
35451 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
35452
35453         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35454         Add strcasecmp_l-ssse3.
35455         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35456         strcasecmp.
35457         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35458         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35459         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35460
35461 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
35462
35463         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35464
35465         * string/Makefile (strop-tests): Add strcasecmp.
35466         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35467         strcasecmp_l-nonascii.
35468         (gen-as-const-headers): Add locale-defines.sym.
35469         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35470         * sysdeps/x86_64/strcasecmp.S: New file.
35471         * sysdeps/x86_64/strcasecmp_l.S: New file.
35472         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35473         * sysdeps/x86_64/locale-defines.sym: New file.
35474         * string/test-strcasecmp.c: New file.
35475
35476         * string/test-strcasestr.c: Test both ends of the range of characters.
35477         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35478
35479 2010-07-29  Roland McGrath  <roland@redhat.com>
35480
35481         [BZ #11856]
35482         * manual/locale.texi (Yes-or-No Questions): Fix example code.
35483
35484 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
35485
35486         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35487         for ld.so.
35488
35489 2010-07-27  Andreas Schwab  <schwab@redhat.com>
35490
35491         * manual/memory.texi (Malloc Tunable Parameters): Document
35492         M_PERTURB.
35493
35494 2010-07-26  Roland McGrath  <roland@redhat.com>
35495
35496         [BZ #11840]
35497         * configure.in (-fgnu89-inline check): Set and substitute
35498         gnu89_inline, not libc_cv_gnu89_inline.
35499         * configure: Regenerated.
35500         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35501
35502 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35503
35504         * string/test-strnlen.c: New file.
35505         * string/Makefile (strop-tests): Add strnlen.
35506         * string/tester.c (test_strnlen): Add a few more test cases.
35507         * string/tst-strlen.c: Better error reporting.
35508
35509         * sysdeps/x86_64/strnlen.S: New file.
35510
35511 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35512
35513         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35514         lower-latency instructions.
35515
35516 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35517
35518         * string/test-strcasestr.c: New file.
35519         * string/test-strstr.c: New file.
35520         * string/Makefile (strop-tests): Add strstr and strcasestr.
35521         * string/str-two-way.h: Don't undefine MAX.
35522         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35523
35524 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35525
35526         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35527         strcasestr-nonascii.
35528         (CFLAGS-strcasestr-nonascii.c): Define.
35529         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35530         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35531         Remove unused attribute.
35532
35533 2010-07-20  Roland McGrath  <roland@redhat.com>
35534
35535         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35536         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35537         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35538         like LD_HWCAP_MASK can disable hwcaps.
35539
35540 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35541
35542         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35543
35544 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35545
35546         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35547         call in strcasestr.
35548         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35549         __strcasestr_sse42_nonascii.
35550         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35551         strcasestr-nonascii.c.
35552         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35553
35554 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35555
35556         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35557         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35558         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35559         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35560
35561 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35562
35563         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35564         fcntl.
35565
35566 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35567
35568         [BZ #11577]
35569         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35570         dl_signal_cerror.
35571
35572 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35573
35574         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35575         _PC_PIPE_BUF using F_GETPIPE_SZ.
35576
35577 2010-07-05  Roland McGrath  <roland@redhat.com>
35578
35579         * manual/arith.texi (Rounding Functions): Fix rint description
35580         implicit in round description.
35581
35582 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35583
35584         * elf/Makefile: Fix linking for a few tests to make recent linker
35585         happy.
35586
35587 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35588
35589         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35590         $(common-objpfx)libc_nonshared.a.
35591
35592 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35593
35594         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35595         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35596         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35597         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35598         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35599         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35600         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35601         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35616         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35617         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35618         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35619         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35620         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35621         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35622         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35623         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35624         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35625         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35626         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35627         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35642
35643 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35644
35645         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35646         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35647         * string/memmove.c (memmove): Renamed to ...
35648         (MEMMOVE): ...this.  Default to memmove.
35649         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35650         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35651         (END_CHK): Define.
35652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35653         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35654         mempcpy-ssse3-back memmove-ssse3-back.
35655         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35656         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35657         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35658         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35659         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35660         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35661         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35662         * sysdeps/x86_64/multiarch/memmove.c: New file.
35663         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35664         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35665         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35666         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35667         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35668         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35669         Define.
35670         (index_Fast_Copy_Backward): Define.
35671         (HAS_ARCH_FEATURE): Define.
35672         (HAS_FAST_REP_STRING): Define.
35673         (HAS_FAST_COPY_BACKWARD): Define.
35674
35675 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35676
35677         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35678         Restore proper fallback handling.
35679
35680 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35681
35682         [BZ #11701]
35683         * posix/group_member.c (__group_member): Correct checking loop.
35684
35685         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35686         OOM in getpwuid_r correctly.  Return error number when the caller
35687         should return, otherwise -1.
35688         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35689         call returning > 0 value.
35690         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35691
35692 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35693
35694         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35695         libc_nonshared.a from targets in modules-names.
35696
35697 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35698
35699         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35700         requires it.
35701
35702 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35703
35704         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35705         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35707         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35708
35709 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35710
35711         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35712
35713 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35714
35715         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35716         and F_GETPIPE_SZ.
35717         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35718         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35721         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35722         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35723
35724 2010-06-14  Roland McGrath  <roland@redhat.com>
35725
35726         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35727
35728 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35729
35730         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35731         __REDIRECT followed by __THROW.
35732         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35733         * posix/getopt.h (getopt): Likewise.
35734
35735 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35736
35737         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35738         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35739         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35740         in AT_FLAGS.
35741         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35742         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35743
35744 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35745
35746         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35747
35748 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35749
35750         [BZ #11640]
35751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35752         Properly check family and model.
35753
35754 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35755
35756         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35757
35758 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35759
35760         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35761
35762 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35763
35764         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35765         symbol reference.
35766
35767 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35768
35769         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35770         symbol reference.
35771
35772 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35773
35774         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35775         and internal_recvmmsg.
35776         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35777         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35778         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35779         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35780
35781         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35782         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35783         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35784
35785 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35786
35787         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35788
35789 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35790
35791         POWER7 optimizations.
35792         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35793         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35794
35795 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35796
35797         * version.h: Update for 2.13 development version.
35798
35799 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35800
35801         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35802         exceptions.  Return 0.
35803
35804 2010-05-07  Roland McGrath  <roland@redhat.com>
35805
35806         * elf/ldconfig.c (main): Add a const.
35807
35808 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35809
35810         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35811         (args_options): Add no-idn option.
35812         (ahosts_keys_int): Add idn_flags to ai_flags.
35813         (parse_option): Handle 'i' option to clear idn_flags.
35814
35815         * malloc/malloc.c (_int_free): Possible race in the most recently
35816         added check.  Only act on the data if no current modification
35817         happened.
35818
35819 See ChangeLog.17 for earlier changes.