Document shm_open.
[glibc.git] / ChangeLog
blobde634b4d416c444cad5c705b1fbdb12b4a672df2
1 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
5 2013-12-02  Steve Ellcey  <sellcey@mips.com>
7         * benchtests/Makefile (bench): Add sqrt.
8         (LDLIBS-bench-sqrt): New.
9         * benchtests/sqrt-input: New.
11 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14         (GAIH_EAI): Likewise.
15         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16         (gaih_inet): Likewise.
17         (getaddrinfo): Don't use GAIH_EAI.
19         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20         (struct gaih): Remove definition.
22 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25         Use HERRNOP directly.
27 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
33         * math/gen-auto-libm-tests.c (test_functions): Add more
34         single-argument functions.
35         (special_fill_pi_2): New function.
36         (special_fill_minus_pi_2): Likewise.
37         (special_fill_pi_6): Likewise.
38         (special_fill_minus_pi_6): Likewise.
39         (special_fill_pi_3): Likewise.
40         (special_fill_2pi_3): Likewise.
41         (special_fill_e): Likewise.
42         (special_fill_1_e): Likewise.
43         (special_fill_e_minus_1): Likewise.
44         (special_real_inputs): Add more special inputs.
45         (output_for_one_input_case): Do not require ERANGE on underflow to
46         zero if round-to-nearest result does not underflow to zero, unless
47         exact results required.
48         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49         atan, atanh, cbrt, cos and cosh.
50         * math/auto-libm-test-out: Regenerated.
51         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52         (acos_tonearest_test_data): Likewise.
53         (acos_towardzero_test_data): Likewise.
54         (acos_downward_test_data): Likewise.
55         (acos_upward_test_data): Likewise.
56         (acosh_test_data): Likewise.
57         (asin_test_data): Likewise.
58         (asin_tonearest_test_data): Likewise.
59         (asin_towardzero_test_data): Likewise.
60         (asin_upward_test_data): Likewise.
61         (asinh_test_data): Likewise.
62         (atan_test_data): Likewise.
63         (atanh_test_data): Likewise.
64         (cbrt_test_data): Likewise.
65         (cos_test_data): Likewise.
66         (cos_tonearest_test_data): Likewise.
67         (cos_towardzero_test_data): Likewise.
68         (cos_downward_test_data): Likewise.
69         (cos_upward_test_data): Likewise.
70         (cosh_test_data): Likewise.
71         (cosh_tonearest_test_data): Likewise.
72         (cosh_towardzero_test_data): Likewise.
73         (cosh_downward_test_data): Likewise.
74         (cosh_upward_test_data): Likewise.
75         * sysdeps/i386/fpu/libm-test-ulps: Update.
76         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
80         [BZ #6787]
81         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
82         * math/w_exp10f.c (__exp10f): Likewise.
83         * math/w_exp10l.c (__exp10l): Likewise.
84         * math/libm-test.inc (exp10_test_data): Add more tests and expect
85         errno settings in existing tests.
87         [BZ #14032]
88         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
89         precision control set to double precision.
90         * sysdeps/i386/fpu/w_sqrt.c: New file.
91         * math/auto-libm-test-in: Add more tests.
92         * math/auto-libm-test-out: Update.
94         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
95         (sqrt_test_tonearest): New function.
96         (sqrt_towardzero_test_data): New variable.
97         (sqrt_test_towardzero): New function.
98         (sqrt_downward_test_data): New variable.
99         (sqrt_test_downward): New function.
100         (sqrt_upward_test_data): New variable.
101         (sqrt_test_upward): New function.
102         (main): Call the new functions.
104         * math/gen-auto-libm-tests.c: New file.
105         * math/auto-libm-test-in: Likewise.
106         * math/auto-libm-test-out: New generated file.
107         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
108         variables.
109         (%beautify): Add generated representations of zero.
110         (top level): Set $auto_input and call parse_auto_input.
111         (beautify): Remove trailing "f" from hex float constants.
112         (parse_args): Handle XFAIL_TEST.
113         (convert_condition): New function.
114         (or_value): Likewise.
115         (or_cond_value): Likewise.
116         (generate_testfile): Handle AUTO_TESTS_* lines.
117         (parse_auto_input): New function.
118         * math/libm-test.inc (XFAIL_TEST): New macro.
119         (ERRNO_UNCHANGED): Update value.
120         (ERRNO_EDOM): Likewise.
121         (ERRNO_ERANGE): Likewise.
122         (IGNORE_RESULT): Likewise.
123         (TEST_COND_flt_32): New macro.
124         (TEST_COND_dbl_64): Likewise.
125         (TEST_COND_ldbl_96_intel): Likewise.
126         (TEST_COND_ldbl_96_m68k): Likewise.
127         (TEST_COND_ldbl_128): Likewise.
128         (TEST_COND_ldbl_128ibm): Likewise.
129         (TEST_COND_long32): Likewise.
130         (TEST_COND_long64): Likewise.
131         (TEST_COND_before_rounding): Likewise.
132         (TEST_COND_after_rounding): Likewise.
133         (enable_test): Handle XFAIL_TEST flag.
134         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
135         with finite results.
136         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
137         auto-libm-test-out.
139 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
140             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
142         [BZ #16214]
143         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
144         __tls_get_addr_internal instead of __tls_get_offset in order to
145         avoid GOT pointer dependency.  Make rtld export
146         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
147         __tls_get_addr since we are a __tls_get_offset platform.
148         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
149         GOT pointer being set up before.
150         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
152 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
154         * manual/math.texi (Errors in Math Functions): Document accuracy
155         goals.
157         [BZ #15004]
158         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
159         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
160         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
161         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
162         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
163         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
164         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
165         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
166         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
167         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
168         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
169         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
170         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
171         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
172         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
173         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
175         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
176         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
177         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
178         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
179         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
180         Likewise.
181         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
182         Likewise.
183         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
184         Likewise.
185         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
186         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
187         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
188         atomic-feupdateenv and flt-rounds.
189         * sysdeps/powerpc/nofpu/Versions (libc): Add
190         __atomic_feholdexcept, __atomic_feclearexcept,
191         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
192         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
193         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
194         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
195         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
196         here.
197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
198         Update.
200         * manual/arith.texi (FP Exceptions): Document that exceptions may
201         not be raised when matherr is used.
202         (Math Error Reporting): Document overflow in directed rounding
203         modes.  Document that errno may not be set when finite values are
204         returned on overflow.  Document intent to set errno on underflow
205         only for underflow to zero.
207         [BZ #16271]
208         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
209         round-to-nearest then adjust result for other rounding modes.
210         * include/fenv.h (fegetround): Use libm_hidden_proto.
211         * math/fegetround.c (fegetround): Use libm_hidden_def.
212         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
213         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
214         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
215         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
216         Likewise.
217         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
218         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
219         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
220         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
222 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
224         [BZ #16077]
225         * nss/Versions (libnss_files): Add
226         _nss_files_gethostbyname3_r.
227         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
228         New function.
229         (HOST_DB_LOOKUP): Remove macro.
230         (_nss_files_gethostbyname_r): Implement function without the
231         HOST_DB_LOOKUP macro.
232         (_nss_files_gethostbyname2_r): Likewise.
234 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
236         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
238 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
240         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
241         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
242         warning.
244 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
246         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
247         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
248         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
249         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
250         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
251         __fe_nomask_env_priv and attribute_hidden.
252         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
253         (libc_feupdateenv_test_ppc): Likewise.
254         (libc_feresetround_ppc): Likewise.
255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
256         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
257         compat_symbol macro.
258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
259         (__fe_nomask_env): Likewise.
260         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
262 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
264         * string/Makefile: Remove ifunc tests.
265         * string/test-string.h: Define TEST_IFUNC.
266         * string/test-bcopy-ifunc.c: Remove.
267         * string/test-bzero-ifunc.c: Likewise.
268         * string/test-memccpy-ifunc.c: Likewise.
269         * string/test-memchr-ifunc.c: Likewise.
270         * string/test-memcmp-ifunc.c: Likewise.
271         * string/test-memcpy-ifunc.c: Likewise.
272         * string/test-memmem-ifunc.c: Likewise.
273         * string/test-memmove-ifunc.c: Likewise.
274         * string/test-mempcpy-ifunc.c: Likewise.
275         * string/test-memrchr-ifunc.c: Likewise.
276         * string/test-memset-ifunc.c: Likewise.
277         * string/test-rawmemchr-ifunc.c: Likewise.
278         * string/test-stpcpy-ifunc.c: Likewise.
279         * string/test-stpncpy-ifunc.c: Likewise.
280         * string/test-strcasecmp-ifunc.c: Likewise.
281         * string/test-strcasestr-ifunc.c: Likewise.
282         * string/test-strcat-ifunc.c: Likewise.
283         * string/test-strchr-ifunc.c: Likewise.
284         * string/test-strchrnul-ifunc.c: Likewise.
285         * string/test-strcmp-ifunc.c: Likewise.
286         * string/test-strcpy-ifunc.c: Likewise.
287         * string/test-strcspn-ifunc.c: Likewise.
288         * string/test-strlen-ifunc.c: Likewise.
289         * string/test-strncasecmp-ifunc.c: Likewise.
290         * string/test-strncat-ifunc.c: Likewise.
291         * string/test-strncmp-ifunc.c: Likewise.
292         * string/test-strncpy-ifunc.c: Likewise.
293         * string/test-strnlen-ifunc.c: Likewise.
294         * string/test-strpbrk-ifunc.c: Likewise.
295         * string/test-strrchr-ifunc.c: Likewise.
296         * string/test-strspn-ifunc.c: Likewise.
297         * string/test-strstr-ifunc.c: Likewise.
299 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
301         * benchtests/Makefile: Remove ifunc tests.
302         * benchtests/bench-string.h: Define TEST_IFUNC.
303         * benchtests/bench-bcopy-ifunc.c: Remove.
304         * benchtests/bench-bzero-ifunc.c: Likewise.
305         * benchtests/bench-memccpy-ifunc.c: Likewise.
306         * benchtests/bench-memchr-ifunc.c: Likewise.
307         * benchtests/bench-memcmp-ifunc.c: Likewise.
308         * benchtests/bench-memcpy-ifunc.c: Likewise.
309         * benchtests/bench-memmem-ifunc.c: Likewise.
310         * benchtests/bench-memmove-ifunc.c: Likewise.
311         * benchtests/bench-mempcpy-ifunc.c: Likewise.
312         * benchtests/bench-memrchr-ifunc.c: Likewise.
313         * benchtests/bench-memset-ifunc.c: Likewise.
314         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
315         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
316         * benchtests/bench-stpcpy-ifunc.c: Likewise.
317         * benchtests/bench-stpncpy-ifunc.c: Likewise.
318         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
319         * benchtests/bench-strcasestr-ifunc.c: Likewise.
320         * benchtests/bench-strcat-ifunc.c: Likewise.
321         * benchtests/bench-strchr-ifunc.c: Likewise.
322         * benchtests/bench-strchrnul-ifunc.c: Likewise.
323         * benchtests/bench-strcmp-ifunc.c: Likewise.
324         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
325         * benchtests/bench-strcpy-ifunc.c: Likewise.
326         * benchtests/bench-strcspn-ifunc.c: Likewise.
327         * benchtests/bench-strlen-ifunc.c: Likewise.
328         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
329         * benchtests/bench-strncat-ifunc.c: Likewise.
330         * benchtests/bench-strncmp-ifunc.c: Likewise.
331         * benchtests/bench-strncpy-ifunc.c: Likewise.
332         * benchtests/bench-strnlen-ifunc.c: Likewise.
333         * benchtests/bench-strpbrk-ifunc.c: Likewise.
334         * benchtests/bench-strrchr-ifunc.c: Likewise.
335         * benchtests/bench-strsep-ifunc.c: Likewise.
336         * benchtests/bench-strspn-ifunc.c: Likewise.
337         * benchtests/bench-strstr-ifunc.c: Likewise.
339 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
341         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
343 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
345         * resolv/netdb.h: Use __glibc_reserved instead __unused.
346         * rt/aio.h: Likewise.
347         * sysdeps/gnu/bits/utmp.h: Likewise.
348         * sysdeps/gnu/bits/utmpx.h: Likewise.
349         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
350         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
351         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
352         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
353         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
354         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
355         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
356         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
357         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
358         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
359         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
360         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
361         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
363         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
364         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
365         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
366         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
367         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
368         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
369         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
370         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
371         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
372         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
373         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
375         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
376         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
377         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
378         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
379         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
380         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
381         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
382         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
383         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
384         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
385         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
386         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
387         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
388         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
389         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
390         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
392 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
394         [BZ #16245]
395         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
396         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
398 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
400         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
401         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
402         Likewise.
404 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
406         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
407         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
408         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
409         (__fesetround): Remove define.
410         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
411         rounding and exceptions handling.
412         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
413         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
414         (__fe_nomask_env): Likewise.
415         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
416         __fegetround instead of fegetround.
417         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
418         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
420 2013-11-21  Roland McGrath  <roland@hack.frob.com>
422         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
423         it's there.
425         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
427 2013-11-21  Meador Inge  <meadori@codesourcery.com>
429         [BZ #11157]
430         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
431         (encrypt_r): Likewise.
432         * malloc/obstack.h (obstack_free): Likewise.
433         * posix/unistd.h (encrypt): Likewise.
435 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
437         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
438         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
439         DL_CALL_DT_FINI() that call the functions directly.
440         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
441         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
442         * elf/dl-fini.c: Likewise.
444 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
446         * malloc/hooks.c (memalign_check): Add alignment rounding.
447         * malloc/malloc.c (_mid_memalign): New function.
448         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
449         Implement by calling _mid_memalign.
450         * manual/probes.texi (Memory Allocation Probes): Remove
451         memory_valloc_retry and memory_pvalloc_retry.
453 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
455         * locale/programs/locarchive.c (open_archive): Add const
456         qualifier to ARCHIVEFNAME and copy default fname to
457         DEFAULT_FNAME.
459         [BZ #15601]
460         * libio/tst-widetext.input: Rename Oriya to Odia.
461         * locale/iso-639.def: Likewise.
463         * manual/probes.texi (Mathematical Function Probes): Add
464         documentation for sin, cos, asin and acos probes.
465         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
466         (__sin32): Add slowasin probe.
467         (__cos32): Add slowacos probe.
468         (__mpsin): Add slowsin probe.
469         (__mpcos): Add slowcos probe.
471 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
473         [BZ #15483]
474         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
475         thread-local __sim_exceptions_thread and global
476         __sim_exceptions_global.
477         (__sim_disabled_exceptions): Change to thread-local
478         __sim_disabled_exceptions_thread and global
479         __sim_disabled_exceptions_global.
480         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
481         and global __sim_round_mode_global.
482         (__simulate_exceptions): Use thread-local floating-point state and
483         set global state from it as needed.
484         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
485         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
486         __sim_round_mode_thread.
487         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
488         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
489         and global __sim_exceptions_global.
490         (__sim_disabled_exceptions): Change to thread-local
491         __sim_disabled_exceptions_thread and global
492         __sim_disabled_exceptions_global.
493         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
494         and global __sim_round_mode_global.
495         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
496         (SIM_SET_GLOBAL): Likewise.
497         * sysdeps/powerpc/soft-fp/sfp-machine.h
498         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
499         __sim_round_mode_thread.
500         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
501         __sim_disabled_exceptions_thread.
502         (__sim_exceptions): Change to __sim_exceptions_thread.
503         (__sim_disabled_exceptions): Change to
504         __sim_disabled_exceptions_thread.
505         (__sim_round_mode): Change to __sim_round_mode_thread.
506         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
507         thread-local floating-point state and set global state from it as
508         needed.
509         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
510         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
511         (__sim_disabled_exceptions): Remove extern declaration.
512         (feenableexcept): Use thread-local floating-point state and set
513         global state from it as needed.
514         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
515         extern declaration.
516         (__sim_disabled_exceptions): Likewise.
517         (__sim_round_mode): Likewise.
518         (__fegetenv): Use thread-local floating-point state.
519         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
520         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
521         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
522         floating-point state and set global state from it as needed.
523         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
524         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
525         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
526         Likewise.
527         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
528         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
529         Likewise.
530         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
531         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
532         Use __sim_round_mode_thread.
533         * math/test-fenv-tls.c: New file.
534         * math/Makefile (tests): Add test-fenv-tls.
535         ($(objpfx)test-fenv-tls): Depend on
536         $(common-objpfx)nptl/libpthread.so.
538 2013-11-19  Andreas Schwab  <schwab@suse.de>
540         * locale/programs/locale.c (show_info): Decode wordarray elements.
541         * locale/categories.def (LC_MONETARY): Add element for
542         _NL_MONETARY_CRNCYSTR.
543         * locale/C-monetary.c (conversion_rate): New variable.
544         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
545         element.
547 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
549         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
550         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
552 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
554         * elf/Makefile (tst-auxv): New test.
555         * elf/tst-auxv.c: New
556         * elf/rtld.c (dl_main): Adjust AT_EXECFN
558 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
560         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
561         (hidden_proto): Caller changed.
562         (hidden_tls_proto): New macro.
563         (libc_hidden_tls_proto): Likewise.
564         (rtld_hidden_tls_proto): Likewise.
565         (libm_hidden_tls_proto): Likewise.
566         (libresolv_hidden_tls_proto): Likewise.
567         (librt_hidden_tls_proto): Likewise.
568         (libdl_hidden_tls_proto): Likewise.
569         (libnss_files_hidden_tls_proto): Likewise.
570         (libnsl_hidden_tls_proto): Likewise.
571         (libnss_nisplus_hidden_tls_proto): Likewise.
572         (libutil_hidden_tls_proto): Likewise.
574 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
576         [BZ #10253]
577         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
578         (decompose_rpath): Defer expansion to fillin_rpath.
579         (_dl_init_paths): Pass linkmap to fillin_rpath.
581 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
583         * benchtests/Makefile: Add strsep.
584         * benchtests/bench-strsep.c: New file: strsep benchtest.
585         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
587 2013-11-18  Andreas Schwab  <schwab@suse.de>
589         * locale/programs/locale.c (show_info) [case byte]: Check for
590         '\377' instead of '\177'.
591         * locale/C-monetary.c (not_available): Always use "\377".
592         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
593         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
594         detect unavailable sign_posn locale elements.
595         * locale/localeconv.c (__localeconv): For grouping and
596         mon_grouping handle "\177" and "\377" like no grouping.
597         (INT_ELEM): New macro.  Use it to set all numeric members.
598         * locale/programs/ld-monetary.c (monetary_read)
599         <tok_mon_grouping>: Normalize single -1 to the empty string.
600         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
601         Likewise.
603 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
605         [BZ #16055]
606         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
607         when we match (nil).
608         * stdio-common/tst-sscanf.c (struct test): Add testcase.
610 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
612         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
613         (NO_TEST_INLINE): Update value.
614         (ERRNO_UNCHANGED): Likewise.
615         (ERRNO_EDOM): Likewise.
616         (ERRNO_ERANGE): Likewise.
617         (IGNORE_RESULT): Likewise.
618         (check_float_internal): Check signs of NaN results if
619         TEST_NAN_SIGN used.
620         (check_complex): Pass TEST_NAN_SIGN flag through to second
621         check_float_internal call.
622         (copysign_test_data): Add tests with quiet NaNs as second
623         argument.  Use TEST_NAN_SIGN.
624         (fabs_test_data): Add test of negative quiet NaN argument.  Use
625         TEST_NAN_SIGN.
626         (signbit_test_data): Add tests of quiet NaN argument.
627         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
629         * math/gen-libm-test.pl (show_exceptions): Take extra argument
630         $ignore_result.
631         (parse_args): Handle function results specified as IGNORE.
632         * math/libm-test.inc (IGNORE_RESULT): New macro.
633         (check_float_internal): Do not check numerical result if flag
634         IGNORE_RESULT set.
635         (check_complex): Pass through IGNORE_RESULT to second
636         check_float_internal call.
637         (check_int): Do not check numerical result if flag IGNORE_RESULT
638         set.
639         (check_long): Likewise.
640         (check_bool): Likewise.
641         (check_longlong): Likewise.
642         (lrint_test_data): Add tests of infinite and NaN arguments.
643         (lrint_tonearest_test_data): Likewise.
644         (lrint_towardzero_test_data): Likewise.
645         (lrint_downward_test_data): Likewise.
646         (lrint_upward_test_data): Likewise.
647         (llrint_test_data): Likewise.
648         (llrint_tonearest_test_data): Likewise.
649         (llrint_towardzero_test_data): Likewise.
650         (llrint_downward_test_data): Likewise.
651         (llrint_upward_test_data): Likewise.
652         (lround_test_data): Likewise.
653         (llround_test_data): Likewise.
655         * math/libm-test.inc (NO_TEST_INLINE): New macro.
656         (ERRNO_UNCHANGED): Update value.
657         (ERRNO_EDOM): Likewise.
658         (ERRNO_ERANGE): Likewise.
659         (NO_TEST_INLINE_FLOAT): New macro.
660         (NO_TEST_INLINE_DOUBLE): Likewise.
661         (enable_test): New function.
662         (RUN_TEST_f_f): Check enable_test before running test.
663         (RUN_TEST_2_f): Likewise.
664         (RUN_TEST_fff_f): Likewise.
665         (RUN_TEST_c_f): Likewise.
666         (RUN_TEST_f_f1): Likewise.
667         (RUN_TEST_fF_f1): Likewise.
668         (RUN_TEST_fI_f1): Likewise.
669         (RUN_TEST_ffI_f1): Likewise.
670         (RUN_TEST_c_c): Likewise.
671         (RUN_TEST_cc_c): Likewise.
672         (RUN_TEST_f_i): Likewise.
673         (RUN_TEST_f_i_tg): Likewise.
674         (RUN_TEST_ff_i_tg): Likewise.
675         (RUN_TEST_f_b): Likewise.
676         (RUN_TEST_f_b_tg): Likewise.
677         (RUN_TEST_f_l): Likewise.
678         (RUN_TEST_f_L): Likewise.
679         (RUN_TEST_fFF_11): Likewise.
680         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
681         conditionals.
682         (cosh_test_data): Likewise.
683         (exp_test_data): Likewise.
684         (expm1_test_data): Likewise.
685         (hypot_test_data): Likewise.
686         (pow_test_data): Likewise.
687         (sinh_test_data): Likewise.
688         (tanh_test_data): Likewise.
689         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
690         flags argument.
692         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
693         tests with quiet NaN input and output.
694         (acosh_test_data): Likewise.
695         (asin_test_data): Likewise.
696         (asinh_test_data): Likewise.
697         (atan_test_data): Likewise.
698         (atanh_test_data): Likewise.
699         (atan2_test_data): Likewise.
700         (cbrt_test_data): Likewise.
701         (cos_test_data): Likewise.
702         (cosh_test_data): Likewise.
703         (erf_test_data): Likewise.
704         (erfc_test_data): Likewise.
705         (exp_test_data): Likewise.
706         (exp10_test_data): Likewise.
707         (exp2_test_data): Likewise.
708         (expm1_test_data): Likewise.
709         (hypot_test_data): Likewise.
710         (j0_test_data): Likewise.
711         (j1_test_data): Likewise.
712         (jn_test_data): Likewise.
713         (lgamma_test_data): Likewise.
714         (log_test_data): Likewise.
715         (log10_test_data): Likewise.
716         (log1p_test_data): Likewise.
717         (log2_test_data): Likewise.
718         (pow_test_data): Likewise.
719         (scalb_test_data): Likewise.
720         (sin_test_data): Likewise.
721         (sincos_test_data): Likewise.
722         (sinh_test_data): Likewise.
723         (tan_test_data): Likewise.
724         (tanh_test_data): Likewise.
725         (tgamma_test_data): Likewise.
726         (y0_test_data): Likewise.
727         (y1_test_data): Likewise.
728         (yn_test_data): Likewise.
730         [BZ #16167]
731         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
732         argument being NaN and avoid computations with second argument in
733         that case.
734         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
735         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
736         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
738 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
740         * locale/iso-639.def: Add Chitwani Tharu (the).
742 2013-11-14  Andreas Schwab  <schwab@suse.de>
744         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
745         word instead of empty string.
747 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
750         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
752         (__fe_nomask_env): Likewise.
754 2013-11-13  Steve Ellcey  <sellcey@mips.com>
756         * benchtests/bench-timing.h: Include time.h.
758 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
760         [BZ #15997]
761         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
762         to 3.4.0 for x32.
763         * sysdeps/unix/sysv/linux/configure: Regenerated.
765 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
767         [BZ #16151]
768         * stdlib/strtod_l.c (round_and_return): Do not consider
769         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
770         exponent one less than half the least subnormal exponent.
771         * stdlib/test-strtod-round-data: Add more tests.
772         * stdlib/tst-strtod-round.c (tests): Regenerated.
774 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
776         [BZ #14143]
777         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
778         (__fe_mask_env): Likewise.
779         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
780         libm_hidden_proto and add function prototype.
781         (__fe_mask_env): Add function prototype.
782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
783         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
785         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
787         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
789 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
791         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
792         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
794 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
796         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
797         of htab_find_slot().
799 2013-11-11  David S. Miller  <davem@davemloft.net>
801         [BZ #16150]
802         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
803         symbol in the non-vis3 case in static builds.
804         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
805         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
806         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
807         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
809 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
811         [BZ #387]
812         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
813         it is empty.
815 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
817         * benchtests/Makefile: Add bench-strtod.
818         * benchtests/bench-strtod.c: New file: strtod benchtest
820 2013-11-11  Andreas Schwab  <schwab@suse.de>
822         [BZ #16153]
823         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
824         terminating NUL in key length.
826 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
828         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
829         Add artificial ODP entry for vDSO symbol for PPC64.
830         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
831         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
833 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
835         [BZ #15374]
836         * nss/getent.c (services_keys): Recognize services starting with digit.
838 2013-11-06  David S. Miller  <davem@davemloft.net>
840         [BZ #15985]
841         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
842         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
844 2013-11-06  Will Newton  <will.newton@linaro.org>
846         * manual/memory.texi (Malloc Examples): Remove register
847         keyword from examples.
849 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
851         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
853 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
855         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
856         depending on [__GCC_IEC_559 > 0].
857         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
858         depending on [__GCC_IEC_559_COMPLEX > 0].
860 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
862         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
863         to iso-639.def.
865 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
867         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
869 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
871         [BZ #16112]
872         * malloc/malloc (malloc_info): Do not handle first bin as
873         special case.
875 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
877         * locale/iso-639.def: Add Central Nahuatl (nhn).
879 2013-11-01  Bruno Haible  <bruno@clisp.org>
881         [BZ #7003]
882         * manual/math.texi (BSD Random): Specify range upper bound as
883         in POSIX.
885 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
887         * locale/iso-639.def: Add Meadow Mari (mhr).
889 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
891         [BZ #14752], [BZ #15763]
892         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
893         Validate name.
894         * rt/tst_shm.c: Add test for escaping directory.
896 2013-10-31  Andreas Schwab  <schwab@suse.de>
898         [BZ #15917]
899         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
900         followed by 'x' as part of digit sequence.
901         * stdio-common/tst-sscanf.c (double_tests2): New tests.
903 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
905         [BZ #16037]
906         * configure.ac: allow GNU Make 4.0 and greater.
907         * configure: Regenerated.
909 2013-10-30  Will Newton  <will.newton@linaro.org>
911         [BZ #16038]
912         * malloc/hooks.c (memalign_check): Limit alignment to the
913         maximum representable power of two.
914         * malloc/malloc.c (__libc_memalign): Likewise.
915         * malloc/tst-memalign.c (do_test): Add test for very
916         large alignment values.
917         * malloc/tst-posix_memalign.c (do_test): Likewise.
919 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
921         [BZ #11087]
922         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
923         (munmap_chunk): Likewise.
924         (mremap_chunk): Likewise.
926 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
928         [BZ #15799]
929         * stdlib/div.c (div): Remove obsolete code.
930         * stdlib/ldiv.c (ldiv): Likewise.
931         * stdlib/lldiv.c (lldiv): Likewise.
933 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
935         [BZ #16071]
936         * nss/nss_files/files-XXX.c (get_contents_ret): New
937         enumerator.
938         (get_contents): New function.
939         (internal_getent): Use it.  Expand size of LINEBUFLEN.
941 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
943         * configure.in: Moved to ...
944         * configure.ac: ... here. Change reference to configure.in
945         to configure.ac.
946         * sysdeps/arm/preconfigure.ac: ... here.
947         configure.in to configure.ac.
948         * sysdeps/gnu/configure.in: Moved to ...
949         * sysdeps/gnu/configure.ac: ... here.
950         * sysdeps/i386/configure.in: Moved to ...
951         * sysdeps/i386/configure.ac: ... here.
952         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
953         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
954         * sysdeps/mach/configure.in: Moved to ...
955         * sysdeps/mach/configure.ac: ... here.
956         * sysdeps/mach/hurd/configure.in: Moved to ...
957         * sysdeps/mach/hurd/configure.ac: ... here.
958         * sysdeps/powerpc/configure.in: Moved to ...
959         * sysdeps/powerpc/configure.ac: ... here.
960         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
961         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
962         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
963         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
964         * sysdeps/s390/s390-32/configure.in: Moved to ...
965         * sysdeps/s390/s390-32/configure.ac: ... here.
966         * sysdeps/s390/s390-64/configure.in: Moved to ...
967         * sysdeps/s390/s390-64/configure.ac: ... here.
968         * sysdeps/sh/configure.in: Moved to ...
969         * sysdeps/sh/configure.ac: ... here.
970         * sysdeps/sparc/configure.in: Moved to ...
971         * sysdeps/sparc/configure.ac: ... here.
972         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
973         * sysdeps/unix/sysv/linux/configure.ac: ... here.
974         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
975         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
976         * sysdeps/x86_64/configure.in: Moved to ...
977         * sysdeps/x86_64/configure.ac: ... here.
978         * sysdeps/x86_64/preconfigure.in: Moved to ...
979         * sysdeps/x86_64/preconfigure.ac: ... here.
980         * aclocal.m4: Change reference to configure.in to configure.ac.
981         * config.h.in: Likewise.
982         * manual/install.texi: Likewise.
983         * manual/maint.texi: Likewise.
984         * Makefile: Likewise.
985         * malloc/Makefile: Likewise.
986         * nscd/Makefile: Likewise.
987         * Makeconfig: Change reference to configure.in and
988         preconfigure.in to configure.ac and preconfigure.ac
989         respectively.
990         * INSTALL: Regenerated.
991         * configure: Likewise.
992         * sysdeps/gnu/configure: Likewise.
993         * sysdeps/i386/configure: Likewise.
994         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
995         * sysdeps/mach/configure: Likewise.
996         * sysdeps/mach/hurd/configure: Likewise.
997         * sysdeps/powerpc/configure: Likewise.
998         * sysdeps/powerpc/powerpc32/configure: Likewise.
999         * sysdeps/powerpc/powerpc64/configure: Likewise.
1000         * sysdeps/s390/s390-32/configure: Likewise.
1001         * sysdeps/s390/s390-64/configure: Likewise.
1002         * sysdeps/sh/configure: Likewise.
1003         * sysdeps/sparc/configure: Likewise.
1004         * sysdeps/unix/sysv/linux/configure: Likewise.
1005         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1006         * sysdeps/x86_64/configure: Likewise.
1007         * sysdeps/x86_64/preconfigure: Likewise.
1009 2013-10-29  Andreas Schwab  <schwab@suse.de>
1011         * stdio-common/Makefile (tst-swscanf-ENV): Define.
1013 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1015         * benchtests/pow-inputs: Add new inputs.
1017         * benchtests/exp-inputs: Add new inputs.
1019         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1020         conditional check for return value.
1021         (__cos32): Likewise.
1023 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1025         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1026         to provide a boost for large inputs with word alignment.
1027         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1028         implementation based on optimized PPC64 strcpy.
1029         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1030         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1031         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1032         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1034 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1036         [BZ #2801]
1037         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1039 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1041         [BZ #14876]
1042         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1043         * time/tst-strptime.c (day_tests): Add testcase.
1045 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1047         [BZ #14029]
1048         * manual/pattern.texi: Acknowledge that fnmatch can fail.
1050 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
1052         [BZ #16074]
1053         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1054         MAP_FAILED on error.
1056 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1058         [BZ #16072]
1059         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1060         heap for large requests.
1062 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
1064         [BZ #9954]
1065         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1066         result if the result has no associated interface.
1067         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1068         interface for all 127.X.Y.Z addresses.
1070 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
1072         * locale/iso-639.def: Add Ligurian (lij)
1074 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
1076         [BZ #15825]
1077         * sunrpc/rpc_main.c: Document rpcgen -5.
1079 2013-10-19  Michael Stahl  <mstahl@redhat.com>
1081         * elf/rtld.c (do_preload): Print the reason why preloading failed.
1083 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1085         [BZ #10278]
1086         * posix/glob.c: Match only directories when trailing slash is present.
1087         * posix/tst-gnuglob.c (my_opendir): Do not open files.
1088         (main): Add testcase.
1090 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1092         [BZ #15670]
1093         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1095 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
1097         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1098         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1099         AUTH_DES and cindex for FIPS 140-2.
1100         (DES Encryption): Add cindex FIPS 46-3.
1102         * locale/locarchive.h (struct locarhandle): Add fname.
1103         * locale/programs/localedef.c (main): Pass ARGV[remaining]
1104         if an optional argument was specified to --list-archive,
1105         otherwise NULL.
1106         * locale/programs/locarchive.c (show_archive_content): Take new
1107         argument fname and pass it via ah.fname to open_archive.
1108         * locale/programs/localedef.h: Update decl.
1109         (open_archive): If AH->fname is non-null, open that file
1110         rather than the default file name, and don't ignore ENOENT.
1111         (create_archive): Set AH.fname to NULL.
1112         (delete_locales_from_archive): Likewise.
1113         (add_locales_to_archive): Likewise.
1114         * locale/programs/locfile.c (write_all_categories): Likewise.
1116 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
1117             Aldy Hernandez  <aldyh@redhat.com>
1119         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1120         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1121         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1122         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1123         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1124         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1125         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1126         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1127         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1128         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1129         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1130         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1131         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1132         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1133         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1134         Likewise.
1135         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1136         Likewise.
1137         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1138         Likewise.
1139         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1140         Likewise.
1141         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1142         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1143         Likewise.
1144         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1145         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1146         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1147         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1148         Likewise.
1149         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1150         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1151         * sysdeps/powerpc/preconfigure: Likewise.
1152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1153         Likewise.
1154         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1155         Replace contents of file by #include of <fenv_libc.h>.
1156         * sysdeps/powerpc/soft-fp/sfp-machine.h
1157         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1158         and <sys/prctl.h>.
1159         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1160         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1161         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1162         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1163         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1164         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1166         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1167         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1168         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1169         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1170         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1172         Allow copysignl PLT reference to be missing.
1174 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
1175             Joseph Myers  <joseph@codesourcery.com
1177         [BZ #15948]
1178         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1179         single character.
1180         (add_to_tablewc): Assert sequence of wide characters is nonempty.
1182 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1184         * elf/tst-tls-dlinfo.c: Don't include tls.h.
1185         * elf/tst-tls1.c: Likewise.
1186         * elf/tst-tls10.h: Likewise.
1187         * elf/tst-tls14.c: Likewise.
1188         * elf/tst-tls2.c: Likewise.
1189         * elf/tst-tls3.c: Likewise.
1190         * elf/tst-tls4.c: Likewise.
1191         * elf/tst-tls5.c: Likewise.
1192         * elf/tst-tls6.c: Likewise.
1193         * elf/tst-tls7.c: Likewise.
1194         * elf/tst-tls8.c: Likewise.
1195         * elf/tst-tls9.c: Likewise.
1196         * elf/tst-tlsmod1.c: Likewise.
1197         * elf/tst-tlsmod13.c: Likewise.
1198         * elf/tst-tlsmod13a.c: Likewise.
1199         * elf/tst-tlsmod14a.c: Likewise.
1200         * elf/tst-tlsmod16a.c: Likewise.
1201         * elf/tst-tlsmod16b.c: Likewise.
1202         * elf/tst-tlsmod2.c: Likewise.
1203         * elf/tst-tlsmod3.c: Likewise.
1204         * elf/tst-tlsmod4.c: Likewise.
1205         * elf/tst-tlsmod5.c: Likewise.
1206         * elf/tst-tlsmod6.c: Likewise.
1208 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
1210         [BZ #12486]
1211         * malloc/malloc.c: remove checks for statistics.
1213 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1215         [BZ #15277]
1216         * inet/inet_net.c (inet_network): Detect additional invalid strings.
1217         * inet/tst-network.c: Add testcase.
1219 2013-10-17  Andreas Schwab  <schwab@suse.de>
1221         [BZ #15218]
1222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1223         to determine canonical name.
1225 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1227         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1228         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1229         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1230         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1231         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1232         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1233         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1234         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1235         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1236         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1237         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1238         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1239         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1240         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1241         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1242         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1243         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1244         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1245         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1246         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1247         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1248         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1249         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1250         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1251         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1252         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1253         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1254         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1255         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1256         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1257         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1258         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1259         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1260         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1261         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1262         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1263         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1264         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1265         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1266         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1267         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1268         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1269         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1270         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1271         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1272         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1273         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1274         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1275         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1276         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1277         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1278         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1279         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1280         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1281         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1282         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1283         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1284         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1286 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
1288         [BZ #16041]
1289         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1290         make result into a quiet NaN.
1292 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
1294         * soft-fp/adddf3.c: Fix horizontal whitespace.
1295         * soft-fp/addsf3.c: Likewise.
1296         * soft-fp/addtf3.c: Likewise.
1297         * soft-fp/divdf3.c: Likewise.
1298         * soft-fp/divsf3.c: Likewise.
1299         * soft-fp/divtf3.c: Likewise.
1300         * soft-fp/double.h: Likewise.
1301         * soft-fp/eqdf2.c: Likewise.
1302         * soft-fp/eqsf2.c: Likewise.
1303         * soft-fp/eqtf2.c: Likewise.
1304         * soft-fp/extenddftf2.c: Likewise.
1305         * soft-fp/extended.h: Likewise.
1306         * soft-fp/extendsfdf2.c: Likewise.
1307         * soft-fp/extendsftf2.c: Likewise.
1308         * soft-fp/extendxftf2.c: Likewise.
1309         * soft-fp/fixdfdi.c: Likewise.
1310         * soft-fp/fixdfsi.c: Likewise.
1311         * soft-fp/fixdfti.c: Likewise.
1312         * soft-fp/fixsfdi.c: Likewise.
1313         * soft-fp/fixsfsi.c: Likewise.
1314         * soft-fp/fixsfti.c: Likewise.
1315         * soft-fp/fixtfdi.c: Likewise.
1316         * soft-fp/fixtfsi.c: Likewise.
1317         * soft-fp/fixtfti.c: Likewise.
1318         * soft-fp/fixunsdfdi.c: Likewise.
1319         * soft-fp/fixunsdfsi.c: Likewise.
1320         * soft-fp/fixunsdfti.c: Likewise.
1321         * soft-fp/fixunssfdi.c: Likewise.
1322         * soft-fp/fixunssfsi.c: Likewise.
1323         * soft-fp/fixunssfti.c: Likewise.
1324         * soft-fp/fixunstfdi.c: Likewise.
1325         * soft-fp/fixunstfsi.c: Likewise.
1326         * soft-fp/fixunstfti.c: Likewise.
1327         * soft-fp/floatdidf.c: Likewise.
1328         * soft-fp/floatdisf.c: Likewise.
1329         * soft-fp/floatditf.c: Likewise.
1330         * soft-fp/floatsidf.c: Likewise.
1331         * soft-fp/floatsisf.c: Likewise.
1332         * soft-fp/floatsitf.c: Likewise.
1333         * soft-fp/floattidf.c: Likewise.
1334         * soft-fp/floattisf.c: Likewise.
1335         * soft-fp/floattitf.c: Likewise.
1336         * soft-fp/floatundidf.c: Likewise.
1337         * soft-fp/floatundisf.c: Likewise.
1338         * soft-fp/floatunditf.c: Likewise.
1339         * soft-fp/floatunsidf.c: Likewise.
1340         * soft-fp/floatunsisf.c: Likewise.
1341         * soft-fp/floatunsitf.c: Likewise.
1342         * soft-fp/floatuntidf.c: Likewise.
1343         * soft-fp/floatuntisf.c: Likewise.
1344         * soft-fp/floatuntitf.c: Likewise.
1345         * soft-fp/fmadf4.c: Likewise.
1346         * soft-fp/fmasf4.c: Likewise.
1347         * soft-fp/fmatf4.c: Likewise.
1348         * soft-fp/gedf2.c: Likewise.
1349         * soft-fp/gesf2.c: Likewise.
1350         * soft-fp/getf2.c: Likewise.
1351         * soft-fp/ledf2.c: Likewise.
1352         * soft-fp/lesf2.c: Likewise.
1353         * soft-fp/letf2.c: Likewise.
1354         * soft-fp/muldf3.c: Likewise.
1355         * soft-fp/mulsf3.c: Likewise.
1356         * soft-fp/multf3.c: Likewise.
1357         * soft-fp/negdf2.c: Likewise.
1358         * soft-fp/negsf2.c: Likewise.
1359         * soft-fp/negtf2.c: Likewise.
1360         * soft-fp/op-1.h: Likewise.
1361         * soft-fp/op-2.h: Likewise.
1362         * soft-fp/op-4.h: Likewise.
1363         * soft-fp/op-8.h: Likewise.
1364         * soft-fp/op-common.h: Likewise.
1365         * soft-fp/quad.h: Likewise.
1366         * soft-fp/single.h: Likewise.
1367         * soft-fp/soft-fp.h: Likewise.
1368         * soft-fp/sqrtdf2.c: Likewise.
1369         * soft-fp/sqrtsf2.c: Likewise.
1370         * soft-fp/sqrttf2.c: Likewise.
1371         * soft-fp/subdf3.c: Likewise.
1372         * soft-fp/subsf3.c: Likewise.
1373         * soft-fp/subtf3.c: Likewise.
1374         * soft-fp/truncdfsf2.c: Likewise.
1375         * soft-fp/trunctfdf2.c: Likewise.
1376         * soft-fp/trunctfsf2.c: Likewise.
1377         * soft-fp/trunctfxf2.c: Likewise.
1378         * soft-fp/unorddf2.c: Likewise.
1379         * soft-fp/unordsf2.c: Likewise.
1380         * soft-fp/unordtf2.c: Likewise.
1382 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
1384         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1385         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1387 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
1389         * elf/dl-libc.c: Clear initfini list after freeing.
1391 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
1393         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1394         * soft-fp/addsf3.c: Likewise.
1395         * soft-fp/addtf3.c: Likewise.
1396         * soft-fp/divdf3.c: Likewise.
1397         * soft-fp/divsf3.c: Likewise.
1398         * soft-fp/divtf3.c: Likewise.
1399         * soft-fp/double.h: Likewise.
1400         * soft-fp/eqdf2.c: Likewise.
1401         * soft-fp/eqsf2.c: Likewise.
1402         * soft-fp/eqtf2.c: Likewise.
1403         * soft-fp/extenddftf2.c: Likewise.
1404         * soft-fp/extended.h: Likewise.
1405         * soft-fp/extendsfdf2.c: Likewise.
1406         * soft-fp/extendsftf2.c: Likewise.
1407         * soft-fp/extendxftf2.c: Likewise.
1408         * soft-fp/fixdfdi.c: Likewise.
1409         * soft-fp/fixdfsi.c: Likewise.
1410         * soft-fp/fixdfti.c: Likewise.
1411         * soft-fp/fixsfdi.c: Likewise.
1412         * soft-fp/fixsfsi.c: Likewise.
1413         * soft-fp/fixsfti.c: Likewise.
1414         * soft-fp/fixtfdi.c: Likewise.
1415         * soft-fp/fixtfsi.c: Likewise.
1416         * soft-fp/fixtfti.c: Likewise.
1417         * soft-fp/fixunsdfdi.c: Likewise.
1418         * soft-fp/fixunsdfsi.c: Likewise.
1419         * soft-fp/fixunsdfti.c: Likewise.
1420         * soft-fp/fixunssfdi.c: Likewise.
1421         * soft-fp/fixunssfsi.c: Likewise.
1422         * soft-fp/fixunssfti.c: Likewise.
1423         * soft-fp/fixunstfdi.c: Likewise.
1424         * soft-fp/fixunstfsi.c: Likewise.
1425         * soft-fp/fixunstfti.c: Likewise.
1426         * soft-fp/floatdidf.c: Likewise.
1427         * soft-fp/floatdisf.c: Likewise.
1428         * soft-fp/floatditf.c: Likewise.
1429         * soft-fp/floatsidf.c: Likewise.
1430         * soft-fp/floatsisf.c: Likewise.
1431         * soft-fp/floatsitf.c: Likewise.
1432         * soft-fp/floattidf.c: Likewise.
1433         * soft-fp/floattisf.c: Likewise.
1434         * soft-fp/floattitf.c: Likewise.
1435         * soft-fp/floatundidf.c: Likewise.
1436         * soft-fp/floatundisf.c: Likewise.
1437         * soft-fp/floatunsidf.c: Likewise.
1438         * soft-fp/floatunsisf.c: Likewise.
1439         * soft-fp/floatuntidf.c: Likewise.
1440         * soft-fp/floatuntisf.c: Likewise.
1441         * soft-fp/floatuntitf.c: Likewise.
1442         * soft-fp/fmadf4.c: Likewise.
1443         * soft-fp/fmasf4.c: Likewise.
1444         * soft-fp/fmatf4.c: Likewise.
1445         * soft-fp/gedf2.c: Likewise.
1446         * soft-fp/gesf2.c: Likewise.
1447         * soft-fp/getf2.c: Likewise.
1448         * soft-fp/ledf2.c: Likewise.
1449         * soft-fp/lesf2.c: Likewise.
1450         * soft-fp/letf2.c: Likewise.
1451         * soft-fp/muldf3.c: Likewise.
1452         * soft-fp/mulsf3.c: Likewise.
1453         * soft-fp/multf3.c: Likewise.
1454         * soft-fp/negdf2.c: Likewise.
1455         * soft-fp/negsf2.c: Likewise.
1456         * soft-fp/negtf2.c: Likewise.
1457         * soft-fp/op-1.h: Likewise.
1458         * soft-fp/op-2.h: Likewise.
1459         * soft-fp/op-4.h: Likewise.
1460         * soft-fp/op-8.h: Likewise.
1461         * soft-fp/op-common.h: Likewise.
1462         * soft-fp/quad.h: Likewise.
1463         * soft-fp/single.h: Likewise.
1464         * soft-fp/soft-fp.h: Likewise.
1465         * soft-fp/sqrtdf2.c: Likewise.
1466         * soft-fp/sqrtsf2.c: Likewise.
1467         * soft-fp/sqrttf2.c: Likewise.
1468         * soft-fp/subdf3.c: Likewise.
1469         * soft-fp/subsf3.c: Likewise.
1470         * soft-fp/subtf3.c: Likewise.
1471         * soft-fp/truncdfsf2.c: Likewise.
1472         * soft-fp/trunctfdf2.c: Likewise.
1473         * soft-fp/trunctfsf2.c: Likewise.
1474         * soft-fp/trunctfxf2.c: Likewise.
1475         * soft-fp/unorddf2.c: Likewise.
1476         * soft-fp/unordsf2.c: Likewise.
1477         * soft-fp/unordtf2.c: Likewise.
1479 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1481         [BZ #15672]
1482         * misc/error.c (error_tail): Fix possible buffer overflow.
1484 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1486         [BZ #13028]
1487         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1488         address.
1490 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1492         [BZ #832]
1493         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1494         testing pipefail option.
1496 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1498         * soft-fp/double.h: Indent preprocessor directives inside #if.
1499         * soft-fp/extended.h: Likewise.
1500         * soft-fp/op-2.h: Likewise.
1501         * soft-fp/op-4.h: Likewise.
1502         * soft-fp/op-common.h: Likewise.
1503         * soft-fp/quad.h: Likewise.
1504         * soft-fp/single.h: Likewise.
1505         * soft-fp/soft-fp.h: Likewise.
1507 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1509         * iconv/iconv_prog.c: Fix typos.
1510         * stdio-common/psiginfo-data.h: Likewise.
1512 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1514         [BZ #15764]
1515         * locale/setlocale.c: Fix typo.
1517 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1519         [BZ #16036]
1520         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1521         signaling NaN arguments.
1522         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1523         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1525         [BZ #14910]
1526         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1527         unordered operands.
1528         * soft-fp/gesf2.c (__gesf2): Likewise.
1529         * soft-fp/getf2.c (__getf2): Likewise.
1530         * soft-fp/ledf2.c (__ledf2): Likewise.
1531         * soft-fp/lesf2.c (__lesf2): Likewise.
1532         * soft-fp/letf2.c (__letf2): Likewise.
1534         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1535         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1536         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1537         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1538         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1539         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1540         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1541         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1542         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1543         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1544         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1545         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1546         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1547         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1548         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1549         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1550         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1551         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1552         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1553         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1554         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1555         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1556         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1557         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1558         * soft-fp/floattidf.c (__floattidf): Likewise.
1559         * soft-fp/floattisf.c (__floattisf): Likewise.
1560         * soft-fp/floattitf.c (__floattitf): Likewise.
1561         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1562         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1563         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1564         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1565         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1566         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1567         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1568         * soft-fp/gesf2.c (__gesf2): Likewise.
1569         * soft-fp/getf2.c (__getf2): Likewise.
1570         * soft-fp/ledf2.c (__ledf2): Likewise.
1571         * soft-fp/lesf2.c (__lesf2): Likewise.
1572         * soft-fp/letf2.c (__letf2): Likewise.
1574         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1575         Undefine and redefine.
1576         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1577         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1578         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1579         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1580         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1581         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1582         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1583         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1584         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1585         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1586         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1587         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1588         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1589         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1590         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1592         [BZ #16032]
1593         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1594         without decrementing exponent if mantissa >= that for the
1595         denominator, not >.
1596         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1597         denominator, not >.  Decrement exponent in < case instead of
1598         incrementing in >= case.
1599         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1600         without decrementing exponent if mantissa >= that for the
1601         denominator, not >.
1603         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1604         computing saturated result for unsigned overflow.
1606 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1607             Jeff Law  <law@redhat.com>
1609         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1610         (atan2Mp): Add systemtap probe marker.
1611         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1612         (__ieee754_log): Add systemtap probe marker.
1613         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1614         (atanMp): Add systemtap probe marker.
1615         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1616         (tanMp): Add systemtap probe marker.
1617         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1618         (__slowexp): Add systemtap probe marker.
1619         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1620         (__slowpow): Add systemtap probe marker.
1621         * manual/probes.texi: Document probes.
1623 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1625         [BZ #15362]
1626         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1627         written.
1628         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1629         written.
1630         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1631         written to buffer but not flushed.
1632         * libio/iofwrite_u.c:  Likewise.
1633         * libio/iopadn.c:  Return bytes returned even if EOF was
1634         encountered.
1635         * libio/iowpadn.c:  Likewise.
1636         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1637         if _IO_padn does not write the whole buffer.
1638         [!COMPILE_WPRINTF] (PAD): Likewise.
1640 2013-10-10  David S. Miller  <davem@davemloft.net>
1642         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1643         directory block.
1645 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1647         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1648         instead of FSF address.
1649         * soft-fp/fixdfti.c: Likewise.
1650         * soft-fp/fixsfti.c: Likewise.
1651         * soft-fp/fixtfti.c: Likewise.
1652         * soft-fp/fixunsdfti.c: Likewise.
1653         * soft-fp/fixunssfti.c: Likewise.
1654         * soft-fp/fixunstfti.c: Likewise.
1655         * soft-fp/floattidf.c: Likewise.
1656         * soft-fp/floattisf.c: Likewise.
1657         * soft-fp/floattitf.c: Likewise.
1658         * soft-fp/floatuntidf.c: Likewise.
1659         * soft-fp/floatuntisf.c: Likewise.
1660         * soft-fp/floatuntitf.c: Likewise.
1661         * soft-fp/trunctfxf2.c: Likewise.
1663         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1664         * soft-fp/fixdfti.c: Likewise.
1665         * soft-fp/fixsfti.c: Likewise.
1666         * soft-fp/fixtfti.c: Likewise.
1667         * soft-fp/fixunsdfti.c: Likewise.
1668         * soft-fp/fixunssfti.c: Likewise.
1669         * soft-fp/fixunstfti.c: Likewise.
1670         * soft-fp/floattidf.c: Likewise.
1671         * soft-fp/floattisf.c: Likewise.
1672         * soft-fp/floattitf.c: Likewise.
1673         * soft-fp/floatuntidf.c: Likewise.
1674         * soft-fp/floatuntisf.c: Likewise.
1675         * soft-fp/floatuntitf.c: Likewise.
1676         * soft-fp/trunctfxf2.c: Likewise.
1678 2013-10-10  David S. Miller  <davem@davemloft.net>
1680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1682 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1684         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1685         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1686         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1687         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1688         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1689         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1690         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1692         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1693         for NaNs before doing comparisons on argument.
1694         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1695         Likewise.
1697 2013-10-10  Will Newton  <will.newton@linaro.org>
1699         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1700         passed to _int_memalign does not overflow.
1702 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1704         * scripts/bench.pl: Add include-sources directive.
1705         * benchtests/README: Update documentation.
1707 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1709         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1710         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1711         instead of FP_INIT_ROUNDMODE.
1712         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1713         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1715         [BZ #16034]
1716         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1717         copy class of input value.
1718         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1719         not handle exceptions.
1720         * soft-fp/negsf2.c (__negsf2): Likewise.
1721         * soft-fp/negtf2.c (__negtf2): Likewise.
1722         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1724 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1726         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1727         semicolon.  From Linux kernel.
1729 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1731         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1733 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1735         [BZ #156]
1736         * manual/socket.texi: Added statement about buffer
1737         for gethostbyname2_r.
1739 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1741         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1742         Use .p2align directive instead, throughout.
1743         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1744         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1745         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1746         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1747         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1748         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1749         * sysdeps/x86_64/strchr.S: Likewise.
1750         * sysdeps/x86_64/strrchr.S: Likewise.
1752 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1754         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1756         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1758         * sysdeps/generic/math_private.h (__mpsin1): Remove
1759         declaration.
1760         (__mpcos1): Likewise.
1761         (__mpsin): New argument __range_reduce.
1762         (__mpcos): Likewise.
1763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1764         (slow): Use __mpsin and __mpcos.
1765         (slow1): Likewise.
1766         (slow2): Likewise.
1767         (sloww): Likewise.
1768         (sloww1): Likewise.
1769         (sloww2): Likewise.
1770         (bsloww): Likewise.
1771         (bsloww1): Likewise.
1772         (bsloww2): Likewise.
1773         (cslow2): Likewise.
1774         (csloww): Likewise.
1775         (csloww1): Likewise.
1776         (csloww2): Likewise.
1777         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1778         range_reduce.  Merge in __mpsin1.
1779         (__mpcos): Likewise.
1780         (__mpsin1): Remove.
1781         (__mpcos1): Likewise.
1783 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1785         * locale/loadlocale.c (_nl_intern_locale_data): Use
1786         LOCFILE_ALIGNED_P.
1787         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1788         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1789         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1790         obstack data is appropriately aligned.
1791         (obstack_int32_grow_fast): Likewise.
1792         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1793         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1794         (add_locale_uint32_array): Likewise.
1796 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1798         * benchtests/Makefile: Remove ARGLIST and RET variables.
1799         ($(objpfx)bench-%.c): Pass only function name to the script.
1800         * benchtests/README: Update documentation.
1801         * benchtests/acos-inputs: Add new directives.
1802         * benchtests/acosh-inputs: Likewise.
1803         * benchtests/asin-inputs: Likewise.
1804         * benchtests/asinh-inputs: Likewise.
1805         * benchtests/atan-inputs: Likewise.
1806         * benchtests/atanh-inputs: Likewise.
1807         * benchtests/cos-inputs: Likewise.
1808         * benchtests/cosh-inputs: Likewise.
1809         * benchtests/exp-inputs: Likewise.
1810         * benchtests/log-inputs: Likewise.
1811         * benchtests/pow-inputs: Likewise.
1812         * benchtests/rint-inputs: Likewise.
1813         * benchtests/sin-inputs: Likewise.
1814         * benchtests/sinh-inputs: Likewise.
1815         * benchtests/tan-inputs: Likewise.
1816         * benchtests/tanh-inputs: Likewise.
1817         * scripts/bench.pl: Add support for new directives.
1819 2013-10-07  Alan Modra  <amodra@gmail.com>
1821         * README: Fix careless merge.
1823 2013-10-05  Alan Modra  <amodra@gmail.com>
1825         * NEWS: Mention powerpc64le support and bugs fixed.
1826         * README: Both big-endian and little-endian powerpc64 supported.
1828 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1830         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1831         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1832         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1833         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1835 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1837         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1838         match prototype.
1840 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1842         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1843         Move -mhard-float appending from
1844         ports/sysdeps/powerpc/powerpc32/Makefile.
1845         [$(with-fp) = yes] (ASFLAGS): Likewise.
1846         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1847         * sysdeps/powerpc/nofpu: Move directory from
1848         ports/sysdeps/powerpc/nofpu.
1849         * sysdeps/powerpc/soft-fp: Move directory from
1850         ports/sysdeps/powerpc/soft-fp.
1851         * sysdeps/powerpc/powerpc32/405: Move directory from
1852         ports/sysdeps/powerpc/powerpc32/405.
1853         * sysdeps/powerpc/powerpc32/440: Move directory from
1854         ports/sysdeps/powerpc/powerpc32/440.
1855         * sysdeps/powerpc/powerpc32/464: Move directory from
1856         ports/sysdeps/powerpc/powerpc32/464.
1857         * sysdeps/powerpc/powerpc32/476: Move directory from
1858         ports/sysdeps/powerpc/powerpc32/476.
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1860         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1862         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1864         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1866         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1868         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1869         * README: Update for powerpc-*-linux-gnu software floating point
1870         support in libc.
1872         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1873         case to powerpc/powerpc32*.
1874         * sysdeps/unix/sysv/linux/configure: Regenerated.
1876         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1877         (_FPU_MASK_OM): Define as 0x04.
1878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1880         0x00c10080.
1881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1882         0x0000003c.
1883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1886         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1887         getcontext_e500.
1888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1889         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1890         setcontext_e500.
1891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1892         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1893         and setcontext_e500.
1895 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1897         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1899 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1901         * manual/threads.texi (Default Thread Attributes): Fix typo.
1903 2013-10-04  Will Newton  <will.newton@linaro.org>
1905         * malloc/Makefile: Add tst-memalign.
1906         * malloc/tst-memalign.c: New file.
1908         * malloc/tst-posix_memalign.c: Add comments.
1909         (do_test): Add comments and call free on all potentially
1910         allocated pointers. Add space after cast.
1912         * malloc/tst-pvalloc.c: Add comments.
1913         (do_test): Add comments and call free on all potentially
1914         allocated pointers. Remove duplicate check for NULL pointer.
1915         Add space after cast.
1917         * malloc/tst-valloc.c: Add comments.
1918         (do_test): Add comments and call free on all potentially
1919         allocated pointers. Remove duplicate check for NULL pointer.
1920         Add space after cast.
1922 2013-10-04  Alan Modra  <amodra@gmail.com>
1924         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1925         Use stdint types in rather than __attribute__((mode())).
1926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1928 2013-10-04  Alan Modra  <amodra@gmail.com>
1930         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1931         Correct handling of unaligned relocs for little-endian.
1932         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1934 2013-10-04  Alan Modra  <amodra@gmail.com>
1936         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1937         * configure: Regenerate.
1938         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1939         * shlib-versions: Likewise.
1941 2013-10-04  Alan Modra  <amodra@gmail.com>
1943         * string/tester.c (test_memrchr): Increment reported test cycle.
1945 2013-10-04  Alan Modra  <amodra@gmail.com>
1947         * string/test-memcpy.c (do_one_test): When reporting errors, print
1948         string address and don't overrun end of string.
1950 2013-10-04  Alan Modra  <amodra@gmail.com>
1952         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1953         insrdi.  Make better use of reg selection to speed exit slightly.
1954         Schedule entry path a little better.  Remove useless "are we done"
1955         checks on entry to main loop.  Handle wrapping around zero address.
1956         Correct main loop count.  Handle single left-over word from main
1957         loop inline rather than by using loop_small.  Remove extra word
1958         case in loop_small caused by wrong loop count.  Add little-endian
1959         support.
1960         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1961         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1962         cache hint.
1963         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1964         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1965         support.  Avoid rlwimi.
1966         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1968 2013-10-04  Alan Modra  <amodra@gmail.com>
1970         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1971         insrdi.  Formatting.
1972         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1973         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1974         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1975         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1976         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1977         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1979 2013-10-04  Alan Modra  <amodra@gmail.com>
1981         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1982         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1983         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1984         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1985         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1986         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1987         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1988         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1989         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1990         use of regs.  Use power7 mtocrf.  Tidy function tails.
1992 2013-10-04  Alan Modra  <amodra@gmail.com>
1994         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1995         Formatting.  Consistently use rXXX register defines or rN defines.
1996         Use early exit labels that avoid restoring unused non-volatile regs.
1997         Make cr field use more consistent with rWORDn compares.  Rename
1998         regs used as shift registers for unaligned loop, using rN defines
1999         for short lifetime/multiple use regs.
2000         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2001         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
2002         addi 1,1,64 to pop stack frame.  Simplify return value code.
2003         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2005 2013-10-04  Alan Modra  <amodra@gmail.com>
2007         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2008         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
2009         rather than rlwimi.
2010         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2011         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2012         little-endian support.  Correct typos.
2013         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
2014         rather than rlwimi.
2015         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
2016         in loop and entry code to keep "and." results.
2017         (strchr): Add little-endian support.  Comment.  Move cntlzd
2018         earlier in tail.
2019         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2021 2013-10-04  Alan Modra  <amodra@gmail.com>
2023         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2024         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2025         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2026         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2028 2013-10-04  Alan Modra  <amodra@gmail.com>
2030         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2031         (rTMP): Define as r11.
2032         (strcmp): Add little-endian support.  Optimise tail.
2033         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2034         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2035         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2036         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2037         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2038         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2039         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2041 2013-10-04  Alan Modra  <amodra@gmail.com>
2043         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2044         little-endian support.  Remove unnecessary "are we done" tests.
2045         Handle "s" wrapping around zero and extremely large "size".
2046         Correct main loop count.  Handle single left-over word from main
2047         loop inline rather than by using small_loop.  Correct comments.
2048         Delete "zero" tail, use "end_max" instead.
2049         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2051 2013-10-04  Alan Modra  <amodra@gmail.com>
2053         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2054         support.  Don't branch over align.
2055         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2056         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2057         support.  Rearrange tmp reg use to suit.  Comment.
2058         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2060 2013-10-04  Alan Modra  <amodra@gmail.com>
2062         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2064 2013-10-04  Alan Modra  <amodra@gmail.com>
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2067         conditional form of branch and link when obtaining pc.
2068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2070 2013-10-04  Alan Modra  <amodra@gmail.com>
2072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2073         HIWORD/LOWORD.
2074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2077 2013-10-04  Alan Modra  <amodra@gmail.com>
2079         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2080         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2081         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2082         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2083         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2084         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2085         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2086         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2087         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2088         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2090 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2091             Alistair Popple <alistair@ozlabs.au.ibm.com>
2092             Alan Modra <amodra@gmail.com>
2094         [BZ #15723]
2095         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2096         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2097         _dl_hwcap access for little-endian.
2098         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
2099         destroy vmx regs when saving unaligned.
2100         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2101         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
2102         destroy vmx regs when saving unaligned.
2104 2013-10-04  Alan Modra  <amodra@gmail.com>
2106         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2107         Don't use a union to pack hi/low value.
2109 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2111         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2112         for little-endian.
2113         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2115         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2116         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2117         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2119 2013-10-04  Alan Modra  <amodra@gmail.com>
2121         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2122         constants to usual value for .cst8 section, and remove redundant
2123         high address load.
2124         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2125         constant for 0x1p52.  Load little-endian words of double from
2126         correct stack offsets.
2128 2013-10-04  Alan Modra  <amodra@gmail.com>
2130         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2131         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2132         words of double from correct stack offsets.
2133         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2134         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2135         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2136         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2137         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2138         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2139         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2140         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2141         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2142         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2143         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2144         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2145         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2146         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2147         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2148         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2149         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2151 2013-10-04  Alan Modra  <amodra@gmail.com>
2153         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2154         64-bit int/double union.
2155         (_FPU_SETCW): Likewise.
2156         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2157         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2159 2013-10-04  Alan Modra  <amodra@gmail.com>
2161         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2162         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2164 2013-10-04  Alan Modra  <amodra@gmail.com>
2166         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2167         use vector int constants.
2168         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2170 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2172         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2173         array with long long.
2174         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2175         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2176         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2177         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2178         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2179         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2180         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2181         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2182         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2183         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2184         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2185         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2186         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2188 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2190         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2191         (__signbit): Likewise.  Correct for little-endian.
2192         (__signbitl): Call __signbit.
2193         (lrint): Correct for little-endian.
2194         (lrintf): Call lrint.
2196 2013-10-04  Alan Modra  <amodra@gmail.com>
2198         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2199         union 32-bit int array member with 64-bit int array.
2200         (t515, tm256): Double rather than long double.
2201         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2203 2013-10-04  Alan Modra  <amodra@gmail.com>
2205         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2206         Delete.
2207         (IEEE854_LONG_DOUBLE_BIAS): Delete.
2208         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2209         version of math_ldbl.h.
2211 2013-10-04  Alan Modra  <amodra@gmail.com>
2213         [BZ #15734], [BZ #15735]
2214         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2215         all uses of ieee875 long double macros and unions.  Simplify test
2216         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
2217         ldbl_extract_mantissa value for ix,iy exponents.  Properly
2218         normalize after ldbl_extract_mantissa, and don't add hidden bit
2219         already handled.  Don't treat low word of ieee854 mantissa like
2220         low word of IBM long double and mask off bit when testing for
2221         zero.
2222         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2223         all uses of ieee875 long double macros and unions.  Simplify tests
2224         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
2225         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
2226         two1022, instead use their values.  Recognise that tests for large
2227         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
2228         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2229         Rewrite all uses of ieee875 long double macros and unions.  Simplify
2230         test for 0.0L and nan.  Correct negation.
2231         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2232         ieee875 long double macros and unions.  Correct output for large
2233         magnitude x.  Correct absolute value calculation.
2234         (__erfcl): Likewise.
2235         * math/libm-test.inc: Add tests for errors discovered in IBM long
2236         double versions of fmodl, remainderl, erfl and erfcl.
2238 2013-10-04  Alan Modra  <amodra@gmail.com>
2240         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2241         all uses of ieee854 long double macros and unions.  Simplify tests
2242         for long doubles that are fully specified by the high double.
2243         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2244         Likewise.
2245         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2246         Remove dead code too.
2247         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2248         (__ieee754_ynl): Likewise.
2249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2250         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2252         Remove dead code too.
2253         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2254         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2255         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2256         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2257         Simplify.
2258         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2259         Simplify.
2260         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2261         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2262         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2263         Comment on variable precision.
2264         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2265         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2266         Likewise.
2267         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2268         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2269         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2270         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2271         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2273 2013-10-04  Alan Modra  <amodra@gmail.com>
2275         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2276         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2277         all uses of ieee854 long double macros and unions.
2278         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2280         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2281         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2282         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2283         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2284         Likewise.
2285         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2286         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2287         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2288         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2289         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2290         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2291         Simplify sign and nan test too.
2292         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2293         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2294         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2295         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2296         Likewise.
2297         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2298         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2299         Likewise.
2300         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2301         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2302         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2303         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2304         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2305         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2307 2013-10-04  Alan Modra  <amodra@gmail.com>
2309         * stdio-common/printf_size.c (__printf_size): Don't use
2310         union ieee854_long_double in fpnum union.
2311         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
2312         signbit macro to retrieve sign from long double.
2313         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2314         retrieve sign from long double.
2315         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2316         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2317         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2318         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2319         * math/test-misc.c (main): Don't use union ieee854_long_double.
2321 2013-10-04  Alan Modra  <amodra@gmail.com>
2323         [BZ #15680]
2324         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2325         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2326         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2327         calculation.  Remove unnecessary test for denormal exponent.
2328         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2329         Correct handling of denormals.  Avoid undefined shift behaviour.
2330         Correct normalisation of low mantissa when low double is denormal.
2331         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2332         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
2333         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2334         Correct normalisation of low mantissa.  Test for overflow of high
2335         mantissa and normalise.
2336         (ldbl_nearbyint): Use more readable constant for two52.
2337         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2338         (__mpn_construct_long_double): Fix test for overflow of high
2339         mantissa and correct normalisation.  Avoid undefined shift.
2341 2013-10-04  Alan Modra  <amodra@gmail.com>
2343         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2344         (union ibm_extended_long_double): Define as an array of ieee754_double.
2345         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2346         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2347         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2348         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2352         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2357 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
2359         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2360         page size instead of calling getpagesize.
2362         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2363         (LOCFILE_ALIGN_MASK): Likewise.
2364         (LOCFILE_ALIGN_UP): Likewise.
2365         (LOCFILE_ALIGNED_P): Likewise.
2366         * locale/programs/ld-collate.c (collate_output): Use the new
2367         macros instead of __alignof__ (int32_t).
2368         * locale/weight.h (findidx): Likewise.
2370 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
2372         [BZ #431]
2373         * manual/string.texi: Fix strncat and wcsncat.
2375 2013-10-03  Brooks Moses  <bmoses@google.com>
2377         [BZ #15915]
2378         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2379         * Makerules: ...here, and adjust associated comments.
2381 2013-10-02  Will Newton  <will.newton@linaro.org>
2383         * malloc/Makefile: Add tst-pvalloc.
2384         * malloc/tst-pvalloc.c: New file.
2386 2013-10-02  Will Newton  <will.newton@linaro.org>
2388         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2389         improve test coverage.
2391 2013-10-02  Will Newton  <will.newton@linaro.org>
2393         * malloc/Makefile: Add tst-posix_memalign.
2394         * malloc/tst-posix_memalign.c: New file.
2396 2013-10-01  Eric Blake  <eblake@redhat.com>
2398         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2399         Use __THROWNL rather than __THROW on static functions.
2401 2013-09-30  Petr Machata  <pmachata@redhat.com>
2403         * elf/elf.h (R_AARCH64_ABS16): New macro.
2404         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2405         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2406         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2407         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2408         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2409         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2410         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2411         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2412         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2413         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2414         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2415         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2416         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2417         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2418         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2419         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2420         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2421         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2422         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2423         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2424         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2425         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2426         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2427         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2428         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2429         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2430         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2431         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2432         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2433         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2434         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2435         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2436         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2437         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2438         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2439         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2440         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2441         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2442         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2443         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2444         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2445         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2446         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2447         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2448         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2449         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2450         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2451         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2452         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2453         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2454         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2455         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2456         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2457         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2458         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2459         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2460         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2461         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2462         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2463         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2464         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2465         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2466         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2467         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2468         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2469         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2470         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2471         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2472         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2473         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2474         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2475         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2476         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2477         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2478         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2479         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2480         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2481         (R_AARCH64_TLSDESC_LDR): Likewise.
2482         (R_AARCH64_TLSDESC_ADD): Likewise.
2483         (R_AARCH64_TLSDESC_CALL): Likewise.
2485 2013-09-30  Andreas Schwab  <schwab@suse.de>
2487         [BZ #15048]
2488         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2489         the nss database lookup.
2490         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2493 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2495         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2497 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2499         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2500         ${Bash-specific parameter/pattern/string} parameter expansion.
2501         * sysdeps/unix/make-syscalls.sh: Likewise.
2503 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2505         * sysdeps/sh/stackguard-macros.h: New file.
2507 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2511         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2512         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2513         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2514         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2516 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2518         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2519         Fix thread ID register.
2521 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2523         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2524         [POSIX || UNIX98]: Require rather than permitting all symbols from
2525         <time.h>.
2526         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2527         element of struct sched_param.
2528         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2529         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2530         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2531         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2532         constant.
2534 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2536         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2537         argument calculation.
2539 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2541         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2542         Expect macro.
2543         [POSIX] (pthread_attr_t): Do not require type.
2544         [POSIX] (pthread_cond_t): Likewise.
2545         [POSIX] (pthread_condattr_t): Likewise.
2546         [POSIX] (pthread_key_t): Likewise.
2547         [POSIX] (pthread_mutex_t): Likewise.
2548         [POSIX] (pthread_mutexattr_t): Likewise.
2549         [POSIX] (pthread_once_t): Likewise.
2550         [POSIX] (pthread_t): Likewise.
2551         [POSIX-based standards] (pthread_atfork): Expect function.
2553 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2554             Richard Sandiford  <richard@codesourcery.com>
2556         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2557         (swap_endianness_p): New extern variable.
2558         (set_big_endian): New inline function.
2559         (maybe_swap_uint32): Likewise.
2560         (maybe_swap_uint32_array): Likewise.
2561         (maybe_swap_uint32_obstack): Likewise.
2562         * locale/programs/locfile.c: Include <stdbool.h>.
2563         (swap_endianness_p): New variable.
2564         (add_locale_uint32): Call maybe_swap_uint32.
2565         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2566         (write_locale_data): Call maybe_swap_uint32_array.
2567         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2568         maybe_swap_uint32.
2569         (obstack_int32_grow_fast): Likewise.
2570         (output_weightwc): Call maybe_swap_uint32_obstack.
2571         (collate_output): Likewise.
2572         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2573         (OPT_LITTLE_ENDIAN): Likewise.
2574         (options): Add --little-endian and --big-endian options.
2575         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2576         * locale/programs/locarchive.c: Include "locfile.h".
2577         (GET): New macro.
2578         (SET): Likewise.
2579         (INC): Likewise.
2580         (create_archive): Use the new macros to access fields of
2581         structures directly mapped from or written to locale archives.
2582         (oldlocrecentcmp): Likewise.
2583         (enlarge_archive): Likewise.
2584         (insert_name): Likewise.
2585         (add_alias): Likewise.
2586         (add_locale): Likewise.
2587         (delete_locales_from_archive): Likewise.
2588         (show_archive_content): Likewise.
2589         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2590         locale data.
2592 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2594         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2595         http://www.gnu.org/doc/freemanuals.texi.
2596         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2598 2013-09-24  Will Newton  <will.newton@linaro.org>
2600         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2601         macro.
2603 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2605         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2606         unsigned char.
2608 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2610         * manual/threads.texi (POSIX Threads): Fix a typo.
2612 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2614         [BZ #14547]
2615         * string/tst-strcoll-overflow.c: New test case.
2616         * string/Makefile (xtests): Add tst-strcoll-overflow.
2617         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2618         cache if string sizes may cause integer overflow.
2620         [BZ #14547]
2621         * string/strcoll_l.c (coll_seq): New members rule, idx,
2622         save_idx and back_us.
2623         (get_next_seq_nocache): New function.
2624         (do_compare_nocache): New function.
2625         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2626         when malloc fails.
2628 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2630         [BZ #15754]
2631         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2632         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2633         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2635         [BZ #15754]
2636         * elf/Makefile (tests): Add tst-ptrguard1.
2637         (tests-static): Add tst-ptrguard1-static.
2638         (tst-ptrguard1-ARGS): Define.
2639         (tst-ptrguard1-static-ARGS): Define.
2640         * elf/tst-ptrguard1.c: New file.
2641         * elf/tst-ptrguard1-static.c: New file.
2642         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2643         * sysdeps/i386/stackguard-macros.h: Likewise.
2644         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2645         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2646         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2647         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2648         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2649         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2651 2013-09-23  Hector Marco  <hecmargi@upv.es>
2652             Ismael Ripoll  <iripoll@disca.upv.es>
2653             Carlos O'Donell  <carlos@redhat.com>
2655         [BZ #15754]
2656         * sysdeps/generic/stackguard-macros.h: Define
2657         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2658         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2659         Define __pointer_chk_guard_local.
2660         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2661         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2663 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2665         [BZ #15859]
2666         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2668 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2670         * include/string.h (__ffs): Declare as hidden.
2671         * string/ffs.c (__ffs): Define as hidden.
2672         * sysdeps/i386/ffs.c (__ffs): Likewise.
2673         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2674         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2675         * sysdeps/s390/ffs.c (__ffs): Likewise.
2676         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2678 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2680         * NEWS: Mention malloc probes.
2682         * malloc/arena.c (new_heap): New memory_heap_new probe.
2683         (grow_heap): New memory_heap_more probe.
2684         (shrink_heap): New memory_heap_less probe.
2685         (heap_trim): New memory_heap_free probe.
2686         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2687         (systrim): New memory_sbrk_less probe.
2688         * manual/probes.texi: Document them.
2690         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2691         * manual/probes.texi: Document it.
2693         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2694         (__libc_realloc): Add memory_realloc_retry probe.
2695         (__libc_memalign): Add memory_memalign_retry probe.
2696         (__libc_valloc): Add memory_valloc_retry probe.
2697         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2698         (__libc_calloc): Add memory_calloc_retry probe.
2699         * manual/probes.texi: Document them.
2701         * malloc/arena.c (get_free_list): Add probe
2702         memory_arena_reuse_free_list.
2703         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2704         and memory_arena_reuse.
2705         (arena_get2) [!PER_THREAD]: Likewise.
2706         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2707         memory_arena_reuse_realloc.
2708         * manual/probes.texi: Document them.
2710         * malloc/malloc.c (__libc_free): Add
2711         memory_mallopt_free_dyn_thresholds probe.
2712         (__libc_mallopt): Add multiple memory_mallopt probes.
2713         * manual/probes.texi: Document them.
2715         * malloc/malloc.c: Include stap-probe.h.
2716         (__libc_mallopt): Add memory_mallopt probe.
2717         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2718         * manual/probes.texi: New.
2719         * manual/Makefile (chapters): Add probes.
2720         * manual/threads.texi: Set next node.
2722 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2724         [BZ #15963, #13985]
2725         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2726         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2727         Add `Chinese' to `nan' entry name.
2729 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2731         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2732         (POLYNOMIAL): Likewise.
2733         (TAYLOR_SINCOS): Likewise.
2734         (TAYLOR_SLOW): Likewise.
2735         (__sin): Use TAYLOR_SINCOS.
2736         (__cos): Likewise.
2737         (slow): Use TAYLOR_SLOW.
2738         (sloww): Likewise.
2739         (bsloww): Likewise.
2740         (csloww): Likewise.
2742 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2744         * stdlib/strtod_l.c: Fix buffer overrun.
2746 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2748         * benchtests/Makefile (bench): Add sincos.
2749         * benchtests/bench-sincos.c: New file.
2751         * math/libm-test.inc (cos_test_data): New test inputs.
2752         (sin_test_data): Likewise.
2754         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2755         macro.
2756         (__sin): Use it.
2757         (__cos): Likewise.
2758         (slow1): Likewise.
2759         (slow2): Likewise.
2760         (sloww1): Likewise.
2761         (sloww2): Likewise.
2762         (bsloww1): Likewise.
2763         (bsloww2): Likewise.
2764         (cslow2): Likewise.
2765         (csloww1): Likewise.
2766         (csloww2): Likewise.
2768         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2769         function.
2770         (__sin): Use it.
2771         (__cos): Likewise.
2773         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2774         gotos.
2775         (__cos): Likewise.
2777 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2779         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2780         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2781         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2782         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2783         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2784         * elf/cache.c (print_entry): Handle the new cache flags.
2786 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2787             Aldy Hernandez  <aldyh@redhat.com>
2789         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2790         Change condition to [_SOFT_FLOAT].
2791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2803         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2806         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2807         declaration.
2809 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2811         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2812         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2813         (__longjmp): Use LOAD_GP to load saved GPRs.
2814         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2815         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2816         (__sigsetjmp): Use SAVE_GP to save GPRs.
2818         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2819         Do not append -msoft-float.
2820         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2822 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2824         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2826 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2828         [BZ #15966]
2829         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2830         (_FPU_GETCW): Use initial "__" on variable and field names but not
2831         on macro parameter name.
2832         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2833         parentheses around reference to macro parameter.
2835 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2837         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2838         prototype.
2839         (ctype_startup): Use uint32_t in cast and sizeof for
2840         ctype->charnames.
2842 2013-09-11  Jia Liu  <proljc@gmail.com>
2844         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2845         __daddr_t_defined.
2846         [__FreeBSD__]: Likewise.
2848 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2851         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2852         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2853         (strchr): Remove __strchr_sse42 ifunc selection.
2854         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2855         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2857 2013-09-11  Will Newton  <will.newton@linaro.org>
2859         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2860         parameter to RES. Remove hardcoded 1000 value.
2861         * benchtests/bench-skeleton.c (main): Pass RES parameter
2862         to TIMING_INIT and multiply result by 1000.
2864 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2868 2013-09-11  Andreas Schwab  <schwab@suse.de>
2870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2871         if not defined.
2872         (O_TMPFILE) [__USE_GNU]: Define.
2873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2874         Define.
2876 2013-09-11  Will Newton  <will.newton@linaro.org>
2878         [BZ #15857]
2879         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2880         does not overflow.
2882 2013-09-11  Will Newton  <will.newton@linaro.org>
2884         [BZ #15856]
2885         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2886         does not overflow.
2888 2013-09-11  Will Newton  <will.newton@linaro.org>
2890         [BZ #15855]
2891         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2892         does not overflow.
2894 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2896         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2897         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2898         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2899         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2900         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2902 2013-09-10  Allan McRae  <allan@archlinux.org>
2904         [BZ #15748]
2905         * manual/arith.texi (Parsing of Floats): Clarify
2906         cross-reference.
2908         [BZ #15849]
2909         * manual/install.texi (Running make install): Mention
2910         --enable-pt-chown.
2911         * INSTALL: Regenerated.
2913 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2915         * csu/init-first.c (_init): Remove the !SHARED condition around
2916         FPU control word initialization.
2917         * elf/dl-support.c (_dl_fpu_control): New variable.
2918         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2919         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2920         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2921         * math/test-fpucw-static.c: New file.
2922         * math/test-fpucw-ieee.c: New file.
2923         * math/test-fpucw-ieee-static.c: New file.
2924         * math/Makefile (tests): Add `test-fpucw-ieee' and
2925         `$(tests-static)'.
2926         (tests-static): New variable.
2927         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2928         dependency to...
2929         [($(build-shared),yes)]
2930         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2931         ... this.
2932         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2933         New dependency.
2935 2013-09-09  Allan McRae  <allan@archlinux.org>
2937         [BZ #15939]
2938         * manual/string.texi (Collation Functions): Fix typo in
2939         strcoll example.
2940         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2942         [BZ #15893]
2943         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2945         [BZ #15892]
2946         * libio/memstream.c (open_memstream): Fix memory leak.
2947         * libio/wmemstream.c (open_wmemstream): Likewise.
2949         [BZ #15895]
2950         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2952 2013-09-09  Will Newton  <will.newton@linaro.org>
2954         * malloc/Makefile: Add tst-realloc to tests.
2955         * malloc/tst-realloc.c: New file.
2957 2013-09-09  Allan McRae  <allan@archlinux.org>
2959         [BZ #15844]
2960         * COPYING: Update from GNU website to fix FSF address.
2961         * COPYING.LIB: Likewise.
2963 2013-09-06  David S. Miller  <davem@davemloft.net>
2965         * po/zh_TW.po: Update Chinese (traditional) translation from
2966         translation project.
2968 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2969             Joseph Myers  <joseph@codesourcery.com>
2971         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2972         "localeinfo.h".
2973         (obstack_chunk_alloc): New macro.
2974         (obstack_chunk_free): Likewise.
2975         (record_offset): New function.
2976         (init_locale_data): Likewise.
2977         (align_locale_data): Likewise.
2978         (add_locale_empty): Likewise.
2979         (add_locale_raw_data): Likewise.
2980         (add_locale_raw_obstack): Likewise.
2981         (add_locale_string): Likewise.
2982         (add_locale_wstring): Likewise.
2983         (add_locale_uint32): Likewise.
2984         (add_locale_uint32_array): Likewise.
2985         (add_locale_char): Likewise.
2986         (start_locale_structure): Likewise.
2987         (end_locale_structure): Likewise.
2988         (start_locale_prelude): Likewise.
2989         (end_locale_prelude): Likewise.
2990         (write_locale_data): Take locale_file structure rather than an
2991         iovec.
2992         * locale/programs/locfile.h: Include "obstack.h".
2993         (struct locale_file): Change to store locale file contents instead
2994         of header.
2995         (init_locale_data): New prototype.
2996         (align_locale_data): Likewise.
2997         (add_locale_empty): Likewise.
2998         (add_locale_raw_data): Likewise.
2999         (add_locale_raw_obstack): Likewise.
3000         (add_locale_string): Likewise.
3001         (add_locale_wstring): Likewise.
3002         (add_locale_uint32): Likewise.
3003         (add_locale_uint32_array): Likewise.
3004         (add_locale_char): Likewise.
3005         (start_locale_structure): Likewise.
3006         (end_locale_structure): Likewise.
3007         (start_locale_prelude): Likewise.
3008         (end_locale_prelude): Likewise.
3009         (write_locale_data): Update prototype.
3010         * locale/programs/3level.h (struct TABLE): Remove result field.
3011         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3012         Use new locale_file interface.
3013         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3014         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3015         * locale/programs/ld-address.c (address_output): Use new
3016         locale_file interface.
3017         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3018         NO_ADD_LOCALE.
3019         (collate_finish): Don't call collseq_table_finalize.
3020         (collate_output): Use new locale_file interface.
3021         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3022         in file.
3023         (NO_FINALIZE): Change to NO_ADD_LOCALE.
3024         (TABLE): Move defines earlier in file.
3025         (ELEMENT): Likewise.
3026         (DEFAULT): Likewise.
3027         (wctrans_table_add): Move macro and inline function earlier in
3028         file.
3029         (struct wctype_table): Move type earlier in file.
3030         (add_locale_wctype_table): New static prototype.
3031         (struct locale_ctype_t): Use logical types instead of struct iovec
3032         pointers for members.
3033         (ctype_output): Use new locale_file interface.
3034         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
3035         new locale_file interface.
3036         (allocate_arrays): Update for use of new locale_file interface.
3037         * locale/programs/ld-identification.c (identification_output): Use
3038         new locale_file interface.
3039         * locale/programs/ld-measurement.c (measurement_output): Likewise.
3040         * locale/programs/ld-messages.c (messages_output): Likewise.
3041         * locale/programs/ld-monetary.c (monetary_output): Likewise.
3042         * locale/programs/ld-name.c (name_output): Likewise.
3043         * locale/programs/ld-numeric.c (numeric_output): Likewise.
3044         * locale/programs/ld-paper.c (paper_output): Likewise.
3045         * locale/programs/ld-telephone.c (telephone_output): Likewise.
3046         * locale/programs/ld-time.c (time_output): Likewise.
3048 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3050         * benchtests/Makefile: Add memrchr benchmark.
3051         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3052         benchmark as memrchr.
3053         * benchtests/bench-memrchr-ifunc.c: New file.
3054         * benchtests/bench-memrchr.c: New file.
3056 2013-09-06   Will Newton  <will.newton@linaro.org>
3058         * benchtests/Makefile (string-bench): Add memcpy.
3060 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
3061             Cong Wang  <amwang@redhat.com>
3063         * sysdeps/unix/sysv/linux/bits/in.h
3064         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3065         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3066         before __USE_KERNEL_IPV6_DEFS uses.
3067         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3068         IPPROTO_BEETPH.
3069         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3070         sockaddr_in6, or ipv6_mreq.
3072 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3074         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3075         memory access for final bytes in some large inputs.
3076         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3078 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3080         * string/test-memrchr.c: New file.
3081         * string/test-memrchr-ifunc.c: New file.
3082         * string/Makefile: Add new memrchr testcase.
3084 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
3086         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3087         fanotify_init returns EPERM.
3089 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3091         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3092         errors.
3093         (top level): Treat second token from macro or constant entries for
3094         allowed headers as allowed.
3095         * include/complex.h: Condition internal declarations on
3096         [!_ISOMAC].
3097         * include/fenv.h: Condition include of <stdbool.h> and internal
3098         declarations on [!_ISOMAC].
3100 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
3102         [BZ #15923]
3103         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3105 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3107         * configure.in (--enable-versioning): Remove configure option.
3108         (libc_cv_asm_symver_directive): Remove configure test.
3109         (libc_cv_ld_version_script_option): Likewise.
3110         (VERSIONING): Remove variable and AC_SUBST.
3111         (DO_VERSIONING): Remove AC_DEFINE.
3112         * configure: Regenerated.
3113         * config.h.in (DO_VERSIONING): Remove macro.
3114         * Makerules [$(versioning) = yes]: Change conditionals to
3115         [$(build-shared) = yes].
3116         * config.make.in (versioning): Remove variable.
3117         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3118         [$(build-shared) = yes].
3119         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3120         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3121         * elf/Makefile [$(versioning) = yes]: Change conditionals to
3122         [$(build-shared) = yes].
3123         * extra-lib.mk [$(versioning) = yes]: Likewise.
3124         * hurd/Makefile [$(versioning) = yes]: Likewise.
3125         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3126         [SHARED].
3127         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3128         [SHARED].
3129         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3130         [SHARED && !NO_HIDDEN].
3131         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3132         [SHARED].
3133         [SHARED && DO_VERSIONING]: Likewise..
3134         * libio/Makefile [$(versioning) = yes]: Change conditionals to
3135         [$(build-shared) = yes].
3136         * manual/install.texi (--disable-versioning): Remove
3137         documentation.
3138         * INSTALL: Regenerated.
3139         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3140         to [SHARED].
3141         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3142         [$(build-shared) = yes].
3143         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3144         * sysdeps/i386/i686/multiarch/strstr-c.c
3145         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3146         [SHARED && !NO_HIDDEN].
3147         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3148         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3149         * sysdeps/powerpc/powerpc32/dl-machine.c
3150         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3151         * sysdeps/powerpc/powerpc32/sysdep.h
3152         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3153         to [SHARED && PIC && !NO_HIDDEN].
3154         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3155         conditional to [SHARED].
3157 2013-09-04   Will Newton  <will.newton@linaro.org>
3159         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3160         * benchtests/bench-string.h: Include bench-timing.h instead
3161         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3162         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3163         call to HP_TIMING_DIFF_INIT.
3164         * benchtests/bench-memccpy.c: Use bench-timing.h macros
3165         instead of hp-timing.h macros.
3166         * benchtests/bench-memchr.c: Likewise.
3167         * benchtests/bench-memcmp.c: Likewise.
3168         * benchtests/bench-memcpy.c: Likewise.
3169         * benchtests/bench-memmem.c: Likewise.
3170         * benchtests/bench-memmove.c: Likewise.
3171         * benchtests/bench-memset.c: Likewise.
3172         * benchtests/bench-rawmemchr.c: Likewise.
3173         * benchtests/bench-strcasecmp.c: Likewise.
3174         * benchtests/bench-strcasestr.c: Likewise.
3175         * benchtests/bench-strcat.c: Likewise.
3176         * benchtests/bench-strchr.c: Likewise.
3177         * benchtests/bench-strcmp.c: Likewise.
3178         * benchtests/bench-strcpy.c: Likewise.
3179         * benchtests/bench-strcpy_chk.c: Likewise.
3180         * benchtests/bench-strlen.c: Likewise.
3181         * benchtests/bench-strncasecmp.c: Likewise.
3182         * benchtests/bench-strncat.c: Likewise.
3183         * benchtests/bench-strncmp.c: Likewise.
3184         * benchtests/bench-strncpy.c: Likewise.
3185         * benchtests/bench-strnlen.c: Likewise.
3186         * benchtests/bench-strpbrk.c: Likewise.
3187         * benchtests/bench-strrchr.c: Likewise.
3188         * benchtests/bench-strspn.c: Likewise.
3189         * benchtests/bench-strstr.c: Likewise.
3191 2013-09-04  Will Newton  <will.newton@linaro.org>
3193         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3195 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
3197         [BZ #15427]
3198         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3199         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3200         * math/libm-test.inc (lgamma_test_data): Add more tests.
3201         * sysdeps/i386/fpu/libm-test-ulps: Update.
3202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3204 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
3206         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3208         Add ifunc.
3209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3210         Add strcmp-sse2-unaligned
3211         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3213 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3215         * Versions.def (libc): Add GLIBC_2.19.
3217 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3219         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3220         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3222 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
3224         [BZ #14155]
3225         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3226         intermediate calculations in recurrence.
3227         (__ieee754_ynf): Likewise.
3228         * math/libm-test.inc (jn_test_data): Do not allow spurious
3229         underflow exception.  Add more tests.
3230         (yn_test_data): Add more tests.
3231         * sysdeps/i386/fpu/libm-test-ulps: Update.
3232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3234 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
3236         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3238 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3240         * csu/init-first.c: Fix then/than typos.
3241         * locale/programs/ld-collate.c: Likewise.
3242         * locale/programs/linereader.h: Likewise.
3243         * manual/charset.texi: Likewise.
3244         * manual/filesys.texi: Likewise.
3245         * manual/stdio.texi: Likewise.
3246         * manual/string.texi: Likewise.
3247         * stdlib/fmtmsg.c: Likewise.
3248         * sysdeps/i386/stpncpy.S: Likewise.
3249         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3250         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3251         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3252         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3254 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3256         * elf/dl-open.c: Fix typos.
3257         * iconvdata/gbbig5.c: Likewise.
3258         * iconvdata/iso-2022-jp.c: Likewise.
3259         * iconv/gconv_int.h: Likewise.
3260         * iconv/loop.c: Likewise.
3261         * nis/rpcsvc/nis.h: Likewise.
3262         * resolv/ns_name.c: Likewise.
3263         * stdio-common/vfscanf.c: Likewise.
3264         * streams/stropts.h: Likewise.
3265         * sunrpc/rpc_thread.c: Likewise.
3266         * sysdeps/i386/strpbrk.S: Likewise.
3267         * sysdeps/ieee754/k_standard.c: Likewise.
3268         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3269         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3270         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3271         * sysdeps/mach/hurd/profil.c: Likewise.
3272         * sysdeps/s390/dl-procinfo.h: Likewise.
3273         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3274         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3275         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3276         * sysdeps/x86_64/dl-trampoline.S: Likewise.
3277         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3279 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
3281         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3284 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
3286         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3287         aix specific files.
3288         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3289         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3290         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3291         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3293         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3294         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3295         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3297 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3298             Roland McGrath  <roland@hack.frob.com>
3300         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3301         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3303 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3305         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3306         __executable_start symbol instead of _start.
3308 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3310         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3311         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3312         Move macros to...
3313         * sysdeps/gnu/ldsodefs.h: ... this new file.
3315         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3316         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3317         instead of ELFOSABI_LINUX.
3319         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3320         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3321         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3322         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3323         Likewise.
3324         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3325         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3326         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3327         Likewise.
3328         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3329         (ibm_extended_long_double): Add ieee_nan member.
3330         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3331         (do_test): New function.
3333         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3334         TEST_TRUNC.
3335         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3336         functions, renamed from truncdfsf_test, trunctfsf_test,
3337         trunctfdf_test.
3338         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3339         functions.
3340         (do_test): Run all these.
3342 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
3344         * argp/argp-help.c: Fix typos.
3345         * argp/argp-parse.c: Likewise.
3346         * debug/backtracesyms.c: Likewise.
3347         * elf/elf.h: Likewise.
3348         * malloc/malloc.c: Likewise.
3349         * nis/nis_print.c: Likewise.
3350         * resolv/res_comp.c: Likewise.
3351         * stdlib/stdlib.h: Likewise.
3352         * sunrpc/clnt_tcp.c: Likewise.
3353         * sunrpc/clnt_udp.c: Likewise.
3354         * sunrpc/clnt_unix.c: Likewise.
3355         * sysdeps/unix/bsd/ptsname.c: Likewise.
3356         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3357         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3359         Likewise.
3360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3361         Likewise.
3362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3363         Likewise.
3364         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3366 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3368         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3371 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
3373         [BZ #15897]
3374         * dlfcn/Makefile (tests): Add bug-dl-leaf.
3375         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3376         ($(objpfx)bug-dl-leaf): New rule.
3377         ($(objpfx)bug-dl-leaf.so): Likewise.
3378         ($(objpfx)bug-dl-leaf.out): Likewise.
3379         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3380         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3381         * dlfcn/bug-dl-leaf.c: New test.
3382         * dlfcn/bug-dl-leaf-lib.c: Likewise.
3383         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3384         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3385         (dlclose): Likewise.
3386         (dlmopen): Likewise.
3388 2013-08-27  Roland McGrath  <roland@hack.frob.com>
3390         * include/netdb.h [!_ISOMAC]:
3391         Don't include <tls.h>.
3392         (h_errno, __libc_h_errno): Move declaration and macros out of
3393         [_LIBC_REENTRANT].
3395         * include/resolv.h [_RESOLV_H_]:
3396         Don't include <tls.h>.
3397         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3398         * resolv/res_libc.c: Don't include <tls.h>.
3399         (_res): Use __attribute__ ((nocommon)) in place of
3400         __attribute__ ((section (".bss"))).
3402         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3403         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3405         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3407         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3408         only under [SIOCGIFCONF && SIOCGIFNETMASK].
3410         * resolv/res_mkquery.c: Include <sys/time.h>.
3412         * inet/ifreq.c: Moved to ...
3413         * sysdeps/unix/ifreq.c: ... here.
3414         * inet/ifreq.c: New file, true stub version.
3416         * socket/sa_len.c: New file.
3417         * socket/Makefile (aux): Add it.
3418         * sysdeps/unix/sysv/linux/Makefile
3419         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3420         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3421         and #include <socket/sa_len.c>.
3422         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3423         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3425         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3426         * bits/socket.h: ... here.
3428         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3429         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3430         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3432 2013-08-27  Andreas Schwab  <schwab@suse.de>
3434         [BZ #15736]
3435         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3436         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3437         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3438         * string/test-strcasecmp.c (test_main): Run tests in several
3439         locales.
3440         * string/test-strncasecmp.c (test_main): Likewise.
3442         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3443         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3444         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3445         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3446         (__strncasecmp_ssse3) [PIC]: Likewise.
3448 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3450         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3452         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3453         instead of explicitly declaring xdecrypt.
3454         * nis/nss_nis/nis-publickey.c: Likewise.
3456 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3458         [BZ #15890]
3459         * nscd/aicache.c: Include res_hconf.h.
3460         (addhstaiX): Initialize res_hconf.
3462 2013-08-26  Andreas Schwab  <schwab@suse.de>
3464         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3465         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3467 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3469         * nscd/aicache.c (addhstaiX): Fix indentation.
3471 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3473         * configure.ac: Quote $build_pt_chown test.
3474         * configure: Regenerated.
3476 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3478         [BZ #15532]
3479         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3480         * math/s_cexpf.c (__cexpf): Likewise.
3481         * math/s_cexpl.c (__cexpl): Likewise.
3482         * math/libm-test.inc (cexp_test_data): Correct expected return
3483         value for NaN + i0.  Add another test.
3485 2013-08-22  David S. Miller  <davem@davemloft.net>
3487         * po/ca.po: Update Catalan translation from translation project.
3488         * po/uk.po: Add Ukrainian translations from translation project.
3490 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3492         [BZ #15797]
3493         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3494         is infinite, not alongside NaN test.
3495         * math/s_fdimf.c (__fdimf): Likewise.
3496         * math/s_fdiml.c (__fdiml): Likewise.
3497         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3498         errno is unchanged.
3500 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3502         * argp/argp-help.c: Fix typos.
3503         * crypt/speeds.c: Likewise.
3504         * csu/check_fds.c: Likewise.
3505         * elf/dl-load.c: Likewise.
3506         * elf/dl-open.c: Likewise.
3507         * elf/reldep3.c: Likewise.
3508         * elf/reldep.c: Likewise.
3509         * elf/sprof.c: Likewise.
3510         * iconv/iconv_charmap.c: Likewise.
3511         * iconv/skeleton.c: Likewise.
3512         * iconv/strtab.c: Likewise.
3513         * io/lockf64.c: Likewise.
3514         * libio/libioP.h: Likewise.
3515         * resolv/gai_notify.c: Likewise.
3516         * resolv/ns_name.c: Likewise.
3517         * resolv/ns_samedomain.c: Likewise.
3518         * resolv/res_send.c: Likewise.
3519         * stdlib/random.c: Likewise.
3520         * sunrpc/rpc/xdr.h: Likewise.
3521         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3522         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3523         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3524         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3525         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3526         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3528         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3529         * sysdeps/mach/hurd/check_fds.c: Likewise.
3530         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3531         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3532         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3533         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3535         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3536         * sysdeps/pthread/aio_notify.c: Likewise.
3537         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3538         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3539         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3540         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3541         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3543 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3545         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3546         version if bit_Slow_SSE4_2 is set.
3547         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3548         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3550 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3552         [BZ #15867]
3553         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3554         trampoline stack frame information.
3555         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3556         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3557         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3558         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3559         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3560         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3561         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3562         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3563         sa_flags value.
3564         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3565         interrupting a syscall and set with option SA_SIGINFO.
3567 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3569         [BZ #15531]
3570         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3571         argument is infinite.
3572         * math/s_cprojf.c (__cprojf): Likewise.
3573         * math/s_cprojl.c (__cprojl): Likewise.
3574         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3575         * math/libm-test.inc (cproj_test_data): Add more tests.
3577         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3579         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3580         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3581         size.  Use __ffs to determine corresponding shift.
3583 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3584             Roland McGrath  <roland@hack.frob.com>
3586         * Makefile (INSTALL): Remove trailing blank lines from output of
3587         makeinfo.
3589 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3591         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3592         Align 32 bit compat elf_greg to 8 bytes.
3594 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3596         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3598 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3600         * string/strcoll_l.c (coll_seq): New structure.
3601         (get_next_seq_cached): New function.
3602         (get_next_seq): New function.
3603         (do_compare): New function.
3604         (STRCOLL): Use GNU style definition.  Simplify implementation
3605         by using get_next_seq, get_next_seq_cached and do_compare.
3607 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3609         [BZ #14699]
3610         CVE-2013-4237
3611         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3612         member.
3613         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3614         member.
3615         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3616         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3617         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3618         conditional.
3619         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3620         GETDENTS_64BIT_ALIGNED.
3621         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3622         * manual/filesys.texi (Reading/Closing Directory): Document
3623         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3624         strongly.
3625         * manual/conf.texi (Limits for Files): Add portability note to
3626         NAME_MAX, PATH_MAX.
3627         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3629 2013-08-13  Andreas Schwab  <schwab@suse.de>
3631         [BZ #15749]
3632         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3633         of fabs.
3634         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3635         LDBL_MAX_EXP >= 16384]: Add tests for it.
3637 2013-08-12  David S. Miller  <davem@davemloft.net>
3639         * version.h (RELEASE): Set to "development".
3640         (VERSION): Set to "2.18.90".
3641         * NEWS: Add 2.19 section.
3643 2013-08-03  David S. Miller  <davem@davemloft.net>
3645         * po/ko.po: Update Korean translation from translation project.
3647 2013-08-01  David S. Miller  <davem@davemloft.net>
3649         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3650         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3651         Bilka.
3653 2013-07-30  David S. Miller  <davem@davemloft.net>
3655         * po/fr.po: Update French translation from translation project.
3657 2013-07-28  David S. Miller  <davem@davemloft.net>
3659         * po/cs.po: Update Czech translation from translation project.
3661         * po/sv.po: Update Swedish translation from translation project.
3663 2013-07-27  David S. Miller  <davem@davemloft.net>
3665         * po/eo.po: Update Esperanto translation from translation project.
3667         * po/vi.po: Update Vietnamese translation from translation project.
3669         * po/de.po: Update German translation from translation project.
3671 2013-07-26  David S. Miller  <davem@davemloft.net>
3673         * po/bg.po: Update Bulgarian translation from translation project.
3675         * po/nl.po: Update Dutch translation from translation project.
3676         * po/pl.po: Update Polish translation from translation project.
3677         * po/ru.po: Update Russian translation from translation project.
3679 2013-07-24  David S. Miller  <davem@davemloft.net>
3681         * po/libc.pot: Update.
3683 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3685         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3686         variable page size.
3687         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3688         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3689         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3691 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3693         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3695 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3696             Andreas Schwab  <schwab@suse.de>
3697             Roland McGrath  <roland@hack.frob.com>
3698             Joseph Myers  <joseph@codesourcery.com>
3699             Carlos O'Donell  <carlos@redhat.com>
3701         [BZ #15755]
3702         * config.h.in: Define HAVE_PT_CHOWN.
3703         * config.make.in (build-pt-chown): New variable.
3704         * configure.in (--enable-pt_chown): New configure option.
3705         * configure: Regenerate.
3706         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3707         build-pt-chown is enabled.
3708         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3709         pt_chown to fix pty ownership.
3710         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3711         CLOSE_ALL_FDS.
3712         * manual/install.texi (Configuring and compiling): Mention
3713         --enable-pt_chown. Add @findex for grantpt.
3714         * INSTALL: Regenerate.
3716 2013-07-20  David S. Miller  <davem@davemloft.net>
3718         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3719         difference between 32-bit and 64-bit.
3721 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3723         [BZ #15711]
3724         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3725         Avoid system header dependency with -ffreestanding.
3726         ($(objpfx)bits/syscall%d): Likewise.
3728 2013-07-13  David S. Miller  <davem@davemloft.net>
3730         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3731         underflows from atanl/atan2l due to bug 15319.
3732         (casinh_test_data): Likewise.
3734 2013-07-07  David S. Miller  <davem@davemloft.net>
3736         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3738 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3740         * sysdeps/i386/fpu/libm-test-ulps: Update.
3741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3743 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3745         * configure.in (--enable-lock-elision): Fix message text.
3746         * INSTALL: Regenerate.
3747         * configure: Regenerate.
3749 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3753 2013-07-03  Andreas Jaeger  <aj@suse.de>
3755         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3756         define.
3757         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3758         (ptrace_peeksiginfo_args): Add.
3759         (__ptrace_peeksiginfo_flags): Add.
3760         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3761         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3762         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3764 2013-07-03  Allan McRae  <allan@archlinux.org>
3766         * sysdeps/i386/fpu/libm-test-ulps: Update.
3768 2013-07-02  David S. Miller  <davem@davemloft.net>
3770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3772 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3776 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3778         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3781 2013-07-02  Andi Kleen <ak@linux.intel.com>
3783         * config.h.in (ENABLE_LOCK_ELISION): Add.
3784         * configure.in (--enable-lock-elision): Add option.
3785         * manual/install.texi: Document --enable lock elision.
3786         * configure: Regenerate
3787         * INSTALL: Regenerate.
3789 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3791         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3792         SSE4.2 strcasecmp for libc.a.
3793         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3795 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3797         [BZ #13304]
3798         * soft-fp/op-common.h (_FP_FMA): New macro.
3799         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3800         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3801         (_FP_MUL_MEAT_1_imm): ... here.
3802         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3803         (_FP_MUL_MEAT_1_wide): ... here.
3804         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3805         (_FP_MUL_MEAT_1_hard): ... here.
3806         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3807         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3808         (_FP_MUL_MEAT_2_wide): ... here.
3809         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3810         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3811         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3812         (_FP_MUL_MEAT_2_gmp): ... here.
3813         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3814         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3815         (_FP_MUL_MEAT_4_wide): ... here.
3816         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3817         (_FP_MUL_MEAT_4_gmp): ... here.
3818         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3819         (_FP_WFRACBITS_DW_S): Likewise.
3820         (_FP_WFRACXBITS_DW_S): Likewise.
3821         (_FP_HIGHBIT_DW_S): Likewise.
3822         (FP_FMA_S): Likewise.
3823         (_FP_FRAC_HIGH_DW_S): Likewise.
3824         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3825         (_FP_WFRACBITS_DW_D): Likewise.
3826         (_FP_WFRACXBITS_DW_D): Likewise.
3827         (_FP_HIGHBIT_DW_D): Likewise.
3828         (FP_FMA_D): Likewise.
3829         (_FP_FRAC_HIGH_DW_D): Likewise.
3830         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3831         (_FP_WFRACBITS_DW_E): Likewise.
3832         (_FP_WFRACXBITS_DW_E): Likewise.
3833         (_FP_HIGHBIT_DW_E): Likewise.
3834         (FP_FMA_E): Likewise.
3835         (_FP_FRAC_HIGH_DW_E): Likewise.
3836         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3837         (_FP_WFRACBITS_DW_Q): Likewise.
3838         (_FP_WFRACXBITS_DW_Q): Likewise.
3839         (_FP_HIGHBIT_DW_Q): Likewise.
3840         (FP_FMA_Q): Likewise.
3841         (_FP_FRAC_HIGH_DW_Q): Likewise.
3842         * soft-fp/fmasf4.c: New file.
3843         * soft-fp/fmadf4.c: Likewise.
3844         * soft-fp/fmatf4.c: Likewise.
3846 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3849         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3850         Silvermont.
3851         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3852         macro.
3853         (index_Slow_SSE4_2): Likewise.
3854         (index_Prefer_PMINUB_for_stringop): Likewise.
3855         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3856         bit_Slow_SSE4_2 is set.
3857         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3858         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3860 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3862         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3863         rtld_global._dl_hwcap2.
3864         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3865         POWER8.
3866         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3867         POWER8 feature descriptions defined in _dl_hwcap2.
3868         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3869         string handling for POWER8 feature bits.
3870         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3871         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3872         _dl_powerpc_cap_flags.
3873         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3874         * sysdeps/powerpc/rtld-global-offsets.sym
3875         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3876         _dl_hwcap2 in the rtld_global_ro structure.
3878 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3880         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3881         hardware capabilities in support of AT_HWCAP2.
3882         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3883         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3884         GLRO(dl_hwcap2).
3885         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3886         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3887         explicitly the unknown a_type display mechanism is used.
3888         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3889         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3890         struct member.
3891         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3892         to macro prototype for AT_HWCAP2 support.
3893         * sysdeps/i386/dl-procinfo.h: Likewise.
3894         * sysdeps/s390/dl-procinfo.h: Likewise.
3895         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3896         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3897         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3898         return -1 for unknown a_type display fallback.
3899         * sysdeps/sparc/dl-procinfo.h: Likewise.
3900         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3901         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3903 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3905         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3906         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3908 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3910         [BZ #12492]
3911         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3912         mprotect making __stack_prot writable.
3914 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3915             Joseph Myers  <joseph@codesourcery.com>
3917         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3918         as being properly aligned.
3920 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3922         * dlfcn/modstatic5.c: New file.
3923         * dlfcn/tststatic5.c: New file.
3924         * dlfcn/Makefile (tests): Add tststatic5.
3925         (tests-static): Likewise.
3926         (modules-names): Add modstatic5.
3927         (tststatic5-ENV): New variable.
3928         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3930         [BZ #15022]
3931         * elf/dl-support.c (_dl_main_map): New variable.
3932         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3933         (_dl_nns, _dl_load_adds): Set to 1.
3934         (_dl_initial_searchlist): Refer to _dl_main_map.
3935         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3936         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3937         call to _dl_get_origin.
3938         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3939         around call_map.
3940         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3941         * dlfcn/modstatic3.c: New file.
3942         * dlfcn/tststatic3.c: New file.
3943         * dlfcn/tststatic4.c: New file.
3944         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3945         (tests-static): Likewise.
3946         (modules-names): Add modstatic3.
3947         (tststatic3-ENV, tststatic4-ENV): New variables.
3948         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3949         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3951 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3953         * configure.in (CC): Require GCC version 4.4 or later.
3954         * configure: Regenerated.
3955         * manual/install.texi (Tools for Compilation): Update GCC version
3956         requirement.
3957         * INSTALL: Regenerated.
3959 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3961         [BZ #15674]
3962         * string/test-memcmp.c (check2): New.
3963         (main): Call check2.
3965         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3967 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3969         [BZ #15022]
3970         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3971         over to...
3972         (dl_open_worker) [!SHARED]: ... here.
3974 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3976         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3978 2013-06-25  Richard Henderson  <rth@redhat.com>
3980         * locale/programs/locarchive.c: Include <libc-internal.h>
3982 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3984         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3985         trailing whitespace removed.
3987 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3989         [BZ #10283]
3990         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3991         * locale/programs/locarchive.c: Include libc-mmap.h.
3992         (prepare_address_space): Take two new outputs (the mmap base and len).
3993         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3994         values.
3995         (create_archive): Declare new mmap base and len values for
3996         prepare_address_space, and store the result in ah.
3997         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3998         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3999         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4000         Declare new mmap base and len values for
4001         prepare_address_space, and store the result in new_ah.
4002         (open_archive): Declare new mmap base and len values for
4003         prepare_address_space, and store the result in ah.
4004         (close_archive): If ah->mmap_base is not NULL, use that and
4005         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4006         * sysdeps/generic/libc-mmap.h: New file.
4008 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4010         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4011         (ALIGN_UP): Likewise.
4012         (PTR_ALIGN_DOWN): Likewise.
4013         (PTR_ALIGN_UP): Likewise.
4015 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4017         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4018         entry mapped to PPC_PLATFORM_POWER8.
4019         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4020         POWER8.
4021         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4022         (_dl_string_platform): Add case for exporting platform position for
4023         POWER8.
4024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4025         search path to sysdeps/powerpc/powerpc32/power8 directory.
4026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4027         search path to sysdeps/powerpc/powerpc64/power8 directory.
4028         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4029         power7 directories.
4030         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4031         power7 directories.
4033 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4035         * INSTALL: Regenerate.
4037         * nscd/connections.c (nscd_init): Fix comment.
4039 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
4041         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4043         [BZ #15667]
4044         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4045         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4047 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4049         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4050         DL_DST_REQ_STATIC.
4051         (DL_DST_REQ_STATIC): Remove macro.
4053 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4055         [BZ #7006]
4056         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4057         with a shift of 0 bits.
4059 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4061         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4062         $(tststatic-ENV).
4064 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4066         [BZ #15655]
4067         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4069 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4071         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4072         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4073         accepts -fno-tree-loop-distribute-patterns.
4074         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4075         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4076         recursive call.
4077         * string/memset.c (memset): Likewise.
4078         * string/test-memmove.c (simple_memmove): Disable loop transformation
4079         to library calls.
4080         * string/test-memset.c (simple_memset): Likewise.
4081         * benchtests/bench-memmove.c (simple_memmove): Likewise.
4082         * benchtests/bench-memset.c (simple_memset): Likewise.
4083         * configure: Regenerated.
4085 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
4087         * math/test-misc.c (main): Ignore fesetround failure when failures
4088         of subsequent rounding tests would be ignored.
4090         [BZ #15654]
4091         * math/fedisblxcpt.c (fedisableexcept): Return 0.
4092         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4093         * math/fegetenv.c (__fegetenv): Return 0.
4094         * math/fegetexcept.c (fegetexcept): Return 0.
4095         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4096         FE_TONEAREST.
4097         * math/feholdexcpt.c (feholdexcept): Return 0.
4098         * math/fesetenv.c (__fesetenv): Return 0.
4099         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4100         argument FE_TONEAREST.
4101         * math/feupdateenv.c (__feupdateenv): Return 0.
4102         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4104 2013-06-18  Roland McGrath  <roland@hack.frob.com>
4106         * elf/rtld-Rules (rtld-compile-command.S): New variable.
4107         (rtld-compile-command.s, rtld-compile-command.c): New variables.
4108         ($(objpfx)rtld-%.os rules): Use them.
4110 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4112         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4113         fields.
4115 2013-06-17  Roland McGrath  <roland@hack.frob.com>
4117         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4118         length of target pattern, then descending length of dependency pattern.
4119         * configure.in (AWK): Require gawk 3.1.2 or newer.
4120         * manual/install.texi (Tools for Compilation): Say that we do.
4121         * configure: Regenerated.
4123         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4124         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4125         * scripts/sysd-rules.awk: ... this new script.
4126         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4127         than a glob-style pattern.
4129 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
4131         * math/test-misc.c (main): Do not treat incorrectly rounded
4132         conversions as failure unless ROUNDING_TESTS passes.
4134 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
4136         [BZ #15631]
4137         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4138         restore exception state around main square root computation, then
4139         check for inexactness explicitly.
4141         * math/libm-test.inc (fma_test_data): Add another test.
4143 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4145         * manual/threads.texi (Non-POSIX Extensions): New document
4146         node.  Document pthread_getattr_default_np and
4147         pthread_setattr_default_np.
4149         * Versions.def (libpthread): Add GLIBC_2.18.
4150         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4152         Likewise.
4153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4154         Likewise.
4155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4156         Likewise.
4157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4158         Likewise.
4159         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4160         Likewise.
4161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4162         Likewise.
4163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4164         Likewise.
4165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4166         Likewise.
4167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4168         Likewise.
4170 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4173         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4175 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4176             H.J. Lu  <hjl.tools@gmail.com>
4178         [BZ #15627]
4179         * sysdeps/x86_64/rtld-memset.c: Remove file.
4180         * sysdeps/x86_64/rtld-memset.S: New file.
4182 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
4184         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4185         (test_in_one_mode): Take arguments for whether the rounding mode
4186         is supported for each floating-point type.
4187         (do_test): Pass new arguments to test_in_one_mode using
4188         ROUNDING_TESTS.
4190 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4192         * posix/tst-waitid.c (do_test): Distinguish different instances of
4193         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
4194         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4195         before entering the kernel for waitpid.
4197 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4199         * NEWS: Fix note on clock function precision.  Text by Roland
4200         McGrath.
4202 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4204         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4205         it into place only when and if the sanity check passes.
4207 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
4209         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4210         output for whether conversion result is exact.  Take argument
4211         indicating whether type is IBM long double.
4212         (round_for_all): Change need_exact field to ibm_ld.
4213         * stdlib/tst-strtod-round.c (struct exactness): New type.
4214         (struct test): Change bool ld_ok field to struct exactness exact.
4215         (TEST): Update all definitions for change to field.
4216         (tests): Regenerate array contents.
4217         (test_in_one_mode): Take pointer to new field instead of old ld_ok
4218         field value.  Check for IBM long double here.
4219         (do_test): Update calls to test_in_one_mode.
4221 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4223         [BZ #12515]
4224         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4225         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4227 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4229         [BZ #15605]
4230         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4231         generated by the compiler on loop optimizations.
4232         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4233         general definitions.
4235 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
4237         * math/bug-nextafter.c: Include <math-tests.h>.
4238         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4239         the relevant type.
4240         * math/bug-nexttoward.c: Include <math-tests.h>.
4241         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4242         the relevant type.
4243         * math/test-misc.c: Include <math-tests.h>.
4244         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4245         the relevant type.
4247 2013-06-12  Andreas Jaeger  <aj@suse.de>
4249         * po/ia.po: Update Interlingua translation from translation
4250         project.
4252 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4254         * include/fenv.h: Include stdbool.h.
4255         (struct rm_ctx): New structure.
4256         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4257         Define macro.
4258         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4259         (SET_RESTORE_ROUNDF): Likewise.
4260         (SET_RESTORE_ROUNDL): Likewise.
4261         (SET_RESTORE_ROUND_NOEX): Likewise.
4262         (SET_RESTORE_ROUND_NOEXF): Likewise.
4263         (SET_RESTORE_ROUND_NOEXL): Likewise.
4264         (SET_RESTORE_ROUND_53BIT): Likewise.
4265         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4266         (libc_feresetround_noexf_ctx): Likewise.
4267         (libc_feresetround_noexl_ctx): Likewise.
4268         (libc_feholdsetround_53bit_ctx): Likewise.
4269         (libc_feresetround_53bit_ctx): Likewise.
4270         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4271         (libc_feholdexcept_setround_sse_ctx): New function.
4272         (libc_fesetenv_sse_ctx): Likewise.
4273         (libc_feupdateenv_sse_ctx): Likewise.
4274         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4275         (libc_feholdexcept_setround_387_ctx): Likewise.
4276         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4277         (libc_feholdsetround_387_prec_ctx): Likewise.
4278         (libc_feholdsetround_387_ctx): Likewise.
4279         (libc_feholdsetround_387_53bit_ctx): Likewise.
4280         (libc_feholdsetround_sse_ctx): Likewise.
4281         (libc_feresetround_sse_ctx): Likewise.
4282         (libc_feresetround_387_ctx): Likewise.
4283         (libc_feupdateenv_387_ctx): Likewise.
4284         (libc_feholdexcept_setroundf_ctx): Define macro.
4285         (libc_fesetenvf_ctx): Likewise.
4286         (libc_feupdateenvf_ctx): Likewise.
4287         (libc_feholdsetroundf_ctx): Likewise.
4288         (libc_feresetroundf_ctx): Likewise.
4289         (libc_feholdexcept_setround_ctx): Likewise.
4290         (libc_fesetenv_ctx): Likewise.
4291         (libc_feupdateenv_ctx): Likewise.
4292         (libc_feholdsetround_ctx): Likewise.
4293         (libc_feresetround_ctx): Likewise.
4294         (libc_feholdexcept_setroundl_ctx): Likewise.
4295         (libc_feupdateenvl_ctx): Likewise.
4296         (libc_feholdsetroundl_ctx): Likewise.
4297         (libc_feresetroundl_ctx): Likewise.
4298         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4299         (libc_feresetround_53bit_ctx): Likewise.
4301 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4303         * locale/iso-639.def: Convert to UTF-8.
4305 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
4307         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4308         (EXCEPTION_TESTS_double): Likewise.
4309         (EXCEPTION_TESTS_long_double): Likewise.
4310         (EXCEPTION_TESTS): Likewise.
4311         * math/libm-test.inc (test_exceptions): Only test exceptions if
4312         EXCEPTION_TESTS (FLOAT).
4314 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4316         * benchtests/Makefile (string-bench): Add strcpy_chk and
4317         stpcpy_chk.
4318         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4319         * benchtests/bench-stpcpy_chk.c: New file.
4320         * benchtests/bench-strcpy_chk-ifunc.c: New file.
4321         * benchtests/bench-strcpy_chk.c: New file.
4322         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4323         code.
4324         (do_test): Likewise.
4326 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4328         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4329         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4330         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4331         with tabs where appropriate.
4332         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4333         dl-procinfo.h.
4334         [PPC_PLATFORM_PPC440]: Likewise.
4335         [PPC_PLATFORM_PPC464]: Likewise.
4336         [PPC_PLATFORM_PPC476]: Likewise.
4337         (_dl_string_platform): Add support for detecting ppc405, ppc440,
4338         ppc464, and ppc476 platform strings merging from ports/
4339         dl-procinfo.h.
4341 2013-06-11  Andreas Schwab  <schwab@suse.de>
4343         [BZ #14991]
4344         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4345         (from_ucs4_idx): Regenerate.
4346         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4347         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4348         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4349         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4350         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4351         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4352         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4353         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4354         from FROM_LOOP and TO_LOOP specific macros.
4355         (BODY): Handle combining characters.
4356         * iconvdata/BIG5HKSCS.irreversible: Update.
4357         * iconvdata/BIG5HKSCS.precomposed: New file.
4358         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4359         characters.
4360         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4362 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4364         * include/sys/time.h: Fix indentation and add copyright header.
4366         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4367         (do_test): Likewise.
4368         * string/test-memchr.c (do_one_test): Likewise.
4369         (do_test): Likewise.
4370         * string/test-memcmp.c (do_one_test): Likewise.
4371         (do_test): Likewise.
4372         * string/test-memcpy.c (do_one_test): Likewise.
4373         (do_test): Likewise.
4374         * string/test-memmem.c (do_one_test): Likewise.
4375         (do_test): Likewise.
4376         (do_random_tests): Likewise.
4377         * string/test-memmove.c (do_one_test): Likewise.
4378         (do_test): Likewise.
4379         * string/test-memset.c (do_one_test): Likewise.
4380         (do_test): Likewise.
4381         * string/test-rawmemchr.c (do_one_test): Likewise.
4382         (do_test): Likewise.
4383         * string/test-strcasecmp.c (do_one_test): Likewise.
4384         (do_test): Likewise.
4385         * string/test-strcasestr.c (do_one_test): Likewise.
4386         (do_test): Likewise.
4387         * string/test-strcat.c (do_one_test): Likewise.
4388         (do_test): Likewise.
4389         * string/test-strchr.c (do_one_test): Likewise.
4390         (do_test): Likewise.
4391         * string/test-strcmp.c (do_one_test): Likewise.
4392         (do_test): Likewise.
4393         * string/test-strcpy.c (do_one_test): Likewise.
4394         (do_test): Likewise.
4395         * string/test-string.h: Likewise.
4396         (test_init): Likewise.
4397         * string/test-strlen.c (do_one_test): Likewise.
4398         (do_test): Likewise.
4399         * string/test-strncasecmp.c (do_one_test): Likewise.
4400         (do_test): Likewise.
4401         * string/test-strncat.c (do_one_test): Likewise.
4402         (do_test): Likewise.
4403         * string/test-strncmp.c (do_one_test): Likewise.
4404         (do_test_limit): Likewise.
4405         (do_test): Likewise.
4406         * string/test-strncpy.c (do_one_test): Likewise.
4407         (do_test): Likewise.
4408         * string/test-strnlen.c (do_one_test): Likewise.
4409         (do_test): Likewise.
4410         * string/test-strpbrk.c (do_one_test): Likewise.
4411         (do_test): Likewise.
4412         * string/test-strrchr.c (do_one_test): Likewise.
4413         (do_test): Likewise.
4414         * string/test-strspn.c (do_one_test): Likewise.
4415         (do_test): Likewise.
4416         * string/test-strstr.c (do_one_test): Likewise.
4417         (do_test): Likewise.
4419         * benchtests/Makefile (string-bench): Add string benchmarks.
4420         * benchtests/bench-bcopy-ifunc.c: New file.
4421         * benchtests/bench-bcopy.c: New file.
4422         * benchtests/bench-bzero-ifunc.c: New file.
4423         * benchtests/bench-bzero.c: New file.
4424         * benchtests/bench-memccpy-ifunc.c: New file.
4425         * benchtests/bench-memccpy.c: New file.
4426         * benchtests/bench-memchr-ifunc.c: New file.
4427         * benchtests/bench-memchr.c: New file.
4428         * benchtests/bench-memcmp-ifunc.c: New file.
4429         * benchtests/bench-memcmp.c: New file.
4430         * benchtests/bench-memmem-ifunc.c: New file.
4431         * benchtests/bench-memmem.c: New file.
4432         * benchtests/bench-memmove-ifunc.c: New file.
4433         * benchtests/bench-memmove.c: New file.
4434         * benchtests/bench-mempcpy-ifunc.c: New file.
4435         * benchtests/bench-mempcpy.c: New file.
4436         * benchtests/bench-memset-ifunc.c: New file.
4437         * benchtests/bench-memset.c: New file.
4438         * benchtests/bench-rawmemchr-ifunc.c: New file.
4439         * benchtests/bench-rawmemchr.c: New file.
4440         * benchtests/bench-stpcpy-ifunc.c: New file.
4441         * benchtests/bench-stpcpy.c: New file.
4442         * benchtests/bench-stpncpy-ifunc.c: New file.
4443         * benchtests/bench-stpncpy.c: New file.
4444         * benchtests/bench-strcasecmp-ifunc.c: New file.
4445         * benchtests/bench-strcasecmp.c: New file.
4446         * benchtests/bench-strcasestr-ifunc.c: New file.
4447         * benchtests/bench-strcasestr.c: New file.
4448         * benchtests/bench-strcat-ifunc.c: New file.
4449         * benchtests/bench-strcat.c: New file.
4450         * benchtests/bench-strchr-ifunc.c: New file.
4451         * benchtests/bench-strchr.c: New file.
4452         * benchtests/bench-strchrnul-ifunc.c: New file.
4453         * benchtests/bench-strchrnul.c: New file.
4454         * benchtests/bench-strcmp-ifunc.c: New file.
4455         * benchtests/bench-strcmp.c: New file.
4456         * benchtests/bench-strcpy-ifunc.c: New file.
4457         * benchtests/bench-strcpy.c: New file.
4458         * benchtests/bench-strcspn-ifunc.c: New file.
4459         * benchtests/bench-strcspn.c: New file.
4460         * benchtests/bench-strlen-ifunc.c: New file.
4461         * benchtests/bench-strlen.c: New file.
4462         * benchtests/bench-strncasecmp-ifunc.c: New file.
4463         * benchtests/bench-strncasecmp.c: New file.
4464         * benchtests/bench-strncat-ifunc.c: New file.
4465         * benchtests/bench-strncat.c: New file.
4466         * benchtests/bench-strncmp-ifunc.c: New file.
4467         * benchtests/bench-strncmp.c: New file.
4468         * benchtests/bench-strncpy-ifunc.c: New file.
4469         * benchtests/bench-strncpy.c: New file.
4470         * benchtests/bench-strnlen-ifunc.c: New file.
4471         * benchtests/bench-strnlen.c: New file.
4472         * benchtests/bench-strpbrk-ifunc.c: New file.
4473         * benchtests/bench-strpbrk.c: New file.
4474         * benchtests/bench-strrchr-ifunc.c: New file.
4475         * benchtests/bench-strrchr.c: New file.
4476         * benchtests/bench-strspn-ifunc.c: New file.
4477         * benchtests/bench-strspn.c: New file.
4478         * benchtests/bench-strstr-ifunc.c: New file.
4479         * benchtests/bench-strstr.c: New file.
4481         * benchtests/Makefile: Disable parallel execution of targets.
4482         (string-bench): Add memcpy.
4483         (benchset): New variable to store a list of benchmark sets.
4484         (bench-func): Renamed from bench.
4485         (bench-set): New target.
4486         (bench): Depend on bench-func and bench-set.
4487         * benchtests/README: Add section on benchmark sets.
4488         * benchtests/bench-memcpy-ifunc.c: New file.
4489         * benchtests/bench-memcpy.c: New file.
4490         * benchtests/bench-string.h: New file.
4492 2013-06-11  Andreas Schwab  <schwab@suse.de>
4494         [BZ #15577]
4495         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4496         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4497         values in the triple.
4498         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4499         terminator in the group key.
4501 2013-06-11  Andreas Jaeger  <aj@suse.de>
4503         * po/zh_TW.po: Update Chinese (traditional) translation from
4504         translation project.
4506 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4508         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4509         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4510         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4511         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4512         (clock_getcpuclockid): Likewise.
4513         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4514         Add weak_alias and libc_hidden_def.
4515         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4516         * rt/clock_gettime.c (clock_gettime): Rename to
4517         __clock_gettime.  Add weak_alias and libc_hidden_def.
4518         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4519         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4520         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4521         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4522         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4523         Likewise.
4524         * rt/clock_settime.c (clock_settime): Rename to
4525         __clock_settime.  Add weak_alias and libc_hidden_def.
4526         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4528 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4530         * mach/err_boot.sub: Remove trailing whitespace.
4531         * mach/err_ipc.sub: Likewise.
4532         * mach/err_mach.sub: Likewise.
4534         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4535         (ROUNDING_TESTS_double): Likewise.
4536         (ROUNDING_TESTS_long_double): Likewise.
4537         (ROUNDING_TESTS): Likewise.
4538         * math/libm-test.inc: Include <math-tests.h>.
4539         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4540         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4541         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4542         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4544 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4546         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4547         of assigning.
4549 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4551         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4552         otherwise empty TRANS lines.
4553         * sysdeps/gnu/errlist.c: Regenerated.
4555         * catgets/gencat.c (error_print): Use (void) in function
4556         definition.
4557         * crypt/crypt_util.c (__init_des): Likewise.
4558         * crypt/speeds.c (Stop): Likewise.
4559         (main): Likewise.
4560         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4561         * inet/ruserpass.c (token): Likewise.
4562         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4563         * intl/localealias.c (extend_alias_table): Likewise.
4564         * intl/plural-exp.c (init_germanic_plural): Likewise.
4565         * libio/fcloseall.c (__fcloseall): Likewise.
4566         * libio/genops.c (_IO_flush_all): Likewise.
4567         (_IO_flush_all_linebuffered): Likewise.
4568         (_IO_cleanup): Likewise.
4569         (_IO_iter_begin): Likewise.
4570         (_IO_iter_end): Likewise.
4571         (_IO_list_lock): Likewise.
4572         (_IO_list_unlock): Likewise.
4573         (_IO_list_resetlock): Likewise.
4574         * libio/getchar.c (getchar): Likewise.
4575         * libio/getchar_u.c (getchar_unlocked): Likewise.
4576         * libio/getwchar.c (getwchar): Likewise.
4577         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4578         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4579         * login/getpt.c (__getpt): Likewise.
4580         * login/tst-utmp.c (main): Likewise.
4581         * malloc/hooks.c (__malloc_check_init): Likewise.
4582         * malloc/malloc.c (__malloc_stats): Likewise.
4583         * malloc/mtrace.c (tr_break): Likewise.
4584         (mtrace): Likewise.
4585         (muntrace): Likewise.
4586         * misc/fstab.c (endfsent): Likewise.
4587         * misc/getclktck.c (__getclktck): Likewise.
4588         * misc/getdtsz.c (__getdtablesize): Likewise.
4589         * misc/gethostid.c (gethostid): Likewise.
4590         * misc/getpagesize.c (__getpagesize): Likewise.
4591         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4592         (__get_nprocs): Likewise.
4593         (__get_phys_pages): Likewise.
4594         (__get_avphys_pages): Likewise.
4595         * misc/getttyent.c (getttyent): Likewise.
4596         (setttyent): Likewise.
4597         (endttyent): Likewise.
4598         * misc/getusershell.c (getusershell): Likewise.
4599         (endusershell): Likewise.
4600         (setusershell): Likewise.
4601         (initshells): Likewise.
4602         * misc/hsearch.c (__hdestroy): Likewise.
4603         * misc/sync.c (sync): Likewise.
4604         * misc/syslog.c (closelog_internal): Likewise.
4605         (closelog): Likewise.
4606         * misc/ttyslot.c (ttyslot): Likewise.
4607         * misc/vhangup.c (vhangup): Likewise.
4608         * posix/fork.c (__fork): Likewise.
4609         * posix/getegid.c (__getegid): Likewise.
4610         * posix/geteuid.c (__geteuid): Likewise.
4611         * posix/getgid.c (__getgid): Likewise.
4612         * posix/getpid.c (__getpid): Likewise.
4613         * posix/getppid.c (__getppid): Likewise.
4614         * posix/getuid.c (__getuid): Likewise.
4615         * posix/pause.c (pause): Likewise.
4616         * posix/setpgrp.c (setpgrp): Likewise.
4617         * posix/setsid.c (__setsid): Likewise.
4618         * posix/test-vfork.c (noop): Likewise.
4619         * resolv/gethnamaddr.c (_endhtent): Likewise.
4620         (_gethtent): Likewise.
4621         (ht_endhostent): Likewise.
4622         (gethostent): Likewise.
4623         (dns_service): Likewise.
4624         * stdlib/drand48.c (drand48): Likewise.
4625         * stdlib/lrand48.c (lrand48): Likewise.
4626         * stdlib/mrand48.c (mrand48): Likewise.
4627         * stdlib/rand.c (rand): Likewise.
4628         * stdlib/random.c (__random): Likewise.
4629         * stdlib/setenv.c (clearenv): Likewise.
4630         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4631         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4632         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4633         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4634         (__get_nprocs): Likewise.
4635         (__get_phys_pages): Likewise.
4636         (__get_avphys_pages): Likewise.
4637         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4638         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4639         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4640         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4641         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4642         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4643         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4644         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4645         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4646         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4647         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4648         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4649         * sysdeps/posix/clock.c (clock): Likewise.
4650         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4651         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4652         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4653         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4654         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4655         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4656         (__get_nprocs_conf): Likewise.
4657         (__get_phys_pages): Likewise.
4658         (__get_avphys_pages): Likewise.
4659         * time/clock.c (clock): Likewise.
4660         * time/tzset.c (__tzname_max): Likewise.
4662 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4664         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4665         (__bswap_32): Do not use "register".
4666         * crypt/crypt.c (_ufc_doit_r): Likewise.
4667         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4668         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4669         * gmon/gmon.c (__monstartup): Likewise.
4670         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4671         * hurd/hurdmalloc.c (more_memory): Likewise.
4672         (malloc): Likewise.
4673         (free): Likewise.
4674         (realloc): Likewise.
4675         (malloc_fork_prepare): Likewise.
4676         (malloc_fork_parent): Likewise.
4677         (malloc_fork_child): Likewise.
4678         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4679         (_svcauth_des): Likewise.
4680         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4681         * inet/inet_net.c (inet_network): Likewise.
4682         * inet/inet_netof.c (inet_netof): Likewise.
4683         * inet/rcmd.c (__validuser2_sa): Likewise.
4684         * io/fts.c (fts_open): Likewise.
4685         (fts_load): Likewise.
4686         (fts_close): Likewise.
4687         (fts_read): Likewise.
4688         (fts_children): Likewise.
4689         (fts_build): Likewise.
4690         (fts_stat): Likewise.
4691         (fts_sort): Likewise.
4692         (fts_alloc): Likewise.
4693         (fts_lfree): Likewise.
4694         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4695         (_IO_file_xsgetn): Likewise.
4696         (_IO_file_xsgetn_mmap): Likewise.
4697         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4698         (_IO_cookie_write): Likewise.
4699         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4700         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4701         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4702         * malloc/obstack.c (_obstack_begin): Likewise.
4703         (_obstack_begin_1): Likewise.
4704         (_obstack_newchunk): Likewise.
4705         (_obstack_allocated_p): Likewise.
4706         (obstack_free): Likewise.
4707         (_obstack_memory_used): Likewise.
4708         * misc/getttyent.c (getttynam): Likewise.
4709         (getttyent): Likewise.
4710         (skip): Likewise.
4711         (value): Likewise.
4712         * misc/getusershell.c (initshells): Likewise.
4713         * misc/syslog.c (__vsyslog_chk): Likewise.
4714         * misc/ttyslot.c (ttyslot): Likewise.
4715         * nis/nis_hash.c (__nis_hash): Likewise.
4716         * posix/fnmatch_loop.c (FCT): Likewise.
4717         * posix/getconf.c (print_all): Likewise.
4718         (main): Likewise.
4719         * posix/getopt.c (exchange): Likewise.
4720         * posix/glob.c (globfree): Likewise.
4721         (prefix_array): Likewise.
4722         (__glob_pattern_type): Likewise.
4723         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4724         (NS_GET32): Likewise.
4725         (NS_PUT16): Likewise.
4726         (NS_PUT32): Likewise.
4727         * resolv/gethnamaddr.c (getanswer): Likewise.
4728         (gethostbyname2): Likewise.
4729         (gethostbyaddr): Likewise.
4730         (_gethtent): Likewise.
4731         (_gethtbyname2): Likewise.
4732         (_gethtbyaddr): Likewise.
4733         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4734         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4735         * resolv/res_init.c (__res_vinit): Likewise.
4736         (net_mask): Likewise.
4737         * resolv/res_mkquery.c (outchar): Likewise.
4738         (PRINT): Likewise.
4739         * stdio-common/printf_fp.c (outchar): Likewise.
4740         (PRINT): Likewise.
4741         * stdio-common/printf_fphex.c (outchar): Likewise.
4742         (PRINT): Likewise.
4743         * stdio-common/printf_size.c (outchar): Likewise.
4744         (PRINT): Likewise.
4745         * stdio-common/test_rdwr.c (main): Likewise.
4746         * stdio-common/tfformat.c (matches): Likewise.
4747         * stdio-common/vfprintf.c (outchar): Likewise.
4748         (printf_unknown): Likewise.
4749         (buffered_vfprintf): Likewise.
4750         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4751         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4752         (ReadFile): Likewise.
4753         * stdlib/qsort.c (SWAP): Likewise.
4754         (_quicksort): Likewise.
4755         * stdlib/setenv.c (__add_to_environ): Likewise.
4756         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4757         * stdlib/strtol_l.c (__strtol_l): Likewise.
4758         * stdlib/tst-strtod.c (main): Likewise.
4759         * stdlib/tst-strtol.c (main): Likewise.
4760         * stdlib/tst-strtoll.c (main): Likewise.
4761         * string/bits/string2.h (__strcmp_cc): Likewise.
4762         (__strcmp_cg): Likewise.
4763         (__strcspn_c1): Likewise.
4764         (__strcspn_c2): Likewise.
4765         (__strcspn_c3): Likewise.
4766         (__strspn_c1): Likewise.
4767         (__strspn_c2): Likewise.
4768         (__strspn_c3): Likewise.
4769         (__strsep_1c): Likewise.
4770         (__strsep_2c): Likewise.
4771         (__strsep_3c): Likewise.
4772         * string/memccpy.c (__memccpy): Likewise.
4773         * string/stpcpy.c (__stpcpy): Likewise.
4774         * string/strcmp.c (strcmp): Likewise.
4775         * string/strrchr.c (strrchr): Likewise.
4776         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4777         Likewise.
4778         * sysdeps/mach/hurd/getcwd.c
4779         (_hurd_canonicalize_directory_name_internal): Likewise.
4780         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4781         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4782         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4783         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4784         Likewise, in both definitions.
4785         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4786         definitions.
4787         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4788         64] (__bswap_64): Likewise.
4789         * time/test_time.c (main): Likewise.
4790         * time/tzfile.c (__tzfile_read): Likewise.
4791         (__tzfile_compute): Likewise.
4792         * time/tzset.c (__tzset_parse_tz): Likewise.
4793         (tzset_internal): Likewise.
4794         (compute_change): Likewise.
4795         * wcsmbs/wcscat.c (__wcscat): Likewise.
4796         * wcsmbs/wcschr.c (wcschr): Likewise.
4797         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4798         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4799         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4800         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4801         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4802         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4803         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4804         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4805         * wcsmbs/wmemset.c (wmemset): Likewise.
4807 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4809         * scripts/config.guess: Update to version 2013-05-16.
4810         * scripts/config.sub: Update to version 2013-04-24.
4811         * scripts/install-sh: Update to version 2011-11-20.07.
4812         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4813         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4815 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4817         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4818         * elf/sln.c: Likewise.
4819         * hurd/hurd/ioctl.h: Likewise.
4820         * hurd/hurdmalloc.c: Likewise.
4821         * hurd/xattr.c: Likewise.
4822         * include/shlib-compat.h: Likewise.
4823         * inet/ruserpass.c: Likewise.
4824         * libio/iofgets_u.c: Likewise.
4825         * libio/iofgetws_u.c: Likewise.
4826         * locale/programs/ld-identification.c: Likewise.
4827         * locale/programs/ld-time.c: Likewise.
4828         * mach/msg-destroy.c: Likewise.
4829         * nss/nss_files/files-netgrp.c: Likewise.
4830         * resolv/res_data.c: Likewise.
4831         * soft-fp/op-1.h: Likewise.
4832         * soft-fp/op-2.h: Likewise.
4833         * soft-fp/op-4.h: Likewise.
4834         * soft-fp/op-common.h: Likewise.
4835         * stdio-common/printf_fphex.c: Likewise.
4836         * stdlib/strtod_l.c: Likewise.
4837         * sunrpc/rpc/clnt.h: Likewise.
4838         * sysdeps/generic/framestate.c: Likewise.
4839         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4840         * sysdeps/i386/bsd-setjmp.S: Likewise.
4841         * sysdeps/i386/__longjmp.S: Likewise.
4842         * sysdeps/i386/setjmp.S: Likewise.
4843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4844         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4845         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4846         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4847         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4848         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4849         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4850         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4851         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4852         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4853         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4854         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4855         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4856         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4857         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4858         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4859         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4860         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4861         * sysdeps/ieee754/support.c: Likewise.
4862         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4863         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4864         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4865         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4866         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4867         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4868         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4869         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4870         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4871         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4872         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4873         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4874         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4875         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4876         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4877         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4878         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4881 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4883         * posix/transbug.c: Remove executable mode.
4885 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4887         * crypt/speeds.c: Remove trailing whitespace.
4888         * dlfcn/default.c: Likewise.
4889         * elf/ifuncdep2.c: Likewise.
4890         * elf/ifuncmain1.c: Likewise.
4891         * elf/ifuncmain1vis.c: Likewise.
4892         * elf/testobj.h: Likewise.
4893         * elf/tst-stackguard1.c: Likewise.
4894         * gmon/sys/gmon.h: Likewise.
4895         * hurd/hurdmsg.c: Likewise.
4896         * hurd/new-fd.c: Likewise.
4897         * hurd/ports-get.c: Likewise.
4898         * iconvdata/ibm1008_420.c: Likewise.
4899         * inet/tst-getni1.c: Likewise.
4900         * inet/tst-getni2.c: Likewise.
4901         * libio/ioungetc.c: Likewise.
4902         * libio/wfiledoalloc.c: Likewise.
4903         * manual/libm-err-tab.pl: Likewise.
4904         * math/w_dremf.c: Likewise.
4905         * misc/ftruncate.c: Likewise.
4906         * posix/bug-glob2.c: Likewise.
4907         * posix/tst-pcre.c: Likewise.
4908         * posix/wait4.c: Likewise.
4909         * resolv/README: Likewise.
4910         * resolv/res_debug.h: Likewise.
4911         * resolv/tst-inet_ntop.c: Likewise.
4912         * setjmp/bug269-setjmp.c: Likewise.
4913         * soft-fp/extended.h: Likewise.
4914         * soft-fp/op-1.h: Likewise.
4915         * soft-fp/op-2.h: Likewise.
4916         * soft-fp/op-4.h: Likewise.
4917         * soft-fp/op-8.h: Likewise.
4918         * soft-fp/testit.c: Likewise.
4919         * stdio-common/bug16.c: Likewise.
4920         * stdlib/random.c: Likewise.
4921         * sunrpc/rpcsvc/rquota.x: Likewise.
4922         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4923         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4924         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4925         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4926         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4927         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4928         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4929         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4930         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4931         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4932         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4933         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4934         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4935         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4936         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4937         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4938         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4939         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4940         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4941         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4942         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4943         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4944         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4945         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4946         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4947         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4948         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4949         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4950         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4951         * sysdeps/ieee754/s_lib_version.c: Likewise.
4952         * sysdeps/mach/hurd/check_fds.c: Likewise.
4953         * sysdeps/mach/hurd/getsockname.c: Likewise.
4954         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4955         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4956         * sysdeps/powerpc/bits/link.h: Likewise.
4957         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4958         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4959         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4960         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4961         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4962         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4963         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4964         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4965         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4966         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4967         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4968         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4969         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4970         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4971         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4972         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4973         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4974         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4975         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4976         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4977         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4978         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4979         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4980         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4981         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4982         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4983         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4984         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4985         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4986         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4987         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4988         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4989         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4990         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4991         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4992         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4993         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4994         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4995         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4996         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4997         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4998         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4999         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5000         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5001         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5002         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5003         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5004         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5005         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5006         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5008         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5009         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5010         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5011         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5012         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5013         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5014         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5015         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5016         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5017         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5018         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5019         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5020         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5021         * sysdeps/powerpc/sysdep.h: Likewise.
5022         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5023         * sysdeps/s390/s390-64/sub_n.S: Likewise.
5024         * sysdeps/sh/dl-trampoline.S: Likewise.
5025         * sysdeps/sh/memset.S: Likewise.
5026         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5027         * sysdeps/sh/strlen.S: Likewise.
5028         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5029         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5030         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5031         * sysdeps/sparc/sparc32/rem.S: Likewise.
5032         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5033         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5034         * sysdeps/sparc/sparc32/strchr.S: Likewise.
5035         * sysdeps/sparc/sparc32/udiv.S: Likewise.
5036         * sysdeps/sparc/sparc32/urem.S: Likewise.
5037         * sysdeps/sparc/sparc64/add_n.S: Likewise.
5038         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5039         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5040         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5041         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5042         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5043         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5044         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5045         * sysdeps/unix/bsd/times.c: Likewise.
5046         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5047         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5051         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5052         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5053         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5054         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5055         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5056         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5057         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5058         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5059         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5060         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5061         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5062         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5063         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5064         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5065         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5066         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5067         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5068         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5069         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5070         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5071         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5072         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5073         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5074         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5075         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5076         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5077         * sysdeps/x86_64/strcspn.S: Likewise.
5079 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5081         * locale/C-translit.h: Revert #include <stdint.h> because this is a
5082         generated file.  Regenerate properly from gen-translit.pl.
5083         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
5084         locale/C-translit.h.
5086 2013-06-05  Andreas Schwab  <schwab@suse.de>
5088         [BZ #15100]
5089         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5090         week as 6 instead of -1.
5091         * time/tst-strptime.c (day_tests): Add test case.
5093 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5095         * sysdeps/generic/math_private.h
5096         (libc_feholdexcept_setround_53bit): Replace with
5097         libc_feholdsetround_53bit.
5098         (libc_feupdateenv_53bit): Replace with
5099         libc_feresetround_53bit.
5100         (SET_RESTORE_ROUND_53BIT): Adjust.
5102 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5104         * string/test-strchrnul.c: Add copyright header.
5106         * posix/tst-getaddrinfo4.c: Increase test timeout.
5108 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
5110         [BZ #15536]
5111         * math/libm-test.inc (MAX_EXP): Remove
5112         (MIN_EXP): Define.
5113         (ulp): Use MIN_EXP - MANT_DIG.
5114         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5116 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
5118         * po/be.po: Revert last change.
5119         * po/zh_CN.po: Likewise.
5120         * po/header.pot: Likewise.
5122 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
5124         * Makefile ($(common-objpfx)linkobj/libc.so): Define
5125         link-libc-deps to empty as target-specific variable.
5126         * Makerules (link-libc-args): New variable.
5127         (libc-for-link): Likewise.
5128         (link-libc-deps): Likewise.
5129         (lib%.so): Depend on $(link-libc-deps).  Link with
5130         $(link-libc-args).
5131         (build-module): Link with $(link-libc-args).
5132         (build-module-asneeded): Likewise.
5133         (build-module-helper-objlist): Filter out $(link-libc-deps) from
5134         list of objects.
5135         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5136         target-specific variable.
5137         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5138         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5139         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5140         libc.
5141         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5142         libc and ld.so.
5143         ($(objpfx)libpcprofile.so): Likewise.
5144         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5145         libc_nonshared.a.
5146         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5147         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5148         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5149         $(link-libc-deps).
5150         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5151         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5152         * login/Makefile ($(objpfx)libutil.so): Likewise.
5153         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5154         * math/Makefile ($(objpfx)libm.so): Likewise.
5155         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5156         $(objpfx)libnsl.so): Define libc-for-link as target-specific
5157         variable instead of depending directly on libc.
5158         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5159         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5160         $(link-libc-deps).
5161         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5162         libc.
5163         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5164         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5165         ($(objpfx)libanl.so): Likewise.
5166         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5167         ld.so.
5168         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5169         $(link-libc-deps).
5170         * sysdeps/i386/fpu/Makefile: Remove file.
5171         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5172         ($(objpfx)libm.so): Remove dependency on ld.so.
5174 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
5176         [BZ # 15553]
5177         * nis/yp_xdr.c (XDRMAXNAME): Define.
5178         (XDRMAXRECORD): Define.
5179         (xdr_domainname): Use XDRMAXNAME.
5180         (xdr_mapname): Likewise.
5181         (xdr_peername): Likewise.
5182         (xdr_keydat): Use XDRMAXRECORD.
5183         (xdr_valdat): Likewise.
5185 2013-05-30  Jeff Law  <law@redhat.com>
5187         [BZ #14256]
5188         * manual/errno.texi (ESTALE): Update to account for more than
5189         just NFS file systems.
5190         * sysdeps/gnu/errlist.c: Regenerated.
5192 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5194         [BZ #15465]
5195         * elf/Makefile (tests): Add tst-null-argv.
5196         (modules-names):  Add tst-null-argv-lib.
5197         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5198         (tst-null-argv-ENV): Set environment for tst-null-argv.
5199         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5200         (RTLD_PROGNAME): New macro.
5201         * elf/tst-null-argv.c: New test case.
5202         * elf/tst-null-argv-lib.c: Library for test case.
5203         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5204         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5205         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5206         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5207         * elf/dl-init.c (call_init): Likewise.
5208         (_dl_init): Likewise.
5209         * elf/dl-load.c (print_search_path): Likewise.
5210         (_dl_map_object): Likewise.
5211         * elf/dl-lookup.c (do_lookup_x): Likewise.
5212         (add_dependency): Likewise.
5213         (_dl_lookup_symbol_x): Likewise.
5214         (_dl_debug_bindings): Likewise.
5215         * elf/dl-open.c (_dl_show_scope): Likewise.
5216         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5217         * elf/dl-version.c (match_symbol): Likewise.
5218         (_dl_check_map_versions): Likewise.
5219         * elf/rtld.c (dl_main): Likewise.
5220         (print_unresolved): Use RTLD_PROGNAME.
5221         (print_missing_version): Likewise.
5222         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5223         (elf_machine_rela): Likewise.
5224         * sysdeps/powerpc/powerpc32/dl-machine.c
5225         (__process_machine_rela): Likewise.
5226         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5227         Likewise.
5228         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5229         Likewise.
5230         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5231         Likewise.
5232         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5233         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5234         Likewise.
5235         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5236         Likewise.
5237         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5239 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
5241         * po/be.po: Add descriptive title.
5242         * po/zh_CN.po: Likewise.
5243         * po/header.pot: Likewise.
5245 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
5247         * locale/programs/locarchive.c (create_archive): Inlucde fname in
5248         error message.
5249         (enlarge_archive): Likewise.
5251 2013-05-28  Ben North  <ben@redfrontdoor.org>
5253         * manual/arith.texi (frexp): It is the magnitude of the return
5254         value which lies in [0.5, 1), not the return value itself.
5256 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5260 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
5262         * stdio-common/bug26.c (main): Correct fscanf template.
5264         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5265         declare _dl_skip_args.
5267         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5268         Don't declare.
5270         * manual/platform.texi: Add missing @end deftypefun.
5272 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5274         [BZ #15529]
5275         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5276         bit of mantissa of 2^16382.
5277         * math/libm-test.inc (hypot_test_data): Add more tests.
5279         * math/libm-test.inc: Add drem and pow10 to list of tested
5280         functions.
5281         (pow10_test): New function.
5282         (drem_test): Likewise.
5283         (drem_test_tonearest): Likewise.
5284         (drem_test_towardzero): Likewise.
5285         (drem_test_downward): Likewise.
5286         (drem_test_upward): Likewise.
5287         (main): Call the new functions.
5289         * math/libm-test.inc (finite_test_data): Remove.
5290         (finite_test): Run tests from isfinite_test_data.
5291         (gamma_test_data): Remove.
5292         (gamma_test): Run tests from lgamma_test_data.
5293         * sysdeps/i386/fpu/libm-test-ulps: Update.
5294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5296 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5298         * manual/platform.texi: Add PowerPC PPR function set documentation.
5299         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5300         implementation.
5302 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
5304         * math/libm-test.inc (MAX_EXP): Define.
5305         (ULPDIFF): Define.
5306         (ulp): New function.
5307         (check_float_internal): Use ULPDIFF.
5308         (cpow_test): Disable failing test.
5309         (check_ulp): Test ulp() implemetnation.
5310         (main): Call check_ulp before starting tests.
5312 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5314         * math/gen-libm-test.pl (generate_testfile): Do not handle
5315         START_DATA and END_DATA.
5316         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5317         END_DATA.
5318         (acos_tonearest_test_data): Likewise.
5319         (acos_towardzero_test_data): Likewise.
5320         (acos_downward_test_data): Likewise.
5321         (acos_upward_test_data): Likewise.
5322         (acosh_test_data): Likewise.
5323         (asin_test_data): Likewise.
5324         (asin_tonearest_test_data): Likewise.
5325         (asin_towardzero_test_data): Likewise.
5326         (asin_downward_test_data): Likewise.
5327         (asin_upward_test_data): Likewise.
5328         (asinh_test_data): Likewise.
5329         (atan_test_data): Likewise.
5330         (atanh_test_data): Likewise.
5331         (atan2_test_data): Likewise.
5332         (cabs_test_data): Likewise.
5333         (cacos_test_data): Likewise.
5334         (cacosh_test_data): Likewise.
5335         (carg_test_data): Likewise.
5336         (casin_test_data): Likewise.
5337         (casinh_test_data): Likewise.
5338         (catan_test_data): Likewise.
5339         (catanh_test_data): Likewise.
5340         (cbrt_test_data): Likewise.
5341         (ccos_test_data): Likewise.
5342         (ccosh_test_data): Likewise.
5343         (ceil_test_data): Likewise.
5344         (cexp_test_data): Likewise.
5345         (cimag_test_data): Likewise.
5346         (clog_test_data): Likewise.
5347         (clog10_test_data): Likewise.
5348         (conj_test_data): Likewise.
5349         (copysign_test_data): Likewise.
5350         (cos_test_data): Likewise.
5351         (cos_tonearest_test_data): Likewise.
5352         (cos_towardzero_test_data): Likewise.
5353         (cos_downward_test_data): Likewise.
5354         (cos_upward_test_data): Likewise.
5355         (cosh_test_data): Likewise.
5356         (cosh_tonearest_test_data): Likewise.
5357         (cosh_towardzero_test_data): Likewise.
5358         (cosh_downward_test_data): Likewise.
5359         (cosh_upward_test_data): Likewise.
5360         (cpow_test_data): Likewise.
5361         (cproj_test_data): Likewise.
5362         (creal_test_data): Likewise.
5363         (csin_test_data): Likewise.
5364         (csinh_test_data): Likewise.
5365         (csqrt_test_data): Likewise.
5366         (ctan_test_data): Likewise.
5367         (ctan_tonearest_test_data): Likewise.
5368         (ctan_towardzero_test_data): Likewise.
5369         (ctan_downward_test_data): Likewise.
5370         (ctan_upward_test_data): Likewise.
5371         (ctanh_test_data): Likewise.
5372         (ctanh_tonearest_test_data): Likewise.
5373         (ctanh_towardzero_test_data): Likewise.
5374         (ctanh_downward_test_data): Likewise.
5375         (ctanh_upward_test_data): Likewise.
5376         (erf_test_data): Likewise.
5377         (erfc_test_data): Likewise.
5378         (exp_test_data): Likewise.
5379         (exp_tonearest_test_data): Likewise.
5380         (exp_towardzero_test_data): Likewise.
5381         (exp_downward_test_data): Likewise.
5382         (exp_upward_test_data): Likewise.
5383         (exp10_test_data): Likewise.
5384         (exp2_test_data): Likewise.
5385         (expm1_test_data): Likewise.
5386         (fabs_test_data): Likewise.
5387         (fdim_test_data): Likewise.
5388         (finite_test_data): Likewise.
5389         (floor_test_data): Likewise.
5390         (fma_test_data): Likewise.
5391         (fma_towardzero_test_data): Likewise.
5392         (fma_downward_test_data): Likewise.
5393         (fma_upward_test_data): Likewise.
5394         (fmax_test_data): Likewise.
5395         (fmin_test_data): Likewise.
5396         (fmod_test_data): Likewise.
5397         (fpclassify_test_data): Likewise.
5398         (frexp_test_data): Likewise.
5399         (gamma_test_data): Likewise.
5400         (hypot_test_data): Likewise.
5401         (ilogb_test_data): Likewise.
5402         (isfinite_test_data): Likewise.
5403         (isgreater_test_data): Likewise.
5404         (isgreaterequal_test_data): Likewise.
5405         (isinf_test_data): Likewise.
5406         (isless_test_data): Likewise.
5407         (islessequal_test_data): Likewise.
5408         (islessgreater_test_data): Likewise.
5409         (isnan_test_data): Likewise.
5410         (isnormal_test_data): Likewise.
5411         (issignaling_test_data): Likewise.
5412         (isunordered_test_data): Likewise.
5413         (j0_test_data): Likewise.
5414         (j1_test_data): Likewise.
5415         (jn_test_data): Likewise.
5416         (ldexp_test_data): Likewise.
5417         (lgamma_test_data): Likewise.
5418         (lrint_test_data): Likewise.
5419         (lrint_tonearest_test_data): Likewise.
5420         (lrint_towardzero_test_data): Likewise.
5421         (lrint_downward_test_data): Likewise.
5422         (lrint_upward_test_data): Likewise.
5423         (llrint_test_data): Likewise.
5424         (llrint_tonearest_test_data): Likewise.
5425         (llrint_towardzero_test_data): Likewise.
5426         (llrint_downward_test_data): Likewise.
5427         (llrint_upward_test_data): Likewise.
5428         (log_test_data): Likewise.
5429         (log10_test_data): Likewise.
5430         (log1p_test_data): Likewise.
5431         (log2_test_data): Likewise.
5432         (logb_test_data): Likewise.
5433         (logb_downward_test_data): Likewise.
5434         (lround_test_data): Likewise.
5435         (llround_test_data): Likewise.
5436         (modf_test_data): Likewise.
5437         (nearbyint_test_data): Likewise.
5438         (nextafter_test_data): Likewise.
5439         (nexttoward_test_data): Likewise.
5440         (pow_test_data): Likewise.
5441         (pow_tonearest_test_data): Likewise.
5442         (pow_towardzero_test_data): Likewise.
5443         (pow_downward_test_data): Likewise.
5444         (pow_upward_test_data): Likewise.
5445         (remainder_test_data): Likewise.
5446         (remainder_tonearest_test_data): Likewise.
5447         (remainder_towardzero_test_data): Likewise.
5448         (remainder_downward_test_data): Likewise.
5449         (remainder_upward_test_data): Likewise.
5450         (remquo_test_data): Likewise.
5451         (rint_test_data): Likewise.
5452         (rint_tonearest_test_data): Likewise.
5453         (rint_towardzero_test_data): Likewise.
5454         (rint_downward_test_data): Likewise.
5455         (rint_upward_test_data): Likewise.
5456         (round_test_data): Likewise.
5457         (scalb_test_data): Likewise.
5458         (scalbn_test_data): Likewise.
5459         (scalbln_test_data): Likewise.
5460         (signbit_test_data): Likewise.
5461         (sin_test_data): Likewise.
5462         (sin_tonearest_test_data): Likewise.
5463         (sin_towardzero_test_data): Likewise.
5464         (sin_downward_test_data): Likewise.
5465         (sin_upward_test_data): Likewise.
5466         (sincos_test_data): Likewise.
5467         (sinh_test_data): Likewise.
5468         (sinh_tonearest_test_data): Likewise.
5469         (sinh_towardzero_test_data): Likewise.
5470         (sinh_downward_test_data): Likewise.
5471         (sinh_upward_test_data): Likewise.
5472         (sqrt_test_data): Likewise.
5473         (tan_test_data): Likewise.
5474         (tan_tonearest_test_data): Likewise.
5475         (tan_towardzero_test_data): Likewise.
5476         (tan_downward_test_data): Likewise.
5477         (tan_upward_test_data): Likewise.
5478         (tanh_test_data): Likewise.
5479         (tgamma_test_data): Likewise.
5480         (trunc_test_data): Likewise.
5481         (y0_test_data): Likewise.
5482         (y1_test_data): Likewise.
5483         (yn_test_data): Likewise.
5484         (significand_test_data): Likewise.
5486         * math/gen-libm-test.pl (@functions): Remove variable.
5487         (generate_testfile): Don't handle START and END lines.
5488         * math/libm-test.inc (START): New macro.
5489         (END): Likewise.
5490         (END_COMPLEX): Likewise.
5491         (acos_test): Use END macro without arguments.
5492         (acos_test_tonearest): Likewise.
5493         (acos_test_towardzero): Likewise.
5494         (acos_test_downward): Likewise.
5495         (acos_test_upward): Likewise.
5496         (acosh_test): Likewise.
5497         (asin_test): Likewise.
5498         (asin_test_tonearest): Likewise.
5499         (asin_test_towardzero): Likewise.
5500         (asin_test_downward): Likewise.
5501         (asin_test_upward): Likewise.
5502         (asinh_test): Likewise.
5503         (atan_test): Likewise.
5504         (atanh_test): Likewise.
5505         (atan2_test): Likewise.
5506         (cabs_test): Likewise.
5507         (cacos_test): Use END_COMPLEX macro without arguments.
5508         (cacosh_test): Likewise.
5509         (carg_test): Use END macro without arguments.
5510         (casin_test): Use END_COMPLEX macro without arguments.
5511         (casinh_test): Likewise.
5512         (catan_test): Likewise.
5513         (catanh_test): Likewise.
5514         (cbrt_test): Use END macro without arguments.
5515         (ccos_test): Use END_COMPLEX macro without arguments.
5516         (ccosh_test): Likewise.
5517         (ceil_test): Use END macro without arguments.
5518         (cexp_test): Use END_COMPLEX macro without arguments.
5519         (cimag_test): Use END macro without arguments.
5520         (clog_test): Use END_COMPLEX macro without arguments.
5521         (clog10_test): Likewise.
5522         (conj_test): Likewise.
5523         (copysign_test): Use END macro without arguments.
5524         (cos_test): Likewise.
5525         (cos_test_tonearest): Likewise.
5526         (cos_test_towardzero): Likewise.
5527         (cos_test_downward): Likewise.
5528         (cos_test_upward): Likewise.
5529         (cosh_test): Likewise.
5530         (cosh_test_tonearest): Likewise.
5531         (cosh_test_towardzero): Likewise.
5532         (cosh_test_downward): Likewise.
5533         (cosh_test_upward): Likewise.
5534         (cpow_test): Use END_COMPLEX macro without arguments.
5535         (cproj_test): Likewise.
5536         (creal_test): Use END macro without arguments.
5537         (csin_test): Use END_COMPLEX macro without arguments.
5538         (csinh_test): Likewise.
5539         (csqrt_test): Likewise.
5540         (ctan_test): Likewise.
5541         (ctan_test_tonearest): Likewise.
5542         (ctan_test_towardzero): Likewise.
5543         (ctan_test_downward): Likewise.
5544         (ctan_test_upward): Likewise.
5545         (ctanh_test): Likewise.
5546         (ctanh_test_tonearest): Likewise.
5547         (ctanh_test_towardzero): Likewise.
5548         (ctanh_test_downward): Likewise.
5549         (ctanh_test_upward): Likewise.
5550         (erf_test): Use END macro without arguments.
5551         (erfc_test): Likewise.
5552         (exp_test): Likewise.
5553         (exp_test_tonearest): Likewise.
5554         (exp_test_towardzero): Likewise.
5555         (exp_test_downward): Likewise.
5556         (exp_test_upward): Likewise.
5557         (exp10_test): Likewise.
5558         (exp2_test): Likewise.
5559         (expm1_test): Likewise.
5560         (fabs_test): Likewise.
5561         (fdim_test): Likewise.
5562         (finite_test): Likewise.
5563         (floor_test): Likewise.
5564         (fma_test): Likewise.
5565         (fma_test_towardzero): Likewise.
5566         (fma_test_downward): Likewise.
5567         (fma_test_upward): Likewise.
5568         (fmax_test): Likewise.
5569         (fmin_test): Likewise.
5570         (fmod_test): Likewise.
5571         (fpclassify_test): Likewise.
5572         (frexp_test): Likewise.
5573         (gamma_test): Likewise.
5574         (hypot_test): Likewise.
5575         (ilogb_test): Likewise.
5576         (isfinite_test): Likewise.
5577         (isgreater_test): Likewise.
5578         (isgreaterequal_test): Likewise.
5579         (isinf_test): Likewise.
5580         (isless_test): Likewise.
5581         (islessequal_test): Likewise.
5582         (islessgreater_test): Likewise.
5583         (isnan_test): Likewise.
5584         (isnormal_test): Likewise.
5585         (issignaling_test): Likewise.
5586         (isunordered_test): Likewise.
5587         (j0_test): Likewise.
5588         (j1_test): Likewise.
5589         (jn_test): Likewise.
5590         (ldexp_test): Likewise.
5591         (lgamma_test): Likewise.
5592         (lrint_test): Likewise.
5593         (lrint_test_tonearest): Likewise.
5594         (lrint_test_towardzero): Likewise.
5595         (lrint_test_downward): Likewise.
5596         (lrint_test_upward): Likewise.
5597         (llrint_test): Likewise.
5598         (llrint_test_tonearest): Likewise.
5599         (llrint_test_towardzero): Likewise.
5600         (llrint_test_downward): Likewise.
5601         (llrint_test_upward): Likewise.
5602         (log_test): Likewise.
5603         (log10_test): Likewise.
5604         (log1p_test): Likewise.
5605         (log2_test): Likewise.
5606         (logb_test): Likewise.
5607         (logb_test_downward): Likewise.
5608         (lround_test): Likewise.
5609         (llround_test): Likewise.
5610         (modf_test): Likewise.
5611         (nearbyint_test): Likewise.
5612         (nextafter_test): Likewise.
5613         (nexttoward_test): Likewise.
5614         (pow_test): Likewise.
5615         (pow_test_tonearest): Likewise.
5616         (pow_test_towardzero): Likewise.
5617         (pow_test_downward): Likewise.
5618         (pow_test_upward): Likewise.
5619         (remainder_test): Likewise.
5620         (remainder_test_tonearest): Likewise.
5621         (remainder_test_towardzero): Likewise.
5622         (remainder_test_downward): Likewise.
5623         (remainder_test_upward): Likewise.
5624         (remquo_test): Likewise.
5625         (rint_test): Likewise.
5626         (rint_test_tonearest): Likewise.
5627         (rint_test_towardzero): Likewise.
5628         (rint_test_downward): Likewise.
5629         (rint_test_upward): Likewise.
5630         (round_test): Likewise.
5631         (scalb_test): Likewise.
5632         (scalbn_test): Likewise.
5633         (scalbln_test): Likewise.
5634         (signbit_test): Likewise.
5635         (sin_test): Likewise.
5636         (sin_test_tonearest): Likewise.
5637         (sin_test_towardzero): Likewise.
5638         (sin_test_downward): Likewise.
5639         (sin_test_upward): Likewise.
5640         (sincos_test): Likewise.
5641         (sinh_test): Likewise.
5642         (sinh_test_tonearest): Likewise.
5643         (sinh_test_towardzero): Likewise.
5644         (sinh_test_downward): Likewise.
5645         (sinh_test_upward): Likewise.
5646         (sqrt_test): Likewise.
5647         (tan_test): Likewise.
5648         (tan_test_tonearest): Likewise.
5649         (tan_test_towardzero): Likewise.
5650         (tan_test_downward): Likewise.
5651         (tan_test_upward): Likewise.
5652         (tanh_test): Likewise.
5653         (tgamma_test): Likewise.
5654         (trunc_test): Likewise.
5655         (y0_test): Likewise.
5656         (y1_test): Likewise.
5657         (yn_test): Likewise.
5658         (significand_test): Likewise.
5660 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5662         [BZ #15381]
5663         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5665 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5667         [BZ #14894]
5668         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5669         __ppc_mdoio and __ppc_mdoom.
5670         * manual/platform.texi: Document new functions __ppc_yield,
5671         __ppc_mdoio and __ppc_mdoom.
5673 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5675         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5676         (main): Mention "tls" pseudo-hwcap is legacy.
5677         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5679 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5681         * math/gen-libm-test.pl (parse_args): Output only string of
5682         arguments as text for test name, not full call or descriptions of
5683         tests for extra outputs.
5684         (generate_testfile): Do not pass function name to parse_args.
5685         Generate this_func variable from START.
5686         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5687         field to arg_str.
5688         (struct test_ff_f_data): Likewise.
5689         (test_ff_f_data_nexttoward): Likewise.
5690         (struct test_fi_f_data): Likewise.
5691         (struct test_fl_f_data): Likewise.
5692         (struct test_if_f_data): Likewise.
5693         (struct test_fff_f_data): Likewise.
5694         (struct test_c_f_data): Likewise.
5695         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5696         (struct test_fF_f1_data): Likewise.
5697         (struct test_ffI_f1_data): Likewise.
5698         (struct test_c_c_data): Rename test_name field to arg_str.
5699         (struct test_cc_c_data): Likewise.
5700         (struct test_f_i_data): Likewise.
5701         (struct test_ff_i_data): Likewise.
5702         (struct test_f_l_data): Likewise.
5703         (struct test_f_L_data): Likewise.
5704         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5705         and extra2_name.
5706         (COMMON_TEST_SETUP): New macro.
5707         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5708         (COMMON_TEST_CLEANUP): Likewise.
5709         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5710         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5711         macros.
5712         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5713         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5714         macros.
5715         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5716         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5717         cleanup macros.
5718         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5719         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5720         macros.
5721         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5722         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5723         macros.
5724         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5725         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5726         cleanup macros.
5727         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5728         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5729         cleanup macros.
5730         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5731         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5732         cleanup macros.
5733         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5734         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5735         macros.
5736         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5737         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5738         macros.
5739         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5740         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5741         macros.
5742         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5743         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5744         cleanup macros.
5745         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5746         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5747         cleanup macros.
5748         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5749         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5750         macros.
5751         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5752         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5753         cleanup macros.
5754         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5755         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5756         macros.
5757         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5758         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5759         macros.
5760         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5761         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5762         cleanup macros.
5763         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5765 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5767         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5768         to _sifields.sigfault.
5769         (si_addr_lsb): Define new macro.
5770         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5771         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5772         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5774 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5776         [BZ #15441]
5777         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5778         returns -1.
5779         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5780         null return -1.
5781         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5782         loading the domain.
5784 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5786         * math/gen-libm-test.pl (parse_args): Do not include expected
5787         result in test name.
5788         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5789         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5790         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5791         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5792         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5795 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5797         * benchtests/Makefile: Sort function entries.
5799         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5800         tanh, asinh, acosh, atanh.
5801         * benchtests/acos-inputs: New file.
5802         * benchtests/acosh-inputs: New file.
5803         * benchtests/asin-inputs: New file.
5804         * benchtests/asinh-inputs: New file.
5805         * benchtests/atanh-inputs: New file.
5806         * benchtests/cosh-inputs: New file.
5807         * benchtests/log-inputs: New file.
5808         * benchtests/sinh-inputs: New file.
5809         * benchtests/tanh-inputs: New file.
5811 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5813         [BZ #15339]
5814         * posix/tst-getaddrinfo4.c: New test.
5815         * posix/Makefile (tests): Add it.
5817 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5819         [BZ #15339]
5820         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5821         when no services were used.
5822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5823         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5825 2013-05-21  Andreas Schwab  <schwab@suse.de>
5827         [BZ #15014]
5828         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5829         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5830         successful.
5831         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5832         redundant variable declarations and reallocation of buffer when
5833         parsing as IPv6 address.  Always set NSS status when called from
5834         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5835         buffer too small.  Correct computation of needed size.
5836         * nss/Makefile (tests): Add test-digits-dots.
5837         * nss/test-digits-dots.c: New test.
5839 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5841         * benchtests/Makefile: Remove instructions for adding
5842         benchmark tests.
5843         * benchtests/README: New file to explain how to execute and
5844         enhance the benchmark tests.
5846 2013-05-21  Andreas Schwab  <schwab@suse.de>
5848         [BZ #15493]
5849         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5850         * setjmp/tst-sigsetjmp.c: New test.
5852 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5854         * sysdeps/x86_64/memset.S (memset): New implementation.
5855         (__bzero): Likewise.
5856         (__memset_tail): New function.
5858 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5860         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5861         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5862         __memcpy_sse2_unaligned ifunc selection.
5863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5864         Add memcpy-sse2-unaligned.S.
5865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5866         Add: __memcpy_sse2_unaligned.
5868 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5870         [BZ #15490]
5871         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5872         math_force_eval before restoring floating-point envrionment.
5873         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5874         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5875         Likewise.
5876         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5877         <math_private.h>.
5878         (__nearbyintl): Use math_force_eval before restoring
5879         floating-point environment.
5880         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5882         * math/gen-libm-test.pl (special_functions): Remove.
5883         (parse_args): Don't handle TEST_extra.  Handle functions with no
5884         return value.
5885         * math/libm-test.inc (struct test_sincos_data): Replace with
5886         struct test_fFF_11_data.
5887         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5888         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5889         (sincos_test_data): Change element type to struct
5890         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5891         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5892         RUN_TEST_LOOP_sincos.
5893         * math/README.libm-test: Don't mention special handling of
5894         individual functions.
5895         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5896         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5897         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5898         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5899         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5902         * math/gen-libm-test.pl (get_variable): Remove function.
5903         (parse_args): Don't show pointer parameters to call in test
5904         names.  Use "extra output N" in test names for extra outputs
5905         rather than naming variables.
5907 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5909         [BZ #15488]
5910         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5911         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5912         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5913         double tests.
5914         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5915         disable.
5916         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5917         check_long_double.
5919         * math/gen-libm-test.pl (@tests): Remove variable.
5920         ($count): Likewise.
5921         (new_test): Remove function.
5922         (show_exceptions): New function.
5923         (special_functions): Use show_exceptions instead of new_test.
5924         (parse_args): Likewise.
5925         (generate_testfile): Pass only function name in generated call to
5926         print_max_error or print_complex_max_error.
5927         (get_ulps): Do not handle complex tests specially.
5928         (output_test): Rename to ...
5929         (get_all_ulps_for_test): ... this.  Return a string rather than
5930         printing to a file.  Require ulps to be present.
5931         (output_ulps): Generate arrays rather than #defines.
5932         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5933         (struct ulp_data): New type.
5934         (BUILD_COMPLEX_ULP): Remove macro.
5935         (compare_ulp_data): New function.
5936         (find_ulps): Likewise.
5937         (find_test_ulps): Likewise.
5938         (find_function_ulps): Likewise.
5939         (find_complex_function_ulps): Likewise.
5940         (print_max_error): Determine allowed ulps using
5941         find_function_ulps.
5942         (print_complex_max_error): Determine allowed ulps using
5943         find_complex_function_ulps.
5944         (check_float_internal): Determine max ulps using find_test_ulps.
5945         (check_float): Do not take max_ulp parameter.  Update call to
5946         check_float_internal.
5947         (check_complex): Likewise.
5948         (check_int): Do not take max_ulp parameter.
5949         (check_long): Likewise.
5950         (check_bool): Likewise.
5951         (check_longlong): Likewise.
5952         (struct test_f_f_data): Remove max_ulp field.
5953         (struct test_ff_f_data): Likewise.
5954         (struct test_ff_f_data_nexttoward): Likewise.
5955         (struct test_fi_f_data): Likewise.
5956         (struct test_fl_f_data): Likewise.
5957         (struct test_if_f_data): Likewise.
5958         (struct test_fff_f_data): Likewise.
5959         (struct test_c_f_data): Likewise.
5960         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5961         (struct test_fF_f1_data): Likewise.
5962         (struct test_ffI_f1_data): Likewise.
5963         (struct test_c_c_data): Remove max_ulp field.
5964         (struct test_cc_c_data): Likewise.
5965         (struct test_f_i_data): Likewise.
5966         (struct test_ff_i_data): Likewise.
5967         (struct test_f_l_data): Likewise.
5968         (struct test_f_L_data): Likewise.
5969         (struct test_sincos_data): Likewise.
5970         (RUN_TEST_f_f): Do not handle ulps.
5971         (RUN_TEST_LOOP_f_f): Likewise.
5972         (RUN_TEST_2_f): Likewise.
5973         (RUN_TEST_LOOP_2_f): Likewise.
5974         (RUN_TEST_fff_f): Likewise.
5975         (RUN_TEST_LOOP_fff_f): Likewise.
5976         (RUN_TEST_c_f): Likewise.
5977         (RUN_TEST_LOOP_c_f): Likewise.
5978         (RUN_TEST_f_f1): Likewise.
5979         (RUN_TEST_LOOP_f_f1): Likewise.
5980         (RUN_TEST_fF_f1): Likewise.
5981         (RUN_TEST_LOOP_fF_f1): Likewise.
5982         (RUN_TEST_fI_f1): Likewise.
5983         (RUN_TEST_LOOP_fI_f1): Likewise.
5984         (RUN_TEST_ffI_f1): Likewise.
5985         (RUN_TEST_LOOP_ffI_f1): Likewise.
5986         (RUN_TEST_c_c): Likewise.
5987         (RUN_TEST_LOOP_c_c): Likewise.
5988         (RUN_TEST_cc_c): Likewise.
5989         (RUN_TEST_LOOP_cc_c): Likewise.
5990         (RUN_TEST_f_i): Likewise.
5991         (RUN_TEST_LOOP_f_i): Likewise.
5992         (RUN_TEST_f_i_tg): Likewise.
5993         (RUN_TEST_LOOP_f_i_tg): Likewise.
5994         (RUN_TEST_ff_i_tg): Likewise.
5995         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5996         (RUN_TEST_f_b): Likewise.
5997         (RUN_TEST_LOOP_f_b): Likewise.
5998         (RUN_TEST_f_b_tg): Likewise.
5999         (RUN_TEST_LOOP_f_b_tg): Likewise.
6000         (RUN_TEST_f_l): Likewise.
6001         (RUN_TEST_LOOP_f_l): Likewise.
6002         (RUN_TEST_f_L): Likewise.
6003         (RUN_TEST_LOOP_f_L): Likewise.
6004         (RUN_TEST_sincos): Likewise.
6005         (RUN_TEST_LOOP_sincos): Likewise.
6007 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
6009         [BZ #15480]
6010         [BZ #15485]
6011         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6012         main case of finite arguments, set rounding mode to FE_TONEAREST
6013         and discard exceptions.
6014         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6015         exceptions.
6016         (remainder_tonearest_test_data): New variable.
6017         (remainder_test_tonearest): New function.
6018         (remainder_towardzero_test_data): New variable.
6019         (remainder_test_towardzero): New function.
6020         (remainder_downward_test_data): New variable.
6021         (remainder_test_downward): New function.
6022         (remainder_upward_test_data): New variable.
6023         (remainder_test_upward): New function.
6024         (main): Call the new test functions.
6026         * math/libm-test.inc (struct test_f_f1_data): Remove field
6027         extra_init.
6028         (struct test_fF_f1_data): Likewise.
6029         (struct test_ffI_f1_data): Likewise.
6030         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
6031         based on value of EXTRA_EXPECTED.
6032         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6033         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
6034         EXTRA_VAR based on value of EXTRA_EXPECTED.
6035         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6036         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
6037         EXTRA_VAR based on value of EXTRA_EXPECTED.
6038         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6039         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
6040         EXTRA_VAR based on value of EXTRA_EXPECTED.
6041         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6042         * math/gen-libm-test.pl (parse_args): Don't output initializers
6043         for extra output values.
6045         * math/libm-test.inc (check_int): Expect result to be exactly
6046         equal to expected value and do not handle ulps.
6047         (check_long): Likewise.
6048         (check_longlong): Likewise.
6050         * math/libm-test.inc (ceil_test_data): Test for "inexact"
6051         exceptions.
6052         (cimag_test_data): Likewise.
6053         (conj_test_data): Likewise.
6054         (copysign_test_data): Likewise.
6055         (cproj_test_data): Likewise.
6056         (creal_test_data): Likewise.
6057         (fabs_test_data): Likewise.
6058         (fdim_test_data): Likewise.
6059         (finite_test_data): Likewise.
6060         (floor_test_data): Likewise.
6061         (fmax_test_data): Likewise.
6062         (fmin_test_data): Likewise.
6063         (fmod_test_data): Likewise.
6064         (fpclassify_test_data): Likewise.
6065         (frexp_test_data): Likewise.
6066         (ilogb_test_data): Likewise.
6067         (isfinite_test_data): Likewise.
6068         (isgreater_test_data): Likewise.
6069         (isgreaterequal_test_data): Likewise.
6070         (isinf_test_data): Likewise.
6071         (isless_test_data): Likewise.
6072         (islessequal_test_data): Likewise.
6073         (islessgreater_test_data): Likewise.
6074         (isnan_test_data): Likewise.
6075         (isnormal_test_data): Likewise.
6076         (issignaling_test_data): Likewise.
6077         (isunordered_test_data): Likewise.
6078         (ldexp_test_data): Likewise.
6079         (lrint_test_data): Likewise.
6080         (lrint_test_data) [TEST_FLOAT]: Disable one test.
6081         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6082         (lrint_tonearest_test_data): Test for "inexact" exceptions.
6083         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6084         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6085         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6086         test input.
6087         (lrint_towardzero_test_data): Test for "inexact" exceptions.
6088         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6089         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6090         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6091         that test input.
6092         (lrint_downward_test_data): Test for "inexact" exceptions.
6093         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6094         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6095         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6096         test input.
6097         (lrint_upward_test_data): Test for "inexact" exceptions.
6098         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6099         test input.
6100         (llrint_test_data): Test for "inexact" exceptions.
6101         (llrint_test_data) [TEST_FLOAT]: Disable one test.
6102         (llrint_tonearest_test_data): Test for "inexact" exceptions.
6103         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6104         (llrint_towardzero_test_data): Test for "inexact" exceptions.
6105         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6106         (llrint_downward_test_data): Test for "inexact" exceptions.
6107         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6108         (llrint_upward_test_data): Test for "inexact" exceptions.
6109         (logb_test_data): Likewise.
6110         (logb_downward_test_data): Likewise.
6111         (nextafter_test_data): Likewise.
6112         (nexttoward_test_data): Likewise.
6113         (remainder_test_data): Likewise.
6114         (remquo_test_data): Likewise.
6115         (scalbn_test_data): Likewise.
6116         (scalbln_test_data): Likewise.
6117         (signbit_test_data): Likewise.
6118         (sqrt_test_data): Likewise.
6119         (significand_test_data): Likewise.
6121 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6123         [BZ #15424]
6124         * benchtests/bench-modf.c (struct args): Mark arg0 as
6125         volatile.
6126         * scripts/bench.pl: Mark members of struct args as volatile.
6128 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6130         [BZ # 15497]
6131         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6132         negative infinity on POWER6 or lower.
6133         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6135 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6137         [BZ #15442]
6138         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6139         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6140         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6141         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6142         (_FP_SETQNAN): New macro.
6143         (_FP_SETQNAN_SEMIRAW): Likewise.
6144         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6145         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6146         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6147         (FP_EXTEND): Use _FP_FRAC_SNANP.
6148         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6149         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6150         into account.
6151         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6152         New macro.
6153         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6154         Likewise.
6156 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6158         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6159         with DIVIDE_BY_ZERO_EXCEPTION.
6160         (gamma_test_data): Likewise.
6161         (lgamma_test_data): Likewise.
6162         (log_test_data): Likewise.
6163         (log10_test_data): Likewise.
6164         (log2_test_data): Likewise.
6165         (tgamma_test_data): Likewise.
6167         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6168         (acos_test_tonearest): Likewise.
6169         (acos_test_towardzero): Likewise.
6170         (acos_test_downward): Likewise.
6171         (acos_test_upward): Likewise.
6172         (acosh_test): Likewise.
6173         (asin_test): Likewise.
6174         (asin_test_tonearest): Likewise.
6175         (asin_test_towardzero): Likewise.
6176         (asin_test_downward): Likewise.
6177         (asin_test_upward): Likewise.
6178         (asinh_test): Likewise.
6179         (atan_test): Likewise.
6180         (atanh_test): Likewise.
6181         (atan2_test): Likewise.
6182         (cabs_test): Likewise.
6183         (cacos_test): Likewise.
6184         (cacosh_test): Likewise.
6185         (casin_test): Likewise.
6186         (casinh_test): Likewise.
6187         (catan_test): Likewise.
6188         (catanh_test): Likewise.
6189         (cbrt_test): Likewise.
6190         (ccos_test): Likewise.
6191         (ccosh_test): Likewise.
6192         (cexp_test): Likewise.
6193         (clog_test): Likewise.
6194         (clog10_test): Likewise.
6195         (cos_test): Likewise.
6196         (cos_test_tonearest): Likewise.
6197         (cos_test_towardzero): Likewise.
6198         (cos_test_downward): Likewise.
6199         (cos_test_upward): Likewise.
6200         (cosh_test): Likewise.
6201         (cosh_test_tonearest): Likewise.
6202         (cosh_test_towardzero): Likewise.
6203         (cosh_test_downward): Likewise.
6204         (cosh_test_upward): Likewise.
6205         (cpow_test): Likewise.
6206         (csin_test): Likewise.
6207         (csinh_test): Likewise.
6208         (csqrt_test): Likewise.
6209         (ctan_test): Likewise.
6210         (ctan_test_tonearest): Likewise.
6211         (ctan_test_towardzero): Likewise.
6212         (ctan_test_downward): Likewise.
6213         (ctan_test_upward): Likewise.
6214         (ctanh_test): Likewise.
6215         (ctanh_test_tonearest): Likewise.
6216         (ctanh_test_towardzero): Likewise.
6217         (ctanh_test_downward): Likewise.
6218         (ctanh_test_upward): Likewise.
6219         (erf_test): Likewise.
6220         (erfc_test): Likewise.
6221         (exp_test): Likewise.
6222         (exp_test_tonearest): Likewise.
6223         (exp_test_towardzero): Likewise.
6224         (exp_test_downward): Likewise.
6225         (exp_test_upward): Likewise.
6226         (exp10_test): Likewise.
6227         (exp2_test): Likewise.
6228         (expm1_test): Likewise.
6229         (fmod_test): Likewise.
6230         (gamma_test): Likewise.
6231         (hypot_test): Likewise.
6232         (j0_test): Likewise.
6233         (j1_test): Likewise.
6234         (jn_test): Likewise.
6235         (lgamma_test): Likewise.
6236         (log_test): Likewise.
6237         (log10_test): Likewise.
6238         (log1p_test): Likewise.
6239         (log2_test): Likewise.
6240         (logb_test_downward): Likewise.
6241         (pow_test): Likewise.
6242         (pow_test_tonearest): Likewise.
6243         (pow_test_towardzero): Likewise.
6244         (pow_test_downward): Likewise.
6245         (pow_test_upward): Likewise.
6246         (remainder_test): Likewise.
6247         (remquo_test): Likewise.
6248         (sin_test): Likewise.
6249         (sin_test_tonearest): Likewise.
6250         (sin_test_towardzero): Likewise.
6251         (sin_test_downward): Likewise.
6252         (sin_test_upward): Likewise.
6253         (sincos_test): Likewise.
6254         (sinh_test): Likewise.
6255         (sinh_test_tonearest): Likewise.
6256         (sinh_test_towardzero): Likewise.
6257         (sinh_test_downward): Likewise.
6258         (sinh_test_upward): Likewise.
6259         (sqrt_test): Likewise.
6260         (tan_test): Likewise.
6261         (tan_test_tonearest): Likewise.
6262         (tan_test_towardzero): Likewise.
6263         (tan_test_downward): Likewise.
6264         (tan_test_upward): Likewise.
6265         (tanh_test): Likewise.
6266         (tgamma_test): Likewise.
6267         (y0_test): Likewise.
6268         (y1_test): Likewise.
6269         (yn_test): Likewise.
6271         * math/gen-libm-test.pl (adjust_arg): Remove function.
6272         (special_function): Remove argument $in_func.  Only handle
6273         generating output for tables of tests, not inside functions.
6274         (parse_args): Likewise.
6275         (generate_testfile): Remove variable $in_func.  Update call to
6276         parse_args.
6277         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6278         (MINUS_ZERO_INIT): Rename macro to minus_zero.
6279         (PLUS_INFTY_INIT): Rename macro to plus_infty.
6280         (MINUS_INFTY_INIT): Rename macro to minus_infty.
6281         (QNAN_VALUE_INIT): Rename macro to qnan_value.
6282         (MAX_VALUE_INIT): Rename macro to max_value.
6283         (MIN_VALUE_INIT): Rename macro to min_value.
6284         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6285         (plus_zero): Remove variable.
6286         (minus_zero): Likewise.
6287         (plus_infty): Likewise.
6288         (minus_infty): Likewise.
6289         (qnan_value): Likewise.
6290         (max_value): Likewise.
6291         (min_value): Likewise.
6292         (min_subnorm_value): Likewise.
6294 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6296         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6297         uint64_t or uint32_t usage.
6298         * crypt/sha256-block.c: Likewise.
6299         * crypt/sha256-crypt.c: Likewise.
6300         * crypt/sha256.c: Likewise.
6301         * crypt/sha512-block.c: Likewise.
6302         * crypt/sha512-crypt.c: Likewise.
6303         * crypt/sha512.c: Likewise.
6304         * debug/backtrace-tst.c: Likewise.
6305         * debug/pcprofiledump.c: Likewise.
6306         * elf/cache.c: Likewise.
6307         * elf/dl-cache.c: Likewise.
6308         * elf/dl-misc.c: Likewise.
6309         * elf/dl-profile.c: Likewise.
6310         * elf/dl-support.c: Likewise.
6311         * elf/ldconfig.c: Likewise.
6312         * elf/sprof.c: Likewise.
6313         * iconv/dummy-repertoire.c: Likewise.
6314         * iconv/iconv_charmap.c: Likewise.
6315         * iconv/skeleton.c: Likewise.
6316         * iconvdata/8bit-generic.c: Likewise.
6317         * iconvdata/cp737.h: Likewise.
6318         * iconvdata/cp775.h: Likewise.
6319         * iconvdata/ibm1008.h: Likewise.
6320         * iconvdata/ibm1025.h: Likewise.
6321         * iconvdata/ibm1046.h: Likewise.
6322         * iconvdata/ibm1097.h: Likewise.
6323         * iconvdata/ibm1112.h: Likewise.
6324         * iconvdata/ibm1122.h: Likewise.
6325         * iconvdata/ibm1123.h: Likewise.
6326         * iconvdata/ibm1124.h: Likewise.
6327         * iconvdata/ibm1129.h: Likewise.
6328         * iconvdata/ibm1130.h: Likewise.
6329         * iconvdata/ibm1132.h: Likewise.
6330         * iconvdata/ibm1133.h: Likewise.
6331         * iconvdata/ibm1137.h: Likewise.
6332         * iconvdata/ibm1140.h: Likewise.
6333         * iconvdata/ibm1141.h: Likewise.
6334         * iconvdata/ibm1142.h: Likewise.
6335         * iconvdata/ibm1143.h: Likewise.
6336         * iconvdata/ibm1144.h: Likewise.
6337         * iconvdata/ibm1145.h: Likewise.
6338         * iconvdata/ibm1146.h: Likewise.
6339         * iconvdata/ibm1147.h: Likewise.
6340         * iconvdata/ibm1148.h: Likewise.
6341         * iconvdata/ibm1149.h: Likewise.
6342         * iconvdata/ibm1153.h: Likewise.
6343         * iconvdata/ibm1154.h: Likewise.
6344         * iconvdata/ibm1155.h: Likewise.
6345         * iconvdata/ibm1156.h: Likewise.
6346         * iconvdata/ibm1157.h: Likewise.
6347         * iconvdata/ibm1158.h: Likewise.
6348         * iconvdata/ibm1160.h: Likewise.
6349         * iconvdata/ibm1161.h: Likewise.
6350         * iconvdata/ibm1162.h: Likewise.
6351         * iconvdata/ibm1163.h: Likewise.
6352         * iconvdata/ibm1164.h: Likewise.
6353         * iconvdata/ibm1166.h: Likewise.
6354         * iconvdata/ibm1167.h: Likewise.
6355         * iconvdata/ibm12712.h: Likewise.
6356         * iconvdata/ibm1390.h: Likewise.
6357         * iconvdata/ibm1399.h: Likewise.
6358         * iconvdata/ibm16804.h: Likewise.
6359         * iconvdata/ibm4517.h: Likewise.
6360         * iconvdata/ibm4899.h: Likewise.
6361         * iconvdata/ibm4909.h: Likewise.
6362         * iconvdata/ibm4971.h: Likewise.
6363         * iconvdata/ibm5347.h: Likewise.
6364         * iconvdata/ibm803.h: Likewise.
6365         * iconvdata/ibm856.h: Likewise.
6366         * iconvdata/ibm901.h: Likewise.
6367         * iconvdata/ibm902.h: Likewise.
6368         * iconvdata/ibm9030.h: Likewise.
6369         * iconvdata/ibm9066.h: Likewise.
6370         * iconvdata/ibm921.h: Likewise.
6371         * iconvdata/ibm922.h: Likewise.
6372         * iconvdata/ibm9448.h: Likewise.
6373         * iconvdata/isiri-3342.h: Likewise.
6374         * iconvdata/jis0201.h: Likewise.
6375         * include/link.h: Likewise.
6376         * include/netdb.h: Likewise.
6377         * inet/check_native.c: Likewise.
6378         * inet/check_pf.c: Likewise.
6379         * inet/getipv4sourcefilter.c: Likewise.
6380         * inet/getnameinfo.c: Likewise.
6381         * inet/getsourcefilter.c: Likewise.
6382         * inet/htonl.c: Likewise.
6383         * inet/setipv4sourcefilter.c: Likewise.
6384         * inet/setsourcefilter.c: Likewise.
6385         * inet/test-inet6_opt.c: Likewise.
6386         * inet/tst-network.c: Likewise.
6387         * locale/C-collate.c: Likewise.
6388         * locale/C-ctype.c: Likewise.
6389         * locale/C-time.c: Likewise.
6390         * locale/C-translit.h: Likewise.
6391         * locale/loadarchive.c: Likewise.
6392         * locale/programs/3level.h: Likewise.
6393         * locale/programs/charmap.c: Likewise.
6394         * locale/programs/charmap.h: Likewise.
6395         * locale/programs/ld-address.c: Likewise.
6396         * locale/programs/ld-collate.c: Likewise.
6397         * locale/programs/ld-ctype.c: Likewise.
6398         * locale/programs/ld-identification.c: Likewise.
6399         * locale/programs/ld-measurement.c: Likewise.
6400         * locale/programs/ld-messages.c: Likewise.
6401         * locale/programs/ld-monetary.c: Likewise.
6402         * locale/programs/ld-name.c: Likewise.
6403         * locale/programs/ld-numeric.c: Likewise.
6404         * locale/programs/ld-paper.c: Likewise.
6405         * locale/programs/ld-telephone.c: Likewise.
6406         * locale/programs/ld-time.c: Likewise.
6407         * locale/programs/linereader.c: Likewise.
6408         * locale/programs/locale.c: Likewise.
6409         * locale/programs/locarchive.c: Likewise.
6410         * locale/programs/locfile.h: Likewise.
6411         * locale/programs/repertoire.c: Likewise.
6412         * locale/programs/simple-hash.c: Likewise.
6413         * locale/programs/simple-hash.h: Likewise.
6414         * malloc/memusage.c: Likewise.
6415         * malloc/memusagestat.c: Likewise.
6416         * nis/nis_defaults.c: Likewise.
6417         * nis/nis_hash.c: Likewise.
6418         * nis/nis_print.c: Likewise.
6419         * nis/nis_xdr.c: Likewise.
6420         * nscd/connections.c: Likewise.
6421         * nscd/hstcache.c: Likewise.
6422         * nscd/nscd_gethst_r.c: Likewise.
6423         * nscd/nscd_getserv_r.c: Likewise.
6424         * nscd/nscd_helper.c: Likewise.
6425         * nscd/servicescache.c: Likewise.
6426         * nss/makedb.c: Likewise.
6427         * nss/nss_db/db-XXX.c: Likewise.
6428         * nss/nss_db/db-initgroups.c: Likewise.
6429         * nss/nss_db/db-netgrp.c: Likewise.
6430         * nss/nss_files/files-network.c: Likewise.
6431         * nss/nss_files/files-parse.c: Likewise.
6432         * posix/bug-regex5.c: Likewise.
6433         * posix/fnmatch_loop.c: Likewise.
6434         * posix/regcomp.c: Likewise.
6435         * posix/regexec.c: Likewise.
6436         * posix/tst-rfc3484-2.c: Likewise.
6437         * posix/tst-rfc3484-3.c: Likewise.
6438         * posix/tst-rfc3484.c: Likewise.
6439         * resolv/nss_dns/dns-canon.c: Likewise.
6440         * resolv/nss_dns/dns-network.c: Likewise.
6441         * resolv/res_init.c: Likewise.
6442         * resolv/res_mkquery.c: Likewise.
6443         * resolv/tst-aton.c: Likewise.
6444         * stdlib/cxa_atexit.c: Likewise.
6445         * stdlib/cxa_finalize.c: Likewise.
6446         * stdlib/gen-fpioconst.c: Likewise.
6447         * stdlib/strtol_l.c: Likewise.
6448         * string/tst-endian.c: Likewise.
6449         * sunrpc/auth_des.c: Likewise.
6450         * sunrpc/clnt_udp.c: Likewise.
6451         * sunrpc/rtime.c: Likewise.
6452         * sunrpc/svcauth_des.c: Likewise.
6453         * sunrpc/xdr.c: Likewise.
6454         * sunrpc/xdr_intXX_t.c: Likewise.
6455         * sunrpc/xdr_rec.c: Likewise.
6456         * sysdeps/generic/ldconfig.h: Likewise.
6457         * sysdeps/generic/ldsodefs.h: Likewise.
6458         * sysdeps/generic/memusage.h: Likewise.
6459         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6460         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6461         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6462         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6463         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6465         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6466         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6467         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6468         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6469         * sysdeps/posix/getaddrinfo.c: Likewise.
6470         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6471         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6472         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6473         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6474         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6475         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6476         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6477         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6478         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6479         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6480         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6481         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6482         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6483         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6484         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6485         * sysdeps/x86_64/dl-tls.h: Likewise.
6486         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6487         * time/alt_digit.c: Likewise.
6488         * time/era.c: Likewise.
6489         * wcsmbs/tst-c16c32-1.c: Likewise.
6491 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6493         * math/libm-test.inc (struct test_sincos_data): New type.
6494         (RUN_TEST_LOOP_sincos): New macro.
6495         (sincos_test_data): New variable.
6496         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6498 2013-05-16  Richard Henderson  <rth@redhat.com>
6500         * math/atest-exp2.c (LIMB64): New macro.
6501         (CONSTSZ): New macro.
6502         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6503         (hexdig): Move ...
6504         (print_mpn_fp): ... to function scope.
6505         (read_mpn_hex): Remove.
6506         (get_log2): Remove.
6507         (exp2_mpn): Use mp_log2.
6508         (main): Use mp_exp1.
6510 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6512         * math/libm-test.inc: Remove comment about not testing "inexact"
6513         exceptions.
6514         (INEXACT_EXCEPTION): New macro.
6515         (NO_INEXACT_EXCEPTION): Likewise.
6516         (INVALID_EXCEPTION_OK): Update value.
6517         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6518         (OVERFLOW_EXCEPTION_OK): Likewise.
6519         (UNDERFLOW_EXCEPTION_OK): Likewise.
6520         (IGNORE_ZERO_INF_SIGN): Likewise.
6521         (ERRNO_UNCHANGED): Likewise.
6522         (ERRNO_EDOM): Likewise.
6523         (ERRNO_ERANGE): Likewise.
6524         (test_exceptions): Handle testing "inexact" exceptions.
6525         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6526         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6527         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6528         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6529         INEXACT_EXCEPTION.
6530         (rint_towardzero_test_data): Likewise.
6531         (rint_downward_test_data): Likewise.
6532         (rint_upward_test_data): Likewise.
6534         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6535         with OVERFLOW_EXCEPTION.
6536         (exp10_test_data): Likewise.
6537         (exp2_test_data): Likewise.
6538         (expm1_test_data): Likewise.
6539         (lgamma_test_data): Likewise.
6540         (pow_test_data): Likewise.
6541         (tgamma_test_data): Likewise.
6542         (yn_test_data): Remove duplicate test of overflow.
6544         * math/libm-test.inc (struct test_cc_c_data): New type.
6545         (RUN_TEST_LOOP_cc_c): New macro.
6546         (cpow_test_data): New variable.
6547         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6549         * math/libm-test.inc (struct test_f_L_data): New type.
6550         (RUN_TEST_LOOP_f_L): New macro.
6551         (llrint_test_data): New variable.
6552         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6553         (llrint_tonearest_test_data): New variable.
6554         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6555         (llrint_towardzero_test_data): New variable.
6556         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6557         (llrint_downward_test_data): New variable.
6558         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6559         (llrint_upward_test_data): New variable.
6560         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6561         (llround_test_data): New variable.
6562         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6564 2013-05-13  Peter Collingbourne  <pcc@google.com>
6566         * math/atest-exp2.c (get_log2): Remove const attribute.
6568 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6570         * math/libm-test.inc (struct test_f_l_data): New type.
6571         (RUN_TEST_LOOP_f_l): New macro.
6572         (lrint_test_data): New variable.
6573         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6574         (lrint_tonearest_test_data): New variable.
6575         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6576         (lrint_towardzero_test_data): New variable.
6577         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6578         (lrint_downward_test_data): New variable.
6579         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6580         (lrint_upward_test_data): New variable.
6581         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6582         (lround_test_data): New variable.
6583         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6585 2013-05-15  Peter Collingbourne  <pcc@google.com>
6587         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6588         (EXTRACT_WORDS64) Use where appropriate.
6589         (INSERT_WORDS64) Likewise.
6591         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6592         constraints with x constraints.
6593         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6595         * malloc/obstack.c (_obstack_compat): Add initializer.
6597 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6600         si_trapno and add si_addr_lsb to _sifields.sigfault.
6601         (si_trapno): Remove macro.
6602         (si_addr_lsb): Define new macro.
6603         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6605 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6607         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6608         instead of TEST_f_l.
6609         (llrint_test_tonearest): Likewise.
6610         (llrint_test_towardzero): Likewise.
6611         (llrint_test_downward): Likewise.
6612         (llrint_test_upward): Likewise.
6613         (llround_test): Likewise.
6615         * math/libm-test.inc (struct test_f_i_data): Add comment.
6616         (RUN_TEST_LOOP_f_b): New macro.
6617         (RUN_TEST_LOOP_f_b_tg): Likewise.
6618         (finite_test_data): New variable.
6619         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6620         (isfinite_test_data): New variable.
6621         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6622         (isinf_test_data): New variable.
6623         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6624         (isnan_test_data): New variable.
6625         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6626         (isnormal_test_data): New variable.
6627         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6628         (issignaling_test_data): New variable.
6629         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6630         (signbit_test_data): New variable.
6631         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6633         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6634         with INVALID_EXCEPTION.
6635         (acosh_test_data): Likewise.
6636         (asin_test_data): Likewise.
6637         (atanh_test_data): Likewise.
6638         (fmod_test_data): Likewise.
6639         (log_test_data): Likewise.
6640         (log10_test_data): Likewise.
6641         (log2_test_data): Likewise.
6642         (pow_test_data): Likewise.
6643         (sqrt_test_data): Likewise.
6644         (y0_test_data): Likewise.
6645         (y1_test_data): Likewise.
6646         (yn_test_data): Likewise.
6648         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6649         function contents.
6651         * math/libm-test.inc (struct test_ff_i_data): New type.
6652         (RUN_TEST_LOOP_ff_i_tg): New macro.
6653         (isgreater_test_data): New variable.
6654         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6655         (isgreaterequal_test_data): New variable.
6656         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6657         (isless_test_data): New variable.
6658         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6659         (islessequal_test_data): New variable.
6660         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6661         (islessgreater_test_data): New variable.
6662         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6663         (isunordered_test_data): New variable.
6664         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6666 2013-05-14  David S. Miller  <davem@davemloft.net>
6668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6670 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6672         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6674         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6675         extra_test to int.
6676         (struct test_f_i_data): Change type of max_ulp to int.
6678         * math/libm-test.inc (test_ffI_f1_data): New type.
6679         (RUN_TEST_LOOP_ffI_f1): New macro.
6680         (remquo_test_data): New variable.
6681         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6683         * setjmp/tst-setjmp-fp.c: New file.
6684         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6685         (link-libm): New variable.
6686         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6688         * math/libm-test.inc (struct test_f_i_data): New type.
6689         (RUN_TEST_LOOP_f_i): New macro.
6690         (RUN_TEST_LOOP_f_i_tg): Likewise.
6691         (fpclassify_test_data): New variable.
6692         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6693         (ilogb_test_data): New variable.
6694         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6696         * math/libm-test.inc (scalbln_test): Correct function name in END
6697         call.
6699         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6700         (RUN_TEST_LOOP_fI_f1): New macro.
6701         (frexp_test_data): New variable.
6702         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6704         * math/libm-test.inc (struct test_fF_f1_data): New type.
6705         (RUN_TEST_LOOP_fF_f1): New macro.
6706         (modf_test_data): New variable.
6707         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6709         * math/libm-test.inc (struct test_f_f1_data): New type.
6710         (RUN_TEST_LOOP_f_f1): New macro.
6711         (gamma_test_data): New variable.
6712         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6713         (lgamma_test_data): New variable.
6714         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6716 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6718         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6719         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6720         (main): Comment "tls" pseudo-hwcap.
6722 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6724         * math/libm-test.inc (struct test_fl_f_data): New type.
6725         (RUN_TEST_LOOP_fl_f): New variable.
6726         (scalbln_test_data): New variable.
6727         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6729         * math/libm-test.inc (struct test_fi_f_data): New type.
6730         (RUN_TEST_LOOP_fi_f): New macro.
6731         (ldexp_test_data): New variable.
6732         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6733         (scalbn_test_data): New variable.
6734         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6736         * math/libm-test.inc (struct test_c_f_data): New type.
6737         (RUN_TEST_LOOP_c_f): New macro.
6738         (cabs_test_data): New variable.
6739         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6740         (carg_test_data): New variable.
6741         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6742         (cimag_test_data): New variable.
6743         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6744         (creal_test_data): New variable.
6745         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6747         * math/libm-test.inc (struct test_if_f_data): New type.
6748         (RUN_TEST_LOOP_if_f): New macro.
6749         (jn_test_data): New variable.
6750         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6751         (yn_test_data): New variable.
6752         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6754         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6756 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6758         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6759         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6761 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6763         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6764         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6765         (bench-deps): Add bench-timing.h.
6766         * benchtests-bench-skeleton.c: Include bench-timing.h.
6767         (main): Use TIMING_* macros instead of clock_gettime.
6768         * benchtests/bench-timing.h: New file.
6770         [BZ #14582]
6771         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6772         Renamed from _LIB_VERSION.
6773         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6775 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6777         * math/libm-test.inc (struct test_fff_f_data): New type.
6778         (RUN_TEST_LOOP_fff_f): New macro.
6779         (fma_test_data): New variable.
6780         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6781         (fma_towardzero_test_data): New variable.
6782         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6783         (fma_downward_test_data): New variable.
6784         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6785         (fma_upward_test_data): New variable.
6786         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6788         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6789         (struct test_c_c_data): New type.
6790         (RUN_TEST_LOOP_c_c): New macro.
6791         (cacos_test_data): New variable.
6792         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6793         (cacosh_test_data): New variable.
6794         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6795         (casin_test_data): New variable.
6796         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6797         (casinh_test_data): New variable.
6798         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6799         (catan_test_data): New variable.
6800         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6801         (catanh_test_data): New variable.
6802         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6803         (ccos_test_data): New variable.
6804         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6805         (ccosh_test_data): New variable.
6806         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6807         (cexp_test_data): New variable.
6808         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6809         (clog_test_data): New variable.
6810         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6811         (clog10_test_data): New variable.
6812         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6813         (conj_test_data): New variable.
6814         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6815         (cproj_test_data): New variable.
6816         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6817         (csin_test_data): New variable.
6818         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6819         (csinh_test_data): New variable.
6820         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6821         (csqrt_test_data): New variable.
6822         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6823         (ctan_test_data): New variable.
6824         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6825         (ctan_tonearest_test_data): New variable.
6826         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6827         (ctan_towardzero_test_data): New variable.
6828         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6829         (ctan_downward_test_data): New variable.
6830         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6831         (ctan_upward_test_data): New variable.
6832         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6833         (ctanh_test_data): New variable.
6834         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6835         (ctanh_tonearest_test_data): New variable.
6836         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6837         (ctanh_towardzero_test_data): New variable.
6838         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6839         (ctanh_downward_test_data): New variable.
6840         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6841         (ctanh_upward_test_data): New variable.
6842         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6843         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6844         of BUILD_COMPLEX.
6846         * math/libm-test.inc (struct test_ff_f_data): New type.
6847         (struct test_ff_f_data_nexttoward): Likewise.
6848         (RUN_TEST_LOOP_2_f): New macro.
6849         (RUN_TEST_LOOP_ff_f): Likewise.
6850         (atan2_test_data): New variable.
6851         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6852         (copysign_test_data): New variable.
6853         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6854         (fdim_test_data): New variable.
6855         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6856         (fmax_test_data): New variable.
6857         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6858         (fmin_test_data): New variable.
6859         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6860         (fmod_test_data): New variable.
6861         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6862         (hypot_test_data): New variable.
6863         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6864         (nextafter_test_data): New variable.
6865         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6866         (nexttoward_test_data): New variable.
6867         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6868         (pow_test_data): New variable.
6869         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6870         (pow_tonearest_test_data): New variable.
6871         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6872         (pow_towardzero_test_data): New variable.
6873         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6874         (pow_downward_test_data): New variable.
6875         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6876         (pow_upward_test_data): New variable.
6877         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6878         (remainder_test_data): New variable.
6879         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6880         (scalb_test_data): New variable.
6881         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6882         * sysdeps/i386/fpu/libm-test-ulps: Update.
6884 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6886         * math/libm-test.inc (fma_test): Use max_value instead of local
6887         variable fltmax.
6888         (nextafter_test): Likewise.
6890         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6891         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6892         (acos_downward_test_data): New variable.
6893         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6894         (acos_upward_test_data): New variable.
6895         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6896         (acosh_test_data): New variable.
6897         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6898         (asin_test_data): New variable.
6899         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6900         (asin_tonearest_test_data): New variable.
6901         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6902         (asin_towardzero_test_data): New variable.
6903         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6904         (asin_downward_test_data): New variable.
6905         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6906         (asin_upward_test_data): New variable.
6907         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6908         (asinh_test_data): New variable.
6909         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6910         (atan_test_data): New variable.
6911         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6912         (atanh_test_data): New variable.
6913         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6914         (cbrt_test_data): New variable.
6915         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6916         (ceil_test_data): New variable.
6917         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6918         (cos_test_data): New variable.
6919         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6920         (cos_tonearest_test_data): New variable.
6921         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6922         (cos_towardzero_test_data): New variable.
6923         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6924         (cos_downward_test_data): New variable.
6925         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6926         (cos_upward_test_data): New variable.
6927         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6928         (cosh_test_data): New variable.
6929         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6930         (cosh_tonearest_test_data): New variable.
6931         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6932         (cosh_towardzero_test_data): New variable.
6933         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6934         (cosh_downward_test_data): New variable.
6935         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6936         (cosh_upward_test_data): New variable.
6937         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6938         (erf_test_data): New variable.
6939         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6940         (erfc_test_data): New variable.
6941         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6942         (exp_test_data): New variable.
6943         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6944         (exp_tonearest_test_data): New variable.
6945         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6946         (exp_towardzero_test_data): New variable.
6947         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6948         (exp_downward_test_data): New variable.
6949         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6950         (exp_upward_test_data): New variable.
6951         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6952         (exp10_test_data): New variable.
6953         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6954         (exp2_test_data): New variable.
6955         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6956         (expm1_test_data): New variable.
6957         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6958         (fabs_test_data): New variable.
6959         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6960         (floor_test_data): New variable.
6961         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6962         (j0_test_data): New variable.
6963         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6964         (j1_test_data): New variable.
6965         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6966         (log_test_data): New variable.
6967         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6968         (log10_test_data): New variable.
6969         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6970         (log1p_test_data): New variable.
6971         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6972         (log2_test_data): New variable.
6973         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6974         (logb_test_data): New variable.
6975         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6976         (logb_downward_test_data): New variable.
6977         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6978         (nearbyint_test_data): New variable.
6979         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6980         (rint_test_data): New variable.
6981         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6982         (rint_tonearest_test_data): New variable.
6983         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6984         (rint_towardzero_test_data): New variable.
6985         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6986         (rint_downward_test_data): New variable.
6987         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6988         (rint_upward_test_data): New variable.
6989         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6990         (round_test_data): New variable.
6991         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6992         (sin_test_data): New variable.
6993         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6994         (sin_tonearest_test_data): New variable.
6995         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6996         (sin_towardzero_test_data): New variable.
6997         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6998         (sin_downward_test_data): New variable.
6999         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7000         (sin_upward_test_data): New variable.
7001         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7002         (sinh_test_data): New variable.
7003         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7004         (sinh_tonearest_test_data): New variable.
7005         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7006         (sinh_towardzero_test_data): New variable.
7007         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7008         (sinh_downward_test_data): New variable.
7009         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7010         (sinh_upward_test_data): New variable.
7011         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7012         (sqrt_test_data): New variable.
7013         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7014         (tan_test_data): New variable.
7015         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7016         (tan_tonearest_test_data): New variable.
7017         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7018         (tan_towardzero_test_data): New variable.
7019         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7020         (tan_downward_test_data): New variable.
7021         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7022         (tan_upward_test_data): New variable.
7023         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7024         (tanh_test_data): New variable.
7025         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7026         (tgamma_test_data): New variable.
7027         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7028         (trunc_test_data): New variable.
7029         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7030         (y0_test_data): New variable.
7031         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7032         (y1_test_data): New variable.
7033         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7034         (significand_test_data): New variable.
7035         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7037 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
7039         [BZ #12387]
7040         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7042 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7044         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7046 2013-05-10  Andreas Jaeger  <aj@suse.de>
7048         [BZ #15448]
7049         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7050         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7052 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7054         * math/gen-libm-test.pl (adjust_arg): New function.
7055         (special_functions): Handle generating output in both functions
7056         and arrays.
7057         (parse_args): Likewise.
7058         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
7059         $in_func argument to parse_args.
7060         * math/libm-test.inc (struct test_f_f_data): New type.
7061         (IF_ROUND_INIT_): New macro.
7062         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7063         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7064         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7065         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7066         (ROUND_RESTORE_): Likewise.
7067         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7068         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7069         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7070         (ROUND_RESTORE_FE_UPWARD): Likewise.
7071         (RUN_TEST_LOOP_f_f): New macro.
7072         (acos_test_data): New variable.
7073         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7074         (acos_tonearest_test_data): New variable.
7075         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7077 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7079         * benchtests/bench-skeleton.c (startup): Fix coding style.
7081 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7083         [BZ #6809]
7084         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7085         negative infinity argument.
7086         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7087         negative infinity argument.
7088         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7089         negative infinity argument.
7090         * math/libm-test.inc (tgamma_test): Expect errno to be set for
7091         domain errors.
7093 2013-05-10  Florian Weimer  <fweimer@redhat.com>
7095         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7096         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7097         * iconv/iconv_prog.c (main): Likewise.
7098         * locale/programs/charmap-dir.c (charmap_readdir)
7099         (fopen_uncompressed): Likewise.
7100         * locale/programs/locfile.c (siblings_uncached)
7101         (write_locale_data): Use lstat64 instead of lstat.
7102         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7103         stat.
7105 2013-05-10  Andreas Jaeger  <aj@suse.de>
7107         [BZ #15395]
7108         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7109         localization.
7110         Include <locale.h>.
7112 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
7114         * elf/dl-close.c (_dl_close_worker): Add comments.
7116 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
7118         [BZ #15359]
7119         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7120         high part of pi/2.
7121         (__ieee754_rem_pio2l): Update comments.
7123         [BZ #15429]
7124         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7125         high part of pi/2.
7126         (__ieee754_rem_pio2l): Update comments.
7128         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7129         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7131         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7132         M_PI_4l.
7134         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7135         (M_PI_34_LOG10El): Likewise.
7136         (M_PI2_LOG10El): Likewise.
7137         (M_PI4_LOG10El): Likewise.
7138         (M_PI_LOG10El): Likewise.
7140 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7144 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
7146         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7147         (MINUS_ZERO_INIT): Likewise.
7148         (PLUS_INFTY_INIT): Likewise.
7149         (MINUS_INFTY_INIT): Likewise.
7150         (QNAN_VALUE_INIT): Likewise.
7151         (MAX_VALUE_INIT): Likewise.
7152         (MIN_VALUE_INIT): Likewise.
7153         (MIN_SUBNORM_VALUE_INIT): Likewise.
7154         (plus_zero): Initialize with PLUS_ZERO_INIT.
7155         (minus_zero): Initialize with MINUS_ZERO_INIT.
7156         (plus_infty): Initialize with PLUS_INFTY_INIT.
7157         (minus_infty): Initialize with MINUS_INFTY_INIT.
7158         (qnan_value): Initialize with QNAN_VALUE_INIT.
7159         (max_value): Initialize with MAX_VALUE_INIT.
7160         (min_value): Initialize with MIN_VALUE_INIT.
7161         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7163         * math/libm-test.inc (RUN_TEST_if_f): New macro.
7164         (jn_test): Use TEST_if_f instead of TEST_ff_f.
7165         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7166         (yn_test): Use TEST_if_f instead of TEST_ff_f.
7168         * math/libm-test.inc (RUN_TEST_f_f): New macro.
7169         (RUN_TEST_2_f): Likewise.
7170         (RUN_TEST_ff_f): Likewise.
7171         (RUN_TEST_fi_f): Likewise.
7172         (RUN_TEST_fl_f): Likewise.
7173         (RUN_TEST_fff_f): Likewise.
7174         (RUN_TEST_c_f): Likewise.
7175         (RUN_TEST_f_f1): Likewise.
7176         (RUN_TEST_fF_f1): Likewise.
7177         (RUN_TEST_fI_f1): Likewise.
7178         (RUN_TEST_ffI_f1): Likewise.
7179         (RUN_TEST_c_c): Likewise.
7180         (RUN_TEST_cc_c): Likewise.
7181         (RUN_TEST_f_i): Likewise.
7182         (RUN_TEST_f_i_tg): Likewise.
7183         (RUN_TEST_ff_i_tg): Likewise.
7184         (RUN_TEST_f_b): Likewise.
7185         (RUN_TEST_f_b_tg): Likewise.
7186         (RUN_TEST_f_l): Likewise.
7187         (RUN_TEST_f_L): Likewise.
7188         (RUN_TEST_sincos): Likewise.
7189         * math/gen-libm-test.pl (new_test): Take new argument to indicate
7190         whether to show exceptions.  Do not include ");\n" in return
7191         value.
7192         (special_functions): Output call to RUN_TEST_sincos instead of
7193         check_float calls.  Update calls to new_test.
7194         (parse_args): Output call to single RUN_TEST_* macro instead of
7195         check_* calls and other assignments.  Update calls to new_test.
7197         [BZ #2546]
7198         [BZ #2560]
7199         [BZ #5159]
7200         [BZ #15426]
7201         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7202         input to result for tgamma overflow.
7203         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7204         (gamma_coeff): New variable.
7205         (NCOEFF): New macro.
7206         (gamma_positive): New function.
7207         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7208         underflow here.  Use gamma_positive instead of exp (lgamma) for
7209         other arguments.
7210         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7211         (gamma_coeff): New variable.
7212         (NCOEFF): New macro.
7213         (gammaf_positive): New function.
7214         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7215         underflow here.  Use gamma_positive instead of exp (lgamma) for
7216         other arguments.
7217         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7218         (gamma_coeff): New variable.
7219         (NCOEFF): New macro.
7220         (gammal_positive): New function.
7221         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7222         underflow here.  Use gamma_positive instead of exp (lgamma) for
7223         other arguments.
7224         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7225         (gamma_coeff): New variable.
7226         (NCOEFF): New macro.
7227         (gammal_positive): New function.
7228         (__ieee754_gammal_r): Handle positive infinity, overflow and
7229         underflow here.  Handle NaN the same as positive infinity.  Remove
7230         check x < 0xffffffff for negative integers.  Use gamma_positive
7231         instead of exp (lgamma) for other arguments.
7232         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7233         (gamma_coeff): New variable.
7234         (NCOEFF): New macro.
7235         (gammal_positive): New function.
7236         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7237         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7238         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7239         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7240         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7241         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7242         * sysdeps/generic/math_private.h (__gamma_productf): New
7243         prototype.
7244         (__gamma_product): Likewise.
7245         (__gamma_productl): Likewise.
7246         * math/Makefile (libm-calls): Add gamma_product.
7247         * math/libm-test.inc (tgamma_test): Add more tests.
7248         * sysdeps/i386/fpu/libm-test-ulps: Update.
7249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7251 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
7253         * benchtests/bench-skeleton.c (main): Preheat CPU.
7255 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
7257         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7259 2013-05-07  Roland McGrath  <roland@hack.frob.com>
7261         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7262         and _dl_skip_args_internal.
7264 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
7266         * manual/message.texi (Message Translation): Talk about users.
7267         Message to key mapping impacts design.
7269 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7271         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7273         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7275         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7276         * sysdeps/wordsize-64/glob64.c: ... here.
7278         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7279         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7280         New macros.
7282         * debug/getlogin_r_chk.c: Moved to ...
7283         * login/getlogin_r_chk.c: ... here.
7284         * debug/Makefile (routines): Move getlogin_r_chk to ...
7285         * login/Makefile (routines): ... here.
7286         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7287         * login/Versions (libc: GLIBC_2.4): ... here.
7289         * io/poll.c (__poll): Renamed from poll.
7290         Add libc_hidden_def.
7291         (poll): Define as weak alias.
7293         * debug/ptsname_r_chk.c: Moved to ...
7294         * login/ptsname_r_chk.c: ... here.
7295         * debug/Makefile (routines): Move ptsname_r_chk to ...
7296         * login/Makefile (routines): ... here.
7297         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7298         * login/Versions (libc: GLIBC_2.4): ... here.
7300         * posix/getlogin.c: Moved to ...
7301         * login/getlogin.c: ... here.
7302         * posix/getlogin_r.c: Moved to ...
7303         * login/getlogin_r.c: ... here.
7304         * posix/getlogin_r.c: Moved to ...
7305         * login/getlogin_r.c: ... here.
7306         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7307         * login/Makefile (routines): ... here.
7308         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7309         * login/Versions (libc: GLIBC_2.0): ... here.
7311         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7312         (setrlimit): Define as weak alias.
7314         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7315         Call __ names for open, ftruncate, and close.
7316         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7317         (truncate): Define as weak alias.
7319 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
7321         * math/gen-libm-test.pl (parse_args): Initialize x before each
7322         test of frexp, modf and remquo.
7324         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7325         test signgam value.
7327 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7329         [BZ #15418]
7330         [BZ #15419]
7331         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7332         internal tests.
7333         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7335 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7337         * elf/dl-writev.h: New file.
7338         * elf/dl-misc.c: Include it.
7339         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7340         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7342 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
7344         * math/libm-test.inc (noXFails): Remove variable.
7345         (noXPasses): Likewise.
7346         (BUILD_COMPLEX_INT): Remove macro.
7347         (print_screen): Remove xfail argument.
7348         (print_screen_max_error): Likewise.
7349         (update_stats): Likewise.
7350         (print_max_error): Likewise.  Update calls to other affected
7351         functions.
7352         (print_complex_max_error): Likewise.
7353         (test_single_exception): Update calls to print_screen.
7354         (test_single_errno): Likewise.
7355         (check_float_internal): Remove xfail argument.  Update calls to
7356         other affected functions.
7357         (check_float): Likewise.
7358         (check_complex): Likewise.
7359         (check_int): Likewise.
7360         (check_long): Likewise.
7361         (check_bool): Likewise.
7362         (check_longlong): Likewise.
7363         (main): Don't print noXFails and noXPasses.
7364         * math/gen-libm-test.pl (top level): Don't mention expected
7365         failure handling in comment.
7366         (new_test): Don't handle expected failures.
7367         (parse_args): Don't mention expected failure handling in comment.
7368         (generate_testfile): Don't handle expected failures.
7369         (parse_ulps): Likewise.
7370         (print_ulps_file): Likewise.
7371         (get_failure): Remove function.
7372         (output_test): Don't handle expected failures.
7373         * make/README.libm-test: Don't mention expected failure handling.
7375         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
7376         (minus_zero): Likewise.
7377         (plus_infty): Likewise.
7378         (minus_infty): Likewise.
7379         (qnan_value): Likewise.
7380         (max_value): Likewise.
7381         (min_value): Likewise.
7382         (min_subnorm_value): Likewise.
7383         (initialize): Do not initialize those variables dynamically.
7385 2013-05-03  Roland McGrath  <roland@hack.frob.com>
7387         * io/open.c (__open_2): Moved to ...
7388         * io/open_2.c: ... this new file.
7389         * io/open64.c (__open64_2): Moved to ...
7390         * io/open64_2.c: ... this new file.
7391         * io/openat.c (__openat_2): Moved to ...
7392         * io/openat_2.c: ... this new file.
7393         * io/openat64.c (__openat64_2): Moved to ...
7394         * io/openat64_2.c: ... this new file.
7395         * io/Makefile (routines): Add them.
7396         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7397         * sysdeps/unix/sysv/linux/open_2.c: File removed.
7398         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7399         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7400         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7401         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7402         (__openat64): Add hidden_ver.
7403         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7404         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7406         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7407         Separately conditionalize setting of GLRO(dl_sysinfo) so
7408         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7409         as well, but the actual setting is only under [NEED_DL_SYSINFO].
7411 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7413         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7414         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7415         definition.
7416         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7417         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7418         (_libc_vdso_platform_setup): Add __vdso_time initialization.
7419         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7420         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7422 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
7424         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7425         test signgam value.
7427         * math/libm-test.inc (hypot_test): Do not use
7428         IGNORE_ZERO_INF_SIGN.
7430 2013-05-03  Andreas Jaeger  <aj@suse.de>
7432         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7433         Linux 3.9.
7434         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7435         (PF_MAX): Adjust for VSOCK change.
7437 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7441 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7443         [BZ #15264]
7444         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7445         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7446         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7448 2013-05-02  David S. Miller  <davem@davemloft.net>
7450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7452 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7454         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7456 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7458         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7460 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7462         [BZ #14952]
7463         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7464         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7465         Use __attribute__ ((__gnu_inline__)).
7466         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7467         Don't use __attribute__ ((__gnu_inline__)).
7469 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7471         [BZ #15423]
7472         * math/s_catan.c (__catan): Handle small real or imaginary part of
7473         input specially to avoid spurious underflow.
7474         * math/s_catanf.c (__catanf): Likewise.
7475         * math/s_catanh.c (__catanh): Likewise.
7476         * math/s_catanhf.c (__catanhf): Likewise.
7477         * math/s_catanhl.c (__catanhl): Likewise.
7478         * math/s_catanl.c (__catanl): Likewise.
7479         * math/libm-test.inc (catan_test): Add more tests.
7480         (catanh_test): Likewise.
7481         * sysdeps/i386/fpu/libm-test-ulps: Update.
7482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7484 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7488 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7490         [BZ #15416]
7491         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7492         accurately for denominator in atan2.
7493         * math/s_catanf.c (__catanf): Likewise.
7494         * math/s_catanh.c (__catanh): Likewise.
7495         * math/s_catanhf.c (__catanhf): Likewise.
7496         * math/s_catanhl.c (__catanhl): Likewise.
7497         * math/s_catanl.c (__catanl): Likewise.
7498         * math/libm-test.inc (catan_test): Add more tests.
7499         (catanh_test): Likewise.
7500         * sysdeps/i386/fpu/libm-test-ulps: Update.
7501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7503 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7505         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7507         * benchtests/Makefile (bench): Remove slow benchmarks.
7508         * benchtests/atan-inputs: Add slow benchmark inputs.
7509         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7510         (BENCH_FUNC): Accept variant offset.
7511         (VARIANT): Define.
7512         * benchtests/bench-skeleton.c (main): Run benchmark for each
7513         variant.
7514         * benchtests/cos-inputs: Add slow benchmark inputs.
7515         * benchtests/exp-inputs: Likewise.
7516         * benchtests/pow-inputs: Likewise.
7517         * benchtests/sin-inputs: Likewise.
7518         * benchtests/slowatan-inputs: Remove.
7519         * benchtests/slowatan.c: Remove.
7520         * benchtests/slowcos-inputs: Remove.
7521         * benchtests/slowcos.c: Remove.
7522         * benchtests/slowexp-inputs: Remove.
7523         * benchtests/slowexp.c: Remove.
7524         * benchtests/slowpow-inputs: Remove.
7525         * benchtests/slowpow.c: Remove.
7526         * benchtests/slowsin-inputs: Remove.
7527         * benchtests/slowsin.c: Remove.
7528         * benchtests/slowtan-inputs: Remove.
7529         * benchtests/slowtan.c: Remove.
7530         * benchtests/tan-inputs: Add slow benchmark inputs.
7531         * scripts/bench.pl: Parse comments and directives.
7533         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7534         in CPPFLAGS.
7535         ($(objpfx)bench-%.c): Remove *-ITER.
7536         * benchtests/bench-modf.c: Remove definition of ITER.
7537         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7538         (main): Loop for DURATION seconds instead of fixed number of
7539         iterations.
7540         * scripts/bench.pl: Don't expect iterations in parameters.
7542 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7544         * io/fchdir.c (__fchdir): Renamed from fchdir.
7545         (fchdir): Define as weak alias.
7547 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7549         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7550         (ERRNO_EDOM): Likewise.
7551         (ERRNO_ERANGE): Likewise.
7552         (noErrnoTests): New variable.
7553         (init_max_error): Set errno to 0.
7554         (test_single_errno): New function.
7555         (test_errno): Likewise.
7556         (check_float_internal): Call test_errno.  Set errno to 0.
7557         (check_complex): Refer to errno tests in comment.
7558         (check_int): Call test_errno.  Set errno to 0.
7559         (check_long): Likewise.
7560         (check_bool): Likewise.
7561         (check_longlong): Likewise.
7562         (cos_test): Use ERRNO_* flags for errno tests instead of
7563         check_int.
7564         (expm1_test): Likewise.
7565         (fmod_test): Likewise.
7566         (ilogb_test): Likewise.
7567         (lgamma_test): Likewise.
7568         (pow_test): Likewise.
7569         (remainder_test): Likewise.
7570         (sin_test): Likewise.
7571         (tan_test): Likewise.
7572         (yn_test): Likewise.
7573         (initialize): Set errno to 0.
7574         (main): Print number of errno tests.
7575         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7577 2013-04-29  Andreas Jaeger  <aj@suse.de>
7579         [BZ #15084]
7580         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7581         and RES_USEVC.
7583         [BZ #15085]
7584         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7585         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7586         unimplemented.
7588         [BZ #15380]
7589         * stdlib/random.c (__initstate): Return NULL if
7590         __initstate fails.
7592         [BZ #15086]
7593         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7594         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7595         RES_SNGLKUPREOP.
7597 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7601 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7603         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7604         of individual tests.
7605         (casin_test): Likewise.
7606         (casinh_test): Likewise.
7608 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7610         [BZ #15409]
7611         * math/s_catan.c (__catan): Handle arguments with large real or
7612         imaginary part separately without squaring.
7613         * math/s_catanf.c (__catanf): Likewise.
7614         * math/s_catanh.c (__catanh): Likewise.
7615         * math/s_catanhf.c (__catanhf): Likewise.
7616         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7617         and redefine.
7618         (__catanhl): Handle arguments with large real or imaginary part
7619         separately without squaring.
7620         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7621         and redefine.
7622         (__catanl): Handle arguments with large real or imaginary part
7623         separately without squaring.
7624         * math/libm-test.inc (catan_test): Add more tests.
7625         (catanh_test): Likewise.
7626         * sysdeps/i386/fpu/libm-test-ulps: Update.
7627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7629 2013-04-27  Andreas Jaeger  <aj@suse.de>
7631         [BZ #15007]
7632         * stdlib/stdlib.h: Update guards for qecvt.
7633         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7634         <stdlib.h>.
7636 2013-04-27  Allan McRae  <allan@archlinux.org>
7638         * sysdeps/i386/fpu/libm-test-ulps: Update.
7640 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7642         [BZ #15406]
7643         * math/s_catan.c: Include <float.h>.
7644         (__catan): Ensure underflow exception occurs for underflowed
7645         result.
7646         * math/s_catanf.c: Include <float.h>.
7647         (__catanf): Ensure underflow exception occurs for underflowed
7648         result.
7649         * math/s_catanh.c: Include <float.h>.
7650         (__catanh): Ensure underflow exception occurs for underflowed
7651         result.
7652         * math/s_catanhf.c: Include <float.h>.
7653         (__catanhf): Ensure underflow exception occurs for underflowed
7654         result.
7655         * math/s_catanhl.c: Include <float.h>.
7656         (__catanhl): Ensure underflow exception occurs for underflowed
7657         result.
7658         * math/s_catanl.c: Include <float.h>.
7659         (__catanl): Ensure underflow exception occurs for underflowed
7660         result.
7661         * math/libm-test.inc (catan_test): Add more tests.
7662         (catanh_test): Likewise.
7664         [BZ #15405]
7665         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7666         underflowed result.
7667         * math/s_ccoshf.c (__ccoshf): Likewise.
7668         * math/s_ccoshl.c (__ccoshl): Likewise.
7669         * math/s_csin.c (__csin): Likewise.
7670         * math/s_csinf.c (__csinf): Likewise.
7671         * math/s_csinh.c (__csinh): Likewise.
7672         * math/s_csinhf.c (__csinhf): Likewise.
7673         * math/s_csinhl.c (__csinhl): Likewise.
7674         * math/s_csinl.c (__csinl): Likewise.
7675         * math/libm-test.inc (ccos_test): Add more tests.
7676         (ccosh_test): Likewise.
7677         (csin_test): Likewise.
7678         (csinh_test): Likewise.
7680 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7682         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7683         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7684         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7685         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7686         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7687         powerpc/power5+/fpu folders.
7688         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7691 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7695 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7697         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7698         additions to variable.
7699         [$(config-machine) = x86_64] (modules-names): Likewise.
7700         ($(objpfx)tst-audit3): Remove dependency.
7701         ($(objpfx)tst-audit3.out): Likewise.
7702         ($(objpfx)tst-audit4): Likewise.
7703         ($(objpfx)tst-audit4.out): Likewise.
7704         ($(objpfx)tst-audit5): Likewise.
7705         ($(objpfx)tst-audit5.out): Likewise.
7706         ($(objpfx)tst-audit6): Likewise.
7707         ($(objpfx)tst-audit6.out): Likewise.
7708         ($(objpfx)tst-audit7): Likewise.
7709         ($(objpfx)tst-audit7.out): Likewise.
7710         (tst-audit3-ENV): Remove variable.
7711         (tst-audit4-ENV): Likewise.
7712         (tst-audit5-ENV): Likewise.
7713         (tst-audit6-ENV): Likewise.
7714         (tst-audit7-ENV): Likewise.
7715         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7716         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7717         addition to variable.
7718         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7719         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7720         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7721         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7722         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7723         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7724         tst-audit3, tst-audit4 and tst-audit5.
7725         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7726         tst-audit6 and tst-audit7.
7727         [$(subdir) = elf] (modules-names): Add audit modules for those
7728         tests.
7729         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7730         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7731         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7732         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7733         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7734         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7735         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7736         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7737         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7738         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7739         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7740         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7741         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7742         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7743         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7744         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7745         Likewise.
7746         [$(subdir) = elf && $(config-cflags-avx) = yes]
7747         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7748         [$(subdir) = elf && $(config-cflags-avx) = yes]
7749         (CFLAGS-tst-auditmod4a.c): Likewise.
7750         [$(subdir) = elf && $(config-cflags-avx) = yes]
7751         (CFLAGS-tst-auditmod4b.c): Likewise.
7752         [$(subdir) = elf && $(config-cflags-avx) = yes]
7753         (CFLAGS-tst-auditmod6b.c): Likewise.
7754         [$(subdir) = elf && $(config-cflags-avx) = yes]
7755         (CFLAGS-tst-auditmod6c.c): Likewise.
7756         [$(subdir) = elf && $(config-cflags-avx) = yes]
7757         (CFLAGS-tst-auditmod7b.c): Likewise.
7758         * elf/tst-audit3.c: Move to ...
7759         * sysdeps/x86_64/tst-audit3.c: ... here.
7760         * elf/tst-audit4.c: Move to ...
7761         * sysdeps/x86_64/tst-audit4.c: ... here.
7762         * elf/tst-audit5.c: Move to ...
7763         * sysdeps/x86_64/tst-audit5.c: ... here.
7764         * elf/tst-audit6.c: Move to ...
7765         * sysdeps/x86_64/tst-audit6.c: ... here.
7766         * elf/tst-audit7.c: Move to ...
7767         * sysdeps/x86_64/tst-audit7.c: ... here.
7768         * elf/tst-auditmod3a.c: Move to ...
7769         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7770         * elf/tst-auditmod3b.c: Move to ...
7771         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7772         * elf/tst-auditmod4a.c: Move to ...
7773         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7774         * elf/tst-auditmod4b.c: Move to ...
7775         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7776         * elf/tst-auditmod5a.c: Move to ...
7777         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7778         * elf/tst-auditmod5b.c: Move to ...
7779         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7780         * elf/tst-auditmod6a.c: Move to ...
7781         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7782         * elf/tst-auditmod6b.c: Move to ...
7783         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7784         * elf/tst-auditmod6c.c: Move to ...
7785         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7786         * elf/tst-auditmod7a.c: Move to ...
7787         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7788         * elf/tst-auditmod7b.c: Move to ...
7789         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7791 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7793         [BZ #15366]
7794         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7795         define unconditionally.
7796         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7797         define unconditionally.
7798         (INT8_C, INT16_C, etc.): Likewise.
7800 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7802         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7803         __ehdr_start with hidden visibility.
7805         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7807 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7809         * math/libm-test.inc (cos_test): Use accurate hex constants.
7810         (sincost_test): Likewise.
7812 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7814         * math/libm-test.inc (catan_test): Add more tests.
7815         (catanh_test): Likewise.
7817         * math/s_catanf.c (__catanf): Use suffixed floating-point
7818         constants.
7819         * math/s_catanhf.c (__catanhf): Likewise.
7820         * math/s_catanhl.c (__catanhl): Likewise.
7821         * math/s_catanl.c (__catanl): Likewise.
7823         [BZ #15394]
7824         * math/s_catan.c (__catan): Calculate imaginary part of result
7825         with log1p not log unless computing log of number close to 0.
7826         * math/s_catanf.c (__catanf): Likewise.
7827         * math/s_catanl.c (__catanl): Likewise.
7828         * math/s_catanh.c (__catanh): Calculate real part of result with
7829         log1p not log unless computing log of number close to 0.
7830         * math/s_catanhf.c (__catanhf): Likewise.
7831         * math/s_catanhl.c (__catanhl): Likewise.
7832         * math/libm-test.inc (catan_test): Add more tests.
7833         (catanh_test): Likewise.
7834         * sysdeps/i386/fpu/libm-test-ulps: Update.
7835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7837 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7839         * benchtests/Makefile: Mention files in which fast and slow
7840         paths of math functions are implemented.
7842 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7844         * sysdeps/posix/timespec_get.c: New file.
7846 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7848         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7849         POWER.
7850         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7851         for POWER.
7852         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7853         powerpc/power5/fpu folders.
7854         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7855         * benchtests/Makefile: Add modf testcase.
7856         * benchtests/bench-modf.c: New file: Benchmark test for mo
7858 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7860         [BZ #14888]
7861         * time/Makefile (tests): Add tst-strptime-whitespace.
7862         * time/strptime_l.c (get_number): Use ISSPACE.
7863         (__strptime_internal): Likewise.
7864         * time/tst-strptime-whitespace.c: New test case.
7866 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7868         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7869         member.
7870         (_nss_files_init): Set it here.
7872 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7874         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7875         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7876         unsigned.
7878 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7880         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7882 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7885         size just once.
7887 2013-04-21  David S. Miller  <davem@davemloft.net>
7889         * po/ru.po: Update Russion translation from translation project.
7891 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7893         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7894         and setfsgid.
7896 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7898         * configure.in: Remove i386 configure warning. Remove i386 case.
7899         * configure: Regenerate.
7900         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7901         Add example to error message.
7902         * sysdeps/i386/configure: Regenerate.
7904 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7906         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7907         slowtan.
7908         * benchtests/cos-inputs: New file.
7909         * benchtests/slowcos-inputs: New file.
7910         * benchtests/slowcos.c: New file.
7911         * benchtests/slowtan-inputs: New file.
7912         * benchtests/slowtan.c: New file.
7913         * benchtests/tan-inputs: New file.
7915 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7917         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7918         considered kosher.
7920 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7922         * benchtests/Makefile: Include cppflags-iterator.mk to add
7923         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7925         * Makefile.in (bench-clean): New target.
7926         * benchtests/Makefile (bench-clean): Likewise.
7928 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7930         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7932 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7934         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7936 2013-04-15  Andreas Schwab  <schwab@suse.de>
7938         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7939         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7940         * nscd/pwdcache.c (cache_addpw): Likewise.
7941         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7942         more than recsize.
7944 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7946         * benchtests/Makefile (bench): Write all output to
7947         bench-out.tmp together.
7949 2013-04-15  Andreas Schwab  <schwab@suse.de>
7951         * nscd/nscd.c (main): Don't fork again after closing files.
7953 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7955         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7957         * benchtests/Rules (bench-deps): Collect dependencies into a
7958         single variable.  Add Makefile to dependencies.
7959         ($(objpfx)bench-%.c): Depend on bench-deps.
7961 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7962             Xavier Roche  <roche+kml2@exalead.com>
7964         [BZ #15361]
7965         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7966         just that it's a file descriptor.
7967         * manual/llio.texi (Synchronizing AIO Operations): Update description
7968         for EBADF error from aio_fsync.
7970 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7972         * Rules (bench): Move target definition...
7973         * benchtests/Makefile: ... here.
7975 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7977         * math/libm-test.inc (cos_test): Fix PI/2 test.
7978         (sincos_test): Likewise.
7979         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7980         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7982 2013-04-11  Andreas Schwab  <schwab@suse.de>
7984         [BZ #13988]
7985         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7986         accept exponent character only when digits were seen.
7987         * stdio-common/Makefile (tests): Add bug26.
7988         * stdio-common/bug26.c: New file.
7990         [BZ #14293]
7991         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7992         non-freeable.
7994 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7996         * Makeconfig (rtld-prefix): Define built linker prefix.
7997         * Rules (run-bench): Use it.
7998         * math/Makefile (run-regen-ulps): Likewise.
8000         * Rules (bench): Remove eval.
8002 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8003             Roland McGrath  <roland@hack.frob.com>
8004             Ondrej Bilka  <neleai@seznam.cz>
8006         [BZ #15346]
8007         * time/getdate.c: Include ctype.h and alloca.h.
8008         (__getdate_r): Trim leading and trailing spaces of input.
8009         * time/tst-getdate.c (tests): Add tests with leading and
8010         trailing spaces.
8012 2013-04-08  Roland McGrath  <roland@hack.frob.com>
8014         [BZ #14280]
8015         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8016         when computing value.
8018 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8020         * math/README.libm-test (How can I generate "libm-test-ulps"?):
8021         Use testrun.sh to run libm tests.
8023         [BZ #15309]
8024         * elf/dl-open.c (dl_open_worker): memset all of seen array.
8026 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
8028         [BZ #15264]
8029         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8031 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8033         * Makefile.in (regen-ulps): New target.
8034         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8035         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8036         [ifneq (no,$(PERL)] (regen-ulps): New target.
8037         [ifeq (no,$(PERL)] (regen-ulps): New target.
8038         * math/libm-test.inc (ulps_file_name): Define.
8039         (output_dir): New variable.
8040         (options): Add "output-dir" option.
8041         (parse_opt): Handle 'o' case.
8042         (main): If output_dir is non-NULL use it as a prefix
8043         otherwise use "".
8044         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8046 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8048         [BZ #10060, #10062]
8049         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8050         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8051         fail configure if __sync_val_compare_and_swap is not inlined.
8052         * sysdeps/i386/configure: Regenerate.
8053         * configure.in: Build for i686 when configured for i386.
8054         * configure: Regenerate.
8055         * README: Remove i386 reference.
8057 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8059         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8060         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8062 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8064         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8065         (lmsnanval): New variables.
8066         (F): Add conversion tests.
8067         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8068         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8070         * stdio-common/tstdiomisc.c (F): Properly collect individual
8071         tests' results.
8073         [BZ #14686, #15336]
8074         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8075         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8076         Instead, use input NaN values or generate a qNaN by arithmetic
8077         operation.  Also fix bugs to comply with the standard.
8078         * math/libm-test.inc (remainder_test): Add more tests.
8080         [BZ #15335, #15342]
8081         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8082         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8083         input NaN values or generate a qNaN by arithmetic operation.
8085         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8086         unreachable code.
8088         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8089         definitions.
8091 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
8093         [BZ #14478]
8094         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8095         underflowed result.
8096         * math/s_cexpf.c (__cexpf): Likewise.
8097         * math/s_cexpl.c (__cexpl): Likewise.
8098         * math/libm-test.inc (cexp_test): Add more tests.
8100 2013-04-03  Andreas Schwab  <schwab@suse.de>
8102         [BZ #15330]
8103         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8104         order arrays from heap if bigger than alloca cutoff.
8106 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
8108         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8109         (SNAN_TESTS_double): Refer to GCC PR56831.
8110         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8111         GCC PR56828.
8113 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8115         * Rules (bench): Move bench.out after the run is complete.
8117         * Rules (bench): Echo currently running benchmark.
8119         * benchtests/Makefile (bench): Add atan and slowatan.
8120         * benchtests/atan-inputs: New file.
8121         * benchtests/slowatan-inputs: New file.
8122         * benchtests/slowatan.c: New file.
8124         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8125         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8126         its value.
8128         [BZ #15305]
8129         * sysdeps/unix/sysv/linux/kernel-features.h
8130         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8131         __ASSUME_XFS_RESTRICTED_CHOWN.
8132         * sysdeps/unix/sysv/linux/pathconf.c
8133         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8134         Save and restore errno.
8136 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
8138         [BZ #15327]
8139         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8140         arguments using __kernel_casinh.
8141         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8142         arguments using __kernel_casinhf.
8143         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8144         arguments using __kernel_casinhl.
8145         * math/libm-test.inc (cacosh_test): Add more tests.
8146         * sysdeps/i386/fpu/libm-test-ulps: Update.
8147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8149 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8151         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8152         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8154         * bench/Makefile (bench): Add sin and slowsin.
8155         * benchtests/sin-inputs: New file.
8156         * benchtests/slowsin-inputs: New file.
8157         * benchtests/slowsin.c: New file.
8159         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8160         (bench): Add slowexp and slowpow.
8161         (exp-ITER): Increase iterations.
8162         (pow-ITER): Likewise.
8163         * benchtests/exp-inputs: Change input.
8164         * benchtests/pow-inputs: Likewise.
8165         * benchtests/slowexp-inputs: New file.
8166         * benchtests/slowexp.c: New file.
8167         * benchtests/slowpow-inputs: New file.
8168         * benchtests/slowpow.c: New file.
8170 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8172         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8173         instructions.
8174         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8175         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8176         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8177         * benchtests/Makefile: Add rint benchtest.
8178         * benchtests/rint-inputs: Input for rint benchtest.
8180 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8182         * Versions.def (libm): Add GLIBC_2.18.
8183         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8184         hidden libm prototypes.
8185         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8186         * math/Makefile (libm-calls): Add s_issignaling.
8187         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8188         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
8189         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8190         declaration.
8191         * math/math.h [__USE_GNU] (issignaling): New macro.
8192         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8193         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8194         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8195         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8196         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8197         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8198         * manual/arith.texi (issignaling): New section.
8199         * manual/libm-err-tab.pl (@all_functions): Update comment.
8200         * math/gen-libm-test.pl (parse_args): Apply special handling for
8201         issignaling.
8202         * math/libm-test.inc (print_float, issignaling_test): New
8203         functions.
8204         (check_float_internal): Add issignaling checks.
8205         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8206         default definition.
8207         * sysdeps/powerpc/math-tests.h: New file.
8208         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8209         tests.
8210         * math/test-snan.c (TEST_FUNC): Likewise.
8212 2013-03-30  David S. Miller  <davem@davemloft.net>
8214         * po/de.po: Update from translation team.
8216 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
8218         [BZ #10357]
8219         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8220         imaginary part less than 1.0 and real part less than 0.5
8221         specially.
8222         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8223         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8224         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8225         (cacos_test): Add more tests.
8226         (casin_test): Likewise.
8227         (casinh_test): Likewise.
8228         * sysdeps/i386/fpu/libm-test-ulps: Update.
8229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8231 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8233         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8234         ONE with its value.
8236         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8237         (__pow_mp): Replace ONE and MONE with their values.
8238         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8239         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8240         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8241         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8242         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8243         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8245         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8247         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8248         (__pow_mp): Replace ZERO and MZERO with their values.
8249         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8250         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8251         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8253         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8254         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8255         (__sqr): Likewise.
8257         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8259         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8261 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8263         * include/stdlib.h [!SHARED] (__call_tls_dtors):
8264         Declare with __attribute__ ((weak)).
8265         * stdlib/exit.c (__libc_atexit) [!SHARED]:
8266         Call __call_tls_dtors only if it's not NULL.
8268 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8270         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8271         didn't do it already, then set _dl_phdr and _dl_phnum based on the
8272         magic __ehdr_start linker symbol if it's defined.
8273         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8274         them up here if it was already done.
8276         * elf/dl-support.c (_dl_phdr): Make pointer to const.
8277         (_dl_aux_init): Use const in cast when setting it.
8278         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8279         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8280         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8282         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8283         Declare them here.
8284         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8285         * csu/libc-tls.c: Nor here.
8286         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8288         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8289         (__libc_message): Never call vsyslog.
8291 2013-03-28  Alan Modra  <amodra@gmail.com>
8293         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8294         Define as empty.
8295         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8296         Likewise.
8298 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8300         [BZ #15214]
8301         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8302         underflow.
8303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8305 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8307         [BZ #15304]
8308         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8309         Don't add gid passed as argument.
8311         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8313 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
8315         [BZ #15307]
8316         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8317         imaginary part between 1.0 and 1.5 and real part less than 0.5
8318         specially.
8319         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8320         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8321         * math/libm-test.inc (cacos_test): Add more tests.
8322         (casin_test): Likewise.
8323         (casinh_test): Likewise.
8324         * sysdeps/i386/fpu/libm-test-ulps: Update.
8325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8327 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8329         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8330         constants.
8331         (norm): Likewise.
8332         (denorm): Likewise.
8333         (__dbl_mp): Likewise.
8334         (add_magnitudes): Likewise.
8335         (sub_magnitudes): Likewise.
8336         (__add): Likewise.
8337         (__sub): Likewise.
8338         (__mul): Likewise.
8339         (__sqr): Likewise.
8340         (__inv): Likewise.
8341         (__dvd): Likewise.
8343         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8344         commented code.
8345         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8346         (__dubcos): Likewise.
8347         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8348         (__ieee754_acos): Likewise.
8349         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8350         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8351         (__exp1): Likewise.
8352         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8354         (log1): Likewise.
8355         (my_log2): Likewise.
8356         (checkint): Likewise.
8357         * sysdeps/ieee754/dbl-64/e_remainder.c
8358         (__ieee754_remainder): Likewise.
8359         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8360         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8361         (bsloww): Likewise.
8362         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8364         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8365         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8366         MANTISSA_STORE_T to store computations on mantissa.  Use
8367         macros for rounding and division.
8368         (denorm): Likewise.
8369         (__dbl_mp): Likewise.
8370         (add_magnitudes): Likewise.
8371         (sub_magnitudes): Likewise.
8372         (__mul): Likewise.
8373         (__sqr): Likewise.
8374         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8375         powers of two in terms of TWOPOW macro.
8376         (mp_no): Make type of mantissa as MANTISSA_T.
8377         [!RADIXI]: Define RADIXI.
8378         [!TWO52]: Define TWO52.
8379         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8381 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8383         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8384         llroundl symbol when building for PPC32.
8386 2013-03-24  Mark H Weaver  <mhw@netris.org>
8388         * manual/arith.texi (Normalization Functions): Fix prototypes for
8389         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8391 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8393         [BZ #13889]
8394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8395         high value to check if expl overflow.
8396         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8397         to check for underflow and overflow.
8398         * math/libm-test.inc: Add exp test.
8400 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
8402         [BZ #11120]
8403         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8404         with NOT_IN_libc.
8406 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8408         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8409         symbol.
8411 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8413         * math/gen-libm-test.pl (parse_args, special_functions): Properly
8414         wrap blocks consisting of several statements.
8416         * sysdeps/generic/math-tests.h: New file.
8417         * sysdeps/i386/fpu/math-tests.h: Likewise.
8418         * math/test-snan.c: Include it.
8419         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8421 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8423         [BZ #15285]
8424         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8425         (__ieee754_j0l): Do not improve calculations using cos of twice
8426         input for inputs above LDBL_MAX / 2.0L.
8427         (__ieee754_y0l): Likewise.
8428         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8429         (__ieee754_j1l): Do not improve calculations using cos of twice
8430         input for inputs above LDBL_MAX / 2.0L.
8431         (__ieee754_y1l): Likewise.
8432         * math/libm-test.inc (j0_test): Add another test.
8433         (j1_test): Likewise.
8434         (y0_test): Likewise.
8435         (y1_test): Likewise.
8436         * sysdeps/i386/fpu/libm-test-ulps: Update.
8438 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8440         * Rules ($(objpfx)bench-%.c): Include code from a C source
8441         file.
8443 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8445         [BZ #15287]
8446         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8447         imaginary part 1.0 and real part less than 0.5 specially.
8448         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8449         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8450         * math/libm-test.inc (cacos_test): Add more tests.
8451         (casin_test): Likewise.
8452         (casinh_test): Likewise.
8453         * sysdeps/i386/fpu/libm-test-ulps: Update.
8454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8456 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8458         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8459         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8461 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8463         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8464         * config.make.in (config-cflags-sse4): Remove variable.
8465         (config-cflags-avx): Likewise.
8466         (config-cflags-sse2avx): Likewise.
8467         (config-cflags-novzeroupper): Likewise.
8468         (config-asflags-i686): Likewise.
8469         (have-mfma4): Likewise.
8470         (have-as-vis3): Likewise.
8471         (MIG): Likewise.
8472         * configure.in (MIG): Do not AC_SUBST.
8473         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8474         (libc_cv_cc_sse4): Do not AC_SUBST.
8475         (libc_cv_cc_avx): Likewise.
8476         (libc_cv_cc_sse2avx): Likewise.
8477         (libc_cv_cc_novzeroupper): Likewise.
8478         (libc_cv_cc_fma4): Likewise.
8479         (libc_cv_as_i686): Likewise.
8480         (libc_cv_sparc_as_vis3): Likewise.
8481         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8482         LIBC_CONFIG_VAR.
8483         (config-asflags-i686): Likewise.
8484         (config-cflags-avx): Likewise.
8485         (config-cflags-sse2avx): Likewise.
8486         (have-mfma4): Likewise.
8487         (config-cflags-novzeroupper): Likewise.
8488         * sysdeps/mach/configure.in (MIG): Likewise.
8489         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8490         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8491         LIBC_CONFIG_VAR.
8492         (config-cflags-avx): Likewise.
8493         (config-cflags-sse2avx): Likewise.
8494         (have-mfma4): Likewise.
8495         (config-cflags-novzeroupper): Likewise.
8496         * configure: Regenerated.
8497         * sysdeps/i386/configure: Likewise.
8498         * sysdeps/mach/configure: Likewise.
8499         * sysdeps/sparc/configure: Likewise.
8500         * sysdeps/x86_64/configure: Likewise.
8502 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8504         [BZ #14812]
8505         * locale/programs/localedef.c (options): Put N_ translation marker
8506         on argument names, not just descriptions.
8508 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8510         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8512 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8514         [BZ #14176]
8515         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8517 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8519         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8520         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8521         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8522         [!BEFORE_ABORT] (before_abort): New function.
8523         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8524         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8525         (writev_for_fatal): New function.
8526         (WRITEV_FOR_FATAL): New macro; call that.
8527         (backtrace_and_maps): New function.
8528         (BEFORE_ABORT): New macro; call that.
8529         (struct str_list): Type removed.
8530         (__libc_message, __libc_fatal): Functions removed.
8531         Include <sysdeps/posix/libc_fatal.c> instead.
8533 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8535         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8536         constants.
8537         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8538         double constants.
8540 2013-03-19  Andreas Schwab  <schwab@suse.de>
8542         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8543         * sysdeps/gnu/configure: Regenerate.
8545         * configure.in: Substitute libc_cv_rtlddir.
8546         * configure: Regenerate.
8547         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8548         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8549         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8550         * elf/Makefile (install-others, CFLAGS-interp.c)
8551         (ldso_install, common-ldd-rewrite): Likewise.
8552         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8553         $(inst_slibdir)/$(rtld-installed-name).
8554         * scripts/rellns-sh: Add -p option.
8555         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8556         for source.
8558 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8560         * manual/nptl.texi: Renamed to ...
8561         * manual/threads.texi: ... this.
8562         * manual/Makefile (chapters): Update.
8564 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8566         [BZ #14812]
8567         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8568         on argument names, not just descriptions.
8569         * malloc/memusagestat.c (options): Likewise.
8570         * nss/getent.c (options): Likewise.
8572 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8574         [BZ #14812]
8575         * iconv/iconv_prog.c (options): Put N_ translation marker
8576         on argument names, not just descriptions.
8577         * iconv/iconvconfig.c (options): Likewise.
8579 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8581         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8582         implementation which is faster on all x86_64 architectures.
8583         Tested on AMD, Intel Nehalem, SNB, IVB.
8584         * sysdeps/x86_64/strnlen.S: Likewise.
8586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8587         Remove all multiarch strlen and strnlen versions.
8588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8589         Remove strlen and strnlen related parts.
8591         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8592         Inline strlen part.
8593         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8595         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8596         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8597         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8598         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8599         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8600         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8602 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8604         * manual/memory.texi (Malloc Tunable Parameters):
8605         Sort parameters alphabetically. Add comments for missing entries.
8607 2013-03-17  David S. Miller  <davem@davemloft.net>
8609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8611 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8613         [BZ #15283]
8614         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8615         for arguments at most half maximum finite value.
8616         * math/libm-test.inc (j0_test): Add more tests.
8617         (j1_test): Likewise.
8618         (y0_test): Likewise.
8619         (y1_test): Likewise.
8620         * sysdeps/i386/fpu/libm-test-ulps: Update.
8621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8623         [BZ #14155]
8624         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8625         1 / x and functions P and Q for arguments above 0x1p256L.
8626         (__ieee754_y0l): Likewise.
8627         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8628         (__ieee754_y1l): Likewise.
8629         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8630         (j1_test): Likewise.
8631         (y0_test): Likewise.
8632         (y1_test): Likewise.
8634 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8636         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8637         variable.
8639 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8641         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8642         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8643         zero since it's initialized to EXEC_PAGESIZE.
8645         * sysdeps/unix/sysv/linux/ldsodefs.h
8646         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8647         * sysdeps/generic/ldsodefs.h: ... here.
8649 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8651         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8653         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8654         math/test-snan.c.
8655         * math/test-snan.c: Renamed from
8656         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8657         * math/Makefile (tests): Add test-snan.
8658         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8659         test-powerpc-snan.
8661         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8662         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8663         functions.
8664         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8665         __builtin_nan family of functions.
8666         * math/libm-test.inc (initialize): Initialize qnan_value with
8667         __builtin_nan family of functions.
8668         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8669         Remove variables.
8670         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8671         Remove functions.
8672         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8673         storage class.  Initialize qNaN_var and sNaN_var with
8674         __builtin_nan and __builtin_nans families of functions,
8675         respectively.
8677         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8678         (sqrt_test): Remove duplicate test with qNaN input.
8679         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8680         (round_test, signbit_test, significand_test): Note missing +/-Inf
8681         as well as qNaN tests.
8683         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8684         qNaN_var.  Fix a few strings, too.
8685         * math/libm-test.inc (nan_value): Rename to qnan_value.
8686         * math/gen-libm-test.pl (%beautify): Adjust to that.
8687         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8688         * math/test-misc.c (main): Likewise.
8689         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8690         to __qnan_bytes, and __qnan_union, respectively.
8691         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8692         Likewise.
8693         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8694         and lqnanval, respectively.
8695         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8696         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8697         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8698         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8700         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8701         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8702         doubles.
8704         * math/test-misc.c (main): Fix copy'n'pastos.
8705         * misc/tst-efgcvt.c (special): Likewise.
8707         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8708         Remove declarations.
8710 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8712         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8713         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8714         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8715         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8717 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8719         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8720         macro to return vdso values correctly in IFUNC implementations.
8721         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8722         Optimization by using IFUNC.
8724 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8725             Richard Henderson  <rth@redhat.com>
8726             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8728         * Makefile.in (bench): New target.
8729         * NEWS: Mention the benchmark framework.
8730         * Rules (bench): Likewise.
8731         (binaries-bench): Generate binaries for functions to
8732         benchmark.
8733         * benchtests/Makefile: New makefile for benchmark tests.
8734         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8735         programs.
8736         * benchtests/exp-inputs: New input file for EXP function.
8737         * benchtests/pow-inputs: New input file for POW function.
8738         * scripts/bench.pl: New script to generate source files for
8739         benchmark programs.
8741 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8743         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8744         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8745         computations on mantissa.  Use macros for rounding and
8746         division.
8747         (denorm): Likewise.
8748         (__dbl_mp): Likewise.
8749         (add_magnitudes): Likewise.
8750         (sub_magnitudes): Likewise.
8751         (__mul): Likewise.
8752         (__sqr): Likewise.
8753         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8754         powers of two in terms of TWOPOW macro.
8755         (mp_no): Make type of mantissa as MANTISSA_T.
8756         [!RADIXI]: Define RADIXI.
8757         [!TWO52]: Define TWO52.
8758         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8760         * manual/nptl.texi (cindex): Modify threads to pthreads.
8762 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8764         * sysdeps/x86_64/preconfigure: Regenerated.
8766 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8768         [BZ #14155]
8769         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8770         0x1p28 and above.
8771         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8772         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8773         0x1p28 and above.
8774         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8775         * math/libm-test.inc (j0_test): Do not allow one spurious
8776         underflow exception.
8777         (y1_test): Likewise.
8779 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8781         * manual/Makefile (chapters): Add nptl.
8782         * manual/debug.texi (Debugging Support): Add link to Threads
8783         chapter.
8784         * manual/nptl.texi: New file.
8786         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8788 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8790         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8791         for non-NULL pointer before the memory validity test. Pointed
8792         out by Holger Brunck <holger.brunck@keymile.com>.
8794 2013-03-13  Andreas Schwab  <schwab@suse.de>
8796         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8797         instead of .os.
8799 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8801         * timezone/zic.c: Update from tzcode 2013b.
8803 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8805         * manual/install.texi (Configuring and compiling):
8806         Mention i686 and i586.
8807         * INSTALL: Regenerate.
8809 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8811         * sysdeps/init_array/elf-init.c: New file.
8812         * csu/elf-init.c
8813         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8814         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8816         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8817         __gmon_start__ as global, but as static with a .preinit_array pointer.
8818         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8819         * sysdeps/init_array/crti.S: New file, empty except for comments.
8820         * sysdeps/init_array/crtn.S: Likewise.
8822 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8824         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8825         definining bcopy.
8826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8827         Remove Prefer_SSE_for_memop.
8828         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8829         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8830         HAS_PREFER_SSE_FOR_MEMOP.
8831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8832         memset-x86-64.
8833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8834         Remove bzero, memset ifunc support.
8835         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8836         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8837         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8838         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8840 2013-03-11  Andreas Schwab  <schwab@suse.de>
8842         [BZ #15234]
8843         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8844         by SHLIB_COMPAT.
8845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8846         (GLIBC_2.16): Remove pthread_atfork.
8848 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8850         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8851         (ptestcases.h): Likewise.
8853 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8855         * Makeconfig ($(common-objpfx)config.status): Depend on
8856         sysdeps/*/preconfigure{,.in} too.
8858 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8860         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8861         (__free_hook): Use void * instead of __malloc_ptr_t.
8862         (__malloc_hook): Likewise.
8863         (__realloc_hook): Likewise.
8864         (__memalign_hook): Likewise.
8865         (__after_morecore_hook): Likewise.
8866         * malloc/arena.c (save_malloc_hook): Likewise.
8867         (save_free_hook): Likewise.
8868         * malloc/hooks.c (malloc_hook_ini): Likewise.
8869         (realloc_hook_ini): Likewise.
8870         (memalign_hook_ini): Likewise.
8871         * malloc/malloc.c (malloc_hook_ini): Likewise.
8872         (realloc_hook_ini): Likewise.
8873         (memalign_hook_ini): Likewise.
8874         (__free_hook): Likewise.
8875         (__malloc_hook): Likewise.
8876         (__realloc_hook): Likewise.
8877         (__memalign_hook): Likewise.
8878         (__libc_malloc): Likewise.
8879         (__libc_free): Likewise.
8880         (__libc_realloc): Likewise.
8881         (__libc_memalign): Likewise.
8882         (__libc_valloc): Likewise.
8883         (__libc_pvalloc): Likewise.
8884         (__libc_calloc): Likewise.
8885         (__posix_memalign): Likewise.
8886         * malloc/morecore.c (__sbrk): Likewise.
8887         (__default_morecore): Likewise.
8889         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8891         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8892         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8893         __malloc_ptrdiff_t.
8895         * malloc/malloc.h (__malloc_size_t): Remove macro.
8896         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8897         __malloc_size_t.
8898         (old_memalign_hook): Likewise.
8899         (old_realloc_hook): Likewise.
8900         (struct hdr): Likewise.
8901         (flood): Likewise.
8902         (mallochook): Likewise.
8903         (memalignhook): Likewise.
8904         (reallochook): Likewise.
8905         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8906         (tr_old_realloc_hook): Likewise.
8907         (tr_old_memalign_hook): Likewise.
8908         (tr_mallochook): Likewise.
8909         (tr_reallochook): Likewise.
8910         (tr_memalignhook): Likewise.
8912 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8914         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8915         default_ldbl_pack and using as default implementation.
8916         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8917         implementation.
8918         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8919         redundant definition.
8920         (ldbl_insert_mantissa): Likewise.
8921         (ldbl_canonicalize): Likewise.
8922         (ldbl_nearbyint): Likewise.
8923         (ldbl_pack): Rename to ldbl_pack_ppc.
8924         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8925         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8926         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8928 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8931         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8932         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8933         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8935         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8936         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8937         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8939 2013-03-07  Andreas Jaeger  <aj@suse.de>
8941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8942         bits/mman-linux.h.
8944 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8946         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8947         Include mpa.h and declare __MPEXP.
8948         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8949         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8950         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8951         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8952         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8953         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8954         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8956         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8957         (__slowpow): Use long double EXPL and LOGL functions to
8958         compute POW.
8959         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8960         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8961         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8962         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8963         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8964         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8967         intermediate variable to calculate exponent.
8968         (__sqr): Likewise.
8969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8970         Likewise.
8971         (__sqr): Likewise.
8973         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8974         [!NO__SQR]: Define __sqr.
8975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8976         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8977         sysdeps/ieee754/dbl-64/mpa.c.
8978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8980         [BZ #12723]
8981         * posix/Makefile (tests): Add tst-pathconf.
8982         * posix/tst-pathconf.c: New test case.
8983         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8984         _PC_PIPE_BUF.
8985         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8987 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8989         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8991 2013-03-06  Andreas Jaeger  <aj@suse.de>
8993         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8994         definition via __MAP_ANONYMOUS.
8996         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8997         it's not part of Linux headers.
8999         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9000         (MAP_HUGE_MASK): Define.
9002         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9003         Define.
9004         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9006         Define.
9007         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9008         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9009         Define.
9010         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9012         Define.
9013         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9015         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9016         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9017         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9018         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9019         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9020         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9022         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9023         Handle f2fs.
9025         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9026         Handle f2fs and efivarfs.
9028         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9029         f2fs.
9031         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9032         (EFIVARFS_MAGIC): Add.
9033         (F2FS_LINK_MAX): Add.
9035 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9037         * stdio-common/vfprintf.c: Replace __builtin_expect with
9038         __glibc_unlikely.
9040 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
9042         [BZ #13550]
9043         * sysdeps/generic/bp-sym.h: Remove file.
9044         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9045         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9046         <bp-sym.h> and <bp-asm.h>.
9047         (__longjmp): Don't use BP_SYM.
9048         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9049         and <bp-asm.h>.
9050         (memcpy): Don't use BP_SYM.
9051         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9052         <bp-sym.h> and <bp-asm.h>.
9053         (memcpy): Don't use BP_SYM.
9054         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9055         <bp-asm.h>.
9056         (memcpy): Don't use BP_SYM.
9057         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9058         <bp-asm.h>.
9059         (memset): Don't use BP_SYM.
9060         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9061         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9062         (__bzero): Don't use BP_SYM.
9063         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9064         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9065         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9066         <bp-sym.h> and <bp-asm.h>.
9067         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9068         pointers.
9069         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9070         <bp-sym.h> and <bp-asm.h>.
9071         (memcpy): Don't use BP_SYM.
9072         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9073         <bp-sym.h> and <bp-asm.h>.
9074         (memset): Don't use BP_SYM.
9075         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9076         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9077         (__bzero): Don't use BP_SYM.
9078         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9079         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9080         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9081         <bp-sym.h> and <bp-asm.h>.
9082         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9083         pointers.
9084         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9085         <bp-sym.h> and <bp-asm.h>.
9086         (memcpy): Don't use BP_SYM.
9087         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9088         <bp-sym.h> and <bp-asm.h>.
9089         (memset): Don't use BP_SYM.
9090         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9091         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9092         (__bzero): Don't use BP_SYM.
9093         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9094         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9095         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9096         <bp-sym.h> and <bp-asm.h>.
9097         (__memchr): Don't use BP_SYM.
9098         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9099         <bp-sym.h> and <bp-asm.h>.
9100         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9101         pointers.
9102         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9103         <bp-sym.h> and <bp-asm.h>.
9104         (memcpy): Don't use BP_SYM.
9105         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9106         <bp-sym.h> and <bp-asm.h>.
9107         (__mempcpy): Don't use BP_SYM.
9108         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9109         <bp-sym.h> and <bp-asm.h>.
9110         (__memrchr): Don't use BP_SYM.
9111         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9112         <bp-sym.h> and <bp-asm.h>.
9113         (memset): Don't use BP_SYM.
9114         (__bzero): Likewise.
9115         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9116         <bp-sym.h> and <bp-asm.h>.
9117         (__rawmemchr): Don't use BP_SYM.
9118         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9119         <bp-sym.h> and <bp-asm.h>.
9120         (__STRCMP): Don't use BP_SYM.
9121         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9122         <bp-sym.h> and <bp-asm.h>.
9123         (strchr): Don't use BP_SYM.
9124         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9125         <bp-sym.h> and <bp-asm.h>.
9126         (__strchrnul): Don't use BP_SYM.
9127         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9128         <bp-sym.h> and <bp-asm.h>.
9129         (strlen): Don't use BP_SYM.
9130         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9131         <bp-sym.h> and <bp-asm.h>.
9132         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9133         pointers.
9134         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9135         <bp-sym.h> and <bp-asm.h>.
9136         (__strnlen): Don't use BP_SYM.
9137         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9138         <bp-sym.h> and <bp-asm.h>.
9139         (__GI__setjmp): Don't use BP_SYM.
9140         (_setjmp): Likewise.
9141         (__sigsetjmp): Likewise.
9142         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9143         (L(start_addresses)): Don't use BP_SYM.
9144         (_start): Likewise.
9145         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9146         <bp-asm.h>.
9147         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9148         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9149         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9150         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9151         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9152         <bp-asm.h>.
9153         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9154         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
9155         about bounded pointers.
9156         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9157         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9158         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9159         <bp-asm.h>.
9160         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9161         about bounded pointers.  Remove GKM FIXME comments.
9162         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9163         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9164         <bp-asm.h>.
9165         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9166         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
9167         Remove GKM FIXME comments.
9168         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9169         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9170         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9171         <bp-asm.h>.
9172         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9173         about bounded pointers.  Remove GKM FIXME comment.
9174         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9175         and <bp-asm.h>.
9176         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9177         pointers.
9178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9179         <bp-sym.h> and <bp-asm.h>.
9180         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9182         <bp-sym.h> and <bp-asm.h>.
9183         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9184         comment.
9186 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9188         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9189         call free(NULL).
9191 2013-03-05  David S. Miller  <davem@davemloft.net>
9193         * po/es.po: Update from translation team.
9195 2013-03-05  Andreas Jaeger  <aj@suse.de>
9197         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9198         <bits/mman-linux.h>.
9199         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9200         is fine.
9201         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9202         <bits/mman-linux.h> to end of file.
9203         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9204         is fine.
9205         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9206         <bits/mman-linux.h> to end of file.
9207         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9208         is fine.
9209         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9210         <bits/mman-linux.h> to end of file.
9212         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9213         (MCL_CURRENT, MCL_FUTURE): Define here.
9215 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9217         [BZ #15232]
9218         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9219         attribute_hidden.
9220         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9222 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9224         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9225         fourth parameter needed for rt_sigprocmask syscall.
9226         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9227         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9228         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9229         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9230         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9231         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9233 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
9235         [BZ #13550]
9236         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9237         comment about bounded pointers.
9238         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9239         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9241 2013-03-04  Andreas Jaeger  <aj@suse.de>
9243         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9244         common definitions.
9246         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9247         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9248         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9249         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9250         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9251         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9253 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9255         [BZ #15055]
9256         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9257         __ieee754_sqrl instead of __sqrl.
9259 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
9261         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9262         * sysdeps/powerpc/fpu_control.h: ... here.
9263         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9264         * sysdeps/powerpc/bits/fenvinline.h: ... here.
9265         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9266         * sysdeps/powerpc/bits/mathinline.h: ... here.
9268 2013-03-01  Roland McGrath  <roland@hack.frob.com>
9270         * elf/dl-hwcaps.c (_dl_important_hwcaps):
9271         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9272         to just [NEED_DL_SYSINFO_DSO].
9273         * elf/dl-support.c: Likewise.
9274         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9275         * elf/rtld.c (dl_main): Likewise.
9276         * elf/setup-vdso.h (setup_vdso): Likewise.
9277         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9278         * sysdeps/unix/sysv/linux/dl-sysdep.c
9279         (_dl_discover_osversion): Likewise.
9281 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
9283         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9284         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9286 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9288         * NEWS: Mention libm performance improvements and non-x86 PI
9289         futex support.
9291         * csu/libc-start.c (__pthread_initialize_minimal): Change
9292         function arguments.
9293         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9295 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
9297         [BZ #13550]
9298         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9299         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9300         <bp-sym.h> and <bp-asm.h>.
9301         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9302         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9303         and <bp-asm.h>.
9304         (memcpy): Don't use BP_SYM.
9305         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9306         <bp-asm.h>.
9307         (__mpn_add_n): Don't use BP_SYM.
9308         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9309         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9310         and <bp-asm.h>.
9311         (__mpn_addmul_1): Don't use BP_SYM.
9312         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9313         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9314         <bp-sym.h>.
9315         (_setjmp): Don't use BP_SYM.
9316         (__novmx_setjmp): Likewise.
9317         (__GI__setjmp): Likewise.
9318         (__vmx_setjmp): Likewise.
9319         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9320         <bp-sym.h>.
9321         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9322         (__bzero): Don't use BP_SYM.
9323         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9324         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9325         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9326         <bp-sym.h> and <bp-asm.h>.
9327         (memcpy): Don't use BP_SYM.
9328         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9329         <bp-sym.h> and <bp-asm.h>.
9330         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9331         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9332         <bp-sym.h> and <bp-asm.h>.
9333         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9334         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9335         <bp-asm.h>.
9336         (__mpn_lshift): Don't use BP_SYM.
9337         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9338         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9339         <bp-asm.h>.
9340         (memset): Don't use BP_SYM.
9341         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9342         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9343         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9344         <bp-asm.h>.
9345         (__mpn_mul_1): Don't use BP_SYM.
9346         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9347         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9348         <bp-sym.h> and <bp-asm.h>.
9349         (memcmp): Don't use BP_SYM.
9350         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9351         <bp-sym.h> and <bp-asm.h>.
9352         (memcpy): Don't use BP_SYM.
9353         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9354         <bp-sym.h> and <bp-asm.h>.
9355         (memset): Don't use BP_SYM.
9356         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9357         <bp-sym.h> and <bp-asm.h>.
9358         (strncmp): Don't use BP_SYM.
9359         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9360         <bp-sym.h> and <bp-asm.h>.
9361         (memcpy): Don't use BP_SYM.
9362         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9363         <bp-sym.h> and <bp-asm.h>.
9364         (memset): Don't use BP_SYM.
9365         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9366         <bp-sym.h> and <bp-asm.h>.
9367         (__memchr): Don't use BP_SYM.
9368         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9369         <bp-sym.h> and <bp-asm.h>.
9370         (memcmp): Don't use BP_SYM.
9371         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9372         <bp-sym.h> and <bp-asm.h>.
9373         (memcpy): Don't use BP_SYM.
9374         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9375         <bp-sym.h> and <bp-asm.h>.
9376         (__mempcpy): Don't use BP_SYM.
9377         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9378         <bp-sym.h> and <bp-asm.h>.
9379         (__memrchr): Don't use BP_SYM.
9380         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9381         <bp-sym.h> and <bp-asm.h>.
9382         (memset): Don't use BP_SYM.
9383         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9384         <bp-sym.h> and <bp-asm.h>.
9385         (__rawmemchr): Don't use BP_SYM.
9386         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9387         <bp-sym.h> and <bp-asm.h>.
9388         (__STRCMP): Don't use BP_SYM.
9389         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9390         <bp-sym.h> and <bp-asm.h>.
9391         (strchr): Don't use BP_SYM.
9392         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9393         <bp-sym.h> and <bp-asm.h>.
9394         (__strchrnul): Don't use BP_SYM.
9395         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9396         <bp-sym.h> and <bp-asm.h>.
9397         (strlen): Don't use BP_SYM.
9398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9399         <bp-sym.h> and <bp-asm.h>.
9400         (strncmp): Don't use BP_SYM.
9401         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9402         <bp-sym.h> and <bp-asm.h>.
9403         (__strnlen): Don't use BP_SYM.
9404         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9405         <bp-asm.h>.
9406         (__mpn_rshift): Don't use BP_SYM.
9407         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9408         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9409         <bp-sym.h> and <bp-asm.h>.
9410         (__sigsetjmp): Don't use BP_SYM.
9411         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9412         (L(start_addresses)): Don't use BP_SYM.
9413         (_start): Likewise.
9414         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9415         <bp-asm.h>.
9416         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9417         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9418         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9419         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9420         <bp-asm.h>.
9421         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9422         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9423         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9424         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9425         <bp-asm.h>.
9426         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9427         comments.
9428         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9429         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9430         <bp-asm.h>.
9431         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9432         FIXME comments.
9433         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9434         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9435         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9436         <bp-asm.h>.
9437         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9438         comment.
9439         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9440         and <bp-asm.h>.
9441         (strncmp): Don't use BP_SYM,
9442         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9443         <bp-asm.h>.
9444         (__mpn_sub_n): Don't use BP_SYM.
9445         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9446         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9447         and <bp-asm.h>.
9448         (__mpn_submul_1): Don't use BP_SYM.
9449         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9451         <bp-sym.h> and <bp-asm.h>.
9452         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9454         <bp-sym.h> and <bp-asm.h>.
9455         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9456         comment.
9458 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9461         Use ZK to minimize writes to Z.
9462         (sub_magnitudes): Simplify code a bit.
9463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9464         Use ZK to minimize writes to Z.
9465         (sub_magnitudes): Simplify code a bit.
9467 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9469         * csu/gmon-start.c: Add special exception to license text.
9471 2013-02-27  Richard Henderson  <rth@redhat.com>
9473         * scripts/config.guess: Update from config.git.
9474         * scripts/config.sub: Likewise.
9476 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9478         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9480         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9482         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9484         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9486         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9488 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9490         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9491         [$(build-shared = yes].
9493 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9495         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9496         (__mul): Reduce iterations for calculating mantissa.
9498         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9499         MPTWO.
9500         (__mpranred): Likewise.
9502         [BZ #15160]
9503         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9504         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9506 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9508         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9509         Define __attribute__.
9511 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9513         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9514         unused.
9515         * posix/regex_internal.h (__attribute): Remove.
9516         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9517         (re_string_context_at): Likewise.
9518         (bitset_not): Use __attribute__ and mark function as possibly
9519         unused.
9520         (bitset_merge): Likewise.
9521         (bitset_mask): Likewise.
9522         (re_string_char_size_at): Likewise.
9523         (re_string_wchar_at): Likewise.
9524         (re_string_elem_size_at): Likewise.
9526 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9528         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9529         code.
9530         (cc32): Likewise.
9532         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9533         (__acr): Likewise.
9534         (__cpy): Likewise.
9535         (norm): Likewise.
9536         (denorm): Likewise.
9537         (__dbl_mp): Likewise.
9538         (add_magnitudes): Likewise.
9539         (sub_magnitudes): Likewise.
9540         (__mul): Likewise.
9541         (__inv): Likewise.
9543         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9544         style.
9546         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9547         style.
9549         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9550         code.
9552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9553         up changes with default code.
9554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9555         Likewise.
9557 2013-02-24  Allan McRae  <allan@archlinux.org>
9559         * manual/socket.texi (The Internet Namespace): Order menu items
9560         to match that in the file.
9562         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9563         node listing of the info page menu.
9565 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9567         [BZ #13550]
9568         * sysdeps/i386/bp-asm.h: Remove file.
9569         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9570         (PARMS): Do not use macros from bp-asm.h.
9571         (S1): Likewise.
9572         (S2): Likewise.
9573         (SIZE): Likewise.
9574         (__mpn_add_n): Do not use BP_SYM
9575         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9576         "bp-asm.h".
9577         (PARMS): Do not use macros from bp-asm.h.
9578         (S1): Likewise.
9579         (SIZE): Likewise.
9580         (__mpn_addmul_1): Do not use BP_SYM
9581         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9582         "bp-asm.h".
9583         (PARMS): Do not use macros from bp-asm.h.
9584         (SIGMSK): Likewise.
9585         (_setjmp): Likewise.  Do not use BP_SYM.
9586         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9587         "bp-asm.h".
9588         (PARMS): Do not use macros from bp-asm.h.
9589         (SIGMSK): Likewise.
9590         (setjmp): Likewise.  Do not use BP_SYM.
9591         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9592         "bp-asm.h".
9593         (PARMS): Do not use macros from bp-asm.h.
9594         (__frexp): Do not use BP_SYM.
9595         (frexp): Likewise.
9596         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9597         "bp-asm.h".
9598         (PARMS): Do not use macros from bp-asm.h.
9599         (__frexpf): Do not use BP_SYM.
9600         (frexpf): Likewise.
9601         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9602         "bp-asm.h".
9603         (PARMS): Do not use macros from bp-asm.h.
9604         (__frexpl): Do not use BP_SYM.
9605         (frexpl): Likewise.
9606         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9607         "bp-asm.h".
9608         (PARMS): Do not use macros from bp-asm.h.
9609         (__remquo): Do not use BP_SYM.
9610         (remquo): Likewise.
9611         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9612         "bp-asm.h".
9613         (PARMS): Do not use macros from bp-asm.h.
9614         (__remquof): Do not use BP_SYM.
9615         (remquof): Likewise.
9616         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9617         "bp-asm.h".
9618         (PARMS): Do not use macros from bp-asm.h.
9619         (__remquol): Do not use BP_SYM.
9620         (remquol): Likewise.
9621         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9622         "bp-asm.h".
9623         (PARMS): Do not use macros from bp-asm.h.
9624         (DEST): Likewise.
9625         (SRC): Likewise.
9626         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9627         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9628         "bp-asm.h".
9629         (PARMS): Do not use macros from bp-asm.h.
9630         (strlen): Do not use BP_SYM.
9631         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9632         "bp-asm.h".
9633         (PARMS): Do not use macros from bp-asm.h.
9634         (S1): Likewise.
9635         (S2): Likewise.
9636         (SIZE): Likewise.
9637         (__mpn_add_n): Do not use BP_SYM.
9638         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9639         "bp-asm.h".
9640         (PARMS): Do not use macros from bp-asm.h.
9641         (S1): Likewise.
9642         (SIZE): Likewise.
9643         (__mpn_addmul_1): Do not use BP_SYM.
9644         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9645         weak_alias.
9646         (bzero): Likewise.
9647         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9648         "bp-asm.h".
9649         (PARMS): Do not use macros from bp-asm.h.
9650         (S): Likewise.
9651         (SIZE): Likewise.
9652         (__mpn_lshift): Do not use BP_SYM.
9653         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9654         "bp-asm.h".
9655         (PARMS): Do not use macros from bp-asm.h.
9656         (DEST): Likewise.
9657         (SRC): Likewise.
9658         (LEN): Likewise.
9659         (memcpy): Likewise.  Do not use BP_SYM.
9660         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9661         libc_hidden_def and weak_alias.
9662         (mempcpy): Do not use BP_SYM in weak_alias.
9663         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9664         "bp-asm.h".
9665         (PARMS): Do not use macros from bp-asm.h.
9666         (DEST): Likewise.
9667         (LEN): Likewise.
9668         [!BZERO_P] (CHR): Likewise.
9669         (memset): Likewise.  Do not use BP_SYM.
9670         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9671         "bp-asm.h".
9672         (PARMS): Do not use macros from bp-asm.h.
9673         (S1): Likewise.
9674         (SIZE): Likewise.
9675         (__mpn_mul_1): Do not use BP_SYM.
9676         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9677         "bp-asm.h".
9678         (PARMS): Do not use macros from bp-asm.h.
9679         (S): Likewise.
9680         (SIZE): Likewise.
9681         (__mpn_rshift): Do not use BP_SYM.
9682         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9683         "bp-asm.h".
9684         (PARMS): Do not use macros from bp-asm.h.
9685         (STR): Likewise.
9686         (CHR): Likewise.
9687         (strchr): Likewise.  Do not use BP_SYM.
9688         (index): Do not use BP_SYM in weak_alias.
9689         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9695         * sysdeps/i386/i586/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/sub_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_sub_n): Do not use BP_SYM.
9706         * sysdeps/i386/i586/submul_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_submul_1): Do not use BP_SYM.
9712         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9713         "bp-asm.h".
9714         (PARMS): Do not use macros from bp-asm.h.
9715         (S1): Likewise.
9716         (S2): Likewise.
9717         (SIZE): Likewise.
9718         (__mpn_add_n): Do not use BP_SYM.
9719         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9720         weak_alias.
9721         (bzero): Likewise.
9722         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9723         "bp-asm.h".
9724         (PARMS): Do not use macros from bp-asm.h.
9725         (BLK2): Likewise.
9726         (LEN): Likewise.
9727         (memcmp): Do not use BP_SYM.
9728         (bcmp): Do not use BP_SYM in weak_alias.
9729         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9730         "bp-asm.h".
9731         (PARMS): Do not use macros from bp-asm.h.
9732         (DEST): Likewise.
9733         (SRC): Likewise.
9734         (LEN): Likewise.
9735         (memcpy): Likewise.  Do not use BP_SYM.
9736         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9737         "bp-asm.h".
9738         (PARMS): Do not use macros from bp-asm.h.
9739         (DEST): Likewise.
9740         (SRC): Likewise.
9741         (LEN): Likewise.
9742         (memmove): Likewise.  Do not use BP_SYM.
9743         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9744         "bp-asm.h".
9745         (PARMS): Do not use macros from bp-asm.h.
9746         (DEST): Likewise.
9747         (SRC): Likewise.
9748         (LEN): Likewise.
9749         (__mempcpy): Likewise.  Do not use BP_SYM.
9750         (mempcpy): Do not use BP_SYM in weak_alias.
9751         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9752         "bp-asm.h".
9753         (PARMS): Do not use macros from bp-asm.h.
9754         (DEST): Likewise.
9755         (LEN): Likewise.
9756         [!BZERO_P] (CHR): Likewise.
9757         (memset): Likewise.  Do not use BP_SYM.
9758         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9759         "bp-asm.h".
9760         (PARMS): Do not use macros from bp-asm.h.
9761         (STR2): Likewise.
9762         (strcmp): Do not use BP_SYM.
9763         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9764         "bp-asm.h".
9765         (PARMS): Do not use macros from bp-asm.h.
9766         (STR): Likewise.
9767         (DELIM): Likewise.
9768         [USE_AS_STRTOK_R] (SAVE): Likewise.
9769         (FUNCTION): Likewise.  Do not use BP_SYM.
9770         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9771         aliases.
9772         (strtok_r): Likewise.
9773         (__GI___strtok_r): Likewise.
9774         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9775         (PARMS): Do not use macros from bp-asm.h.
9776         (S): Likewise.
9777         (SIZE): Likewise.
9778         (__mpn_lshift): Do not use BP_SYM.
9779         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9780         (PARMS): Do not use macros from bp-asm.h.
9781         (STR): Likewise.
9782         (CHR): Likewise.
9783         (__memchr): Do not use BP_SYM.
9784         (memchr): Do not use BP_SYM in weak_alias.
9785         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9786         (PARMS): Do not use macros from bp-asm.h.
9787         (BLK2): Likewise.
9788         (LEN): Likewise.
9789         (memcmp): Do not use BP_SYM.
9790         (bcmp): Do not use BP_SYM in weak_alias.
9791         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9792         (PARMS): Do not use macros from bp-asm.h.
9793         (S1): Likewise.
9794         (SIZE): Likewise.
9795         (__mpn_mul_1): Do not use BP_SYM.
9796         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9797         "bp-asm.h".
9798         (PARMS): Do not use macros from bp-asm.h.
9799         (STR): Likewise.
9800         (CHR): Likewise.
9801         (__rawmemchr): Do not use BP_SYM.
9802         (rawmemchr): Do not use BP_SYM in weak_alias.
9803         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9804         (PARMS): Do not use macros from bp-asm.h.
9805         (S): Likewise.
9806         (SIZE): Likewise.
9807         (__mpn_rshift): Do not use BP_SYM.
9808         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9809         (PARMS): Do not use macros from bp-asm.h.
9810         (SIGMSK): Likewise.
9811         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9812         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9813         (_start): Do not use BP_SYM.
9814         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9815         (PARMS): Do not use macros from bp-asm.h.
9816         (DEST): Likewise.
9817         (SRC): Likewise.
9818         (__stpcpy): Likewise.  Do not use BP_SYM.
9819         (stpcpy): Do not use BP_SYM in weak_alias.
9820         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9821         "bp-asm.h".
9822         (PARMS): Do not use macros from bp-asm.h.
9823         (DEST): Likewise.
9824         (SRC): Likewise.
9825         (LEN): Likewise.
9826         (__stpncpy): Likewise.  Do not use BP_SYM.
9827         (stpncpy): Do not use BP_SYM in weak_alias.
9828         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9829         (PARMS): Do not use macros from bp-asm.h.
9830         (STR): Likewise.
9831         (CHR): Likewise.
9832         (strchr): Likewise.  Do not use BP_SYM.
9833         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9834         "bp-asm.h".
9835         (PARMS): Do not use macros from bp-asm.h.
9836         (STR): Likewise.
9837         (CHR): Likewise.
9838         (__strchrnul): Likewise.  Do not use BP_SYM.
9839         (strchrnul): Do not use BP_SYM in weak_alias.
9840         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9841         "bp-asm.h".
9842         (PARMS): Do not use macros from bp-asm.h.
9843         (STOP): Likewise.
9844         (strcspn): Do not use BP_SYM.
9845         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9846         "bp-asm.h".
9847         (PARMS): Do not use macros from bp-asm.h.
9848         (STR): Likewise.
9849         (STOP): Likewise.
9850         (strpbrk): Likewise.  Do not use BP_SYM.
9851         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9852         "bp-asm.h".
9853         (PARMS): Do not use macros from bp-asm.h.
9854         (STR): Likewise.
9855         (CHR): Likewise.
9856         (strrchr): Likewise.  Do not use BP_SYM.
9857         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9858         (PARMS): Do not use macros from bp-asm.h.
9859         (SKIP): Likewise.
9860         (strspn): Do not use BP_SYM.
9861         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9862         (PARMS): Do not use macros from bp-asm.h.
9863         (STR): Likewise.
9864         (DELIM): Likewise.
9865         (SAVE): Likewise.
9866         (FUNCTION): Likewise.  Do not use BP_SYM.
9867         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9868         aliases.
9869         (strtok_r): Likewise.
9870         (__GI___strtok_r): Likewise.
9871         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9872         (PARMS): Do not use macros from bp-asm.h.
9873         (S1): Likewise.
9874         (S2): Likewise.
9875         (SIZE): Likewise.
9876         (__mpn_sub_n): Do not use BP_SYM.
9877         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9878         "bp-asm.h".
9879         (PARMS): Do not use macros from bp-asm.h.
9880         (S1): Likewise.
9881         (SIZE): Likewise.
9882         (__mpn_submul_1): Do not use BP_SYM.
9883         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9884         <bp-sym.h>.
9885         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9886         and <bp-asm.h>.
9887         (PARMS): Do not use macros from bp-asm.h.
9888         (FLAGS): Likewise.
9889         (PTID): Likewise.
9890         (TLS): Likewise.
9891         (CTID): Likewise.
9892         (__clone): Do not use BP_SYM.
9893         (clone): Do not use BP_SYM in weak_alias.
9894         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9895         and <bp-asm.h>.
9896         (PARMS): Do not use macros from bp-asm.h.
9897         (LEN): Likewise.
9898         (__mmap64): Do not use BP_SYM.
9899         (mmap64): Do not use BP_SYM in weak_alias.
9900         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9901         <bp-sym.h> and <bp-asm.h>.
9902         (PARMS): Do not use macros from bp-asm.h.
9903         (__posix_fadvise64_l64): Do not use BP_SYM.
9904         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9905         (PARMS): Do not use macros from bp-asm.h.
9906         (NSOPS): Likewise.
9907         (semtimedop): Do not use BP_SYM.
9908         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9909         and <bp-asm.h>.
9911 2013-02-21  Allan McRae  <allan@archlinux.org>
9913         * manual/message.texi (Charset conversion in gettext):
9914         Move @end statement to beginning of line.
9916 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9919         static.
9920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9921         Likewise.
9923         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9924         (denorm): Likewise.
9925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9928 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9930         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9931         tail-call to the resolved function if pltexit isn't needed.
9933 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9936         or Y being zero as being unlikely.
9937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9938         Likewise.
9940 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9942         * manual/nss.texi (System Databases and Name Service Switch):
9943         Remove frobnicate @pxref.
9945 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9947         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9948         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9950 2013-02-20  Petr Machata  <pmachata@redhat.com>
9952         * elf/elf.h (R_ARM_TARGET1): New macro.
9953         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9954         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9955         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9956         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9957         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9958         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9959         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9960         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9961         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9962         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9963         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9964         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9965         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9966         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9967         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9968         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9969         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9970         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9971         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9972         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9973         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9974         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9975         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9976         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9977         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9978         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9979         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9980         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9981         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9982         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9983         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9984         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9985         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9986         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9987         (R_ARM_THM_GOT_BREL12): Likewise.
9988         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9989         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9990         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9991         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9992         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9993         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9994         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9995         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9996         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9998 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10000         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10001         __attribute_used__ to __attribute__ ((unused)).
10003 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10005         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10006         powerpc mpa.c.
10007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10008         comment formatting.
10009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10011 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
10013         [BZ #13550]
10014         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10015         Remove macro.
10016         (ENTER): Remove both macro definitions.
10017         (LEAVE): Likewise.
10018         (CHECK_BOUNDS_LOW): Likewise.
10019         (CHECK_BOUNDS_HIGH): Likewise.
10020         (CHECK_BOUNDS_BOTH): Likewise.
10021         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10022         (RETURN_BOUNDED_POINTER): Likewise.
10023         (RETURN_NULL_BOUNDED_POINTER): Likewise.
10024         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10025         (POP_ERRNO_LOCATION_RETURN): Likewise.
10026         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10027         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10028         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10029         macros.
10030         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10031         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10032         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10033         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10034         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10035         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10036         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10037         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10038         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10039         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10040         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10041         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10042         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10043         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10044         removed macros.
10045         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10046         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10047         macros.
10048         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10049         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10050         * sysdeps/i386/i586/memset.S (memset): Likewise.
10051         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10052         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10053         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10054         macros.
10055         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10056         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10057         Change uses of L(2) to L(out).
10058         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10059         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10060         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10061         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10062         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10063         removed macros.
10064         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10065         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10066         macros.
10067         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10068         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10069         (RETURN): Do not use macro LEAVE.
10070         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10071         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10072         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10073         * sysdeps/i386/i686/memset.S (memset): Likewise.
10074         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10075         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10076         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10077         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10078         Likewise.
10079         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10080         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
10081         L(1_2) and L(1_3) into L(1).
10082         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10083         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10084         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10085         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10086         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10087         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10088         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10089         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10090         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10091         macros.
10092         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10093         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10094         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10095         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10096         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10097         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10098         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10099         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10100         * sysdeps/i386/strcspn.S (strcspn): Likewise.
10101         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10102         * sysdeps/i386/strrchr.S (strrchr): Likewise.
10103         * sysdeps/i386/strspn.S (strspn): Likewise.
10104         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10105         conditional code.
10106         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10107         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10108         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10109         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
10110         L(1_3) into L(1_1).
10111         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10112         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10113         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10114         macros.
10115         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10117 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
10119         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10120         macro.
10122 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10124         * math/atest-exp.c (exp_mpn): Remove ROUND.
10125         * math/atest-exp2.c (exp_mpn): Likewise.
10126         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10128         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10129         * stdlib/tst-tls-atexit-lib.c: Likewise.
10130         * stdlib/tst-tls-atexit.c: Likewise.
10132 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10134         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10135         and __attribute_alloc_size__.
10137 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10139         * include/programs/xmalloc.h: Change __attribute_alloc_size to
10140         __attribute_alloc_size__.
10141         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10142         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10144 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10146         * include/programs/xmalloc.h: New file.
10147         * catgets/gencat.c: Include it.
10148         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10149         * elf/pldd.c: Likewise.
10150         * iconv/iconv_charmap.c: Likewise.
10151         * iconv/iconvconfig.c: Likewise.
10152         * iconv/strtab.c: Likewise.
10153         * locale/programs/locale.c: Likewise.
10154         * locale/programs/localedef.h: Likewise.
10155         * locale/programs/simple-hash.c: Likewise.
10156         * nscd/nscd.h: Likewise.
10157         * nss/makedb.c: Likewise.
10158         * sysdeps/generic/ldconfig.h: Likewise.
10160 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10162         * Versions.def: Add GLIBC_2.18.
10163         * include/link.h (struct link_map): New member l_tls_dtor_count.
10164         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10165         (__call_tls_dtors): Likewise.
10166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10167         __cxa_thread_atexit_impl.
10168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10169         Likewise.
10170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10171         Likewise.
10172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10173         Likewise.
10174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10175         Likewise.
10176         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10178         Likewise.
10179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10180         Likewise.
10181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10183         Likewise.
10184         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10185         (tests): Add test case tst-tls-atexit.
10186         (modules-names): Add shared library for tst-tls-atexit.
10187         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10188         (GLIBC_PRIVATE): Add __call_tls_dtors.
10189         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10190         for libstdc++.
10191         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10192         * stdlib/tst-tls-atexit.c: New test case.
10193         * stdlib/tst-tls-atexit-lib.c: New test case.
10195         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10197         * elf/Versions (ld): Add _dl_find_dso_for_object.
10198         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10199         * elf/dl-open.c (_dl_find_dso_for_object): New function.
10200         (dl_open_worker): Use _dl_find_dso_for_object.
10201         * elf/dl-sym.c (do_sym): Likewise.
10202         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10204 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10206         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10207         Syntactic changes only.
10208         (_dl_runtime_profile): Do a tail-call to the resolved function.
10210 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
10212         [BZ #13550]
10213         * sysdeps/x86_64/bp-asm.h: Remove file.
10214         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10215         <bp-sym.h> and <bp-asm.h>.
10216         (__clone): Do not use BP_SYM.
10217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10218         <bp-sym.h> and <bp-asm.h>.
10219         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10220         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10221         "bp-asm.h".
10222         (_setjmp): Do not use BP_SYM.
10223         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10224         "bp-asm.h".
10225         (setjmp): Do not use BP_SYM.
10226         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10227         libc_hidden_def.
10228         (mempcpy): Do not use BP_SYM in weak_alias.
10229         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10230         "bp-asm.h".
10231         (strchr): Do not use BP_SYM.
10232         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10233         "bp-asm.h".
10234         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10235         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10236         (_start): Do not use BP_SYM.
10237         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10238         "bp-asm.h".
10239         (strcat): Do not use BP_SYM.
10240         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10241         "bp-asm.h".
10242         (STRCMP): Do not use BP_SYM.
10243         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10244         "bp-asm.h".
10245         (STRCPY): Do not use BP_SYM.
10246         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10247         "bp-asm.h".
10248         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10249         "bp-asm.h".
10250         (FUNCTION): Do not use BP_SYM.
10251         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10252         weak_alias.
10253         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10255 2013-02-17  Andreas Jaeger  <aj@suse.de>
10257         * time/Versions: Sort entries.
10258         * string/Versions: Likewise.
10259         * resolv/Versions: Likewise.
10260         * posix/Versions: Likewise.
10261         * iconv/Versions: Likewise.
10262         * elf/Versions: Likewise.
10263         * wcsmbs/Versions: Likewise.
10265 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10267         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10268         loop termination condition.
10270         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10271         variable to calculate EZ.
10272         (__sqr): Likewise.
10274         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10275         the lower precision input.
10277 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
10279         [BZ #13550]
10280         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10281         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10282         (run-via-rtld-prefix): Do not handle %-bp tests.
10283         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10284         (all-object-suffixes): Remove .ob.
10285         (bppfx): Remove variable.
10286         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10287         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10288         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10289         [$(build-bounded) = yes] (libtype.ob): Likewise.
10290         * Makerules (elide-routines.ob): Remove variable.
10291         (do-tests-clean): Do not handle *-bp.out.
10292         (common-mostlyclean): Do not handle *-bp and *-bp.out.
10293         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10294         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10295         (tests): Do not include $(tests-bp.out).
10296         (xtests): Do not include $(xtests-bp.out).
10297         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10298         [$(build-bounded) = yes] ($(addprefix
10299         $(objpfx),$(binaries-bounded))): Remove rule.
10300         ($(objpfx)%-bp.out): Remove rule.
10301         * config.make.in (build-bounded): Remove variable.
10302         * crypt/Makefile [$(build-bounded) = yes]
10303         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10304         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10305         append to variable.
10306         [$(build-bounded) = yes] (install-lib): Likewise.
10307         [$(build-bounded) = yes] (generated): Likewise.
10308         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10309         Remove rule.
10310         * intl/Makefile [$(build-bounded) = yes]
10311         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10312         * math/Makefile [$(build-bounded) = yes]
10313         ($(tests:%=$(objpfx)%-bp): Likewise.
10314         * misc/Makefile [$(build-bounded) = yes]
10315         ($(objpfx)tst-tsearch-bp): Likewise.
10316         * nptl/Makeconfig (bounded-thread-library): Remove variable.
10317         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10318         Remove dependency.
10319         * string/Makefile (o-objects.ob): Remove variable.
10320         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10321         (CFLAGS-.ob): Remove variable.
10322         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10323         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10324         both definitions of variable.
10325         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10326         (ASFLAGS-.ob): Remove variable.
10328 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
10330         [BZ #13550]
10331         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10332         Remove __BOUNDED_POINTERS__ from condition.
10333         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10334         * string/bits/string2.h [!__NO_STRING_INLINES &&
10335         !__BOUNDED_POINTERS__]: Likewise.
10336         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10337         Likewise.
10338         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10339         Remove conditional code.
10340         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10341         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10342         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10343         condition.
10345         [BZ #13550]
10346         * csu/libc-start.c: Do not include <bp-sym.h>.
10347         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10348         * elf/dl-open.c: Do not include <bp-sym.h>.
10349         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10350         * math/fegetenv.c: Do not include <bp-sym.h>.
10351         (fegetenv): Do not use BP_SYM in versioned symbols.
10352         * nptl/sysdeps/pthread/bits/libc-lockP.h
10353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10354         <bp-sym.h>.
10355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10356         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10358         (__pthread_mutex_destroy): Likewise.
10359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10360         (__pthread_mutex_lock): Likewise.
10361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10362         (__pthread_mutex_trylock): Likewise.
10363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10364         (__pthread_mutex_unlock): Likewise.
10365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10366         (__pthread_mutexattr_init): Likewise.
10367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10368         (__pthread_mutexattr_destroy): Likewise.
10369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10370         (__pthread_mutexattr_settype): Likewise.
10371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10372         (__pthread_rwlock_init): Likewise.
10373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10374         (__pthread_rwlock_destroy): Likewise.
10375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10376         (__pthread_rwlock_rdlock): Likewise.
10377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10378         (__pthread_rwlock_tryrdlock): Likewise.
10379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10380         (__pthread_rwlock_wrlock): Likewise.
10381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10382         (__pthread_rwlock_trywrlock): Likewise.
10383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10384         (__pthread_rwlock_unlock): Likewise.
10385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10386         (__pthread_key_create): Likewise.
10387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10388         (__pthread_setspecific): Likewise.
10389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10390         (__pthread_getspecific): Likewise.
10391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10392         Likewise.
10393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10394         (_pthread_cleanup_push_defer): Likewise.
10395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10396         (_pthread_cleanup_pop_restore): Likewise.
10397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10398         (pthread_setcancelstate): Likewise.
10399         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10400         <bp-sym.h>.
10401         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10402         (memchr): Do not use BP_SYM in weak_alias.
10403         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10404         (fegetenv): Do not use BP_SYM in versioned symbols.
10405         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10406         (fesetenv): Do not use BP_SYM in versioned symbols.
10407         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10408         (feupdateenv): Do not use BP_SYM in versioned symbols.
10409         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10410         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10411         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10412         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10413         (open64): Do not use BP_SYM in weak_alias.
10414         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10415         (fegetenv): Do not use BP_SYM in versioned symbols.
10416         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10417         (fesetenv): Do not use BP_SYM in versioned symbols.
10418         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10419         (feupdateenv): Do not use BP_SYM in versioned symbols.
10420         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10421         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10422         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10423         (feraiseexcept): Do not use BP_SYM in versioned symbols.
10424         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10425         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10426         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10427         <bp-sym.h>.
10428         (__libc_start_main): Do not use BP_SYM.
10430 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10433         redundant return line.
10434         (norm): Likewise.
10435         (denorm): Likewise.
10436         (dbl_mp): Likewise.
10437         (sub_magnitudes): Likewise.
10438         (__add): Likewise.
10439         (__sub): Likewise.
10440         (__mul): Likewise.
10441         (__inv): Likewise.
10442         (__dvd): Likewise.
10443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10444         (norm): Likewise.
10445         (denorm): Likewise.
10446         (dbl_mp): Likewise.
10447         (sub_magnitudes): Likewise.
10448         (__add): Likewise.
10449         (__sub): Likewise.
10450         (__mul): Likewise.
10451         (__inv): Likewise.
10452         (__dvd): Likewise.
10454         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10455         instead of __mul.
10456         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10457         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10458         (cc32): Likewise.
10460         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10461         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10463         of __mul for squares.
10464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10465         function
10466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10467         Likewise.
10468         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10469         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10471 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10473         [BZ #13550]
10474         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10475         code.
10476         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10477         prototype or function definition.  Rename ubp_* variables and
10478         parameters.  Remove argv definitions conditional on
10479         [__BOUNDED_POINTERS__].
10480         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10481         * elf/dl-runtime.c (_dl_fixup): Likewise.
10482         * include/set-hooks.h (RUN_HOOK): Likewise.
10483         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10484         definition.
10485         * string/strcpy.c (strcpy): Do not use __unbounded.
10486         * sysdeps/generic/frame.h (struct layout): Likewise.
10487         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10488         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10489         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10490         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10491         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10492         (__backtrace): Likewise.
10493         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10494         use __ptrvalue.
10495         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10496         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10497         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10498         Likewise.
10499         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10500         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10501         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10502         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10503         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10504         Do not use __unbounded.
10505         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10506         Rename __unboundedrlimits parameter to rlimits in prototype.
10507         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10508         Do not use __unbounded.
10509         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10510         not use __ptrvalue.
10511         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10512         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10513         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10514         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10515         __ptrvalue or __unbounded.
10516         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10517         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10518         use __unbounded.
10519         (__new_msgctl): Do not use __ptrvalue.
10520         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10521         __unbounded.
10522         (__libc_msgrcv): Do not use __ptrvalue.
10523         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10524         startup_info): Do not use __unbounded.
10525         (__libc_start_main): Likewise.  Rename ubp_* variables and
10526         parameters.  Remove argv definitions conditional on
10527         [__BOUNDED_POINTERS__].
10528         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10529         __ptrvalue.
10530         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10531         use __unbounded.
10532         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10533         or __ptrvalue.
10534         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10535         use __unbounded.
10536         (__new_shmctl): Do not use __ptrvalue.
10537         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10538         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10539         Likewise.
10540         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10541         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10542         (__libc_sigaction): Likewise.
10543         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10544         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10545         Likewise.
10546         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10548 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10550         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10552         * string/mempcpy.c: Implement by calling memcpy.
10554 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10558         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10559         evaluation.
10561         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10562         values in the mantissa.
10564         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10565         minimize writes to Z.
10566         (sub_magnitudes): Simplify code a bit.
10568 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10570         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10571         from the message.  The linker prefixes all warnings with that already.
10573 2013-02-12  Andreas Schwab  <schwab@suse.de>
10575         [BZ #15078]
10576         * posix/regexec.c (extend_buffers): Add parameter min_len.
10577         (check_matching): Pass minimum needed length.
10578         (clean_state_log_if_needed): Likewise.
10579         (get_subexp): Likewise.
10580         * posix/Makefile (tests): Add bug-regex34.
10581         (bug-regex34-ENV): Define.
10582         * posix/bug-regex34.c: New file.
10584         [BZ #11561]
10585         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10586         elements compare against the byte sequence of it, not its name.
10587         * posix/Makefile (tests): Add bug-regex35.
10588         (bug-regex35-ENV): Define.
10589         * posix/bug-regex35.c: New file.
10591 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10593         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10594         comment.
10595         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10596         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10597         (CHECK_EOL): Add undef.
10599 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10601         * bits/stdlib-bsearch.h: New file.
10602         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10603         * stdlib/stdlib.h: Likewise.
10605 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10607         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10608         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10609         declaration.
10610         * manual/search.texi (Array Search Function): Add missing const in
10611         lfind prototype.
10612         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10613         declaration to use rlim_t.
10614         (Basic Scheduling Functions): Remove erroneous const from
10615         sched_getparam prototype.  Remove erroneous * from
10616         sched_get_priority_max and sched_get_priority_min prototypes.
10617         (Resource Usage): Fix summary @comment on vtimes to refer to
10618         sys/vtimes.h rather than vtimes.h.
10619         Add missing *s in vtimes prototype.
10620         (Limits on Resources): Fix ulimit prototype to return long int.
10621         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10622         prototypes to use long int rather than double.
10623         (BSD Random): Fix initstate and setstate to use char *, not void *.
10624         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10625         prototype to make second argument 'struct aiocb64 *const[]'.
10626         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10627         (Status of AIO Operations): Remove erroneous const in aio_return and
10628         aio_return64 prototypes.
10629         (Synchronizing I/O): Fix sync prototype to return void.
10630         * manual/startup.texi (Suboptions): Remove an erroneous const in
10631         getsubopt prototype.
10632         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10633         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10634         use size_t rather than int.
10635         (Scanning All Users): Likewise for getpwent_r.
10636         (Setting Groups): Add missing const to setgroups prototype.
10637         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10638         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10639         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10640         'const void *' rather than 'const char *'.
10641         (Host Address Functions): Likewise for inet_ntop.
10642         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10643         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10644         ssize_t for return value.
10645         (Sending Data): Likewise for send, sendto, sendmsg.
10646         (Socket Option Functions): Add a missing const in setsockopt prototype.
10647         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10648         use wchar_t for the argument.
10649         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10650         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10651         take no arguments.
10652         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10653         double/float/long double for second argument.
10654         Fix return types of significand, significandf, significandl.
10655         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10656         argument in fchmod prototype.
10657         (File Owner): Use uid_t and gid_t in fchown prototype.
10658         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10659         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10660         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10661         use 'const struct dirent **' as argument types to CMP function pointer
10662         argument.
10663         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10664         (File Times): Fix summary magic @comment for struct utimbuf and utime
10665         to refer to utime.h, not time.h.
10666         * manual/string.texi (Argz Functions): Add missing const in
10667         argz_extract and argz_next prototypes.
10668         (Finding Tokens in a String): Likewise for basename.
10669         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10670         (Copying and Concatenation): Fix typo in wmemmove prototype.
10671         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10672         (Signal Stack): Remove erroneous const in sigstack prototype.
10673         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10674         prototype.
10675         (Simple Calendar Time): Likewise for stime.
10676         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10677         prototype.
10678         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10679         say sys/sysctl.h instead.
10680         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10681         and vsyslog prototypes.
10683 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10685         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10686         Remove.
10688 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10690         * misc/sys/mman.h: Fix typo in mremap comment.
10692 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10694         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10695         the '\0' terminator.
10697 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10699         [BZ #13550]
10700         * debug/segfault.c: Don't include <bp-checks.h>.
10701         * sysdeps/generic/bp-checks.h: Remove file.
10702         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10703         (__GETDENTS): Don't use CHECK_N.
10704         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10705         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10706         (__getgroups): Don't use CHECK_N.
10707         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10708         (setgroups): Don't use CHECK_N.
10709         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10710         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10711         (__libc_msgrcv): Don't use CHECK_N.
10712         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10713         (__libc_msgsnd): Don't use CHECK_N.
10714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10715         <bp-checks.h>.
10716         (__libc_pread): Don't use CHECK_N.
10717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10718         include <bp-checks.h>.
10719         (__libc_pread64): Don't use CHECK_N.
10720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10721         include <bp-checks.h>.
10722         (__libc_pwrite): Don't use CHECK_N.
10723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10724         include <bp-checks.h>.
10725         (__libc_pwrite64): Don't use CHECK_N.
10726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10727         <bp-checks.h>.
10728         (__libc_pread): Don't use CHECK_N.
10729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10730         include <bp-checks.h>.
10731         (__libc_pread64): Don't use CHECK_N.
10732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10733         include <bp-checks.h>.
10734         (__libc_pwrite): Don't use CHECK_N.
10735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10736         include <bp-checks.h>.
10737         (__libc_pwrite64): Don't use CHECK_N.
10738         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10739         (do_pread): Don't use CHECK_N.
10740         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10741         (do_pread64): Don't use CHECK_N.
10742         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10743         (do_pwrite): Don't use CHECK_N.
10744         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10745         (do_pwrite64): Don't use CHECK_N.
10746         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10747         (__libc_readv): Don't use CHECK_N.
10748         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10749         (semop): Don't use CHECK_N.
10750         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10751         <bp-checks.h>.
10752         (semtimedop): Don't use CHECK_N.
10753         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10754         (__libc_pread): Don't use CHECK_N.
10755         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10756         <bp-checks.h>.
10757         (__libc_pread64): Don't use CHECK_N.
10758         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10759         <bp-checks.h>.
10760         (__libc_pwrite): Don't use CHECK_N.
10761         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10762         <bp-checks.h>.
10763         (__libc_pwrite64): Don't use CHECK_N.
10764         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10765         <bp-checks.h>.
10766         (__libc_msgrcv): Don't use CHECK_N.
10767         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10768         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10769         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10770         (__libc_writev): Don't use CHECK_N.
10772 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10774         * string/strcpy.c: Removed unused variable.
10776         * Makeconfig (+sysdep-includes): Define with := rather than =.
10777         Use an existing include/ subdir of each sysdeps dir before it.
10779 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10781         * nscd/connection.c (register_traced_file): Comment function.
10782         [HAVE_INOTIFY] (union __inev): Define.
10783         [HAVE_INOTIFY] (inotify_check_files): New function.
10784         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10785         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10786         clear_db_cache.
10787         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10789 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10791         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10792         loaded if not already and that a failure is permanent.
10794 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10796         [BZ #15006]
10797         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10798         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10800 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10802         [BZ #13550]
10803         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10804         (CHECK_1_NULL_OK): Likewise.
10805         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10806         (__fxstat): Do not use CHECK_1.
10807         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10808         <bp-checks.h>.
10809         (___fxstat64): Do not use CHECK_1.
10810         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10811         <bp-checks.h>.
10812         (__fxstatat): Do not use CHECK_1.
10813         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10814         <bp-checks.h>.
10815         (__fxstatat64): Do not use CHECK_1.
10816         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10817         <bp-checks.h>.
10818         (__fxstat): Do not use CHECK_1.
10819         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10820         <bp-checks.h>.
10821         (__fxstatat): Do not use CHECK_1.
10822         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10823         <bp-checks.h>.
10824         (__getresgid): Do not use CHECK_1.
10825         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10826         <bp-checks.h>.
10827         (__getresuid): Do not use CHECK_1.
10828         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10829         <bp-checks.h>.
10830         (__lxstat): Do not use CHECK_1.
10831         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10832         <bp-checks.h>.
10833         (__old_msgctl): Do not use CHECK_1.
10834         (__new_msgctl): Likewise.
10835         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10836         <bp-checks.h>.
10837         (__new_setrlimit): Do not use CHECK_1.
10838         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10839         <bp-checks.h>.
10840         (__old_shmctl): Do not use CHECK_1.
10841         (__new_shmctl): Likewise.
10842         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10843         <bp-checks.h>.
10844         (__xstat): Do not use CHECK_1.
10845         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10846         (__lxstat): Do not use CHECK_1.
10847         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10848         <bp-checks.h>.
10849         (___lxstat64): Do not use CHECK_1.
10850         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10851         (__old_msgctl): Do not use CHECK_1.
10852         (__new_msgctl): Likewise.
10853         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10854         <bp-checks.h>.
10855         (__gettimeofday): Do not use CHECK_1.
10856         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10857         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10858         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10859         <bp-checks.h>.
10860         (__gettimeofday): Do not use CHECK_1.
10861         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10862         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10863         (__new_shmctl): Do not use CHECK_1.
10864         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10865         <bp-checks.h>.
10866         (do_sigtimedwait): Do not use CHECK_1.
10867         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10868         <bp-checks.h>.
10869         (do_sigwaitinfo): Do not use CHECK_1.
10870         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10871         <bp-checks.h>.
10872         (msgctl): Do not use CHECK_1.
10873         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10874         <bp-checks.h>.
10875         (shmctl): Do not use CHECK_1.
10876         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10877         (ustat): Do not use CHECK_1.
10878         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10879         <bp-checks.h>.
10880         (__fxstat): Do not use CHECK_1.
10881         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10882         <bp-checks.h>.
10883         (__fxstatat): Do not use CHECK_1.
10884         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10885         <bp-checks.h>.
10886         (__lxstat): Do not use CHECK_1.
10887         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10888         <bp-checks.h>.
10889         (__xstat): Do not use CHECK_1.
10890         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10891         (__xstat): Do not use CHECK_1.
10892         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10893         (___xstat64): Do not use CHECK_1.
10895         [BZ #13550]
10896         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10897         definitions.
10898         (CHECK_BOUNDS_HIGH): Likewise.
10899         * string/strcpy.c: Do not include <bp-checks.h>.
10900         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10902 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10904         * nscd/nscd-client.h (__nscd_drop_map_ref):
10905         Add __attribute__ ((unused)).
10906         * nis/nss-nisplus.h (niserr2nss): Likewise.
10908         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10909         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10911         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10912         Remove inline keyword.
10913         * include/rounding-mode.h (round_away): Likewise.
10914         * libio/wfileops.c (adjust_wide_data): Likewise.
10915         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10916         (__m128i_strloadu_tolower): Likewise.
10917         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10918         (__m128i_strloadu_tolower): Likewise.
10919         * time/mktime.c (ydhms_diff): Likewise.
10920         * locale/elem-hash.h (elem_hash): Likewise.
10921         * locale/setlocale.c (setdata): Likewise.
10922         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10923         (re_string_wchar_at): Likewise.
10924         (bitset_not, bitset_merge, bitset_mask): Likewise.
10925         [!(__GNUC__ > 3)] (inline): Remove macro.
10926         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10927         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10928         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10929         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10930         * string/memcmp.c (memcmp_bytes): Likewise.
10931         * locale/programs/locarchive.c (compute_hashval): Likewise.
10932         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10933         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10934         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10935         * nss/getent.c (print_rpc, print_protocols): Likewise.
10936         (print_passwd, print_group, print_aliases): Likewise.
10937         * nis/nss-nisplus.h (niserr2nss): Likewise.
10938         * nscd/connections.c (restart_p): Likewise.
10939         Change return type to bool.
10941 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10943         * Makeconfig (all-Depend-files): Add existing
10944         $(sorted-subdirs:=/Depend) files.
10945         (all-subdirs): Remove nss.
10946         * sysdeps/unix/inet/Subdirs: Add it here instead.
10947         * hesiod/Depend: New file.
10949         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10950         instead of calling alloca.
10952         * io/lseek.c (__lseek): Rename to __libc_lseek.
10953         Define __lseek as an alias.
10955         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10957 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10959         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10960         else clause and remove check for non-standard endianness.
10962 2013-02-04  David S. Miller  <davem@davemloft.net>
10964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10966 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10968         [BZ #13550]
10969         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10970         (__ubp_memchr): Remove prototype.
10971         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10972         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10973         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10974         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10975         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10976         Remove alias.
10977         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10978         (__ubp_memchr): Likewise.
10979         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10980         (__ubp_memchr): Likewise.
10981         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10982         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10983         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10984         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10985         CHECK_STRING.
10986         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10987         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10988         (__getcwd): Do not use CHECK_STRING.
10989         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10990         <bp-checks.h>.
10991         (__real_chown): Do not use CHECK_STRING.
10992         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10993         <bp-checks.h>.
10994         (fchownat): Do not use CHECK_STRING.
10995         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10996         CHECK_STRING.
10997         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10998         <bp-checks.h>.
10999         (__lchown): Do not use CHECK_STRING.
11000         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11001         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11002         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11003         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11005         include <bp-checks.h>.
11006         (truncate64): Do not use CHECK_STRING.
11007         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11008         <bp-checks.h>.
11009         (__real_chown): Do not use CHECK_STRING.
11010         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11011         <bp-checks.h>.
11012         (__lchown): Do not use CHECK_STRING.
11013         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11014         <bp-checks.h>.
11015         (__chown): Do not use CHECK_STRING.
11016         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11017         <bp-checks.h>.
11018         (truncate64): Do not use CHECK_STRING.
11019         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11020         Likewise.
11021         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11022         (__xmknod): Do not use CHECK_STRING.
11023         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11024         <bp-checks.h>.
11025         (__xmknodat): Do not use CHECK_STRING.
11026         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11027         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11029 2013-02-04  Andreas Schwab  <schwab@suse.de>
11031         [BZ #14142]
11032         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11033         * include/netdb.h: Likewise for h_errno.
11034         * elf/tst-stackguard1.c: Include <tls.h>.
11036 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11038         * elf/link.h (struct link_map): Extend the l_addr comment.
11039         * include/link.h (struct link_map): Likewise.
11041 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
11043         [BZ #13550]
11044         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11045         (BOUNDED_1): Remove macro.
11046         * debug/backtrace.c: Don't include <bp-checks.h>.
11047         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11048         (__backtrace): Likewise.
11049         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11050         <bp-checks.h>.
11051         (__backtrace): Don't use BOUNDED_1.
11052         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11053         <bp-checks.h>.
11054         (__backtrace): Don't use BOUNDED_1.
11055         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11056         (__backtrace): Don't use BOUNDED_1.
11057         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11058         (shmat): Don't use BOUNDED_N.
11060 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
11062         [BZ #13550]
11063         * sysdeps/generic/bp-start.h: Remove file.
11064         * csu/libc-start.c: Don't include <bp-start.h>.
11065         (LIBC_START_MAIN): Set up __environ directly instead of using
11066         INIT_ARGV_and_ENVIRON.
11067         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11068         <bp-start.h>.
11070         [BZ #13550]
11071         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11072         definitions.
11073         (CHECK_FCNTL): Likewise.
11074         (CHECK_N_PAGES): Likewise.
11076         [BZ #13550]
11077         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11078         definitions.
11079         (CHECK_SIGSET_NULL_OK): Likewise.
11080         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11081         <bp-checks.h>.
11082         (sigpending): Don't use CHECK_SIGSET.
11083         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11084         <bp-checks.h>.
11085         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11086         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11087         <bp-checks.h>.
11088         (do_sigsuspend): Don't use CHECK_SIGSET.
11089         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11090         use CHECK_SIGSET.
11091         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11092         (do_sigwait): Don't use CHECK_SIGSET.
11093         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11094         use CHECK_SIGSET.
11095         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11096         include <bp-checks.h>.
11097         (sigpending): Don't use CHECK_SIGSET.
11098         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11099         include <bp-checks.h>.
11100         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11101         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11102         <bp-checks.h>.
11103         (sigpending): Don't use CHECK_SIGSET.
11104         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11105         <bp-checks.h>.
11106         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11108         [BZ #13550]
11109         * sysdeps/generic/bp-semctl.h: Remove file.
11110         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11111         <bp-checks.h> and <bp-semctl.h>.
11112         (__old_semctl): Don't use CHECK_SEMCTL.
11113         (__new_semctl): Likewise.
11114         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11115         and <bp-semctl.h>.
11116         (__old_semctl): Don't use CHECK_SEMCTL.
11117         (__new_semctl): Likewise.
11118         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11119         <bp-checks.h> and <bp-semctl.h>.
11120         (__old_semctl): Don't use CHECK_SEMCTL.
11121         (__new_semctl): Likewise.
11122         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11123         <bp-checks.h> and <bp-semctl.h>.
11124         (semctl): Don't use CHECK_SEMCTL.
11126         [BZ #13550]
11127         * Makerules (elide-bp-thunks): Remove variable.
11128         (elide-routines.oS): Don't use $(elide-bp-thunks).
11129         (elide-routines.os): Likewise.
11130         (elide-routines.o): Likewise.
11131         (elide-routines.op): Likewise.
11132         (elide-routines.og): Likewise.
11133         (objects): Don't use $(bp-thunks).
11134         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11135         include.
11136         (common-generated): Do not add s-proto-bp.d.
11137         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11138         (int): Likewise.
11139         (typ): Likewise.
11140         Do not generate makefile rules for bounded-pointer thunks.
11141         * sysdeps/generic/bp-thunks.h: Remove file.
11142         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11143         * sysdeps/unix/s-proto-bp.S: Likewise.
11145         [BZ #15062]
11146         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11147         parts of result separately when argument is not close to line from
11148         -i to i and one part of argument is small.
11149         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11150         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11151         * math/libm-test.inc (cacos_test): Add more tests.
11152         (casin_test): Likewise.
11153         (casinh_test): Likewise.
11154         * sysdeps/i386/fpu/libm-test-ulps: Update.
11155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11157 2013-01-31  David S. Miller  <davem@davemloft.net>
11159         * po/de.po: Update from translation team.
11161 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
11163         * time/tzfile.c: Include stdint.h for SIZE_MAX.
11165 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
11167         * configure.in (_AC_PROG_CC_C89): New definition.
11168         * configure: Regenerate.
11170         * configure.in (AC_PROG_CPP): New definition.
11171         * configure: Regenerate.
11173 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11175         * debug/tst-backtrace.h: New file.
11176         * debug/tst-backtrace2.c: Include tst-backtrace.h.
11177         (ret): Remove variable.
11178         (x): Likewise.
11179         (FAIL): Remove macro.
11180         (NO_INLINE): Likewise.
11181         (fn1): Use match function instead of strstr.
11182         * debug/tst-backtrace3.c: Include tst-backtrace.h.
11183         (ret): Remove variable.
11184         (x): Likewise.
11185         (FAIL): Remove macro.
11186         (NO_INLINE): Likewise.
11187         (fn): Use match function instead of strstr.
11188         * debug/tst-backtrace4.c: Include tst-backtrace.h.
11189         (ret): Remove variable.
11190         (x): Likewise.
11191         (FAIL): Remove macro.
11192         (NO_INLINE): Likewise.
11193         (handle_signal): Use match function instead of strstr.
11194         * debug/tst-backtrace5.c: Include tst-backtrace.h.
11195         (ret): Remove variable.
11196         (x): Likewise.
11197         (FAIL): Remove macro.
11198         (NO_INLINE): Likewise.
11199         (handle_signal): Use match function instead of strstr.
11201 2013-01-23  Roland McGrath  <roland@hack.frob.com>
11203         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11205 2013-01-23  David S. Miller  <davem@davemloft.net>
11207         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11208         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11209         argument of CAS if possible.
11210         * sysdeps/sparc/sparc64/bits/atomic.h
11211         (__arch_compare_and_exchange_val_32_acq): Likewise.
11212         (__arch_compare_and_exchange_val_64_acq): Likewise.
11214 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
11216         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11217         * sysdeps/posix/ulimit.c: ... this.
11218         Include <limits.h>.
11219         * sysdeps/unix/bsd/ulimit.c: Remove file.
11221 2013-01-23  Adam Conrad  <adconrad@0c3.net>
11223         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11224         (LDFLAGS-tst-array5): Likewise.
11226 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11228         [BZ #15036]
11229         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11230         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11231         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11232         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11234 2013-01-21  David S. Miller  <davem@davemloft.net>
11236         * sysdeps/sparc/backtrace.c: New file.
11237         * sysdeps/sparc/sparc32/backtrace.h: New file.
11238         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11239         * sysdeps/sparc/sparc64/backtrace.h: New file.
11240         * sysdeps/sparc/sparc64/backtrace.c: Delete.
11241         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11242         -funwind-tables.
11244 2013-01-21  Andreas Schwab  <schwab@suse.de>
11246         [BZ #15020]
11247         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11248         closed its stdout.
11250 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
11252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11253         "mpa2.h".
11254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11256 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
11257             Mark Mitchell  <mark@codesourcery.com>
11258             Tom de Vries  <tom@codesourcery.com>
11259             Paul Pluzhnikov  <ppluzhnikov@google.com>
11261         * debug/tst-backtrace2.c: New file.
11262         * debug/tst-backtrace3.c: Likewise.
11263         * debug/tst-backtrace4.c: Likewise.
11264         * debug/tst-backtrace5.c: Likewise.
11265         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11266         (CFLAGS-tst-backtrace3.c): Likewise.
11267         (CFLAGS-tst-backtrace4.c): Likewise.
11268         (CFLAGS-tst-backtrace5.c): Likewise.
11269         (LDFLAGS-tst-backtrace2): Likewise.
11270         (LDFLAGS-tst-backtrace3): Likewise.
11271         (LDFLAGS-tst-backtrace4): Likewise.
11272         (LDFLAGS-tst-backtrace5): Likewise.
11273         (tests): Add new tests tst-backtrace2, tst-backtrace3,
11274         tst-backtrace4 and tst-backtrace5.
11276 2013-01-18  Anton Blanchard  <anton@samba.org>
11277             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11279         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11280         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11281         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11282         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11284         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11285         "+r" and remove output regs list as redundant.  Add explicit inline
11286         asm to specify register of return val to work around compiler codegen
11287         bug.  Remove (int) cast on return value.  Add return type parameter to
11288         use in macro so that this macro does not truncate return value for
11289         64-bit values.
11290         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11291         pass to INTERNAL_VSYSCALL_NCS.
11292         (INLINE_VSYSCALL): Add 'long int' as return type to
11293         INTERNAL_VSYSCALL_NCS macro invocation.
11294         (INTERNAL_VSYSCALL): Add 'long int' as return type to
11295         INTERNAL_VSYSCALL_NCS macro invocation.
11296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11298 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11300         [BZ #14496]
11301         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11302         Fix application of SIMD FP exception mask.
11304         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11305         mp_no from a power of two.
11306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11307         __mpexp_twomm1.  Use __pow_mp.
11309         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11310         multiplication.
11312 2013-01-17  David S. Miller  <davem@davemloft.net>
11314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11316 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11318         [BZ #15023]
11319         * include/complex.h: Condition contents on [!_COMPLEX_H].
11320         (__kernel_casinhf): New prototype.
11321         (__kernel_casinh): Likewise.
11322         (__kernel_casinhl): Likewise.
11323         * math/Makefile (libm_calls): Add k_casinh.
11324         * math/k_casinh.c: New file.
11325         * math/k_casinhf.c: Likewise.
11326         * math/k_casinhl.c: Likewise.
11327         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11328         finite nonzero arguments.
11329         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11330         finite nonzero arguments.
11331         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11332         finite nonzero arguments.
11333         * math/s_casinh.c: Do not include <float.h>.
11334         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11335         * math/s_casinhf.c: Do not include <float.h>.
11336         (__casinhf): Move code for finite nonzero arguments to
11337         k_casinhf.c.
11338         * math/s_casinhl.c: Do not include <float.h>.
11339         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11340         redefine.
11341         (__casinhl): Move code for finite nonzero arguments to
11342         k_casinhl.c.
11343         * math/libm-test.inc (cacos_test): Add more tests.
11344         * sysdeps/i386/fpu/libm-test-ulps: Update.
11345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11347 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
11349         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11350         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11351         [!HAVE_MREMAP]: Remove [defined linux] case.
11352         * malloc/arena.c: Do not include <malloc-sysdep.h>.
11354 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11356         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11358 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
11360         * elf/elf.h (R_386_SIZE32): New relocation.
11361         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11362         R_386_SIZE32.
11363         (elf_machine_rela): Likewise.
11364         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11365         R_X86_64_SIZE64 and R_X86_64_SIZE32.
11367 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11369         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11370         (FP_FAST_FMA): Do not define.
11371         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11372         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11373         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11374         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11375         !_SOFT_FLOAT]: Likewise.
11376         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11377         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11378         value.
11379         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11380         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11381         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11382         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11383         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11384         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11385         file.
11387 2013-01-16  Andreas Schwab  <schwab@suse.de>
11389         [BZ #14327]
11390         * include/stdlib.h (__mktemp): Add declaration.
11391         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11392         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11394 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11396         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11397         definitions.
11398         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11399         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11400         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11401         definitions here.
11402         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11403         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11404         definitions.
11405         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11406         and ONE.
11407         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11408         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11409         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11410         definitions.
11411         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11412         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11413         definitions.
11414         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11416         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11418 2013-01-15  David S. Miller  <davem@davemloft.net>
11420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11421         trunc{,f} to libm-sysdep_routes.
11422         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11424         file.
11425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11427         file.
11428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11429         file.
11430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11432         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11433         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11434         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11435         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11436         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11437         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11440         nearbyint{,f} to libm-sysdep_routes.
11441         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11443         New file.
11444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11445         file.
11446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11447         New file.
11448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11449         file.
11450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11452         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11453         file.
11454         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11455         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11456         file.
11457         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11458         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11459         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11461         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11462         libc_feholdexcept and libc_fesetenv.
11464 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11466         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11468 2013-01-14  David S. Miller  <davem@davemloft.net>
11470         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11471         (SPARC_ASM_VIS2_IFUNC): Likewise.
11472         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11474         use of 'siam' instruction.
11475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11476         Likewise.
11477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11478         Likewise.
11479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11480         Likewise.
11481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11486         file.
11487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11488         file.
11489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11490         file.
11491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11492         file.
11493         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11494         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11495         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11498         new VIS2 routines.
11499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11502         Likewise.
11503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11508         routines to libm-sysdep_routines.
11509         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11512         fdim/fdimf to libm-sysdep_routines.
11513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11514         file.
11515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11517         file.
11518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11521         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11522         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11523         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11524         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11526 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11528         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11529         to optimize copies.
11531         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11536         local variable MPTWO.
11537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11538         Likewise.
11540 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11542         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11543         GLOB_NOESCAPE.
11545 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11547         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11549 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11551         * manual/pattern.texi (glob_t): Document gl_flags.
11552         (glob64_t): Likewise.
11554 2013-01-11  David S. Miller  <davem@davemloft.net>
11556         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11557         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11558         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11559         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11560         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11561         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11562         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11563         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11564         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11565         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11566         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11567         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11568         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11570         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11571         sparc V9 rather than using V8 code.
11572         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11573         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11575         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11576         Move to...
11577         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11578         Here.
11580 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11582         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11583         not in the main loop.
11584         * configure: Regenerated.
11586 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11588         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11589         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11590         to just #else.
11591         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11592         [!__GLIBC_HAVE_LONG_LONG] case.
11593         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11594         condition to just #else.
11595         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11596         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11597         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11598         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11599         unconditional.
11600         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11601         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11602         #elif condition to just #else.
11603         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11604         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11605         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11606         #elif condition to just #else.
11608 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11610         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11611         (EF_MIPS_ARCH_64): Fix value.
11612         (EF_MIPS_ARCH_32R2): New.
11613         (EF_MIPS_ARCH_64R2): New.
11615 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11617         * Makeconfig (+link-pie-before-libc): New.
11618         (+link-pie-after-libc): Likewise.
11619         (+link-pie-tests): Likewise.
11620         (+link-pie): Rewritten.
11621         (link-before-libc): Remove $(config-LDFLAGS).
11622         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11623         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11624         (config-LDFLAGS): Renamed to ...
11625         (rtld-LDFLAGS): This.
11626         (rtld-tests-LDFLAGS): New macro.
11627         (link-libc-rpath-link): Likewise.
11628         (link-libc-tests-rpath-link): Likewise.
11629         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11630         (link-libc): Prepand $(link-libc-rpath-link).
11631         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11632         (test-program-prefix): New macro.
11633         (test-via-rtld-prefix): Likewise.
11634         (test-program-cmd): Likewise.
11635         (host-test-program-cmd): Likewise.
11636         * Makefile ($(common-objpfx)testrun.sh): Replace
11637         $(run-program-prefix) with $(test-program-prefix).
11638         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11639         $(rtld-LDFLAGS).
11640         ($(common-objpfx)shlib.lds): Likewise.
11641         (build-module-helper): Likewise.
11642         ($(common-objpfx)format.lds): Likewise.
11643         * Rules (binaries-pie-tests): New.
11644         (binaries-pie-notests): Likewise.
11645         (binaries-pie): Rewritten.
11646         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11647         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11648         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11649         (make-test-out): Replace $(host-built-program-cmd) with
11650         $(host-test-program-cmd).
11651         * config.make.in (build-hardcoded-path-in-tests): New variable.
11652         * configure.in (--enable-hardcoded-path-in-tests): New configure
11653         option.
11654         (hardcoded_path_in_tests): New AC_SUBST.
11655         * configure: Regenerated.
11656         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11657         $(built-program-cmd) with $(test-program-cmd).
11658         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11659         (test_program_cmd): This.
11660         * elf/Makefile ($(objpfx)order.out): Run test with
11661         $(test-program-prefix).
11662         ($(objpfx)order2.out): Likewise.
11663         ($(objpfx)tst-initorder.out): Likewise.
11664         ($(objpfx)tst-initorder2.out): Likewise.
11665         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11666         $(test-program-cmd).
11667         ($(objpfx)tst-array1-static.out): Likewise.
11668         ($(objpfx)tst-array2.out): Likewise.
11669         ($(objpfx)tst-array3.out): Likewise.
11670         ($(objpfx)tst-array4.out): Likewise.
11671         ($(objpfx)tst-array5.out): Likewise.
11672         ($(objpfx)tst-array5-static.out): Likewise.
11673         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11674         $(test-program-cmd).
11675         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11676         $(run-program-prefix) with $(test-program-prefix).
11677         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11678         (test_program_prefix): This.
11679         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11680         $(run-program-prefix) with $(test-program-prefix).
11681         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11682         (test_program_prefix): This.
11683         * iconvdata/tst-tables.sh: Likewise.
11684         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11685         $(run-program-prefix) with $(test-program-prefix).
11686         ($(objpfx)tst-translit.out): Likewise.
11687         ($(objpfx)tst-gettext2.out): Likewise.
11688         ($(objpfx)tst-gettext4.out): Likewise.
11689         ($(objpfx)tst-gettext6.out): Likewise.
11690         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11691         (test_program_prefix): This.
11692         * intl/tst-gettext2.sh: Likewise.
11693         * intl/tst-gettext4.sh  Likewise.
11694         * intl/tst-gettext6.sh: Likewise.
11695         * intl/tst-translit.sh: Likewise.
11696         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11697         with $(test-program-cmd).
11698         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11699         $(run-program-prefix) with $(test-program-prefix).
11700         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11701         (test_program_prefix): This.
11702         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11703         $(run-program-prefix) with $(test-program-prefix).
11704         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11705         (test_program_prefix): This.
11706         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11707         * posix/Makefile ($(objpfx)globtest.out): Replace
11708         $(run-via-rtld-prefix) and $(test-wrapper) with
11709         $(test-program-prefix) and $(test-via-rtld-prefix).
11710         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11711         $(test-program-prefix).
11712         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11713         $(host-test-program-cmd).
11714         (tst-spawn-ARGS): Likewise.
11715         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11716         $(test-program-prefix).
11717         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11718         (test_via_rtld_prefix): This.
11719         (test_wrapper): Renamed to ...
11720         (test_program_prefix): This.
11721         (run_program_prefix): Replaced by test_program_prefix.
11722         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11723         (test_program_prefix): This.
11724         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11725         with $(host-test-program-cmd).
11726         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11727         $(run-program-prefix) with $(test-program-prefix).
11728         ($(objpfx)tst-printf.out): Likewise.
11729         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11730         $(test-program-cmd).
11731         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11732         (test_program_prefix): This.
11733         * stdio-common/tst-unbputc.sh: Likewise.
11734         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11735         $(run-program-prefix) with $(test-program-prefix).
11736         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11737         (test_program_prefix): This.
11738         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11739         $(built-program-cmd) with $(test-program-cmd).
11741 2013-01-11  Andreas Jaeger  <aj@suse.de>
11743         [BZ #15003]
11744         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11745         value. Sync with Linux 3.7.
11747 2013-01-10  David S. Miller  <davem@davemloft.net>
11749         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11750         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11751         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11753 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11755         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11756         never set.
11757         * configure: Regenerated.
11759 2013-01-10  David S. Miller  <davem@davemloft.net>
11761         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11762         sparc V9 rather than using V8 code.
11763         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11764         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11766 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11768         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11769         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11770         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11771         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11772         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11773         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11774         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11775         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11776         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11777         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11778         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11779         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11780         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11781         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11782         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11783         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11784         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11785         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11786         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11787         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11788         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11789         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11790         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11791         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11792         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11793         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11794         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11796 2013-01-10  David S. Miller  <davem@davemloft.net>
11798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11800 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11802         * posix/Makefile (tests-static): New variable.
11803         (tests): Add $(tests-static).
11804         (tst-exec-static-ARGS): New variable.
11805         (tst-spawn-static-ARGS): Likewise.
11806         * posix/tst-exec-static.c: New file.
11807         * posix/tst-spawn-static.c: Likewise.
11808         * posix/tst-exec.c: Support run directly.
11809         * posix/tst-spawn.c: Likewise.
11811 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11813         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11814         long.
11815         * math/bits/mathcalls.h (llrint): Likewise.
11816         (llround): Likewise.
11817         * stdlib/stdlib.h (struct drand48_data): Likewise.
11818         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11819         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11820         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11821         Likewise.
11822         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11823         Likewise.
11824         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11825         (elf_greg_t): Likewise.
11826         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11827         (__jmp_buf): Likewise.
11828         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11829         definitions.
11830         (llrint): Likewise, for all definitions.
11831         (llrintl): Likewise.
11833         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11834         Remove [__GNUC__] condition.
11835         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11836         condition to just [__USE_ISOC99].
11837         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11839 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11841         [BZ #14200]
11842         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11843         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11844         defined.
11845         (_POSIX_V6_ILP32_OFF32): Likewise.
11846         (_XBS5_ILP32_OFF32): Likewise.
11847         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11848         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11850 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11852         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11854         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11855         doubles __mpexp_twomm1.  Adjust usage.
11856         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11857         Remove.
11859 2013-01-10  Andreas Schwab  <schwab@suse.de>
11861         [BZ #14964]
11862         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11863         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11865 2013-01-09  David S. Miller  <davem@davemloft.net>
11867         [BZ #15003]
11868         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11869         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11870         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11871         TCP_FASTOPEN): Define.
11872         (tcp_repair_opt): New structure.
11873         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11874         enum values.
11875         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11876         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11877         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11878         (tcp_cookie_transactions): New structure.
11880 2013-01-09  Anton Blanchard  <anton@samba.org>
11882         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11883         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11884         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11885         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11887 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11889         * include/features.h (__USE_ANSI): Remove.
11891 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11893         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11895         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11897 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11899         * sysdeps/s390/fpu/libm-test-ulps: Update.
11901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11903         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11904         (__acr): Likewise.
11905         (__cpy): Likewise.
11906         (norm): Likewise.
11907         (denorm): Likewise.
11908         (__mp_dbl): Likewise.
11909         (__dbl_mp): Likewise.
11910         (add_magnitudes): Likewise.
11911         (sub_magnitudes): Likewise.
11912         (__add): Likewise.
11913         (__sub): Likewise.
11914         (__mul): Likewise.
11915         (__inv): Likewise.
11916         (__dvd): Likewise.
11917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11918         (__acr): Likewise.
11919         (__cpy): Likewise.
11920         (norm): Likewise.
11921         (denorm): Likewise.
11922         (__mp_dbl): Likewise.
11923         (__dbl_mp): Likewise.
11924         (add_magnitudes): Likewise.
11925         (sub_magnitudes): Likewise.
11926         (__add): Likewise.
11927         (__sub): Likewise.
11928         (__mul): Likewise.
11929         (__inv): Likewise.
11930         (__dvd): Likewise.
11931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11932         (__acr): Likewise.
11933         (__cpy): Likewise.
11934         (norm): Likewise.
11935         (denorm): Likewise.
11936         (__mp_dbl): Likewise.
11937         (__dbl_mp): Likewise.
11938         (add_magnitudes): Likewise.
11939         (sub_magnitudes): Likewise.
11940         (__add): Likewise.
11941         (__sub): Likewise.
11942         (__mul): Likewise.
11943         (__inv): Likewise.
11944         (__dvd): Likewise.
11946 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11948         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11949         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11950         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11951         2 && __USE_EXTERN_INLINES]: Likewise.
11953 2013-01-08  Andreas Jaeger  <aj@suse.de>
11955         [BZ# 14985]
11956         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11957         Remove.
11958         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11959         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11961 2013-01-07  Anton Blanchard  <anton@samba.org>
11963         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11964         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11965         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11966         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11967         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11968         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11969         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11970         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11972         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11973         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11974         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11975         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11976         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11977         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11978         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11979         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11980         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11981         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11982         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11983         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11984         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11985         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11986         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11987         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11988         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11989         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11990         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11991         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11992         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11993         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11995         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11996         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11997         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11998         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11999         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12000         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12001         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12002         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12003         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12004         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12005         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12007 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
12009         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12010         (__MALLOC_PMT): Likewise.
12011         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12012         [__GNUC__], only on [_LIBC].
12013         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12014         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12015         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12016         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12017         forward declaration.
12018         (realloc_hook_ini): Likewise.
12019         (memalign_hook_ini): Likewise.
12020         (__libc_memalign): Do not use __MALLOC_PMT in variable
12021         declaration.
12022         (__libc_valloc): Likewise.
12023         (__libc_pvalloc): Likewise.
12024         (__libc_calloc): Likewise.
12025         (__posix_memalign): Likewise.
12027         [BZ #14996]
12028         * math/s_casinh.c: Include <float.h>.
12029         (__casinh): Do not do computation with squaring and square root
12030         for large arguments.
12031         * math/s_casinhf.c: Include <float.h>.
12032         (__casinhf): Do not do computation with squaring and square root
12033         for large arguments.
12034         * math/s_casinhl.c: Include <float.h>.
12035         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12036         (__casinhl): Do not do computation with squaring and square root
12037         for large arguments.
12038         * math/libm-test.inc (casin_test): Add more tests.
12039         (casinh_test): Likewise.
12040         * sysdeps/i386/fpu/libm-test-ulps: Update.
12041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12043 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
12045         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12046         (__x86_64_raw_data_cache_size): Likewise.
12047         (__x86_64_data_cache_size_half): Likewise.
12048         (__x86_64_raw_data_cache_size_half): Likewise.
12049         (__x86_64_shared_cache_size): Likewise.
12050         (__x86_64_raw_shared_cache_size): Likewise.
12051         (__x86_64_shared_cache_size_half): Likewise.
12052         (__x86_64_raw_shared_cache_size_half): Likewise.
12053         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12054         to ...
12055         (__x86_data_cache_size): This.
12056         (__x86_64_raw_data_cache_size): Renamed to ...
12057         (__x86_raw_data_cache_size): This.
12058         (__x86_64_data_cache_size_half): Renamed to ...
12059         (__x86_data_cache_size_half): This.
12060         (__x86_64_raw_data_cache_size_half): Renamed to ...
12061         (__x86_raw_data_cache_size_half): This.
12062         (__x86_64_shared_cache_size): Renamed to ...
12063         (__x86_shared_cache_size): This.
12064         (__x86_64_raw_shared_cache_size): Renamed to ...
12065         (__x86_raw_shared_cache_size): This.
12066         (__x86_64_shared_cache_size_half): Renamed to ...
12067         (__x86_shared_cache_size_half): This.
12068         (__x86_64_raw_shared_cache_size_half): Renamed to ...
12069         (__x86_raw_shared_cache_size_half): This.
12070         * sysdeps/x86_64/memcpy.S: Updated.
12071         * sysdeps/x86_64/memset.S: Likewise.
12072         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12076 2013-01-04  David S. Miller  <davem@davemloft.net>
12078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12080 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
12082         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12083         1 to avoid redefinition warning.
12084         (__USE_GNU): Don't define.
12085         (init_signaling_nan): Protoize.
12087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12089 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12091         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12093         (__cpymn): Likewise.
12094         (norm): Remove commented code.
12095         (denorm): Likewise.
12096         (__mp_dbl): Likewise.
12097         (__inv): Likewise.
12098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12099         (__cpymn): Likewise.
12100         (norm): Remove commented code.
12101         (denorm): Likewise.
12102         (__mp_dbl): Likewise.
12103         (__inv): Likewise.
12105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12106         mp_no value for 1.0 and 2.0.
12107         (norm): Use RADIXI instead of radixi.d.
12108         (denorm): Likewise.
12109         (__mul): Use 0.0 instead of zero.d.
12110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12111         mp_no value for 1.0 and 2.0.
12112         (norm): Use RADIXI instead of radixi.d.
12113         (denorm): Likewise.
12114         (__mul): Use 0.0 instead of zero.d.
12116 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
12118         [BZ #14994]
12119         * math/s_casinh.c (__casinh): Reduce finite argument to first
12120         quadrant then set signs of results at the end.
12121         * math/s_casinhf.c (__casinhf): Likewise.
12122         * math/s_casinhl.c (__casinhl): Likewise.
12123         * math/libm-test.inc (casin_test): Add more tests.
12124         (casinh_test): Likewise.
12125         * sysdeps/i386/fpu/libm-test-ulps: Update.
12126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12128 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12130         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12132         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12134         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12135         declarations.
12136         (denorm): Likewise.
12137         (__mp_dbl): Likewise.
12138         (__inv): Likewise.
12140         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12141         and adjust the header comment.
12143         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12144         variable name from declaration.
12146 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
12148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12149         Initialize COMMON_CPUID_INDEX_7 element.
12150         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12151         (CPUID_RTM): Likewise.
12152         (HAS_RTM): Likewise.
12153         (COMMON_CPUID_INDEX_7): New enum.
12155 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
12157         [BZ #14981]
12158         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12159         size is zero, record memory as freed.
12161 2013-01-03  Andreas Jaeger  <aj@suse.de>
12163         * po/ia.po: Add new Interlingua translation.
12165 2012-01-03  Allan McRae  <allan@archlinux.org>
12167         * locale/programs/localedef.c: Fix description of '--posix' flag.
12169 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
12171         * NEWS: Update dates in second copyright notice.
12172         * README: Update copyright dates in example.
12173         * manual/libc.texinfo: Update copyright dates.
12174         * scripts/test-installation.pl: Update copyright date in --version
12175         output.
12177         * hurd/ctty-input.c: Fix copyright notice formatting.
12178         * hurd/ctty-output.c: Likewise.
12179         * hurd/dtable.c: Likewise.
12180         * hurd/hurd-raise.c: Likewise.
12181         * hurd/hurdprio.c: Likewise.
12182         * hurd/msgportdemux.c: Likewise.
12183         * misc/sys/file.h: Likewise.
12184         * misc/sys/ioctl.h: Likewise.
12185         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12186         * sysdeps/mach/hurd/chdir.c: Likewise.
12187         * sysdeps/mach/hurd/fchdir.c: Likewise.
12188         * sysdeps/mach/hurd/rename.c: Likewise.
12189         * sysdeps/mach/hurd/rmdir.c: Likewise.
12190         * sysdeps/mach/hurd/seekdir.c: Likewise.
12191         * sysdeps/mach/hurd/setsid.c: Likewise.
12192         * sysdeps/posix/wait3.c: Likewise.
12194         * All files with FSF copyright notices: Update copyright dates
12195         using scripts/update-copyrights.
12196         * intl/plural.c: Regenerated.
12197         * locale/programs/charmap-kw.h: Likewise.
12198         * locale/programs/locfile-kw.h: Likewise.
12200 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12202         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12203         four values.
12205         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12206         calculation loop and add branch prediction.
12208         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12209         check access beyond bounds of m1np.
12211         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12212         MPTWO.
12213         (__inv): Remove local variable MPTWO to use the global
12214         constant.
12215         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12216         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12217         variable MPTWO.
12218         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12219         MP3HALFS static const.
12221 2013-01-01  David S. Miller  <davem@davemloft.net>
12223         * po/ca.po: Update from translation team.
12225 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
12227         * scripts/update-copyrights: New file.
12228         * Makeconfig: Reformat copyright notice.
12229         * ctype/ctype.h: Likewise.
12230         * debug/swprintf_chk.c: Likewise.
12231         * elf/dl-cache.c: Likewise.
12232         * elf/dl-debug.c: Likewise.
12233         * elf/dl-object.c: Likewise.
12234         * grp/initgroups.c: Likewise.
12235         * hurd/Makefile: Likewise.
12236         * hurd/hurd/signal.h: Likewise.
12237         * hurd/hurdfault.c: Likewise.
12238         * hurd/hurdioctl.c: Likewise.
12239         * hurd/hurdlookup.c: Likewise.
12240         * hurd/intr-msg.c: Likewise.
12241         * iconv/gconv_open.c: Likewise.
12242         * libio/swprintf.c: Likewise.
12243         * locale/lc-ctype.c: Likewise.
12244         * locale/nl_langinfo.c: Likewise.
12245         * mach/Machrules: Likewise.
12246         * mach/Makefile: Likewise.
12247         * malloc/obstack.h: Likewise.
12248         * manual/Makefile: Likewise.
12249         * manual/tsort.awk: Likewise.
12250         * misc/bits/stab.def: Likewise.
12251         * nis/nis_print_group_entry.c: Likewise.
12252         * nis/nis_table.c: Likewise.
12253         * nis/nss_compat/compat-pwd.c: Likewise.
12254         * nis/nss_compat/compat-spwd.c: Likewise.
12255         * po/Makefile: Likewise.
12256         * posix/fnmatch.c: Likewise.
12257         * posix/regex.h: Likewise.
12258         * resolv/Makefile: Likewise.
12259         * resolv/nss_dns/dns-network.c: Likewise.
12260         * resolv/res_hconf.c: Likewise.
12261         * scripts/gen-sorted.awk: Likewise.
12262         * soft-fp/soft-fp.h: Likewise.
12263         * stdio-common/printf.h: Likewise.
12264         * stdlib/monetary.h: Likewise.
12265         * stdlib/random.c: Likewise.
12266         * stdlib/random_r.c: Likewise.
12267         * sysdeps/generic/Makefile: Likewise.
12268         * sysdeps/gnu/Makefile: Likewise.
12269         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12270         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12271         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12273         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12274         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12275         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12276         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12277         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12278         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12279         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12280         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12281         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12282         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12283         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12284         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12285         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12286         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12287         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12288         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12289         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12290         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12291         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12292         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12293         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12294         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12295         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12296         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12297         * sysdeps/mach/hurd/errnos.awk: Likewise.
12298         * sysdeps/mach/hurd/fork.c: Likewise.
12299         * sysdeps/mach/hurd/getcwd.c: Likewise.
12300         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12301         * sysdeps/mach/hurd/mmap.c: Likewise.
12302         * sysdeps/mach/hurd/utimes.c: Likewise.
12303         * sysdeps/mach/hurd/xmknod.c: Likewise.
12304         * sysdeps/posix/profil.c: Likewise.
12305         * sysdeps/posix/readdir_r.c: Likewise.
12306         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12307         * sysdeps/powerpc/bits/setjmp.h: Likewise.
12308         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12309         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12311         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12312         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12313         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12315         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12316         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12317         * sysdeps/pthread/lio_listio.c: Likewise.
12318         * sysdeps/sparc/dl-procinfo.h: Likewise.
12319         * sysdeps/unix/i386/sysdep.S: Likewise.
12320         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12321         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12322         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12323         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12325         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12326         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12327         * sysdeps/unix/sysv/linux/speed.c: Likewise.
12328         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12329         * sysdeps/wordsize-32/divdi3.c: Likewise.
12330         * time/sys/time.h: Likewise.
12331         * wcsmbs/Makefile: Likewise.
12333 2013-01-01  David S. Miller  <davem@davemloft.net>
12335         * po/fr.po: Update from translation team.
12337         * catgets/gencat.c: Update copyright year.
12338         * csu/version.c: Likewise.
12339         * debug/catchsegv.sh: Likewise.
12340         * debug/pcprofiledump.c: Likewise.
12341         * debug/xtrace.sh: Likewise.
12342         * elf/ldconfig.c: Likewise.
12343         * elf/ldd.bash.in: Likewise.
12344         * elf/pldd.c: Likewise.
12345         * elf/sotruss.ksh: Likewise.
12346         * elf/sprof.c: Likewise.
12347         * iconv/iconv_prog.c: Likewise.
12348         * iconv/iconvconfig.c: Likewise.
12349         * locale/programs/locale.c: Likewise.
12350         * locale/programs/localedef.c: Likewise.
12351         * login/programs/pt_chown.c: Likewise.
12352         * malloc/memusage.sh: Likewise.
12353         * malloc/memusagestat.c: Likewise.
12354         * malloc/mtrace.pl: Likewise.
12355         * nscd/nscd.c: Likewise.
12356         * nss/getent.c: Likewise.
12357         * nss/makedb.c: Likewise.
12358         * posix/getconf.c: Likewise.
12360 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12362         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12363         numbers.
12365 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
12367         * math/bits/mathcalls.h (modf): Use __nonnull.
12369 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12371         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12372         (split): Use macro CN instead of the bare value.
12373         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12374         could be used.
12375         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12376         instead of the bare value.
12377         (power1): Likewise.
12379 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12381         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12382         __ATAN_TWOM.
12383         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12385         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12386         their values.
12387         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12388         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12389         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12390         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12392 2012-12-28  Andreas Jaeger  <aj@suse.de>
12394         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
12395         values are from Linux 3.7.
12397         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12398         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
12400 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12402         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12403         TRUE case.
12405         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12406         (norm): Likewise.
12407         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12408         variables with preprocessor constants.
12409         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12410         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12411         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12413 2012-12-27  Bruno Haible  <bruno@clisp.org>
12415         [BZ #14317]
12416         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12417         only if needed.
12419 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12421         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12422         and use variable directly.
12423         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12425         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12426         MPONE.
12427         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12428         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12429         variable MPONE.
12430         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12432         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12433         include directive.  Remove local variable MPONE.
12434         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12435         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12436         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12438 2012-12-25  David S. Miller  <davem@davemloft.net>
12440         * version.h (RELEASE): Set to "development".
12441         (VERSION): Set to "2.17.90".
12442         * NEWS: Add 2.18 section.
12444 2012-12-21  David S. Miller  <davem@davemloft.net>
12446         * po/hr.po: Update from translation team.
12448 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12450         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12452 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12454         * NEWS:  Mention new memcpy for MIPS.
12456 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12458         * manual/contrib.texi (Contributors): Spelling correction.
12460 2012-12-15  David S. Miller  <davem@davemloft.net>
12462         * po/ru.po: Update from translation team.
12464 2012-12-13  David S. Miller  <davem@davemloft.net>
12466         * NEWS: Mention IFUNC testsuite enhancements.
12468         * po/pl.po: Update from translation team.
12469         * po/bg.po: Likewise.
12471         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12472         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12474 2012-12-11  David S. Miller  <davem@davemloft.net>
12476         * po/sv.po: Update from translation team.
12478         * po/vi.po: Update from translation team.
12480         * po/cs.po: Update from translation team.
12482         * po/de.po: Update from translation team.
12483         * po/eo.po: Likewise.
12484         * po/nl.po: Likewise.
12486 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12488         [BZ #14246]
12489         * manual/argp.texi (Argp Helper Functions): Move node to follow
12490         Argp Parsing State.
12492         [BZ #14872]
12493         * manual/conf.texi (Limits on File System Capacity): Mention if
12494         terminating null is included in the max size.
12496 2012-12-10  Andreas Jaeger  <aj@suse.de>
12498         * po/cs.po: Update from translation team.
12500 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12502         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12503         void pointer and cast to uintptr_t.
12504         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12505         path.
12506         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12507         * sysdeps/s390/s390-64/memset.S: Likewise.
12509 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12511         [BZ #14833]
12512         * menual/message.texi (Message Translation): Fix typos.
12513         (Helper programs for gettext): Likewise.
12515 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12517         [BZ #14898]
12518         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12519         Change to -1.
12521 2012-12-07  David S. Miller  <davem@davemloft.net>
12523         * po/libc.pot: Update.
12525 2012-12-07  Richard Henderson  <rth@redhat.com>
12527         [BZ #10114]
12528         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12529         normal/normal case to before the switch.
12530         (_FP_DIV): Likewise.
12532 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12533             Mike Frysinger  <vapier@gentoo.org>
12535         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12536         check for __NR_fadvise64_64.
12538 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12540         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12541         0, not just to plain "0" as a statement.
12542         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12543         with cw.
12545 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12547         * NEWS: Use sourceware.org in Bugzilla URL.
12549 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12552         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12554         * stdio-common/tst-put-error.c (do_test): Add newline to the
12555         padded test to ensure flush.
12557 2012-12-05  Jeff Law  <law@redhat.com>
12559         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12561 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12563         * README: Don't refer to ports add-on as distributed separately.
12564         Mention AArch64 in list of systems supported in the ports add-on.
12566         * LICENSES: Add more non-FSF copyright and license notices.
12568         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12569         ((unused)).
12571         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12573         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12574         10000 as width of padded output.
12576 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12578         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12580         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12581         variable LX with __attribute__ ((unused)).
12582         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12583         Likewise.
12584         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12585         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12586         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12587         with __attribute__ ((unused)).
12589 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12591         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12593 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12595         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12596         (CFLAGS-nldbl-acos.c): New variable.
12597         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12598         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12599         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12600         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12601         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12602         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12603         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12604         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12605         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12606         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12607         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12608         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12609         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12610         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12611         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12612         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12613         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12614         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12615         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12616         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12617         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12618         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12619         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12620         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12621         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12622         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12623         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12624         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12625         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12626         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12627         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12628         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12629         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12630         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12631         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12632         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12633         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12634         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12635         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12636         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12637         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12638         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12639         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12640         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12641         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12642         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12643         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12644         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12645         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12646         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12647         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12648         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12649         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12650         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12651         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12652         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12653         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12654         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12655         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12656         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12657         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12658         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12659         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12660         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12661         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12662         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12663         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12664         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12665         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12666         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12667         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12668         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12669         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12670         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12671         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12672         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12673         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12674         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12675         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12676         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12677         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12678         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12679         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12680         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12681         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12682         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12683         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12684         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12685         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12686         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12687         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12688         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12689         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12690         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12691         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12692         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12693         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12696         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12698         [BZ #14914]
12699         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12700         whole low double instead of just low 47 bits when splitting values
12701         into two parts.
12703 2012-12-03  Allan McRae  <allan@archlinux.org>
12705         * manual/stdio.texi (Predefined Printf Handlers): Remove
12706         @hsep and @vsep usage.
12708 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12710         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12711         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12713 2012-12-03  Jeff Law  <law@redhat.com>
12715         * time/sys/time.h (settimeofday): Do not mark TV argument
12716         as __nonnull.
12718 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12720         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12721         when currently writing and seek to current position when not.
12722         * libio/Makefile (tests): Remove bug-fclose1.
12723         * libio/bug-fclose1.c: Delete.
12725 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12727         * manual/arith.texi (feenableexcept): Fix typo.
12728         (fedisableexcept): Likewise.
12730 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12732         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12733         second, differently-typed declaration, rather than a cast.
12735 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12737         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12738         * include/rpc/svc.h: ... here.
12740 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12742         [BZ #13013]
12743         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12744         depending n and resplen2 to catch cases where answer
12745         equals answerp2.
12747 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12749         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12750         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12752 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12754         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12756 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12758         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12760 2012-11-28  Jeff Law  <law@redhat.com>
12762         [BZ #13761]
12763         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12764         dataset_temporary.  Track alloca usage into alloca_used.
12765         If dataset is large allocate and release it via malloc/free.
12767 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12769         [BZ #14197]
12770         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12772 2012-11-28  David S. Miller  <davem@davemloft.net>
12774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12776 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12778         [BZ #14803]
12779         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12780         of pi/2 rounded to nearest to 64 bits.
12781         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12782         nearest to 64 bits.
12783         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12784         bits.
12786 2012-11-28  Jeff Law <law@redhat.com>
12787             Martin Osvald <mosvald@redhat.com>
12789         [BZ #14889]
12790         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12791         * sunrpc/svc.c: Include time.h.
12792         (__svc_accept_failed): New function.
12793         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12794         any reason other than EINTR, call __svc_accept_failed.
12795         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12796         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12798 2012-11-28  Andreas Schwab  <schwab@suse.de>
12800         * scripts/abilist.awk: Also handle indirect functions in .opd
12801         section.
12803 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12805         [BZ #13881]
12806         * sysdeps/x86/fpu/powl_helper.c: New file.
12807         * sysdeps/x86/fpu/Makefile: Likewise.
12808         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12809         (p3): New object.
12810         (__ieee754_powl): Use __powl_helper for finite arguments except
12811         integer exponents below 8.
12812         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12813         (p3): New object.
12814         (__ieee754_powl): Use __powl_helper for finite arguments except
12815         integer exponents below 8.
12816         * math/libm-test.inc (pow_test): Add more tests and enable some
12817         previously disabled tests.
12818         * sysdeps/i386/fpu/libm-test-ulps: Update.
12819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12821 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12822             Carlos O'Donell  <carlos_odonell@mentor.com>
12824         * nss/makedb.c (is_prime): Assert that input is odd and greater
12825         than 4.  Note that fact in a comment too.
12826         (next_prime): Add 4 to input.
12828 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12830         [BZ #11741]
12831         * libio/Makefile (tests): Add test case tst-fwrite-error.
12832         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12833         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12834         * libio/tst-fwrite-error.c: New test case.
12836 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12838         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12839         before casting to void *.
12840         * include/libc-internal.h (__pointer_type): New macro.
12841         (__integer_if_pointer_type_sub): Likewise.
12842         (__integer_if_pointer_type): Likewise.
12843         (cast_to_integer): Likewise.
12844         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12845         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12846         before casting to atomic64_t.
12847         (atomic_exchange_acq): Likewise.
12848         (__arch_exchange_and_add_body): Likewise.
12849         (__arch_add_body): Likewise.
12850         (atomic_add_negative): Likewise.
12851         (atomic_add_zero): Likewise.
12853 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12855         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12856         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12857         (add_fdes): Likewise.
12858         (linear_search_fdes): Likewise.
12859         (binary_search_unencoded_fdes): Likewise.
12861 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12863         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12865 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12867         * configure.in: Autodetect C++ header directories.
12868         * configure: Regenerated.
12870 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12872         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12874 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12878 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12880         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12881         LDBL_MANT_DIG == 106]: Disable some tests.
12882         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12883         Likewise.
12884         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12885         Likewise.
12887         [BZ #14871]
12888         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12889         input for small inputs.  Return +/- pi/2 for large inputs.
12890         * math/libm-test.inc (atan_test): Add more tests.
12892         * sysdeps/generic/unwind-dw2-fde-glibc.c
12893         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12894         __attribute__ ((unused)).
12896         [BZ #14645]
12897         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12898         x * y if x and y are nonzero and z is zero.
12900         [BZ #14811]
12901         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12902         nonzero exponents with absolute value below 0x1p-117 to +/-
12903         0x1p-117.
12905         [BZ #14869]
12906         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12907         up arguments below 2**-450, not just those below 2**-500.
12908         * math/libm-test.inc (hypot_test): Add another test.
12910         [BZ #14868]
12911         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12912         Return a+b for ratio over 2**120, not 2**60.
12913         * math/libm-test.inc (hypot_test): Add another test.
12915         * math/libm-test.inc (clog_test): Use
12916         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12917         (clog10_test): Likewise.
12919         [BZ #6778]
12920         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12922 2012-11-22  Andreas Schwab  <schwab@suse.de>
12924         * sysdeps/i386/fpu/libm-test-ulps: Update.
12926 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12928         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12929         printf output with newline.
12931 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12933         [BZ #14865]
12934         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12935         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12936         -z nodlopen, -z initfirst and -z execstack support.
12937         * configure: Regenerated.
12939         * elf/elf.h (DF_1_NODIRECT): New macro.
12940         (DF_1_IGNMULDEF): Likewise.
12941         (DF_1_NOKSYMS): Likewise.
12942         (DF_1_NOHDR): Likewise.
12943         (DF_1_EDITED): Likewise.
12944         (DF_1_NORELOC): Likewise.
12945         (DF_1_SYMINTPOSE): Likewise.
12946         (DF_1_GLOBAUDIT): Likewise.
12947         (DF_1_SINGLETON): Likewise.
12948         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12949         DT_1_SUPPORTED_MASK bits.
12950         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12952 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12954         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12956 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12958         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12959         macro.
12961         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12962         (sendmmsg): Move declarations...
12963         * socket/sys/socket.h: ... here.
12964         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12965         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12966         include it from...
12967         * socket/recvmmsg.c: ... this new file.
12968         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12969         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12970         definition of __sendmmsg hidden.
12971         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12972         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12973         Move ENOSYS stub into and include it from...
12974         * socket/sendmmsg.c: ... this new file.
12975         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12976         (sysdep_routines): Move recvmmsg and sendmmsg...
12977         * socket/Makefile (routines): ... here.
12978         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12979         (GLIBC_PRIVATE): Add __sendmmsg.
12980         * include/sys/socket.h (__sendmmsg): Add declarations.
12981         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12982         sendmmsg.
12984 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12986         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12987         variable I1 with __attribute__ ((unused)).
12988         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12990 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12992         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12993         DUMMY variables with __attribute__ ((unused)).
12995         * bits/byteswap.h: Include <bits/types.h>.
12996         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12998 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13000         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13001         string_t.  Do not manually set errno.
13002         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13003         length with __strnlen.  Make sure to both set errno and return it on
13004         failure.
13006 2012-11-19  David S. Miller  <davem@davemloft.net>
13008         With help from Joseph Myers.
13009         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13010         very large arguments properly.
13011         * math/libm-test.inc (atan_test): New tests.
13012         (atan2_test): New tests.
13013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13016 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13018         [BZ #14856]
13019         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13020         Define to 3.
13022         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13023         [POSIX] (EADDRNOTAVAIL): Likewise.
13024         [POSIX] (EAFNOSUPPORT): Likewise.
13025         [POSIX] (EALREADY): Likewise.
13026         [POSIX] (ECONNABORTED): Likewise.
13027         [POSIX] (ECONNREFUSED): Likewise.
13028         [POSIX] (ECONNRESET): Likewise.
13029         [POSIX] (EDESTADDRREQ): Likewise.
13030         [POSIX] (EDQUOT): Likewise.
13031         [POSIX] (EHOSTUNREACH): Likewise.
13032         [POSIX] (EIDRM): Likewise.
13033         [POSIX] (EISCONN): Likewise.
13034         [POSIX] (ELOOP): Likewise.
13035         [POSIX] (EMULTIHOP): Likewise.
13036         [POSIX] (ENETDOWN): Likewise.
13037         [POSIX] (ENETUNREACH): Likewise.
13038         [POSIX] (ENOBUFS): Likewise.
13039         [POSIX] (ENODATA): Likewise.
13040         [POSIX] (ENOLINK): Likewise.
13041         [POSIX] (ENOMSG): Likewise.
13042         [POSIX] (ENOPROTOOPT): Likewise.
13043         [POSIX] (ENOSR): Likewise.
13044         [POSIX] (ENOSTR): Likewise.
13045         [POSIX] (ENOTCONN): Likewise.
13046         [POSIX] (ENOTSOCK): Likewise.
13047         [POSIX] (EOPNOTSUPP): Likewise.
13048         [POSIX] (EOVERFLOW): Likewise.
13049         [POSIX] (EPROTO): Likewise.
13050         [POSIX] (EPROTONOSUPPORT): Likewise.
13051         [POSIX] (EPROTOTYPE): Likewise.
13052         [POSIX] (ESTALE): Likewise.
13053         [POSIX] (ETIME): Likewise.
13054         [POSIX] (ETXTBSY): Likewise.
13055         [POSIX] (EWOULDBLOCK): Likewise.
13056         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13057         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13058         [POSIX] (SEEK_CUR): Likewise.
13059         [POSIX] (SEEK_END): Likewise.
13060         [POSIX || UNIX98] (mode_t): Do not require.
13061         [POSIX] (off_t): Likewise.
13062         [POSIX] (pid_t): Likewise.
13063         [POSIX] (sys/stat.h): Do not allow header.
13064         [POSIX] (unistd.h): Likewise.
13065         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13066         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13067         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13068         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13069         require.
13070         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13071         sigevent): Specify elements.
13072         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13073         entry.
13074         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13075         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13077         * conform/data/cpio.h-data [POSIX]: Disable whole file.
13078         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13079         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13080         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13081         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13082         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13083         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13084         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13085         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13086         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13087         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13088         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13089         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13090         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13091         Likewise.
13092         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13093         Likewise.
13094         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13095         Likewise.
13096         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13097         Likewise.
13098         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13099         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13100         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13101         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13102         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13103         Specify lower bound on value.
13104         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13105         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13106         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13107         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13108         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13109         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13110         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13111         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13112         value.
13113         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13114         as optional.
13115         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13116         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13117         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13118         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13119         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13120         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13121         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13122         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13123         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13124         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13125         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13126         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13127         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13128         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13129         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13130         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13131         entry.
13132         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13133         optional.
13134         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13135         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13136         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13137         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13138         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13139         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13140         Likewise.
13141         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13142         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13143         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13144         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13145         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
13146         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13147         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13148         as optional.
13149         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13150         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13151         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13152         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13153         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13154         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13155         specify as optional.
13156         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13157         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13158         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13159         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13160         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13161         [XPG3] (NL_LANGMAX): Likewise.
13162         [POSIX || XPG3] (NL_MSGMAX): Likewise.
13163         [POSIX || XPG3] (NL_NMAX): Likewise.
13164         [POSIX || XPG3] (NL_SETMAX): Likewise.
13165         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13166         [XPG3] (NZERO): Likewise.
13167         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13168         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13169         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13170         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13171         (REG_ERANGE): Expect.
13172         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13173         optional-constant.
13174         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13175         Use (void) in prototype.
13176         [POSIX] (*_t): Allow.
13177         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13178         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13179         (WRDE_BADVAL): Expect.
13181         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13182         expect.
13183         [XPG3 || XPG4] (O_RSYNC): Likewise.
13184         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13185         Likewise.
13186         [XPG3 || XPG4] (pthread_sigmask): Likewise.
13187         [XPG3 || XPG4] (sigqueue): Likewise.
13188         [XPG3 || XPG4] (sigtimedwait): Likewise.
13189         [XPG3 || XPG4] (sigwaitinfo): Likewise.
13190         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13191         [XPG3 || XPG4] (vsnprintf): Likewise.
13192         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13193         Likewise.
13194         [XPG3 || XPG4] (blksize_t): Likewise.
13195         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13196         Likewise.
13197         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13198         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13199         [XPG3 || XPG4] (struct itimerspec): Likewise.
13200         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13201         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13202         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13203         [XPG3 || XPG4] (clockid_t): Likewise.
13204         [XPG3 || XPG4] (timer_t): Likewise.
13205         [XPG3 || XPG4] (clock_getres): Likewise.
13206         [XPG3 || XPG4] (clock_gettime): Likewise.
13207         [XPG3 || XPG4] (clock_settime): Likewise.
13208         [XPG3 || XPG4] (nanosleep): Likewise.
13209         [XPG3 || XPG4] (timer_create): Likewise.
13210         [XPG3 || XPG4] (timer_delete): Likewise.
13211         [XPG3 || XPG4] (timer_gettime): Likewise.
13212         [XPG3 || XPG4] (timer_getoverrun): Likewise.
13213         [XPG3 || XPG4] (timer_settime): Likewise.
13214         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13215         [XPG3 || XPG4] (getlogin_r): Likewise.
13216         [XPG3 || XPG4] (pread): Likewise.
13217         [XPG3 || XPG4] (pthread_atfork): Likewise.
13218         [XPG3 || XPG4] (pwrite): Likewise.
13220         [BZ #14835]
13221         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13222         <bits/siginfo.h>.
13224 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13226         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13227         finalizing MALLSTREAM.
13229         * sysdeps/mach/hurd/syncfs.c: New file.
13231 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13233         [BZ #14719]
13234         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13235         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13236         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13237         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13238         (_nss_dns_gethostbyname4_r): Likewise.
13239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13240         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13242 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
13244         [BZ #13763]
13245         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13247 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
13249         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13250         * elf/cache.c (print_entry): Print ",AArch64" for
13251         FLAG_AARCH64_LIB64
13253         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13254         * elf/cache.c (print_entry): Print ",hard-float" for
13255         FLAG_ARM_LIBHF.
13257 2012-11-18  David S. Miller  <davem@davemloft.net>
13259         With help from Joseph Myers.
13260         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13261         cutoff to 2**-13.
13262         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13263         cutoff to 2**-25.
13264         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13265         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13266         small.
13267         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13268         * math/libm-test.inc (y0_test): New tests.
13269         (y1_test): New tests.
13270         * sysdeps/i386/fpu/libm-test-ulps: Update.
13271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13274 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
13276         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13277         64-bit targets.
13278         * configure: Regenerated.
13280 2012-11-17  David S. Miller  <davem@davemloft.net>
13282         [BZ #14811]
13283         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13284         nonzero exponents with absolute value below 0x1p-128 to +/-
13285         0x1p-128.
13287 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
13289         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13291         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13293         * posix/getconf-speclist.c: New file.
13294         * posix/posix-envs.def: Likewise.
13295         * posix/confstr.c (START_ENV_GROUP): New macro.
13296         (END_ENV_GROUP): Likewise.
13297         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13298         (KNOWN_PRESENT_ENV_STRING): Likewise.
13299         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13300         (UNKNOWN_ENVIRONMENT): Likewise.
13301         (confstr): Include posix-envs.def instead of handling
13302         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13303         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13304         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13305         (END_ENV_GROUP): Likewise.
13306         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13307         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13308         (UNKNOWN_ENVIRONMENT): Likewise.
13309         (__sysconf): Include posix-envs.def instead of handling associated
13310         cases directly here.
13311         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13312         preprocessing getconf-speclist.c rather than running getconf or
13313         generating empty file.
13315 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
13317         * scripts/check-local-headers.sh: Ignore 'mach' headers.
13319 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
13321         [BZ #14672]
13322         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13324 2012-11-16  David S. Miller  <davem@davemloft.net>
13326         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13327         smaller than LDBL_EPSILON/2.0L, just return xm1.
13329 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
13331         * elf/tst-array1.c (init): Set constructor priority to 1000.
13332         (fini): Set destructor priority to 1000.
13333         * elf/tst-array2dep.c: Likewise.
13335 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13337         [BZ #11741]
13338         * libio/fileops.c (_IO_new_file_write): Correctly return error.
13339         (_IO_new_file_xsputn): Also return EOF if none of the input
13340         data was written when overflow failed.
13341         * libio/iopadn.c (_IO_padn): Likewise.
13342         * libio/iowpadn.c (_IO_wpadn): Likewise.
13343         * stdio-common/tst-put-error.c: Add copyright notice.
13344         (do_test): Add case for printing padded string.
13345         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13346         _IO_padn returned error.
13347         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13348         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13349         return EOF.
13351 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13353         * libio/libioP.h: Add comment note that the references to C++
13354         bits are now obsolete.
13356 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13358         * math/libm-test.inc (check_complex): Use asprintf.
13360 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
13362         * debug/pcprofiledump.c (print_version): Update copyright year.
13363         * malloc/memusagestat.c (print_version): Likewise.
13365 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13367         [BZ #14831]
13368         * elf/Makefile (tests): Add tst-audit8.
13369         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13370         ($(objpfx)tst-audit8.out): New target.
13371         (tst-audit8-ENV): New variable.
13372         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13373         audit if l_reloc_result is NULL.
13374         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13375         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13376         * elf/tst-audit8.c: New file.
13378 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13380         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13381         * misc/Makefile (CFLAGS-select.c): Define.
13382         * posix/Makefile (CFLAGS-pause.c): Define.
13384 2012-11-13  David S. Miller  <davem@davemloft.net>
13386         * crypt/Makefile: Move test targets after toplevel Rules
13387         inclusion.  Grab any necessary sysdep routines when linking.
13388         * crypt/md5.c (md5_process_block): Remove define, we will always
13389         name it __md5_process_block.
13390         (md5_finish_ctx): Update md5_process_block call.
13391         (md5_stream): Likewise.
13392         (md5_process_bytes): Likewise.
13393         (md5_process_block): Rename to __md5_process_block and move to ...
13394         * crypt/md5-block.c: ... here.
13395         * crypt/sha256.c (sha256_process_block): Move to ...
13396         * crypt/sha256-block.c: ... here.
13397         * crypt/sha512.c (sha512_process_block): Move to ...
13398         * crypt/sha512-block.c: ... here.
13399         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13400         path.
13401         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13402         * sysdeps/sparc/sparc64/multiarch/Makefile
13403         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13404         crypt subdir.
13405         (localedef-aux): Add md5 crypto assembler when in locale subdir.
13406         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13407         multiarch changes.
13408         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13409         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13410         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13411         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13412         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13413         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13414         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13415         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13416         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13417         file.
13418         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13419         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13420         file.
13421         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13423 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
13425         * timezone/tzselect.ksh: Update from tzcode git revision
13426         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13427         * timezone/zdump.c: Likewise.
13428         * timezone/zic.c: Likewise.
13429         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13430         in TZVERSION setting, not $(PKGVERSION).
13431         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13432         REPORT_BUGS_TO settings.
13434         [BZ #14838]
13435         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13436         macro.
13438 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13440         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13441         detection to immediately after _FP_ROUND().
13442         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13443         bits are 0.
13445 2012-11-11  David S. Miller  <davem@davemloft.net>
13447         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13448         inttypes.h
13449         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13450         __close rather than their public counterparts.
13452 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13454         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13455         file.
13456         [UNIX98] (sem_timedwait): Do not expect.
13457         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13458         [XPG4 || UNIX98] (sockatmark): Do not expect.
13459         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13460         (clock_getcpuclockid): Do not expect.
13461         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13462         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13463         Do not expect.
13464         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13465         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13466         [UNIX98] (vwscanf): Likewise.
13467         [UNIX98] (vswscanf): Likewise.
13469 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13471         * timezone/version.h: Remove file.
13472         * timezone/README: Do not refer to version.h.
13473         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13474         $(objpfx)version.h.
13475         ($(objpfx)zdump.o): Likewise.
13476         ($(objpfx)version.h): New target.
13478         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13479         2012i.
13480         * timezone/README: Don't mention modification to tzselect.ksh.
13481         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13482         work on unmodified tzselect.ksh.  Substitute version numbers in
13483         tzselect.ksh.
13485         * Makefile (format-me): Remove.
13486         (INSTALL): Adjust indentation.  Use commands directly instead of
13487         using $(format-me).
13489         * aclocal.m4 (ACX_PKGVERSION): New macro.
13490         (ACX_BUGURL): Likewise.
13491         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13492         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13493         (REPORT_BUGS_TO): Likewise.
13494         * configure: Regenerated.
13495         * config.h.in (PKGVERSION): New macro.
13496         (REPORT_BUGS_TO): Likewise.
13497         * config.make.in (PKGVERSION): New variable.
13498         (PKGVERSION_TEXI): Likewise.
13499         (REPORT_BUGS_TO): Likewise.
13500         (REPORT_BUGS_TEXI): Likewise.
13501         * Makefile (format-me): Use -I$(common-objpfx)manual.
13502         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13503         ($(common-objpfx)manual/%): New target.
13504         (manual/%): Remove target.
13505         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13506         (print_version): Use PKGVERSION.
13507         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13508         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13509         and REPORT_BUGS_TO.
13510         ($(objpfx)xtrace): Likewise.
13511         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13512         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13513         (print_version): Use PKGVERSION.
13514         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13515         (do_version): Use PKGVERSION.
13516         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13517         REPORT_BUGS_TO.
13518         (common-ldd-rewrite): Likewise.
13519         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13520         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13521         (print_version): Use PKGVERSION.
13522         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13523         * elf/pldd.c (argp_program_bug_address): Remove variable.
13524         (more_help): New function.
13525         (argp): Use more_help.
13526         (print_version): Use PKGVERSION.
13527         * elf/sln.c (main): Use PKGVERSION.
13528         (usage): Use REPORT_BUGS_TO.
13529         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13530         (top level): Use PKGVERSION.
13531         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13532         (print_version): Use PKGVERSION.
13533         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13534         (print_version): Use PKGVERSION.
13535         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13536         (print_version): Use PKGVERSION.
13537         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13538         (print_version): Use PKGVERSION.
13539         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13540         (print_version): Use PKGVERSION.
13541         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13542         (print_version): Use PKGVERSION.
13543         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13544         and BUGURL.
13545         ($(objpfx)memusage): Likewise.
13546         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13547         (do_version): Use PKGVERSION.
13548         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13549         (print_version): Use PKGVERSION.
13550         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13551         ($PKGVERSION): New variable.
13552         ($REPORT_BUGS_TO): Likewise.
13553         (usage): Use $REPORT_BUGS_TO.
13554         (top level): Use $PKGVERSION.
13555         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13556         ($(objpfx)pkgvers.texi): New rule.
13557         ($(objpfx)stamp-pkgvers): Likewise.
13558         * manual/install.texi: Include pkgvers.texi.
13559         (--with-pkgversion): Document new configure option.
13560         (--with-bugurl): Likewise.
13561         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13562         than necessarily for this particular distribution.  Use
13563         REPORT_BUGS_TO for where to report bugs.
13564         * INSTALL: Regenerated.
13565         * manual/libc.texinfo: Include pkgvers.texi.
13566         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13567         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13568         (print_version): Use PKGVERSION.
13569         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13570         (print_version): Use PKGVERSION.
13571         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13572         (print_version): Use PKGVERSION.
13573         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13574         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13575         macro.
13576         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13577         (print_version): Use PKGVERSION.
13578         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13579         (print_version): Use PKGVERSION.
13580         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13581         and PKGVERSION.
13583         * timezone/checktab.awk: Update from tzcode 2012i.
13584         * timezone/ialloc.c: Likewise.
13585         * timezone/private.h: Likewise.
13586         * timezone/scheck.c: Likewise.
13587         * timezone/tzfile.h: Likewise.
13588         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13589         (TZVERSION): Hardcode tzcode version number.
13590         * timezone/zdump.c: Update from tzcode 2012i.
13591         * timezone/zic.c: Likewise.
13592         * timezone/version.h: New file.
13593         * timezone/README: Describe version.h.  Update upstream location.
13595         [BZ #14824]
13596         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13597         (mktemp): Enable declaration.
13598         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13600         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13601         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13602         Likewise.
13603         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13604         Likewise.
13605         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13606         Likewise.
13607         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13608         Likewise.
13609         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13610         Likewise.
13611         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13612         Likewise.
13614         [BZ #14821]
13615         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13616         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13617         for copies of such integer values.
13618         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13619         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13621 2012-11-09  Andreas Jaeger  <aj@suse.de>
13623         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13624         definitions and declarations that are provided by
13625         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13627 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13629         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13630         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13631         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13632         definition.
13634 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13636         * elf/elf.h: Update comment before AArch64 relocations.
13638 2012-11-07  David S. Miller  <davem@davemloft.net>
13640         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13641         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13642         (__start_context): Declare.
13643         (__makecontext_ret): Delete.
13644         (__makecontext): Hook up __start_context instead of
13645         __makecontext_ret.
13646         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13647         (sysdep_routines): Add __start_context when in stdlib.
13649 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13651         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13652         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13653         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13654         hardcoded "nm".
13655         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13656         (READELF): New variable.  Use it instead of hardcoded "readelf".
13658 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13660         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13661         * sysdeps/x86/Makefile: Here.
13662         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13663         * sysdeps/x86/tst-xmmymm.sh: This.
13665 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13667         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13668         expectations.
13669         [UNIX98] (pthread_barrier_t): Do not expect.
13670         [UNIX98] (pthread_barrierattr_t): Likewise.
13671         [UNIX98] (pthread_spinlock_t): Likewise.
13672         [UNIX98] (pthread_barrier_destroy): Likewise.
13673         [UNIX98] (pthread_barrier_init): Likewise.
13674         [UNIX98] (pthread_barrier_wait): Likewise.
13675         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13676         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13677         [UNIX98] (pthread_barrierattr_init): Likewise.
13678         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13679         [UNIX98] (pthread_getcpuclockid): Likewise.
13680         [UNIX98] (pthread_mutex_timedlock): Likewise.
13681         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13682         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13683         [UNIX98] (pthread_sigmask): Likewise.
13684         [UNIX98] (pthread_spin_destroy): Likewise.
13685         [UNIX98] (pthread_spin_init): Likewise.
13686         [UNIX98] (pthread_spin_lock): Likewise.
13687         [UNIX98] (pthread_spin_trylock): Likewise.
13688         [UNIX98] (pthread_spin_unlock): Likewise.
13689         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13690         Do not expect.
13691         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13692         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13693         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13694         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13695         [XPG3 || XPG4] (pthread_key_t): Likewise.
13696         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13697         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13698         [XPG3 || XPG4] (pthread_once_t): Likewise.
13699         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13700         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13701         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13702         [XPG3 || XPG4] (pthread_t): Likewise.
13704         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13705         not expect.
13706         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13708         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13709         Change function return type to int.
13711         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13712         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13713         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13714         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13715         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13716         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13717         [!POSIX] (posix_madvise): Likewise.
13718         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13719         && !UNIX98].
13720         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13721         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13722         (mode_t): Likewise.
13723         (posix_mem_offset): Likewise.
13724         (posix_typed_mem_get_info): Likewise.
13725         (posix_typed_mem_open): Likewise.
13727         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13728         Change condition to [XOPEN2K8].
13730         * conform/conformtest.pl: Preprocess allow-header data with -x c
13731         instead of from stdin.
13732         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13733         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13734         [C99-based standards] (cerfc): Likewise.
13735         [C99-based standards] (cexp2): Likewise.
13736         [C99-based standards] (cexpm1): Likewise.
13737         [C99-based standards] (clog10): Likewise.
13738         [C99-based standards] (clog1p): Likewise.
13739         [C99-based standards] (clog2): Likewise.
13740         [C99-based standards] (clgamma): Likewise.
13741         [C99-based standards] (ctgamma): Likewise.
13742         [C99-based standards] (cerff): Likewise.
13743         [C99-based standards] (cerfcf): Likewise.
13744         [C99-based standards] (cexp2f): Likewise.
13745         [C99-based standards] (cexpm1f): Likewise.
13746         [C99-based standards] (clog10f): Likewise.
13747         [C99-based standards] (clog1pf): Likewise.
13748         [C99-based standards] (clog2f): Likewise.
13749         [C99-based standards] (clgammaf): Likewise.
13750         [C99-based standards] (ctgammaf): Likewise.
13751         [C99-based standards] (cerfl): Likewise.
13752         [C99-based standards] (cerfcl): Likewise.
13753         [C99-based standards] (cexp2l): Likewise.
13754         [C99-based standards] (cexpm1l): Likewise.
13755         [C99-based standards] (clog10l): Likewise.
13756         [C99-based standards] (clog1pl): Likewise.
13757         [C99-based standards] (clog2l): Likewise.
13758         [C99-based standards] (clgammal): Likewise.
13759         [C99-based standards] (ctgammal): Likewise.
13760         * conform/data/inttypes.h-data [C99-based standards]: Include
13761         stdint.h-data.  Remove all expectations for stdint.h contents.
13762         [C99-based standards] (PRI*): Do not allow.
13763         [C99-based standards] (SCN*): Likewise.
13764         [C99-based standards] (*_t): Likewise.
13765         [C99-based-standards] (PRId8): Expect macro.
13766         [C99-based-standards] (PRIi8): Likewise.
13767         [C99-based-standards] (PRIo8): Likewise.
13768         [C99-based-standards] (PRIu8): Likewise.
13769         [C99-based-standards] (PRIx8): Likewise.
13770         [C99-based-standards] (PRIX8): Likewise.
13771         [C99-based-standards] (SCNd8): Likewise.
13772         [C99-based-standards] (SCNi8): Likewise.
13773         [C99-based-standards] (SCNo8): Likewise.
13774         [C99-based-standards] (SCNu8): Likewise.
13775         [C99-based-standards] (SCNx8): Likewise.
13776         [C99-based-standards] (PRIdLEAST8): Likewise.
13777         [C99-based-standards] (PRIiLEAST8): Likewise.
13778         [C99-based-standards] (PRIoLEAST8): Likewise.
13779         [C99-based-standards] (PRIuLEAST8): Likewise.
13780         [C99-based-standards] (PRIxLEAST8): Likewise.
13781         [C99-based-standards] (PRIXLEAST8): Likewise.
13782         [C99-based-standards] (SCNdLEAST8): Likewise.
13783         [C99-based-standards] (SCNiLEAST8): Likewise.
13784         [C99-based-standards] (SCNoLEAST8): Likewise.
13785         [C99-based-standards] (SCNuLEAST8): Likewise.
13786         [C99-based-standards] (SCNxLEAST8): Likewise.
13787         [C99-based-standards] (PRIdFAST8): Likewise.
13788         [C99-based-standards] (PRIiFAST8): Likewise.
13789         [C99-based-standards] (PRIoFAST8): Likewise.
13790         [C99-based-standards] (PRIuFAST8): Likewise.
13791         [C99-based-standards] (PRIxFAST8): Likewise.
13792         [C99-based-standards] (PRIXFAST8): Likewise.
13793         [C99-based-standards] (SCNdFAST8): Likewise.
13794         [C99-based-standards] (SCNiFAST8): Likewise.
13795         [C99-based-standards] (SCNoFAST8): Likewise.
13796         [C99-based-standards] (SCNuFAST8): Likewise.
13797         [C99-based-standards] (SCNxFAST8): Likewise.
13798         [C99-based-standards] (PRId16): Likewise.
13799         [C99-based-standards] (PRIi16): Likewise.
13800         [C99-based-standards] (PRIo16): Likewise.
13801         [C99-based-standards] (PRIu16): Likewise.
13802         [C99-based-standards] (PRIx16): Likewise.
13803         [C99-based-standards] (PRIX16): Likewise.
13804         [C99-based-standards] (SCNd16): Likewise.
13805         [C99-based-standards] (SCNi16): Likewise.
13806         [C99-based-standards] (SCNo16): Likewise.
13807         [C99-based-standards] (SCNu16): Likewise.
13808         [C99-based-standards] (SCNx16): Likewise.
13809         [C99-based-standards] (PRIdLEAST16): Likewise.
13810         [C99-based-standards] (PRIiLEAST16): Likewise.
13811         [C99-based-standards] (PRIoLEAST16): Likewise.
13812         [C99-based-standards] (PRIuLEAST16): Likewise.
13813         [C99-based-standards] (PRIxLEAST16): Likewise.
13814         [C99-based-standards] (PRIXLEAST16): Likewise.
13815         [C99-based-standards] (SCNdLEAST16): Likewise.
13816         [C99-based-standards] (SCNiLEAST16): Likewise.
13817         [C99-based-standards] (SCNoLEAST16): Likewise.
13818         [C99-based-standards] (SCNuLEAST16): Likewise.
13819         [C99-based-standards] (SCNxLEAST16): Likewise.
13820         [C99-based-standards] (PRIdFAST16): Likewise.
13821         [C99-based-standards] (PRIiFAST16): Likewise.
13822         [C99-based-standards] (PRIoFAST16): Likewise.
13823         [C99-based-standards] (PRIuFAST16): Likewise.
13824         [C99-based-standards] (PRIxFAST16): Likewise.
13825         [C99-based-standards] (PRIXFAST16): Likewise.
13826         [C99-based-standards] (SCNdFAST16): Likewise.
13827         [C99-based-standards] (SCNiFAST16): Likewise.
13828         [C99-based-standards] (SCNoFAST16): Likewise.
13829         [C99-based-standards] (SCNuFAST16): Likewise.
13830         [C99-based-standards] (SCNxFAST16): Likewise.
13831         [C99-based-standards] (PRId32): Likewise.
13832         [C99-based-standards] (PRIi32): Likewise.
13833         [C99-based-standards] (PRIo32): Likewise.
13834         [C99-based-standards] (PRIu32): Likewise.
13835         [C99-based-standards] (PRIx32): Likewise.
13836         [C99-based-standards] (PRIX32): Likewise.
13837         [C99-based-standards] (SCNd32): Likewise.
13838         [C99-based-standards] (SCNi32): Likewise.
13839         [C99-based-standards] (SCNo32): Likewise.
13840         [C99-based-standards] (SCNu32): Likewise.
13841         [C99-based-standards] (SCNx32): Likewise.
13842         [C99-based-standards] (PRIdLEAST32): Likewise.
13843         [C99-based-standards] (PRIiLEAST32): Likewise.
13844         [C99-based-standards] (PRIoLEAST32): Likewise.
13845         [C99-based-standards] (PRIuLEAST32): Likewise.
13846         [C99-based-standards] (PRIxLEAST32): Likewise.
13847         [C99-based-standards] (PRIXLEAST32): Likewise.
13848         [C99-based-standards] (SCNdLEAST32): Likewise.
13849         [C99-based-standards] (SCNiLEAST32): Likewise.
13850         [C99-based-standards] (SCNoLEAST32): Likewise.
13851         [C99-based-standards] (SCNuLEAST32): Likewise.
13852         [C99-based-standards] (SCNxLEAST32): Likewise.
13853         [C99-based-standards] (PRIdFAST32): Likewise.
13854         [C99-based-standards] (PRIiFAST32): Likewise.
13855         [C99-based-standards] (PRIoFAST32): Likewise.
13856         [C99-based-standards] (PRIuFAST32): Likewise.
13857         [C99-based-standards] (PRIxFAST32): Likewise.
13858         [C99-based-standards] (PRIXFAST32): Likewise.
13859         [C99-based-standards] (SCNdFAST32): Likewise.
13860         [C99-based-standards] (SCNiFAST32): Likewise.
13861         [C99-based-standards] (SCNoFAST32): Likewise.
13862         [C99-based-standards] (SCNuFAST32): Likewise.
13863         [C99-based-standards] (SCNxFAST32): Likewise.
13864         [C99-based-standards] (PRId64): Likewise.
13865         [C99-based-standards] (PRIi64): Likewise.
13866         [C99-based-standards] (PRIo64): Likewise.
13867         [C99-based-standards] (PRIu64): Likewise.
13868         [C99-based-standards] (PRIx64): Likewise.
13869         [C99-based-standards] (PRIX64): Likewise.
13870         [C99-based-standards] (SCNd64): Likewise.
13871         [C99-based-standards] (SCNi64): Likewise.
13872         [C99-based-standards] (SCNo64): Likewise.
13873         [C99-based-standards] (SCNu64): Likewise.
13874         [C99-based-standards] (SCNx64): Likewise.
13875         [C99-based-standards] (PRIdLEAST64): Likewise.
13876         [C99-based-standards] (PRIiLEAST64): Likewise.
13877         [C99-based-standards] (PRIoLEAST64): Likewise.
13878         [C99-based-standards] (PRIuLEAST64): Likewise.
13879         [C99-based-standards] (PRIxLEAST64): Likewise.
13880         [C99-based-standards] (PRIXLEAST64): Likewise.
13881         [C99-based-standards] (SCNdLEAST64): Likewise.
13882         [C99-based-standards] (SCNiLEAST64): Likewise.
13883         [C99-based-standards] (SCNoLEAST64): Likewise.
13884         [C99-based-standards] (SCNuLEAST64): Likewise.
13885         [C99-based-standards] (SCNxLEAST64): Likewise.
13886         [C99-based-standards] (PRIdFAST64): Likewise.
13887         [C99-based-standards] (PRIiFAST64): Likewise.
13888         [C99-based-standards] (PRIoFAST64): Likewise.
13889         [C99-based-standards] (PRIuFAST64): Likewise.
13890         [C99-based-standards] (PRIxFAST64): Likewise.
13891         [C99-based-standards] (PRIXFAST64): Likewise.
13892         [C99-based-standards] (SCNdFAST64): Likewise.
13893         [C99-based-standards] (SCNiFAST64): Likewise.
13894         [C99-based-standards] (SCNoFAST64): Likewise.
13895         [C99-based-standards] (SCNuFAST64): Likewise.
13896         [C99-based-standards] (SCNxFAST64): Likewise.
13897         [C99-based-standards] (PRIdMAX): Likewise.
13898         [C99-based-standards] (PRIiMAX): Likewise.
13899         [C99-based-standards] (PRIoMAX): Likewise.
13900         [C99-based-standards] (PRIuMAX): Likewise.
13901         [C99-based-standards] (PRIxMAX): Likewise.
13902         [C99-based-standards] (PRIXMAX): Likewise.
13903         [C99-based-standards] (SCNdMAX): Likewise.
13904         [C99-based-standards] (SCNiMAX): Likewise.
13905         [C99-based-standards] (SCNoMAX): Likewise.
13906         [C99-based-standards] (SCNuMAX): Likewise.
13907         [C99-based-standards] (SCNxMAX): Likewise.
13908         [C99-based-standards] (PRIdPTR): Likewise.
13909         [C99-based-standards] (PRIiPTR): Likewise.
13910         [C99-based-standards] (PRIoPTR): Likewise.
13911         [C99-based-standards] (PRIuPTR): Likewise.
13912         [C99-based-standards] (PRIxPTR): Likewise.
13913         [C99-based-standards] (PRIXPTR): Likewise.
13914         [C99-based-standards] (SCNdPTR): Likewise.
13915         [C99-based-standards] (SCNiPTR): Likewise.
13916         [C99-based-standards] (SCNoPTR): Likewise.
13917         [C99-based-standards] (SCNuPTR): Likewise.
13918         [C99-based-standards] (SCNxPTR): Likewise.
13919         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13920         allow.
13921         * conform/data/stdint.h-data: Update comments to clarify
13922         requirements.
13923         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13924         type.
13925         [C99-based standards] (INT8_MAX): Likewise.
13926         [C99-based standards] (INT16_MIN): Likewise.
13927         [C99-based standards] (INT16_MAX): Likewise.
13928         [C99-based standards] (INT32_MIN): Likewise.
13929         [C99-based standards] (INT32_MAX): Likewise.
13930         [C99-based standards] (INT64_MIN): Likewise.
13931         [C99-based standards] (INT64_MAX): Likewise.
13932         [C99-based standards] (UINT8_MAX): Likewise.
13933         [C99-based standards] (UINT16_MAX): Likewise.
13934         [C99-based standards] (UINT32_MAX): Likewise.
13935         [C99-based standards] (UINT64_MAX): Likewise.
13936         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13937         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13938         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13939         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13940         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13941         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13942         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13943         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13944         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13945         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13946         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13947         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13948         [C99-based standards] (INT_FAST8_MIN): Likewise.
13949         [C99-based standards] (INT_FAST8_MAX): Likewise.
13950         [C99-based standards] (INT_FAST16_MIN): Likewise.
13951         [C99-based standards] (INT_FAST16_MAX): Likewise.
13952         [C99-based standards] (INT_FAST32_MIN): Likewise.
13953         [C99-based standards] (INT_FAST32_MAX): Likewise.
13954         [C99-based standards] (INT_FAST64_MIN): Likewise.
13955         [C99-based standards] (INT_FAST64_MAX): Likewise.
13956         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13957         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13958         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13959         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13960         [C99-based standards] (INTPTR_MIN): Likewise.
13961         [C99-based standards] (INTPTR_MAX): Likewise.
13962         [C99-based standards] (UINTPTR_MAX): Likewise.
13963         [C99-based standards] (INTMAX_MIN): Likewise.
13964         [C99-based standards] (INTMAX_MAX): Likewise.
13965         [C99-based standards] (UINTMAX_MAX): Likewise.
13966         [C99-based standards] (PTRDIFF_MIN): Likewise.
13967         [C99-based standards] (PTRDIFF_MAX): Likewise.
13968         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13969         [C99-based standards] (SIZE_MAX): Likewise.
13970         [C99-based standards] (WCHAR_MAX): Likewise.
13971         [C99-based standards] (WINT_MAX): Likewise.
13972         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13973         constraint on value.
13974         [C99-based standards] (WCHAR_MIN): Likewise.
13975         [C99-based standards] (WINT_MIN): Likewise.
13976         [C99-based standards] (*_t): Allow.
13977         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13978         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13979         Include math.h-data and complex.h-data.  Remove all expectations
13980         of math.h and complex.h contents.
13981         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13982         at end of line.
13983         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13984         (struct tm): Expect tag.
13985         [C99-based-standards] (wcstof): Expect function.
13986         [C99-based-standards] (wcstold): Likewise.
13987         [C99-based-standards] (wcstoll): Likewise.
13988         [C99-based-standards] (wcstoull): Likewise.
13989         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13990         macro-int-constant.  Specify type.
13991         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13992         constraint on value.
13993         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13994         Specify type.
13995         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13996         Specify value.
13997         [ISO C standards]: Do not allow headers.
13998         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13999         wcs[abcdefghijklmnopqrstuvwxyz]*.
14000         [ISO C standards] (*_t): Do not allow.
14001         * conform/data/wctype.h-data [C99-based standards] (iswblank):
14002         Expect function.
14003         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14004         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14005         Specify type.
14006         [ISO C standards]: Do not allow headers.
14007         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14008         is[abcdefghijklmnopqrstuvwxyz]*.
14009         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14010         to[abcdefghijklmnopqrstuvwxyz]*.
14011         [ISO C standards] (*_t): Do not allow.
14012         * conform/data/stdalign.h-data: New file.
14013         * conform/data/stdbool.h-data: Likewise.
14014         * conform/data/stdnoreturn.h-data: Likewise.
14016 2012-11-07  Roland McGrath  <roland@hack.frob.com>
14018         [BZ #14815]
14019         * manual/filesys.texi (Directory Entries): Typo fix.
14020         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14022 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14024         * elf/elf.h (EM_AARCH64): New macro.
14025         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14026         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14027         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14028         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14029         (R_AARCH64_TLSDESC): Likewise.
14030         (NT_ARM_TLS): Likewise.
14031         (NT_ARM_HW_BREAK): Likewise.
14032         (NT_ARM_HW_WATCH): Likewise.
14034 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14036         [BZ #14811]
14037         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14038         (__ieee754_powl): Saturate nonzero exponents with absolute value
14039         below 0x1p-79 to +/- 0x1p-79.
14040         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14041         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14042         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14043         nonzero exponents with absolute value below 0x1p-32 to +/-
14044         0x1p-32.
14045         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14046         (__ieee754_powl): Saturate nonzero exponents with absolute value
14047         below 0x1p-79 to +/- 0x1p-79.
14048         * math/libm-test.inc (pow_test): Add more tests.
14050 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14052         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14053         _dl_s390_cap_flags with kernel. Increase string length.
14054         (_dl_s390_platforms): Add z196 and zEC12.
14056 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14058         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14059         Change XOPEN21K to XOPEN2K.
14061 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
14063         * string/memmove.c: Use memcpy when possible.
14065 2012-11-06  Andreas Jaeger  <aj@suse.de>
14067         * po/eo.po: Update from translation team.
14069 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
14071         [BZ #14793]
14072         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14073         exponent and small x and y exponents, scale x or y up.  Increase
14074         by 2 the exponent used in scaling up.
14075         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14076         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14077         * math/libm-test.inc (fma_test): Add more tests.
14078         (fma_test_towardzero): Likewise.
14079         (fma_test_downward): Likewise.
14080         (fma_test_upward): Likewise.
14082 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
14084         [BZ #14805]
14085         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14086         fenv_t *.
14088         [BZ #14801]
14089         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14090         namespace for names of struct fields.
14091         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14092         fenv_t fields.
14093         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14094         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14096 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14098         [BZ #3665]
14099         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14101 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14103         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14104         PTR_DEMANGLE.
14106         [BZ #5246]
14107         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14108         PTR_DEMANGLE.
14110 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
14112         [BZ #14797]
14113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14114         definitely overflow as x * y not x * y + z.
14115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14116         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14117         * math/libm-test.inc (fma_test): Add more tests.
14118         (fma_test_towardzero): Likewise.
14119         (fma_test_downward): Likewise.
14120         (fma_test_upward): Likewise.
14122 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14124         [BZ #157]
14126         * include/stub-tag.h: Remove file.
14127         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14128         '#include' of it.
14129         * manual/maint.texi (Porting): Don't reference it.
14130         * Makerules ($(objpfx)stubs): Likewise.
14131         * dirent/closedir.c: Don't include <stub-tag.h>.
14132         * dirent/dirfd.c: Likewise.
14133         * dirent/fdopendir.c: Likewise.
14134         * dirent/getdents.c: Likewise.
14135         * dirent/getdents64.c: Likewise.
14136         * dirent/opendir.c: Likewise.
14137         * dirent/readdir.c: Likewise.
14138         * dirent/readdir64.c: Likewise.
14139         * dirent/readdir64_r.c: Likewise.
14140         * dirent/readdir_r.c: Likewise.
14141         * dirent/rewinddir.c: Likewise.
14142         * dirent/seekdir.c: Likewise.
14143         * dirent/telldir.c: Likewise.
14144         * gmon/profil.c: Likewise.
14145         * grp/setgroups.c: Likewise.
14146         * inet/if_index.c: Likewise.
14147         * io/access.c: Likewise.
14148         * io/chdir.c: Likewise.
14149         * io/chmod.c: Likewise.
14150         * io/chown.c: Likewise.
14151         * io/close.c: Likewise.
14152         * io/dup.c: Likewise.
14153         * io/dup2.c: Likewise.
14154         * io/dup3.c: Likewise.
14155         * io/euidaccess.c: Likewise.
14156         * io/faccessat.c: Likewise.
14157         * io/fchdir.c: Likewise.
14158         * io/fchmod.c: Likewise.
14159         * io/fchmodat.c: Likewise.
14160         * io/fchown.c: Likewise.
14161         * io/fchownat.c: Likewise.
14162         * io/fcntl.c: Likewise.
14163         * io/flock.c: Likewise.
14164         * io/fstatfs.c: Likewise.
14165         * io/fstatfs64.c: Likewise.
14166         * io/fstatvfs.c: Likewise.
14167         * io/fstatvfs64.c: Likewise.
14168         * io/futimens.c: Likewise.
14169         * io/fxstat.c: Likewise.
14170         * io/fxstat64.c: Likewise.
14171         * io/fxstatat.c: Likewise.
14172         * io/fxstatat64.c: Likewise.
14173         * io/getcwd.c: Likewise.
14174         * io/isatty.c: Likewise.
14175         * io/lchmod.c: Likewise.
14176         * io/lchown.c: Likewise.
14177         * io/link.c: Likewise.
14178         * io/linkat.c: Likewise.
14179         * io/lseek.c: Likewise.
14180         * io/lseek64.c: Likewise.
14181         * io/lxstat64.c: Likewise.
14182         * io/mkdir.c: Likewise.
14183         * io/mkdirat.c: Likewise.
14184         * io/mkfifo.c: Likewise.
14185         * io/mkfifoat.c: Likewise.
14186         * io/open.c: Likewise.
14187         * io/open64.c: Likewise.
14188         * io/openat.c: Likewise.
14189         * io/openat64.c: Likewise.
14190         * io/pipe.c: Likewise.
14191         * io/pipe2.c: Likewise.
14192         * io/poll.c: Likewise.
14193         * io/posix_fadvise.c: Likewise.
14194         * io/posix_fadvise64.c: Likewise.
14195         * io/posix_fallocate.c: Likewise.
14196         * io/posix_fallocate64.c: Likewise.
14197         * io/read.c: Likewise.
14198         * io/readlink.c: Likewise.
14199         * io/readlinkat.c: Likewise.
14200         * io/rmdir.c: Likewise.
14201         * io/sendfile.c: Likewise.
14202         * io/sendfile64.c: Likewise.
14203         * io/statfs.c: Likewise.
14204         * io/statfs64.c: Likewise.
14205         * io/statvfs.c: Likewise.
14206         * io/statvfs64.c: Likewise.
14207         * io/symlink.c: Likewise.
14208         * io/symlinkat.c: Likewise.
14209         * io/ttyname.c: Likewise.
14210         * io/ttyname_r.c: Likewise.
14211         * io/umask.c: Likewise.
14212         * io/unlink.c: Likewise.
14213         * io/unlinkat.c: Likewise.
14214         * io/utime.c: Likewise.
14215         * io/utimensat.c: Likewise.
14216         * io/write.c: Likewise.
14217         * io/xmknod.c: Likewise.
14218         * io/xmknodat.c: Likewise.
14219         * io/xstat.c: Likewise.
14220         * io/xstat64.c: Likewise.
14221         * login/getpt.c: Likewise.
14222         * login/grantpt.c: Likewise.
14223         * login/unlockpt.c: Likewise.
14224         * math/e_acoshl.c: Likewise.
14225         * math/e_acosl.c: Likewise.
14226         * math/e_asinl.c: Likewise.
14227         * math/e_atan2l.c: Likewise.
14228         * math/e_atanhl.c: Likewise.
14229         * math/e_coshl.c: Likewise.
14230         * math/e_expl.c: Likewise.
14231         * math/e_fmodl.c: Likewise.
14232         * math/e_gammal_r.c: Likewise.
14233         * math/e_hypotl.c: Likewise.
14234         * math/e_j0l.c: Likewise.
14235         * math/e_j1l.c: Likewise.
14236         * math/e_jnl.c: Likewise.
14237         * math/e_lgammal_r.c: Likewise.
14238         * math/e_log10l.c: Likewise.
14239         * math/e_log2l.c: Likewise.
14240         * math/e_logl.c: Likewise.
14241         * math/e_powl.c: Likewise.
14242         * math/e_rem_pio2l.c: Likewise.
14243         * math/e_sinhl.c: Likewise.
14244         * math/e_sqrtl.c: Likewise.
14245         * math/fclrexcpt.c: Likewise.
14246         * math/fedisblxcpt.c: Likewise.
14247         * math/feenablxcpt.c: Likewise.
14248         * math/fegetenv.c: Likewise.
14249         * math/fegetexcept.c: Likewise.
14250         * math/fegetround.c: Likewise.
14251         * math/feholdexcpt.c: Likewise.
14252         * math/fesetenv.c: Likewise.
14253         * math/fesetround.c: Likewise.
14254         * math/feupdateenv.c: Likewise.
14255         * math/fgetexcptflg.c: Likewise.
14256         * math/fraiseexcpt.c: Likewise.
14257         * math/fsetexcptflg.c: Likewise.
14258         * math/ftestexcept.c: Likewise.
14259         * math/k_cosl.c: Likewise.
14260         * math/k_rem_pio2l.c: Likewise.
14261         * math/k_sinl.c: Likewise.
14262         * math/k_tanl.c: Likewise.
14263         * math/s_asinhl.c: Likewise.
14264         * math/s_atanl.c: Likewise.
14265         * math/s_cbrtl.c: Likewise.
14266         * math/s_erfl.c: Likewise.
14267         * math/s_expm1l.c: Likewise.
14268         * math/s_log1pl.c: Likewise.
14269         * math/s_tanhl.c: Likewise.
14270         * misc/acct.c: Likewise.
14271         * misc/brk.c: Likewise.
14272         * misc/chflags.c: Likewise.
14273         * misc/chroot.c: Likewise.
14274         * misc/fchflags.c: Likewise.
14275         * misc/fgetxattr.c: Likewise.
14276         * misc/flistxattr.c: Likewise.
14277         * misc/fremovexattr.c: Likewise.
14278         * misc/fsetxattr.c: Likewise.
14279         * misc/fsync.c: Likewise.
14280         * misc/ftruncate.c: Likewise.
14281         * misc/futimes.c: Likewise.
14282         * misc/futimesat.c: Likewise.
14283         * misc/getdomain.c: Likewise.
14284         * misc/getdtsz.c: Likewise.
14285         * misc/gethostid.c: Likewise.
14286         * misc/gethostname.c: Likewise.
14287         * misc/getloadavg.c: Likewise.
14288         * misc/getpagesize.c: Likewise.
14289         * misc/getsysstats.c: Likewise.
14290         * misc/getxattr.c: Likewise.
14291         * misc/gtty.c: Likewise.
14292         * misc/ioctl.c: Likewise.
14293         * misc/lgetxattr.c: Likewise.
14294         * misc/listxattr.c: Likewise.
14295         * misc/llistxattr.c: Likewise.
14296         * misc/lremovexattr.c: Likewise.
14297         * misc/lsetxattr.c: Likewise.
14298         * misc/lutimes.c: Likewise.
14299         * misc/madvise.c: Likewise.
14300         * misc/mincore.c: Likewise.
14301         * misc/mlock.c: Likewise.
14302         * misc/mlockall.c: Likewise.
14303         * misc/mmap.c: Likewise.
14304         * misc/mprotect.c: Likewise.
14305         * misc/msync.c: Likewise.
14306         * misc/munlock.c: Likewise.
14307         * misc/munlockall.c: Likewise.
14308         * misc/munmap.c: Likewise.
14309         * misc/preadv.c: Likewise.
14310         * misc/preadv64.c: Likewise.
14311         * misc/ptrace.c: Likewise.
14312         * misc/pwritev.c: Likewise.
14313         * misc/pwritev64.c: Likewise.
14314         * misc/readv.c: Likewise.
14315         * misc/reboot.c: Likewise.
14316         * misc/remap_file_pages.c: Likewise.
14317         * misc/removexattr.c: Likewise.
14318         * misc/revoke.c: Likewise.
14319         * misc/select.c: Likewise.
14320         * misc/setdomain.c: Likewise.
14321         * misc/setegid.c: Likewise.
14322         * misc/seteuid.c: Likewise.
14323         * misc/sethostid.c: Likewise.
14324         * misc/sethostname.c: Likewise.
14325         * misc/setregid.c: Likewise.
14326         * misc/setreuid.c: Likewise.
14327         * misc/setxattr.c: Likewise.
14328         * misc/sstk.c: Likewise.
14329         * misc/stty.c: Likewise.
14330         * misc/swapoff.c: Likewise.
14331         * misc/swapon.c: Likewise.
14332         * misc/sync.c: Likewise.
14333         * misc/syncfs.c: Likewise.
14334         * misc/syscall.c: Likewise.
14335         * misc/truncate.c: Likewise.
14336         * misc/ualarm.c: Likewise.
14337         * misc/usleep.c: Likewise.
14338         * misc/ustat.c: Likewise.
14339         * misc/utimes.c: Likewise.
14340         * misc/vhangup.c: Likewise.
14341         * misc/writev.c: Likewise.
14342         * posix/_exit.c: Likewise.
14343         * posix/alarm.c: Likewise.
14344         * posix/execve.c: Likewise.
14345         * posix/fexecve.c: Likewise.
14346         * posix/fork.c: Likewise.
14347         * posix/fpathconf.c: Likewise.
14348         * posix/getaddrinfo.c: Likewise.
14349         * posix/getegid.c: Likewise.
14350         * posix/geteuid.c: Likewise.
14351         * posix/getgid.c: Likewise.
14352         * posix/getgroups.c: Likewise.
14353         * posix/getlogin.c: Likewise.
14354         * posix/getlogin_r.c: Likewise.
14355         * posix/getpgid.c: Likewise.
14356         * posix/getpid.c: Likewise.
14357         * posix/getppid.c: Likewise.
14358         * posix/getresgid.c: Likewise.
14359         * posix/getresuid.c: Likewise.
14360         * posix/getsid.c: Likewise.
14361         * posix/getuid.c: Likewise.
14362         * posix/glob64.c: Likewise.
14363         * posix/nanosleep.c: Likewise.
14364         * posix/pathconf.c: Likewise.
14365         * posix/pause.c: Likewise.
14366         * posix/posix_madvise.c: Likewise.
14367         * posix/pread.c: Likewise.
14368         * posix/pread64.c: Likewise.
14369         * posix/pwrite.c: Likewise.
14370         * posix/pwrite64.c: Likewise.
14371         * posix/sched_getaffinity.c: Likewise.
14372         * posix/sched_getp.c: Likewise.
14373         * posix/sched_gets.c: Likewise.
14374         * posix/sched_primax.c: Likewise.
14375         * posix/sched_primin.c: Likewise.
14376         * posix/sched_rr_gi.c: Likewise.
14377         * posix/sched_setaffinity.c: Likewise.
14378         * posix/sched_setp.c: Likewise.
14379         * posix/sched_sets.c: Likewise.
14380         * posix/sched_yield.c: Likewise.
14381         * posix/setgid.c: Likewise.
14382         * posix/setlogin.c: Likewise.
14383         * posix/setpgid.c: Likewise.
14384         * posix/setresgid.c: Likewise.
14385         * posix/setresuid.c: Likewise.
14386         * posix/setsid.c: Likewise.
14387         * posix/setuid.c: Likewise.
14388         * posix/sleep.c: Likewise.
14389         * posix/spawni.c: Likewise.
14390         * posix/sysconf.c: Likewise.
14391         * posix/times.c: Likewise.
14392         * posix/wait.c: Likewise.
14393         * posix/wait3.c: Likewise.
14394         * posix/wait4.c: Likewise.
14395         * posix/waitpid.c: Likewise.
14396         * resolv/gai_sigqueue.c: Likewise.
14397         * resource/getpriority.c: Likewise.
14398         * resource/getrlimit.c: Likewise.
14399         * resource/getrusage.c: Likewise.
14400         * resource/nice.c: Likewise.
14401         * resource/setpriority.c: Likewise.
14402         * resource/setrlimit.c: Likewise.
14403         * resource/ulimit.c: Likewise.
14404         * rt/aio_cancel.c: Likewise.
14405         * rt/aio_fsync.c: Likewise.
14406         * rt/aio_read.c: Likewise.
14407         * rt/aio_sigqueue.c: Likewise.
14408         * rt/aio_suspend.c: Likewise.
14409         * rt/aio_write.c: Likewise.
14410         * rt/clock_getres.c: Likewise.
14411         * rt/clock_gettime.c: Likewise.
14412         * rt/clock_nanosleep.c: Likewise.
14413         * rt/clock_settime.c: Likewise.
14414         * rt/lio_listio.c: Likewise.
14415         * rt/mq_close.c: Likewise.
14416         * rt/mq_getattr.c: Likewise.
14417         * rt/mq_notify.c: Likewise.
14418         * rt/mq_open.c: Likewise.
14419         * rt/mq_receive.c: Likewise.
14420         * rt/mq_send.c: Likewise.
14421         * rt/mq_setattr.c: Likewise.
14422         * rt/mq_timedreceive.c: Likewise.
14423         * rt/mq_timedsend.c: Likewise.
14424         * rt/mq_unlink.c: Likewise.
14425         * rt/shm_open.c: Likewise.
14426         * rt/shm_unlink.c: Likewise.
14427         * rt/timer_create.c: Likewise.
14428         * rt/timer_delete.c: Likewise.
14429         * rt/timer_getoverr.c: Likewise.
14430         * rt/timer_gettime.c: Likewise.
14431         * rt/timer_settime.c: Likewise.
14432         * setjmp/__longjmp.c: Likewise.
14433         * setjmp/setjmp.c: Likewise.
14434         * signal/kill.c: Likewise.
14435         * signal/killpg.c: Likewise.
14436         * signal/raise.c: Likewise.
14437         * signal/sigaction.c: Likewise.
14438         * signal/sigaltstack.c: Likewise.
14439         * signal/sigblock.c: Likewise.
14440         * signal/sigignore.c: Likewise.
14441         * signal/sigintr.c: Likewise.
14442         * signal/signal.c: Likewise.
14443         * signal/sigpause.c: Likewise.
14444         * signal/sigpending.c: Likewise.
14445         * signal/sigqueue.c: Likewise.
14446         * signal/sigreturn.c: Likewise.
14447         * signal/sigset.c: Likewise.
14448         * signal/sigsetmask.c: Likewise.
14449         * signal/sigstack.c: Likewise.
14450         * signal/sigsuspend.c: Likewise.
14451         * signal/sigtimedwait.c: Likewise.
14452         * signal/sigvec.c: Likewise.
14453         * signal/sigwait.c: Likewise.
14454         * signal/sigwaitinfo.c: Likewise.
14455         * signal/sysv_signal.c: Likewise.
14456         * socket/accept.c: Likewise.
14457         * socket/accept4.c: Likewise.
14458         * socket/bind.c: Likewise.
14459         * socket/connect.c: Likewise.
14460         * socket/getpeername.c: Likewise.
14461         * socket/getsockname.c: Likewise.
14462         * socket/getsockopt.c: Likewise.
14463         * socket/isfdtype.c: Likewise.
14464         * socket/listen.c: Likewise.
14465         * socket/recv.c: Likewise.
14466         * socket/recvfrom.c: Likewise.
14467         * socket/recvmsg.c: Likewise.
14468         * socket/send.c: Likewise.
14469         * socket/sendmsg.c: Likewise.
14470         * socket/sendto.c: Likewise.
14471         * socket/setsockopt.c: Likewise.
14472         * socket/shutdown.c: Likewise.
14473         * socket/sockatmark.c: Likewise.
14474         * socket/socket.c: Likewise.
14475         * socket/socketpair.c: Likewise.
14476         * stdio-common/ctermid.c: Likewise.
14477         * stdio-common/cuserid.c: Likewise.
14478         * stdio-common/remove.c: Likewise.
14479         * stdio-common/rename.c: Likewise.
14480         * stdio-common/renameat.c: Likewise.
14481         * stdio-common/tempname.c: Likewise.
14482         * stdlib/getcontext.c: Likewise.
14483         * stdlib/makecontext.c: Likewise.
14484         * stdlib/setcontext.c: Likewise.
14485         * stdlib/swapcontext.c: Likewise.
14486         * stdlib/system.c: Likewise.
14487         * streams/fattach.c: Likewise.
14488         * streams/fdetach.c: Likewise.
14489         * streams/getmsg.c: Likewise.
14490         * streams/getpmsg.c: Likewise.
14491         * streams/putmsg.c: Likewise.
14492         * streams/putpmsg.c: Likewise.
14493         * sysdeps/unix/bsd/getpt.c: Likewise.
14494         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14495         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14496         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14498         Likewise.
14499         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14500         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14501         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14502         * sysvipc/msgctl.c: Likewise.
14503         * sysvipc/msgget.c: Likewise.
14504         * sysvipc/msgrcv.c: Likewise.
14505         * sysvipc/msgsnd.c: Likewise.
14506         * sysvipc/semctl.c: Likewise.
14507         * sysvipc/semget.c: Likewise.
14508         * sysvipc/semop.c: Likewise.
14509         * sysvipc/semtimedop.c: Likewise.
14510         * sysvipc/shmat.c: Likewise.
14511         * sysvipc/shmctl.c: Likewise.
14512         * sysvipc/shmdt.c: Likewise.
14513         * sysvipc/shmget.c: Likewise.
14514         * termios/tcdrain.c: Likewise.
14515         * termios/tcflow.c: Likewise.
14516         * termios/tcflush.c: Likewise.
14517         * termios/tcgetattr.c: Likewise.
14518         * termios/tcgetpgrp.c: Likewise.
14519         * termios/tcsendbrk.c: Likewise.
14520         * termios/tcsetattr.c: Likewise.
14521         * termios/tcsetpgrp.c: Likewise.
14522         * time/adjtime.c: Likewise.
14523         * time/clock.c: Likewise.
14524         * time/getitimer.c: Likewise.
14525         * time/gettimeofday.c: Likewise.
14526         * time/setitimer.c: Likewise.
14527         * time/settimeofday.c: Likewise.
14528         * time/stime.c: Likewise.
14529         * time/time.c: Likewise.
14531 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14533         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14534         /usr/old/bin.
14536         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14537         instead of spaces.
14538         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14540 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14542         [BZ #14796]
14543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14544         FE_TONEAREST before applying Dekker multiplication and Knuth
14545         addition.  Clear inexact exceptions and check for exact zero
14546         results afterwards.
14547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14548         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14550         * math/libm-test.inc (fma_test): Add more tests.
14551         (fma_test_towardzero): Likewise.
14552         (fma_test_downward): Likewise.
14553         (fma_test_upward): Likewise.
14554         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14555         function.
14556         (libc_fesetround): New macro.
14557         (libc_fesetroundf): Likewise.
14558         (libc_fesetroundl): Likewise.
14559         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14560         function.
14561         (libc_fesetround_387): Likewise.
14562         (libc_fesetroundf): New macro.
14563         (libc_fesetround): Likewise.
14564         (libc_fesetroundl): Likewise.
14565         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14566         function.
14567         (libc_fesetroundf): New macro.
14568         (libc_fesetround): Likewise.
14569         (libc_fesetroundl): Likewise.
14570         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14571         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14572         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14573         libm_hidden_ver.
14574         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14575         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14576         libm_hidden_def.
14577         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14578         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14579         libm_hidden_ver.
14580         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14581         libm_hidden_def.
14583         [BZ #3439]
14584         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14585         integer constant usable in #if and use that to give value to enum
14586         constant.
14587         (FE_DIVBYZERO): Likewise.
14588         (FE_UNDERFLOW): Likewise.
14589         (FE_OVERFLOW): Likewise.
14590         (FE_INVALID): Likewise.
14591         (FE_INVALID_SNAN): Likewise.
14592         (FE_INVALID_ISI): Likewise.
14593         (FE_INVALID_IDI): Likewise.
14594         (FE_INVALID_ZDZ): Likewise.
14595         (FE_INVALID_IMZ): Likewise.
14596         (FE_INVALID_COMPARE): Likewise.
14597         (FE_INVALID_SOFTWARE): Likewise.
14598         (FE_INVALID_SQRT): Likewise.
14599         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14600         (FE_TONEAREST): Likewise.
14601         (FE_TOWARDZERO): Likewise.
14602         (FE_UPWARD): Likewise.
14603         (FE_DOWNWARD): Likewise.
14604         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14605         (FE_DIVBYZERO): Likewise.
14606         (FE_OVERFLOW): Likewise.
14607         (FE_UNDERFLOW): Likewise.
14608         (FE_INEXACT): Likewise.
14609         (FE_TONEAREST): Likewise.
14610         (FE_DOWNWARD): Likewise.
14611         (FE_UPWARD): Likewise.
14612         (FE_TOWARDZERO): Likewise.
14613         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14614         (FE_UNDERFLOW): Likewise.
14615         (FE_OVERFLOW): Likewise.
14616         (FE_DIVBYZERO): Likewise.
14617         (FE_INVALID): Likewise.
14618         (FE_TONEAREST): Likewise.
14619         (FE_TOWARDZERO): Likewise.
14620         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14621         (FE_OVERFLOW): Likewise.
14622         (FE_UNDERFLOW): Likewise.
14623         (FE_DIVBYZERO): Likewise.
14624         (FE_INEXACT): Likewise.
14625         (FE_TONEAREST): Likewise.
14626         (FE_TOWARDZERO): Likewise.
14627         (FE_UPWARD): Likewise.
14628         (FE_DOWNWARD): Likewise.
14629         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14630         (FE_DIVBYZERO): Likewise.
14631         (FE_OVERFLOW): Likewise.
14632         (FE_UNDERFLOW): Likewise.
14633         (FE_INEXACT): Likewise.
14634         (FE_TONEAREST): Likewise.
14635         (FE_DOWNWARD): Likewise.
14636         (FE_UPWARD): Likewise.
14637         (FE_TOWARDZERO): Likewise.
14639 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14641         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14643 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14645         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14646         commands.  Quote $PWD.
14647         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14648         -x" by "export".
14649         (remove_newlines): Remove.
14651 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14653         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14654         * stdlib/stdlib.h (atof): Moved to ...
14655         * include/bits/stdlib-float.h: Here.  New file.
14656         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14657         * stdlib/bits/stdlib-float.h: New file.
14658         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14659         -mno-sse -mno-mmx.
14660         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14661         <xmmintrin.h>.
14663 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14665         * conform/conformtest.pl (@headers): Add fenv.h.
14666         * conform/data/fenv.h-data: New file.
14667         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14668         include of <math/fenv.h>.
14670         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14671         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14672         && !UNIX98].  Enables tests for XOPEN2K8.
14673         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14674         POSIX2008]: Likewise.
14676         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14677         (struct rusage): Do not expect type or its members.
14679         [BZ #3439]
14680         * math/math.h (FP_NAN): Define macro to integer constant usable in
14681         #if and use that to give value to enum constant.
14682         (FP_INFINITE): Likewise.
14683         (FP_ZERO): Likewise.
14684         (FP_SUBNORMAL): Likewise.
14685         (FP_NORMAL): Likewise.
14687 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14689         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14690         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14691         arguments.
14693 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14695         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14696         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14697         autoconf-time if not.
14698         * configure.in: Remove AC_PREREQ.
14700 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14702         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14703         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14704         of the internal implementation.
14706 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14708         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14709         except include of <misc/sys/syslog.h>.
14711 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14714         function returns with a NULL context exit with zero.
14716 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14718         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14720 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14722         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14723         (run_program_cmd): This.
14724         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14725         (tst_langinfo): New variable.  Use it.
14727 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14729         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14730         floating point opcodes.
14732 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14734         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14735         variable.
14737         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14739         * sysdeps/mach/hurd/powerpc: Remove directory.
14740         * sysdeps/mach/powerpc: Likewise.
14742 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14744         * scripts/check-local-headers.sh: Ignore c++ headers.
14746 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14748         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14749         __libc_cleanup_region_start argument.
14751 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14753         [BZ #14784]
14754         [BZ #14785]
14755         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14756         x * y using scaling, not as x * y + z.
14757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14758         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14759         * math/libm-test.inc (fma_test): Add more tests.
14760         (fma_test_towardzero): Likewise.
14761         (fma_test_downward): Likewise.
14762         (fma_test_upward): Likewise.
14764 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14766         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14768 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14770         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14771         New variable.
14773 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14775         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14777 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14780         Fix sort order.
14781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14782         Likewise.
14784 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14787         Fix the order of the list for glibc 2.17.
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14789         Likewise.
14791 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14795 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14797         [BZ #14610]
14798         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14799         for low part of x being zero before using __atanl (y).
14800         * math/libm-test.inc (atan2_test): Add another test.
14802         * manual/install.texi (Configuring and compiling): Document
14803         general use of test-wrapper and test-wrapper-env.
14804         * INSTALL: Regenerated.
14806         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14807         (__fma): Do not extract and scale down low bits on after-rounding
14808         systems when result rounded to normal precision would have normal
14809         exponent.
14810         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14811         (__fmal): Do not extract and scale down low bits on after-rounding
14812         systems when result rounded to normal precision would have normal
14813         exponent.
14814         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14815         (__fmal): Do not extract and scale down low bits on after-rounding
14816         systems when result rounded to normal precision would have normal
14817         exponent.
14818         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14819         macro.
14820         (fma_test): Add more tests.
14821         (fma_test_towardzero): Likewise.
14822         (fma_test_downward): Likewise.
14823         (fma_test_upward): Likewise.
14825 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14827         * sysdeps/i386/tininess.h: Renamed to ...
14828         * sysdeps/x86/tininess.h: This.
14829         * sysdeps/x86_64/tininess.h: Removed.
14831 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14833         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14834         input.  Use $(build-program-cmd).
14835         ($(objpfx)tst-array1-static.out): Likewise.
14836         ($(objpfx)tst-array2.out): Likewise.
14837         ($(objpfx)tst-array3.out): Likewise.
14838         ($(objpfx)tst-array4.out): Likewise.
14839         ($(objpfx)tst-array5.out): Likewise.
14840         ($(objpfx)tst-array5-static.out): Likewise.
14842 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14844         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14845         if defined.
14847         * nss/nsswitch.h (nss_interface_function): Provide new
14848         macro for use with NSS functions.
14849         * grp/initgroups.c: Use new macro.
14850         * nss/getXXbyYY.c: Likewise.
14851         * nss/getXXbyYY_r.c: Likewise.
14852         * nss/getXXent.c: Likewise.
14853         * nss/getXXent_r.c: Likewise.
14854         * sysdeps/posix/getaddrinfo.c: Likewise.
14856 2012-10-30  Andreas Jaeger  <aj@suse.de>
14858         * po/ru.po: Update Russion translation from translation project.
14860 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14862         [BZ #14152]
14863         [BZ #14783]
14864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14865         result and shift together with sticky bit instead of replicating
14866         round-to-nearest rounding.
14867         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14868         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14869         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14870         missing underflow exceptions.
14871         (fma_test_towardzero): Add more tests.
14872         (fma_test_downward): Likewise.
14873         (fma_test_upward): Likewise.
14875         [BZ #14047]
14876         * sysdeps/generic/tininess.h: New file.
14877         * sysdeps/i386/tininess.h: Likewise.
14878         * sysdeps/sh/tininess.h: Likewise.
14879         * sysdeps/x86_64/tininess.h: Likewise.
14880         * stdlib/tst-strtod-underflow.c: Likewise.
14881         * stdlib/tst-tininess.c: Likewise.
14882         * stdlib/strtod_l.c: Include <tininess.h>.
14883         (round_and_return): Do not set errno for exact underflow cases.
14884         Force an underflow exception when setting errno for underflow.
14885         Determine underflow based on rounding to normal precision if
14886         TININESS_AFTER_ROUNDING.
14887         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14888         ERANGE for exact underflow cases.
14889         * stdlib/Makefile (tests): Add tst-tininess and
14890         tst-strtod-underflow.
14891         ($(objpfx)tst-tininess): Use $(link-libm).
14892         ($(objpfx)tst-strtod-underflow): Likewise.
14894 2012-10-30  Andreas Jaeger  <aj@suse.de>
14896         [BZ#14767]
14897         * elf/Makefile (tests): Remove conditional for have-initfini-array
14898         since this is now always required and the variable does not exist
14899         anymore.
14900         (tests-static): Likewise.
14901         (modules-names): Likewise.
14903         * po/eo.po: Add Esperanto translation from translation project.
14905         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14906         merged with constructor/destructor.
14907         (init_array): Likewise.
14908         * elf/tst-array2dep.c (fini_array): Likewise.
14909         (init_array): Likewise.
14911 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14913         * manual/message.texi: Delete @cartouche tags.
14915 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14917         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14918         EOPNOTSUPP.
14919         * sysdeps/mach/hurd/fsync.c: Likewise.
14921         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14922         [_POSIX_REALTIME_SIGNALS]: Change condition to
14923         [_POSIX_REALTIME_SIGNALS > 0].
14925 2012-10-27  Andreas Jaeger  <aj@suse.de>
14927         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14928         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14930         [__WORDSIZE != 64]: Likewise.
14932 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14934         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14935         *  iconvdata/tst-tables.sh: Likewise.
14937 2012-10-25  David S. Miller  <davem@davemloft.net>
14939         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14940         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14941         of strtoull.
14943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14944         ifunc-impl-list.c
14945         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14946         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14947         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14948         file.
14950 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14952         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14953         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14954         __getdirentries.
14956 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14957             Jim Blandy  <jimb@codesourcery.com>
14959         * scripts/cross-test-ssh.sh: New file.
14960         * manual/install.texi (Configuring and compiling): Document use of
14961         cross-test-ssh.sh.
14962         * INSTALL: Regenerated.
14964 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14966         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14967         EOPNOTSUPP.
14969 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14971         * Makeconfig (run-program-prefix): Fix comment.
14973 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14974             Jim Blandy  <jimb@codesourcery.com>
14976         * Makeconfig (test-wrapper): New variable,
14977         (test-wrapper-env): Likewise.
14978         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14979         (run-built-tests): Define to yes.
14980         (run-program-prefix): Use $(test-wrapper).
14981         (built-program-cmd): Likewise.
14982         * Rules (make-test-out): Use $(test-wrapper-env) and
14983         $(host-built-program-cmd).
14984         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14985         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14986         tst-pathopt.sh.
14987         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14988         $(test-wrapper-env) to tst-rtld-load-self.sh.
14989         ($(objpfx)order2.out): Use $(test-wrapper).
14990         ($(objpfx)tst-initorder.out): Likewise.
14991         ($(objpfx)tst-initorder2.out): Likewise.
14992         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14993         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14994         (test_wrapper_env): New variable.  Use it to run ld.so.
14995         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14996         Use it to run ld.so.
14997         (test_wrapper_env): Likewise.
14998         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14999         $(test-wrapper) to run-iconv-test.sh.
15000         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15001         (ICONV): Use $test_wrapper.
15002         * posix/Makefile ($(objpfx)globtest.out): Pass
15003         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15004         globtest.sh, not $(run-program-prefix).
15005         * posix/globtest.sh (run_via_rtld_prefix): New variable.
15006         (test_wrapper): Likewise.
15007         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
15008         set together with run_via_rtld_prefix.
15009         (run_program_prefix): Define in terms of test_wrapper and
15010         run_via_rtld_prefix.
15012 2012-10-24  Roland McGrath  <roland@hack.frob.com>
15014         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15015         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15016         Targets removed.
15018         [BZ #14743]
15019         * include/time.h: Remove librt_hidden_proto (clock_gettime).
15020         Declare __clock_getres, __clock_gettime, __clock_settime,
15021         __clock_nanosleep, and __clock_getcpuclockid.
15022         * rt/clock_gettime.c: Define __clock_gettime as an alias.
15023         Remove librt_hidden_def (clock_gettime).
15024         * sysdeps/unix/clock_gettime.c: Likewise.
15025         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15026         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15027         * rt/clock_getres.c: Define __clock_getres as an alias.
15028         * sysdeps/posix/clock_getres.c: Likewise.
15029         * rt/clock_settime.c: Define __clock_settime as an alias.
15030         * sysdeps/unix/clock_settime.c: Likewise.
15031         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15032         * sysdeps/unix/clock_nanosleep.c: Likewise.
15033         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15034         * rt/clock-compat.c: New file.
15035         * rt/Makefile (librt-routines): Add clock-compat and move
15036         $(clock-routines) to ...
15037         (routines): ... here, new variable.
15038         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15039         Don't add get_clockfreq here.
15040         * rt/Versions (libc: GLIBC_2.17): New version set.
15041         Add clock_* symbols here.
15042         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
15043         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15044         (GLIBC_2.17): Add clock_* symbols.
15045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15047         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15049         Likewise.
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15051         Likewise.
15052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15056         * NEWS: Mention the move.
15058         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15059         Use __open, __read, __close rather than their public counterparts.
15060         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15061         (__get_clockfreq_via_cpuinfo): Likewise.
15062         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15063         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15065         * config.h.in (HAVE_IFUNC): New #undef.
15066         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15067         was successful.
15068         * configure: Regenerated.
15070 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15072         * configure.in: Move READELF check to start of file.
15073         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15074         libc_cv_asm_gnu_indirect_function in the process.
15075         * configure: Regenerated.
15077 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15079         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15080         send the output to /dev/null.
15081         (libc_cv_cc_with_libunwind): Likewise.
15082         (libc_cv_as_noexecstack): Likewise.
15083         * configure: Regenerate.
15085 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15087         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15089         * posix/globtest.sh (TMPDIR): Do not set.
15090         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15091         (testout): Likewise.
15093 2012-10-24  Andreas Jaeger  <aj@suse.de>
15095         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15096         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15097         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15098         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15099         posix_fadvise64, posix_fallocate64.
15101         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15102         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15103         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15104         Likewise.
15105         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15106         Likewise.
15107         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15110         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15111         <bits/fcntl-linux.h>.
15112         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15114         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15115         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15116         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15117         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15118         [__WORDSIZE != 64]: Likewise.
15120 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15122         * Makeconfig (run-built-tests): New variable.
15123         * Rules [$(cross-compiling) = yes]: Change condition to
15124         [$(run-built-tests) = no].
15125         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15126         to [$(run-built-tests) = yes].
15127         * elf/Makefile [$(cross-compiling) = no]: Likewise
15128         * grp/Makefile [$(cross-compiling) = no]: Likewise.
15129         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15130         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15131         * intl/Makefile [$(cross-compiling) = no]: Likewise.
15132         * io/Makefile [$(cross-compiling) = no]: Likewise.
15133         * libio/Makefile [$(cross-compiling) = no]: Likewise.
15134         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15135         * misc/Makefile [$(cross-compiling) = no]: Likewise.
15136         * posix/Makefile [$(cross-compiling) = no]: Likewise.
15137         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15138         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15139         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15140         * string/Makefile [$(cross-compiling) = no]: Likewise.
15142         * posix/Makefile ($(objpfx)globtest.out): Pass
15143         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15144         $(rtld-installed-name).
15145         * posix/globtest.sh (elf_objpfx): Remove variable.
15146         (rtld_installed_name): Likewise.
15147         (library_path): Likewise.
15148         (run_program_prefix): New variable.  Use for running globtest
15149         binary.
15151 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
15152             Joseph Myers  <joseph@codesourcery.com>
15154         * Makeconfig (host-built-program-cmd): New variable.
15155         * elf/Makefile (tst-stackguard1-ARGS): Use
15156         $(host-built-program-cmd).
15157         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15158         (tst-spawn-ARGS): Likewise.
15159         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15161 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15162             Jim Blandy  <jimb@codesourcery.com>
15164         * Makeconfig (run-via-rtld-prefix): New variable.
15165         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15166         (built-program-cmd): Likewise.
15168 2012-10-22  Andreas Jaeger  <aj@suse.de>
15170         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15171         __O_RSYNC if it exists, otherwise to O_SYNC.
15173 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
15174             Joseph Myers  <joseph@codesourcery.com>
15176         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15177         /dev/null.
15178         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15179         from /dev/null
15180         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15181         /dev/null.
15183 2012-10-22  Andreas Jaeger  <aj@suse.de>
15185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15186         Define always.
15187         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15190         bits/fcntl-linux.h.
15192         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15193         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15195         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15196         to __O_LARGEFILE.
15197         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15198         to __O_LARGEFILE.
15200 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
15201             Joseph Myers  <joseph@codesourcery.com>
15203         * config.make.in (NM): New variable.
15205 2012-10-21  Andreas Jaeger  <aj@suse.de>
15207         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15208         definitions and declarations that are provided by
15209         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15211 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15213         [BZ #14683]
15214         * elf/Makefile (tests-static): Add tst-leaks1-static.
15215         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15216         ($(objpfx)tst-leaks1-static): New rule.
15217         ($(objpfx)tst-leaks1-static-mem): Likewise.
15218         (tst-leaks1-static-ENV): New macro.
15219         * elf/dl-open.c (dl_open_worker): Check the main application
15220         only if SHARED is defined.
15221         * elf/tst-leaks1-static.c: New file.
15223 2012-10-20  Andreas Jaeger  <aj@suse.de>
15225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15226         generic values for Linux.
15227         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15228         and declarations that are provided by <bits/fcntl-linux.h> and
15229         include <bits/fcntl-linux.h>.
15230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15231         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15233 2012-10-20  Roland McGrath  <roland@hack.frob.com>
15235         * io/fcntl.h: Move include of <bits/types.h> to the top and
15236         include it unconditionally.
15238 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15240         * wcsmbs/Makefile (tests-ifunc): New variable.
15241         (tests): Add $(tests-ifunc).
15242         * wcsmbs/test-wcschr-ifunc.c: New file.
15243         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15244         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15245         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15246         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15247         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15249         * string/Makefile (tests-ifunc): New variable.
15250         (tests): Add $(tests-ifunc).
15251         * string/test-memccpy.c (TEST_NAME): New macro.
15252         * string/test-memchr.c (TEST_NAME): Likewise.
15253         * string/test-memcmp.c (TEST_NAME): Likewise.
15254         * string/test-memcpy.c (TEST_NAME): Likewise.
15255         * string/test-memmem.c (TEST_NAME): Likewise.
15256         * string/test-memmove.c (TEST_NAME): Likewise.
15257         * string/test-memset.c (TEST_NAME): Likewise.
15258         * string/test-rawmemchr.c (TEST_NAME): Likewise.
15259         * string/test-stpcpy.c (TEST_NAME): Likewise.
15260         * string/test-stpncpy.c (TEST_NAME): Likewise.
15261         * string/test-strcasecmp.c (TEST_NAME): Likewise.
15262         * string/test-strcasestr.c (TEST_NAME): Likewise.
15263         * string/test-strcat.c (TEST_NAME): Likewise.
15264         * string/test-strchr.c (TEST_NAME): Likewise.
15265         * string/test-strcmp.c(TEST_NAME): Likewise.
15266         * string/test-strcpy.c (TEST_NAME): Likewise.
15267         * string/test-strcspn.c (TEST_NAME): Likewise.
15268         * string/test-strlen.c (TEST_NAME): Likewise.
15269         * string/test-strncasecmp.c (TEST_NAME): Likewise.
15270         * string/test-strncmp.c (TEST_NAME): Likewise.
15271         * string/test-strncpy.c (TEST_NAME): Likewise.
15272         * string/test-strnlen.c (TEST_NAME): Likewise.
15273         * string/test-strpbrk.c (TEST_NAME): Likewise.
15274         * string/test-strrchr.c (TEST_NAME): Likewise.
15275         * string/test-strspn.c (TEST_NAME): Likewise.
15276         * string/test-strstr.c (TEST_NAME): Likewise.
15277         * string/test-bcopy-ifunc.c: New file.
15278         * string/test-bzero-ifunc.c: Likewise.
15279         * string/test-memccpy-ifunc.c: Likewise.
15280         * string/test-memchr-ifunc.c: Likewise.
15281         * string/test-memcmp-ifunc.c: Likewise.
15282         * string/test-memcpy-ifunc.c: Likewise.
15283         * string/test-memmem-ifunc.c: Likewise.
15284         * string/test-memmove-ifunc.c: Likewise.
15285         * string/test-mempcpy-ifunc.c: Likewise.
15286         * string/test-memset-ifunc.c: Likewise.
15287         * string/test-rawmemchr-ifunc.c: Likewise.
15288         * string/test-stpcpy-ifunc.c: Likewise.
15289         * string/test-stpncpy-ifunc.c: Likewise.
15290         * string/test-strcasecmp-ifunc.c: Likewise.
15291         * string/test-strcasestr-ifunc.c: Likewise.
15292         * string/test-strcat-ifunc.c: Likewise.
15293         * string/test-strchr-ifunc.c: Likewise.
15294         * string/test-strchrnul-ifunc.c: Likewise.
15295         * string/test-strcmp-ifunc.c: Likewise.
15296         * string/test-strcpy-ifunc.c: Likewise.
15297         * string/test-strcspn-ifunc.c: Likewise.
15298         * string/test-strlen-ifunc.c: Likewise.
15299         * string/test-strncasecmp-ifunc.c: Likewise.
15300         * string/test-strncat-ifunc.c: Likewise.
15301         * string/test-strncmp-ifunc.c: Likewise.
15302         * string/test-strncpy-ifunc.c: Likewise.
15303         * string/test-strnlen-ifunc.c: Likewise.
15304         * string/test-strpbrk-ifunc.c: Likewise.
15305         * string/test-strrchr-ifunc.c: Likewise.
15306         * string/test-strspn-ifunc.c: Likewise.
15307         * string/test-strstr-ifunc.c: Likewise.
15309         * debug/Makefile (tests-ifunc): New variable.
15310         (tests): Add $(tests-ifunc).
15311         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15312         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15313         * debug/test-stpcpy_chk-ifunc.c: New file.
15314         * debug/test-strcpy_chk-ifunc.c: Likewise.
15316 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15318         [BZ #13601]
15319         * elf/dl-load.c (open_verify): Retry read if the entire ELF
15320         header is not read in.
15322 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
15324         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
15325         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
15326         directly.  Pass built executable to script as
15327         $(built-program-cmd).
15328         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
15329         $testprogram without using LD_LIBRARY_PATH and $ldso.
15331         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15332         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15333         $(rtld-installed-name).
15334         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15335         (rtld_installed_name): Likewise.
15336         (library_path): Likewise.
15337         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
15338         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15339         $(run-program-prefix) to tst-tables.sh.
15340         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
15341         it to run tst-table-from and tst-table-to.
15342         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15343         Pass it to tst-table.sh.
15344         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15345         $(run-program-prefix) to tst-gettext.sh.
15346         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15347         tst-translit.sh.
15348         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15349         tst-gettext2.sh.
15350         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
15351         to run tst-gettext.
15352         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
15353         to run tst-gettext2.
15354         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
15355         to run tst-translit.
15356         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15357         $(run-program-prefix) to tst-mtrace.sh.
15358         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
15359         to run tst-mtrace.
15360         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15361         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15362         $(rtld-installed-name).
15363         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15364         (rtld_installed_name): Likewise.
15365         (run_program_prefix): New variable.  Use it to run wordexp-test.
15367         * Makeconfig (ARCH): Remove all definitions.
15368         (machine): Likewise.
15369         [ARCH]: Remove conditional code.
15370         [!objdir]: Give error.
15371         [!objdir] (objpfx): Remove.
15372         [!objdir] (common-objpfx): Likewise.
15373         [!objdir] (common-objdir): Likewise.
15374         * configure.in (config_makefile): Remove.  Hardcode Makefile in
15375         AC_CONFIG_FILES call.
15376         * configure: Regenerated.
15378         [BZ #13888]
15379         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15380         or TMPDIR.
15381         (testout): Likewise.
15383         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15384         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15385         $(rtld-installed-name).
15386         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15387         (rtld_installed_name): Likwise.
15388         (runit): Remove function.
15389         (run_getconf): New variable,  Use it for running getconf binary.
15391 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
15393         [BZ #14716]
15394         * string/test-memmem.c (check_result): New function.
15395         (do_one_test): Use it.
15396         (check1): New function.
15397         (test_main): Use it.
15399 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
15401         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15403 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
15405         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15406         (_G_LSEEK64): Likewise.
15407         (_G_MMAP64): Likewise.
15408         (_G_FSTAT64): Likewise.
15409         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15410         (_G_LSEEK64): Likewise.
15411         (_G_MMAP64): Likewise.
15412         (_G_FSTAT64): Likewise.
15413         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15414         unconditional.  Call __mmap64 directly.
15415         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15416         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
15417         __lseek64 directly.
15418         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15419         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
15420         __mmap64 directly.
15421         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15422         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15423         __lseek64 directly.
15424         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15425         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15426         __lseek64 directly.
15427         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15428         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15429         __lseek64 directly.
15430         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15431         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15432         __fxstat64 directly.
15433         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15434         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15435         unconditional.
15436         (freopen64) [!_G_OPEN64]: Remove conditional code.
15437         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15438         unconditional.
15439         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15440         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15441         unconditional.
15442         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15443         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15444         unconditional.
15445         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15446         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15447         unconditional.
15448         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15449         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15450         unconditional.
15451         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15452         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15453         unconditional.
15454         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15455         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15456         unconditional.
15457         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15459 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15461         [BZ #12140]
15462         * manual/memory.texi (Malloc Tunable Parameters): Add note
15463         about free list pointers overwriting some perturb bytes.
15464         Wording suggested by Roland McGrath.
15466 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15468         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15469         (lgamma_test): Likewise.
15470         (tgamma_test): Likewise.
15472 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15474         [BZ #14700]
15475         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15476         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15478 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15480         * NEWS: Mention BZ #14716.
15481         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15482         when removing AVAILABLE1_USES_J macro.
15484 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15486         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15487         (__bswap_64): __uint64_t for unsigned 64-bit int.
15489 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15491         * include/string.h (memmem): Declare libc hidden alias.
15492         * string/memmem.c (memmem): Define libc hidden alias.
15493         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15494         __read, __close instead of open, read, close.
15496 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15499         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15500         global and hidden.
15501         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15502         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15503         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15504         Likewise.
15505         (__rawmemchr_sse2): Likewise.
15506         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15507         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15508         (__strchr_sse2): Likewise.
15509         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15510         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15511         (__strcasecmp_sse2): Likewise.
15512         (__strncasecmp_sse2): Likewise.
15513         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15514         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15515         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15516         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15517         (__strrchr_sse2): Likewise.
15518         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15519         ifunc-impl-list.c.
15520         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15521         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15522         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15523         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15524         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15525         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15526         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15527         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15528         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15529         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15530         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15531         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15532         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15533         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15534         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15535         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15536         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15537         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15538         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15539         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15540         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15541         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15542         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15543         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15544         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15545         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15546         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15547         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15548         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15549         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15551         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15552         global and hidden.
15553         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15554         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15555         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15556         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15557         Likewise.
15558         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15559         Likewise.
15560         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15561         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15562         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15563         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15564         ifunc-impl-list.c.
15565         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15566         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15567         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15568         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15569         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15570         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15571         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15572         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15573         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15574         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15575         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15576         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15577         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15578         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15579         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15580         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15581         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15582         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15583         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15584         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15585         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15586         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15587         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15588         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15589         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15590         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15591         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15592         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15593         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15594         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15595         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15596         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15597         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15598         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15599         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15600         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15601         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15602         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15603         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15604         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15605         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15607         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15608         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15609         * include/ifunc-impl-list.h: New file.
15610         * misc/ifunc-impl-list.c: Likewise.
15611         * misc/Makefile (routines): Add ifunc-impl-list.
15612         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15613         * string/test-string.h: Include <ifunc-impl-list.h>.
15614         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15615         impl_array): New variables.
15616         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15617         are defined.
15618         (test_init): Call __libc_ifunc_impl_list to initialize
15619         func_list if TEST_IFUNC and TEST_NAME are defined.
15621         * string/Makefile (strop-tests): Add bcopy and bzero.
15622         * string/test-bcopy.c: New file.
15623         * string/test-bzero.c: Likewise.
15624         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15625         defined.
15626         * string/test-memset.c: Support bzero test if TEST_BZERO is
15627         defined.
15628         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15629         __libc_memmove.
15630         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15631         __libc_memset.
15632         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15633         of memset.
15635 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15637         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15638         * configure: Regenerated.
15640         * Makeconfig (+link-static-before-libc): Don't include
15641         $(link-static-libc).
15643         * libio/libio.h (_IO_pos_t): Remove.
15645 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15647         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15648         McGrath.
15650 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15652         * crypt/crypt-entry.c: Include fips-private.h.
15653         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15654         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15655         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15656         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15658 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15660         * crypt/crypt-private.h: Include stdbool.h.
15661         (_ufc_setup_salt_r): Return bool.
15662         * crypt/crypt-entry.c: Include errno.h.
15663         (__crypt_r): Return NULL with EINVAL for bad salt.
15664         * crypt/crypt_util.c (bad_for_salt): New.
15665         (_ufc_setup_salt_r): Check that salt is long enough and within
15666         the specified alphabet.
15667         * crypt/badsalttest.c: New file.
15668         * crypt/Makefile (tests): Add it.
15669         ($(objpfx)badsalttest): New.
15671 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15673         * NEWS: Add entry for BZ #14602.
15675 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15677         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15678         type-generic.
15679         * math/libm-test.inc: Update comment listing what functions and
15680         macros are tested.
15681         (isgreater_test): New function.
15682         (isgreaterequal_test): Likewise.
15683         (isless_test): Likewise.
15684         (islessequal_test): Likewise.
15685         (islessgreater_test): Likewise.
15686         (isunordered_test): Likewise.
15687         (main): Call the new functions.
15689 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15691         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15692         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15693         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15694         * sysdeps/i386/configure: Regenerated.
15695         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15696         * sysdeps/mach/configure: Regenerated.
15697         * sysdeps/mach/hurd/configure: Regenerated.
15698         * sysdeps/powerpc/configure: Regenerated.
15699         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15700         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15701         * sysdeps/s390/s390-32/configure: Regenerated.
15702         * sysdeps/s390/s390-64/configure: Regenerated.
15703         * sysdeps/sh/configure: Regenerated.
15704         * sysdeps/sparc/configure: Regenerated.
15705         * sysdeps/unix/sysv/linux/configure: Regenerated.
15706         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15707         * sysdeps/x86_64/configure: Regenerated.
15709         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15710         defined.  Don't check if MAP is NULL.
15712 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15714         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15715         (_G_stat64): Likewise.
15716         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15717         (_G_stat64): Likewise.
15718         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15719         instead of struct _G_stat64.
15720         * libio/fileops.c (mmap_remap_check): Likewise.
15721         (decide_maybe_mmap): Likewise.
15722         (_IO_new_file_seekoff): Likewise.
15723         (_IO_file_stat): Likewise.
15724         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15725         _G_off64_t.
15726         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15727         instead of struct _G_stat64.
15728         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15730 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15732         [BZ #14602]
15733         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15734         Replace with ...
15735         (CHECK_EOL): New macro.
15736         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15737         CHECK_EOL.
15738         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15739         Replace with CHECK_EOL.
15740         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15741         Replace with CHECK_EOL.
15743 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15745         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15746         type-generic.
15747         * math/libm-test.inc: Update comment listing what functions and
15748         macros are tested.
15749         (finite_test): New function.
15750         (isinf_test): Likewise.
15751         (isnan_test): Likewise.
15752         (fpclassify_test): Test subnormal input.
15753         (isfinite_test): Likewise.
15754         (isnormal_test): Likewise.
15755         (main): Call the new functions.
15757 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15759         [BZ #14660]
15760         * Makerules (%.dynsym): Force C locale when running
15761         $(OBJDUMP) --dynamic-syms.
15763 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15765         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15766         <stdint.h>.
15768 2012-10-06  David S. Miller  <davem@davemloft.net>
15770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15771         upper 32-bits of the length value in %o2 since we use branch-on-register
15772         tests which consider the entire 64-bit register.
15774 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15776         * string/test-strstr.c (check2): Add a test for page boundary.
15778 2012-10-05  David S. Miller  <davem@davemloft.net>
15780         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15781         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15782         file.
15783         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15784         sysdep_routines.
15785         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15786         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15787         and bzero when HWCAP_SPARC_CRYPTO is present.
15789 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15791         [BZ #14602]
15792         * string/test-strstr.c (check2): New function.
15793         (test_main): Call check2.
15795         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15796         and bug-strchr1.
15797         * string/bug-strcasestr1.c (do_test): Moved to ...
15798         * string/test-strcasestr.c (check1): Here.  New function.
15799         (do_one_test): Break out result checking code into ...
15800         (check_result): This.  New function.
15801         (do_one_test): Call check_result.
15802         (test_main): Call check1.
15803         * string/bug-strchr1.c (do_test): Moved to ...
15804         * string/test-strchr.c (check1): Here.  New function.
15805         (do_one_test): Break out result checking code into ...
15806         (check_result): This.  New function.
15807         (do_one_test): Call check_result.
15808         (test_main): Call check1.
15809         * string/bug-strstr1.c (main): Moved to ...
15810         * string/test-strstr.c (check1): Here.  New function.
15811         (do_one_test): Break out result checking code into ...
15812         (check_result): This.  New function.
15813         (do_one_test): Call check_result.
15814         (test_main): Call check1.
15815         * string/bug-strcasestr1.c: Removed.
15816         * string/bug-strchr1.c: Likewise.
15817         * string/bug-strstr1.c: Likewise.
15819         * elf/Makefile (dl-routines): Add hwcaps.
15820         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15821         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15822         (_dl_important_hwcaps): Moved to ...
15823         * elf/dl-hwcaps.c: Here.  New file.
15824         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15826         [BZ #14557]
15827         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15828         if IS_IN_rtld isn't defined.
15830         * elf/dl-support.c (_dl_sysinfo_map): New.
15831         Include "get-dynamic-info.h" and "setup-vdso.h".
15832         (_dl_non_dynamic_init): Call setup_vdso.
15833         * elf/dynamic-link.h: Don't include <assert.h>.
15834         (elf_get_dynamic_info): Moved to ...
15835         * elf/get-dynamic-info.h: Here.  New file.
15836         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15837         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15838         * elf/setup-vdso.h: Here.  New file.
15839         * elf/rtld.c: Include "setup-vdso.h".
15840         (dl_main): Call setup_vdso.
15842 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15844         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15845         creal in comment listing functions tested.  List finite, isinf,
15846         isnan, isless, islessequal, isgreater, isgreaterequal,
15847         islessgreater, isunordered, lgamma_r and pow10 as functions and
15848         macros not tested.  Mention which functions not tested are aliases
15849         for other functions.  Fix typo.  Note that signs of NaNs are not
15850         tested.
15852         * scripts/config.guess: Update from config.git.
15853         * scripts/config.sub: Likewise.
15855 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15857         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15858         * misc/madvise.c (madvise): Renamed to __madvise.
15859         Make madvise a weak alias.
15860         * include/sys/mman.h: Declare __madvise.
15861         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15862         * sysdeps/unix/syscalls.list
15863         (madvise): Make __madvise the strong name, and madvise a weak alias.
15864         * sysdeps/unix/sysv/linux/syscalls.list
15865         (madvise, mmap): Remove redundant entries.
15866         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15867         * malloc/malloc.c (mtrim): Likewise.
15868         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15870 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15872         * sysdeps/mach/hurd/dl-cache.c: File removed.
15873         * config.h.in (USE_LDCONFIG): New #undef.
15874         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15875         * configure: Regenerated.
15876         * elf/Makefile (dl-routines): Add dl-cache only under
15877         [$(use-ldconfig) = yes].
15878         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15879         cache on [USE_LDCONFIG].
15880         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15881         [USE_LDCONFIG].
15882         * elf/rtld.c (dl_main): Likewise.
15884 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15886         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15887         _SC_LEVEL4_CACHE_LINESIZE.
15889 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15891         * sysdeps/unix/bsd/confstr.h: File removed.
15893 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15895         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15896         sys/sdt-config.h.
15898 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15900         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15901         Make 'mapoff' field ElfW(Off) rather than off_t.
15903 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15905         * nscd/Makefile: Remove nscd-cflags and all its users.
15906         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15907         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15909         [BZ #10631]
15910         * malloc.c (malloc_printerr): Clarify error message.
15912 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15914         [BZ #14648]
15915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15916         Set bit_FMA_Usable if FMA is supported.
15917         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15918         macro.
15919         (bit_FMA4_Usable): Updated.
15920         (index_FMA_Usable): New macro.
15921         (CPUID_FMA): Likewise
15922         (HAS_FMA): Defined with bit_FMA_Usable.
15924 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15926         * bits/types.h (__swblk_t): Type removed.
15927         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15928         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15929         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15930         (__SWBLK_T_TYPE): Likewise.
15931         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15932         (__SWBLK_T_TYPE): Likewise.
15933         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15934         (__SWBLK_T_TYPE): Likewise.
15935         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15936         (__SWBLK_T_TYPE): Likewise.
15938 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15939             Honza Horak <hhorak@redhat.com>
15941         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15942         (xdr_mapname): Use YPMAXMAP as maxsize.
15943         (xdr_peername): Use YPMAXPEER as maxsize.
15944         (xdr_keydat): Use YPAXRECORD as maxsize.
15945         (xdr_valdat): Use YPMAXRECORD as maxsize.
15947 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15949         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15951         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15952         * csu/init-first.c: ... here.
15953         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15954         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15955         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15956         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15957         * sysdeps/i386/init-first.c: File removed.
15958         * sysdeps/sh/init-first.c: File removed.
15960 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15962         [BZ #14645]
15963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15964         if x * y might underflow to zero and z is zero.
15965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15966         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15967         * math/libm-test.inc (min_subnorm_value): New variable.
15968         (fma_test): Add more tests.
15969         (fma_test_towardzero): Likewise.
15970         (fma_test_downward): Likewise
15971         (fma_test_upward): Likewise.
15972         (initialize): Set min_subnorm_value.
15974 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15976         [BZ #14638]
15977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15978         0 + 0.
15979         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15980         mode for addition resulting in exact zero.
15981         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15982         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15983         exact 0 + 0.
15984         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15985         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15986         * math/libm-test.inc (fma_test): Add more tests.
15987         (fma_test_towardzero): New function.
15988         (fma_test_downward): Likewise.
15989         (fma_test_upward): Likewise.
15990         (main): Call the new functions.
15992 2012-09-28  David S. Miller  <davem@davemloft.net>
15994         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15996 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15998         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15999         instead of SIGALRM.
16001         * sysdeps/gnu/_G_config.h: Moved to ...
16002         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16003         * sysdeps/mach/hurd/_G_config.h: Moved to ...
16004         * sysdeps/generic/_G_config.h: ... here.
16006         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
16008         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16010         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16011         Conditionalize target on [libnss_test1.so-version].
16013         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16015         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16016         (elfobjdir): Move out of conditionals.
16018         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16019         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16020         (__nss_lookup_function): Conditionalize label remove_from_tree on
16021         [!DO_STATIC_NSS || SHARED], matching its only use.
16023 2012-09-28  David S. Miller  <davem@davemloft.net>
16025         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16026         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16027         file.
16028         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16029         sysdep_routines.
16030         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16032         when HWCAP_SPARC_CRYPTO is present.
16034 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16036         * io/tst-mknodat.c: Create a FIFO instead of a socket.
16038 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16040         [BZ #6530]
16041         * stdio-common/vfprintf.c (process_string_arg): Revert
16042         2000-07-22 change.
16044 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
16046         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16047         for testcase.
16048         * stdio-common/tst-sprintf.c: Include <locale.h>
16049         (main): Test sprintf's handling of incomplete multibyte
16050         characters.
16052 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
16054         * elf/dl-runtime.c (VERSYMIDX): Removed.
16055         * elf/dl-version.c (VERSYMIDX): Likewise.
16056         * elf/do-rel.h (VERSYMIDX): Likewise.
16057         (VALIDX): Likewise.
16058         * elf/dynamic-link.h (VERSYMIDX): Likewise.
16059         * elf/rtld.c (VALIDX): Likewise.
16060         (ADDRIDX): Likewise.
16061         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16062         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16063         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16064         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16065         (VALIDX): Likewise.
16066         (ADDRIDX): Likewise.
16068 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16070         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16072 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
16074         [BZ #11438]
16075         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16076         to global scope.
16077         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16078         addresses are in the same scope as 192.0.2/24.
16079         * posix/gai.conf: Document new scope table defaults.
16081 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16083         [BZ #5298]
16084         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16085         for ftell.  Compute offsets from write pointers instead.
16086         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16088 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16090         [BZ #14543]
16091         * libio/Makefile (tests): New test case tst-fseek.
16092         * libio/tst-fseek.c: New test case to verify that fseek/ftell
16093         combination works in wide mode.
16094         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16095         state when the external buffer state changes.
16097 2012-09-27  David S. Miller  <davem@davemloft.net>
16099         [BZ #14376]
16100         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16101         pass reloc->r_addend in as the 'high' argument to
16102         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16106 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16108         * rt/tst-aio2.c: Include <pthread.h>.
16109         * rt/tst-aio3.c: Likewise.
16111 2012-09-27  Steve Ellcey  <sellcey@mips.com>
16113         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16115 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
16117         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16118         contents on [SHARED].
16120 2012-09-26  Marek Polacek  <polacek@redhat.com>
16122         [BZ #14530]
16123         [BZ #13741]
16124         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16125         for C++ and GCC <4.3 as well as for non GCC compilers.
16127 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16131 2012-09-25  Roland McGrath  <roland@hack.frob.com>
16133         * Makefile.in (all, install): Declare with .PHONY.
16134         Reported by Michael Hope <michael.hope@linaro.org>.
16136 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16138         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16139         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16140         system header.
16141         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16142         Likewise.
16143         (sydep_routines): Add the new and the internal functions.
16144         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16145         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16147         (GLIBC_2.17): Add the new function.
16148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16149         (GLIBC_2.17): Likewise.
16150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16151         (GLIBC_2.17): Likewise.
16152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16153         (GLIBC_2.17): Likewise.
16154         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16156 2012-09-25  Alan Modra  <amodra@gmail.com>
16158         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16159         Add release barrier before setting once_control to say
16160         initialisation is done.  Add hints on lwarx.  Use macro in
16161         place of isync.
16162         (clear_once_control): Add release barrier.
16164 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16166         [BZ #13629]
16167         * math/s_clog.c (__clog): Handle more values close to |z| = 1
16168         specially.
16169         * math/s_clog10.c (__clog10): Likewise.
16170         * math/s_clog10f.c (__clog10f): Likewise.
16171         * math/s_clog10l.c (__clog10l): Likewise.
16172         * math/s_clogf.c (__clogf): Likewise.
16173         * math/s_clogl.c (__clogl): Likewise.
16174         * math/Makefile (libm-calls): Add x2y2m1.
16175         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16176         (__x2y2m1): Likewise.
16177         (__x2y2m1l): Likewise.
16178         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16179         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16180         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16181         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16182         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16183         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16184         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16185         * sysdeps/i386/fpu/libm-test-ulps: Update.
16186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16188         [BZ #14621]
16189         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16190         int as type of variable DEPTH.
16191         (glob): Use size_t instead of int as type of variables NEWCOUNT
16192         and OLD_PATHC.
16194 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16196         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16197         Add s_sincosf-sse2.
16198         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16199         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16200         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16201         macros for using routine as __sincosf_ia32.
16202         Use macro for function declaration and weak_alias.
16203         * sysdeps/i386/fpu/libm-test-ulps: Update.
16205         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16208         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16209         subnormal argument.
16210         * math/s_cexpf.c (__cexpf): Likewise.
16211         * math/s_csinf.c (__csinf): Likewise.
16212         * math/s_csinhf.c (__csinhf): Likewise.
16213         * math/s_ctanf.c (__ctanf): Likewise.
16214         * math/s_ctanhf.c (__ctanhf): Likewise.
16215         * math/s_ccosh.c (__ccoshf): Likewise.
16216         * math/s_cexp.c (__cexpl): Likewise.
16217         * math/s_csin.c (__csin): Likewise.
16218         * math/s_csinh.c (__csinh): Likewise.
16219         * math/s_ctan.c (__ctan): Likewise.
16220         * math/s_ctanh.c (ctanh): Likewise.
16221         * math/s_ccoshl.c (__ccoshl): Likewise.
16222         * math/s_cexpl.c (__cexpl): Likewise.
16223         * math/s_csinl.c (__csinl): Likewise.
16224         * math/s_csinhl.c (__csinhl): Likewise.
16225         * math/s_ctanl.c (__ctanl): Likewise.
16226         * math/s_ctanhl.c (__ctanhl): Likewise.
16228 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16230         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16231         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16232         (_IO_off_t): Define to __off_t, not _G_off_t.
16233         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16234         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16235         (_IO_wint_t): Define to wint_t, not _G_wint_t.
16236         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16237         type of __dummy and __dummy2 fields.
16238         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16239         (_G_ssize_t): Likewise.
16240         (_G_off_t): Likewise.
16241         (_G_pid_t): Likewise.
16242         (_G_uid_t): Likewise.
16243         (_G_wchar_t): Likewise.
16244         (_G_wint_t): Likewise.
16245         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16246         (_G_ssize_t): Likewise.
16247         (_G_off_t): Likewise.
16248         (_G_pid_t): Likewise.
16249         (_G_uid_t): Likewise.
16250         (_G_wchar_t): Likewise.
16251         (_G_wint_t): Likewise.
16252         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16253         (_G_ssize_t): Likewise.
16254         (_G_off_t): Likewise.
16255         (_G_pid_t): Likewise.
16256         (_G_uid_t): Likewise.
16257         (_G_wchar_t): Likewise.
16258         (_G_wint_t): Likewise.
16260 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16262         * malloc/arena.c: Include malloc-sysdep.h.
16263         (shrink_heap): Use check_may_shrink_heap to decide if madvise
16264         is sufficient to shrink the heap or an unmap is needed.
16265         * sysdeps/generic/malloc-sysdep.h: New file.  Define
16266         new function check_may_shrink_heap.
16267         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
16268         new function check_may_shrink_heap.
16270 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16272         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16273         comments.
16275 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
16277         * catgets/test-gencat.sh: Add "set -e".
16278         * elf/tst-pathopt.sh: Likewise.
16279         * grp/tst_fgetgrent.sh: Likewise.
16280         * iconvdata/run-iconv-test.sh: Likewise.
16281         * intl/tst-gettext.sh: Likewise.
16282         * intl/tst-gettext2.sh: Likewise.
16283         * intl/tst-gettext4.sh: Likewise.
16284         * intl/tst-gettext6.sh: Likewise.
16285         * intl/tst-translit.sh: Likewise.
16286         * io/ftwtest-sh: Likewise.
16287         * libio/test-freopen.sh: Likewise.
16288         * malloc/tst-mtrace.sh: Likewise.
16289         * posix/globtest.sh: Likewise.
16290         * posix/tst-getconf.sh: Likewise.
16291         * posix/wordexp-tst.sh: Likewise.
16292         * stdio-common/tst-printf.sh: Likewise.
16293         * stdio-common/tst-unbputc.sh: Likewise.
16294         * stdlib/tst-fmtmsg.sh: Likewise.
16295         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16296         * catgets/Makefile: Do not specify -e option when running
16297         testsuite shell scripts.
16298         * elf/Makefile: Likewise.
16299         * grp/Makefile: Likewise.
16300         * iconvdata/Makefile: Likewise.
16301         * intl/Makefile: Likewise.
16302         * io/Makefile: Likewise.
16303         * libio/Makefile: Likewise.
16304         * malloc/Makefile: Likewise.
16305         * posix/Makefile: Likewise.
16306         * stdio-common/Makefile: Likewise.
16307         * stdlib/Makefile: Likewise.
16308         * sysdeps/x86_64/Makefile: Likewise.
16310         * io/ftwtest-sh: Add copyright header.
16311         * posix/globtest.sh: Likewise.
16312         * posix/tst-getconf.sh: Likewise.
16313         * posix/wordexp-tst.sh: Likewise.
16314         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16316 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
16318         [BZ #13679]
16319         * Makeconfig (+link): Defined as $(+link-static) if
16320         $(build-shared) isn't yes.
16321         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16322         isn't yes.
16323         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16325         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16327         [BZ #14562]
16328         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16329         new chunk size with MALLOC_ALIGN_MASK.
16331 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
16333         [BZ #5044]
16334         * stdio-common/printf_fphex.c: Include <stdbool.h> and
16335         <rounding-mode.h>.
16336         (__printf_fphex): Determine rounding using get_rounding_mode and
16337         round_away.
16338         * stdio-common/tst-printf-round.c (struct hex_test): New
16339         structure.
16340         (hex_tests): New variable.
16341         (test_hex_in_one_mode): New function.
16342         (do_test): Also run tests for hex float output.
16344 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
16346         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16347         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16348         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16349         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16350         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16351         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16352         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16353         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16355 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
16357         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16358         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16359         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16360         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16362 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
16364         [BZ #14579]
16365         * elf/rtld.c (dl_main): Limit the check for self loading to normal
16366         mode only.
16367         * elf/tst-rtld-load-self.sh: New test.
16368         * elf/Makefile: Run it.
16370 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
16372         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16373         (tst-writev-ENV): Remove.
16374         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16376 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
16378         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16380 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
16382         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16383         unconditional.
16384         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16385         Likewise.
16386         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16387         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16388         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16389         Likewise.
16391 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
16393         [BZ #14587]
16394         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16395         * config.make.in (have-cpp-asm-debuginfo): Removed.
16396         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16397         * configure: Regenerated.
16399 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
16401         [BZ #5044]
16402         * stdio-common/printf_fp.c: Include <stdbool.h> and
16403         <rounding-mode.h>.
16404         (___printf_fp): Determine rounding using get_rounding_mode and
16405         round_away.
16406         * stdio-common/tst-printf-round.c: New file.
16407         * stdio-common/Makefile (tests): Add tst-printf-round.
16408         (link-libm): New variable.
16409         ($(objpfx)tst-printf-round): Depend in $(link-libm).
16411 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
16413         [BZ #14576]
16414         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16415         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16416         Likewise.
16417         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16418         Likewise.
16420 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
16422         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16423         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16424         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16425         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16427 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16429         [BZ #14518]
16430         * include/rounding-mode.h: New file.
16431         * sysdeps/generic/get-rounding-mode.h: Likewise.
16432         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16433         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16434         (MAX_VALUE): New macro.
16435         (MIN_VALUE): Likewise.
16436         (overflow_value): New function.
16437         (underflow_value): Likewise.
16438         (round_and_return): Use overflow_value and underflow_value to
16439         determine return values in overflow and underflow cases.  Use
16440         round_away to determine rounding depending on rounding mode.
16441         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16442         determine return values in overflow and underflow cases.
16443         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16444         (struct test_results): New structure.
16445         (struct test): Use struct test_results to store expected results
16446         for all rounding modes.
16447         (TEST): Include expected results for all rounding modes.
16448         (test_in_one_mode): New function.
16449         (do_test): Use test_in_one_mode to compute and check results.
16450         Check results for all rounding modes.
16451         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16452         $(link-libm).
16454 2012-12-09  Allan McRae  <allan@archlinux.org>
16456         * sysdeps/i386/fpu/libm-test-ulps: Update
16458 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16460         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16461         (_G_int32_t): Likewise.
16462         (_G_uint16_t): Likewise.
16463         (_G_uint32_t): Likewise.
16464         (_G_HAVE_BOOL): Likewise.
16465         (_G_HAVE_ATEXIT): Likewise.
16466         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16467         (_G_HAVE_IO_FILE_OPEN): Likewise.
16468         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16469         (_G_int32_t): Likewise.
16470         (_G_uint16_t): Likewise.
16471         (_G_uint32_t): Likewise.
16472         (_G_HAVE_BOOL): Likewise.
16473         (_G_HAVE_ATEXIT): Likewise.
16474         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16475         (_G_HAVE_IO_FILE_OPEN): Likewise.
16476         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16477         (_G_int32_t): Likewise.
16478         (_G_uint16_t): Likewise.
16479         (_G_uint32_t): Likewise.
16480         (_G_HAVE_BOOL): Likewise.
16481         (_G_HAVE_ATEXIT): Likewise.
16482         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16483         (_G_HAVE_IO_FILE_OPEN): Likewise.
16485 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16487         * csu/libc-tls.c: Update copyright years.
16489 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16491         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16492         [!_G_USING_THUNKS]: Remove conditional code.
16493         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16494         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16496         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16497         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16498         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16499         (_G_VTABLE_LABEL_PREFIX): Likewise.
16500         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16501         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16502         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16503         (_G_VTABLE_LABEL_PREFIX): Likewise.
16504         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16505         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16506         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16507         (_G_VTABLE_LABEL_PREFIX): Likewise.
16508         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16510 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16512         * libio/Makefile: Include ../Makeconfig before tests.
16513         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16514         only if $(build-shared) is yes.
16516         * iconv/gconv_db.c: Update copyright years.
16518 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16520         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16521         unwind info if defined PIC. Fix special cases description.
16522         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16524         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16525         DP_HI_MASK entry.
16526         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16528 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16530         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16532         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16533         is NULL.
16535         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16536         (LDLIBS-tst-chk4): This.
16537         (LDFLAGS-tst-chk5): Renamed to ...
16538         (LDLIBS-tst-chk5): This.
16539         (LDFLAGS-tst-chk6): Renamed to ...
16540         (LDLIBS-tst-chk6): This.
16541         (LDFLAGS-tst-lfschk4): Renamed to ...
16542         (LDLIBS-tst-lfschk4): This.
16543         (LDFLAGS-tst-lfschk5): Renamed to ...
16544         (LDLIBS-tst-lfschk5): This.
16545         (LDFLAGS-tst-lfschk6): Renamed to ...
16546         (LDLIBS-tst-lfschk6): This.
16548         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16549         on $(common-objpfx)soversions.mk.
16551 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16553         [BZ #10014]
16554         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16555         example host name.
16557 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16559         * malloc/arena.c (arena_get_retry): New function that gets
16560         another arena for the caller to try its request on.
16561         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16562         current arena cannot fulfill the request.
16563         (__libc_memalign): Likewise.
16564         (__libc_memalign): Likewise.
16565         (__libc_pvalloc): Likewise.
16566         (__libc_calloc): Likewise.
16568 2012-09-05  John Tobey  <john.tobey@gmail.com>
16570         [BZ #13542]
16571         * manual/arith.texi (Operations on Complex): Fix description
16572         of carg branch cut.
16574 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16576         [BZ #10014]
16577         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16578         host name.
16580         [BZ #10038]
16581         * manual/memory.texi (Memory): Make order of menu items match
16582         order of sections.
16584 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16586         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16587         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16588         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16590 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16592         * csu/libc-tls.c (static_dtv): Renamed to ...
16593         (_dl_static_dtv): This.  Make it global.
16594         (_dl_initial_dtv): Removed.
16595         (__libc_setup_tls): Updated.
16596         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16597         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16598         DL_INITIAL_DTV.
16600 2012-09-06  Petr Machata  <pmachata@redhat.com>
16602         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16603         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16604         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16605         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16607 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16609         [BZ #14545]
16610         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16611         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16612         freeing dtv[-1].
16614 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16616         [BZ #14544]
16617         * Makeconfig (link-static-before-libc): Replace $(+prector)
16618         with $(+prectorT).
16619         (link-static-after-libc): Replace $(+postctor) with
16620         $(+postctorT).
16621         (link-bounded): Replace $(+prector)/$(+postctor) with
16622         $(+prectorT)/$(+postctorT).
16623         (+prectorT): New macro.
16624         (+postctorT): Likewise.
16626 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16628         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16629         (round_str): Handle values above the maximum for IBM long double
16630         as inexact.
16631         * stdlib/tst-strtod-round.c (tests): Regenerated.
16633 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16635         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16636         assembler flag.
16637         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16638         zarch_nohighgprs around the zarch optimized routines.
16639         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16640         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16641         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16642         for zarch.
16644 2012-09-05  David S. Miller  <davem@davemloft.net>
16646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16648         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16649         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16650         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16651         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16652         entries.
16654 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16656         * malloc/arena.c: Fold copyright years.
16657         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16659 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16661         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16663 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16665         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16667 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16669         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16670         change internal state upon failure.
16672 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16674         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16675         * malloc/memusage.c (mmap): Likewise.
16676         (mmap64, mremap): Likewise.  Adjust name in comment.
16678 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16680         * libio/fileops.c: Fix typos in comments.
16681         * libio/oldfileops.c: Likewise.
16682         * libio/wfileops.c: Likewise.
16684 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16686         [BZ #1349]
16687         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16688         (tst-malloc-usable-ENV): Set environment for test case.
16689         * malloc/hooks.c (malloc_check_get_size): New function to get
16690         requested size.
16691         * malloc/malloc.c (musable): Use malloc_check_get_size.
16692         * malloc/tst-malloc-usable.c: New test case.
16694 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16696         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16698 2012-09-05  Allan McRae  <allan@archlinux.org>
16700         [BZ #13966]
16701         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16702         determine header location.
16703         * configure: Regenerated.
16705 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16707         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16708         float format.
16709         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16710         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16711         format.
16712         (test): Regenerate.
16714 2012-09-04  David S. Miller  <davem@davemloft.net>
16716         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16717         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16718         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16720 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16722         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16723         failures.
16725         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16727 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16729         [BZ #9914]
16730         * libio/iogetdelim.c: Include <limits.h>.
16731         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16732         + len + 1 would overflow.
16734 2012-09-03  Andreas Jaeger  <aj@suse.de>
16736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16737         * sysdeps/i386/fpu/libm-test-ulps: Update.
16739 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16741         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16742         Add s_sinf-sse2, s_conf-sse2.
16744         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16745         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16746         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16747         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16749         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16750         for using routine as __sinf_ia32.
16751         Use macro for function declaration and weak_alias.
16752         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16753         for using routine as __cosf_ia32.
16754         Use macro for function declaration and weak_alias.
16756         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16757         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16759         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16760         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16763         * math/libm-test.inc (cos_test): Add more test cases.
16764         (sin_test): Likewise.
16765         (sincos_test): Likewise.
16767 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16769         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16770         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16771         hidden.
16772         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16774 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16776         [BZ #14538]
16777         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16778         first element of the GOT.
16779         (elf_machine_load_address): Return the difference between
16780         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16782 2012-09-01  Allan McRae  <allan@archlinux.org>
16784         [BZ #13412]
16785         * configure.in (AWK): Require gawk version 3.0 or later.
16786         * configure: Regenerated.
16788 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16790         * sysdeps/unix/sysv/linux/kernel-features.h
16791         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16792         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16793         [__NR_clock_getres]: Make code unconditional.
16794         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16795         (clock_getcpuclockid): Remove code left unreachable by removal of
16796         conditionals.
16797         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16798         code unconditional.
16799         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16800         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16801         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16802         Make code unconditional.
16803         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16804         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16805         * sysdeps/unix/sysv/linux/clock_settime.c
16806         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16807         conditional code.
16808         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16809         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16811 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16813         [BZ #14476]
16814         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16815         scripts/test-installation.pl.
16817         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16818         and $ld_so_version if it is set.
16820 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16822         [BZ #14516]
16823         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16824         failure if reading from procfs failed.
16825         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16827 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16829         * sysdeps/unix/sysv/linux/kernel-features.h
16830         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16831         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16832         Remove conditional code.
16833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16834         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16835         Remove conditional code.
16836         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16837         * sysdeps/unix/sysv/linux/i386/fxstat.c
16838         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16840         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16841         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16842         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16843         * sysdeps/unix/sysv/linux/i386/lxstat.c
16844         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16845         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16846         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16847         Remove conditional code.
16848         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16849         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16850         Remove conditional code.
16851         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16852         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16853         <kernel-features.h>.
16854         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16855         Remove.
16856         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16857         Remove conditional code.
16858         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16859         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16860         Remove conditional.
16862 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16864         [BZ #5400]
16865         * NEWS: Add fixed bug number.
16867 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16869         [BZ #14519]
16870         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16871         underflowing exponent in case of negative sign.
16872         * stdlib/tst-strtod-round-data: Add more tests.
16873         * stdlib/tst-strtod-round.c (tests): Regenerated.
16875         [BZ #3479]
16876         * stdlib/strtod_l.c (NDIG): Remove.
16877         (HEXNDIG): Likewise.
16878         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16879         smallest representable value.
16880         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16881         lie within an exact representation of 1/2 ulp of the result.
16882         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16883         unconditionally.
16884         (TENS_P9_IDX): Define unconditionally.
16885         (TENS_P9_SIZE): Likewise.
16886         (TENS_P10_IDX): Likewise.
16887         (TENS_P10_SIZE): Likewise.
16888         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16889         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16890         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16891         entries for 10^2^13 and 10^2^14.
16892         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16893         (TENS_P13_IDX): Define.
16894         (TENS_P13_SIZE): Likewise.
16895         (TENS_P14_IDX): Likewise.
16896         (TENS_P14_SIZE): Likewise.
16897         (_fpioconst_pow10): Change array size to
16898         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16899         unconditional.
16900         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16901         1024]: Add entries for 10^2^13 and 10^2^14.
16902         [LAST_POW10 > _LAST_POW10]: Remove #error.
16903         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16904         (_fpioconst_pow10): Change array size to
16905         FPIOCONST_POW10_ARRAY_SIZE.
16906         * stdlib/gen-fpioconst.c: New file.
16907         * stdlib/gen-tst-strtod-round.c: Likewise.
16908         * stdlib/tst-strtod-round-data: Likewise.
16909         * stdlib/tst-strtod-round.c: Likewise.
16910         * stdlib/Makefile (tests): Add tst-strtod-round.
16912         [BZ #14459]
16913         * stdlib/strtod_l.c: Include <stdint.h>.
16914         (NDEBUG): Do not define.
16915         (round_and_return): Change EXPONENT parameter to type intmax_t.
16916         Rearrange calculations to avoid internal overflow possibilities.
16917         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16918         Rearrange calculations to avoid internal overflow possibilities.
16919         Assert that number fits inside MPNSIZE limbs.
16920         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16921         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16922         calculations and add assertions to avoid internal overflow
16923         possibilities.  Add casts to avoid signed/unsigned operations.
16924         * stdlib/tst-strtod-overflow.c: New file.
16925         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16927 2012-08-25  Marek Polacek  <polacek@redhat.com>
16929         * time/time.h: Fix some typos in comments.
16931 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16933         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16934         * posix/tst-rfc3484-2.c: Likewise.
16935         * posix/tst-rfc3484-3.c: Likewise.
16937 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16939         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16940         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16942 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16944         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16945         #include of fxstatat64.c.
16947 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16949         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16950         * shadow/getspent_r.c: Likewise.
16951         * shadow/getspnam.c: Likewise.
16952         * shadow/getspnam_r.c: Likewise.
16953         * gshadow/getsgent.c: Likewise.
16954         * gshadow/getsgent_r.c: Likewise.
16955         * gshadow/getsgnam.c: Likewise.
16956         * gshadow/getsgnam_r.c: Likewise.
16957         * inet/getnetbyad.c: Likewise.
16958         * inet/getnetbyad_r.c: Likewise.
16959         * inet/getnetbynm.c: Likewise.
16960         * inet/getnetbynm_r.c: Likewise.
16961         * inet/getnetent.c: Likewise.
16962         * inet/getnetent_r.c: Likewise.
16963         * inet/getproto.c: Likewise.
16964         * inet/getproto_r.c: Likewise.
16965         * inet/getprtent.c: Likewise.
16966         * inet/getprtent_r.c: Likewise.
16967         * inet/getprtname.c: Likewise.
16968         * inet/getprtname_r.c: Likewise.
16969         * inet/getrpcbyname.c: Likewise.
16970         * inet/getrpcbyname_r.c: Likewise.
16971         * inet/getrpcbynumber.c: Likewise.
16972         * inet/getrpcbynumber_r.c: Likewise.
16973         * inet/getrpcent.c: Likewise.
16974         * inet/getrpcent_r.c: Likewise.
16975         * inet/getaliasent.c: Likewise.
16976         * inet/getaliasent_r.c: Likewise.
16977         * inet/getaliasname.c: Likewise.
16978         * inet/getaliasname_r.c: Likewise.
16979         * nscd/getgrgid_r.c: Likewise.
16980         * nscd/getgrnam_r.c: Likewise.
16981         * nscd/gethstbyad_r.c: Likewise.
16982         * nscd/gethstbynm3_r.c: Likewise.
16983         * nscd/getpwnam_r.c: Likewise.
16984         * nscd/getpwuid_r.c: Likewise.
16985         * nscd/getsrvbynm_r.c: Likewise.
16986         * nscd/getsrvbypt_r.c: Likewise.
16987         * nscd/gai.c: Likewise.
16989         * configure.in (build_nscd): New substituted variable, set
16990         by --disable-build-nscd and defaults to $use_nscd.
16991         * configure: Regenerated.
16992         * config.make.in (build-nscd): New substituted variable.
16993         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16994         Change conditional to require [$(build-nscd) = yes] as well.
16995         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16997         [BZ# 13696]
16998         * configure.in (use_nscd): New substituted variable, set by
16999         --disable-nscd.  If enabled, define USE_NSCD.
17000         * configure: Regenerated.
17001         * config.h.in: Add USE_NSCD.
17002         * config.make.in (use-nscd): New substituted variable.
17003         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17004         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17005         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17006         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17007         (CFLAGS-getgrnam_r.c): Likewise.
17008         (CFLAGS-initgroups.c): Likewise.
17009         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17010         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17011         Variables removed.
17012         * inet/getnetgrent_r.c
17013         (nscd_setnetgrent): New function, broken out of ...
17014         (setnetgrent): ... here.  Call it.
17015         (innetgr): Conditionalize nscd bits on [USE_NSCD].
17016         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17017         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17018         * nscd/Makefile (routines, aux): Move definitions after include of
17019         Makeconfig.  Conditionalize on [$(use-nscd) != no].
17020         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17021         Conditionalize on [USE_NSCD].
17022         (is_nscd, nscd_init_cb): Likewise.
17023         (nss_load_library): Conditionalize init callback on [USE_NSCD].
17024         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17025         * nss/nss_db/db-init.c: Likewise.
17026         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17027         [USE_NSCD].
17028         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17029         (make_request): Use it.
17030         (cache_valid_p): New function.
17031         (__check_pf): Use it.
17032         * NEWS: Add item for --disable-nscd.
17034 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
17036         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17037         to support sed >= 4.2.1-20-ga9bf076.
17038         * configure: Regenerated.
17040 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17042         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17043         Conditionalize whole body on [IREL].
17045 2012-08-22  Jeff Law <law@redhat.com>
17047         [BZ #14505]
17048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17049         if the family is PF_UNSPEC.
17051 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
17053         * Makerules (lib-version): Rename from V.
17054         (install-lib-nosubdir): Change V to lib-version.
17056 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
17058         [BZ #14252]
17059         * powerpc32/power6/wcschr.c: New file.
17060         * powerpc32/power6/wcscpy.c: New file.
17061         * powerpc32/power6/wcsrchr.c: New file.
17062         * powerpc64/power6/wcschr.c: New file.
17063         * powerpc64/power6/wcscpy.c: New file.
17064         * powerpc64/power6/wcsrchr.c: New file.
17066 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17068         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17069         (two_way_short_needle): Use it.
17070         * string/strstr.c (AVAILABLE1_USES_J): Define.
17071         * string/strcasestr.c: Likewise.
17073         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17074         array references.
17075         * string/strcasestr.c (TOLOWER): Make side-effect safe.
17077         [BZ #11607]
17078         * NEWS: Add an entry.
17079         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17080         define their defaults.
17081         (two_way_short_needle): Detect end-of-string on-the-fly.
17082         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17083         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17084         * string/bug-strcasestr1.c: New test.
17085         * string/Makefile: Run it.
17087 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17089         [BZ #11607]
17090         * string/str-two-way.h (two_way_short_needle): Optimize matching of
17091         the first character.
17093 2012-08-21  Roland McGrath  <roland@hack.frob.com>
17095         * csu/elf-init.c (__libc_csu_irel): Function removed.
17096         * csu/libc-start.c (apply_irel): New function.
17097         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17099 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
17101         * sysdeps/unix/sysv/linux/kernel-features.h
17102         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17103         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17104         <kernel-features.h>.
17105         [__NR_fadvise64_64]: Make code unconditional.
17106         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17107         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17108         !__NR_fadvise64_64)]: Likewise.
17109         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17110         !__NR_fadvise64_64))]: Likewise.
17111         [__NR_fadvise64]: Make code unconditional.
17112         [!__NR_fadvise64]: Remove conditional code.
17113         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17114         <kernel-features.h>.
17115         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17116         unconditional.
17117         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17118         conditional code.
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17120         not include <kernel-features.h>.
17121         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17122         unconditional.
17123         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17124         conditional code.
17125         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17126         include <kernel-features.h>.
17127         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17128         unconditional.
17129         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17130         conditional code.
17132 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17134         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17135         slight instruction rearrangements per scrollpipe analysis.
17136         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17138 2012-08-20  Roland McGrath  <roland@hack.frob.com>
17140         * manual/syslog.texi (syslog; vsyslog, closelog):
17141         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17142         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17144         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17145         DSOCAPS to match condition on defining it.
17147 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
17149         * sysdeps/unix/sysv/linux/kernel-features.h
17150         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17152         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17153         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17155         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17156         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17158         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17159         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17161         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17162         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17164         * sysdeps/unix/sysv/linux/kernel-features.h
17165         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17166         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17167         unconditional.
17168         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17169         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17170         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17171         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17172         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17173         Make code unconditional.
17174         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17175         (__mmap64) [!__NR_mmap2]: Likewise.
17176         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17177         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17178         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17179         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17180         [__NR_mmap2]: Make code unconditional.
17181         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17182         (__mmap64) [!__NR_mmap2]: Likewise.
17184 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17186         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17188 2012-08-18  Andreas Jaeger  <aj@suse.de>
17190         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17192 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17194         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17195         * include/unistd.h (__have_sock_cloexec): Likewise.
17196         (__have_pipe2): Likewise.
17197         (__have_dup3): Likewise.
17199 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17201         [BZ #9685]
17202         * include/unistd.h (__have_pipe2): Change define into an extern int.
17203         (__have_dup3): Likewise.
17204         * socket/have_sock_cloexec.c: Include fcntl.h.
17205         (__have_pipe2): New variable.
17206         (__have_dup3): Likewise.
17208 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
17210         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17212 2012-08-17  Marek Polacek  <polacek@redhat.com>
17214         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17215         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17217 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17219         * configure.in: Add AC_SUBST for sysheaders.
17220         * configure: Regenerated.
17221         * config.make.in (sysheaders): New substituted variable.
17223         * sysdeps/unix/mkfifo.c: Moved ...
17224         * sysdeps/posix/mkfifo.c: ... here.
17225         * sysdeps/unix/mkfifoat.c: Moved ...
17226         * sysdeps/posix/mkfifoat.c: ... here.
17228         * sysdeps/unix/utime.c: Moved ...
17229         * sysdeps/posix/utime.c: ... here.
17231         * sysdeps/unix/time.c: Moved ...
17232         * sysdeps/posix/time.c: ... here.
17233         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17234         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17236         * sysdeps/unix/nice.c: Moved ...
17237         * sysdeps/posix/nice.c: ... here.
17239         * sysdeps/unix/alarm.c: Moved ...
17240         * sysdeps/posix/alarm.c: ... here.
17242         * intl/Makefile ($(codeset_mo)): Depend on the input file.
17244 2012-08-17  Jeff Law <law@redhat.com>
17246         * intl/Makefile (codeset_mo): New variable.
17247         ($(codeset_mo)): New target.
17248         (tst-codeset.out): Depend on that.  Remove explicit rule.
17249         (tst-gettext3.out, tst-gettext5.out): Likewise.
17250         (LOCPATH-ENV, tst-codeset-ENV): New variables.
17251         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17252         * intl/tst-codeset.sh: Remove.
17253         * intl/tst-gettext3.sh: Likewise.
17254         * intl/tst-gettext5.sh: Likewise.
17256 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17258         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
17259         * sysdeps/unix/syscalls.list: ... here.
17261         * sysdeps/posix/getaddrinfo.c
17262         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17263         (gaiconf_init, gaiconf_reload): Use them.
17264         [!_STATBUF_ST_NSEC]
17265         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17266         Define using time_t rather than struct timespec.
17268         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17269         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17270         Macros removed.
17271         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17272         [!NO_THREADS].
17273         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17274         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17275         Likewise.
17277         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17278         __libc_cleanup_push argument.
17280         * bits/param.h: New file.
17281         * misc/sys/param.h: New file.
17282         * include/sys/param.h: New file.
17283         * misc/Makefile (headers): Add bits/param.h.
17284         * sysdeps/generic/sys/param.h: File removed.
17285         * sysdeps/unix/sysv/linux/bits/param.h: New file.
17286         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17287         * sysdeps/mach/hurd/bits/param.h: New file.
17288         * sysdeps/mach/hurd/sys/param.h: File removed.
17290         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17291         last change.
17293         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17294         [_IO_MTSAFE_IO].
17295         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17296         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17297         New macros.
17299         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17300         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17301         rather than -D_IO_MTSAFE_IO conditionally.
17302         * stdio-common/Makefile (CPPFLAGS): Likewise.
17303         * wcsmbs/Makefile (CPPFLAGS): Likewise.
17304         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17305         Use $(libio-mtsafe).
17306         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17307         of -D_IO_MTSAFE_IO.
17308         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17309         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17310         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17311         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17312         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17313         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17314         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17315         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17316         (CFLAGS-fread_u_chk.c): Likewise.
17317         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17318         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17319         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17320         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17321         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17322         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17323         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17324         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17325         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17327         * libio/Makefile: Test [$(libc-reentrant) = yes]
17328         instead of [$(filter %REENTRANT, $(defines)) nonempty].
17330         * Makeconfig
17331         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17332         * sysdeps/pthread/configure: File removed.
17333         * sysdeps/pthread/Makeconfig: New file.
17334         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17335         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17337 2012-08-16  Gary Benson  <gbenson@redhat.com>
17339         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17340         unmapping the first object in a namespace.
17342 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17344         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17345         (__internal_setnetgrent): ... this.  Add internal_function to
17346         definition.  Add libc_hidden_def.
17347         (setnetgrent): Update caller.
17348         (internal_endnetgrent): Renamed to ...
17349         (__internal_endnetgrent): ... this.  Add internal_function to
17350         definition.  Add libc_hidden_def.
17351         (endnetgrent): Update caller.
17352         (internal_getnetgrent_r): Renamed to ...
17353         (__internal_getnetgrent_r): ... this.  Add internal_function to
17354         definition.  Add libc_hidden_def.
17355         (__getnetgrent_r): Update caller.
17356         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
17358 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17360         * stdlib/longlong.h: Update from GCC.
17362 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17364         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17365         on _QL, which is set by umul_ppmm but never used.
17366         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17367         variables, which are set by GMP macros but never used.
17368         * stdio-common/_itowa.c (_itowa): Likewise.
17369         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17370         * stdlib/mod_1.c (mpn_mod_1): Likewise.
17372 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
17374         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17375         struct La_sh_regs is not constant.
17376         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17377         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17378         and struct La_sparc64_regs are not constant.
17380 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17382         * sysdeps/unix/sysv/linux/kernel-features.h
17383         (__ASSUME_POSIX_TIMERS): Remove.
17384         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17385         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17386         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17387         Make code unconditional.
17388         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17389         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17390         Make code unconditional.
17391         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17392         * sysdeps/unix/sysv/linux/clock_nanosleep.c
17393         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17394         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17395         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17396         Make code unconditional.
17397         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17398         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17399         (__libc_missing_posix_timers): Remove.
17401 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17403         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17404         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17406         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17408         * elf/dl-sym.c: Include <stdlib.h>.
17410         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17411         constants, which avoids warnings in 32-bit builds.
17413         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17414         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17416         * misc/lseek.c: File moved to ...
17417         * io/lseek.c: ... here.
17419         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17421         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17422         shifting LEN more than 31 bits at once.
17424 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17426         [BZ #14195]
17427         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17428         segmentation fault for a case of two empty input strings.
17429         * string/test-strncasecmp.c (check1): Renamed to...
17430         (bz12205): ...this.
17431         (bz14195): Add new testcase for two empty input strings and N > 0.
17432         (test_main): Call new testcase, adapt for renamed function.
17434 2012-08-15  Andreas Jaeger  <aj@suse.de>
17436         [BZ #14090]
17437         * crypt/md5test2.c: New test, based on test supplied by Serge
17438         Belyshev <belyshev@depni.sinp.msu.ru>.
17439         * crypt/Makefile (xtests): Add md5test-giant..
17440         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17442 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17444         [BZ #14090]
17445         * crypt/md5.c (md5_process_block): Don't assume the buffer
17446         length is less than 2**32.
17447         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17448         length is less than 2**64.
17450 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17452         * string/str-two-way.h: Include <sys/param.h>.
17453         (MAX): Macro removed.
17455         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17456         Move #define and #undef of memmove to just before and after
17457         including <string.h>.
17459         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17460         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17461         and after including <string.h>.  Move declarations of
17462         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17463         to before #include "string/memmove.c".
17465         * include/dirent.h: Declare __getdirentries.
17467         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17468         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17470 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17472         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17473         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17474         * sysdeps/i386/configure: Regenerated.
17475         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17476         STABS_CURRENT_FILE, and STABS_FUN.
17477         (END): Remove call to STABS_FUN_END.
17478         (STABS_CURRENT_FILE1): Delete.
17479         (STABS_CURRENT_FILE): Likewise.
17480         (STABS_FUN): Likewise.
17481         (STABS_FUN_END): Likewise.
17482         (STABS_FUN2): Likewise.
17483         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17484         * sysdeps/x86_64/configure: Regenerated.
17486 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17488         * elf/dl-open.c: Include <atomic.h>.
17489         * elf/dl-lookup.c: Likewise.
17491 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17493         * sysdeps/unix/sysv/linux/kernel-features.h
17494         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17495         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17496         unconditionally.
17497         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17498         unconditionally.
17499         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17500         condition on __ASSUME_CLONE_THREAD_FLAGS.
17502 2012-08-14  Andreas Jaeger  <aj@suse.de>
17504         * sysdeps/i386/fpu/libm-test-ulps: Update.
17506 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17508         * include/atomic.h (atomic_exchange_and_add): Split into ...
17509         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17510         New atomic macros.
17512 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17516 2012-08-13  Jeff Law <law@redhat.com>
17518         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17519         null byte in the output string.
17521 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17523         * sysdeps/unix/sysv/linux/kernel-features.h
17524         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17525         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17526         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17527         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17528         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17529         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17530         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17532 2012-08-09  Jeff Law <law@redhat.com>
17534         [BZ #13939]
17535         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17536         When avoid_arena is set, don't retry in the that arena.  Pick the
17537         next one, whatever it might be.
17538         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17539         (arena_lock): Pass in new parameter to arena_get2.
17540         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17541         arena_get2.
17542         (__libc_malloc): Unify retrying after main arena failure with
17543         __libc_memalign version.
17544         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17546 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17548         [BZ #14166]
17549         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17550         to __redirect_strstr.
17551         (__strstr_sse42): Use typeof __redirect_strstr.
17552         (__strstr_ia32): Likewise.
17553         (__libc_strstr): New prototype.
17554         (strstr): Renamed to ...
17555         (__libc_strstr): This.
17556         (strstr): New strong alias of __libc_strstr.
17557         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17558         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17559         __redirect_time.
17560         Include <time.h>.
17561         (__libc_time): New prototype.
17562         (time_ifunc): Replace time with __libc_time.
17563         (time): New strong alias and hidden definition of __libc_time.
17564         (__GI_time): Remove strong alias.
17565         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17566         Include <stddef.h>.
17567         (memmove): Redefined to __redirect_memmove.
17568         (__memmove_sse2): Use typeof __redirect_memmove.
17569         (__memmove_ssse3): Likewise.
17570         (__memmove_ssse3_back): Likewise.
17571         (__libc_memmove): New prototype.
17572         (memmove): Renamed to ...
17573         (__libc_memmove): This.
17574         (memmove): New strong alias of __libc_memmove.
17576 2012-08-08  Mark Salter  <msalter@redhat.com>
17578         * elf/elf.h
17579         (R_MN10300_TLS_GD): Define.
17580         (R_MN10300_TLS_LD): Likewise.
17581         (R_MN10300_TLS_LDO): Likewise.
17582         (R_MN10300_TLS_GOTIE): Likewise.
17583         (R_MN10300_TLS_IE): Likewise.
17584         (R_MN10300_TLS_LE): Likewise.
17585         (R_MN10300_TLS_DTPMOD): Likewise.
17586         (R_MN10300_TLS_DTPOFF): Likewise.
17587         (R_MN10300_TLS_TPOFF): Likewise.
17588         (R_MN10300_SYM_DIFF): Likewise.
17589         (R_MN10300_ALIGN): Likewise.
17590         (R_MN10300_NUM): Update.
17592 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17594         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17595         Remove.
17597 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17599         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17601         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17602         sysdeps/unix -> sysdeps/posix move.
17603         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17605 2012-08-07      Allan McRae     <allan@archlinux.org>
17607         [BZ #14303]
17608         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17609         (SUNOS_CPP): Likewise.
17610         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17611         not found.
17612         (open_input): Call CPP using execvp.
17614 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17616         * sysdeps/unix/sysv/linux/kernel-features.h
17617         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17618         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17619         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17620         (__ASSUME_WAITID_SYSCALL): Likewise.
17621         * sysdeps/unix/sysv/linux/dl-execstack.c
17622         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17623         code unconditional.
17624         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17625         conditional code.
17626         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17627         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17628         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17629         code.
17630         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17631         unconditional.
17632         [__ASSUME_WAITID_SYSCALL]: Likewise.
17633         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17635 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17637         * sysdeps/unix/closedir.c: Renamed to ...
17638         * sysdeps/posix/closedir.c: ... here.
17639         * sysdeps/unix/dirfd.c: Renamed to ...
17640         * sysdeps/posix/dirfd.c: ... here.
17641         * sysdeps/unix/dirstream.h: Renamed to ...
17642         * sysdeps/posix/dirstream.h: ... here.
17643         * sysdeps/unix/fdopendir.c: Renamed to ...
17644         * sysdeps/posix/fdopendir.c: ... here.
17645         * sysdeps/unix/opendir.c: Renamed to ...
17646         * sysdeps/posix/opendir.c: ... here.
17647         * sysdeps/unix/readdir.c: Renamed to ...
17648         * sysdeps/posix/readdir.c: ... here.
17649         * sysdeps/unix/readdir_r.c: Renamed to ...
17650         * sysdeps/posix/readdir_r.c: ... here.
17651         * sysdeps/unix/rewinddir.c: Renamed to ...
17652         * sysdeps/posix/rewinddir.c: ... here.
17653         * sysdeps/unix/seekdir.c: Renamed to ...
17654         * sysdeps/posix/seekdir.c: ... here.
17655         * sysdeps/unix/telldir.c: Renamed to ...
17656         * sysdeps/posix/telldir.c: ... here.
17657         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17658         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17659         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17660         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17662         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17663         * bits/fcntl.h: ... here.
17665         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17666         not 0.
17667         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17668         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17669         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17670         (struct flock): Move l_start, l_len to the beginning.
17671         Use __pid_t for l_pid.
17672         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17673         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17674         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17675         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17676         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17677         [__USE_LARGEFILE64] (struct flock64): New type.
17678         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17680         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17681         * bits/dirent.h: ... here.
17683         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17684         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17686 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17688         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17689         Change from 2.6.0 to 2.6.16.
17690         * sysdeps/unix/sysv/linux/configure: Regenerated.
17691         * sysdeps/unix/sysv/linux/kernel-features.h
17692         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17693         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17694         version.
17695         (__ASSUME_UTIMES): Likewise.
17696         (__ASSUME_CLONE_STOPPED): Remove.
17697         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17698         architectures, not kernel version.
17699         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17700         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17701         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17702         (__ASSUME_WAITID_SYSCALL): Likewise.
17703         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17704         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17705         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17706         refer to older versions.
17708 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17710         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17711         Define alphasort64 as an alias.
17712         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17713         Define versionsort64 as an alias.
17714         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17715         Define scandir64 as an alias.
17716         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17717         Define scandirat64 as an alias.
17718         * dirent/alphasort64.c (alphasort64):
17719         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17720         * dirent/versionsort64.c: Likewise.
17721         * dirent/scandir64.c: Likewise.
17722         * dirent/scandirat64.c: Likewise.
17723         * sysdeps/wordsize-64/alphasort.c: File removed.
17724         * sysdeps/wordsize-64/alphasort64.c: File removed.
17725         * sysdeps/wordsize-64/scandir.c: File removed.
17726         * sysdeps/wordsize-64/scandir64.c: File removed.
17727         * sysdeps/wordsize-64/scandirat.c: File removed.
17728         * sysdeps/wordsize-64/scandirat64.c: File removed.
17729         * sysdeps/wordsize-64/versionsort.c: File removed.
17730         * sysdeps/wordsize-64/versionsort64.c: File removed.
17731         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17732         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17733         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17734         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17735         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17736         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17737         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17738         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17740         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17741         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17742         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17743         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17744         [defined __arch64__ || defined __sparcv9]
17745         (__INO_T_MATCHES_INO64_T): New macro.
17746         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17747         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17748         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17749         * sysdeps/unix/sysv/linux/bits/dirent.h
17750         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17751         (_DIRENT_MATCHES_DIRENT64): New macro.
17753         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17754         Define lockf64 as an alias.
17755         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17756         Define fseeko64 as an alias.
17757         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17758         Define ftello64 as an alias.
17759         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17760         Define _IO_fgetpos64 and fgetpos64 as aliases.
17761         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17762         Define _IO_fsetpos64 and fsetpos64 as aliases.
17763         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17764         Conditionalize body on this.
17765         * libio/fseeko64.c: Likewise.
17766         * libio/ftello64.c: Likewise.
17767         * libio/iofgetpos64.c: Likewise.
17768         * libio/iofsetpos64.c: Likewise.
17769         * sysdeps/wordsize-64/lockf.c: File removed.
17770         * sysdeps/wordsize-64/lockf64.c: File removed.
17771         * sysdeps/wordsize-64/fseeko.c: File removed.
17772         * sysdeps/wordsize-64/fseeko64.c: File removed.
17773         * sysdeps/wordsize-64/ftello.c: File removed.
17774         * sysdeps/wordsize-64/ftello64.c: File removed.
17775         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17776         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17777         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17778         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17779         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17780         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17781         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17782         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17783         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17784         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17785         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17786         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17787         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17788         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17790         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17791         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17792         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17793         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17794         [defined __arch64__ || defined __sparcv9]
17795         (__OFF_T_MATCHES_OFF64_T): New macro.
17796         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17797         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17798         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17799         (__OFF_T_MATCHES_OFF64_T): New macro.
17801 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17803         * stdlib/secure-getenv.c (__secure_getenv): Replace
17804         GLIBC_2_16 with GLIBC_2_17.
17806 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17808         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17809         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17811 2012-08-03  David S. Miller  <davem@davemloft.net>
17813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17815 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17817         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17818         Remove.
17819         (__ASSUME_CORRECT_SI_PID): Likewise.
17820         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17821         (__ASSUME_TMPFS_NAME): Likewise.
17822         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17823         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17824         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17825         (HAVE_AUX_SECURE): Make definition unconditional.
17826         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17827         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17829 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17831         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17832         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17833         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17834         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17835         __eloop_threshold instead of SYMLOOP_MAX.
17837         * sysdeps/generic/eloop-threshold.h: New file.
17838         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17839         of MAXSYMLINKS.
17840         * elf/chroot_canon.c (chroot_canon): Likewise.
17842 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17844         [BZ #13717]
17845         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17846         Change to 2.6.0 everywhere.
17847         * sysdeps/unix/sysv/linux/configure: Regenerated.
17848         * sysdeps/unix/sysv/linux/kernel-features.h
17849         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17850         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17851         kernel versions.
17852         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17853         (__ASSUME_FUTEX_REQUEUE): Remove.
17854         (__ASSUME_STATFS64): Define unconditionally.
17855         (__ASSUME_AT_SECURE): Likewise.
17856         (__ASSUME_CORRECT_SI_PID): Likewise.
17857         (__ASSUME_TGKILL): Define without depending on kernel version for
17858         i386.
17859         (__ASSUME_UTIMES): Likewise.
17860         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17861         kernel version.
17862         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17863         (__ASSUME_TMPFS_NAME): Likewise.
17864         * README: Update reference to Linux kernel versions.
17866 2012-08-02  Marek Polacek  <polacek@redhat.com>
17868         [BZ# 14150]
17869         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17870         libc_cv_asm_type_prefix with %.
17871         * configure: Regenerated.
17872         * include/libc-symbols.h: Remove comment about
17873         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17874         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17875         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17876         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17877         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17878         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17879         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17880         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17881         * elf/tst-unique2mod1.c: Likewise.
17882         * elf/tst-unique1mod2.c: Likewise.
17883         * elf/tst-unique1mod1.c: Likewise.
17884         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17885         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17886         Replace ASM_TYPE_DIRECTIVE with .type.
17887         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17888         * sysdeps/i386/sysdep.h: Likewise.
17889         * sysdeps/x86_64/sysdep.h: Likewise.
17890         * sysdeps/sh/sysdep.h: Likewise.
17891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17892         Do not define ASM_TYPE_DIRECTIVE.
17893         * sysdeps/powerpc/sysdep.h: Likewise.
17894         * sysdeps/powerpc/powerpc32/sysdep.h:
17895         Replace ASM_TYPE_DIRECTIVE with .type.
17896         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17897         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17898         * sysdeps/i386/fpu/e_powf.S: Likewise.
17899         * sysdeps/i386/fpu/e_expl.S: Likewise.
17900         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17901         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17902         * sysdeps/i386/fpu/e_pow.S: Likewise.
17903         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17904         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17905         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17906         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17907         * sysdeps/i386/fpu/e_log2.S: Likewise.
17908         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17909         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17910         * sysdeps/i386/fpu/e_powl.S: Likewise.
17911         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17912         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17913         * sysdeps/i386/fpu/e_logl.S: Likewise.
17914         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17915         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17916         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17917         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17918         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17919         * sysdeps/i386/fpu/e_log.S: Likewise.
17920         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17921         * sysdeps/i386/fpu/e_logf.S: Likewise.
17922         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17923         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17924         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17925         * sysdeps/i386/fpu/e_log10.S: Likewise.
17926         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17927         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17928         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17929         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17930         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17931         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17932         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17933         * sysdeps/i386/i686/strtok.S: Likewise.
17934         * sysdeps/i386/i386-mcount.S: Likewise.
17935         * sysdeps/i386/strtok.S: Likewise.
17936         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17937         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17938         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17939         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17940         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17941         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17942         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17943         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17944         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17945         * sysdeps/x86_64/_mcount.S: Likewise.
17946         * sysdeps/x86_64/strtok.S: Likewise.
17947         * sysdeps/sh/_mcount.S: Likewise.
17949 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17951         * libio/iofopen.c: Include <fcntl.h>.
17952         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17953         (_IO_fopen64, fopen64): Define as aliases.
17954         * libio/iofopen64.c: Include <fcntl.h>.
17955         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17956         Conditionalize body on this.
17957         * sysdeps/wordsize-64/iofopen.c: File removed.
17958         * sysdeps/wordsize-64/iofopen64.c: File removed.
17960 2012-08-01  Marek Polacek  <polacek@redhat.com>
17962         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17963         Use dlfcn directly instead of a variable.
17964         (binfmt-subdir): Do not define.
17965         (dlfcn): Likewise.
17967 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17969         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17970         Remove all definitions.
17971         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17972         <kernel-features.h>.
17973         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17974         (miss_F_GETOWN_EX): Remove all definitions.
17975         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17976         macro definition.
17977         [!__ASSUME_FCNTL64]: Remove conditional code.
17978         [__ASSUME_FCNTL64]: Make code unconditional.
17979         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17980         <kernel-features.h>.
17981         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17982         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17983         (lockf64) [__NR_fcntl64]: Make code unconditional.
17984         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17986         * sysdeps/unix/sysv/linux/kernel-features.h
17987         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17988         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17989         Make code unconditional.
17990         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17991         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17993         [__NR_vfork]: Make code unconditional.
17994         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17995         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17997         [__NR_vfork]: Make code unconditional.
17998         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17999         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18001 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18003         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18004         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18006         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18007         Define mkstemp64 as an alias.
18008         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18009         Define mkstemps64 as an alias.
18010         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18011         Define mkostemp64 as an alias.
18012         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18013         Define mkostemps64 as an alias.
18014         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18015         Conditionalize body on this.
18016         * misc/mkostemp64.c: Likewise.
18017         * misc/mkostemps64.c: Likewise.
18018         * misc/mkstemps64.c: Likewise.
18019         * sysdeps/wordsize-64/mkstemp64.c: File removed.
18020         * sysdeps/wordsize-64/mkostemp64.c: File removed.
18021         * sysdeps/wordsize-64/mkostemp.c: File removed.
18022         * sysdeps/wordsize-64/mkstemp.c: File removed.
18023         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18024         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18025         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18026         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18028         [BZ #14138]
18029         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18030         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18031         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18032         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18034         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18035         compat_symbol macros from <shlib-compat.h> rather than the underlying
18036         default_symbol_version and symbol_version macros, so that DEFAULT
18037         lines in shlib-versions are respected.
18038         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18040 2012-08-01  Florian Weimer  <fweimer@redhat.com>
18042         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18043         Declare with warn_unused_result.
18044         (setgid, setregid, setegid, setresgid): Likewise.
18045         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18046         Likewise.
18047         * WUR-REPORT: Remove set*id functions.
18049 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
18051         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18053 2012-07-31  Roland McGrath  <roland@hack.frob.com>
18055         [BZ #10191]
18056         * include/sys/socket.h (__libc_accept, __libc_accept4):
18057         Add attribute_hidden.
18058         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18060         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18061         use of PTR_MANGLE.
18062         * inet/getnetgrent_r.c (setup): Likewise.
18064         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18066 2012-07-31  David S. Miller  <davem@davemloft.net>
18068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18070 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
18072         [BZ #13629]
18073         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18074         value between 1.0 and 2.0 and smaller part has absolute value less
18075         than 1.0.
18076         * math/s_clog10.c (__clog10): Likewise.
18077         * math/s_clog10f.c (__clog10f): Likewise.
18078         * math/s_clog10l.c (__clog10l): Likewise.
18079         * math/s_clogf.c (__clogf): Likewise.
18080         * math/s_clogl.c (__clogl): Likewise.
18081         * math/libm-test.inc (clog_test): Add more tests.
18082         (clog10_test): Likewise.
18083         * sysdeps/i386/fpu/libm-test-ulps: Update.
18084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18086 2012-07-31  Florian Weimer  <fweimer@redhat.com>
18088         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18089         Exit with zero in case no suitable GID is found, and write a
18090         message to standard error.
18092 2012-07-30  Roland McGrath  <roland@hack.frob.com>
18094         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18095         rather than to 1.
18096         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18097         (MAXPATHLEN): Removed.
18098         (NOGROUP, NODEV): New macros.
18099         (setbit, clrbit, isset, isclr): New macros.
18100         (howmany, roundup, powerof2): New macros.
18101         (DEV_BSIZE): New macro.
18103         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18104         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18106         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18107         definition on [!__NO_LONG_DOUBLE_MATH].
18109         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18110         PTR_MANGLE and PTR_DEMANGLE.
18112         * socket/accept4.c (accept4): Rename to __libc_accept4.
18113         Define accept4 as a weak alias.
18115         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18116         on [_DIRENT_HAVE_D_TYPE].
18117         * io/ftw.c (ftw_dir): Likewise.
18119         * io/xmknod.c (__xmknod): Don't check PATH for being null.
18121         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18123         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18124         Use the BSD numbers rather than the arbitrary ones we had.
18125         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18126         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18127         (SIGXCPU, SIGXFSZ): New macros.
18128         (_NSIG): Now 32.
18130         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18131         initializer on [_LIBC_REENTRANT].
18133         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18134         definitions inside [_POSIX_MAPPED_FILES].
18136         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18138         * dirent/opendir.c: Include <fcntl.h>.
18140         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18141         (__libc_getspecific): Likewise.
18142         (__libc_key_create): Likewise.
18144         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18145         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18146         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18147         (tmpfile64): Define as alias.
18148         * sysdeps/wordsize-64/tmpfile.c: File removed.
18149         * sysdeps/wordsize-64/tmpfile64.c: File removed.
18150         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18151         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18153         * stdio-common/vfscanf.c: Include <stdbool.h>.
18154         * nss/makedb.c: Likewise.
18155         * stdio-common/_i18n_number.h: Likewise.
18156         * argp/argp-help.c: Likewise.
18157         * posix/wordexp.c: Likewise.
18158         * sysdeps/posix/spawni.c: Likewise.
18159         * nss/nss_files/files-initgroups.c: Likewise.
18160         * stdio-common/reg-modifier.c: Include <stdlib.h>.
18161         * nss/nss_files/files-initgroups.c: Likewise.
18162         * nss/nss_db/db-netgrp.c: Likewise.
18163         * nss/nss_db/db-initgroups.c: Likewise.
18164         * io/fchmodat.c: Include <sys/stat.h>.
18166         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18167         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18169         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18170         [HAVE_MMAP].
18172         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18173         Add multiple inclusion protection.
18175 2012-07-27  David S. Miller  <davem@davemloft.net>
18177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18179 2012-07-27  Gary Benson  <gbenson@redhat.com>
18181         [BZ #14298]
18182         * elf/rtld.c: Include <stap-probe.h>.
18183         (dl_main): Added static probes "init_start" and "init_complete".
18184         * elf/dl-load.c: Include <stap-probe.h>.
18185         (lose): Take new parameter "nsid".
18186         Added static probe "map_failed".
18187         (_dl_map_object_from_fd): Pass namespace id to lose.
18188         Added static probe "map_start".
18189         (open_verify): Pass namespace id to lose.
18190         * elf/dl-open.c: Include <stap-probe.h>.
18191         (dl_open_worker) Added static probes "map_complete", "reloc_start"
18192         and "reloc_complete".
18193         * elf/dl-close.c: Include <stap-probe.h>.
18194         (_dl_close_worker): Added static probes "unmap_start" and
18195         "unmap_complete".
18196         * elf/rtld-debugger-interface.txt: New file documenting the above.
18198 2012-07-26  Roland McGrath  <roland@hack.frob.com>
18200         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18201         rather than a string variable.
18202         * sunrpc/rpc_main.c (h_output): Likewise.
18203         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18205 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
18207         * inet/check_native.c: New file.
18209 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
18211         [BZ #13629]
18212         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18213         if larger part has absolute value 1.0.
18214         * math/s_clog10.c (__clog10): Likewise.
18215         * math/s_clog10f.c (__clog10f): Likewise.
18216         * math/s_clog10l.c (__clog10l): Likewise.
18217         * math/s_clogf.c (__clogf): Likewise.
18218         * math/s_clogl.c (__clogl): Likewise.
18219         * math/libm-test.inc (clog_test): Add more tests.
18220         (clog10_test): Likewise.
18221         * sysdeps/i386/fpu/libm-test-ulps: Update.
18222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18224         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18225         (pltexit): Likewise.
18226         (La_regs): Likewise.
18227         (La_retval): Likewise.
18228         (int_retval): Likewise.
18229         Update #error for removed macros to refer only to definitions in
18230         tst-audit.h.
18231         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18232         macro.
18233         (pltexit): Likewise.
18234         (La_regs): Likewise.
18235         (La_retval): Likewise.
18236         (int_retval): Likewise.
18237         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18238         macro.
18239         (pltexit): Likewise.
18240         (La_regs): Likewise.
18241         (La_retval): Likewise.
18242         (int_retval): Likewise.
18243         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18244         macro.
18245         (pltexit): Likewise.
18246         (La_regs): Likewise.
18247         (La_retval): Likewise.
18248         (int_retval): Likewise.
18249         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18250         macro.
18251         (pltexit): Likewise.
18252         (La_regs): Likewise.
18253         (La_retval): Likewise.
18254         (int_retval): Likewise.
18255         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18256         macro.
18257         (pltexit): Likewise.
18258         (La_regs): Likewise.
18259         (La_retval): Likewise.
18260         (int_retval): Likewise.
18261         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18262         macro.
18263         (pltexit): Likewise.
18264         (La_regs): Likewise.
18265         (La_retval): Likewise.
18266         (int_retval): Likewise.
18267         * sysdeps/generic/tst-audit.h: Update comment to refer only to
18268         macro definitions in tst-audit.h.
18269         * sysdeps/i386/tst-audit.h: New file.
18270         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18271         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18272         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18273         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18274         * sysdeps/sh/tst-audit.h: Likewise.
18275         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18276         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18277         * sysdeps/x86_64/tst-audit.h: Likewise.
18279 2012-07-26  Andreas Jaeger  <aj@suse.de>
18281         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18282         ptrace.
18284         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18285         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18286         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18287         PTRACE_O_MASK.
18288         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18289         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18290         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18292         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18293         value.
18295         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18296         _sigsys.
18297         (si_call_addr, si_syscall, si_arch): Define new macro.
18298         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18299         _sigsys.
18300         (si_call_addr, si_syscall, si_arch): Define new marcro.
18301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18302         _sigsys.
18303         (si_call_addr, si_syscall, si_arch): Define new macro.
18304         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18305         _sigsys.
18306         (si_call_addr, si_syscall, si_arch): Define new macro.
18308 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18310         [BZ #13717]
18311         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18312         Change to 2.4.21 where previously 2.4.1.
18313         * sysdeps/unix/sysv/linux/configure: Regenerated.
18314         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18315         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18316         Linux kernel version.
18317         (__ASSUME_STD_AUXV): Remove.
18318         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18319         kernel version.
18320         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18321         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18322         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18323         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18324         (__ASSUME_NETLINK_SUPPORT): Likewise.
18325         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18326         (__no_netlink_support): Remove conditional definition.
18327         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18328         Remove.
18329         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18330         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18331         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18332         (if_nameindex_ioctl): Remove.
18333         (if_nameindex_netlink): Do not handle __no_netlink_support.
18334         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18335         code.
18336         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18337         Remove conditional code.
18338         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18339         code.
18340         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18341         unconditional.
18342         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18343         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18344         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18345         Remove.
18346         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18347         [!__ASSUME_STD_AUXV]: Remove conditional code.
18348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18349         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18350         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18352         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18353         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18354         code.
18355         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18357         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18358         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18359         conditional code.
18360         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18362         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18363         code.
18364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18365         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18366         conditional code.
18367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18368         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18369         code unconditional.
18370         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18371         conditional code.
18372         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18373         unconditional.
18374         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18375         conditional code.
18376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18377         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18378         unconditional.
18379         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18380         conditional code.
18381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18382         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18383         code unconditional.
18384         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18385         conditional code.
18386         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18387         unconditional.
18388         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18389         conditional code.
18390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18391         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18392         code unconditional.
18393         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18394         conditional code.
18395         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18396         unconditional.
18397         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18398         conditional code.
18400 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
18402         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18403         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18404         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18405         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18406         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18407         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18408         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18409         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18410         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18411         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18412         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18413         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18414         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18415         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18416         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18417         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18418         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18419         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18420         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18421         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18422         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18423         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18424         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18426 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18428         * Versions.def: Add GLIBC_2.17.
18429         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18430         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18431         Introduce __libc_secure_getenv.
18432         * stdlib/Versions (2.17): Add secure_getenv
18433         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18434         * stdlib/secure-getenv.c: Rename __secure_getenv to
18435         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18436         symbol __secure_getenv for GLIBC_2.0.
18437         * stdlib/tst-secure-getenv.c: New.
18438         * stdlib/Makefile (tests): Add testcase.
18439         * manual/startup.texi (Environment Access): Document
18440         secure_getenv.
18441         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18442         __libc_secure_getenv.
18443         * inet/ruserpass.c (ruserpass): Likewise.
18444         * malloc/mtrace.c (mtrace): Likewise.
18445         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18446         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18447         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18448         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18449         HAVE_SECURE_GETENV.
18450         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18451         __secure_getenv to __libc_secure_getenv.
18452         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18454         Likewise.
18455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18456         Likewise.
18457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18459         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18465 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18467         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18468         (struct La_i86_retval): Likewise.
18469         (struct La_x86_64_regs): Likewise.
18470         (struct La_x86_64_retval): Likewise.
18471         (struct La_x32_regs): Likewise.
18472         (struct La_x32_retval): Likewise.
18473         (struct La_ppc32_regs): Likewise.
18474         (struct La_ppc32_retval): Likewise.
18475         (struct La_ppc64_regs): Likewise.
18476         (struct La_ppc64_retval): Likewise.
18477         (struct La_sh_regs): Likewise.
18478         (struct La_sh_retval): Likewise.
18479         (struct La_s390_32_regs): Likewise.
18480         (struct La_s390_32_retval): Likewise.
18481         (struct La_s390_64_regs): Likewise.
18482         (struct La_s390_64_retval): Likewise.
18483         (struct La_sparc32_regs): Likewise.
18484         (struct La_sparc32_retval): Likewise.
18485         (struct La_sparc64_regs): Likewise.
18486         (struct La_sparc64_retval): Likewise.
18487         (struct audit_ifaces): Remove architecture-specific pltenter and
18488         pltexit members.
18489         * sysdeps/i386/ldsodefs.h: New file.
18490         * sysdeps/powerpc/ldsodefs.h: Likewise.
18491         * sysdeps/s390/ldsodefs.h: Likewise.
18492         * sysdeps/sh/ldsodefs.h: Likewise.
18493         * sysdeps/sparc/ldsodefs.h: Likewise.
18494         * sysdeps/x86_64/ldsodefs.h: Likewise.
18496 2012-07-25  Marek Polacek  <polacek@redhat.com>
18498         [BZ #6808]
18499         * math/libm-test.inc (yn_test): Add another test.
18500         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18501         to ERANGE when the result is +-Inf.
18502         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18503         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18504         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18505         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18507 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18509         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18510         equal to 0.
18511         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18512         clock_t.
18513         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18515 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18517         * configure.in <sysdeps resolving>: Correct printing
18518         Implies_before.
18519         * configure: Regenerate.
18521 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18523         * math/w_ilogb.c: Include <limits.h>.
18524         * math/w_ilogbl.c: Likewise.
18526 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18528         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18529         va_copy.  Document allowing for unavailable va_copy only as
18530         pre-C99 compatibility.
18531         * manual/string.texi (Copying and Concatenation): Use va_copy
18532         instead of __va_copy in concat example.
18534 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18536         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18537         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18538         it if not null.
18540         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18541         with O_NOLINK passed to __file_name_lookup.
18543         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18544         with O_NOLINK passed to __file_name_lookup.
18546         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18547         negative N or less than NGIDS.
18549         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18550         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18551         enough.  Use memcpy instead of strncpy.
18553 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18555         * elf/Makefile (check-data): Remove.
18556         (localplt.data): New vpath directive.
18557         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18558         instead of $(check-data).
18559         * scripts/data/localplt-generic.data: Move to ...
18560         * sysdeps/generic/localplt.data: ... here.
18561         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18562         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18563         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18565         ... here.
18566         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18568         ... here.
18569         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18571         ... here.
18572         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18574         ... here.
18575         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18577         ... here.
18578         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18580         ... here.
18582 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18584         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18585         PPC32 and PPC64 files.
18586         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18587         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18589 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18591         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18592         __makecontext_ret to ...
18593         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18594         ... here and call exit if uc_link is NULL.  New file.
18595         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18596         __makecontext_ret.S.
18597         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18598         __makecontext_ret to ...
18599         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18600         ... here and call exit if uc_link is NULL.  New file.
18601         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18602         __makecontext_ret.S.
18604 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18606         * elf/elf.h (R_390_IRELATIVE): New definition.
18607         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18608         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18609         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18610         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18611         (elf_machine_lazy_rel): Likewise.
18612         * sysdeps/s390/dl-irel.h: New file.
18613         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18614         * sysdeps/s390/s390-64/memset.S: New asm code.
18615         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18616         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18617         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18618         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18619         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18620         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18621         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18622         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18623         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18624         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18625         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18626         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18627         * sysdeps/s390/s390-32/memset.S: New asm code.
18628         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18630 2012-07-17  Marek Polacek  <polacek@redhat.com>
18632         [BZ #14349]
18633         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18634         * sysdeps/s390/s390-64/configure.in: Likewise.
18635         * sysdeps/sparc/configure.in: Likewise.
18636         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18637         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18638         * sysdeps/i386/configure.in: Likewise.
18639         * sysdeps/x86_64/configure.in: Likewise.
18640         * sysdeps/sh/configure.in: Likewise.
18641         * sysdeps/s390/s390-32/configure: Regenerated.
18642         * sysdeps/s390/s390-64/configure: Likewise.
18643         * sysdeps/x86_64/configure: Likewise.
18644         * sysdeps/sh/configure: Likewise.
18645         * sysdeps/powerpc/powerpc64/configure: Likewise.
18646         * sysdeps/powerpc/powerpc32/configure: Likewise.
18647         * sysdeps/sparc/configure: Likwise.
18648         * sysdeps/i386/configure: Likewise.
18650         * elf/dl-open.c: Comment fixes.
18652 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18654         * Makefile [CXX] (check-data): Remove.
18655         [CXX] (c++-types.data): New vpath directive.
18656         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18657         vpath.  Do not allow for C++ type data being missing.
18658         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18659         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18660         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18661         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18662         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18663         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18664         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18666         ... here.
18667         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18669         ... here.
18670         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18672         ... here.
18673         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18675         ... here.
18676         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18678         ... here.
18679         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18681         ... here.
18682         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18684         ... here.
18685         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18688         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18689         definitions to architecture-specific files.
18690         (TLS_IE): Likewise.
18691         (TLS_LD): Likewise.
18692         (TLS_GD): Likewise.
18693         * sysdeps/i386/tls-macros.h: New file.
18694         * sysdeps/powerpc/tls-macros.h: Likewise.
18695         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18696         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18697         * sysdeps/sh/tls-macros.h: Likewise.
18698         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18699         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18700         * sysdeps/x86_64/tls-macros.h: Likewise.
18702 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18704         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18705         zero value for regular exit case.
18707         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18708         (__start_context): Preserve zero value for regular exit case.
18710 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18711             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18713         * manual/setjmp.texi (setcontext): Clarify normal process
18714         termination when uc_link is the null pointer.
18715         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18716         exit call.
18718 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18720         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18721         preprocessor.  Test for each exception mask separately.
18723 2012-07-16  Andreas Jaeger  <aj@suse.de>
18725         * po/ru.po: Update from translation team.
18727 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18729         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18730         equal to 0.
18731         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18732         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18733         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18734         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18735         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18737 2012-07-13  Andreas Jaeger  <aj@suse.de>
18739         * po/fr.po: Update from translation team.
18741 2012-07-12  Marek Polacek  <polacek@redhat.com>
18743         [BZ #14173]
18744         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18745         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18746         loop condition.
18748 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18750         [BZ #13717]
18751         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18752         Change to 2.4.1 where previously 2.4.0.
18753         * sysdeps/unix/sysv/linux/configure: Regenerated.
18754         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18755         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18756         version.
18757         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18758         (__ASSUME_AT_CLKTCK): Remove.
18759         (__ASSUME_AT_PAGESIZE): Likewise.
18760         (__ASSUME_AT_XID): Likewise.
18761         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18762         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18763         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18764         unconditionally.
18765         (HAVE_AUX_PAGESIZE): Likewise.
18766         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18767         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18768         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18770 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18772         [BZ #14307]
18773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18774         the temporary buffer used to invoke __gethostbyname2_r,
18775         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18776         host_data / struct gaih_addrtuple.
18777         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18778         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18779         header file nss/nsswitch.h.
18780         * nss/nsswitch.h (global scope): Add definition of implementation
18781         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18782         resolv/nss_dns/dns-host.c).
18784 2012-07-11  Andreas Jaeger  <aj@suse.de>
18786         * po/fr.po: Update from translation team.
18788         * po/sv.po: Update from translation team
18789         * po/fr.po: Another update from translation team.
18791 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18793         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18794         for subnormals or multiply small sinh result by itself.
18795         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18798 2012-07-11  David S. Miller  <davem@davemloft.net>
18800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18802 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18804         [BZ #14347]
18805         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18806         (INTERNAL_MARK): Shift it here.
18808 2012-07-10  Marek Polacek  <polacek@redhat.com>
18810         [BZ #14151]
18811         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18812         libc_cv_asm_global_directive with .globl.
18813         * configure: Regenerated.
18814         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18815         with .globl.
18816         * sysdeps/i386/configure: Regenerated.
18817         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18818         with .globl.
18819         * sysdeps/x86_64/configure: Regenerated.
18820         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18821         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18822         * elf/tst-unique2mod2.c: Likewise.
18823         * elf/tst-unique2mod1.c: Likewise.
18824         * elf/tst-unique1mod2.c: Likewise.
18825         * elf/tst-unique1mod1.c: Likewise.
18826         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18827         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18828         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18829         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18830         * sysdeps/mach/sysdep.h: Likewise.
18831         * sysdeps/i386/sysdep.h: Likewise.
18832         * sysdeps/i386/i386-mcount.S: Likewise.
18833         * sysdeps/x86_64/_mcount.S: Likewise.
18834         * sysdeps/x86_64/sysdep.h: Likewise.
18835         * sysdeps/sh/_mcount.S: Likewise.
18836         * sysdeps/sh/sysdep.h: Likewise.
18837         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18838         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18839         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18840         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18841         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18842         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18843         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18844         * locale/localeinfo.h: Likewise.
18845         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18846         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18848 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18850         [BZ #14336]
18851         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18852         system".
18853         * manual/message.texi (The Uniforum approach): Likewise.
18854         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18855         (glibc iconv Implementation): Likewise.
18857 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18859         [BZ #14337]
18860         * math/s_clog.c (__clog): Avoid scaling a value down where that
18861         could result in underflow.
18862         * math/s_clog10.c (__clog10): Likewise.
18863         * math/s_clog10f.c (__clog10f): Likewise.
18864         * math/s_clog10l.c (__clog10l): Likewise.
18865         * math/s_clogf.c (__clogf): Likewise.
18866         * math/s_clogl.c (__clogl): Likewise.
18867         * math/libm-test.inc (clog_test): Add more tests.
18868         (clog10_test): Likewise.
18869         * sysdeps/i386/fpu/libm-test-ulps: Update.
18870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18872 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18874         [BZ #14283]
18875         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18876         by 7 not 8 to examine high bit of fractional part.
18878         [BZ #14042]
18879         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18880         for call to __mcount_internal.
18881         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18882         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18883         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18885 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18887         [BZ #14154]
18888         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18889         approximation for values within 0x1p-13f of an odd multiple of
18890         pi/4.
18891         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18892         exception.  Add more tests.
18893         * sysdeps/i386/fpu/libm-test-ulps: Update.
18895         [BZ #6778]
18896         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18897         inputs and return -1 for them.  Do not check for +Inf in case not
18898         reachable for +Inf.
18899         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18900         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18901         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18902         and return -1 for them.  Do not check for +Inf in case not
18903         reachable for +Inf.
18904         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18905         define.
18906         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18907         and return -1 for them.  Do not check for +Inf in case not
18908         reachable for +Inf.
18909         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18910         spurious underflow.
18911         * sysdeps/i386/fpu/libm-test-ulps: Update.
18912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18914 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18916         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18918 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18920         [BZ #14157]
18921         [BZ #14331]
18922         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18923         could result in spurious underflow.  Scale down values above
18924         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18925         * math/s_csqrtf.c (__csqrtf): Likewise.
18926         * math/s_csqrtl.c (__csqrtl): Likewise.
18927         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18928         spurious underflow.
18929         * sysdeps/i386/fpu/libm-test-ulps: Update.
18930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18932 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18934         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18935         xopen-msg.sed.
18936         * catgets/xopen-msg.awk: New file.
18937         * catgets/xopen-msg.sed: Removed.
18939         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18940         po2text.sed.
18941         * intl/po2test.awk: New file.
18942         * intl/po2test.sed: Removed.
18944 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18946         [BZ #14328]
18947         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18948         or multiply small sinh result by itself.
18949         * math/s_ctanf.c (__ctanf): Likewise.
18950         * math/s_ctanh.c (__ctanh): Likewise.
18951         * math/s_ctanhf.c (__ctanhf): Likewise.
18952         * math/s_ctanhl.c (__ctanhl): Likewise.
18953         * math/s_ctanl.c (__ctanl): Likewise.
18954         * math/libm-test.inc (ctan_test_tonearest): New function.
18955         (ctan_test_towardzero): Likewise.
18956         (ctan_test_downward): Likewise.
18957         (ctan_test_upward): Likewise.
18958         (ctanh_test_tonearest): Likewise.
18959         (ctanh_test_towardzero): Likewise.
18960         (ctanh_test_downward): Likewise.
18961         (ctanh_test_upward): Likewise.
18962         (main): Call these new functions.
18963         * sysdeps/i386/fpu/libm-test-ulps: Update.
18964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18966 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18968         * .gitignore: Delete /ports entry.
18970 2012-07-03  Andreas Jaeger  <aj@suse.de>
18972         * po/bg.po: Update from translation team.
18973         * po/cs.po: Likewise.
18974         * po/de.po: Likewise.
18975         * po/hr.po: Likewise.
18976         * po/nl.pl: Likewise.
18977         * po/pl.po: Likewise.
18978         * po/vi.po: Likewise.
18980 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18982         * Makeconfig [!+link] (+link-before-libc): New variable.
18983         [!+link] (+link-after-libc): Likewise.
18984         [!+link] (+link-tests): Likewise.
18985         [!+link] (+link): Define in terms of $(+link-before-libc) and
18986         $(+link-after-libc).
18987         [!+link-static] (+link-static-before-libc): New variable.
18988         [!+link-static] (+link-static-after-libc): Likewise.
18989         [!+link-static] (+link-static-tests): Likewise.
18990         [!+link-static] (+link-static): Define in terms of
18991         $(+link-static-before-libc) and $(+link-static-after-libc).
18992         [build-shared] (link-libc-before-gnulib): New variable.
18993         [build-shared] (link-libc-tests): Likewise.
18994         [build-shared] (link-libc): Define in terms of
18995         $(link-libc-before-gnulib).
18996         [!build-shared] (link-libc-tests): New variable.
18997         (link-libc-static-tests): New variable.
18998         [!gnulib] (gnulib-arch): New variable.
18999         [!gnulib] (gnulib-tests): Likewise.
19000         [!gnulib] (static-gnulib-arch): Likewise.
19001         [!gnulib] (static-gnulib-tests): Likewise.
19002         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
19003         Define with "=" instead of ":=".
19004         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
19005         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
19006         * Rules (binaries-all-notests): New variable.
19007         (binaries-all-tests): Likewise.
19008         (binaries-static-notests): Likewise.
19009         (binaries-static-tests): Likewise.
19010         (binaries-all): Define using $(binaries-all-notests) and
19011         $(binaries-all-tests).
19012         (binaries-static): Define using $(binaries-static-notests) and
19013         $(binaries-static-tests).
19014         (binaries-shared-tests): New variable.
19015         (binaries-shared-notests): Likewise.
19016         (binaries-shared): Remove variable.
19017         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19018         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19019         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19020         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19021         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19022         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19023         * elf/Makefile (sln-modules): New variable.
19024         (extra-objs): Add $(sln-modules:=.o).
19025         (ldconfig-modules): Add static-stubs.
19026         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19027         * elf/static-stubs.c: New file.
19029         [BZ #14283]
19030         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19031         by 7 not 8 to examine high bit of fractional part.  Use volatile
19032         variables when splitting into final array of floats if
19033         __FLT_EVAL_METHOD__ != 0.
19034         * math/libm-test.inc (cos_test): Add another test.
19035         (sin_test): Likewise.
19036         * sysdeps/i386/fpu/libm-test-ulps: Update.
19038         [BZ #14273]
19039         * math/libm-test.inc (cosh_test): Add more tests.
19041         * version.h (RELEASE): Set to "development".
19042         (VERSION): Set to "2.16.90".
19044 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
19046         * NEWS: Update copyright. Remove last-updated date.
19047         Mention math library bug fixes and timezone data changes.
19048         * README: Mention GNU/Hurd, x32, and HPPA support status.
19050 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
19052         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19054 2012-06-27  Andreas Jaeger  <aj@suse.de>
19056         * manual/contrib.texi (Contributors): Add Samuel Thibault.
19058 2012-06-25  Andreas Jaeger  <aj@suse.de>
19060         * sysdeps/s390/fpu/libm-test-ulps: Update.
19062 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
19063             Thomas Schwinge  <thomas@codesourcery.com>
19065         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19066         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19067         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19068         fanotify_mark.
19070 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
19072         * sysdeps/mach/start.c: Remove file.
19073         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19074         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19075         * sysdeps/sh/init-first.c: Likewise.
19077         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19078         registers for frame unwinding purposes, add CFI directives.
19079         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19080         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19081         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19082         Likewise.
19084         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19085         __fortify_fail returning.
19086         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19088         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19089         sysdeps/sh/____longjmp_chk.S.
19090         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19091         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19092         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19093         (gen-as-const-headers): Append sigaltstack-offsets.sym.
19095         * sysdeps/sh/abort-instr.h: New file.
19096         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19097         process in case exit returns.
19099         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19100         initialize the GOT register before use.
19102         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19103         calculation of ARGC > 4.
19105         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19106         meaningful names to some local labels.
19108 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19109             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19111         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19112         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19113         (__arch_compare_and_exchange_val_16_acq): Likewise.
19114         (__arch_compare_and_exchange_val_32_acq): Likewise.
19115         (atomic_exchange_and_add): Fix gUSA sequence.
19116         (atomic_add): Likewise.
19117         (atomic_add_negative): Likewise.
19118         (atomic_add_zero): Likewise.
19119         (atomic_bit_test_set): Likewise.
19121 2012-06-22  Andreas Schwab  <schwab@redhat.com>
19123         [BZ #13579]
19124         * include/link.h (struct link_map): Add l_free_initfini.
19125         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19126         l_initfini.
19127         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19128         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19129         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19130         set.
19132 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
19134         * configure.in: Use AC_LANG_SOURCE.
19135         * configure: Regenerate.
19137 2012-06-22  Roland McGrath  <roland@hack.frob.com>
19139         * configure.in (libc_cv_localstatedir): New substituted variable.
19140         * configure: Regenerated.
19141         * config.make.in (localstatedir): New variable, substituted from
19142         libc_cv_localstatedir.
19143         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19144         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19145         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19146         * sysdeps/gnu/configure: Regenerated.
19148 2012-06-21  Jeff Law  <law@redhat.com>
19150         [BZ #14277]
19151         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19152         free.  Simplify list management for _LIBC case.
19154 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
19156         [BZ #14273]
19157         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19158         Clear sign bit of 64-bit integer value before comparing against
19159         overflow value.
19161         * sysdeps/mach/configure: Regenerated.
19163 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
19165         [BZ #14278]
19166         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19168 2012-06-21  Jeff Law  <law@redhat.com>
19170         [BZ #13882]
19171         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
19172         uint16_t for elements in the "seen" array to avoid char overflows.
19173         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19174         * elf/dl-open.c (dl_open_worker): Likewise.
19176 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
19178         * scripts/list-sources.sh: Scan PORTS for translations.
19179         * po/libc.pot: Regenerated.
19181 2012-06-21  Andreas Jaeger  <aj@suse.de>
19183         [BZ #12194]
19184         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19185         warning.
19186         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19187         * bits/byteswap-16.h (__bswap_16): Likewise.
19188         * bits/byteswap.h (__bswap_constant_16): Likewise.
19190 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
19192         [BZ #14117]
19193         * sysdeps/i386/fpu_control.h: Removed.
19194         * sysdeps/x86_64/fpu_control.h: Moved to ...
19195         * sysdeps/x86/fpu_control.h: Here.
19197         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19198         (_FPU_SETCW): Likewise.
19200 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
19202         [BZ #14117]
19203         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19204         * sysdeps/x86/fpu/bits/mathinline.h: This.
19205         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19207         [BZ #14050]
19208         [BZ #14117]
19209         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19210         functions if __x86_64__ is defined.
19212 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
19214         * string/endian.h: Add !__ASSEMBLER__ condition for including
19215         conversion interfaces.
19217 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
19219         [BZ #14241]
19220         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19221         of ABS(x) in calculating zero to negative powers other than odd
19222         integers.
19223         * math/libm-test.inc (pow_test): Add more tests.
19225 2012-06-15  Andreas Jaeger  <aj@suse.de>
19227         * manual/contrib.texi (Contributors): Update entry of Liubov
19228         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19229         Machado Filho.
19231 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
19233         * string/string.h: Add __wur to GNU version of strerror_r.
19235 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
19237         [BZ #14229]
19238         * string/Makefile (tests): Add tst-strtok_r.
19239         * string/tst-strtok_r.c: New file.
19240         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19241         RAX_LP/RDX_LP on SAVE_PTR.
19243 2012-06-14  Roland McGrath  <roland@hack.frob.com>
19245         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19247 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
19249         * libm_test.inc (csqrt_test): Allow more spurious underflow
19250         exceptions.
19251         (j0_test): Likewise.
19252         (j1_test): Likewise.
19253         (y0_test): Likewise.
19254         (y1_test): Likewise.
19256 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
19258         * po/Makefile (libc.pot): Use UTF-8 charset.
19260 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
19262         [BZ #14210]
19263         Suppress sign-conversion warning from FD_SET.
19264         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19265         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19266         not unsigned long int.
19267         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19269 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
19271         [BZ #14050]
19272         [BZ #14117]
19273         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19274         __extern_always_inline instead of __extern_inline.
19275         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19276         (__signbit): Likewise.
19277         (__signbitl): Support C++ namespace.
19278         (lrintf): New inline function.
19279         (lrint): Likewise.
19280         (llrintf): Likewise.
19281         (llrint): Likewise.
19282         (fmaxf): Likewise.
19283         (fmax): Likewise.
19284         (fminf): Likewise.
19285         (fmin): Likewise.
19286         (rint): Likewise.
19287         (rintf): Likewise.
19288         (ceil): Likewise.
19289         (ceilf): Likewise.
19290         (floor): Likewise.
19291         (floorf): Likewise.
19292         (nearbyint): Likewise.
19293         (nearbyintf): Likewise.
19295 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
19297         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19298         non-default versions.
19300 2012-06-11  Roland McGrath  <roland@hack.frob.com>
19302         [BZ #14218]
19303         * manual/argp.texi (Argp): Reword argp_parse description slightly.
19305 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
19307         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19308         (FE_UPWARD, FE_DOWNWARD): Don't define.
19309         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19310         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19312         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19313         reading it.
19314         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19315         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19317 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19319         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19320         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19321         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19322         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19324 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19326         [BZ #14117]
19327         * sysdeps/i386/fpu/bits/fenv.h: Removed.
19328         * sysdeps/i386/fpu/Implies: New file.
19329         * sysdeps/x86_64/fpu/Implies: Likewise.
19330         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19331         * sysdeps/x86/fpu/bits/fenv.h: This.
19333         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19334         __SSE_MATH__.
19336 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19338         [BZ #14134]
19339         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19340         character 0xffff that matches the last element of the
19341         conversion table.
19343 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19345         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19346         fmodl commit.
19348 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19351         values higher than 25.6283.
19353 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19355         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19356         subnormal exponent extraction and add some __builtin_expect.
19357         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19358         Fix for subnormal mantissa calculation.
19360 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
19362         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19363         cpu2 is -1 and errno is not ENOSYS.
19365 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
19367         [BZ #14117]
19368         * sysdeps/i386/i486/bits/string.h: Renamed to ...
19369         * sysdeps/x86/bits/string.h: This.
19370         * sysdeps/x86_64/bits/string.h: Removed.
19372         * sysdeps/i386/i486/bits/string.h: Define inline functions only
19373         if not compiling for x86-64, but compiling for >= i486.
19375         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19376         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19378         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19379         New macro from Linux kernel 3.4.0.
19380         (FP_XSTATE_MAGIC2): Likewise.
19381         (FP_XSTATE_MAGIC2_SIZE): Likewise.
19382         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19383         (struct _fpx_sw_bytes): New struct.
19384         (struct _xsave_hdr): Likewise.
19385         (struct _ymmh_state): Likewise.
19386         (struct _xstate): Likewise.
19388         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19389         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19390         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19391         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19392         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19393         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19395         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19396         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19397         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19398         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19399         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19400         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19402 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19404         [BZ #13743]
19405         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19406         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19407         (sysdep_headers): Include sys/platform/ppc.h.
19408         * sysdeps/powerpc/test-gettimebase.c: Test for
19409         __ppc_get_timebase() to catch future ISA opcode/insn changes.
19410         * manual/Makefile (appendices): Include platform.texi.
19411         * manual/contrib.texi (Contributors): Update @node pointers.
19412         * manual/maint.texi (Maintenance): Likewise.
19413         (Platform): New node.
19414         * manual/platform.texi: New file.  Document the new features.
19416 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19417             Jakub Jelinek  <jakub@redhat.com>
19419         [BZ #14188]
19420         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19421         where __builtin_expect is unavailable.
19423 2012-06-03  David S. Miller  <davem@davemloft.net>
19425         * stdlib/longlong.h: Updated from GCC.
19427 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19429         [BZ #14042]
19430         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19431         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19432         __mcount_internal.
19433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19434         (GLIBC_2.16): Likewise.
19436 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19438         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19440 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19443         (default-abi): New variable.
19444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19445         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19446         variable.
19447         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19448         Likewise.
19449         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19450         Likewise.
19451         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19452         Likewise.
19454         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19455         definition.  Document in comment.
19457 2012-06-01  David S. Miller  <davem@davemloft.net>
19459         * stdlib/longlong.h: Updated from GCC.
19461 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19463         [BZ #14117]
19464         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19465         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19466         sys/debugreg.h sys/io.h here.
19467         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19468         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19469         sys/io.h.
19470         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19471         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19472         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19473         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19474         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19475         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19477         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19478         Define only if __x86_64__ is defined.
19480 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19482         [BZ #14048]
19483         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19484         Use int64_t for variable i.
19485         * math/libm-test.inc (fmod_test): Add more tests.
19487         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19488         z computation is not scheduled after fetestexcept.
19489         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19490         Use math_force_eval instead of asm to ensure calculation scheduled
19491         before exception test.
19492         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19493         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19495 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19497         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19498         computation is not scheduled after fetestexcept.
19500 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19502         [BZ #14117]
19503         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19504         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19506 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19508         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19509         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19511 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19513         [BZ #14117]
19514         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19515         <bits/wordsize.h>.
19516         (__WCHAR_MIN): Support __WORDSIZE == 64.
19517         (__WCHAR_MAX): Likewise.
19519         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19520         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19522         [BZ #14183]
19523         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19524         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19526         [BZ #14117]
19527         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19528         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19530         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19531         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19533         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19534         Defined to 1 if __x86_64__ isn't defined.
19535         (_STAT_VER_LINUX_OLD): New.
19536         (st_atime): Remove duplicate.
19537         (st_mtime): Likewise.
19538         (st_ctime): Likewise.
19540 2012-05-31  David S. Miller  <davem@davemloft.net>
19542         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19543         entries.
19545 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19547         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19548         gen-libm-test.pl.
19550         [BZ #14132]
19551         * elf/dl-reloc.c: Include <_itoa.h>.
19552         (_dl_reloc_bad_type): Remove use of INTUSE.
19553         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19554         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19555         * stdio-common/psiginfo.c (psiginfo): Likewise.
19556         * stdio-common/psignal.c (psignal): Likewise.
19557         * string/strsignal.c (strsignal): Likewise.
19558         * include/signal.h (_sys_siglist): Declare hidden proto.
19559         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19560         INTVARDEF with libc_hidden_data_def.
19561         * stdio-common/itoa-udigits.c: Likewise.
19562         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19563         (_itoa_lower_digits_internal): Remove declaration.
19564         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19565         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19566         (_sys_sigabbrev_internal): Remove aliases.
19567         (_sys_siglist): Define hidden alias.
19569 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19572         bits/sysctl.h.
19574 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19576         [BZ #14117]
19577         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19578         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19580         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19581         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19582         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19583         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19584         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19585         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19587         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19588         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19589         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19591         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19592         with __addr.
19593         (insw): Likewise.
19594         (insl): Likewise.
19595         (outsb): Likewise.
19596         (outsw): Likewise.
19597         (outsl): Likewise.
19599         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19600         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19601         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19603         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19604         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19605         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19606         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19607         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19608         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19610         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19611         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19613         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19614         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19616         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19617         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19618         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19620         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19621         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19622         to ...
19623         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19625         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19626         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19627         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19629         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19630         for x86-64.
19631         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19633 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19635         * math/math.h (M_El): Use two more decimal places.
19636         (M_LOG2El): Likewise.
19637         (M_LOG10El): Likewise.
19638         (M_LN2l): Likewise.
19639         (M_LN10l): Likewise.
19640         (M_PIl): Likewise.
19641         (M_PI_2l): Likewise.
19642         (M_PI_4l): Likewise.
19643         (M_1_PIl): Likewise.
19644         (M_2_PIl): Likewise.
19645         (M_2_SQRTPIl): Likewise.
19646         (M_SQRT2l): Likewise.
19647         (M_SQRT1_2l): Likewise.
19649 2012-05-31  David S. Miller  <davem@davemloft.net>
19651         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19652         values between float registers.
19653         * sysdeps/sparc/sparc64/memset.S: Likewise.
19654         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19656 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19658         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19659         -D_FORTIFY_SOURCE=1.
19660         (CPPFLAGS-tst-longjmp_chk.c): Define.
19661         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19662         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19663         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19664         CFLAGS-tst-wchar-h.c.
19666 2012-05-31  Marek Polacek  <polacek@redhat.com>
19668         [BZ #14132]
19669         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19670         __endmntent_internal): Remove declaration.
19671         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19672         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19673         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19675 2012-05-30  David S. Miller  <davem@davemloft.net>
19677         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19678         (___Q_simulate_exceptions): Use real FP ops rather than writing
19679         into the %fsr.
19680         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19681         Likewise.
19683 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19685         [BZ #14117]
19686         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19687         * sysdeps/x86/bits/xtitypes.h: This.
19689         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19690         * sysdeps/x86/bits/wordsize.h: This.
19692         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19693         * sysdeps/x86/bits/huge_vall.h: This.
19695         * sysdeps/i386/bits/select.h: Removed.
19696         * sysdeps/x86_64/bits/select.h: Renamed to ...
19697         * sysdeps/x86/bits/select.h: This.
19699         * sysdeps/i386/bits/setjmp.h: Removed.
19700         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19701         * sysdeps/x86/bits/setjmp.h: This.
19703         * sysdeps/i386/bits/mathdef.h: Removed.
19704         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19705         * sysdeps/x86/bits/mathdef.h: This.
19707 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19709         [BZ #14132]
19710         * include/sys/socket.h (__connect_internal)
19711         (__libc_sa_len_internal): Remove declaration.
19712         (__connect, __libc_sa_len): Declare hidden_proto.
19713         (SA_LEN): Remove use of INTUSE.
19714         * socket/connect.c: Add libc_hidden_def.
19715         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19716         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19717         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19718         alias.
19719         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19720         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19721         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19722         of adding _internal alias.
19724 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19726         [BZ #14117]
19727         * sysdeps/i386/bits/link.h: Removed.
19728         * sysdeps/i386/bits/linkmap.h: Likewise.
19729         * sysdeps/x86_64/bits/link.h: Renamed to ...
19730         * sysdeps/x86/bits/link.h: This.
19731         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19732         * sysdeps/x86/bits/linkmap.h: This.
19734         * sysdeps/i386/bits/endian.h: Removed.
19735         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19736         * sysdeps/x86/bits/endian.h: This.
19738         * sysdeps/i386/bits/byteswap.h: Removed.
19739         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19740         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19741         * sysdeps/x86/bits/byteswap.h: This.
19742         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19743         * sysdeps/x86/bits/byteswap-16.h: This.
19744         * sysdeps/i386/Implies: Add x86.
19745         * sysdeps/x86_64/Implies: Likewise.
19747 2012-05-30  David S. Miller  <davem@davemloft.net>
19749         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19750         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19751         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19752         (FP_TRAPPING_EXCEPTIONS): Define.
19753         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19754         (FP_TRAPPING_EXCEPTIONS): Define.
19755         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19756         subnormals only when inexact has been signalled or underflow
19757         exceptions are enabled.
19758         (_FP_PACK_CANONICAL): Likewise.
19760 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19762         [BZ #14183]
19763         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19764         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19766 2012-05-30  Richard Henderson  <rth@twiddle.net>
19768         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19769         with #ifndef NOT_IN_libc.
19771         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19772         marked to avoid plt entry.
19774 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19776         [BZ #14112]
19777         * Makeconfig (default-abi): New macro.
19778         (abi-includes): Likewise.
19779         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19780         $(abi-$(default-abi)-lib-soname) for soname if defined.
19781         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19782         abi-variants.
19783         * Makefile (installed-stubs): Likewise.
19784         * include/stubs-biarch.h: Removed.
19785         * scripts/lib-names.awk: Only handle one library at a time.
19786         * scripts/soversions.awk: Remove WORDSIZE support.
19787         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19788         entries.
19789         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19790         Removed.
19791         (syscall-list-default-condition): Likewise.
19792         (syscall-list-default-condition): Likewise.
19793         (syscall-list-includes): Likewise.
19794         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19795         syscall-list-* with abi-*.  Handle undefined abi-variants.
19796         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19797         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19798         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19799         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19800         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19801         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19802         Removed.
19803         (syscall-list-32-options): Likewise.
19804         (syscall-list-32-condition): Likewise.
19805         (syscall-list-64-options): Likewise.
19806         (syscall-list-64-condition): Likewise.
19807         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19808         macro.
19809         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19810         Renamed to ...
19811         (abi-*): This.
19812         (abi-64-ld-soname): New macro.
19813         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19814         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19815         Renamed to ...
19816         (abi-*): This.
19817         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19818         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19820 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19822         * sysdeps/unix/sysv/linux/kernel-features.h
19823         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19824         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19825         include <kernel-features.h>.
19826         [!__NR_ftruncate64]: Remove conditional code.
19827         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19828         [__NR_ftruncate64]: Make code unconditional.
19829         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19830         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19831         include <kernel-features.h>.
19832         [!__NR_ftruncate64]: Remove conditional code.
19833         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19834         [__NR_ftruncate64]: Make code unconditional.
19835         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19837         include <kernel-features.h>.
19838         [!__NR_ftruncate64]: Remove conditional code.
19839         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19840         [__NR_ftruncate64]: Make code unconditional.
19841         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19843         include <kernel-features.h>.
19844         [!__NR_ftruncate64]: Remove conditional code.
19845         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19846         [__NR_ftruncate64]: Make code unconditional.
19847         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19849         * configure.in (libc_cv_fpie): Weaken to a compile test using
19850         LIBC_TRY_CC_OPTION.
19851         * configure: Regenerated.
19853 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19859         Refreshed.
19860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19866         Refreshed.
19868 2012-05-27  David S. Miller  <davem@davemloft.net>
19870         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19871         (___Q_zero): New.
19872         (__Q_simulate_exceptions): Return void.  Change to simulate
19873         exceptions by writing into the %fsr.
19874         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19875         (__Qp_handle_exceptions): Likewise.
19876         (numbers): Delete.
19877         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19878         __Qp_handle_exceptions.
19879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19880         __Qp_handle_exceptions.
19881         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19882         as unused and give dummy FP_RND_NEAREST initializer.
19883         (FP_INHIBIT_RESULTS): Define.
19884         (___Q_simulate_exceptions): Update declaration.
19885         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19886         formatting.
19887         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19888         as unused and give dummy FP_RND_NEAREST initializer.
19889         (__Qp_handle_exceptions): Update declaration.
19890         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19891         formatting.
19893 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19895         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19896         the temporary FPU control word.
19897         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19898         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19899         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19900         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19901         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19902         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19903         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19904         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19905         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19906         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19907         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19909 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19911         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19912         fields.
19914 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19916         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19917         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19918         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19919         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19920         Likewise.
19921         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19922         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19923         Likewise.
19925 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19927         * po/h.po: Update from translation team.
19929 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19931         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19933         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19934         handling of denormals.
19935         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19936         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19937         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19938         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19940         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19941         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19942         Likewise.
19944 2012-05-26  Marek Polacek  <polacek@redhat.com>
19946         [BZ #14152]
19947         * math/libm-test.inc (fma_test): Don't always expect underflow
19948         exception.
19950 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19952         [BZ #12416]
19953         * elf/tst-execstack.c: Include stackinfo.h.
19954         (do_test): Adjust test case to ensure that pthread_getattr_np
19955         behaviour remains the same after marking stack executable.
19957 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19959         * sysdeps/unix/sysv/linux/kernel-features.h
19960         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19961         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19962         kernel-features.h.
19963         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19964         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19965         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19966         kernel-features.h.
19967         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19968         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19970 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19972         * configure.in: Define the default includes to being none.
19973         * configure: Regenerated.
19975 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19977         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19978         * sysdeps/x86_64/setjmp.S: Likewise.
19979         * sysdeps/i386/bsd-setjmp.S: Likewise.
19980         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19981         * sysdeps/i386/setjmp.S: Likewise.
19982         * sysdeps/i386/__longjmp.S: Likewise.
19983         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19984         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19986         * include/stap-probe.h: New file.
19987         * configure.in: Handle --enable-systemtap.
19988         * configure: Regenerated.
19989         * config.h.in (USE_STAP_PROBE): New #undef.
19990         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19991         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19992         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19994 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19996         [BZ #13717]
19997         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19998         to 2.4.0 where earlier.
19999         * sysdeps/unix/sysv/linux/configure: Regenerated.
20000         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20001         <kernel-features.h>.
20002         [__ASSUME_32BITUIDS]: Make code unconditional.
20003         [!__ASSUME_32BITUIDS]: Remove conditional code.
20004         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20005         <kernel-features.h>.
20006         [__ASSUME_32BITUIDS]: Make code unconditional.
20007         [!__ASSUME_32BITUIDS]: Remove conditional code.
20008         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20009         [__ASSUME_32BITUIDS]: Make code unconditional.
20010         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20011         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20012         <kernel-features.h>.
20013         [__ASSUME_32BITUIDS]: Make code unconditional.
20014         [!__ASSUME_32BITUIDS]: Remove conditional code.
20015         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20016         <kernel-features.h>.
20017         [__ASSUME_32BITUIDS]: Make code unconditional.
20018         [!__ASSUME_32BITUIDS]: Remove conditional code.
20019         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20020         <kernel-features.h>.
20021         [__ASSUME_32BITUIDS]: Make code unconditional.
20022         [!__ASSUME_32BITUIDS]: Remove conditional code.
20023         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20024         <kernel-features.h>.
20025         [__ASSUME_32BITUIDS]: Make code unconditional.
20026         [!__ASSUME_32BITUIDS]: Remove conditional code.
20027         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20028         <kernel-features.h>.
20029         [__ASSUME_32BITUIDS]: Make code unconditional.
20030         [!__ASSUME_32BITUIDS]: Remove conditional code.
20031         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20032         <kernel-features.h>.
20033         [__ASSUME_32BITUIDS]: Make code unconditional.
20034         [!__ASSUME_32BITUIDS]: Remove conditional code.
20035         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20036         <kernel-features.h>.
20037         [__ASSUME_32BITUIDS]: Make code unconditional.
20038         [!__ASSUME_32BITUIDS]: Remove conditional code.
20039         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20040         <kernel-features.h>.
20041         [__ASSUME_32BITUIDS]: Make code unconditional.
20042         [!__ASSUME_32BITUIDS]: Remove conditional code.
20043         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20044         <kernel-features.h>.
20045         [__ASSUME_32BITUIDS]: Make code unconditional.
20046         [!__ASSUME_32BITUIDS]: Remove conditional code.
20047         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20048         <kernel-features.h>.
20049         [__ASSUME_32BITUIDS]: Make code unconditional.
20050         [!__ASSUME_32BITUIDS]: Remove conditional code.
20051         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20052         <kernel-features.h>.
20053         [__NR_setresgid] (__setresgid): Do not declare.
20054         [__ASSUME_32BITUIDS]: Make code unconditional.
20055         [!__ASSUME_32BITUIDS]: Remove conditional code.
20056         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20057         <kernel-features.h>.
20058         [__NR_setresuid] (__setresuid): Do not declare.
20059         [__ASSUME_32BITUIDS]: Make code unconditional.
20060         [!__ASSUME_32BITUIDS]: Remove conditional code.
20061         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20062         <kernel-features.h>.
20063         [__ASSUME_32BITUIDS]: Make code unconditional.
20064         [!__ASSUME_32BITUIDS]: Remove conditional code.
20065         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20066         <kernel-features.h>.
20067         [__ASSUME_32BITUIDS]: Make code unconditional.
20068         [!__ASSUME_32BITUIDS]: Remove conditional code.
20069         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20070         <kernel-features.h>.
20071         [__ASSUME_32BITUIDS]: Make code unconditional.
20072         [!__ASSUME_32BITUIDS]: Remove conditional code.
20073         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20074         <kernel-features.h>.
20075         [__ASSUME_32BITUIDS]: Make code unconditional.
20076         [!__ASSUME_32BITUIDS]: Remove conditional code.
20077         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20078         <kernel-features.h>.
20079         [__ASSUME_32BITUIDS]: Make code unconditional.
20080         [!__ASSUME_32BITUIDS]: Remove conditional code.
20081         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20082         <kernel-features.h>.
20083         [__ASSUME_32BITUIDS]: Make code unconditional.
20084         [!__ASSUME_32BITUIDS]: Remove conditional code.
20085         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20086         <kernel-features.h>.
20087         [__ASSUME_32BITUIDS]: Make code unconditional.
20088         [!__ASSUME_32BITUIDS]: Remove conditional code.
20089         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20090         <kernel-features.h>.
20091         [__ASSUME_32BITUIDS]: Make code unconditional.
20092         [!__ASSUME_32BITUIDS]: Remove conditional code.
20093         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20094         <kernel-features.h>.
20095         [__ASSUME_32BITUIDS]: Make code unconditional.
20096         [!__ASSUME_32BITUIDS]: Remove conditional code.
20097         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20098         <kernel-features.h>.
20099         [__ASSUME_32BITUIDS]: Make code unconditional.
20100         [!__ASSUME_32BITUIDS]: Remove conditional code.
20101         * sysdeps/unix/sysv/linux/kernel-features.h
20102         (__ASSUME_SETRESUID_SYSCALL): Remove.
20103         (__ASSUME_SETRESGID_SYSCALL): Likewise.
20104         (__ASSUME_32BITUIDS): Likewise.
20105         (__ASSUME_LDT_WORKS): Likewise.
20106         (__ASSUME_O_DIRECTORY): Likewise.
20107         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20108         architecture but not kernel version.
20109         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20110         (__ASSUME_MMAP2_SYSCALL): Likewise.
20111         (__ASSUME_STAT64_SYSCALL): Likewise.
20112         (__ASSUME_IPC64): Likewise.
20113         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20114         <kernel-features.h>.
20115         [__ASSUME_32BITUIDS]: Make code unconditional.
20116         [!__ASSUME_32BITUIDS]: Remove conditional code.
20117         * sysdeps/unix/sysv/linux/opendir.c: Do not include
20118         <kernel-features.h>.
20119         [__ASSUME_O_DIRECTORY]: Make code unconditional.
20120         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20121         132096]: Remove conditional code.
20122         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20123         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20124         <kernel-features.h>.
20125         [__ASSUME_32BITUIDS]: Make code unconditional.
20126         [!__ASSUME_32BITUIDS]: Remove conditional code.
20127         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20128         <kernel-features.h>.
20129         [__ASSUME_32BITUIDS]: Make code unconditional.
20130         [!__ASSUME_32BITUIDS]: Remove conditional code.
20131         * sysdeps/unix/sysv/linux/setegid.c: Do not include
20132         <kernel-features.h>.
20133         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20134         unconditional.
20135         (__setresgid): Do not declare.
20136         [__ASSUME_32BITUIDS]: Make code unconditional.
20137         [!__ASSUME_32BITUIDS]: Remove conditional code.
20138         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20139         <kernel-features.h>.
20140         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20141         unconditional.
20142         (__setresuid): Do not declare.
20143         [__ASSUME_32BITUIDS]: Make code unconditional.
20144         [!__ASSUME_32BITUIDS]: Remove conditional code.
20145         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
20150         <kernel-features.h>.
20151         [__ASSUME_32BITUIDS]: Make code unconditional.
20152         [!__ASSUME_32BITUIDS]: Remove conditional code.
20154 2012-05-25  Richard Henderson  <rth@twiddle.net>
20156         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20157         dl_hwcap to ifunc resolver.
20158         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20159         elf_ifunc_invoke.
20160         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20161         dl_hwcap to ifunc resolver.
20162         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20164 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20166         [BZ #14153]
20167         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20168         for |x| <= 2**-26, not 2**-57.
20169         * math/libm-test.inc (acos_test): Do not allow spurious underflow
20170         exception.
20172 2012-05-24  Jeff Law  <law@redhat.com>
20174         * stdio-common/Makefile (tests): Add bug25.
20175         * stdio-common/bug25.c: New test.
20177 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20179         [BZ #13576]
20180         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20181         multiple of MALLOC_ALIGNMENT in size.
20182         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20184 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20186         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20187         Require >= 256.
20188         (FILENAME_MAX): Use macro-int-constant.
20189         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
20190         (_IOFBF): Use macro-int-constant.
20191         (_IOLBF): Likewise.
20192         (_IONBF): Likewise.
20193         (SEEK_CUR): Likewise.
20194         (SEEK_END): Likewise.
20195         (SEEK_SET): Likewise.
20196         (TMP_MAX): Likewise.
20197         (EOF): Use macro-int-constant.  Require < 0.
20198         (NULL): Use macro-constant.  Require == 0.
20199         (stdin): Require type to be FILE *.
20200         (stdout): Likewise.
20201         (stderr): Likewise.
20202         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20203         macro-int-constant.
20204         (EXIT_SUCCESS): Likewise.
20205         (NULL): Use macro-constant.  Require == 0.
20206         (RAND_MAX): Use macro-int-constant.
20207         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20208         [C99-based standards] (strtof): Require function.
20209         [C99-based standards] (strtold): Likewise.
20210         [C99-based standards] (strtoll): Likewise.
20211         [C99-based standards] (strtoull): Likewise.
20212         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20213         [ISO || ISO99 || ISO11] (limits.h): Likewise.
20214         [ISO || ISO99 || ISO11] (math.h): Likewise.
20215         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20216         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20217         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20219 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
20221         [BZ #14132]
20222         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20223         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20224         * intl/dgettext.c (DCGETTEXT): Likewise.
20225         * intl/gettext.c (DCGETTEXT): Likewise.
20226         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20227         * posix/regex_internal.h (gettext): Likewise.
20228         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20229         Remove declaration.
20230         * include/argz.h (__argz_count_internal)
20231         (__argz_stringify_internal): Remove declaration.
20232         (__argz_count, __argz_stringify): Declare hidden proto.
20233         * intl/dcgettext.c: Remove use of INTDEF.
20234         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20235         * string/argz-stringify.c: Likewise.
20236         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20237         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20238         Declare hidden proto.
20239         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20240         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20241         Declare hidden proto.
20242         * include/stdio.h (__asprintf_internal): Don't declare.
20243         (__asprintf): Don't define as macro.  Declare hidden proto.
20244         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20245         (__fsetlocking): Declare hidden proto.
20246         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20247         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20248         hidden proto.
20249         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20250         (_IO_setlinebuf): Remove use of INTUSE.
20251         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20252         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20253         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20254         Remove declaration.
20255         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20256         (_IO_do_flush): Remove use of INTUSE.
20257         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20258         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20259         (_IO_adjust_column, _IO_least_wmarker)
20260         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20261         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20262         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20263         (_IO_default_doallocate, _IO_wdefault_doallocate)
20264         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20265         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20266         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20267         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20268         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20269         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20270         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20271         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20272         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20273         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20274         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20275         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20276         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20277         proto.
20278         (_IO_flush_all_internal, _IO_adjust_column_internal)
20279         (_IO_default_uflow_internal, _IO_default_finish_internal)
20280         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20281         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20282         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20283         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20284         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20285         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20286         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20287         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20288         (_IO_file_close_internal, _IO_file_close_it_internal)
20289         (_IO_file_underflow_internal, _IO_file_overflow_internal)
20290         (_IO_file_init_internal, _IO_file_attach_internal)
20291         (_IO_file_fopen_internal, _IO_file_read_internal)
20292         (_IO_file_sync_internal, _IO_file_seek_internal)
20293         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20294         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20295         (_IO_str_underflow_internal, _IO_str_overflow_internal)
20296         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20297         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20298         (_IO_list_all_internal, _IO_link_in_internal)
20299         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20300         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20301         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20302         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20303         (_IO_do_write_internal, _IO_padn_internal)
20304         (_IO_getline_info_internal, _IO_getline_internal)
20305         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20306         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20307         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20308         (_IO_vfscanf_internal, _IO_vfprintf_internal)
20309         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20310         (_IO_init_internal, _IO_un_link_internal): Don't declare.
20311         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20312         with libc_hidden_ver, remove use of INTUSE.
20313         * libio/genops.c: Likewise.
20314         * libio/freopen.c: Likewise.
20315         * libio/freopen64.c: Likewise.
20316         * libio/iofclose.c: Likewise.
20317         * libio/iofdopen.c: Likewise.
20318         * libio/iofflush.c: Likewise.
20319         * libio/iofflush_u.c: Likewise.
20320         * libio/iofgets.c: Likewise.
20321         * libio/iofgets_u.c: Likewise.
20322         * libio/iofopen.c: Likewise.
20323         * libio/iofopncook.c: Likewise.
20324         * libio/iofread.c: Likewise.
20325         * libio/iofread_u.c: Likewise.
20326         * libio/ioftell.c: Likewise.
20327         * libio/iofwrite.c: Likewise.
20328         * libio/iogetline.c: Likewise.
20329         * libio/iogets.c: Likewise.
20330         * libio/iogetwline.c: Likewise.
20331         * libio/iopadn.c: Likewise.
20332         * libio/iopopen.c: Likewise.
20333         * libio/ioseekoff.c: Likewise.
20334         * libio/ioseekpos.c: Likewise.
20335         * libio/iosetbuffer.c: Likewise.
20336         * libio/iosetvbuf.c: Likewise.
20337         * libio/ioungetc.c: Likewise.
20338         * libio/ioungetwc.c: Likewise.
20339         * libio/iovdprintf.c: Likewise.
20340         * libio/iovsprintf.c: Likewise.
20341         * libio/iovsscanf.c: Likewise.
20342         * libio/memstream.c: Likewise.
20343         * libio/obprintf.c: Likewise.
20344         * libio/oldfileops.c: Likewise.
20345         * libio/oldiofclose.c: Likewise.
20346         * libio/oldiofdopen.c: Likewise.
20347         * libio/oldiofopen.c: Likewise.
20348         * libio/oldiopopen.c: Likewise.
20349         * libio/oldstdfiles.c: Likewise.
20350         * libio/putc.c: Likewise.
20351         * libio/setbuf.c: Likewise.
20352         * libio/setlinebuf.c: Likewise.
20353         * libio/stdfiles.c: Likewise.
20354         * libio/strops.c: Likewise.
20355         * libio/vasprintf.c: Likewise.
20356         * libio/vscanf.c: Likewise.
20357         * libio/vsnprintf.c: Likewise.
20358         * libio/vswprintf.c: Likewise.
20359         * libio/wfiledoalloc.c: Likewise.
20360         * libio/wfileops.c: Likewise.
20361         * libio/wgenops.c: Likewise.
20362         * libio/wmemstream.c: Likewise.
20363         * libio/wstrops.c: Likewise.
20364         * libio/__fpurge.c: Likewise.
20365         * libio/__fsetlocking.c: Likewise.
20366         * assert/assert.c: Likewise.
20367         * debug/fgets_chk.c: Likewise.
20368         * debug/fgets_u_chk.c: Likewise.
20369         * debug/fread_chk.c: Likewise.
20370         * debug/fread_u_chk.c: Likewise.
20371         * debug/gets_chk.c: Likewise.
20372         * debug/obprintf_chk.c: Likewise.
20373         * debug/vasprintf_chk.c: Likewise.
20374         * debug/vdprintf_chk.c: Likewise.
20375         * debug/vsnprintf_chk.c: Likewise.
20376         * debug/vsprintf_chk.c: Likewise.
20377         * malloc/mtrace.c: Likewise.
20378         * misc/error.c: Likewise.
20379         * misc/syslog.c: Likewise.
20380         * stdio-common/asprintf.c: Likewise.
20381         * stdio-common/fxprintf.c: Likewise.
20382         * stdio-common/getw.c: Likewise.
20383         * stdio-common/isoc99_fscanf.c: Likewise.
20384         * stdio-common/isoc99_scanf.c: Likewise.
20385         * stdio-common/isoc99_vfscanf.c: Likewise.
20386         * stdio-common/isoc99_vscanf.c: Likewise.
20387         * stdio-common/isoc99_vsscanf.c: Likewise.
20388         * stdio-common/printf-prs.c: Likewise.
20389         * stdio-common/printf_fp.c: Likewise.
20390         * stdio-common/printf_fphex.c: Likewise.
20391         * stdio-common/printf_size.c: Likewise.
20392         * stdio-common/putw.c: Likewise.
20393         * stdio-common/scanf.c: Likewise.
20394         * stdio-common/sprintf.c: Likewise.
20395         * stdio-common/tmpfile.c: Likewise.
20396         * stdio-common/vfprintf.c: Likewise.
20397         * stdio-common/vfscanf.c: Likewise.
20398         * stdlib/strfmon_l.c: Likewise.
20399         * sunrpc/openchild.c: Likewise.
20400         * sunrpc/xdr_stdio.c: Likewise.
20401         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20402         * sysdeps/mach/hurd/tmpfile.c: Likewise.
20404 2012-05-24  Roland McGrath  <roland@hack.frob.com>
20406         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20408         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20409         in the third column, to generate for the shared library an IFUNC
20410         that uses _dl_vdso_vsym.
20411         * Makerules (COMPILE.c, compile-stdin.c): New variables.
20412         * Makeconfig (object-suffixes-noshared): New variable.
20414         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20415         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20416         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20417         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20419         [BZ #14132]
20420         * include/sys/time.h (__gettimeofday): Remove macro.
20421         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20422         * time/gettimeofday.c (__gettimeofday): Remove #undef.
20423         Remove INTDEF.
20424         (__gettimeofday): Add libc_hidden_def.
20425         (gettimeofday): Add libc_hidden_weak.
20426         * sysdeps/mach/gettimeofday.c: Likewise.
20427         * sysdeps/posix/gettimeofday.c: Likewise.
20428         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20429         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20430         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20431         (__gettimeofday_internal): Remove strong_alias.
20432         (__gettimeofday): Add libc_hidden_def.
20433         (gettimeofday): Add libc_hidden_weak.
20434         * sysdeps/unix/syscalls.list (gettimeofday):
20435         Remove __gettimeofday_internal alias.
20437 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20438             H.J. Lu  <hongjiu.lu@intel.com>
20440         [BZ #12495]
20441         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20442         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20443         (largebin_index_32_big): New.
20444         (largebin_index): Use it for 16-byte alignment.
20445         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20446         correction with front_misalign.
20448 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20452         Likewise.
20453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20454         Likewise.
20455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20456         Likewise.
20457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20458         Likewise.
20459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20460         Likewise.
20461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20462         Likewise.
20463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20464         Likewise.
20465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20466         Likewise.
20467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20468         Likewise.
20469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20470         Likewise.
20471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20472         Likewise.
20473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20474         Likewise.
20476         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20477         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20479 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20481         [BZ #10846]
20482         [BZ #14036]
20483         * math/libm-test.inc (exp_test): Add test from bug 14036.
20484         (pow_test): Add test from bug 10846.
20486         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20487         and other flags.
20488         (special_function): Do not include flags in test name.
20489         (parse_args): Likewise.
20490         * sysdeps/i386/fpu/libm-test-ulps: Update.
20491         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20492         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20493         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20496         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20497         exceptions.
20498         * math/libm-test.inc ("Philosophy"): Update comment about
20499         exception testing.
20500         (UNDERFLOW_EXCEPTION): New macro.
20501         (UNDERFLOW_EXCEPTION_OK): Likewise.
20502         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20503         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20504         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20505         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20506         (INVALID_EXCEPTION_OK): Update value.
20507         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20508         (OVERFLOW_EXCEPTION_OK): Likewise.
20509         (IGNORE_ZERO_INF_SIGN): Likewise.
20510         (test_exceptions): Handle underflow exceptions.
20511         (acos_test): Update for underflow exception expectations.
20512         (cexp_test): Likewise.
20513         (clog_test): Likewise.
20514         (clog10_test): Likewise.
20515         (csqrt_test): Likewise.
20516         (ctan_test): Likewise.
20517         (ctanh_test): Likewise.
20518         (exp_test): Likewise.
20519         (exp10_test): Likewise.
20520         (exp2_test): Likewise.
20521         (expm1_test): Likewise.
20522         (fma_test): Likewise.
20523         (j0_test): Likewise.
20524         (jn_test): Likewise.
20525         (nexttoward_test): Likewise.
20526         (pow_test): Likewise.
20527         (scalbn_test): Likewise.
20528         (scalbln_test): Likewise.
20529         (tan_test): Likewise.
20530         (y1_test): Likewise.
20531         * sysdeps/i386/fpu/libm-test-ulps: Update.
20532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20534 2012-05-23  David S. Miller  <davem@davemloft.net>
20536         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20537         (__libc_sigaction): Remove unused local variables.
20539 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20541         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20543 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20545         mktime: avoid signed integer overflow
20546         * time/mktime.c (__mktime_internal): Do not mishandle the case
20547         where diff == INT_MIN.
20549         mktime: simplify computation of average
20550         * time/mktime.c (ranged_convert): Use new time_t_avg function
20551         instead of rolling our own (probably-slower) code.
20553         mktime: do not assume signed right shift propagates sign bit
20554         * time/mktime.c (isdst_differ): New static function.
20555         (__mktime_internal): No need to normalize tm_isdst now.
20556         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20557         tm_isdst values.
20559         mktime: merge another wrapv change from gnulib
20560         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20561         from some compilers.
20563         mktime: remove incorrect attempt at unusual arithmetics
20564         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20565         The code didn't really work on such machines anyway.
20566         (TYPE_MINIMUM): Assume two's complement.
20567         (twos_complement_arithmetic): Verify that long_int and time_t
20568         are two's complement (or unsigned, in the latter case).
20570         mktime: check signed shifts on long_int and time_t, too
20571         * time/mktime.c (SHR): Check that shifts work as desired
20572         on the types long_int and time_t too, as SHR is used on
20573         such types.
20575         mktime: do not assume 'long' is wide enough
20576         * time/mktime.c (verify): Move decl up.
20577         (long_int): New type.
20578         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20579         to remove assumption in the code that 'long' is wide enough to
20580         store year values.  This assumption is not true on x32 and on
20581         some non-glibc platforms.
20583         mktime: merge wrapv change from gnulib
20584         * time/mktime.c (WRAPV): New macro.
20585         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20586         (guess_time_tm, __mktime_internal): Do not assume that signed
20587         integer overflow wraps around; modern compilers generate code
20588         where this assumption is no longer valid.
20590 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20592         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20593         Replace "jmp L(pseudo_end)" with "ret".
20594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20595         Likewise.
20597 2012-05-23  Andreas Jaeger  <aj@suse.de>
20599         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20600         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20602 2012-05-23  Andreas Jaeger  <aj@suse.de>
20603             Maximilian Attems  <max@stro.at>
20605         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20606         New macros.
20608 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20610         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20611         code so that pseudo_end is just ret and the stack pointer is
20612         correct also for static library in error case.
20614 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20616         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20617         move to syscalls.list.
20618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20623         * manual/install.texi (Running make install): Do not mention Linux
20624         kernel version for which pt_chown is not needed.
20625         (Linux): Do not mention problems with nscd with 2.0 kernels.
20626         * INSTALL: Regenerated.
20628 2012-05-23  Andreas Jaeger  <aj@suse.de>
20630         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20631         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20632         macro.
20633         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20634         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20635         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20636         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20637         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20638         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20639         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20640         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20641         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20642         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20643         * sysdeps/unix/sysv/linux/bits/in.h
20644         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20646 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20648         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20649         (PREPARE_VERSION): Just use assert instead, it will be elided
20650         under [NDEBUG] anyway.
20652 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20654         * sysdeps/unix/sysv/linux/Makefile: Include
20655         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20656         (sysdep_routines): Remove sysctl.
20657         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20658         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20659         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20660         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20661         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20663 2012-05-22  Andreas Jaeger  <aj@suse.de>
20665         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20666         that pseudo_end is just ret and the stack pointer is correct also
20667         for static library in error case.
20669 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20671         [BZ #14122]
20672         * nss/nsswitch.c (defconfig_entries): New variable.
20673         (__nss_database_lookup): Don't leak defconfig entries.
20674         (nss_parse_service_list): Don't leak on error paths.
20675         (free_database_entries): New function.
20676         (free_defconfig): New function.
20677         (free_mem): Move common code to free_database_entries.
20679 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20681         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20682         Add arch_prctl.
20683         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20685         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20686         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20687         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20688         New macro.
20689         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20690         (INTERNAL_SYSCALL_TYPES): Likewise.
20691         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20692         (LOAD_REGS_TYPES_[1-6]): Likewise.
20693         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20694         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20696 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20698         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20699         copysignl for GLIBC_2_0.
20700         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20701         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20703         logbl for GLIBC_2_0.
20704         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20705         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20707 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20709         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20710         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20712         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20713         Use "neg %eax".
20715         * time/mktime.c: Update copyright years.
20717 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20719         mktime: merge comment-quoting-style change from gnulib
20720         * time/mktime.c: Quote 'like this' in comments.
20721         The GNU coding standards suggest that we no longer quote `like this',
20722         as "`" and "'" are typically rendered asymmetrically nowadays.
20723         The typical gnulib style is to quote 'like this' when quoting
20724         code, and "like this" when quoting English.
20726         * time/mktime.c (compile-command): Add "-I.".
20728         mktime: merge mktime-internal.h change from gnulib
20729         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20731         mktime: merge time_r change from gnulib
20732         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20734         mktime: merge DEBUG change from gnulib
20735         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20736         case system <time.h> has a #define.
20738         mktime: merge <sys/types.h> change from gnulib
20739         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20740         since <time.t> is now guaranteed to define time_t.
20742         mktime: merge HAVE_CONFIG_H change from gnulib
20743         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20745 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20748         Use "neg %eax".
20750         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20751         __rlim_t cast.
20752         (struct rusage): Use anonymous union to pad each field to
20753         __syscall_slong_t.
20755 2012-05-21  David S. Miller  <davem@davemloft.net>
20757         * Makefules (o-iterator): Remove .s cases.
20758         (compile-command.s): Delete.
20759         (COMPILE.s): Delete.
20760         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20762 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20764         * configure.in (libc_cv_predef_stack_protector): Only consider
20765         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20766         * configure: Regenerated.
20768 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20771         New macro.  Use R*LP on int and pointer.
20772         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20773         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20774         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20775         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20777         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20778         [__WORDSIZE_TIME64_COMPAT32] instead of
20779         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20780         (struct utmp): Likewise.
20781         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20782         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20783         Renamed to ...
20784         (__WORDSIZE_TIME64_COMPAT32): This.
20785         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20786         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20787         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20788         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20789         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20790         (__WORDSIZE_TIME64_COMPAT32): New macro.
20792 2012-05-21  Andreas Jaeger  <aj@suse.de>
20794         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20795         only if [SHARED]. Add prototype for __wcschr_ia32.
20797 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20799         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20800         of %rbp unmolested in the jmp_buf while mangling the low bits.
20801         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20802         unmolested high bits of %rbp while demangling the low bits.
20803         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20805 2012-05-21  Andreas Jaeger  <aj@suse.de>
20807         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20808         * sunrpc/svc_simple.c: Use it for registerrpc.
20809         * sunrpc/xcrypt.c: Use it for passwd2des.
20811         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20813 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20815         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20816         Don't define if [__SYSCALL_WORDSIZE != 32].
20817         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20818         New macro.
20820 2012-05-21  Bruno Haible  <bruno@clisp.org>
20821             Andreas Jaeger  <aj@suse.de>
20823         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20824         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20825         inptr and inend for must_buffer_ch.
20826         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20827         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20828         * stdio-common/Makefile (tests): Remove bug15.
20829         (bug15-ENV): Remove macro.
20830         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20831         anymore.
20833 2012-05-19  Andreas Jaeger  <aj@suse.de>
20834             Roland McGrath  <roland@hack.frob.com>
20836         * manual/contrib.texi: Completely rewritten. It contains now an
20837         alphabetical list of contributors and their contributions.
20839 2012-05-21  Richard Henderson  <rth@twiddle.net>
20841         * misc/getauxval.c (__getauxval): Use unsigned long int.
20842         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20843         (getauxval): Use unsigned long int.
20845 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20847         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20849 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20851         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20852         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20853         __alignof__ (long double).
20855 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20859 2012-05-20  Richard Henderson  <rth@twiddle.net>
20861         * misc/getauxval.c: New file.
20862         * misc/sys/auxv.h: New file.
20863         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20864         (routines): Add getauxval.
20865         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20866         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20867         * elf/dl-sysdep.c (_dl_auxv): Remove.
20868         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20869         * elf/dl-support.c (_dl_auxv): New variable.
20870         (_dl_aux_init): Initialize it.
20871         * manual/startup.texi (Auxiliary Vector): New node.
20872         * sysdeps/generic/bits/hwcap.h: New file.
20873         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20874         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20875         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20876         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20877         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20878         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20880         Update.
20881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20884         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20890 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20894 2012-05-19  David S. Miller  <davem@davemloft.net>
20896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20898 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20900         [BZ #14123]
20901         * math/s_ccosh.c: Include <float.h>
20902         (__ccosh): Avoid internal overflow calculating sinh and cosh
20903         values before multiplying by sin and cos values.
20904         * math/s_ccoshf.c: Likewise.
20905         * math/s_ccoshl.c: Likewise.
20906         * math/s_csin.c: Likewise.
20907         * math/s_csinf.c: Likewise.
20908         * math/s_csinl.c: Likewise.
20909         * math/s_csinh.c: Likewise.
20910         * math/s_csinhf.c: Likewise.
20911         * math/s_csinhl.c: Likewise.
20912         * math/libm-test.inc (ccos_test): Add more tests.
20913         (ccosh_test): Likewise.
20914         (csin_test): Likewise.
20915         (csinh_test): Likewise.
20916         * sysdeps/i386/fpu/libm-test-ulps: Update.
20917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20919 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20921         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20922         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20924         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20926 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20928         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20929         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20930         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20931         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20932         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20933         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20934         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20935         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20936         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20937         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20938         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20939         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20940         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20941         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20942         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20943         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20944         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20945         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20946         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20947         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20948         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20949         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20950         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20951         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20952         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20953         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20954         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20955         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20956         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20957         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20958         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20960 2012-05-18  Andreas Jaeger  <aj@suse.de>
20962         * csu/.gitignore: Delete.
20964 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20966         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20967         (timex): Use __syscall_slong_t.
20969 2012-05-18  Andreas Jaeger  <aj@suse.de>
20970             Carlos O'Donell  <carlos_odonell@mentor.com>
20972         * manual/install.texi (Configuring and compiling): Update
20973         description about files modified in the source directory.
20974         * INSTALL: Regenerated.
20976 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20978         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20979         value.  Use "or" to set return value to -1.
20980         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20981         negate return value.
20983 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20985         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20986         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20987         failure if the compiler has Graphite support disabled.
20988         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20989         Likewise.
20990         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20991         CFLAGS-memmove.c): Likewise.
20992         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20993         Likewise.
20995 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20997         * sysdeps/x86_64/x32/_itoa.h: New file.
20999         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21000         getdents system call only if kernel and user dirents have the
21001         same d_ino and d_off.
21003         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21004         LLONG_MAX != LONG_MAX.
21005         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21006         (_fitoa_word): Likewise.
21008         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21009         years.
21010         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21011         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21012         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21014         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21015         include <bits/wordsize.h>.  Check __x86_64__ instead of
21016         __WORDSIZE.
21017         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21018         if __x86_64__ is defined.  Use anonymous union on fpstate.
21020         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21021         anonymous union.
21023 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
21025         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21026         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21027         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21028         Refer to _rtld_local_ro instead of _rtld_global_ro.
21029         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21030         Likewise.
21031         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21032         Likewise.
21033         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21034         Likewise.
21035         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21036         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21037         of _rtld_global, and rtld_progname instead of _dl_argv[0].
21039         * sysdeps/powerpc/powerpc32/dl-machine.c
21040         (__elf_machine_runtime_setup) [PROF]: Don't reference
21041         _dl_prof_resolve.
21043 2012-05-18  Andreas Jaeger  <aj@suse.de>
21045         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21046         function only available for GCCs before 3.4 since GCC 3.4
21047         introduced a builtin.
21048         (lrint): Likewise.
21049         (llrintf): Likewise.
21050         (llrint): Likewise.
21051         (fmaxf): Likewise.
21052         (fmax): Likewise.
21053         (fminf): Likewise.
21054         (fmin): Likewise.
21055         (rint): Likewise.
21056         (rintf): Likewise.
21057         (nearbyint): Likewise.
21058         (nearbyintf): Likewise.
21059         (ceil): Likewise.
21060         (ceilf): Likewise.
21061         (floor): Likewise.
21062         (floorf): Likewise.
21064 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21066         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21067         on both fields and cast pointer to __syscall_ulong_t.
21069         * bits/types.h (__fsword_t): New type.
21070         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21071         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21072         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21073         (__FSWORD_T_TYPE): Likewise.
21074         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21075         (__FSWORD_T_TYPE): Likewise.
21076         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21077         (__FSWORD_T_TYPE): Likewise.
21078         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21079         (__FSWORD_T_TYPE): Likewise.
21080         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21081         __SWORD_TYPE with __fsword_t.
21082         (statfs64): Likewise.
21084 2012-05-17  David S. Miller  <davem@davemloft.net>
21086         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21088 2012-05-17  Andreas Jaeger  <aj@suse.de>
21090         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21091         warning.
21093 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21095         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21097 2012-05-17  Andreas Jaeger  <aj@suse.de>
21099         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21100         when it is used.
21102 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21104         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21106 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21108         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21109         * sysdeps/x86_64/tst-mallocalign1.c: New file.
21111 2012-05-17  Andreas Jaeger  <aj@suse.de>
21112             Carlos O'Donell  <carlos_odonell@mentor.com>
21114         [BZ #14059]
21115         * sysdeps/x86_64/multiarch/init-arch.h
21116         (bit_YMM_Usable): Rename to...
21117         (bit_AVX_Usable): ... this.
21118         (bit_FMA4_Usable): New macro.
21119         (bit_XMM_state): New macro.
21120         (bit_YMM_state): New macro.
21121         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21122         [__ASSEMBLER__] (index_AVX_Usable): ... this.
21123         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21124         (CPUID_OSXSAVE): New macro.
21125         (CPUID_AVX): New macro.
21126         (CPUID_FMA4): New macro.
21127         (index_YMM_Usable): Rename to...
21128         (index_AVX_Usable): ... this.
21129         (HAS_AVX): Use HAS_ARCH_FEATURE.
21130         (HAS_FMA4): Likewise.
21131         (HAS_YMM_USABLE): Remove.
21132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21133         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21134         are present.
21135         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21136         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21137         * sysdeps/x86_64/multiarch/Makefile: Likewise.
21138         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21139         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21141 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21143         * math/libm-test.c: Support platforms without multiple rounding modes.
21144         * math/bug-nextafter.c: Support platforms without FP exceptions.
21145         * math/bug-nexttoward.c: Likewise.
21146         * math/test-fenv.c: Likewise.
21147         * math/test-misc.c: Likewise.
21148         * stdlib/bug-getcontext.c: Likewise.
21150 2012-05-17  Andreas Jaeger  <aj@suse.de>
21152         * manual/examples/search.c (critter_cmp): Change signature to
21153         avoid warnings.
21154         * manual/string.texi (Collation Functions): Likewise.
21156 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21158         * bits/types.h: Fold copyright years.
21159         * bits/typesizes.h: Likewise.
21160         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21162         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21163         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21164         * time/time.h: Likewise.
21166 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
21168         [BZ #208]
21169         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21170         in instead of returning them.  Return void.
21171         (__libc_mallinfo): Accumulate over all arenas.
21172         (__malloc_stats): Adjust for change in int_mallinfo interface.
21174 2012-05-16  Roland McGrath  <roland@hack.frob.com>
21176         [BZ #10375]
21177         * configure.in (NM): Add AC_CHECK_TOOL for it.
21178         (libc_extra_cflags): New substituted variable.
21179         Check for -fstack-protector being used implicitly.
21180         * configure: Regenerated.
21181         * config.make.in (config-extra-cflags): New variable,
21182         gets @libc_extra_cflags@.
21183         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21185         [BZ #10375]
21186         * configure.in: Check for _FORTIFY_SOURCE being predefined.
21187         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21188         * configure: Regenerated.
21189         * config.make.in (CPPUNDEFS): New substituted variable.
21190         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21191         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21192         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21194 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21196         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21197         (mq_attr): Use __syscall_slong_t.
21199 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21201         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21202         Check __x86_64__ instead of __WORDSIZE.
21203         (_STAT_VER_LINUX): Likewise.
21204         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
21205         __syscall_ulong_t and __syscall_slong_t.
21206         (stat64): Likewise.
21208 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21210         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21212 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21214         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21216 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21218         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21219         __syscall_ulong_t.
21221         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21222         include <bits/wordsize.h>.  Check __x86_64__ instead of
21223         __WORDSIZE.
21224         (greg_t): Use "__extension__ long long int" if __x86_64__ is
21225         defined.
21226         (mcontext_t): Replace "unsigned long" with "unsigned long long".
21228         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21229         include <bits/wordsize.h>.  Check __x86_64__ instead of
21230         __WORDSIZE.
21231         (user_regs_struct): Use "__extension__ unsigned long long"
21232         instead of "unsigned long" if __x86_64__ is defined.
21233         (user): Likewise.  Pad after pointer field if __ILP32__ is
21234         defined.
21236 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
21238         * configure.in (makeinfo): Require version 4.5 or later.  Allow
21239         versions 5 to 9.
21240         * configure: Regenerated.
21241         * manual/install.texi (texinfo): Increase version requirement to
21242         4.5 or later.
21243         * INSTALL: Regenerated.
21245         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21247 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21249         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21251         * sysdeps/x86_64/x32/ffs.c: New file.
21253         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21254         __syscall_ulong_t.
21255         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21256         defined.  Use __syscall_ulong_t.
21257         (shminfo): Use __syscall_ulong_t.
21258         (shm_info): Likewise.
21260         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21261         __syscall_ulong_t.
21263         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21264         <bits/wordsize.h>.
21265         (msgqnum_t): Use __syscall_ulong_t.
21266         (msglen_t): Likewise.
21267         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
21268         __syscall_ulong_t.
21270         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21271         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21273         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21275         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21276         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21278         * sysvipc/sys/msg.h (msgbuf): Replace long int with
21279         __syscall_slong_t.
21281         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21282         include <bits/wordsize.h>.  Check __x86_64__ instead of
21283         __WORDSIZE.
21285         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21286         "unsigned long long int" if __x86_64__ is defined.
21287         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21289         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21290         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21291         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21293         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21294         <stdint.h>.
21295         (GET_PC): Cast to uintptr_t first.
21296         (GET_FRAME): Likewise.
21297         (GET_STACK): Likewise.
21299         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21300         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21301         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21302         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21303         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21304         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21305         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21306         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21307         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21308         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21309         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21310         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21311         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21312         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21313         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21314         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21315         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21316         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21317         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21318         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21319         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21320         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21321         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21322         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21323         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21324         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21325         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21326         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21327         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21329 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
21331         * Makerules (+depfiles): Also collect depfiles from .oS in
21332         $(extra-objs).
21333         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21334         .oS, $(libnldbl-routines)).
21336         * Makerules (native-compile-mkdep-flags): Define.
21337         * sunrpc/Makefile (extra-objs): Add $(addprefix
21338         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21339         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21340         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
21341         calling $(make-target-directory).
21343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21345         * bits/types.h (__snseconds_t): Removed.
21346         * time/time.h (struct timespec): Replace __snseconds_t with
21347         __syscall_slong_t.
21348         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21349         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21350         Likewise.
21351         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21352         (__SNSECONDS_T_TYPE): Likewise.
21353         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21354         (__SNSECONDS_T_TYPE): Likewise.
21355         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21356         (__SNSECONDS_T_TYPE): Likewise.
21358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21360         * sysdeps/mach/hurd/bits/typesizes.h
21361         (__SYSCALL_SLONG_TYPE): New macro.
21362         (__SYSCALL_ULONG_TYPE): Likewise.
21364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21366         * bits/types.h (__syscall_slong_t): New type.
21367         (__syscall_ulong_t): Likewise.
21369         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21370         (__SYSCALL_ULONG_TYPE): Likewise.
21371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21372         (__SYSCALL_SLONG_TYPE): Likewise.
21373         (__SYSCALL_ULONG_TYPE): Likewise.
21374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21375         (__SYSCALL_SLONG_TYPE): Likewise.
21376         (__SYSCALL_ULONG_TYPE): Likewise.
21377         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21378         (__SYSCALL_SLONG_TYPE): Likewise.
21379         (__SYSCALL_ULONG_TYPE): Likewise.
21381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21383         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21384         Add sigaltstack-offsets.sym.
21385         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21386         <sigaltstack-offsets.h>.
21387         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
21388         longjmp_msg pointer.
21389         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
21390         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21391         signal stack.
21392         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21394 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21396         * elf/stackguard-macros.h: Remove file.
21397         * sysdeps/generic/stackguard-macros.h: New file.
21398         * sysdeps/i386/stackguard-macros.h: Likewise.
21399         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21400         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21401         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21402         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21403         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21404         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21405         * sysdeps/x86_64/stackguard-macros.h: Likewise.
21406         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21407         <elf/stackguard-macros.h>.
21409         [BZ #14109]
21410         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21411         __aligned__ in attribute.
21412         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21413         (gregset_t): Likewise.
21415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21417         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21418         * sysdeps/x86_64/64/Implies-after: Here.  New file.
21419         * sysdeps/x86_64/x32/Implies-after: New file.
21421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21423         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21424         and access return value for _dl_profile_fixup.  Use R10_LP to
21425         load frame size.
21427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21429         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21433         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21434         * sysdeps/x86_64/x32/sysdep.h: New file.
21436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21438         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21439         * sysdeps/x86_64/setjmp.S: Likewise.
21441 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21443         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21444         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21445         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21446         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21447         remove unused global constant.
21449 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21451         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21452         include of <not-cancel.h>.
21454 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21456         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21458 2012-05-15  Jeff Law  <law@redhat.com>
21459             Andreas Jaeger  <aj@suse.de>
21461         [BZ #13594]
21462         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21463         out from...
21464         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21465         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21466         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21467         code changing __hst_map_handle.map.
21469 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21471         * configure.in (sysnames): Look for Implies-before and Implies-after
21472         files.
21473         * configure: Regenerated.
21475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21477         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21478         8-byte data alignment with LP_SIZE alignment.
21480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21482         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21483         into R10_LP.
21485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21487         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21491         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21492         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21493         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21494         Likewise.
21495         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21499         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21500         (stackinfo_sub_sp): Likewise.
21502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21504         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21505         RAX_LP.
21507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21509         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21510         into R*_LP.
21512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21514         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21515         sizes into R*_LP.
21517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21519         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21523         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21524         into R11_LP and load __x86_64_shared_cache_size_half into
21525         R8_LP.
21527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21529         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21530         R8_LP.
21532 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21534         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21535         logb for POWER7.
21536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21537         logbf for POWER7.
21538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21539         logbl for POWER7.
21540         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21541         powerpc32/power7/fpu/s_logb.c via #include.
21542         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21543         powerpc32/power7/fpu/s_logbf.c via #include.
21544         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21545         powerpc32/power7/fpu/s_logbl.c via #include.
21547 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21549         * README.libm: Remove file.
21551 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21553         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21554         count for x32.  Use R*_LP and omit operand-size suffix.
21556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21558         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21559         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21560         * sysdeps/x86_64/x32/shlib-versions: New file.
21562 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21564         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21565         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21566         Use _dl_fatal_printf instead.
21568 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21570         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21571         set if not set by the user.  Do not allow for being unset.
21572         * sysdeps/unix/sysv/linux/configure: Regenerated.
21574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21576         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21577         the `q' suffix from lea and replace .quad with ASM_ADDR.
21579 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21582         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21583         instead of $17.
21584         (PTR_DEMANGLE): Likewise.
21586 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21588         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21589         (LP_OP): Likewise.
21590         (ASM_ADDR): Likewise.
21591         (RAX_LP): Likewise.
21592         (RBP_LP): Likewise.
21593         (RBX_LP): Likewise.
21594         (RCX_LP): Likewise.
21595         (RDI_LP): Likewise.
21596         (RSI_LP): Likewise.
21597         (RSP_LP): Likewise.
21598         (R8_LP): Likewise.
21599         (R9_LP): Likewise.
21600         (R10_LP): Likewise.
21601         (R10_LP): Likewise.
21602         (R11_LP): Likewise.
21603         (R12_LP): Likewise.
21604         (R13_LP): Likewise.
21605         (R14_LP): Likewise.
21606         (R15_LP): Likewise.
21608 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21610         * sysdeps/x86_64/x32/dl-machine.h: New file.
21612 2012-05-14  Andreas Jaeger  <aj@suse.de>
21614         * manual/Makefile (subdir): Remove export of subdir.
21615         (all): Remove target.
21616         (.PHONY): Remove all from list.
21617         (mkinstalldirs): Remove.
21618         (.PHONY): Remove installdirs from list.
21619         ($(inst_infodir)/libc.info): Use make-target-directory.
21620         (installdirs): Remove.
21621         (subdir_%): Remove.
21622         (glibc-targets): Remove.
21623         (lib): Remove.
21624         (stubs): Remove.
21625         ($(objpfx)stubs ../po/manual.pot): Remove.
21626         ($(objpfx)stamp%): Remove.
21627         (make-target-directory): Remove.
21628         (subdir_install): Remove.
21629         (routines): Remove.
21630         (aux): Remove.
21631         (sources): Remove.
21632         (objects): Remove.
21633         (headers): Remove.
21635         [BZ #13750]
21636         * manual/.gitignore: Remove, it's not needed anymore.
21637         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21638         all files in it.
21639         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21640         directory.
21641         (texis): Renamed to $(objpfx)texis.
21642         (texis-path): New, contains path to generated files.
21643         (chapters.%): Use texis-path for complete path, add extra argument
21644         libc-texinfo.sh.
21645         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21646         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21647         (summary,texi, stamp-summary): Use complete path of
21648         files. Generate files in build dir.
21649         (dir-add.texi): Build in build dir.
21650         (libm-err.texi,stamp-libm-err): Likewise.
21651         (version.texi, stamp-version): Likewise.
21652         (.%c.texi): Likewise.
21653         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21654         (mostlyclean): Remove target.
21655         (realclean): Remove target.
21656         (generated): Add new variable with contents from mostlyclean and
21657         realclean, remove entries duplicated in common-mostlyclean, add
21658         stamp-libm-err and stamp-version.
21659         (generated-dirs): Add libc directory.
21660         ($(inst_infodir)/libc.info): Install files from build dir.
21662         * manual/install.texi (Configuring and compiling): Adjust since
21663         the info files are not part of the tar ball anymore.
21665 2012-05-14  Andreas Jaeger  <aj@suse.de>
21667         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21668         variable.
21670 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21672         [BZ #13717]
21673         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21674         to 2.2.0 where earlier.
21675         * sysdeps/unix/sysv/linux/configure: Regenerated.
21676         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21677         Remove conditional code.
21678         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21679         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21680         Remove conditional code.
21681         [!__NR_lchown]: Likewise.
21682         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21683         [__NR_lchown]: Likewise.
21684         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21685         comment referencing __ASSUME_LCHOWN_SYSCALL.
21686         * sysdeps/unix/sysv/linux/i386/sigaction.c
21687         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21688         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21689         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21690         Remove conditional code.
21691         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21692         (__protocol_available): Remove #if 0 code.
21693         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21694         conditional code.
21695         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21696         * sysdeps/unix/sysv/linux/kernel-features.h
21697         (__ASSUME_GETCWD_SYSCALL): Don't define.
21698         (__ASSUME_REALTIME_SIGNALS): Likewise.
21699         (__ASSUME_PREAD_SYSCALL): Likewise.
21700         (__ASSUME_PWRITE_SYSCALL): Likewise.
21701         (__ASSUME_POLL_SYSCALL): Likewise.
21702         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21703         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21704         non-SPARC.
21705         (__ASSUME_SIOCGIFNAME): Don't define.
21706         (__ASSUME_MSG_NOSIGNAL): Likewise.
21707         (__ASSUME_SENDFILE): Define unconditionally.
21708         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21709         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21710         conditional code.
21711         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21712         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21713         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21714         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21715         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21716         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21717         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21719         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21722         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21725         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21726         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21728         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21731         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21732         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21734         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21737         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21738         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21740         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21741         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21742         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21743         Remove conditional code.
21744         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21745         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21746         Remove conditional code.
21747         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21748         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21749         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21750         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21751         Remove conditional code.
21752         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21753         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21754         Remove conditional code.
21755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21756         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21757         Remove conditional code.
21758         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21759         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21760         Remove conditional code.
21761         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21762         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21763         Remove conditional code.
21764         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21765         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21766         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21767         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21768         * sysdeps/unix/sysv/linux/sigaction.c
21769         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21770         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21771         * sysdeps/unix/sysv/linux/sigpending.c
21772         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21773         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21774         * sysdeps/unix/sysv/linux/sigprocmask.c
21775         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21776         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21777         * sysdeps/unix/sysv/linux/sigsuspend.c
21778         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21779         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21780         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21781         (__libc_missing_rt_sigs): Remove.
21782         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21783         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21784         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21785         Remove conditional code.
21786         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21787         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21788         return 1.
21789         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21790         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21791         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21792         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21794 2012-05-14  Andreas Jaeger  <aj@suse.de>
21796         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21797         it's not used in glibc.
21798         (__coshm1): Likewise.
21799         (__acosh1p): Likewise.
21800         (__sgn): Likewise.
21802         * manual/string.texi (Copying and Concatenation): Add missing
21803         variable in concat example.
21804         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21806 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21808         [BZ #14103]
21809         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21810         __builtin_clzl with __builtin_clzll.
21812 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21814         [BZ #14104]
21815         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21816         libc_freeres_ptr.
21818 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21820         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21821         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21822         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21823         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21825 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21827         * NEWS: Update ia64 info.
21829 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21831         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21832         used as bcopy.
21834 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21836         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21837         * sysdeps/unix/syscalls.list (dup3): Likewise.
21838         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21839         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21841 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21843         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21844         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21846 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21848         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21849         thread pointer.
21850         (TLS_IE): Use mov/add instead of movq/addq to load thread
21851         pointer.
21852         (TLS_GD_PREFIX): New.
21853         (TLS_GD): Use it.
21855 2012-05-11  David S. Miller  <davem@davemloft.net>
21857         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21858         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21859         (_FPU_SETCW): Likewise.
21861 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21863         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21864         is 32-byte aligned.
21866 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21868         [BZ #11837]
21869         * iconvdata/gb18030.c: Update tables.
21870         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21871         characters specially.
21872         (BODY for TO_LOOP): Add encoding of missing ranges.
21874 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21876         [BZ #13673]
21877         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21878         * sysdeps/mach/hurd/dup3.c: Likewise.
21879         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21880         * sysdeps/powerpc/memmove.c:: Likewise.
21882 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21884         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21885         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21887 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21889         * elf/elf.h (R_X86_64_RELATIVE64): New.
21890         (R_X86_64_NUM): Updated.
21891         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21892         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21893         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21894         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21895         tst-quad1pie tst-quad2pie
21896         (modules-names): Add tst-quadmod1 tst-quadmod2.
21897         ($(objpfx)tst-quad1): New dependency.
21898         ($(objpfx)tst-quad2): Likewise.
21899         ($(objpfx)tst-quad1pie): Likewise.
21900         ($(objpfx)tst-quad2pie): Likewise.
21901         * sysdeps/x86_64/tst-quad1.c: New file.
21902         * sysdeps/x86_64/tst-quad1pie.c: New file.
21903         * sysdeps/x86_64/tst-quad2.c: Likewise.
21904         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21905         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21906         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21907         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21908         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21910 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21912         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21913         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21914         * streams/stropts.h (t_scalar_t): Define type.
21916         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21917         (_PATH_PRESERVE): Set to "/var/lib".
21918         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21920         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21921         instead of int.
21923         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21924         if __dir_mkfile succeeded.
21926         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21927         checking for _hurd_dtablesize.  Unlock it right after having
21928         finished _hurd_dtable allocation.
21930 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21932         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21933         * sysdeps/mach/hurd/configure: Regenerated.
21934         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21935         special-casing to...
21936         * sysdeps/gnu/configure.in: ... this new file.
21937         * sysdeps/unix/sysv/linux/configure: Regenerated.
21938         * sysdeps/gnu/configure: New generated file.
21940         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21941         for Linux: use nsec instead of usec, as well as:
21942         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21943         members of type struct timespec.
21944         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21945         New macros.
21946         (struct stat64): Likewise.
21947         (_STATBUF_ST_NSEC): New macro.
21948         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21950         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21951         __strtoul_internal rather than strtoul.
21953 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21955         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21956         and reject them.
21958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21960         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21961         which preserves existing values.
21962         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21964 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21966         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21967         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21968         greater than FD_SETSIZE.
21970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21972         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21973         allocated, call __vm_protect to finish enabling the existing space, and
21974         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21975         allocate the remainder.
21977 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21979         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21980         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21982 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21984         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21985         sysdeps/mach/hurd/readlink.c.
21987         * posix/tst-sysconf.c (posix_options): Only use
21988         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21989         _POSIX_SYNCHRONIZED_IO when they are defined
21990         * sysdeps/mach/hurd/bits/posix_opt.h:
21991         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21992         (_XOPEN_REALTIME): Undefine macro.
21993         (_XOPEN_REALTIME_THREADS): Undefine macro.
21994         (_XOPEN_SHM): Undefine macro.
21995         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21996         macro to -1.
21997         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21998         macro to -1.
21999         (_POSIX_ASYNC_IO): Undefine macro.
22000         (_POSIX_PRIORITIZED_IO): Undefine macro.
22001         (_POSIX_SPIN_LOCKS): Define macro to -1.
22003         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22004         SA_NODEFER, SA_RESETHAND.
22005         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22006         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22007         F_DUPFD_CLOEXEC.
22009 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22011         * elf/Makefile (pldd-modules): Define unconditionally.
22013 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22015         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22019         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22020         Return ENOENT when name is empty.
22021         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22023 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22025         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22027         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22029 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22031         Fix mlock in all cases except non-readable pages.
22032         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22033         instead of VM_PROT_ALL as parameter to __vm_wire function.
22035         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22036         (__mkdir): When path is `/', just fail with EEXIST.
22037         * sysdeps/mach/hurd/mkdirat.c: Likewise.
22039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22041         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22042         <sys/uio.h> (for writev).
22043         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22044         and <sys/param.h> (for MIN).
22046 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22048         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22049         REQUESTED_TIME.  Properly set the remaining time and return EINTR
22050         if interrupted.
22052 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22054         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22055         Depend on against $(link-rpcuserlibs).
22057 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22059         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22060         (__libc_stack_end): Do not use attribute_relro.
22061         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22062         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22063         to libthread-provided value.
22064         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22065         attribute_relro.
22067 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22069         [BZ #3748]
22070         * bits/libc-lock.h (__libc_once_get): New macro.
22071         * sysdeps/mach/bits/libc-lock.h: Likewise.
22072         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22073         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22074         instead of using implementation details.
22076         * libio/fileops.c: Unconditionally include <kernel-features.h>.
22077         * libio/freopen.c: Likewise.
22078         * libio/freopen64.c: Likewise.
22079         * misc/syslog.c: Likewise.
22080         * nscd/connections.c: Likewise.
22081         * nscd/netgroupcache.c: Likewise.
22082         * sysdeps/posix/getcwd.c: Likewise.
22084 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22086         * math/w_ilogbf.c: Add #include <limits.h>.
22088 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22090         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22091         path instead of returning without unlocking.
22093         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22094         immediate-write ioctls.
22095         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22097 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22099         * sysdeps/mach/hurd/i386/init-first.c (init): Use
22100         __builtin_frame_address instead of making assumptions about the
22101         location of the return address relative to DATA.  Force early load of
22102         the return address.
22103         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22104         __builtin_frame_address.
22106         dup3 for GNU Hurd.
22107         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22108         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
22109         implement dup3 and do some further code clean-ups.
22110         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22111         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22113 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22115         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22117         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22118         HURD_CRITICAL_END around holding _hurd_dtable_lock.
22119         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22120         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22121         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22122         d->port.lock.
22124         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22125         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
22126         when handler == SIG_ERR, not when handler != SIG_ERR.
22128 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22130         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22131         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22132         definitions.
22134         accept4 for GNU Hurd.
22135         * include/sys/socket.h (__libc_accept4): New prototype.
22136         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
22137         to implement __libc_accept4.
22138         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22139         __libc_accept4.
22140         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22142         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22143         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22144         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22145         signal-defines.sym.
22147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22149         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22151 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22153         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22154         assertion on O_CLOEXEC flag.
22155         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22156         * hurd/intern-fd.c: Likewise.
22157         * hurd/port2fd.c: Likewise.
22159 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22161         [BZ #3906]
22162         * bits/in.h (IPV6_PKTINFO): Define new macro.
22163         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22165 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22167         [BZ #13954]
22168         [BZ #13955]
22169         [BZ #13956]
22170         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22171         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22172         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22173         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22174         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22175         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22176         * math/libm-test.inc (logb_test) : Additional logb tests.
22178 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
22179             Andreas Jaeger  <aj@suse.de>
22181         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22182         * configure: Regenerated.
22183         * config.h.in (LINK_OBSOLETE_RPC): New macro.
22184         * config.make.in (link-obsolete-rpc): New substituted variable.
22185         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22186         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22187         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22188         (shared-only-routines): Don't set it under [link-obsolete-rpc],
22189         so that libc.a contains the symbols.
22190         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22191         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22192         * sunrpc/auth_none.c: Likewise.
22193         * sunrpc/auth_unix.c: Likewise.
22194         * sunrpc/authdes_prot.c: Likewise.
22195         * sunrpc/authuxprot.c: Likewise.
22196         * sunrpc/clnt_gen.c: Likewise.
22197         * sunrpc/clnt_perr.c: Likewise.
22198         * sunrpc/clnt_raw.c: Likewise.
22199         * sunrpc/clnt_simp.c: Likewise.
22200         * sunrpc/clnt_tcp.c: Likewise.
22201         * sunrpc/clnt_udp.c: Likewise.
22202         * sunrpc/clnt_unix.c: Likewise.
22203         * sunrpc/des_crypt.c: Likewise.
22204         * sunrpc/des_soft.c: Likewise.
22205         * sunrpc/get_myaddr.c: Likewise.
22206         * sunrpc/key_call.c: Likewise.
22207         * sunrpc/key_prot.c: Likewise.
22208         * sunrpc/netname.c: Likewise.
22209         * sunrpc/pm_getmaps.c: Likewise.
22210         * sunrpc/pm_getport.c: Likewise.
22211         * sunrpc/pmap_clnt.c: Likewise.
22212         * sunrpc/pmap_prot.c: Likewise.
22213         * sunrpc/pmap_prot2.c: Likewise.
22214         * sunrpc/pmap_rmt.c: Likewise.
22215         * sunrpc/publickey.c: Likewise.
22216         * sunrpc/rpc_cmsg.c: Likewise.
22217         * sunrpc/rpc_common.c: Likewise.
22218         * sunrpc/rpc_dtable.c: Likewise.
22219         * sunrpc/rpc_prot.c: Likewise.
22220         * sunrpc/rpc_thread.c: Likewise.
22221         * sunrpc/rtime.c: Likewise.
22222         * sunrpc/svc.c: Likewise.
22223         * sunrpc/svc_auth.c: Likewise.
22224         * sunrpc/svc_raw.c: Likewise.
22225         * sunrpc/svc_run.c: Likewise.
22226         * sunrpc/svc_tcp.c: Likewise.
22227         * sunrpc/svc_udp.c: Likewise.
22228         * sunrpc/svc_unix.c: Likewise.
22229         * sunrpc/svcauth_des.c: Likewise.
22230         * sunrpc/xcrypt.c: Likewise.
22231         * sunrpc/xdr.c: Likewise.
22232         * sunrpc/xdr_array.c: Likewise.
22233         * sunrpc/xdr_float.c: Likewise.
22234         * sunrpc/xdr_intXX_t.c: Likewise.
22235         * sunrpc/xdr_mem.c: Likewise.
22236         * sunrpc/xdr_rec.c: Likewise.
22237         * sunrpc/xdr_ref.c: Likewise.
22238         * sunrpc/xdr_sizeof.c: Likewise.
22239         * sunrpc/xdr_stdio.c: Likewise.
22241 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22243         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22244         change.  Update copyright years.
22246 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22248         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22250 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
22251             Joseph Myers  <joseph@codesourcery.com>
22252             Paul Pluzhnikov  <ppluzhnikov@google.com>
22254         [BZ #14012]
22255         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22256         requiring rpcgen.
22257         [cross-compiling] (extra-libs): Likewise.
22258         [cross-compiling] (extra-libs-others): Likewise.
22259         [cross-compiling] (librpcsvc-routines): Likewise.
22260         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22261         [cross-compiling] (omit-deps): Likewise.
22262         (sunrpc-CPPFLAGS): New variable.
22263         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22264         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22265         (cross-rpcgen-objs): New variable.
22266         (extra-objs): Append $(cross-rpcgen-objs).
22267         ($(cross-rpcgen-objs)): New rule.
22268         ($(objpfx)cross-rpcgen): Likewise.
22269         (rpcgen-cmd): Define to use $(built-program-file).  Expand
22270         comment.
22271         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22272         ($(objpfx)x%.stmp): Likewise.
22273         * sunrpc/proto.h [IS_IN_build] (_): Define.
22274         [IS_IN_build] (_libc_intl_domainname): Likewise.
22276 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22278         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22279         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22280         and R_X86_64_TPOFF64.
22282 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22284         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22285         sysdeps/unix/sysv/syscalls.list.
22286         (stime): Likewise.
22287         (utime): Likewise.
22288         * sysdeps/unix/sysv/syscalls.list: Remove file.
22290 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
22292         [BZ #3440]
22293         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22294         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22295         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22296         (__LC_IDENTIFICATION): Make these macros useful in #if
22297         expressions, as required by C99.
22299 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
22301         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22302         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
22303         after this.
22305 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
22307         * stdlib/longlong.h: Updated from GCC.
22309 2012-05-09  Andreas Jaeger  <aj@suse.de>
22311         * nscd/nscd.c (run_modes): Make named enum, reorder so that
22312         default is first entry.
22313         (run_mode): Set type.
22314         (main): Remove informal message about syslog.
22315         (options): Fix typo.
22317         [BZ #14053]
22318         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22319         to asm.
22320         (lrint): Likewise.
22321         (llrintf): Likewise.
22322         (llrint): Likewise.
22323         (rint): Likewise.
22324         (rintf): Likewise.
22325         (nearbyint): Likewise.
22326         (nearbyintf): Likewise.
22328 2012-05-09  Andreas Jaeger  <aj@suse.de>
22329             Pedro Alves  <palves@redhat.com>
22331         * nscd/nscd.c (run_mode): Use enum.
22332         (main): Cleanup coding style issue.
22334 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
22335             Andreas Jaeger  <aj@suse.de>
22337         * nscd/nscd.c (go_background): Replaced with...
22338         (run_mode): ... this.
22339         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22340         (options): Add -F --foreground.
22341         (main): Implement it.
22342         (parse_opt): Parse it.
22344 2012-05-09  Andreas Jaeger  <aj@suse.de>
22346         [BZ #14083]
22347         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22348         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22349         -Wconversion warning.
22350         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22351         Likewise.
22353 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
22355         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
22356         == 0.
22357         (LC_ALL): Use macro-int-constant.
22358         (LC_COLLATE): Likewise.
22359         (LC_CTYPE): Likewise.
22360         (LC_MESSAGES): Likewise.
22361         (LC_MONETARY): Likewise.
22362         (LC_NUMERIC): Likewise.
22363         (LC_TIME): Likewise.
22364         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22365         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22366         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22367         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22368         Specify type.
22369         [C99-based standards] (float_t): Expect type.
22370         [C99-based standards] (double_t): Expect type.
22371         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
22372         type.
22373         [C99-based standards] (HUGE_VALL): Likewise.
22374         [C99-based standards] (INFINITY): Likewise.
22375         [C99-based standards] (NAN): Likewise.
22376         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22377         [C99-based standards] (FP_NAN): Likewise.
22378         [C99-based standards] (FP_NORMAL): Likewise.
22379         [C99-based standards] (FP_SUBNORMAL): Likewise.
22380         [C99-based standards] (FP_ZERO): Likewise.
22381         [C99-based standards] (FP_FAST_FMA): Use
22382         optional-macro-int-constant.  Specify type.  Require == 1.
22383         [C99-based standards] (FP_FAST_FMAF): Likewise.
22384         [C99-based standards] (FP_FAST_FMAL): Likewise.
22385         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22386         [C99-based standards] (FP_ILOGBNAN): Likewise.
22387         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22388         Specify type.
22389         [C99-based standards] (MATH_ERREXCEPT): Likewise.
22390         [C99-based standards] (math_errhandling): Specify type.
22391         [ISO99 || ISO11] (signgam): Do not allow.
22392         [non-C99-based standards] (copysignf): Do not allow.
22393         [non-C99-based standards] (exp2f): Likewise.
22394         [non-C99-based standards] (log2f): Likewise.
22395         [non-C99-based standards] (modff): Allow.
22396         [non-C99-based standards] (erff): Do not allow.
22397         [non-C99-based standards] (erfcf): Likewise.
22398         [non-C99-based standards] (gammaf): Likewise.
22399         [non-C99-based standards] (hypotf): Likewise.
22400         [non-C99-based standards] (j0f): Likewise.
22401         [non-C99-based standards] (j1f): Likewise.
22402         [non-C99-based standards] (jnf): Likewise.
22403         [non-C99-based standards] (lgammaf): Likewise.
22404         [non-C99-based standards] (tgammaf): Likewise.
22405         [non-C99-based standards] (y0f): Likewise.
22406         [non-C99-based standards] (y1f): Likewise.
22407         [non-C99-based standards] (ynf): Likewise.
22408         [non-C99-based standards] (isnanf): Likewise.
22409         [non-C99-based standards] (acoshf): Likewise.
22410         [non-C99-based standards] (asinhf): Likewise.
22411         [non-C99-based standards] (atanhf): Likewise.
22412         [non-C99-based standards] (cbrtf): Likewise.
22413         [non-C99-based standards] (expm1f): Likewise.
22414         [non-C99-based standards] (ilogbf): Likewise.
22415         [non-C99-based standards] (log1pf): Likewise.
22416         [non-C99-based standards] (logbf): Likewise.
22417         [non-C99-based standards] (nextafterf): Likewise.
22418         [non-C99-based standards] (remainderf): Likewise.
22419         [non-C99-based standards] (rintf): Likewise.
22420         [non-C99-based standards] (scalbf): Likewise.
22421         [non-C99-based standards] (copysignl): Likewise.
22422         [non-C99-based standards] (exp2l): Likewise.
22423         [non-C99-based standards] (log2l): Likewise.
22424         [non-C99-based standards] (modfl): Allow.
22425         [non-C99-based standards] (erfl): Do not allow.
22426         [non-C99-based standards] (erfcl): Likewise.
22427         [non-C99-based standards] (gammal): Likewise.
22428         [non-C99-based standards] (hypotl): Likewise.
22429         [non-C99-based standards] (j0l): Likewise.
22430         [non-C99-based standards] (j1l): Likewise.
22431         [non-C99-based standards] (jnl): Likewise.
22432         [non-C99-based standards] (lgammal): Likewise.
22433         [non-C99-based standards] (tgammal): Likewise.
22434         [non-C99-based standards] (y0l): Likewise.
22435         [non-C99-based standards] (y1l): Likewise.
22436         [non-C99-based standards] (ynl): Likewise.
22437         [non-C99-based standards] (isnanl): Likewise.
22438         [non-C99-based standards] (acoshl): Likewise.
22439         [non-C99-based standards] (asinhl): Likewise.
22440         [non-C99-based standards] (atanhl): Likewise.
22441         [non-C99-based standards] (cbrtl): Likewise.
22442         [non-C99-based standards] (expm1l): Likewise.
22443         [non-C99-based standards] (ilogbl): Likewise.
22444         [non-C99-based standards] (log1pl): Likewise.
22445         [non-C99-based standards] (logbl): Likewise.
22446         [non-C99-based standards] (nextafterl): Likewise.
22447         [non-C99-based standards] (remainderl): Likewise.
22448         [non-C99-based standards] (rintl): Likewise.
22449         [non-C99-based standards] (scalbl): Likewise.
22450         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22451         [non-C99-based standards] (FP_*): Do not allow.
22452         [C99-based standards] (FP_*): Change to
22453         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22454         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22455         allow.
22456         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22457         (SIG_ERR): Likewise.
22458         [X/Open-based standards] (SIG_HOLD): Likewise.
22459         (SIG_IGN): Likewise.
22460         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22461         positive value.
22462         (SIGFPE): Likewise.
22463         (SIGILL): Likewise.
22464         (SIGINT): Likewise.
22465         (SIGSEGV): Likewise.
22466         (SIGTER): Likewise.
22467         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22468         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22469         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22470         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22471         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22472         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22473         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22474         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22475         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22476         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22477         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22478         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22479         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22480         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22481         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22482         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22483         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22484         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22485         [X/Open-based standards] (SIGTRAP): Likewise.
22486         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22487         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22488         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22489         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22490         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22491         allow.
22493 2012-05-08  Ian Wienand  <ianw@vmware.com>
22495         [BZ #14080]
22496         * time/tzset.c (__tzset_parse_tz): Update default rules for
22497         daylight time changes in the Energy Policy Act of 2005.
22499 2012-05-09  Andreas Jaeger  <aj@suse.de>
22501         [BZ #13983]
22502         * elf/ldconfig.c (parse_conf): Change string to make clear that
22503         ldconfig only issued a warning if ld.so.conf does not exist.
22505 2012-05-08  David S. Miller  <davem@davemloft.net>
22507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22508         movxtod instead of popping the value on the stack.
22510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22512 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22514         * config.h.in: Add HAVE_ARM_PCS_VFP.
22516 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22518         [BZ #13979]
22519         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22520         checking but the checks are disabled for any reason.
22522 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22524         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22525         and ELF64_R_TYPE with ELFW(R_TYPE).
22527 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22529         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22530         (ulimit): Likewise.
22532         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22533         (settimeofday): Likewise.
22535 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22537         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22538         a struct th_u2 inside the union, and move tu_block/tu_code into
22539         a new th_u3 union of tu_block/tu_code inside of that.  Move
22540         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22541         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22542         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22543         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22544         (th_stuff): Change to th_u1.tu_stuff.
22545         (th_data): Define.
22546         (th_msg): Change to th_u1.th_u2.tu_data.
22548 2012-05-07  David S. Miller  <davem@davemloft.net>
22550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22552         [BZ #14074]
22553         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22554         (SETUP_PIC_REG): Use it.
22555         (SETUP_PIC_REG_LEAF): Use it.
22557 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22559         [BZ #13885]
22560         [BZ #13923]
22561         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22562         USE_AS_EXPM1L.
22563         (EXPL_FINITE): Likewise.
22564         (FLDLOG): Likewise.
22565         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22566         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22567         e_expl.S.
22568         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22569         USE_AS_EXPM1L.
22570         (EXPL_FINITE): Likewise.
22571         (FLDLOG): Likewise.
22572         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22573         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22574         e_expl.S.
22575         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22576         test of -max_value argument for long double.
22577         * sysdeps/i386/fpu/libm-test-ulps: Update.
22578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22580 2012-05-06  David S. Miller  <davem@davemloft.net>
22582         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22583         quad soft-float symbols whose references which are compiler
22584         generated.
22585         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22587 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22589         [BZ #13884]
22590         [BZ #13914]
22591         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22592         USE_AS_EXP10L.
22593         (EXPL_FINITE): Likewise.
22594         (FLDLOG): Likewise.
22595         (c0): Likewise.
22596         (c1): Likewise.
22597         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22598         Adjust comments for base varying.
22599         (__expl_finite): Change alias to EXPL_FINITE.
22600         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22601         e_expl.S.
22602         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22603         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22605         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22606         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22607         USE_AS_EXP10L.
22608         (EXPL_FINITE): Likewise.
22609         (FLDLOG): Likewise.
22610         (c0): Likewise.
22611         (c1): Likewise.
22612         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22613         Adjust comments for base varying.
22614         (__expl_finite): Change alias to EXPL_FINITE.
22615         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22616         tests for bugs.
22617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22619         [BZ #14064]
22620         * math/libm-test.inc (check_float_internal): Correct ulp
22621         calculation for subnormal expected results.
22623 2012-05-06  Andreas Jaeger  <aj@suse.de>
22625         * Makeconfig (+math-flags): New, set to -frounding-math.
22626         (+cflags): Add +math-flags so that all of glibc gets compiled with
22627         it.
22629         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22631 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22633         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22634         Disable one test.
22636         [BZ #13787]
22637         [BZ #13922]
22638         [BZ #14036]
22639         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22640         (__ieee754_expl): Allow for and saturate large arguments.
22641         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22642         (u_threshold): Likewise.
22643         (__exp): Call __ieee754_exp before checking for overflow and
22644         underflow.
22645         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22646         (u_threshold): Likewise.
22647         (__expf): Call __ieee754_expf before checking for overflow and
22648         underflow.
22649         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22650         (u_threshold): Likewise.
22651         (__expl): Call __ieee754_expl before checking for overflow and
22652         underflow.
22653         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22654         (__ieee754_expl): Allow for and saturate large arguments.
22655         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22656         missing overflow exception on overflow.
22657         (expm1_test): Do not allow missing overflow exception on overflow.
22659         * sysdeps/i386/fpu/e_expl.c: Move to ...
22660         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22661         rather than using inline asm.
22662         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22663         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22664         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22666         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22667         (nice): Likewise.
22668         (poll): Likewise.
22669         (signal): Likewise.
22670         (time): Likewise.
22671         (times): Likewise.
22673 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22675         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22676         sysdeps/unix/common/syscalls.list.
22677         (fchmod): Likewise.
22678         (fchown): Likewise.
22679         (ftruncate): Likewise.
22680         (getrusage): Likewise.
22681         (gettimeofday): Likewise.
22682         (setpgid): Likewise.
22683         (setregid): Likewise.
22684         (setreuid): Likewise.
22685         (sigaction): Likewise.
22686         (truncate): Likewise.
22687         (vhangup): Likewise.
22688         * sysdeps/unix/common/syscalls.list: Remove file.
22689         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22690         * sysdeps/unix/sysv/linux/Implies: Likewise.
22692 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22694         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22696         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22697         Moved to ...
22698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22699         Here.
22700         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22701         to ...
22702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22703         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22704         to ...
22705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22706         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22707         to ...
22708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22709         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22710         to ...
22711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22712         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22713         to ...
22714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22715         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22716         to ...
22717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22718         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22719         to ...
22720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22721         Here.
22722         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22723         to ...
22724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22725         Here.
22726         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22727         to ...
22728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22729         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22730         Moved to ...
22731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22732         Here.
22733         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22734         to ...
22735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22737 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22739         * sysdeps/unix/common/bits/dirent.h: Remove file.
22740         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22742         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22743         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22744         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22745         * sysdeps/unix/bsd/isatty.c: Likewise.
22746         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22747         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22748         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22750 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22752         [BZ #13563]
22753         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22754         long double comparison inaccuracies.
22755         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22758 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22760         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22761         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22763 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22765         [BZ #14049]
22766         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22767         nonzero digits before rounding a hex value.
22768         * stdlib/tst-strtod.c (tests): Add another test.
22770 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22772         * sysdeps/s390/fpu/libm-test-ulps: Update.
22774 2012-05-03  Andreas Jaeger  <aj@suse.de>
22776         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22777         does not get optimized out.
22778         (malloc_opt_barrier): New.
22780 2012-05-03  Andreas Jaeger  <aj@suse.de>
22781             Roland McGrath  <roland@hack.frob.com>
22783         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22784         intermediate file deletion.
22785         (generated): Add .symlist files.
22787 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22789         [BZ #13775]
22790         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22791         Redirect under this condition.
22792         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22793         [__USE_GNU] (__dprintf_chk): Not under this condition.
22794         [__USE_GNU] (__vdprintf_chk): Likewise.
22795         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22796         under this condition.
22797         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22798         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22799         [__USE_XOPEN2K8] (vdprintf): Likewise.
22800         [__USE_GNU] (__dprintf_chk): Not under this condition.
22801         [__USE_GNU] (__vdprintf_chk): Likewise.
22802         [__USE_GNU] (dprintf): Likewise.
22803         [__USE_GNU] (vdprintf): Likewise.
22805 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22807         * elf/Makefile (common-generated): Set this instead of generated for
22808         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22809         $(all-built-dso)-derived lists.
22811 2012-05-03  Andreas Jaeger  <aj@suse.de>
22813         * sysdeps/i386/fpu/libm-test-ulps: Update.
22815         * FAQ: Removed.
22816         * FAQ.in: Likewise.
22817         * scripts/gen-FAQ.pl: Likewise.
22818         * manual/install.texi (Installation): Point to online location of
22819         FAQ.
22820         * Makefile (files-for-dist): Remove FAQ.
22821         (FAQ): Remove.
22823 2012-05-02  Allan McRae  <allan@archlinux.org>
22825         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22826         (LDFLAGS-reldepmod5.so): Likewise.
22827         (LDFLAGS-reldep6mod1.so): Likewise.
22828         (LDFLAGS-reldep6mod4.so): Likewise.
22829         (LDFLAGS-reldep8mod3.so): Likewise.
22830         (LDFLAGS-unload4mod1.so): Likewise.
22831         (LDFLAGS-unload4mod2.so): Likewise.
22832         (LDFLAGS-tst-initorder): Likewise.
22833         (LDFLAGS-tst-initordera2.so): Likewise.
22834         (LDFLAGS-tst-initordera3.so): Likewise.
22835         (LDFLAGS-tst-initordera4.so): Likewise.
22836         (LDFLAGS-tst-initorderb2.so): Likewise.
22837         (LDFLAGS-noload): Likewise.
22838         (LDFLAGS-next): Likewise.
22839         (LDFLAGS-order2mod1.so): Likewise.
22840         (LDFLAGS-order2mod2.so): Likewise.
22841         (LDFLAGS-tst-initorder2): Likewise.
22842         (LDFLAGS-tst-initorder2a.so): Likewise.
22843         (LDFLAGS-tst-initorder2b.so): Likewise.
22844         (LDFLAGS-tst-initorder2c.so): Likewise.
22845         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22847 2012-05-02  David S. Miller  <davem@davemloft.net>
22849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22851 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22853         [BZ #14055]
22854         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22856 2012-05-02  Andreas Jaeger  <aj@suse.de>
22858         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22859         since we manipulate rounding mode.
22860         (CPPFLAGS-test-idouble.c): Likewise.
22861         (CPPFLAGS-test-ifloat.c): Likewise.
22862         (CFLAGS-test-ldouble.c): Likewise.
22863         (CFLAGS-test-double.c): Likewise.
22864         (CFLAGS-test-float.c): Likewise.
22865         (CFLAGS-test-misc.c): Likewise.
22866         (CFLAGS-test-test-fenv.c): Likewise.
22868 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22870         [BZ #2550]
22871         [BZ #2570]
22872         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22873         comparisons to determine direction to adjust input.
22875 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22877         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22878         output to the target.
22880         * scripts/localplt.awk: New file.
22881         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22882         (check-localplt-CFLAGS): Variable removed.
22883         ($(all-built-dso:=.jmprel)): New static pattern rule.
22884         (generated): Add those targets.
22885         (localplt-built-dso): New variable.
22886         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22888         * elf/check-localplt.c: File removed.
22890         * scripts/check-execstack.awk: New file.
22891         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22892         (check-execstack-CFLAGS): Variable removed.
22893         ($(objpfx)check-execstack.h): Target removed.
22894         ($(objpfx)execstack-default): New target.
22895         (generated): Add that instead of check-execstack.h.
22896         ($(all-built-dso:=.phdr)): New static pattern rule.
22897         (generated): Add those targets.
22898         * elf/check-execstack.c: File removed.
22900         * scripts/check-textrel.awk: New file.
22901         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22902         (check-textrel-CFLAGS): Variable removed.
22903         (all-built-dso): Use := to define.o
22904         ($(all-built-dso:=.dyn)): New static pattern rule.
22905         (generated): Add those targets.
22906         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22907         * config.make.in (READELF): New substituted variable.
22908         * elf/check-textrel.c: File removed.
22910 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22912         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22913         allow.
22914         * conform/data/ctype.h-data [C99-based standards] (isblank):
22915         Expect function.
22916         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22917         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22918         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22919         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22920         Specify type.  Require positive value.
22921         (EILSEQ): Likewise.
22922         (ERANGE): Likewise.
22923         [ISO || POSIX] (EILSEQ): Do not expect.
22924         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22925         Specify type.  Require positive value.
22926         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22927         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22928         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22929         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22930         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22931         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22932         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22933         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22934         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22935         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22936         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22937         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22938         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22939         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22940         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22941         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22942         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22943         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22944         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22945         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22946         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22947         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22948         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22949         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22950         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22951         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22952         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22953         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22954         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22955         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22956         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22957         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22958         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22959         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22960         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22961         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22962         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22963         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22964         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22965         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22966         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22967         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22968         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22969         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22970         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22971         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22972         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22973         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22974         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22975         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22976         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22977         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22978         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22979         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22980         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22981         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22982         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22983         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22984         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22985         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22986         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22987         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22988         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22989         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22990         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22991         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22992         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22993         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22994         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22995         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22996         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22997         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22998         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22999         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23000         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23001         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23002         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23003         Require >= 2.
23004         (FLT_ROUNDS): Expect as macro, not constant.
23005         (FLT_MANT_DIG): Use macro-int-constant.
23006         (DBL_MANT_DIG): Likewise.
23007         (LDBL_MANT_DIG): Likewise.
23008         (FLT_DIG): Likewise.
23009         (DBL_DIG): Likewise.
23010         (LDBL_DIG): Likewise.
23011         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
23012         (DBL_MIN_EXP): Likewise.
23013         (LDBL_MIN_EXP): Likewise.
23014         (FLT_MAX_EXP): Use macro-int-constant.
23015         (DBL_MAX_EXP): Likewise.
23016         (LDBL_MAX_EXP): Likewise.
23017         (FLT_MAX_10_EXP): Likewise.
23018         (DBL_MAX_10_EXP): Likewise.
23019         (LDBL_MAX_10_EXP): Likewise.
23020         (FLT_MAX): Use macro-constant.
23021         (DBL_MAX): Likewise.
23022         (LDBL_MAX): Likewise.
23023         (FLT_EPSILON): Use macro-constant.  Give upper bound.
23024         (DBL_EPSILON): Likewise.
23025         (LDBL_EPSILON): Likewise.
23026         (FLT_MIN): Likewise.
23027         (DBL_MIN): Likewise.
23028         (LDBL_MIN): Likewise.
23029         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23030         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23031         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23032         [ISO11] (FLT_HAS_SUBNORM): Likewise.
23033         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23034         [ISO11] (DBL_DECIMAL_DIG): Likewise.
23035         [ISO11] (FLT_DECIMAL_DIG): Likewise.
23036         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23037         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23038         [ISO11] (FLT_TRUE_MIN): Likewise.
23039         [ISO11] (LDBL_TRUE_MIN): Likewise.
23040         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23041         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23042         (SCHAR_MIN): Use macro-int-constant.  Specify type.
23043         (SCHAR_MAX): Likewise.
23044         (UCHAR_MAX): Likewise.
23045         (CHAR_MIN): Likewise.
23046         (CHAR_MAX): Likewise.
23047         (MB_LEN_MAX): Use macro-int-constant.
23048         (SHRT_MIN): Use macro-int-constant.  Specify type.
23049         (SHRT_MAX): Likewise.
23050         (USHRT_MAX): Likewise.
23051         (INT_MAX): Likewise.
23052         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
23053         bound negative.
23054         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23055         bound with "U".
23056         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23057         bound with "L".
23058         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
23059         bound negative.  Suffix upper bound with "L".
23060         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23061         bound with "UL".
23062         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23063         Specify type.
23064         [C99-based standards] (LLONG_MAX): Likewise.
23065         [C99-based standards] (ULLONG_MAX): Likewise.
23066         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
23067         == 0.
23068         [ISO11] (max_align_t): Require type.
23069         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23071         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23072         from $CFLAGS, without defining away __attribute__ calls.
23073         (checknamespace): Use $CFLAGS_namespace.
23075         * conform/conformtest.pl (@keywords): Only include C99 keywords
23076         for standards based on C99 or C11.
23078         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23079         Disable tests.
23080         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23081         UNIX98]: Likewise.
23083         * conform/conformtest.pl: Handle "macro-int-constant" and test for
23084         usability of symbols in #if.
23086         * conform/conformtest.pl: If macro or constant types start
23087         "promoted:", expect the symbol to be of the following type
23088         promoted by the integer promotions.
23090         * conform/conformtest.pl: Parse all "constant" and "macro" lines
23091         in one place.  Also handle "macro-constant".
23093         * conform/conformtest.pl: Only accept expected macro values with
23094         "==".  Parse all "macro" lines in one place.
23095         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23097         * conform/conformtest.pl: Handle braced types on "constant" lines
23098         instead of handling "typed-constant".
23099         * conform/data/signal.h-data: Use "constant" instead of
23100         "typed-constant".
23102         * conform/conformtest.pl: Handle "optional-" at start of lines in
23103         one place rather than duplicating several cases.  Handle each
23104         format of "macro" line with initial "optional-".
23106         * conform/conformtest.pl: Only accept expected constant or
23107         optional-constant values with "==".  Parse all "constant" lines in
23108         one place.  Parse all "optional-constant" lines in one place.
23109         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23110         * conform/data/fmtmsg.h-data: Likewise.
23111         * conform/data/netinet/in.h-data: Likewise.
23112         * conform/data/tar.h-data: Likewise.
23113         * conform/data/limits.h-data: Use "==" form on "constant" and
23114         "optional-constant" lines.
23116         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23117         Use -std=c99 for XOPEN2K.
23118         (@knownproblems): Remove.
23119         (newtoken): Don't check %isknown.
23121         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23122         Do not expect macro.
23123         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23124         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23125         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23126         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23127         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23128         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23129         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23130         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23131         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23132         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23133         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23134         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23135         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23136         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23137         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23138         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23139         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23140         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23141         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23142         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23143         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23144         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23145         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23146         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23147         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23148         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23149         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23150         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23151         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23152         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23153         [XPG3] (acosh): Likewise.
23154         [XPG3] (asinh): Likewise.
23155         [XPG3] (atanh): Likewise.
23156         [XPG3] (cbrt): Likewise.
23157         [XPG3] (expm1): Likewise.
23158         [XPG3] (ilogb): Likewise.
23159         [XPG3] (log1p): Likewise.
23160         [XPG3] (logb): Likewise.
23161         [XPG3] (nextafter): Likewise.
23162         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23163         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23164         [XPG3] (remainder): Likewise.
23165         [XPG3] (rint): Likewise.
23166         [XPG3 || XPG4 || UNIX98] (round): Likewise.
23167         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23168         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23169         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23170         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23171         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23172         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23173         [UNIX98 || XOPEN2K] (scalb): Expect.
23174         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23175         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23176         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23177         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23178         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23179         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23180         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23181         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23182         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23183         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23184         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23185         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23186         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23187         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23188         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23189         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23190         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23191         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23192         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23193         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23194         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23195         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23196         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23197         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23198         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23199         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23200         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23201         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23202         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23203         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23204         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23205         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23206         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23207         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23208         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23209         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23210         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23211         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23212         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23213         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23214         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23215         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23216         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23217         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23218         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23219         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23220         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23221         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23222         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23223         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23224         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23225         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23226         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23227         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23228         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23229         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23230         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23231         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23232         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23233         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23234         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23235         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23236         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23237         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23238         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23239         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23240         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23241         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23242         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23243         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23244         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23245         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23246         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23247         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23248         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23249         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23250         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23251         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23252         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23253         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23254         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23255         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23256         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23257         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23258         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23259         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23260         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23261         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23262         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23263         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23264         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23265         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23266         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23267         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23268         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23269         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23270         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23271         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23272         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23273         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23274         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23275         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23276         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23277         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23278         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23279         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23280         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23281         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23282         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23283         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23284         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23285         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23286         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23287         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23288         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23289         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23290         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23291         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23292         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23293         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23294         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23295         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23296         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23297         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23298         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23299         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23300         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23301         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23302         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23303         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23304         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23305         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23306         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23307         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23308         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23309         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23310         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23312         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23313         _XOPEN_SOURCE_EXTENDED for XPG4.
23315         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23317         * Makeconfig (localtime): Remove variable.
23318         (inst_localtime-file): Likewise.
23320 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23323         Update.
23324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23325         Update.
23326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23327         Update.
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23329         Update.
23330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23331         Update.
23332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23333         Update.
23334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23335         Update.
23336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23337         Update.
23338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23339         Update.
23341 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23343         [BZ #2550]
23344         [BZ #2570]
23345         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23346         comparisons to determine direction to adjust input.
23347         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23348         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23349         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23350         Likewise.
23351         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23352         Likewise.
23353         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23354         Likewise.
23355         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23356         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23357         Likewise.
23358         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23359         Likewise.
23360         * math/libm-test.inc (nexttoward_test): Add more tests.
23362 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23364         [BZ #14040]
23365         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23366         in version GLIBC_2.1, not GLIBC_2.0.
23367         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23368         Likewise.
23370 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
23372         [BZ #13942]
23373         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23374         (1 - x) * (1 + x).
23375         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23376         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23377         * math/libm-test.inc (acos_test): Add more tests.
23378         (asin_test): Likewise.
23379         * sysdeps/i386/fpu/libm-test-ulps: Update.
23380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23382         [BZ #14034]
23383         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23384         of square root.
23385         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23386         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23387         * math/libm-test.inc (acos_test_tonearest): New function.
23388         (acos_test_towardzero): Likewise.
23389         (acos_test_downward): Likewise.
23390         (acos_test_upward): Likewise.
23391         (asin_test_tonearest): Likewise.
23392         (asin_test_towardzero): Likewise.
23393         (asin_test_downward): Likewise.
23394         (asin_test_upward): Likewise.
23395         (main): Call the new functions.
23396         * sysdeps/i386/fpu/libm-test-ulps: Update.
23397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23399         [BZ #13884]
23400         [BZ #13924]
23401         * math/e_exp10.c: Include <float.h>.
23402         (__ieee754_exp10): Handle underflow here rather than multiplying
23403         large negative argument by M_LN10.
23404         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23405         of __ieee754_expf.
23406         * math/e_exp10l.c: Include <float.h>.
23407         (__ieee754_exp10l): Handle underflow here rather than multiplying
23408         large negative argument by M_LN10l.
23409         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
23410         spurious overflow exception on underflow.
23412 2012-04-29  Marek Polacek  <polacek@redhat.com>
23414         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23415         (__fortify_function): New macro.
23416         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23417         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23418         __extern_always_inline.
23419         * libio/bits/stdio2.h: Likewise.
23420         * libio/bits/stdio.h: Likewise.
23421         * string/string.h: Likewise.
23422         * string/bits/string3.h: Likewise.
23423         * include/stdio.h: Likewise.
23424         * stdlib/bits/stdlib.h: Likewise.
23425         * stdlib/stdlib.h: Likewise.
23426         * rt/bits/mqueue2.h: Likewise.
23427         * rt/mqueue.h: Likewise.
23428         * posix/bits/unistd.h: Likewise.
23429         * posix/unistd.h: Likewise.
23430         * io/bits/poll2.h: Likewise.
23431         * io/bits/fcntl2.h: Likewise.
23432         * io/fcntl.h: Likewise.
23433         * io/sys/poll.h: Likewise.
23434         * misc/bits/syslog.h: Likewise.
23435         * misc/bits/syslog-ldbl.h: Likewise.
23436         * misc/sys/syslog.h: Likewise.
23437         * socket/bits/socket2.h: Likewise.
23438         * socket/sys/socket.h: Likewise.
23439         * debug/tst-chk1.c: Likewise.
23440         * wcsmbs/bits/wchar2.h: Likewise.
23441         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23442         * wcsmbs/wchar.h: Likewise.
23444 2012-04-29  Andreas Jaeger  <aj@suse.de>
23446         * Makerules (tests): Remove enable-check-abi protection.
23447         (check-abi-warn): Remove.
23448         (check-abi-%): Remove check-abi-warn usage.
23450         * configure.in: Remove check-abi configure option.
23451         * configure: Regenerated.
23452         * config.make.in (enable-check-abi): Remove.
23454 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23456         [BZ #14033]
23457         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23458         double functions to double *_finite functions.
23460         [BZ #13941]
23461         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23462         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23463         LDBL_MIN_EXP.
23464         * stdio-common/Makefile (tests): Add tst-sprintf3.
23465         * stdio-common/tst-sprintf3.c: New file.
23467         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23468         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23470 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23472         * conform/conformtest.pl: Remove duplicate typed-constant
23473         handling.
23475 2012-04-28  David S. Miller  <davem@davemloft.net>
23477         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23478         (check-abi-%): Remove AWK script prerequisite and explicit
23479         abilist directory.
23480         (check-abi): Rewrite to just diff the symlist with the abilist.
23481         (config-tls, config-abi-config): Delete, no longer used.
23482         (update-abi-%): Remove AWK script and explicit abilist directory.
23483         (update-abi): Rewrite to simply compare and conditionally copy the
23484         symlist and the sysdep abilist file.  Remove update-abi-config
23485         checks.
23486         * abilist/ld.abilist: Remove.
23487         * abilist/libBrokenLocale.abilist: Remove.
23488         * abilist/libanl.abilist: Remove.
23489         * abilist/libcrypt.abilist: Remove.
23490         * abilist/libdl.abilist: Remove.
23491         * abilist/librt.abilist: Remove.
23492         * abilist/libthread_db.abilist: Remove.
23493         * abilist/libutil.abilist: Remove.
23494         * scripts/extract-abilist.awk: Remove.
23495         * scripts/merge-abilist.awk: Remove.
23496         * sysdeps/generic/libcidn.abilist: New file.
23497         * sysdeps/generic/libnss_compat.abilist: New file.
23498         * sysdeps/generic/libnss_db.abilist: New file.
23499         * sysdeps/generic/libnss_dns.abilist: New file.
23500         * sysdeps/generic/libnss_files.abilist: New file.
23501         * sysdeps/generic/libnss_hesiod.abilist: New file.
23502         * sysdeps/generic/libnss_nis.abilist: New file.
23503         * sysdeps/generic/libnss_nisplus.abilist: New file.
23504         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23505         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23506         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23507         file.
23508         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23509         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23510         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23511         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23512         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23513         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23514         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23515         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23516         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23517         file.
23518         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23519         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23520         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23521         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23522         file.
23523         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23524         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23525         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23526         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23527         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23528         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23529         file.
23530         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23531         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23532         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23533         file.
23534         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23536         New file.
23537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23538         New file.
23539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23540         New file.
23541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23542         New file.
23543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23544         New file.
23545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23546         New file.
23547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23548         New file.
23549         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23550         New file.
23551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23552         New file.
23553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23554         New file.
23555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23556         New file.
23557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23558         New file.
23559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23560         New file.
23561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23562         file.
23563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23564         New file.
23565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23566         New file.
23567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23568         file.
23569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23570         New file.
23571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23572         New file.
23573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23574         file.
23575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23576         New file.
23577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23578         New file.
23579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23580         New file.
23581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23582         New file.
23583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23584         New file.
23585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23586         New file.
23587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23589         file.
23590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23591         New file.
23592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23593         file.
23594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23595         file.
23596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23597         file.
23598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23599         file.
23600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23601         file.
23602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23603         New file.
23604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23605         file.
23606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23607         file.
23608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23609         New file.
23610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23611         file.
23612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23614         file.
23615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23616         New file.
23617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23618         file.
23619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23620         file.
23621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23622         file.
23623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23624         file.
23625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23626         file.
23627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23628         New file.
23629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23630         file.
23631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23632         file.
23633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23634         New file.
23635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23636         file.
23637         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23638         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23639         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23640         file.
23641         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23642         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23643         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23644         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23645         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23646         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23647         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23648         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23649         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23650         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23653         file.
23654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23655         New file.
23656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23657         file.
23658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23659         file.
23660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23661         file.
23662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23663         file.
23664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23665         file.
23666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23667         New file.
23668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23669         New file.
23670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23671         file.
23672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23673         New file.
23674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23675         file.
23676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23678         file.
23679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23680         New file.
23681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23682         file.
23683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23684         file.
23685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23686         file.
23687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23688         file.
23689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23690         file.
23691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23692         New file.
23693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23694         New file.
23695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23696         file.
23697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23698         New file.
23699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23700         file.
23702 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23704         * conform/conformtest.pl: Fix typo in handling typed-constant from
23705         allow-header.
23707 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23709         * README: Cut down references to pre-2.6 Linux kernels and
23710         Linuxthreads.  Update lists of configurations in libc and ports
23711         and sort alphabetically.  Say "or newer" with Linux kernel version
23712         requirements.
23714         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23716 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23718         [BZ #887]
23719         * math/libm-test.inc (logb_test_downward): New test to expose
23720         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23721         rounding mode.
23723 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23725         [BZ #14027]
23726         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23727         to be done.
23728         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23729         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23731 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23733         * sysdeps/unix/i386/brk.S: Remove file.
23734         * sysdeps/unix/i386/dl-brk.S: Likewise.
23735         * sysdeps/unix/i386/pipe.S: Likewise.
23736         * sysdeps/unix/i386/sigreturn.S: Likewise.
23737         * sysdeps/unix/i386/syscall.S: Likewise.
23738         * sysdeps/unix/i386/vfork.S: Likewise.
23739         * sysdeps/unix/i386/wait.S: Likewise.
23741         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23742         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23744         * configure.in (arm*-none*): Do not allow without
23745         --enable-hacker-mode.
23746         (netbsd*): Remove case setting base_os.
23747         (386bsd*): Likewise.
23748         (freebsd*): Likewise.
23749         (bsdi*): Likewise.
23750         (osf*): Likewise.
23751         (sunos*): Likewise.
23752         (ultrix*): Likewise.
23753         (newsos*): Likewise.
23754         (dynix*): Likewise.
23755         (*bsd*): Likewise.
23756         (sysv*): Likewise.
23757         (isc*): Likewise.
23758         (esix*): Likewise.
23759         (sco*): Likewise.
23760         (minix*): Likewise.
23761         (irix4*): Likewise.
23762         (irix6*): Likewise.
23763         (solaris[2-9]*): Likewise.
23764         (none): Likewise.
23765         * configure: Regenerated.
23767 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23769         [BZ #11521]
23770         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23771         overflow or cancellation in calculating denominator.
23772         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23773         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23774         down expression to avoid unexpected rounding in newer GCCs.
23775         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23777 2012-04-26  David S. Miller  <davem@davemloft.net>
23779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23780         long-double compat symbols.
23781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23795 2012-04-25  David S. Miller  <davem@davemloft.net>
23797         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23798         HWCAP_* values only after the memory barriers have been defined.
23799         (atomic_full_barrier): Define.
23800         (atomic_read_barrier): Define.
23801         (atomic_write_barrier): Define.
23803 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23805         * shlib-versions: Add libgcc_s version information.
23806         * sysdeps/generic/libgcc_s.h: Remove.
23807         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23808         libgcc_s.h.
23809         * sysdeps/gnu/unwind-resume.c: Likewise.
23810         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23812 2012-04-25  David S. Miller  <davem@davemloft.net>
23814         * sysdeps/unix/sparc/brk.S: Delete.
23815         * sysdeps/unix/sparc/dl-brk.S: Delete.
23816         * sysdeps/unix/sparc/pipe.S: Delete.
23817         * sysdeps/unix/sparc/sysdep.S: Delete.
23818         * sysdeps/unix/sparc/sysdep.h: Delete.
23819         * sysdeps/unix/sparc/vfork.S: Delete.
23820         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23821         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23822         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23823         ret_ERRVAL, r0, r1, MOVE): Define.
23824         (JUMPTARGET): Remove.
23825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23826         sysdeps/unix/sparc/sysdep.h
23827         (ENTRY, END): Remove.
23828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23830 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23832         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23833         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23834         -DIS_IN_build.
23836         * timezone/README: Update upstream location and email address for
23837         tzcode and tzdata.
23838         * timezone/zdump.c: Update from tzcode 2012b.
23839         * timezone/zic.c: Likewise.
23841         * configure.in (libc_cv_as_needed): Remove test.
23842         * configure: Regenerated.
23843         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23844         conditional definition.
23845         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23846         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23847         * config.make.in (have-as-needed): Remove variable.
23849 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23850             Paul Pluzhnikov  <ppluzhnikov@google.com>
23852         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23853         strings correctly.
23855 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23857         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23858         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23859         * sysdeps/sh/strlen.S: Likewise.
23861 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23863         * sysdeps/unix/fork.S: Remove file.
23864         * sysdeps/unix/i386/fork.S: Likewise.
23865         * sysdeps/unix/sparc/fork.S: Likewise.
23867         * sysdeps/unix/system.c: Remove file.
23868         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23870         * sysdeps/unix/getegid.S: Remove file.
23871         * sysdeps/unix/geteuid.S: Likewise.
23873 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23875         * scripts/check-localplt.awk: New file.
23876         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23877         of diff.
23878         * scripts/data/localplt-generic.data: Add a comment.
23880         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23881         NODE when __dir_mkfile failed.
23882         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23883         Reported by Ludovic Courtès <ludo@gnu.org>.
23885 2012-04-24  Andreas Jaeger  <aj@suse.de>
23887         * Makerules (common-clean): Also remove gen-as-const-headers
23888         files.
23890 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23892         * Makerules (native-compile): Do not change working directory for
23893         build.  Use $(OUTPUT_OPTION) in command.
23894         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23896 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23898         [BZ #13886]
23899         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23900         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23901         * math/libm-test.inc (floor_test): Add more tests.
23902         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23904 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23906         * sysdeps/unix/getdents.c: Remove file.
23907         * sysdeps/unix/sysv/getdents.c: Likewise.
23908         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23910         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23911         sysdeps/unix/mman/syscalls.list.
23912         (mmap): Likewise.
23913         (mprotect): Likewise.
23914         (msync): Likewise.
23915         (munmap): Likewise.
23916         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23917         * sysdeps/unix/mman/syscalls.list: Remove.
23918         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23920         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23921         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23922         * configure: Regenerated.
23923         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23924         $(libgcc_s_suffix).
23925         * config.make.in (libgcc_s_suffix): Remove variable.
23927 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23929         * sysdeps/unix/sysv/gethostname.c: Move to ...
23930         * sysdeps/posix/gethostname.c: ... here.
23932         * sysdeps/unix/execve.S: Remove file.
23934         * sysdeps/unix/_exit.S: Remove file.
23936 2012-04-23  Andreas Jaeger  <aj@suse.de>
23938         [BZ #13739]
23939         * manual/Makefile: Remove make dist support, there's no
23940         need for a stand-alone documentation tar ball.
23941         (TEXI2DVI): Define always, it's not in Makeconfig.
23942         (dist): Removed.
23943         (tar-it): Removed.
23944         (edition): Removed.
23945         (glibc-doc-$(edition).tar): Removed
23946         (%.Z): Removed.
23947         (%.gz): Removed.
23948         (%.uu): Removed.
23949         (ETAGS): Remove, it's in Makeconfig.
23950         (move-if-change): Remove, it's in Makeconfig.
23952 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23954         [BZ #13970]
23955         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23956         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23957         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23958         (strtod_l, strtof_l, strtold_l): Remove __wur.
23959         It is not necessarily an error to ignore strtol's return value.
23960         One can reliably look at the stored endptr to decide whether
23961         the number had valid syntax.
23963 2012-04-21  Andreas Jaeger  <aj@suse.de>
23965         [BZ #13739]
23966         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23968 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23970         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23971         * sysdeps/unix/sysv/Versions: Remove file.
23973 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23975         [BZ #13927]
23976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23978 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23980         [BZ #7064]
23981         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23982         version from __vm86.
23984 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23986         * sysdeps/unix/common/lxstat.c: Remove file.
23987         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23989         * sysdeps/unix/sysv/Makefile: Remove file.
23991         * sysdeps/unix/sysv/direct.h: Remove file.
23993         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23994         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23995         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23996         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23997         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23998         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23999         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24001         * sysdeps/unix/sysv/setrlimit.c: Remove file.
24003         * sysdeps/unix/xmknod.c: Remove file.
24004         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24006         * sysdeps/unix/sysv/settimeofday.c: Remove file.
24008         * sysdeps/unix/sysv/i386/time.S: Remove file.
24010         * sysdeps/unix/fxstat.c: Remove file.
24011         * sysdeps/unix/xstat.c: Likewise.
24012         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24014         * sysdeps/unix/sysv/sigaction.c: Remove file.
24016         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24017         (sysdep_headers): Remove variable.
24018         [termio.h not in sysdep_headers] (generated): Likewise.
24019         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24020         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24021         * sysdeps/unix/sysv/tcdrain.c: Likewise.
24022         * sysdeps/unix/sysv/tcflow.c: Likewise.
24023         * sysdeps/unix/sysv/tcflush.c: Likewise.
24024         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24025         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24026         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24027         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24028         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24030         * sysdeps/unix/siglist.c: Remove file.
24032         * sysdeps/unix/getppid.S: Remove file.
24034         * sysdeps/unix/mkdir.c: Remove file.
24035         * sysdeps/unix/rmdir.c: Likewise.
24037 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
24039         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24040         ERR_MAX value.
24041         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24042         errlist-compat value.
24044 2012-04-18  David S. Miller  <davem@davemloft.net>
24046         * sysdeps/generic/memcopy.h (reg_char): Delete.
24047         * debug/strcat_chk.c: Use char, not reg_char.
24048         * debug/strcpy_chk.c: Likewise.
24049         * debug/strncat_chk.c: Likewise.
24050         * debug/strncpy_chk.c: Likewise.
24051         * string/memchr.c: Likewise.
24052         * string/memrchr.c: Likewise.
24053         * string/rawmemchr.c: Likewise.
24054         * string/strcat.c: Likewise.
24055         * string/strchr.c: Likewise.
24056         * string/strchrnul.c: Likewise.
24057         * string/strcmp.c: Likewise.
24058         * string/strcpy.c: Likewise.
24059         * string/strncat.c: Likewise.
24060         * string/strncmp.c: Likewise.
24061         * string/strncpy.c: Likewise.
24063 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24065         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24066         __builtin_memcopy is called when src and dest ranges are known to not
24067         overlap.
24069 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24071         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24072         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24073         fwd_align_merge macro call.
24074         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24075         bwd_align_merge macro call.
24076         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24078 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24080         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24081         bwd_align_merge macros.
24082         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24083         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24084         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24086 2012-04-18  David S. Miller  <davem@davemloft.net>
24088         * sysdeps/sparc/sparc64/memcopy.h: Delete.
24090 2012-04-18  Andreas Jaeger  <aj@suse.de>
24092         [BZ# 6794]
24093         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24094         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24095         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24097         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24098         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24099         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24101         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24102         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24103         Adjust for changed ldbl-128 files.
24105         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24106         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24107         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24109 2012-04-17  David S. Miller  <davem@davemloft.net>
24111         * sysdeps/sparc/sparc32/memcopy.h: Delete.
24113 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
24115         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24116         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24117         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24118         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24119         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24120         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24122 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24124         [BZ #6794]
24125         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24126         * math/libm-test.inc: Add ilogb errno and exception tests.
24127         * math/w_ilogb.c: New file: ilogb wrapper.
24128         * math/w_ilogbf.c: New file: ilogbf wrapper.
24129         * math/w_ilogbl.c: New file: ilogbl wrapper.
24130         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24131         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24132         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24133         exception being thrown with 0.0 as argument.
24134         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24135         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24136         exception being thrown with 0.0 as argument.
24137         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24138         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24139         exception being thrown with 0.0 as argument.
24140         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24141         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24142         exception being thrown with 0.0 as argument.
24143         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24144         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24145         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24146         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24147         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24148         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24149         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24150         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24151         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24153 2012-04-17  Petr Baudis  <pasky@ucw.cz>
24155         * include/sys/uio.h: Change __vector to __iovec to avoid clash
24156         with altivec.
24158 2012-04-16  Marek Polacek  <polacek@redhat.com>
24160         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24162 2012-04-16  Marek Polacek  <polacek@redhat.com>
24164         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24165         operands of fdivp instruction.
24167 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24169         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24170         * elf/tst-auditmod3b.c: Likewise.
24171         * elf/tst-auditmod4b.c: Likewise.
24172         * elf/tst-auditmod5b.c: Likewise.
24173         * elf/tst-auditmod6b.c: Likewise.
24174         * elf/tst-auditmod6c.c: Likewise.
24175         * elf/tst-auditmod7b.c: Likewise.
24176         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24177         * sysdeps/x86_64/preconfigure.in: Likewise.
24178         * sysdeps/x86_64/preconfigure: Regenerated.
24180 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24182         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24183         __ILP32__.
24185 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
24187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24188         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24190 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
24192         [BZ #13973]
24193         * locale/iso-639.def: Fix gl language name. Spotted by
24194         Yaron Shahrabani.
24196 2012-04-12  Roland McGrath  <roland@hack.frob.com>
24198         [BZ #2074]
24199         * libio/libio.h (__io_write_fn): Update comment.
24201 2012-04-12  Petr Baudis  <pasky@ucw.cz>
24203         [BZ #2074]
24204         * stdio.texi (Hook Functions): The user provided writer function
24205         is not allowed to return -1.
24207 2012-04-11  David S. Miller  <davem@davemloft.net>
24209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24211 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
24213         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24214         Add a leading slash to rtkaio.
24216 2012-04-11  Jim Meyering  <meyering@redhat.com>
24218         [BZ #11959]
24219         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24220         It is not necessarily an error to ignore fwrite's return
24221         value.  One can reliably use ferror to test for errors after
24222         the fact.
24224 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24226         * bits/types.h (__snseconds_t): New type.
24227         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24229         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24231         (__SNSECONDS_T_TYPE): Likewise.
24232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24233         (__SNSECONDS_T_TYPE): Likewise.
24234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24235         (__SNSECONDS_T_TYPE): Likewise.
24237 2012-04-10  Andreas Jaeger  <aj@suse.de>
24239         [BZ #2636]
24240         * manual/time.texi (Processor Time): Return type of times is
24241         elapsed real time since an arbitrary point in the past.
24242         (CPU Time): Move CLK_TCK from here...
24243         (Processor Time): ...to here.  Correct description.
24244         * manual/conf.texi (Constants for Sysconf): Correct description of
24245         _SC_CLK_TCK.
24247 2012-04-10  David S. Miller  <davem@davemloft.net>
24249         [BZ #13967]
24250         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24251         where the is a gap between DT_REL(A) and DT_JMPREL.
24253 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24255         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24256         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24257         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24259 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24261         * elf/dl-support.c (_dl_inhibit_cache): New variable.
24262         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24263         (dl_main): Handle --inhibit-cache.
24264         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24265         _dl_inhibit_cache.
24266         * elf/dl-load.c (_dl_map_object): Use it.
24267         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24269 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24271         [BZ #13872]
24272         * sysdeps/i386/fpu/e_powl.S (p78): New object.
24273         (__ieee754_powl): Saturate large exponents rather than testing for
24274         overflow of y*log2(x).
24275         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24276         * math/libm-test.inc (pow_test): Do not permit spurious overflow
24277         exceptions.
24279         [BZ #11521]
24280         * math/s_ctan.c: Include <float.h>.
24281         (__ctan): Avoid internal overflow or cancellation in calculating
24282         denominator.
24283         * math/s_ctanf.c: Likewise.
24284         * math/s_ctanl.c: Likewise.
24285         * math/s_ctanh.c: Likewise.
24286         * math/s_ctanhf.c: Likewise.
24287         * math/s_ctanhl.c: Likewise.
24288         * math/libm-test.inc (ctan_test): Add more tests.
24289         (ctanh_test): Likewise.
24290         * sysdeps/i386/fpu/libm-test-ulps: Update.
24291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24293 2012-04-09  Andreas Jaeger  <aj@suse.de>
24295         [BZ #6894]
24296         * manual/filesys.texi (Directory Entries): Mention that d_namlen
24297         is an optional BSD extension.
24299         [BZ #10254]
24300         * manual/stdio.texi (Opening Streams): Document additional fopen
24301         parameters.
24303 2012-04-09  Roland McGrath  <roland@hack.frob.com>
24305         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24306         %eax without telling the compiler.
24308 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
24310         [BZ # 13963]
24311         * manual/install.texi: Use sourceware.org.
24313 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24315         [BZ #13873]
24316         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24317         (__ieee754_pow): Generate overflow and underflow using huge*huge
24318         and tiny*tiny rather than just returning constant infinity or zero
24319         for large exponents.
24320         * math/libm-test.inc (pow_test): Require overflow exceptions for
24321         applicable cases of large exponents.
24323         [BZ #706]
24324         * sysdeps/i386/fpu/e_pow.S (p10): New object.
24325         (__ieee754_pow): Use iterative multiplication algorithm only for
24326         integer exponents with absolute value below 1024.  Check for odd
24327         integer exponents when using algorithm for real exponents.
24328         * math/libm-test.inc (pow_test): Add more tests.
24329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24331 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
24333         [BZ #13705]
24334         * math/libm-test.inc (exp_test): Do not allow overflow exception
24335         on underflow test.
24337 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
24339         [BZ #13705]
24340         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24341         instead of __kernel_standard_f.
24343 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
24345         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24346         * sysdeps/x86_64/memset_chk.S: Likewise.
24348 2012-04-08  Andreas Jaeger  <aj@suse.de>
24350         [BZ #10153]
24351         * manual/startup.texi (Environment Access): Describe return value
24352         for putenv and setenv.
24354         [BZ #6895]
24355         * manual/filesys.texi (Directory Entries): Add description for
24356         DT_LNK.
24358         [BZ #6890]
24359         * manual/filesys.texi (Directory Entries): Clarify that it's file
24360         system not operating system in the description of DT_UNKNOWN.
24362         [BZ #6578]
24363         * manual/syslog.texi (closelog): Fix reference, it's openlog.
24365 2012-04-08  Stephen Compall  <s11@member.fsf.org>
24367         [BZ #6649]
24368         * manual/llio.texi (Opening and Closing Files): Add cross
24369         reference to explain mode argument.
24371 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
24373         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24374         * sysdeps/x86_64/memset_chk.S: Likewise.
24376 2012-04-07  David S. Miller  <davem@davemloft.net>
24378         * elf/elf.h (R_SPARC_WDISP10): Define.
24379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24380         R_SPARC_SIZE32.
24381         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24382         R_SPARC_SIZE64 and R_SPARC_H34.
24384 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
24386         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24387         conditions and remove no longer applicable assertion.
24389 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24391         * bits/byteswap.h: Include <features.h>.
24392         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24393         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24395 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24397         * bits/byteswap.h (__bswap_16): Removed.
24398         Include <bits/byteswap-16.h> to get __bswap_16.
24399         * sysdeps/i386/bits/byteswap.h: Likewise.
24400         * sysdeps/s390/bits/byteswap.h: Likewise.
24401         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24402         * bits/byteswap-16.h: New file.
24403         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24404         * sysdeps/s390/bits/byteswap-16.h: Likewise.
24405         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24406         * string/Makefile (headers): Add bits/byteswap-16.h.
24408 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24410         [BZ #13895]
24411         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24412         extra indirection.
24413         * nss/Makefile (tests-static, tests): Add tst-nss-static.
24414         * nss/tst-nss-static.c: New.
24416 2012-04-06  Robert Millan  <rmh@gnu.org>
24418         [BZ #6486]
24419         * manual/llio.texi (File Position Primitive): lseek
24420         refers to WHENCE when it really means OFFSET.
24422 2012-04-06  Andreas Jaeger  <aj@suse.de>
24424         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24425         strncmp declarations.
24427         * abilist/libc.abilist: Add __poll and __ppoll.
24429 2012-04-05  David S. Miller  <davem@davemloft.net>
24431         * scripts/check-local-headers.sh: Accept a host triplet in the
24432         path matched by the exclude regexp.
24434         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24435         definition.
24436         * sysdeps/powerpc/powerpc32/dl-machine.h
24437         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24438         * sysdeps/s390/s390-32/dl-machine.h
24439         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24440         * sysdeps/sparc/sparc32/dl-machine.h
24441         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24442         * sysdeps/sparc/sparc64/dl-machine.h
24443         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24445         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24446         lazy binding.
24447         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24448         undefined symbol errors.
24450         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24451         DT_NEEDED entries.
24453 2012-04-05  Michael Matz  <matz@suse.de>
24455         [BZ #13592]
24456         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24458 2012-04-05  Andreas Jaeger  <aj@suse.de>
24460         [BZ #13908]
24461         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24462         comment.
24464 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24466         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24467         which ROUND is no valid rounding mode.
24469 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24471         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24472         read again.
24473         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24475 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24477         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24478         an exception using FPU order intentionally.
24480 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24482         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24483         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24484         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24485         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24487 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24489         [BZ #12340]
24490         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24491         EINVAL when BUFLEN is too smal.
24493 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24495         [BZ #13553]
24496         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24497         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24499 2012-04-03  Andreas Jaeger  <aj@suse.de>
24501         [BZ #13938]
24502         * manual/setjmp.texi (System V contexts): Fix sentence.
24504         [BZ #13926]
24505         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24506         New macro for this case.
24507         [!__GNUC__] (__bswap_64): New inline function for this case.
24508         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24509         * bits/byteswap.h: Likewise.
24510         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24511         ull, guard with __GLIBC_HAVE_LONG_LONG.
24513         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24514         __GLIBC_HAVE_LONG_LONG.
24516         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24517         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24519 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24521         [BZ #13691]
24522         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24523         inptr and inend, rather than using last_ch.
24525 2012-04-02  David S. Miller  <davem@davemloft.net>
24527         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24528         * stdio-common/printf-parse.h (read_int): Change return type to
24529         'int', return -1 on INT_MAX overflow.
24530         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24531         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24532         overflows INT_MAX.  Check for overflow of in-format-string precision
24533         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24534         SIZE_MAX not INT_MAX for integer overflow test.
24535         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24536         skip the construct in the format string but do not record anything.
24537         * stdio-common/bug22.c: Adjust to test both width/prevision
24538         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24539         explicitly for proper errno values.
24541 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24543         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24544         CHAR_MAX.
24545         * string/test-strcmp.c [! WIDE]: Likewise.
24546         * time/tst-mktime2.c: Likewise for INT_MAX.
24547         * string/test-string.h: #include <sys/param.h> for MIN.
24549         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24550         * sysdeps/i386/init-first.c (init): Likewise.
24551         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24552         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24553         * sysdeps/sh/init-first.c (init): Likewise.
24555 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24557         * po/ru.po: Update from translation team.
24558         * po/vi.po: Likewise.
24560 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24562         * resolv/nss_dns/dns-host.c: Merge copyright years.
24564 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24566         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24567         Optimize memcpy with prefetch if
24568         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24569         src, dst pointers have unequal 16 byte alignments.
24571 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24573         [BZ #13928]
24574         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24575         from a CNAME entry and return the minimum ttl for the query.
24576         (gaih_getanswer_slice): Likewise.
24578 2012-03-30  Jeff Law  <law@redhat.com>
24580         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24581         due to long keys.
24582         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24583         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24585         * resolv/nss_dns/dns-host.c: Update copyright year.
24587 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24589         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24590         requests to save a system call.  Fix check that all bytes are sent.
24592         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24593         comments for sendmmsg.
24595 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24597         [BZ #13691]
24598         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24599         with only 1 character between 0x0041 and 0x01b0.
24600         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24601         * wcsmbs/tst-mbsnrtowcs.c: New file.
24603 2012-03-29  David S. Miller  <davem@davemloft.net>
24605         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24606         small copies by hand.
24608 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24610         [BZ #13761]
24611         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24612         _nss_compat_initgroups_dyn): Fall back to malloc/free
24613         for large group memberships.
24615 2012-03-28  David S. Miller  <davem@davemloft.net>
24617         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24618         that branches into memcpy.
24619         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24620         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24621         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24622         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24623         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24624         bits.
24625         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24626         implementation too.
24627         * sysdeps/sparc/mempcpy.S: New file.
24629         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24630         the IFUNC routine in the libc case.
24631         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24633         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24634         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24635         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24636         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24637         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24638         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24639         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24640         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24642         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24643         loop to 256 bytes instead of 64 bytes and fix test signedness.
24645         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24646         * sysdeps/sparc/sparc32/Makefile: rather than here...
24647         * sysdeps/sparc/sparc64/Makefile: and here.
24649 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24651         * malloc/mallocbug.c: Avoid warnings about unused variables.
24653 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24655         [BZ #13760]
24656         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24657         in the right place. Discard and retry query if response is
24658         larger than input buffer size.
24660 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24662         [BZ #369]
24663         [BZ #2678]
24664         [BZ #3866]
24665         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24666         x for large integer exponent.
24667         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24668         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24669         sign of result as needed afterwards.
24670         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24671         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24672         result for underflowing pow the same as for overflow.
24673         (__kernel_standard_l): Handle powl overflow and underflow here
24674         rather than calling __kernel_standard.
24675         * math/libm-test.inc (pow_test): Add more tests.
24677         [BZ #3868]
24678         [BZ #13879]
24679         [BZ #13910]
24680         [BZ #13911]
24681         [BZ #13912]
24682         [BZ #13913]
24683         [BZ #13915]
24684         [BZ #13916]
24685         [BZ #13917]
24686         [BZ #13918]
24687         [BZ #13919]
24688         [BZ #13920]
24689         [BZ #13921]
24690         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24691         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24692         (__kernel_standard_l): New function.
24693         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24694         __kernel_standard.
24695         * math/w_acosl.c (__acosl): Likewise.
24696         * math/w_asinl.c (__asinl): Likewise.
24697         * math/w_atan2l.c (__atan2l): Likewise.
24698         * math/w_atanhl.c (__atanhl): Likewise.
24699         * math/w_coshl.c (__coshl): Likewise.
24700         * math/w_exp10l.c (__exp10l): Likewise.
24701         * math/w_exp2l.c (__exp2l): Likewise.
24702         * math/w_fmodl.c (__fmodl): Likewise.
24703         * math/w_hypotl.c (__hypotl): Likewise.
24704         * math/w_j0l.c (__j0l, __y0l): Likewise.
24705         * math/w_j1l.c (__j1l, __y1l): Likewise.
24706         * math/w_jnl.c (__jnl, __ynl): Likewise.
24707         * math/w_lgammal.c (__lgammal): Likewise.
24708         * math/w_log10l.c (__log10l): Likewise.
24709         * math/w_log2l.c (__log2l): Likewise.
24710         * math/w_logl.c (__logl): Likewise.
24711         * math/w_powl.c (__powl): Likewise.
24712         * math/w_remainderl.c (__remainderl): Likewise.
24713         * math/w_scalbl.c (sysv_scalbl): Likewise.
24714         * math/w_sinhl.c (__sinhl): Likewise.
24715         * math/w_sqrtl.c (__sqrtl): Likewise.
24716         * math/w_tgammal.c (__tgammal): Likewise.
24717         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24718         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24719         * math/libm-test.inc (acos_test): Add more tests.
24720         (acosh_test): Likewise.
24721         (asin_test): Likewise.
24722         (atanh_test): Likewise.
24723         (exp_test): Likewise.
24724         (exp10_test): Likewise.
24725         (exp2_test): Likewise.
24726         (expm1_test): Likewise.
24727         (lgamma_test): Likewise.
24728         (log_test): Likewise.
24729         (log10_test): Likewise.
24730         (log1p_test): Likewise.
24731         (log2_test): Likewise.
24732         (pow_test): Do not allow some spurious overflow exceptions.
24733         (sqrt_test): Add more tests.
24734         (tgamma_test): Likewise.
24735         (y0_test): Likewise.
24736         (y1_test): Likewise.
24737         (yn_test): Likewise.
24739 2012-03-27  Anton Blanchard  <anton@samba.org>
24741         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24742         MAP_HUGETLB.
24743         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24744         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24745         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24747 2012-03-27  David S. Miller  <davem@davemloft.net>
24749         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24751         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24752         have-as-vis3 check.
24754 2012-03-27  Andreas Jaeger  <aj@suse.de>
24756         * sysdeps/x86_64/elf/configure.in: Moved to ...
24757         * sysdeps/x86_64/configure.in: ... here.
24758         * sysdeps/x86_64/elf/start.S: Moved to ...
24759         * sysdeps/x86_64/start.S: ... here.
24760         * sysdeps/x86_64/elf/configure: Delete.
24762         * sysdeps/x86_64/configure.in: Merge contents from
24763         sysdeps/i386/configure.in (without i686 check).
24765         * sysdeps/i386/elf/Versions: Merge into ...
24766         * sysdeps/i386/Versions: ... this.
24767         * sysdeps/i386/elf/Versions: Delete file.
24768         * sysdeps/i386/elf/start.S: Moved to ...
24769         * sysdeps/i386/start.S: ...here.
24770         * sysdeps/i386/elf/configure.in: Merge into...
24771         * sysdeps/i386/configure.in: ...here.
24772         * sysdeps/i386/elf/configure.in: Delete file.
24773         * sysdeps/i386/elf/configure: Delete file.
24775         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24776         * debug/backtracesyms.c: ... here.
24777         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24778         * debug/backtracesymsfd.c: ... here.
24779         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24780         * sysdeps/generic/ifunc-sel.h: ... here.
24782         * sysdeps/unix/i386/start.c: Delete file.
24783         * sysdeps/unix/sparc/start.c: Delete file.
24784         * sysdeps/unix/start.c: Delete file.
24786         * sysdeps/sh/elf/configure.in: Moved to ...
24787         * sysdeps/sh/configure.in: ... here.
24788         * sysdeps/sh/elf/start.S: Moved to ...
24789         * sysdeps/sh/start.S: ... here.
24790         * sysdeps/sh/elf/configure: Delete file.
24792         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24793         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24794         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24795         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24796         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24797         * sysdeps/powerpc/powerpc64/start.S: here.
24798         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24799         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24800         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24801         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24802         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24804         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24805         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24806         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24807         * sysdeps/powerpc/powerpc32/start.S: ... here.
24808         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24809         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24810         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24812         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24813         * sysdeps/powerpc/ifunc-sel.h: ... here.
24814         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24815         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24817         * sysdeps/sparc/elf/configure.in: Moved to ...
24818         * sysdeps/sparc/configure.in: ... here.
24819         * sysdeps/sparc/elf/configure: Delete file.
24820         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24821         * sysdeps/sparc/sparc32/start.S: ... here.
24822         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24823         * sysdeps/sparc/sparc64/start.S: ... here.
24824         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24825         * sysdeps/sparc/sparc32/Makefile: ... this.
24826         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24827         * sysdeps/sparc/sparc64/Makefile: ... this.
24829         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24830         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24831         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24832         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24833         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24834         * sysdeps/s390/s390-32/setjmp.S: ... here.
24835         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24836         * sysdeps/s390/s390-32/configure.in: ... here.
24837         * sysdeps/s390/s390-32/elf/configure: Delete file.
24838         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24839         * sysdeps/s390/s390-32/start.S: ... here.
24841         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24842         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24843         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24844         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24845         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24846         * sysdeps/s390/s390-64/setjmp.S: ... here.
24847         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24848         * sysdeps/s390/s390-64/configure.in: ... here
24849         * sysdeps/s390/s390-64/elf/configure: Delete file.
24850         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24851         * sysdeps/s390/s390-64/start.S: ... here.
24852         * sysdeps/s390/s390-64/elf/configure: Delete.
24854         * configure.in: Remove support for elf directories in sysdeps.
24856         * configure: Regenerated.
24857         * sysdeps/i386/configure: Regenerated.
24858         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24859         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24860         * sysdeps/s390/s390-32/configure: Regenerated.
24861         * sysdeps/s390/s390-64/configure: Regenerated.
24862         * sysdeps/sh/configure: Regenerated.
24863         * sysdeps/sparc/configure: Regenerated.
24864         * sysdeps/x86_64/configure: Regenerated.
24866 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24870         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24871         denormal result into account.
24873 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24875         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24876         Reported by Allan McRae <allan@archlinux.org>.
24878 2012-03-23  Jeff Law  <law@redhat.com>
24880         * nss/getnssent.c (__nss_getent): Fix typo.
24882 2012-03-23  David S. Miller  <davem@davemloft.net>
24884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24886 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24888         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24889         to pad to uint64_t for each field.
24890         (dl_tls_index): Replace unsigned long with uint64_t.
24892 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24893         Paul Pluzhnikov  <ppluzhnikov@google.com>
24895         [BZ #6528]
24896         * grp/Makefile (otherlibs): Don't set it.
24897         * inet/Makefile (otherlibs): Likewise.
24898         * login/Makefile (otherlibs): Likewise.
24899         * nscd/Makefile (otherlibs): Likewise.
24900         * posix/Makefile (otherlibs): Likewise.
24901         * pwd/Makefile (otherlibs): Likewise.
24902         * rt/Makefile (otherlibs): Likewise.
24903         * sunrpc/Makefile (otherlibs): Likewise.
24904         * nss/Makefile (otherlibs): Likewise.
24905         Add libnss_files to routines and static-only-routines.
24906         ($(objpfx)getent): Remove rule.
24907         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24908         static-only-routines.
24910 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24912         [BZ #13892]
24913         * math/s_cexp.c: Include <float.h>.
24914         (__cexp): Handle exp result overflowing not necessarily
24915         overflowing both real and imaginary parts of result.
24916         * math/s_cexpf.c: Likewise.
24917         * math/s_cexpl.c: Likewise.
24918         * math/libm-test.inc (cexp_test): Add more tests.
24919         * sysdeps/i386/fpu/libm-test-ulps: Update.
24920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24922 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24924         * include/link.h (ELFW): New macro.
24925         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24926         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24928 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24930         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24931         with uint64_t.
24933 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24935         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24936         declaration.
24937         (struct La_x32_retval): Likewise.
24939 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24941         * sysdeps/x86_64/preconfigure.in: New file.
24942         * sysdeps/x86_64/preconfigure: New generated file.
24944 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24946         [BZ #13824]
24947         * math/e_exp2l.c: Include <float.h>.
24948         (__ieee754_exp2l): Handle overflow and underflow cases
24949         separately.  Only pass fractional part of argument to
24950         __ieee754_expl.
24951         * math/libm-test.inc (exp2_test): Add more tests.
24953         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24954         negating x to take absolute value.
24955         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24956         Likewise.
24957         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24958         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24959         Likewise.
24960         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24961         computing low part if x was negated.
24962         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24964 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24966         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24967         la_x32_gnu_pltexit.
24968         (pltexit): Cast int_retval to ptrdiff_t.
24969         * elf/tst-auditmod3b.c: Likewise.
24970         * elf/tst-auditmod4b.c: Likewise.
24971         * elf/tst-auditmod5b.c: Likewise.
24972         * elf/tst-auditmod6b.c: Likewise.
24973         * elf/tst-auditmod6c.c: Likewise.
24974         * elf/tst-auditmod7b.c: Likewise.
24976         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24977         and x32_gnu_pltexit.
24979         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24980         __ELF_NATIVE_CLASS.
24981         (La_x32_regs): New macro.
24982         (La_x32_retval): Likewise.
24983         (la_x32_gnu_pltenter): New function prototype.
24984         (la_x32_gnu_pltexit): Likewise.
24986 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24989         exponent.
24991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24993         * configure.in (libc_cv_cc_nofma): Check for option to disable
24994         generation of FMA instructions.
24995         * configure: Regenerate.
24996         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24997         * sysdeps/ieee754/dbl-64/Makefile: New file.
24998         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24999         Remove brandred-fma4.
25000         (CFLAGS-brandred-fma4.c): Remove.
25001         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25002         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25003         define.
25004         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25005         define.
25007 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25009         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25010         LLONG_MAX != LONG_MAX.
25011         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25012         (_fitoa_word): Likewise.
25013         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25014         LLONG_MAX != LONG_MAX.
25015         * stdio-common/_itowa.h: Include <_itoa.h>.
25016         (_itowa_word): Use _ITOA_WORD_TYPE on value.
25017         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
25018         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
25019         only if not defined.
25020         (_ITOA_WORD_TYPE): Likewise.
25021         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25022         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25024 2012-03-21  David S. Miller  <davem@davemloft.net>
25026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25028 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25030         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25031         of x86_64 when setting libc_cv_slibdir, libdir and
25032         libc_cv_localedir.
25033         * sysdeps/unix/sysv/linux/configure: Regenerated.
25035 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25037         * manual/lang.texi (Old Varargs): Remove section.
25038         (How Variadic): Update menu.
25039         (va_start): Do not mention varargs.h.
25041 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25042             Joseph Myers  <joseph@codesourcery.com>
25044         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25045         link test.
25046         * configure: Regenerated.
25048 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25050         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25051         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25052         conformtest.pl
25054 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25056         * NOTES: Remove.
25057         * Makefile (files-for-dist): Remove NOTES.
25058         (NOTES): Remove rule.
25059         * README: Don't refer to NOTES.
25060         * manual/creature.texi: Don't include macros.texi.
25061         * manual/intro.texi (creature.texi): Remove comment referring to
25062         NOTES.
25064         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25065         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25066         * configure: Regenerated.
25067         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25068         LIBC_TRY_CC_OPTION.
25069         (libc_cv_as_i686): Likewise.
25070         (libc_cv_cc_avx): Likewise.
25071         (libc_cv_cc_sse2avx): Likewise.
25072         (libc_cv_cc_fma4): Likewise.
25073         (libc_cv_cc_novzeroupper): Likewise.
25074         * sysdeps/i386/configure: Regenerated.
25076         [BZ #13883]
25077         * sysdeps/i386/fpu/s_cexp.S: Remove.
25078         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25079         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25080         * math/libm-test.inc (cexp_test): Add more tests.
25081         * sysdeps/i386/fpu/libm-test-ulps: Update.
25082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25084 2012-03-21  Allan McRae  <allan@archlinux.org>
25086         * timezone/Makefile: Do not install iso3166.tab and zone.tab
25088 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25090         [BZ #13871]
25091         * math/w_exp2.c: Do not include <float.h>.
25092         (o_threshold, u_threshold): Remove.
25093         (__exp2): Calculate result before checking finiteness and calling
25094         __kernel_standard.
25095         * math/w_exp2f.c: Likewise.
25096         * math/w_exp2l.c: Likewise.
25097         * math/libm-test.inc (exp2_test): Require overflow exception for
25098         1e6 input.
25100         [BZ #3866]
25101         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25102         range of signed 64-bit integers before using fistpll.  Remove
25103         checks for whether integers fit in mantissa bits.
25104         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25105         the range of signed 32-bit integers before using fistpl.  Remove
25106         checks for whether integers fit in mantissa bits.
25107         * sysdeps/i386/fpu/e_powl.S (p64): New object.
25108         (__ieee754_powl): Test for y outside the range of signed 64-bit
25109         integers before using fistpll.  Reduce 64-bit values to 63-bit
25110         ones as needed.
25111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25112         divide-by-zero is raised for zero to large negative powers.
25113         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25114         (__ieee754_powl): Test for y outside the range of signed 64-bit
25115         integers before using fistpll.  Reduce 64-bit values to 63-bit
25116         ones as needed.
25117         * math/libm-test.inc (pow_test): Add more tests.
25119 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25121         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25122         <stdio-common/_itoa.h>.
25123         * debug/segfault.c: Likewise.
25124         * elf/dl-cache.c: Likewise.
25125         * elf/dl-minimal.c: Likewise.
25126         * elf/dl-misc.c: Likewise.
25127         * elf/dl-sysdep.c: Likewise.
25128         * elf/dl-version.c: Likewise.
25129         * elf/rtld.c: Likewise.
25130         * hurd/hurdsock.c: Likewise.
25131         * hurd/lookup-retry.c: Likewise.
25132         * malloc/malloc.c: Likewise.
25133         * malloc/mtrace.c: Likewise.
25134         * nscd/nscd_getgr_r.c: Likewise.
25135         * nscd/nscd_getpw_r.c: Likewise.
25136         * nscd/nscd_getserv_r.c: Likewise.
25137         * posix/getopt_init.c: Likewise.
25138         * posix/wordexp.c: Likewise.
25139         * stdio-common/_itoa.c: Likewise.
25140         * stdio-common/printf_fphex.c: Likewise.
25141         * stdio-common/vfprintf.c: Likewise.
25142         * string/_strerror.c: Likewise.
25143         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25144         * sysdeps/i386/i686/hp-timing.h: Likewise.
25145         * sysdeps/mach/_strerror.c: Likewise.
25146         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25147         * sysdeps/mach/hurd/sethostid.c: Likewise.
25148         * sysdeps/mach/hurd/xmknodat.c: Likewise.
25149         * sysdeps/mach/xpg-strerror.c: Likewise.
25150         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25151         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25152         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25153         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25154         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25155         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25156         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25157         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25158         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25159         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25160         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25161         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25162         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25163         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25164         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25165         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25166         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25167         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25168         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25169         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25170         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25172         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25174         * stdio-common/_itoa.h: Moved to ...
25175         * sysdeps/generic/_itoa.h: Here.
25177         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25179         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25180         instead of "_itoa.h" and "_itowa.h".
25181         * stdio-common/vfprintf.: Likewise.
25183 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25185         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25186         <bits/wordsize.h>.
25187         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25188         (__signbit): Likwise.
25189         (llrintf): Likwise.
25190         (llrint): Likwise.
25192 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25194         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25195         __WORDSIZE != 64.
25197 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
25199         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25200         OVERFLOW_EXCEPTION_OK.
25201         * math/libm-test.inc ("Philosophy"): Update comment about
25202         exception testing.
25203         (OVERFLOW_EXCEPTION): Define.
25204         (OVERFLOW_EXCEPTION_OK): Likewise.
25205         (INVALID_EXCEPTION_OK): Renumber.
25206         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25207         (IGNORE_ZERO_INF_SIGN): Likewise.
25208         (test_exceptions): Handle FE_OVERFLOW.
25209         (exp10_test): Expect overflow exceptions.
25210         (exp2_test): Likewise.
25211         (expm1_test): Likewise.
25212         (nextafter_test): Likewise.
25213         (pow_test): Likewise.
25214         (scalbn_test): Likewise.
25215         (scalbln_test): Likewise.
25217 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25219         * sysdeps/x86_64/bits/atomic.h
25220         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25221         64bit integer.
25222         (atomic_exchange_acq): Likewise.
25223         (__arch_exchange_and_add_body): Likewise.
25224         (__arch_add_body): Likewise.
25225         (atomic_add_negative): Likewise.
25226         (atomic_add_zero): Likewise.
25228 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25230         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25231         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25233 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25235         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25236         Check __x86_64__ instead of __WORDSIZE.
25238 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25240         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25242 2012-03-19  David S. Miller  <davem@davemloft.net>
25244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25246         * sysdeps/sparc/fpu/fenv_private.h: New file.
25247         * sysdeps/sparc/fpu/math_private.h: Use it.
25248         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25249         Remove.
25250         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25251         (libc_feholdexcept_setroundl): Remove.
25252         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25253         Remove.
25254         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25255         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25257 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25259         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25260         int64_t instead of long int.
25261         (INSERT_WORDS64): Likwise.
25263 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25265         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25266         _Unwind_GetCFA return to _Unwind_Ptr first.
25268 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
25270         [BZ #13629]
25271         * math/s_clog.c: Include <float.h>.
25272         (__clog): Scale large or subnormal inputs.
25273         * math/s_clogf.c: Likewise.
25274         * math/s_clogl.c: Likewise.
25275         * math/s_clog10.c: Include <float.h>.
25276         (M_LOG10_2): Define.
25277         (__clog10): Scale large or subnormal inputs.
25278         * math/s_clog10f.c: Likewise.
25279         * math/s_clog10l.c: Likewise.
25280         * math/libm-test.inc (clog_test): Add more tests.
25281         (clog10_test): Likewise.
25282         * sysdeps/i386/fpu/libm-test-ulps: Update.
25283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25285         [BZ #11451]
25286         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25287         x and y.
25288         * math/libm-test.inc (atan2_test): Add another test.
25290         * Makerules (common-objdir-compile): Remove.
25291         * sysdeps/unix/Makefile (config-generated): Do not add
25292         $(unix-generated) to variable.
25293         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25294         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25295         Remove rule.
25296         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25297         Likewise.
25298         [generic bits/local_lim.h] (before-compile): Do not append to
25299         variable.
25300         [generic bits/local_lim.h] (common-generated): Likewise.
25301         [generic sys/param.h] (before-compile): Do not append to variable.
25302         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25303         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25304         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25305         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25306         include.
25307         [generic sys/param.h] (sys/param.h-includes): Remove variable.
25308         [generic sys/param.h] (sys/param.h-includes): Remove rule.
25309         [generic sys/param.h] ($(addprefix
25310         $(common-objpfx),$(sys/param.h-includes))): Likewise.
25311         [generic sys/param.h] (common-generated): Do not append to
25312         variable.
25313         [generic sys/param.h] (sysdep_headers): Likewise.
25314         [generic bits/errno.h] (before-compile): Do not append to
25315         variable.
25316         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25317         rule.
25318         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25319         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25320         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25321         [generic bits/errno.h] (common-generated): Do not append to
25322         variable.
25323         [generic bits/ioctls.h] (before-compile): Do not append to
25324         variable.
25325         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25326         rule.
25327         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25328         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25329         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25330         rule.
25331         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25332         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25333         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25334         [generic bits/ioctls.h] (common-generated): Do not append to
25335         variable.
25336         [generic sys/syscall.h] (syscall.h): Remove variable.
25337         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25338         rule.
25339         [generic sys/syscall.h] (before-compile): Do not append to
25340         variable.
25341         [generic sys/syscall.h] (common-generated): Likewise.
25342         * sysdeps/unix/errnos-tmpl.c: Remove file.
25343         * sysdeps/unix/errnos.awk: Likewise.
25344         * sysdeps/unix/ioctls-tmpl.c: Likewise.
25345         * sysdeps/unix/ioctls.awk: Likewise.
25346         * sysdeps/unix/mk-local_lim.c: Likewise.
25347         * sysdeps/unix/snarf-ioctls: Likewise.
25349 2012-03-19  Richard Henderson  <rth@twiddle.net>
25351         * sysdeps/i386/fpu/fenv_private.h: New file.
25352         * sysdeps/i386/fpu/math_private.h: Use it.
25353         (math_opt_barrier, math_force_eval): Remove.
25354         (libc_feholdexcept_setround_53bit): Remove.
25355         (libc_feupdateenv_53bit): Remove.
25356         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25357         (math_opt_barrier, math_force_eval): Remove.
25358         (libc_feholdexcept): Remove.
25359         (libc_feholdexcept_setround): Remove.
25360         (libc_fetestexcept, libc_fesetenv): Remove.
25361         (libc_feupdateenv_test): Remove.
25362         (libc_feupdateenv, libc_feholdsetround): Remove.
25363         (libc_feresetround): Remove.
25365         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25366         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25368         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25369         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25370         (libc_feupdateenv_testl): New.
25371         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25372         (libc_feupdateenv_testf): New.
25373         (libc_feupdateenv): Use libc_feupdateenv_test.
25374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25375         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25377         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25378         (libc_feholdsetroundf, libc_feholdsetroundl): New.
25379         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25380         (libc_feresetround_noex): New.
25381         (libc_feresetround_noexf): New.
25382         (libc_feresetround_noexl): New.
25383         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25384         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25385         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25386         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25387         SET_RESTORE_ROUND.
25388         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25389         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25390         (__cos): Likewise.
25391         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25392         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25393         SET_RESTORE_ROUND_NOEX.
25394         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25395         SET_RESTORE_ROUND_NOEXF.
25396         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25397         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25398         (libc_feholdsetroundf): New.
25399         (libc_feresetround, libc_feresetroundf): New.
25401         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25402         (libc_feholdexcept_setround_53bit): Convert from macro to function.
25403         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
25405         * sysdeps/generic/math_private.h: Include <fenv.h>.
25406         (default_libc_feholdexcept): New.
25407         (default_libc_feholdexcept_setround): New.
25408         (default_libc_fesetenv, default_libc_feupdateenv): New.
25409         (libc_feholdexcept): Only define if undefined.
25410         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25411         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25412         (libc_feholdexcept_setroundl): Likewise.
25413         (libc_feholdexcept_setround_53bit): Likewise.
25414         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25415         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25416         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25417         (libc_feupdateenv_53bit): Likewise.
25418         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25419         (libc_feholdexcept): Convert from macro to inline function.
25420         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25421         (libc_fesetenv, libc_feupdateenv): Likewise.
25423         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25424         not previously defined.
25425         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25426         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25427         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25428         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25429         * sysdeps/ieee754/flt-32/math_private.h: New file.
25430         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25431         math_private.h below SET_FLOAT_WORD.
25432         (__isnan, __isinf_ns, __finite): Remove.
25433         (__isnanf, __isinf_nsf, __finitef): Remove.
25435 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25439 2012-03-17  David S. Miller  <davem@davemloft.net>
25441         [BZ #6471]
25442         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25443         for 2.16.
25445 2012-03-16  David S. Miller  <davem@davemloft.net>
25447         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25448         warnings.
25450         [BZ #6471]
25451         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25452         properly.
25453         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25454         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25455         sysdep_routines when subdir is sysvipc.
25456         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25457         __getshmlba helper.
25459         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25461 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25463         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25464         [__LP64__].
25466 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25468         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25469         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25470         (__lround): Renamed to ...
25471         (__llround): This.  Replace long int with long long int.
25472         Define lround functions as aliases of llround functions.
25473         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25475 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25477         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25478         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25479         adresses to uintptr_t.  Replace "long int" and "unsigned long
25480         int" with "greg_t" on va_arg.
25482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25484         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25485         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25487         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25488         Move e_machine check before EI_CLASS check.  Handle x32
25489         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25490         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25491         SKIP_EM_IA_64 and include
25492         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25494         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25495         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25496         (add_system_dir): New macro.
25498         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25499         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25501 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25503         [BZ #2551]
25504         [BZ #2552]
25505         [BZ #2553]
25506         [BZ #2554]
25507         [BZ #2562]
25508         [BZ #2563]
25509         [BZ #2565]
25510         [BZ #2566]
25511         [BZ #2576]
25512         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25513         (y0): Likewise.
25514         * math/w_j0f.c (j0f): Likewise.
25515         (y0f): Likewise.
25516         * math/w_j0l.c (__j0l): Likewise.
25517         (__y0l): Likewise.
25518         * math/w_j1.c (j1): Likewise.
25519         (y1): Likewise.
25520         * math/w_j1f.c (j1f): Likewise.
25521         (y1f): Likewise.
25522         * math/w_j1l.c (__j1l): Likewise.
25523         (__y1l): Likewise.
25524         * math/w_jn.c (jn): Likewise.
25525         (yn): Likewise.
25526         * math/w_jnf.c (jnf): Likewise.
25527         (ynf): Likewise.
25528         * math/w_jnl.c (__jnl): Likewise.
25529         (__ynl): Likewise.
25530         * math/libm-test.inc (j0_test): Add more tests.
25531         (j1_test): Likewise.
25532         (jn_test): Likewise.  Add trailing semicolon to existing test.
25533         (y0_test): Likewise.
25534         (y1_test): Likewise.
25535         * sysdeps/i386/fpu/libm-test-ulps: Update.
25536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25538         [BZ #13851]
25539         [BZ #13854]
25540         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25541         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25542         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25543         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25544         (__tanl): Set errno for infinite argument.
25545         * sysdeps/i386/fpu/mptan.c: Remove.
25546         * sysdeps/i386/fpu/s_tan.S: Likewise.
25547         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25548         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25549         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25550         * math/libm-test.inc (tan_test): Add more tests and enable more
25551         tests for double and long double.
25552         * sysdeps/i386/fpu/libm-test-ulps: Update.
25553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25555 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25557         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25558         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25560 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25562         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25563         * configure.in: Use it for both main tree and add-ons.
25564         * configure: Regenerated.
25566 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25568         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25570 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25572         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25573         in comment.
25575         [BZ #13851]
25576         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25577         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25578         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25579         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25580         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25581         infinite argument.
25582         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25583         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25584         != 0 for prec == 2.
25585         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25586         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25587         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25588         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25589         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25590         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25591         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25592         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25593         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25594         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25595         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25596         * math/libm-test.inc (cos_test): Add more tests and enable more
25597         tests for long double.
25598         (sin_test): Likewise.
25599         (sincos_test): Likewise.
25600         * sysdeps/i386/fpu/libm-test-ulps: Update.
25601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25603 2012-03-16  David S. Miller  <davem@davemloft.net>
25605         * sysdeps/sparc/fpu/math_private.h: New file.
25607 2012-03-15  David S. Miller  <davem@davemloft.net>
25609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25610         file.
25611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25613         file.
25614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25615         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25616         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25618         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25619         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25620         sysdep routines.
25621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25623         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25624         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25626         * sysdeps/sparc/sparc-ifunc.h: New file.
25627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25628         sparc-ifunc.h
25629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25631         Likewise.
25632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25633         Likewise.
25634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25638         Likewise.
25639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25644         Likewise.
25645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25646         Likewise.
25647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25653         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25654         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25657         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25661         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25662         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25664         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25665         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25666         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25667         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25668         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25669         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25670         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25672 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25674         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25675         scaling.
25676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25678 2012-03-15  Andreas Jaeger  <aj@suse.de>
25680         [BZ #13852]
25681         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25682         ieee754/flt-32 implementation for sin, cos and sincos.
25683         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25684         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25685         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25686         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25687         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25688         ieee754/flt-32 implementation for tan.
25690         * math/libm-test.inc (cos_test): Enable some large input tests for
25691         float as well
25692         (sin_test): Likewise.
25693         (sincos_test): Likewise.
25694         (tan_test): Add tests for large input.
25696         * sysdeps/i386/fpu/libm-test-ulps: Update.
25698 2012-03-15  Andreas Jaeger  <aj@suse.de>
25700         [BZ #13658]
25701         * math/libm-test.inc (cos_test): Add more test cases.
25702         (sin_test): Likewise.
25703         (sincos_test): Likewise.
25705 2012-03-15  Andreas Jaeger  <aj@suse.de>
25707         [BZ #13837]
25708         * math/libm-test.inc (cos_test): Add a test case for large input
25709         value.
25710         (sin_test): Likewise.
25711         (sincos_test): Likewise.
25713 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25714         Joseph Myers  <joseph@codesourcery.com>
25716         [BZ #13658]
25717         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25718         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25719         * sysdeps/i386/fpu/branred.c: Likewise.
25720         * sysdeps/i386/fpu/dosincos.c: Likewise.
25721         * sysdeps/i386/fpu/mpa.c: Likewise.
25722         * sysdeps/i386/fpu/s_cos.S: Likewise.
25723         * sysdeps/i386/fpu/s_sin.S: Likewise.
25724         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25725         * sysdeps/i386/fpu/sincos32.c: Likewise.
25727         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25728         Define.
25729         (libc_feupdateenv_53bit): Define.
25730         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25731         Define.
25732         (libc_feupdateenv_53bit): Define.
25734         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25735         53 bit (without extend i386 double precision).
25737         * math/libm-test.inc (sincos_test): Add tests for large input.
25738         (sin): Likewise.
25739         (cos): Likewise.
25741         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25743 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25747 2012-03-15  David S. Miller  <davem@davemloft.net>
25749         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25750         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25751         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25752         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25757         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25758         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25765         file.
25766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25768         file.
25769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25771         file.
25772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25774         file.
25775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25776         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25777         fmin/fmax sysdep routines.
25778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25780 2012-03-14  David S. Miller  <davem@davemloft.net>
25782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25786         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25787         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25788         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25789         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25790         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25793         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25794         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25795         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25798         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25799         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25801         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25802         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25803         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25804         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25805         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25806         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25807         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25808         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25809         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25810         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25811         routines.
25812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25813         file.
25814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25816         file.
25817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25819         file.
25820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25822         file.
25823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25825         file.
25826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25828         file.
25829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25830         file.
25831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25832         file.
25833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25834         file.
25835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25836         New file.
25837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25838         file.
25839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25840         file.
25841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25843         file.
25844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25846         file.
25847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25849         file.
25850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25852         VIS3 routines.
25854         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25855         New file.
25857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25859         * sysdeps/sparc/configure.in: New file.
25860         * sysdeps/sparc/configure: Generate.
25861         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25862         * configure: Regenerate.
25863         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25864         * config.make.in (have-as-vis3): New.
25865         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25866         available use -Av9d instead of -Av9a.
25867         * sysdeps/sparc/sparc64/Makefile: Likewise.
25868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25870         New file.
25871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25872         file.
25873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25874         New file.
25875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25876         file.
25877         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25878         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25879         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25880         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25881         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25883         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25884         fzeros/fnegs to load 0x80000000 into a float register instead of
25885         using the stack.
25886         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25888 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25891         bits/syscall.h.
25892         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25893         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25894         ($(inst_includedir)/bits/syscall.h): Remove rule.
25895         ($(objpfx)bits/syscall.d): Include instead of
25896         $(objpfx)syscall-list.d.
25897         (generated): Change syscall-list.h and syscall-list.d to
25898         bits/syscall.h and bits/syscall.d.
25900 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25902         [BZ #13846]
25903         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25905 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25907         [BZ #13841]
25908         * math/s_csqrt.c: Include <float.h>.
25909         (__csqrt): Scale large or subnormal inputs.
25910         * math/s_csqrtf.c: Likewise.
25911         * math/s_csqrtl.c: Likewise.
25912         * math/libm-test.inc (csqrt_test): Add more tests.
25913         * sysdeps/i386/fpu/libm-test-ulps: Update.
25914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25916         [BZ #13840]
25917         * math/libm-test.inc (hypot_test): Add more tests.
25919 2012-03-13  David S. Miller  <davem@davemloft.net>
25921         [BZ #13840]
25922         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25923         double-precision for the calculation instead of scaling.
25925 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25927         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25928         manipulate bits before adding and subtracting TWO52[sx].
25929         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25930         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25931         Likewise.
25932         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25934 2012-03-13  David S. Miller  <davem@davemloft.net>
25936         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25937         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25938         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25939         rtld-global-offsets.h
25940         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25942         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25943         large parameters.
25945         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25947         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25948         'err' in the ifdef scope in which it is actually used.
25950         * nss/nss_db/db-init.c: Include string.h
25952 2012-03-12  David S. Miller  <davem@davemloft.net>
25954         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25955         masking out of the most significant byte of random value used.
25956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25957         Fix coding style in previous change.
25959         * sysdeps/unix/sysv/linux/kernel-features.h
25960         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25961         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25962         expression.
25963         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25964         later.
25966 2012-03-11  David S. Miller  <davem@davemloft.net>
25968         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25969         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25970         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25971         for 'resultvar' otherwise things get truncated on 64-bit.
25973         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25974         Fix masking out of the most significant byte of random value used.
25976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25978 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25982 2012-03-09  David S. Miller  <davem@davemloft.net>
25984         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25985         variables with appropriate CPP guards.
25986         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25987         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25988         on resulting framesize and the management of the outregs buffer for pltexit.
25989         Preserve floating point return values across _dl_call_pltexit call.
25990         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25991         framesize and the management of the outregs buffer for pltexit.
25992         Preserve floating point return values across _dl_call_pltexit
25993         call.
25994         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25995         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25996         (print_exit): Fix format string for return register value.
25998 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
26000         * sunrpc/Makefile (others): Add rpcgen.
26001         ($(objpfx)rpcgen): Remove special build rule and dependency on
26002         libc.
26003         * sunrpc/rpcgen.c: New file.
26005 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
26007         [BZ #13673]
26008         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26009         * stdio-common/bug-vfprintf-nargs.c: Likewise.
26010         * sysdeps/i386/crti.S: Likewise.
26011         * sysdeps/i386/crtn.S: Likewise.
26012         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26013         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26014         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26015         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26016         * sysdeps/sh/crti.S: Likewise.
26017         * sysdeps/sh/crtn.S: Likewise.
26018         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26020         [BZ #13673]
26021         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26022         with URL.
26023         * locale/programs/locfile-kw.gperf: Likewise.
26024         * locale/programs/charmap-kw.h: Regenerated.
26025         * locale/programs/locfile-kw.h: Likewise.
26027         [BZ #13673]
26028         * intl/plural.y: Replace FSF snail mail address with URL.
26029         * intl/plural.c: Regenerated.
26031 2012-03-09  Richard Henderson  <rth@twiddle.net>
26033         * include/math_private.h: Remove file.
26034         * math/math_private.h: Move file ...
26035         * sysdeps/generic/math_private.h: ... here.
26037         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26038         * sysdeps/powerpc/fpu/math_private.h: Likewise.
26039         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26041         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26042         and <math_private.h>.
26043         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26044         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26045         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26046         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26047         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26048         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26049         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26050         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26051         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26052         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26053         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26054         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26055         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26056         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26057         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26058         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26059         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26060         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26061         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26062         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26064         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26065         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26066         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26067         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26068         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26069         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26073         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26074         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26075         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26076         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26077         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26078         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26079         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26080         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26081         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26082         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26083         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26084         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26085         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26086         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26087         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26088         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26089         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26090         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26091         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26092         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26093         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26094         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26095         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26096         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26097         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26098         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26099         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26100         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26101         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26102         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26103         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26104         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26105         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26106         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26107         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26108         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26109         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26110         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26111         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26112         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26113         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26114         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26115         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26116         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26117         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26118         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26119         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26121         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26122         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26123         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26124         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26125         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26126         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26127         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26128         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26130         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26131         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26132         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26133         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26134         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26135         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26136         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26137         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26138         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26139         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26140         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26141         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26142         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26143         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26144         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26145         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26146         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26147         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26148         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26149         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26150         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26151         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26152         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26153         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26154         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26155         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26156         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26157         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26158         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26159         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26160         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26161         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26162         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26163         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26164         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26165         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26166         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26167         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26168         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26169         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26170         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26171         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26172         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26173         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26174         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26175         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26176         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26177         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26178         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26179         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26180         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26181         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26182         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26183         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26184         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26185         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26186         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26187         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26188         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26189         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26190         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26191         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26192         * sysdeps/ieee754/k_standard.c: Likewise.
26193         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26194         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26195         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26196         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26197         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26198         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26199         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26200         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26201         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26202         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26203         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26204         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26205         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26206         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26207         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26208         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26209         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26210         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26211         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26212         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26213         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26214         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26215         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26216         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26217         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26218         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26219         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26220         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26221         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26222         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26223         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26224         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26225         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26226         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26227         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26228         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26229         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26230         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26231         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26232         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26233         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26234         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26235         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26236         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26237         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26238         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26239         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26240         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26241         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26242         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26243         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26244         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26245         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26246         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26247         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26248         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26249         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26250         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26251         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26252         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26253         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26254         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26255         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26256         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26257         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26259         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26260         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26261         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26262         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26263         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26264         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26265         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26266         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26267         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26268         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26269         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26270         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26271         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26272         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26273         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26274         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26275         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26276         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26277         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26278         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26279         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26280         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26281         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26282         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26283         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26284         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26285         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26286         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26287         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26288         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26289         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26290         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26291         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26292         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26293         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26294         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26295         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26296         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26297         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26298         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26299         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26300         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26301         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26302         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26303         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26304         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26305         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26306         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26307         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26308         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26309         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26310         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26311         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26312         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26313         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26314         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26315         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26316         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26317         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26318         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26319         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26320         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26321         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26322         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26323         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26324         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26325         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26326         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26327         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26328         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26329         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26330         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26331         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26332         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26333         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26334         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26335         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26336         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26337         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26338         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26339         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26340         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26341         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26342         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26343         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26344         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26345         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26346         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26347         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26348         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26349         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26350         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26351         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26352         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26353         * sysdeps/ieee754/s_lib_version.c: Likewise.
26354         * sysdeps/ieee754/s_matherr.c: Likewise.
26355         * sysdeps/ieee754/s_signgam.c: Likewise.
26356         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26357         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26358         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26359         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26360         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26361         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26362         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26363         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26364         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26365         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26366         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26367         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26368         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26369         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26370         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26371         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26372         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26373         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26374         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26375         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26376         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26378 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26380         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26381         * sunrpc/rpc_main.c: Likewise.
26382         * sunrpc/rpc_svcout.c: Likewise.
26384 2012-03-09  David S. Miller  <davem@davemloft.net>
26386         * include/math_private.h: New file.
26388 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26390         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26391         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26392         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26393         from <bits/socket_type.h>.
26394         (enum __socket_type): Don't define here.
26395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26397         bits/socket_type.h.
26399         [BZ #13566]
26400         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26401         checking __USE_GNU.
26403         * Makerules ($(inst_includedir)/%.h): New rule.
26404         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26405         (install-others): Remove variable setting.
26406         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26408 2012-03-08  Richard Henderson  <rth@twiddle.net>
26410         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26411         from macro to inline function; merge with the
26412         !__LIBC_INTERNAL_MATH_INLINES version.
26413         (__ieee754_sqrtf): Likewise.
26415         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26416         to inline function.
26417         (__rintf, __floor, __floorf): Likewise.
26419         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26420         macro to inline function.
26421         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26423         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26424         not <math/math_private.h>.
26426 2012-03-08  David S. Miller  <davem@davemloft.net>
26428         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26429         copyright year.
26430         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26432 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26434         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26435         normalization.
26436         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26437         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26439 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26441         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26442         be defined individually, they must be defined as a block.  Define
26443         S for printing a string instead of hidint the different by using a
26444         macro for adding the 'l'.
26445         * stdio-common/tst-fphex-wide.c: Adjust.
26447 2012-03-07  Marek Polacek  <polacek@redhat.com>
26449         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26451 2012-03-08  Marek Polacek  <polacek@redhat.com>
26453         [BZ #13806]
26454         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26455         * stdio-common/tst-fphex.c: Define a few macros to make the
26456         test reusable.  Use them.
26457         * stdio-common/tst-fphex-wide.c: New file.
26459 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26461         [BZ #6911]
26462         * manual/macros.texi (gnusystems): New macro.
26463         (nongnusystems): Likewise.
26464         (gnulinuxhurdsystems): Likewise.
26465         (gnuhurdsystems): Likewise..
26466         (gnulinuxsystems): Likewise.
26467         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26468         variants of the GNU system, not "GNU system".
26469         * manual/conf.texi: Likewise.
26470         * manual/errno.texi: Likewise.  Update example of errno macro
26471         expansion.
26472         * manual/filesys.texi: Likewise.
26473         (getumask): Document as specific to GNU/Hurd.
26474         * manual/install.texi: Likewise.  Reword some references to
26475         GNU/Linux.
26476         * manual/intro.texi: Likewise.
26477         * manual/io.texi: Likewise.
26478         (File Name Portability): Detail which constraints are inapplicable
26479         to all GNU systems and which are only inapplicable to GNU/Hurd.
26480         * manual/job.texi: Likewise.
26481         * manual/llio.texi: Likewise.
26482         (O_NOCTTY): Document as present on GNU/Linux.
26483         * manual/maint.texi: Likewise.
26484         * manual/memory.texi: Likewise.
26485         * manual/pattern.texi: Likewise.
26486         * manual/pipe.texi: Likewise.
26487         * manual/process.texi: Likewise.
26488         * manual/resource.texi: Likewise.
26489         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26490         child on GNU/Hurd.
26491         * manual/setjmp.texi: Likewise.
26492         * manual/signal.texi: Likewise.
26493         * manual/startup.texi: Likewise.
26494         * manual/stdio.texi: Likewise.
26495         * manual/terminal.texi: Likewise.
26496         (ONLCR): Document as POSIX.
26497         (OXTABS): Document availability on GNU/Linux as XTABS.
26498         (ONOEOT): Document availability separately from other bits.
26499         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26500         * manual/time.texi: Likewise.
26501         * manual/users.texi: Likewise.
26502         * INSTALL: Regenerated.
26503         * sysdeps/gnu/errlist.c: Regenerated.
26505         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26506         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26507         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26508         puts.
26509         * configure: Regenerated.
26511 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26513         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26514         default includes instead of AC_HEADER_CHECK.
26515         * sysdeps/i386/configure: Regenerated.
26517         [BZ #10716]
26518         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26519         * math/s_cacoshf.c (__cacoshf): Likewise.
26520         * math/s_cacoshl.c (__cacoshl): Likewise.
26521         * math/s_casinh.c (__casinh): Set signs of result from argument.
26522         * math/s_casinhf.c (__casinhf): Likewise.
26523         * math/s_casinhl.c (__casinhl): Likewise.
26524         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26525         (casinh_test): Add more tests.
26526         * sysdeps/i386/fpu/libm-test-ulps: Update.
26527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26529 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26531         * po/zh_TW.po: Update from translation team.
26533         * login/Makefile (distribute): Remove variable.
26534         * catgets/Makefile: Likewise.
26535         * mach/Makefile: Likewise.
26536         * malloc/Makefile: Likewise.
26537         * misc/Makefile: Likewise.
26538         * iconv/Makefile: Likewise.
26539         * nscd/Makefile: Likewise.
26540         * hurd/Makefile: Likewise.
26541         * manual/Makefile: Likewise.
26542         * locale/Makefile: Likewise.
26543         * intl/Makefile: Likewise.
26544         * conform/Makefile: Likewise.
26545         * nss/Makefile: Likewise.
26546         * time/Makefile: Likewise.
26547         * soft-fp/Makefile: Likewise.
26548         * dirent/Makefile: Likewise.
26549         * gmon/Makefile: Likewise.
26550         * po/Makefile: Likewise.
26551         * rt/Makefile: Likewise.
26552         * socket/Makefile: Likewise.
26553         * math/Makefile: Likewise.
26554         * signal/Makefile: Likewise.
26555         * debug/Makefile: Likewise.
26556         * elf/Makefile: Likewise.
26557         * timezone/Makefile: Likewise.
26558         * stdlib/Makefile: Likewise.
26559         * iconvdata/Makefile: Likewise.
26560         * sunrpc/Makefile: Likewise.
26561         * io/Makefile: Likewise.
26562         * argp/Makefile: Likewise.
26563         * inet/Makefile: Likewise.
26564         * hesiod/Makefile: Likewise.
26565         * grp/Makefile: Likewise.
26566         * csu/Makefile: Likewise.
26567         * wctype/Makefile: Likewise.
26568         * crypt/Makefile: Likewise.
26569         * libio/Makefile: Likewise.
26570         * string/Makefile: Likewise.
26571         * nis/Makefile: Likewise.
26572         * resolv/Makefile: Likewise.
26573         * stdio-common/Makefile: Likewise.
26574         * wcsmbs/Makefile: Likewise.
26575         * dlfcn/Makefile: Likewise.
26576         * posix/Makefile: Likewise.
26578         [BZ #6959]
26579         * timezone/Makefile: Don't install timezone files, just the programs
26580         and scripts.
26582 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26584         * nss/databases.def: Add missing gshadow entry.
26586         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26588 2012-03-06  Marek Polacek  <polacek@redhat.com>
26590         [BZ #13726]
26591         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26592         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26593         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26594         * stdio-common/tst-long-dbl-fphex.c: New file.
26596 2012-03-06  David S. Miller  <davem@davemloft.net>
26598         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26599         (set_obp_int): New function.
26600         (get_obp_int): New function.
26601         (__get_clockfreq_via_dev_openprom): Likewise.
26602         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26603         Avoid unused variable warnings on 'val' and use builtin_expect.
26604         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26605         __builtin_expect.
26606         (INLINE_CLONE_SYSCALL): Likewise.
26608 2012-03-05  David S. Miller  <davem@davemloft.net>
26610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26612 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26616         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26617         only for |x| >= 40.
26618         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26620 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26622         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26623         Replace gettimeofday with __vdso_gettimeofday.
26625         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26626         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26627         __vdso_clock_gettime and __vdso_getcpu.
26629         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26630         time with __vdso_time.
26632 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26634         * manual/lang.texi (size_t): Note types to which size_t may be
26635         equivalent with the GNU C Library, but do not describe when
26636         differences between them are significant.
26638 2012-03-05  Andreas Jaeger  <aj@suse.de>
26640         * sysdeps/i386/fpu/libm-test-ulps: Update.
26642 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26644         [BZ #3976]
26645         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26646         (__ieee754_pow): Save and restore rounding mode and use
26647         round-to-nearest for main computations.
26648         * math/libm-test.inc (pow_test_tonearest): New function.
26649         (pow_test_towardzero): Likewise.
26650         (pow_test_downward): Likewise.
26651         (pow_test_upward): Likewise.
26652         (main): Call the new functions.
26653         * sysdeps/i386/fpu/libm-test-ulps: Update.
26654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26656         [BZ #3976]
26657         * math/libm-test.inc (cosh_test_tonearest): New function.
26658         (cosh_test_towardzero): Likewise.
26659         (cosh_test_downward): Likewise.
26660         (cosh_test_upward): Likewise.
26661         (sinh_test_tonearest): Likewise.
26662         (sinh_test_towardzero): Likewise.
26663         (sinh_test_downward): Likewise.
26664         (sinh_test_upward): Likewise.
26665         (main): Call the new functions.
26666         * sysdeps/i386/fpu/libm-test-ulps: Update.
26667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26669 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26671         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26672         default stack guard is set in last bytes.
26673         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26675 2012-03-05  Kees Cook  <keescook@chromium.org>
26677         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26679         [BZ #13656]
26680         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26681         possibly allocate from heap instead of stack.
26682         * stdio-common/bug-vfprintf-nargs.c: New file.
26683         * stdio-common/Makefile (tests): Add nargs overflow test.
26685 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26689 2012-03-03  Marek Polacek  <polacek@redhat.com>
26691         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26692         * math/math_private.h: Likewise.
26693         * stdlib/tst-strtod.c: Likewise.
26694         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26695         * sysdeps/x86_64/bits/atomic.h: Likewise.
26697 2012-03-02  David S. Miller  <davem@davemloft.net>
26699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26703         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26704         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26705         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26706         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26708 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26710         [BZ #13792]
26711         * manual/examples/README: New file, says the example source files
26712         can be used under GPL>=2.
26713         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26714         line containing just "*/".
26715         * manual/examples/add.c: Add copyright header (GPL>=2).
26716         * manual/examples/argp-ex1.c: Likewise.
26717         * manual/examples/argp-ex2.c: Likewise.
26718         * manual/examples/argp-ex3.c: Likewise.
26719         * manual/examples/argp-ex4.c: Likewise.
26720         * manual/examples/atexit.c: Likewise.
26721         * manual/examples/db.c: Likewise.
26722         * manual/examples/dir.c: Likewise.
26723         * manual/examples/dir2.c: Likewise.
26724         * manual/examples/execinfo.c: Likewise.
26725         * manual/examples/filecli.c: Likewise.
26726         * manual/examples/filesrv.c: Likewise.
26727         * manual/examples/fmtmsgexpl.c: Likewise.
26728         * manual/examples/genpass.c: Likewise.
26729         * manual/examples/inetcli.c: Likewise.
26730         * manual/examples/inetsrv.c: Likewise.
26731         * manual/examples/isockad.c: Likewise.
26732         * manual/examples/longopt.c: Likewise.
26733         * manual/examples/memopen.c: Likewise.
26734         * manual/examples/memstrm.c: Likewise.
26735         * manual/examples/mkfsock.c: Likewise.
26736         * manual/examples/mkisock.c: Likewise.
26737         * manual/examples/mygetpass.c: Likewise.
26738         * manual/examples/pipe.c: Likewise.
26739         * manual/examples/popen.c: Likewise.
26740         * manual/examples/rprintf.c: Likewise.
26741         * manual/examples/search.c: Likewise.
26742         * manual/examples/select.c: Likewise.
26743         * manual/examples/setjmp.c: Likewise.
26744         * manual/examples/sigh1.c: Likewise.
26745         * manual/examples/sigusr.c: Likewise.
26746         * manual/examples/stpcpy.c: Likewise.
26747         * manual/examples/strdupa.c: Likewise.
26748         * manual/examples/strftim.c: Likewise.
26749         * manual/examples/strncat.c: Likewise.
26750         * manual/examples/subopt.c: Likewise.
26751         * manual/examples/swapcontext.c: Likewise.
26752         * manual/examples/termios.c: Likewise.
26753         * manual/examples/testopt.c: Likewise.
26754         * manual/examples/testpass.c: Likewise.
26755         * manual/examples/timeval_subtract.c: Likewise.
26757         [BZ #13792]
26758         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26759         function to ...
26760         * manual/timeval_subtract.c.texi: ... here, new file.
26762 2012-03-02  David S. Miller  <davem@davemloft.net>
26764         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26766 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26768         [BZ #3976]
26769         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26770         (__sin): Save and restore rounding mode and use round-to-nearest
26771         for all computations.
26772         (__cos): Save and restore rounding mode and use round-to-nearest
26773         for all computations.
26774         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26775         <fenv.h>.
26776         (tan): Save and restore rounding mode and use round-to-nearest for
26777         all computations.
26778         * math/libm-test.inc (cos_test_tonearest): New function.
26779         (cos_test_towardzero): Likewise.
26780         (cos_test_downward): Likewise.
26781         (cos_test_upward): Likewise.
26782         (sin_test_tonearest): Likewise.
26783         (sin_test_towardzero): Likewise.
26784         (sin_test_downward): Likewise.
26785         (sin_test_upward): Likewise.
26786         (tan_test_tonearest): Likewise.
26787         (tan_test_towardzero): Likewise.
26788         (tan_test_downward): Likewise.
26789         (tan_test_upward): Likewise.
26790         (main): Call the new functions.
26791         * sysdeps/i386/fpu/libm-test-ulps: Update.
26792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26794         [BZ #10135]
26795         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26796         small n, then large n, before computing and testing k+n.
26797         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26798         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26799         Likewise.
26800         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26801         Likewise.
26802         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26803         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26804         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26805         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26806         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26807         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26808         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26809         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26810         * math/libm-test.inc (scalbn_test): Add more tests.
26811         (scalbln_test): Likewise.
26813         * manual/filesys.texi (mode_t): Describe constraints on size and
26814         signedness, not exact equivalence to a particular type.
26815         (ino_t): Likewise.
26816         (ino64_t): Likewise.
26817         (dev_t): Likewise.
26818         (nlink_t): Likewise.
26819         (blkcnt_t): Likewise.
26820         (blkcnt64_t): Likewise.
26821         * manual/llio.texi (off_t): Likewise.
26823         [BZ #3976]
26824         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26825         (__ieee754_exp): Save and restore rounding mode and use
26826         round-to-nearest for all computations.
26827         * math/libm-test.inc (exp_test_tonearest): New function.
26828         (exp_test_towardzero): Likewise.
26829         (exp_test_downward): Likewise.
26830         (exp_test_upward): Likewise.
26831         (main): Call the new functions.
26832         * sysdeps/i386/fpu/libm-test-ulps: Update.
26833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26835 2012-03-01  Chris Demetriou  <cgd@google.com>
26837         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26838         have predictable order.
26840 2012-03-01  David S. Miller  <davem@davemloft.net>
26842         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26844         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26845         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26846         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26847         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26849         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26850         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26851         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26853         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26854         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26855         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26856         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26857         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26861         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26862         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26863         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26865         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26866         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26867         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26868         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26869         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26870         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26871         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26872         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26873         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26874         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26875         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26876         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26878         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26879         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26881         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26882         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26883         * sysdeps/sparc/elf/configure: Regenerated.
26885 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26887         * configure.in (AS, LD): Require binutils 2.20 or later.
26888         * configure: Regenerated.
26889         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26890         as required minimum version.
26891         * INSTALL: Regenerated.
26893         [BZ #2541]
26894         [BZ #4108]
26895         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26896         before squaring exponent.
26897         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26898         bottom long double and 27 bits of top long double before squaring
26899         exponent.
26900         * math/libm-test.inc (erfc_test): Add more tests.
26901         * sysdeps/i386/fpu/libm-test-ulps: Update.
26902         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26905 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26907         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26908         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26909         containing bit-fields.
26910         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26911         * soft-fp/single.h (_FP_UNION_S): Likewise.
26912         * soft-fp/double.h (_FP_UNION_D): Likewise.
26914 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26916         [BZ #13786]
26917         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26918         not include ../strcmp.S.
26919         [USE_AS_STRNCASECMP_L]: Likewise.
26920         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26921         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26922         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26923         (__strncasecmp_l_ia32): Define as alias to
26924         __strncasecmp_l_nonascii.
26926         [BZ #5794]
26927         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26928         * sysdeps/i386/fpu/libm-test-ulps: Update.
26929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26931         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26934 2012-02-29  Jeff Law  <law@redhat.com>
26936         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26937         out of bounds read.
26939 2012-02-29  Marek Polacek  <polacek@redhat.com>
26941         [BZ #13706]
26942         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26943         * elf/Makefile: Add rules to run tst-unused-dep.out.
26945 2012-02-28  David S. Miller  <davem@davemloft.net>
26947         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26948         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26949         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26950         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26951         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26952         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26954 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26956         * math/libm-test.inc (llround_test): Move one test from
26957         lround_test.  Use TEST_f_L in moved test.
26958         (lround_test): Move misplaced test to llround_test.  Add testcase
26959         from bug 2561.
26961 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26963         * sysdeps/x86_64/fpu/e_expf.S: New file.
26964         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26966 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26968         [BZ #13637]
26969         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26970         of remain_len that may cause incomplete multi-byte character and
26971         false match.
26972         * posix/bug-regex33.c: New file.
26973         * posix/Makefile (tests): Add bug-regex33.
26975 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26977         * manual/macros.texi: New file.
26978         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26979         * manual/libc.texinfo: Include macros.texi.
26980         * manual/creatute.texi: Likewise.
26981         * manual/install.texi: Likewise.
26982         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26983         @glibcadj{} in references to the GNU C Library.
26984         * manual/charset.texi: Likewise.
26985         * manual/conf.texi: Likewise.
26986         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26987         when not using those macros.
26988         * manual/creature.texi: Likewise.
26989         * manual/crypt.texi: Likewise.
26990         * manual/errno.texi: Likewise.
26991         * manual/filesys.texi: Likewise.
26992         * manual/header.texi: Likewise.
26993         * manual/install.texi: Likewise.
26994         * manual/intro.texi: Likewise.
26995         * manual/io.texi: Likewise.
26996         * manual/job.texi: Likewise.
26997         * manual/lang.texi: Likewise.
26998         * manual/libc.texiinfo: Likewise.
26999         * manual/llio.texi: Likewise.
27000         * manual/locale.texi: Likewise.
27001         * manual/maint.texi: Likewise.
27002         * manual/math.texi: Likewise.
27003         * manual/memory.texi: Likewise.
27004         * manual/message.texi: Likewise.
27005         * manual/nss.texi: Likewise.
27006         * manual/pattern.texi: Likewise.
27007         * manual/process.texi: Likewise.
27008         * manual/resource.texi: Likewise.
27009         * manual/search.texi: Likewise.
27010         * manual/setjmp.texi: Likewise.
27011         * manual/signal.texi: Likewise.
27012         * manual/socket.texi: Likewise.
27013         * manual/startup.texi: Likewise.
27014         * manual/stdio.texi: Likewise.
27015         * manual/string.texi: Likewise.
27016         * manual/sysinfo.texi: Likewise.
27017         * manual/syslog.texi: Likewise.
27018         * manual/terminal.texi: Likewise.
27019         * manual/time.texi: Likewise.
27020         * manual/users.texi: Likewise.
27021         * INSTALL: Regenerated.
27022         * NOTES: Regenerated.
27023         * sysdeps/gnu/errlist.c: Regenerated.
27025 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
27027         * include/dirent.h: Include <dirstream.h> before
27028         <dirent/dirent.h>.
27030 2012-02-28  David S. Miller  <davem@davemloft.net>
27032         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27033         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27034         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27035         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27037 2012-02-27  David S. Miller  <davem@davemloft.net>
27039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27041         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27042         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27045         frame pointer instead of stack pointer relative arg slot.
27046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27047         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27048         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27050 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
27052         [BZ #3992]
27053         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27055 2012-02-27  David S. Miller  <davem@davemloft.net>
27057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27061         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27062         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27063         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27064         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27066 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27068         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27069         later.  Allow versions 5-9.
27070         * configure: Regenerated.
27071         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27072         required minimum version and 4.6 as recommended version.  Do not
27073         mention bugs in GCC 2.7 and 2.8.
27074         * INSTALL: Regenerated.
27076 2012-02-27  David S. Miller  <davem@davemloft.net>
27078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27082         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27083         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27084         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27085         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27087         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27088         manipulate bits before adding and subtracting TWO112[sx].
27089         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27091 2012-02-27  Roland McGrath  <roland@hack.frob.com>
27093         [BZ #13775]
27094         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27095         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27096         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27097         being in POSIX, because they are in 1003.1-2008.
27099         * rt/tst-aio.c: Include <fcntl.h>.
27100         * rt/tst-aio7.c: Likewise.
27101         * rt/tst-aio64.c: Likewise.
27103         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27105 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27107         * manual/install.texi (--with-headers): Describe headers as
27108         interface headers, not private headers.
27109         (Specific advice for GNU/Linux systems): Describe use of headers
27110         from "make headers_install", not private headers from older
27111         kernels.
27112         * INSTALL: Regenerated.
27113         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27114         Change to 2.6.19.
27115         * sysdeps/unix/sysv/linux/configure: Regenerated.
27117         * manual/llio.texi (fclean): Remove documentation.
27119         * manual/Makefile (libc-texi-generated): New variable.  Include
27120         version.texi.
27121         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27122         $(libc-texi-generated), not duplicated list of files.
27123         (version.texi, stamp-version): New rules.
27124         (realclean): Remove $(libc-texi-generated), not individual files
27125         from that list.  Do not remove dir-add.texinfo.
27126         * manual/libc.texinfo: Comment out uses of edition numbers and
27127         references to printed manual.  Remove last-updated dates.
27128         (EDITION): Comment out.
27129         (ISBN): Likewise.
27130         (VERSION, UPDATED): Remove.
27131         (version.texi): Include.
27133 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
27135         * sysdeps/posix/spawni.c: Include <signal.h>.
27136         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27137         * sysdeps/pthread/aio_fsync.c: Likewise.
27139 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
27141         * conform/Makefile (tests): Run only when not cross-compiling and
27142         when fast-check is not defined.
27144         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27145         * conform/data/limits.h-data: Fixes for POSIX2008.
27146         * conform/run-conformtest.sh: Run all tests.
27147         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27148         headers.
27149         * include/bits/dlfcn.h: Likewise.
27150         * include/langinfo.h: Likewise.
27151         * include/monetary.h: Likewise.
27152         * include/sys/poll.h: Likewise.
27154         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27155         for __USE_GNU.
27156         * posix/spawn.h: Define __need_sigset_t.
27157         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27158         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27159         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
27160         to get sigevent_t only.
27161         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27162         only for __USE_GNU.
27163         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27164         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27165         process_vm_writev only for __USE_GNU.
27166         * termios/termios.h: Declare tcgetsid also for POSIX2008.
27168         * conform/Makefile: For now ignore errors from run-conformtest.
27169         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
27170         POSIX to avoid namespace pollution.  Don't prepend headers.
27171         * conform/data/aio.h-data: Fixes for POSIX testing.
27172         * conform/data/fcntl.h-data: Likewise.
27173         * conform/data/glob.h-data: Likewise.
27174         * conform/data/grp.h-data: Likewise.
27175         * conform/data/pthread.h-data: Likewise.
27176         * conform/data/pwd.h-data: Likewise.
27177         * conform/data/signal.h-data: Likewise.
27178         * conform/data/spawn.h-data: Likewise.
27179         * conform/data/stdio.h-data: Likewise.
27180         * conform/data/stdlib.h-data: Likewise.
27181         * conform/data/stropts.h-data: Likewise.
27182         * conform/data/sys/mman.h-data: Likewise.
27183         * conform/data/sys/stat.h-data: Likewise.
27184         * conform/data/sys/types.h-data: Likewise.
27185         * conform/data/sys/wait.h-data: Likewise.
27186         * conform/data/time.h-data: Likewise.
27187         * conform/data/unistd.h-data: Likewise.
27188         * conform/data/utime.h-data: Likewise.
27190         * io/sys/stat.h: fchmod was always in POSIX.
27191         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27192         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27193         * rt/aio.h: Define __need_timespec before including <time.h>.
27194         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27195         struct.  Add forward declaration of pthread_attr_t and use it in
27196         sigevent.
27197         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27198         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27199         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27200         always remove CLK_TCK definition.
27202 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
27204         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27206 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
27208         * conform/run-conformtest.sh: New file.
27209         * conform/Makefile: Run run-conformtest for tests.
27210         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
27211         support.
27213         * conform/data/uchar.h-data: New file.
27214         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27215         * conform/data/arpa/inet.h-data: Likewise.
27216         * conform/data/assert.h-data: Likewise.
27217         * conform/data/complex.h-data: Likewise.
27218         * conform/data/cpio.h-data: Likewise.
27219         * conform/data/ctype.h-data: Likewise.
27220         * conform/data/dirent.h-data: Likewise.
27221         * conform/data/dlfcn.h-data: Likewise.
27222         * conform/data/errno.h-data: Likewise.
27223         * conform/data/fcntl.h-data: Likewise.
27224         * conform/data/float.h-data: Likewise.
27225         * conform/data/fmtmsg.h-data: Likewise.
27226         * conform/data/fnmatch.h-data: Likewise.
27227         * conform/data/ftw.h-data: Likewise.
27228         * conform/data/glob.h-data: Likewise.
27229         * conform/data/grp.h-data: Likewise.
27230         * conform/data/iconv.h-data: Likewise.
27231         * conform/data/inttypes.h-data: Likewise.
27232         * conform/data/langinfo.h-data: Likewise.
27233         * conform/data/libgen.h-data: Likewise.
27234         * conform/data/limits.h-data: Likewise.
27235         * conform/data/locale.h-data: Likewise.
27236         * conform/data/math.h-data: Likewise.
27237         * conform/data/monetary.h-data: Likewise.
27238         * conform/data/mqueue.h-data: Likewise.
27239         * conform/data/ndbm.h-data: Likewise.
27240         * conform/data/net/if.h-data: Likewise.
27241         * conform/data/netdb.h-data: Likewise.
27242         * conform/data/netinet/in.h-data: Likewise.
27243         * conform/data/nl_types.h-data: Likewise.
27244         * conform/data/poll.h-data: Likewise.
27245         * conform/data/pthread.h-data: Likewise.
27246         * conform/data/pwd.h-data: Likewise.
27247         * conform/data/regex.h-data: Likewise.
27248         * conform/data/sched.h-data: Likewise.
27249         * conform/data/search.h-data: Likewise.
27250         * conform/data/semaphore.h-data: Likewise.
27251         * conform/data/setjmp.h-data: Likewise.
27252         * conform/data/signal.h-data: Likewise.
27253         * conform/data/spawn.h-data: Likewise.
27254         * conform/data/stdarg.h-data: Likewise.
27255         * conform/data/stdio.h-data: Likewise.
27256         * conform/data/stdlib.h-data: Likewise.
27257         * conform/data/string.h-data: Likewise.
27258         * conform/data/strings.h-data: Likewise.
27259         * conform/data/stropts.h-data: Likewise.
27260         * conform/data/sys/ipc.h-data: Likewise.
27261         * conform/data/sys/mman.h-data: Likewise.
27262         * conform/data/sys/msg.h-data: Likewise.
27263         * conform/data/sys/resource.h-data: Likewise.
27264         * conform/data/sys/select.h-data: Likewise.
27265         * conform/data/sys/sem.h-data: Likewise.
27266         * conform/data/sys/shm.h-data: Likewise.
27267         * conform/data/sys/socket.h-data: Likewise.
27268         * conform/data/sys/stat.h-data: Likewise.
27269         * conform/data/sys/statvfs.h-data: Likewise.
27270         * conform/data/sys/time.h-data: Likewise.
27271         * conform/data/sys/timeb.h-data: Likewise.
27272         * conform/data/sys/times.h-data: Likewise.
27273         * conform/data/sys/types.h-data: Likewise.
27274         * conform/data/sys/uio.h-data: Likewise.
27275         * conform/data/sys/un.h-data: Likewise.
27276         * conform/data/sys/utsname.h-data: Likewise.
27277         * conform/data/sys/wait.h-data: Likewise.
27278         * conform/data/syslog.h-data: Likewise.
27279         * conform/data/tar.h-data: Likewise.
27280         * conform/data/termios.h-data: Likewise.
27281         * conform/data/utime.h-data: Likewise.
27282         * conform/data/utmpx.h-data: Likewise.
27283         * conform/data/varargs.h-data: Likewise.
27284         * conform/data/wchar.h-data: Likewise.
27285         * conform/data/wctype.h-data: Likewise.
27286         * conform/data/wordexp.h-data: Likewise.
27288         * include/stropts.h: New file.
27289         * include/uchar.h: New file.
27290         * include/aio.h: Changes to allow conformtest.pl to use the headers.
27291         * include/assert.h: Likewise.
27292         * include/ctype.h: Likewise.
27293         * include/dirent.h: Likewise.
27294         * include/dlfcn.h: Likewise.
27295         * include/fcntl.h: Likewise.
27296         * include/fnmatch.h: Likewise.
27297         * include/glob.h: Likewise.
27298         * include/grp.h: Likewise.
27299         * include/libio.h: Likewise.
27300         * include/locale.h: Likewise.
27301         * include/math.h: Likewise.
27302         * include/net/if.h: Likewise.
27303         * include/netdb.h: Likewise.
27304         * include/netinet/in.h: Likewise.
27305         * include/pthread.h: Likewise.
27306         * include/pwd.h: Likewise.
27307         * include/regex.h: Likewise.
27308         * include/sched.h: Likewise.
27309         * include/search.h: Likewise.
27310         * include/setjmp.h: Likewise.
27311         * include/signal.h: Likewise.
27312         * include/stdio.h: Likewise.
27313         * include/stdlib.h: Likewise.
27314         * include/string.h: Likewise.
27315         * include/sys/cdefs.h: Likewise.
27316         * include/sys/mman.h: Likewise.
27317         * include/sys/msg.h: Likewise.
27318         * include/sys/resource.h: Likewise.
27319         * include/sys/select.h: Likewise.
27320         * include/sys/socket.h: Likewise.
27321         * include/sys/stat.h: Likewise.
27322         * include/sys/statvfs.h: Likewise.
27323         * include/sys/time.h: Likewise.
27324         * include/sys/times.h: Likewise.
27325         * include/sys/uio.h: Likewise.
27326         * include/sys/utsname.h: Likewise.
27327         * include/sys/wait.h: Likewise.
27328         * include/termios.h: Likewise.
27329         * include/time.h: Likewise.
27330         * include/ulimit.h: Likewise.
27331         * include/unistd.h: Likewise.
27332         * include/utime.h: Likewise.
27333         * include/wchar.h: Likewise.
27334         * include/wctype.h: Likewise.
27335         * include/wordexp.h: Likewise.
27337         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27339         * time/time.h: TIME_UTC must be a macro.
27340         Make timespec_get available for ISO C11 only as well.
27342 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
27344         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27345         Reported by Peng Haitao <penght@cn.fujitsu.com>.
27347 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27349         * configure.in: Use -o not -a in test for unsupported multi-arch.
27351 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27353         * manual/texinfo.tex: Update to version 2012-01-19.16.
27355 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27357         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27359 2012-02-24  Roland McGrath  <roland@hack.frob.com>
27361         [BZ #13738]
27362         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27363         * manual/fdl-1.3.texi: New file.
27364         * manual/fdl-1.1.texi: File removed.
27366         [BZ #13738]
27367         * manual/libc.texinfo (FDL_VERSION): New @set.
27368         Use it for mention of FDL in cover text.
27369         (Documentation License): Use it in @include file name.
27371 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27372             Roland McGrath  <roland@hack.frob.com>
27374         [BZ #5461]
27375         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27376         not LONG_LONG_MAX and LONG_LONG_MIN.
27377         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27378         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
27379         name.
27380         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27382 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27384         [BZ #2547]
27385         [BZ #11365]
27386         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27387         manipulate bits before adding and subtracting TWO23[sx].
27388         * math/libm-test.inc (nearbyint_test): Add more tests.
27390 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27392         [BZ #2548]
27393         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27394         bits before adding and subtracting TWO23[sx].
27395         * math/libm-test.inc (rint_test): Add more tests.
27396         (rint_test_tonearest): Likewise.
27397         (rint_test_towardzero): Likewise.
27398         (rint_test_downward): Likewise.
27399         (rint_test_upward: Likewise.
27401 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27403         [BZ #10110]
27404         * include/stdc-predef.h: New file.  Extracted from features.h.
27405         * include/features.h: Include stdc-predef.h.
27406         * Makefile (headers): Add stdc-predef.h.
27407         * CONFORMANCE (Compiler limitations): Update.
27409 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27411         * manual/libc.texinfo (VERSION, UPDATED): Revert.
27413 2012-02-21  David S. Miller  <davem@davemloft.net>
27415         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27416         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27418 2012-02-20  David S. Miller  <davem@davemloft.net>
27420         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27421         using a normal save/restore sequence, rather than allocating a
27422         dummy stack frame just to store a frame pointer and restore.
27423         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27425 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27427         * manual/install.texi: Fix stray word in line-wrapped comment.
27429 2012-02-20  David S. Miller  <davem@davemloft.net>
27431         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27432         both binutils and gcc support GOTDATA.
27434         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27435         "rd %pc" in the PIC register setup sequences.
27437         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27438         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27439         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27440         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27441         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27443         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27444         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27446         (SYSCALL_ERROR_HANDLER): Likewise.
27447         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27448         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27450         (SYSCALL_ERROR_HANDLER): Likewise.
27452         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27453         (HAVE_GCC_GOTDATA): New.
27454         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27455         relocation support in both binutils and gcc.
27456         * sysdeps/sparc/elf/configure: Regenerate.
27458         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27459         * sysdeps/sparc/sparc32/elf/configure: Delete.
27460         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27461         * sysdeps/sparc/sparc64/elf/configure: Delete.
27462         * sysdeps/sparc/elf/configure.in: New file.
27463         * sysdeps/sparc/elf/configure: Generate.
27465         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27466         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27467         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27468         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27469         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27471 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27473         * manual/install.texi: Do not mention specific glibc version
27474         numbers.
27475         * manual/libc.texinfo (VERSION, UPDATED): Update.
27476         (@copying): Use @copyright{} and range of years.
27478 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27480         [BZ #13695]
27481         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27482         [crti.S not in sysdirs] (generated): Do not append.
27483         [crti.S not in sysdirs] (omit-deps): Likewise.
27484         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27485         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27486         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27487         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27488         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27489         Likewise.
27490         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27491         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27492         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27493         * csu/defs.awk: Remove file.
27494         * sysdeps/generic/initfini.c: Likewise.
27495         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27496         variable.
27497         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27498         Likewise.
27500 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27502         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27503         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27504         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27505         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27506         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27507         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27508         <bits/epoll.h>.
27509         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27510         (__EPOLL_PACKED): Define to empty if not defined by
27511         <bits/epoll.h>.
27512         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27514         bits/epoll.h.
27516 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27518         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27519         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27520         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27521         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27522         <bits/timerfd.h>.
27523         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27525         bits/timerfd.h.
27527 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27529         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27530         in C locale.
27531         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27532         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27533         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27536 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27538         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27539         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27541 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27543         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27544         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27545         defined.
27546         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27547         Likewise.
27548         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27549         entry for 2.16.
27551 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27553         * math/w_acos.c: Use non-signaling floating-point comparisons.
27554         * math/w_acosf.c: Likewise.
27555         * math/w_acosh.c: Likewise.
27556         * math/w_acoshf.c: Likewise.
27557         * math/w_acoshl.c: Likewise.
27558         * math/w_acosl.c: Likewise.
27559         * math/w_asin.c: Likewise.
27560         * math/w_asinf.c: Likewise.
27561         * math/w_asinl.c: Likewise.
27562         * math/w_atanh.c: Likewise.
27563         * math/w_atanhf.c: Likewise.
27564         * math/w_atanhl.c: Likewise.
27565         * math/w_exp2.c: Likewise.
27566         * math/w_exp2f.c: Likewise.
27567         * math/w_exp2l.c: Likewise.
27568         * math/w_j0.c: Likewise.
27569         * math/w_j0f.c: Likewise.
27570         * math/w_j0l.c: Likewise.
27571         * math/w_j1.c: Likewise.
27572         * math/w_j1f.c: Likewise.
27573         * math/w_j1l.c: Likewise.
27574         * math/w_jn.c: Likewise.
27575         * math/w_jnf.c: Likewise.
27576         * math/w_log.c: Likewise.
27577         * math/w_log10.c: Likewise.
27578         * math/w_log10f.c: Likewise.
27579         * math/w_log10l.c: Likewise.
27580         * math/w_log2.c: Likewise.
27581         * math/w_log2f.c: Likewise.
27582         * math/w_log2l.c: Likewise.
27583         * math/w_logf.c: Likewise.
27584         * math/w_logl.c: Likewise.
27585         * math/w_sqrt.c: Likewise.
27586         * math/w_sqrtf.c: Likewise.
27587         * math/w_sqrtl.c: Likewise.
27588         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27589         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27590         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27591         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27592         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27594 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27596         [BZ #9739]
27597         * manual/string.texi (strnlen): Use correct parameter name in
27598         equivalent expression.
27600 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27602         [BZ #11174]
27603         * manual/users.texi (seteuid): Consistently use neweuid for
27604         argument name.
27606 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27608         [BZ #13704]
27609         * manual/nss.texi (Services in the NSS configuration): Correct
27610         list of services in example configuration file.
27612 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27614         [BZ #11322]
27615         * manual/arith.texi: Remove statements about negative zero
27616         behaving identically to zero.
27618 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27620         [BZ #5993]
27621         * manual/install.texi: Do not document upgrading from libc5.
27623 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27625         [BZ #4596]
27626         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27628 2012-02-18  David S. Miller  <davem@davemloft.net>
27630         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27631         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27632         %o7 across the call.
27633         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27634         instead.
27635         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27636         SETUP_PIC_REG_LEAF.
27637         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27638         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27639         * sysdeps/sparc/crtn.S: Likewise.
27641 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27643         * aout/Makefile: Remove.
27645 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27647         [BZ #13058]
27648         * manual/examples/argp-ex1.c (main): Format definition in GNU
27649         style.
27650         * manual/examples/argp-ex2.c (main): Likewise.
27651         * manual/examples/argp-ex3.c (main): Likewise.
27652         * manual/examples/argp-ex4.c (main): Likewise.
27653         * manual/examples/longopt.c (main): Use new-style prototype
27654         definition.
27655         * manual/examples/strncat.c (main): Specify return type and use
27656         (void) for arguments.
27657         * manual/examples/subopt.c (main): Use char **argv argument.
27659 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27661         [BZ #5077]
27662         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27663         rounding modes.
27665 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27667         [BZ #6907]
27668         * manual/string.texi (strchr): Change when strchrnul is
27669         recommended.
27671 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27673         [BZ #174]
27674         * manual/locale.texi (setlocale): Document LOCPATH.
27676 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27678         [BZ #10210]
27679         * manual/process.texi (execle): Move @dots{} before last argument.
27681 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27683         [BZ #12047]
27684         * manual/charset.texi (Generic Charset Conversion): Fix typo
27685         (LC_TYPE -> LC_CTYPE).
27687 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27689         [BZ #5805]
27690         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27691         (scalbnf): Likewise.
27692         (scalbnl): Likewise.
27693         (scalbln): Likewise.
27694         (scalblnf): Likewise.
27695         (scalblnl): Likewise.
27696         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27697         (vwarnx): Likewise.
27698         (verr): Likewise.
27699         (verrx): Likewise.
27700         * manual/filesys.texi (telldir): Use braces around return type.
27701         * manual/llio.texi (mmap): Add space after comma.
27702         (mmap64): Likewise.
27703         * manual/math.texi (jn): Use @var{} on parameter names.
27704         (jnf): Likewise.
27705         (jnl): Likewise.
27706         (yn): Likewise.
27707         (ynf): Likewise.
27708         (ynl): Likewise.
27709         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27710         line.
27711         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27712         "...".
27713         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27714         (sched_get_priority_max): Likewise.
27715         * manual/signal.texi (sigvec): Add space after comma.
27716         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27717         names.
27718         (if_indextoname): Likewise.
27719         (if_freenameindex): Likewise.
27720         (sendto): Use ',' instead of '.' in prototype.
27721         * manual/startup.texi (syscall): Use @dots{} instead of literal
27722         "...".
27723         * manual/stdio.texi (__fpending): Separate initial words of
27724         paragraph from @deftypefun line.
27725         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27726         "...".
27727         (vsyslog): Use @var{} on parameter names.
27728         * manual/terminal.texi (stty): Use @var{} on parameter names.
27729         * manual/users.texi (getutmp): Use @var{} on parameter names.
27730         (getutmpx): Likewise.
27732 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27734         [BZ #6884]
27735         * manual/stdio.texi (fopen): Fix typos in description of
27736         ",ccs=STRING".
27738 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27740         [BZ #4026]
27741         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27742         get clock_id definition.
27744 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27746         [BZ #4822]
27747         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27748         (madvise): Cast every argument to void on its own.
27750 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27752         [BZ #9902]
27753         * manual/startup.texi (Exit Status): Fix typo.
27755 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27757         [BZ #10140]
27758         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27759         * manual/examples/argp-ex2.c: Likewise.
27760         * manual/examples/argp-ex3.c: Likewise.
27762 2012-02-16  Richard Henderson  <rth@redhat.com>
27764         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27765         * sysdeps/s390/s390-32/initfini.c: Remove.
27766         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27767         * sysdeps/s390/s390-64/initfini.c: Remove.
27769 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27771         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27772         compiler output for sysdeps/generic/initfini.c.
27773         * sysdeps/sh/elf/initfini.c: Remove file.
27775 2012-02-16  David S. Miller  <davem@davemloft.net>
27777         [BZ #11494]
27778         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27780         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27781         * sysdeps/sparc/crti.S: New file.
27782         * sysdeps/sparc/crtn.S: New file.
27783         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27784         * sysdeps/sparc/sparc64/Makefile: Likewise.
27786 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27788         [BZ #3335]
27789         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27791 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27793         [BZ #4822]
27794         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27796         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27797         (write, read, close): Likewise.
27798         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27800 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27802         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27803         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27804         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27805         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27806         <bits/signalfd.h>.
27807         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27809         bits/signalfd.h.
27811 2012-02-14  Marek Polacek  <polacek@redhat.com>
27813         * sysdeps/x86_64/crti.S: New file.
27814         * sysdeps/x86_64/crtn.S: New file.
27815         * sysdeps/x86_64/elf/initfini.c: Remove file.
27817 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27819         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27820         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27821         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27822         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27823         <bits/inotify.h>.
27824         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27825         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27826         bits/inotify.h.
27828 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27830         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27831         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27832         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27833         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27834         <bits/eventfd.h>.
27835         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27836         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27837         bits/eventfd.h.
27839 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27841         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27842         __feraiseexcept instead of feraiseexcept.
27844         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27845         nanosleep invocations.
27846         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27847         strings, and add error checking for a nanosleep invocations.
27849 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27851         Replace FSF snail mail address with URLs, as per GNU coding standards.
27852         Most of the snail mail addresses were wrong anyway, and omitting
27853         them makes the source code easier to maintain.  Almost all of the
27854         changes are to license notices and to locale LC_IDENTIFICATION
27855         addresses, except for this one:
27856         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27857         not its snail mail address.
27859 2012-02-09  Richard Henderson  <rth@twiddle.net>
27861         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27862         of kernel-features.h.
27864         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27866 2012-02-08  Marek Polacek  <polacek@redhat.com>
27868         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27869         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27870         * sysdeps/gnu/_G_config.h: Likewise.
27871         * sysdeps/generic/_G_config.h: Likewise.
27873 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27875         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27876         tests.
27877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27879         * sysdeps/powerpc/powerpc32/crti.S: New file.
27880         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27881         * sysdeps/powerpc/powerpc64/crti.S: New file.
27882         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27884         * Makeconfig (have-initfini): Don't set.
27885         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27886         * configure.in (nopic_initfini): Don't substitute.
27887         * config.h.in (HAVE_INITFINI): Don't #undef.
27888         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27889         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27891 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27893         Support crti.S and crtn.S provided directly by architectures.
27894         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27895         [crti.S in sysdirs] (omit-deps): Likewise.
27896         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27897         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27898         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27899         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27900         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27901         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27902         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27903         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27904         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27905         compiler output for sysdeps/generic/initfini.c.
27906         * sysdeps/i386/elf/Makefile: Remove file.
27907         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27909 2012-02-07  Marek Polacek  <polacek@redhat.com>
27911         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27912         * sysdeps/gnu/_G_config.h: Likewise.
27913         * sysdeps/mach/hurd/_G_config.h: Likewise.
27915 2012-02-07  Marek Polacek  <polacek@redhat.com>
27917         * math/Makefile (tests): Add tst-CMPLX2.
27918         * math/tst-CMPLX2.c: New file.
27920 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27922         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27924         * math/libm-test.inc (jn_test): Add missing L suffix.
27926 2012-02-06  Marek Polacek  <polacek@redhat.com>
27928         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27929         * sysdeps/i386/fpu/e_powf.S: Likewise.
27930         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27931         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27932         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27933         * sysdeps/i386/fpu/e_pow.S: Likewise.
27934         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27935         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27936         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27937         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27938         * sysdeps/i386/fpu/e_log2.S: Likewise.
27939         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27940         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27941         * sysdeps/i386/fpu/e_powl.S: Likewise.
27942         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27943         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27944         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27945         * sysdeps/i386/fpu/e_logl.S: Likewise.
27946         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27947         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27948         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27949         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27950         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27951         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27952         * sysdeps/i386/fpu/e_log.S: Likewise.
27953         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27954         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27955         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27956         * sysdeps/i386/fpu/e_logf.S: Likewise.
27957         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27958         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27959         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27960         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27961         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27962         * sysdeps/i386/fpu/e_log10.S: Likewise.
27963         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27964         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27965         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27966         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27967         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27968         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27969         * sysdeps/i386/asm-syntax.h: Likewise.
27970         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27971         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27972         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27973         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27974         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27975         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27976         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27977         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27978         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27979         * sysdeps/powerpc/sysdep.h: Likewise.
27980         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27981         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27983 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27985         [BZ #411]
27986         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27988 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27990         * sysdeps/i386/sysdep.h: Include <features.h>.
27991         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27992         version.
27994 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27996         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27997         Define.
27998         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27999         LOAD_PIC_REG_STR.
28001 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28003         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28004         (SETUP_PIC_REG): Use GET_PC_THUNK.
28005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28006         macro.
28008 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28010         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28011         for non-PIC compilation.
28012         (SETUP_PIC_REG): Add .p2align directive.
28013         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28014         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28015         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28016         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28017         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28018         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28019         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28020         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28021         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28022         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28023         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28024         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28025         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28026         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28027         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28028         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28029         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28030         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28031         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28032         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28033         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28034         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28035         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28036         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28037         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28038         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28039         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28040         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28041         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28042         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28043         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28044         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28045         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28046         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28047         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28048         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28049         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28050         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28051         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28052         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28053         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28055 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28057         * math/tst-CMPLX.c: Include <stdio.h>.
28059 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
28061         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28062         float.
28063         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28064         * sysdeps/sparc/bits/mathdef.h: Likewise.
28066 2012-01-31  Marek Polacek  <polacek@redhat.com>
28068         * libio/libio.h: Don't define _PARAMS.
28069         * locale/programs/config.h: Don't define PARAMS.
28070         * stdlib/strtol_l.c: Likewise.
28071         (__strtol_l): Remove PARAMS from the prototype.
28073 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
28075         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
28076         names.  Just use the correct names.  Remove unnecessary wrapper
28077         functions.
28078         * malloc/arena.c: Likewise.
28079         * malloc/hooks.c: Likewise.
28081         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28082         ARENA_TEST says not to.  Simplify test for creation of a new arena.
28083         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28085 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
28087         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28088         into tail calls.
28089         (update_get_addr): New function.
28090         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28091         GET_ADDR_MODULE parameter.
28093 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28095         * crypt/cert.c: Remove __STDC__ conditionals.
28096         * crypt/crypt-entry.c: Likewise.
28097         * crypt/crypt_util.c: Likewise.
28098         * libio/filedoalloc.c: Likewise.
28099         * libio/fileops.c: Likewise.
28100         * libio/genops.c: Likewise.
28101         * libio/iofclose.c: Likewise.
28102         * libio/iofdopen.c: Likewise.
28103         * libio/iofopen.c: Likewise.
28104         * libio/iofopen64.c: Likewise.
28105         * libio/iogetdelim.c: Likewise.
28106         * libio/iopopen.c: Likewise.
28107         * libio/obprintf.c: Likewise.
28108         * libio/oldfileops.c: Likewise.
28109         * libio/oldiofclose.c: Likewise.
28110         * libio/oldiofdopen.c: Likewise.
28111         * libio/oldiofopen.c: Likewise.
28112         * libio/oldiopopen.c: Likewise.
28113         * libio/wfiledoalloc.c: Likewise.
28114         * libio/wgenops.c: Likewise.
28115         * locale/programs/xmalloc.c: Likewise.
28116         * misc/syslog.c: Likewise.
28117         * stdio-common/xbug.c: Likewise.
28118         * string/memchr.c: Likewise.
28119         * string/memcmp.c: Likewise.
28120         * string/memrchr.c: Likewise.
28121         * string/rawmemchr.c: Likewise.
28122         * sysdeps/posix/getcwd.c: Likewise.
28123         * time/strftime_l.c: Likewise.
28125 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28127         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28128         * config.make.in (config-cflags-sse2avx): Define.
28129         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28130         Fix typo.
28132 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
28134         * scripts/config.guess: Update from upstream config git repository.
28135         * scripts/config.sub: Likewise.
28137 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
28139         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28140         (EM_NUM): Update.
28141         (R_TILEPRO_*, R_TILEGX_*): New macros.
28143         * scripts/firstversions.awk: Fix bug in version range handling.
28145         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28147         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28149         * include/sys/epoll.h: New file.
28150         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28151         libc_hidden_def.
28153 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
28155         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28156         Avoid unnecessary __WORDSIZE == 64 test.
28157         (fmaxf): Use VEX format if possible.
28158         (fmax): Likewise.
28159         (fminf): Likewise.
28160         (fmin): Likewise.
28162         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28163         * math/math_private.h: Remove libc_fegetround* and
28164         libc_fesetround*.
28165         * sysdeps/i386/configure.in: Check for -msse2avx.
28166         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28167         also if SSE2AVX is defined.
28168         Remove libc_fegetround* and libc_fesetround*.
28169         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28170         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
28171         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28172         of HAS_YMM_USABLE.
28173         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28174         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28175         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28176         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28177         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28179         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28181 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28183         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28184         size is not set.
28185         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28187 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
28189         [BZ #13618]
28190         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28191         relocation.
28192         * Makeconfig (libm): Define.
28193         * elf/Makefile: Add rules to build and run tst-relsort1.
28194         * elf/tst-relsort1.c: New file.
28195         * elf/tst-relsort1mod1.c: New file.
28196         * elf/tst-relsort1mod2.c: New file.
28198 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
28200         * math/s_ldexp.c: Remove __STDC__ conditionals.
28201         * math/s_ldexpf.c: Likewise.
28202         * math/s_ldexpl.c: Likewise.
28203         * math/s_nextafter.c: Likewise.
28204         * math/s_nexttowardf.c: Likewise.
28205         * math/s_significand.c: Likewise.
28206         * math/s_significandf.c: Likewise.
28207         * math/s_significandl.c: Likewise.
28208         * math/w_jnl.c: Likewise.
28209         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28210         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28211         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28212         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28213         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28214         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28215         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28216         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28217         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28218         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28219         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28220         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28221         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28222         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28223         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28224         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28225         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28226         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28227         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28228         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28229         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28230         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28231         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28232         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28233         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28234         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28235         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28236         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28237         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28238         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28239         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28240         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28241         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28242         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28243         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28244         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28245         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28246         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28247         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28248         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28249         * sysdeps/ieee754/k_standard.c: Likewise.
28250         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28251         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28252         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28253         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28254         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28255         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28256         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28257         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28258         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28259         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28260         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28261         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28262         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28263         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28264         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28265         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28266         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28267         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28268         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28269         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28270         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28271         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28272         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28273         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28274         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28275         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28276         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28277         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28278         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28279         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28280         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28281         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28282         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28283         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28284         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28285         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28286         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28287         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28288         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28289         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28290         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28291         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28292         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28293         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28294         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28295         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28296         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28297         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28298         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28299         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28300         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28301         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28302         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28303         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28304         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28305         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28306         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28307         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28308         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28309         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28310         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28311         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28312         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28313         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28314         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28315         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28316         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28317         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28318         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28319         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28320         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28321         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28322         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28323         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28324         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28325         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28326         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28327         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28328         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28329         * sysdeps/ieee754/s_matherr.c: Likewise.
28330         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28331         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28332         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28333         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28335 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28337         * crypt/md5.h: Remove __STDC__ conditionals.
28338         * libio/libioP.h: Likewise.
28339         * locale/programs/config.h: Likewise.
28340         * sysdeps/generic/sysdep.h: Likewise.
28341         * sysdeps/i386/asm-syntax.h: Likewise.
28342         * sysdeps/s390/asm-syntax.h: Likewise.
28343         * sysdeps/unix/sysdep.h: Likewise.
28344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28347 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28349         * libio/libio.h: Remove __STDC__ conditionals.
28350         * malloc/obstack.h: Likewise.
28351         * math/complex.h: Likewise.
28352         * math/math.h: Likewise.
28353         * sysdeps/generic/_G_config.h: Likewise.
28354         * sysdeps/gnu/_G_config.h: Likewise.
28355         * sysdeps/mach/hurd/_G_config.h: Likewise.
28356         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28357         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28358         * sysdeps/sparc/bits/mathdef.h: Likewise.
28360 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
28362         [BZ #13583]
28363         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28364         Clean up HAS_* macros.
28365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28366         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28367         possible.
28368         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28369         HAS_AVX.
28370         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28371         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28372         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28373         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28374         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28376 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
28378         * elf/tst-unique3.cc (gets): Remove declaration.
28379         * elf/tst-unique3lib.cc (gets): Likewise.
28380         * elf/tst-unique3lib2.cc (gets): Likewise.
28381         * elf/tst-unique4.cc (gets): Likewise.
28383 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
28385         * include/stdio.h: Add C++ protection.  Add gets declarations and
28386         definitions.
28387         * debug/tst-chk1.c: Don't declare gets here.
28388         * stdio-common/tst-gets.c: Likewise.
28390 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28392         * posix/glob: Remove directory.
28394 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28396         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28398 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
28400         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28401         of the non-standard EPFNOSUPPORT.
28403 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28405         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28406         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28407         ANYWHERE set to 1 only on KERN_NO_SPACE error.
28409 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
28411         * wcsmbs/uchar.h: Test __STDC_VERSION__.
28413 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
28415         * nscd/aicache.c (addhstaiX): Do not cache negative results of
28416         transient errors.
28417         * nscd/grpcache.c (cache_addgr): Likewise.
28418         * nscd/hstcache.c (cache_addhst): Likewise.
28419         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28420         * nscd/pwdcache.c (cache_addpw): Likewise.
28421         * nscd/servicescache.c (cache_addserv): Likewise.
28423 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
28425         * malloc/malloc.c: Various cleanups.
28426         * malloc/hooks.c: Likewise.
28428         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28429         * stdlib/bug-fmtmsg1.c: New file.
28431         * stdlib/fmtmsg.c (init): Add missing unlock.
28432         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28434 2012-01-12  Marek Polacek  <polacek@redhat.com>
28436         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28437         and _GNU_SOURCE.
28439 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28441         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28442         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28443         macro to ensure uniqueness of label name.
28444         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28445         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28447 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28449         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28451         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28452         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28453         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28454         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28456 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28458         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28460         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28461         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28462         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28464         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28466         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28467         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28468         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28469         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28471         * math/bits/math-finite.h: Add ldexp support.
28473 2012-01-10  Marek Polacek  <polacek@redhat.com>
28475         * locale/programs/localedef.h (show_archive_content): Add noreturn
28476         attribute.
28478 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28480         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28482 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28484         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28486         * io/Makefile (headers): Add bits/poll2.h.
28488 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28491         typo #include statement.
28493 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28495         * include/sys/cdefs.h: Define __attribute_alloc_size.
28496         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28497         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28498         * elf/pldd.c: Likewise.
28499         * iconv/iconv_charmap.c: Likewise.
28500         * iconv/iconvconfig.c: Likewise.
28501         * iconv/strtab.c: Likewise.
28502         * locale/programs/locale.c: Likewise.
28503         * locale/programs/localedef.h: Likewise.
28504         * locale/programs/simple-hash.c: Likewise.
28505         * nscd/nscd.h: Likewise.
28506         * nss/makedb.c: Likewise.
28507         * sysdeps/generic/ldconfig.h: Likewise.
28508         * locale/programs/localedef.c: Remove xmalloc prototype.
28509         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28511 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28513         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28514         appropriate.
28516 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28518         * math/Makefile (tests): Add tst-CMPLX.
28519         * math/tst-CMPLX.c: New file.
28521         * math/complex.h (CMPLXL): Fix typo.
28523         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28524         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28525         GLIBC_2.16.
28526         * debug/tst-chk1.c: Add poll and ppoll tests.
28527         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28528         * include/sys/poll.h: Add hidden proto for ppoll.
28529         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28530         * sysdeps/mach/hurd/ppoll.c: Likewise.
28531         * io/ppoll.c: Likewise.
28532         * debug/poll_chk.c: New file.
28533         * debug/ppoll_chk.c: New file.
28534         * include/bits/poll2.h: New file.
28535         * io/bits/poll2.h: New file.
28537         [BZ #1350]
28538         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28540         * configure.in: static is always set to yes.  Remove.
28541         * config.make.in: Don't set build-static.
28542         * Makeconfig: Remove use of build-static.
28543         * dlfcn/Makefile: Likewise.
28544         * elf/Makefile: Likewise.
28545         * math/Makefile: Likewise.
28546         * misc/Makefile: Likewise.
28547         * nptl/Makefile: Likewise.
28548         * sysdeps/mach/hurd/Makefile: Likewise.
28550         * configure.in: PWD_P is not used anymore.
28551         * config.make.in: Remove PWD_P entry.
28553         * configure.in: Remove last remnants of RANLIB.
28554         No need to check for signed size_t anymore.
28555         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28556         and IA-64.
28557         Remove __builtin_expect test because we require at least gcc 3.4.
28558         * aclocal.m4: Likewise.
28560         * wcsmbs/mbrtoc16.c: Implement using towc function.
28561         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28562         * wcsmbs/wcsmbsload.c: Likewise.
28563         * iconv/gconv_simple.c: Likewise.
28564         * iconv/gconv_int.h: Likewise.
28565         * iconv/gconv_builtin.h: Likewise.
28566         * iconv/iconv_prog.c: Remove CHAR16 handling.
28568         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28570         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28572         * configure.in: Remove --with-elf and --enable-bounded options.
28573         Dont set base_machine for ia64.  More non-ELF conditions removed.
28574         Remove testing and setting of leading underscore information.
28575         * config.make.in (build-bounded): Set to no.
28576         * config.h.in: Remove NO_UNDERSCORES entry.
28577         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28578         them.
28579         * csu/start.c: Remove !NO_UNDERSCORE code.
28580         * locale/localeinfo.h: Likewise.
28581         * sysdeps/generic/machine-gmon.h: Likewise.
28582         * sysdeps/generic/sysdep.h: Likewise.
28583         * sysdeps/i386/sysdep.h: Likewise.
28584         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28585         * sysdeps/mach/sysdep.h: Likewise.
28586         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28587         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28588         * sysdeps/sh/sysdep.h: Likewise.
28589         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28590         * sysdeps/unix/i386/sysdep.S: Likewise.
28591         * sysdeps/unix/sparc/start.c: Likewise.
28592         * sysdeps/unix/sparc/sysdep.S: Likewise.
28593         * sysdeps/unix/sparc/sysdep.h: Likewise.
28594         * sysdeps/unix/start.c: Likewise.
28595         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28596         * sysdeps/x86_64/sysdep.h: Likewise.
28598 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28600         [BZ #13553]
28601         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28602         for non-gcc.
28603         * argp/argp-fmtstream.h: Use const instead __const.
28604         * argp/argp.h: Likewise.
28605         * assert/assert.h: Likewise.
28606         * bits/fenv.h: Likewise.
28607         * bits/sched.h: Likewise.
28608         * bits/sigset.h: Likewise.
28609         * bits/sigthread.h: Likewise.
28610         * catgets/nl_types.h: Likewise.
28611         * conform/data/pthread.h-data: Likewise.
28612         * crypt/crypt-private.h: Likewise.
28613         * crypt/crypt.h: Likewise.
28614         * crypt/crypt_util.c: Likewise.
28615         * ctype/ctype.h: Likewise.
28616         * debug/execinfo.h: Likewise.
28617         * debug/mbsnrtowcs_chk.c: Likewise.
28618         * debug/mbsrtowcs_chk.c: Likewise.
28619         * debug/wcsnrtombs_chk.c: Likewise.
28620         * debug/wcsrtombs_chk.c: Likewise.
28621         * debug/wcstombs_chk.c: Likewise.
28622         * dirent/dirent.h: Likewise.
28623         * dlfcn/dlfcn.h: Likewise.
28624         * elf/neededtest4.c: Likewise.
28625         * grp/grp.h: Likewise.
28626         * gshadow/gshadow.h: Likewise.
28627         * iconv/gconv.h: Likewise.
28628         * iconv/gconv_int.h: Likewise.
28629         * iconv/gconv_simple.c: Likewise.
28630         * iconv/iconv.h: Likewise.
28631         * iconv/loop.c: Likewise.
28632         * iconv/skeleton.c: Likewise.
28633         * include/aio.h: Likewise.
28634         * include/aliases.h: Likewise.
28635         * include/argz.h: Likewise.
28636         * include/arpa/inet.h: Likewise.
28637         * include/assert.h: Likewise.
28638         * include/dirent.h: Likewise.
28639         * include/dlfcn.h: Likewise.
28640         * include/execinfo.h: Likewise.
28641         * include/fcntl.h: Likewise.
28642         * include/fenv.h: Likewise.
28643         * include/glob.h: Likewise.
28644         * include/grp.h: Likewise.
28645         * include/libintl.h: Likewise.
28646         * include/mntent.h: Likewise.
28647         * include/netdb.h: Likewise.
28648         * include/pwd.h: Likewise.
28649         * include/rpc/netdb.h: Likewise.
28650         * include/sched.h: Likewise.
28651         * include/search.h: Likewise.
28652         * include/shadow.h: Likewise.
28653         * include/signal.h: Likewise.
28654         * include/stdio.h: Likewise.
28655         * include/stdlib.h: Likewise.
28656         * include/string.h: Likewise.
28657         * include/sys/socket.h: Likewise.
28658         * include/sys/stat.h: Likewise.
28659         * include/sys/statfs.h: Likewise.
28660         * include/sys/statvfs.h: Likewise.
28661         * include/sys/syslog.h: Likewise.
28662         * include/sys/time.h: Likewise.
28663         * include/sys/uio.h: Likewise.
28664         * include/time.h: Likewise.
28665         * include/unistd.h: Likewise.
28666         * include/utmp.h: Likewise.
28667         * include/wchar.h: Likewise.
28668         * include/wctype.h: Likewise.
28669         * inet/aliases.h: Likewise.
28670         * inet/arpa/inet.h: Likewise.
28671         * inet/netinet/ether.h: Likewise.
28672         * inet/netinet/in.h: Likewise.
28673         * intl/libintl.h: Likewise.
28674         * io/bits/fcntl2.h: Likewise.
28675         * io/fcntl.h: Likewise.
28676         * io/ftw.h: Likewise.
28677         * io/sys/poll.h: Likewise.
28678         * io/sys/stat.h: Likewise.
28679         * io/sys/statfs.h: Likewise.
28680         * io/sys/statvfs.h: Likewise.
28681         * io/utime.h: Likewise.
28682         * libio/bits/stdio.h: Likewise.
28683         * libio/bits/stdio2.h: Likewise.
28684         * libio/libio.h: Likewise.
28685         * libio/libioP.h: Likewise.
28686         * libio/stdio.h: Likewise.
28687         * locale/lc-ctype.c: Likewise.
28688         * locale/locale.h: Likewise.
28689         * login/utmp.h: Likewise.
28690         * malloc/arena.c: Likewise.
28691         * malloc/malloc.c: Likewise.
28692         * malloc/malloc.h: Likewise.
28693         * malloc/mcheck.c: Likewise.
28694         * malloc/mtrace.c: Likewise.
28695         * math/bits/mathcalls.h: Likewise.
28696         * math/fenv.h: Likewise.
28697         * math/math_private.h: Likewise.
28698         * misc/bits/error.h: Likewise.
28699         * misc/bits/syslog.h: Likewise.
28700         * misc/err.h: Likewise.
28701         * misc/error.h: Likewise.
28702         * misc/fstab.h: Likewise.
28703         * misc/mntent.h: Likewise.
28704         * misc/regexp.h: Likewise.
28705         * misc/search.h: Likewise.
28706         * misc/sgtty.h: Likewise.
28707         * misc/sys/mman.h: Likewise.
28708         * misc/sys/syslog.h: Likewise.
28709         * misc/sys/uio.h: Likewise.
28710         * misc/sys/xattr.h: Likewise.
28711         * misc/ttyent.h: Likewise.
28712         * nis/rpcsvc/ypclnt.h: Likewise.
28713         * nss/nss.h: Likewise.
28714         * posix/bits/unistd.h: Likewise.
28715         * posix/fnmatch.h: Likewise.
28716         * posix/glob.h: Likewise.
28717         * posix/sched.h: Likewise.
28718         * posix/spawn.h: Likewise.
28719         * posix/sys/wait.h: Likewise.
28720         * posix/unistd.h: Likewise.
28721         * posix/wordexp.h: Likewise.
28722         * pwd/pwd.h: Likewise.
28723         * resolv/netdb.h: Likewise.
28724         * resource/sys/resource.h: Likewise.
28725         * rt/aio.h: Likewise.
28726         * rt/bits/mqueue2.h: Likewise.
28727         * rt/mqueue.h: Likewise.
28728         * shadow/shadow.h: Likewise.
28729         * signal/signal.h: Likewise.
28730         * socket/send.c: Likewise.
28731         * socket/sendto.c: Likewise.
28732         * socket/sys/socket.h: Likewise.
28733         * stdio-common/printf.h: Likewise.
28734         * stdlib/bits/stdlib.h: Likewise.
28735         * stdlib/fmtmsg.h: Likewise.
28736         * stdlib/monetary.h: Likewise.
28737         * stdlib/stdlib.h: Likewise.
28738         * stdlib/ucontext.h: Likewise.
28739         * streams/stropts.h: Likewise.
28740         * string/argz.h: Likewise.
28741         * string/bits/string2.h: Likewise.
28742         * string/string.h: Likewise.
28743         * string/strings.h: Likewise.
28744         * sunrpc/rpc/auth.h: Likewise.
28745         * sunrpc/rpc/auth_des.h: Likewise.
28746         * sunrpc/rpc/clnt.h: Likewise.
28747         * sunrpc/rpc/netdb.h: Likewise.
28748         * sunrpc/rpc/pmap_clnt.h: Likewise.
28749         * sunrpc/rpc/xdr.h: Likewise.
28750         * sysdeps/generic/inttypes.h: Likewise.
28751         * sysdeps/generic/net/if.h: Likewise.
28752         * sysdeps/generic/sys/swap.h: Likewise.
28753         * sysdeps/gnu/net/if.h: Likewise.
28754         * sysdeps/gnu/utmpx.h: Likewise.
28755         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28756         * sysdeps/i386/i486/bits/string.h: Likewise.
28757         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28758         * sysdeps/s390/bits/string.h: Likewise.
28759         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28760         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28761         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28762         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28763         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28764         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28765         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28766         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28767         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28768         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28769         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28770         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28771         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28772         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28773         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28774         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28775         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28776         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28777         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28778         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28779         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28780         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28781         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28782         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28783         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28784         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28785         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28786         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28787         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28788         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28789         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28790         * sysvipc/sys/ipc.h: Likewise.
28791         * sysvipc/sys/msg.h: Likewise.
28792         * sysvipc/sys/sem.h: Likewise.
28793         * sysvipc/sys/shm.h: Likewise.
28794         * termios/termios.h: Likewise.
28795         * time/sys/time.h: Likewise.
28796         * time/time.h: Likewise.
28797         * wcsmbs/bits/wchar2.h: Likewise.
28798         * wcsmbs/uchar.h: Likewise.
28799         * wcsmbs/wchar.h: Likewise.
28800         * wctype/wctype.h: Likewise.
28802         [BZ #13551]
28803         * Makeconfig: Remove all but ELF support including AIX support.
28804         * Makerules: Likewise.
28805         * config.h.in: Likewise.
28806         * config.make.in: Likewise.
28807         * configure: Likewise.
28808         * configure.in: Likewise.
28809         * csu/Makefile: Likewise.
28810         * csu/version.c: Likewise.
28811         * debug/Makefile: Likewise.
28812         * dlfcn/Makefile: Likewise.
28813         * elf/Makefile: Likewise.
28814         * extra-lib.mk: Likewise.
28815         * iconv/Makefile: Likewise.
28816         * include/libc-symbols.h: Likewise.
28817         * include/shlib-compat.h: Likewise.
28818         * resolv/Makefile: Likewise.
28819         * resolv/res_libc.c: Likewise.
28820         * rt/Makefile: Likewise.
28821         * sysdeps/i386/asm-syntax.h: Likewise.
28822         * sysdeps/i386/sysdep.h: Likewise.
28823         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28824         * sysdeps/mach/sysdep.h: Likewise.
28825         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28826         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28827         * sysdeps/s390/asm-syntax.h: Likewise.
28828         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28829         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28830         * sysdeps/sh/sysdep.h: Likewise.
28831         * sysdeps/unix/sparc/sysdep.h: Likewise.
28832         * sysdeps/wordsize-32/divdi3.c: Likewise.
28833         * sysdeps/x86_64/sysdep.h: Likewise.
28835         * argp/Versions: Remove _argp_unlock_xxx.
28837         [BZ #13559]
28838         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28839         * abilist/libBrokenLocale.abilist: Likewise.
28840         * abilist/libanl.abilist: Likewise.
28841         * abilist/libc.abilist: Likewise.
28842         * abilist/libcrypt.abilist: Likewise.
28843         * abilist/libdl.abilist: Likewise.
28844         * abilist/libm.abilist: Likewise.
28845         * abilist/libnsl.abilist: Likewise.
28846         * abilist/libpthread.abilist: Likewise.
28847         * abilist/libresolv.abilist: Likewise.
28848         * abilist/librt.abilist: Likewise.
28849         * abilist/libthread_db.abilist: Likewise.
28850         * abilist/libutil.abilist: Likewise.
28851         * abilist/libnss_db.abilist: New file.
28853         * scripts/abilist.awk: Add support for indirect functions.
28855         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28857         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28859         * shlib-versions: Remove entries for ports architectures.
28861         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28862         files in ports.
28863         * elf/stackguard-macros.h: Remove support for IA-64.
28864         * elf/tst-auditmod1.c: Likewise.
28865         * sysdeps/generic/ldsodefs.h: Likewise.
28867         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28868         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28869         configure files.
28871         [BZ #13552]
28872         * configure.in: Remove --enable-omitfp support.
28873         * FAQ.in: Adjust.
28874         * config.make.in: Likewise.
28875         * Makeconfig: Likewise.
28876         * manual/install.texi: Likewise.
28878         In case anyone cares, the IA-64 architecture could move to ports.
28879         * sysdeps/ia64/*: Removed.
28880         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28881         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28883         [BZ #13555]
28884         * configure.in: Remove entries for unsupported architectures.
28886         [BZ #13533]
28887         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28888         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28889         routines.
28890         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28891         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28892         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28893         fall back to using wcrtomb.
28894         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28895         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28896         renaming.
28897         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28898         * wcsmbs/tst-c16c32-1.c: New file.
28900         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28901         local variable.
28903         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28905         * elf/tst-unique3.cc: Add explicit declaration of gets.
28906         * elf/tst-unique3lib.cc: Likewise.
28907         * elf/tst-unique3lib2.cc: Likewise.
28908         * elf/tst-unique4.cc: Likewise.
28910         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28912 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28914         [BZ #13566]
28915         * assert/assert.h (static_assert): Don't define for C++.
28916         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28917         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28919 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28921         * iconv/loop.c (single loop): Fix assertion in storing of
28922         remaining bytes.
28924         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28926 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28928         * posix/getconf.c: Update copyright year.
28929         * nss/getent.c: Likewise.
28930         * nss/makedb.c: Likewise.
28931         * iconv/iconvconfig.c: Likewise.
28932         * iconv/iconv_prog.c: Likewise.
28933         * elf/ldconfig.c: Likewise.
28934         * elf/pldd.c: Likewise.
28935         * elf/sotruss.ksh: Likewise.
28936         * catgets/gencat.c: Likewise.
28937         * csu/version.c: Likewise.
28938         * elf/ldd.bash.in: Likewise.
28939         * elf/sprof.c (print_version): Likewise.
28940         * locale/programs/locale.c: Likewise.
28941         * locale/programs/localedef.c: Likewise.
28942         * login/programs/pt_chown.c: Likewise.
28943         * nscd/nscd.c (print_version): Likewise.
28944         * debug/xtrace.sh: Likewise.
28945         * malloc/memusage.sh: Likewise.
28946         * malloc/mtrace.pl: Likewise.
28947         * debug/catchsegv.sh: Likewise.
28949 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28951         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28952         pure attribute.
28954 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28956         [BZ #13533]
28957         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28958         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28959         transformations.
28960         * iconv/gconv_int.h: Likewise.
28961         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28962         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28963         from libc for GLIBC_2.16.
28964         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28965         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28966         * wcsmbs/uchar.h: Really define mbstate_t.
28967         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28968         * wcsmbs/c16rtomb.c: New file.
28969         * wcsmbs/mbrtoc16.c: New file.
28970         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28971         for C/POSIX locale.
28972         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28973         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28975         * wcsmbs/wchar.h: Add missing __restrict.
28977 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28979         [BZ #13532]
28980         * time/Makefile (routines): Add timespec_get.
28981         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28982         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28983         timespec for ISO C11.
28984         * time/timespec_get.c: New file.
28985         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28986         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28988         [BZ #13531]
28989         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28990         * stdlib/stdlib.h: Declare aligned_alloc.
28991         * Versions.def: Add GLIBC_2.16 for libc.
28992         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28994         [BZ 13527]
28995         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28996         ISO C11.
28998         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28999         code.
29001         [BZ #13528]
29002         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29004         [BZ #13529]
29005         * assert/assert.h (static_assert): Define.
29007         * version.h: Update for 2.16 development version.
29009         [BZ #13526]
29010         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29011         _ISOC11_SOURCE.
29013         * version.h (RELEASE): Bump for 2.15 release.
29014         * include/features.h (__GLIBC_MINOR__): Bump to 15.
29016         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29017         Patch by Marek Polacek <mpolacek@redhat.com>.
29019         * bits/byteswap.h: Protect long long constants with __extension__.
29020         * sysdeps/i386/bits/byteswap.h: Likewise.
29021         * sysdeps/ia64/bits/byteswap.h: Likewise.
29022         * sysdeps/s390/bits/byteswap.h: Likewise.
29023         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29025 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29027         [BZ #13540]
29028         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29029         destination buffer.
29030         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29032 2011-12-23  Marek Polacek  <polacek@redhat.com>
29034         * elf/dl-addr.c (determine_info): Add inline keyword.
29035         * elf/tst-auditmod4b.c (check_avx): Likewise.
29036         * elf/tst-auditmod6b.c (check_avx): Likewise.
29037         * elf/tst-auditmod6c.c (check_avx): Likewise.
29038         * elf/tst-auditmod7b.c (check_avx): Likewise.
29040 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29042         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29043         !__SSE_MATH__.
29045 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29047         [BZ #13540]
29048         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29049         processing for last bytes.
29051 2011-08-06  Bruno Haible  <bruno@clisp.org>
29053         [BZ #13061]
29054         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29055         U+0385, not to U+1FEE.
29057         [BZ #13062]
29058         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29059         entry for U+00A5 U+0301.
29061 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29063         [BZ #13166]
29064         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29065         buffer for the output is too small.
29067         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29068         optimization.
29070         [BZ #13185]
29071         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29072         SSE flags if possible.
29074 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29076         [BZ #13540]
29077         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29078         processing for last bytes.
29080 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
29082         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29083         (syscall-list-default-options, syscall-list-default-condition)
29084         (syscall-list-includes): Define.
29085         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29086         list of ABIs and options and #if conditions for each ABI.  Do not
29087         handle common syscalls between ABIs specially.
29088         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29089         Remove.
29090         (syscall-list-variants, syscall-list-32bit-options)
29091         (syscall-list-32bit-condition, syscall-list-64bit-options)
29092         (syscall-list-64bit-condition): Define.
29093         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29094         (syscall-list-variants, syscall-list-32bit-options)
29095         (syscall-list-32bit-condition, syscall-list-64bit-options)
29096         (syscall-list-64bit-condition): Define.
29097         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29098         Remove.
29099         (syscall-list-variants, syscall-list-32bit-options)
29100         (syscall-list-32bit-condition, syscall-list-64bit-options)
29101         (syscall-list-64bit-condition): Define.
29102         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29103         Remove.
29104         (syscall-list-variants, syscall-list-32bit-options)
29105         (syscall-list-32bit-condition, syscall-list-64bit-options)
29106         (syscall-list-64bit-condition): Define.
29108 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29110         * locale/iso-639.def: Add brx entry.
29112         [BZ #13328]
29113         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29114         Proposed by Mariusz_Cukr <marcukr@op.pl>.
29116         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29117         __feraiseexcept_renamed.
29119 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29121         [BZ #13538]
29122         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29123         EPOLLET with unsigned values.
29124         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29125         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29127         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29128         to large cancellation.
29129         * math/s_cacoshf.c: Likewise.
29130         * math/s_cacoshl.c: Likewise.
29132 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
29134         [BZ #13305]
29135         [BZ #12786]
29136         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29137         * math/s_cacoshf.c: Likewise.
29138         * math/s_cacoshl.c: Likewise.
29140 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29142         [BZ #13439]
29143         * iconv/gconv.h: Define __GCONV_SWAP.
29144         * iconvdata/unicode.c: The swap bit must be stored in __flags.
29145         * iconvdata/utf-16.c: Likewise.
29146         * iconvdata/utf-32.c: Likewise.
29148 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29150         [BZ #13524]
29151         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29152         numerator after shifting it by one limb.
29154 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
29156         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29157         under [__USE_EXTERN_INLINES].
29159 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29161         [BZ #13446]
29162         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29164 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29166         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29167         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29168         optimized code.
29169         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29170         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29171         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29172         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29173         for strncasecmp/strncasecmp_l compilation.
29174         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29175         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29177 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
29179         [BZ #13484]
29180         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29181         of __asm__.
29183 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29185         [BZ #13506]
29186         * time/tzfile.c (__tzfile_read): Check values from file header.
29188 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29190         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29191         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29192         * powerpc/powerpc32/dl-start.S: Likewise.
29193         * powerpc/powerpc32/elf/start.S: Likewise.
29194         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29195         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29196         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29197         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29198         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29199         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29200         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29201         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29202         * powerpc/powerpc32/fpu/s_round.S: Likewise.
29203         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29204         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29205         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29206         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29207         * powerpc/powerpc32/memset.S: Likewise.
29208         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29209         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29210         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29211         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29212         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29213         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29214         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29215         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29216         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29217         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29218         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29219         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29220         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29222 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29224         * math/libm-test.inc: Added more nearbyint tests.
29225         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29226         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29227         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29228         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29230 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
29232         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29233         FD_CLOEXEC.
29235 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29237         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29238         Add wcscpy-ssse3 wcscpy-c.
29239         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29240         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29241         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29242         * sysdeps/x86_64/wcschr.S: New file.
29243         * sysdeps/x86_64/wcsrchr.S: New file.
29244         * string/test-strcmp.c: Remove checking of wcscmp function for
29245         wrong alignments.
29246         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29247         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29248         wcsrchr-sse2 wcsrchr-c.
29249         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29250         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29251         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29252         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29253         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29254         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29255         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29256         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29257         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29258         * wcsmbc/wcschr.c (WCSCHR): New macro.
29260 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29262         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29263         * wcsmbs/test-wcsrchr.c: New file.
29264         * string/test-strrchr.c: Add wcsrchr support.
29265         (WIDE): New macro.
29266         * wcsmbs/test-wcscpy.c: New file.
29267         * string/test-strcpy.c: Add wcscpy support.
29268         (WIDE): New macro.
29270 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
29272         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29273         the inner loop.
29275 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
29277         [BZ #13472]
29278         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29280 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
29282         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29283         Minor optimizations.
29285         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29286         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29287         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29289 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
29291         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29292         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29293         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29294         for gcc to avoid warnings.
29295         * inet/Makefile (tests): Add tst-checks.
29296         * inet/tst-checks.c: New file.
29298         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29299         warning.
29301         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29302         __wmemcmp_sse2.
29304         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29305         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29307         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29309 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
29311         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29312         problem.
29314         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29316 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
29318         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29319         conditional on GCC version.
29320         (__arch_compare_and_exchange_val_8_acq)
29321         (__arch_compare_and_exchange_val_16_acq)
29322         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29323         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29324         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29326 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
29328         * sysdeps/sh/backtrace.c: New file.
29330 2011-12-02  Andreas Schwab  <schwab@redhat.com>
29332         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
29333         parenthesis.
29335 2011-12-01  Andreas Schwab  <schwab@redhat.com>
29337         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29338         falling back to utime.
29340 2011-11-30  Andreas Schwab  <schwab@redhat.com>
29342         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29343         expectations for float.
29345 2011-11-29  Andreas Schwab  <schwab@redhat.com>
29347         * locale/weight.h (findidx): Add parameter len.
29348         * locale/weightwc.h (findidx): Likewise.
29349         * posix/fnmatch_loop.c (FCT): Adjust caller.
29350         * posix/regcomp.c (build_equiv_class): Likewise.
29351         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29352         * posix/regexec.c (check_node_accept_bytes): Likewise.
29353         * string/strcoll_l.c (STRCOLL): Likewise.
29354         * string/strxfrm_l.c (STRXFRM): Likewise.
29356 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
29358         * Makefile.in: Remove CVSOPT handling.
29359         * configure.in: Remove use of AC_REVISION.
29360         * iconvdata/Makefile (distribute): No need to filter out CVS.
29361         * scripts/list-sources.sh: Remove CVS, subversion and monotone
29362         handling.
29364 2011-11-16  Andreas Schwab  <schwab@redhat.com>
29366         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29367         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29368         [USE_AS_STRNCASECMP_L]: Likewise.
29369         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29370         NO_TLS_DIRECT_SEG_REFS.
29371         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29372         Fix argument offsets for non-PIC.
29373         [USE_AS_STRNCASECMP_L]: Likewise.
29374         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29375         NO_TLS_DIRECT_SEG_REFS.
29377 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29379         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29380         O_CLOEXEC.
29381         * locale/loadlocale.c (_nl_load_locale): Likewise.
29383 2011-11-15  Andreas Schwab  <schwab@redhat.com>
29385         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29386         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29387         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29388         (SYSCALL_GETTIME): Set errno on error.
29390         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29391         count references to noai6ai_cached.
29393 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29395         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29397         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29398         FD_CLOEXEC for /proc/self/maps.
29400         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29401         FD_CLOEXEC for /proc/meminfo.
29403         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29404         gai.conf.
29406         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
29407         FD_CLOEXEC for given file.
29409         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29411         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29412         FD_CLOEXEC for /etc/hosts.
29413         (_gethtent): Likewise.
29415         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29417         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29418         cancellation and set FD_CLOEXEC for /etc/netgroup.
29420         * nss/nss_files/files-key.c (search): Don't allow cancellation when
29421         reading /etc/publickey.
29423         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29424         allow cancellation when reading /etc/group.
29426         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29427         cancellation.
29428         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29430         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29431         when using data file.
29433         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29435         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29436         (write_nis_obj): Use "c" and "e" in fopen.
29438         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29440         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29442         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29444         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29446         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29447         locale.alias.
29449         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29451         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29453         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29455         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29456         file parsing and set FD_CLOEXEC.
29458 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29460         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29462 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29464         * malloc/arena.c (arena_get2): Don't call reused_arena when
29465         _int_new_arena failed.
29467 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29469         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29470         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29471         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29472         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29473         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29474         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29475         to compile strcasecmp and strncasecmp.
29476         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29477         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29479         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29481 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29483         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29484         locale-defines.sym to gen-as-const-headers.
29485         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29486         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29487         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29488         to compile strcasecmp and strncasecmp.
29489         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29490         strcasecmp_l and strncasecmp_l.
29491         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29492         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29493         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29494         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29495         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29496         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29497         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29498         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29499         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29500         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29501         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29503 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29505         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29506         result of SYSDEP_GETTIME_CPU to retval.
29507         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29508         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29510         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29511         variable.
29513         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29514         mantissa words.
29515         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29517         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29518         from unused variable.
29520         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29521         DWARF definitions.
29522         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29523         for assembling.
29525         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29526         over namespaces.
29528         * sunrpc/rpc_prot.c (rejected): Fix case value.
29530         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29531         unsigned long long int to avoid warnings in shift.
29533         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29534         of use of trans.
29535         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29536         variable tmp.
29538         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29539         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29540         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29542         * nis/nis_table.c (nis_list): Use variable of correct type for
29543         result of __follow_path call.
29545 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29547         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29548         of math functions ceil, trunc, floor, round, and sqrt, when
29549         avaliable on the platform.
29550         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29551         name clash.
29552         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29553         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29554         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29556 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29558         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29559         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29561 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29563         * include/unistd.h: Fix __readlink return type.
29564         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29566 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29568         * stdlib/ucontext.h: Undo last change for makecontext.
29570 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29572         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29574         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29575         * setjmp/setjmp.h: Mark functions as non-leaf.
29576         * setjmp/bits/setjmp2.h: Likewise.
29577         * stdlib/ucontext.h: Likewise.
29579 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29581         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29582         (reused_arena): Don't check arena limit.
29583         (arena_get2): Atomically check arena limit.
29585 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29587         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29588         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29590         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29591         instructions.
29593 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29595         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29596         handler when locking.
29598         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29599         Fix size of allocated buffer.
29601 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29603         [BZ #10103]
29604         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29605         declarations for long double functions.
29606         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29608         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29610 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29612         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29613         installed.
29615         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29616         is disabled.
29618 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29620         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29622 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29624         * include/alloca.h (stackinfo_alloca_round): Define.
29625         (extend_alloca): Use it.
29626         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29627         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29628         here.
29630         * scripts/check-local-headers.sh: Ignore libaudit.h.
29632         * nscd/Makefile (extra-objs): Make recursively expanded.
29634 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29636         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29637         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29639         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29640         * posix/tst-rfc3484-2.c: Likewise.
29641         * posix/tst-rfc3484-3.c: Likewise.
29643         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29644         process_vm_writev.
29645         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29646         process_vm_writev.
29647         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29648         process_vm_writev from libc using GLIBC_2.15 version.
29650         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29652 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29654         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29655         stack usage.
29657 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29659         [BZ #13367]
29660         * nss/getent.c (initgroups_keys): Show error message in case no group
29661         names are given.
29663         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29664         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29665         __bump_nl_timestamp.
29666         * nscd/connections (nscd_init): When host database is served open
29667         netlink socket and request notification about configuration changes.
29668         (main_loop_poll): Track netlink file descriptor and bump timestamp
29669         in case data becomes available.
29670         (main_loop_epoll): Likewise.
29671         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29672         (database_pers_head): Add extra_data fileds.
29673         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29674         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29675         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29676         Adjust caller.
29677         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29678         in6ai data, call __free_in6ai.
29679         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29680         Add -DHAVE_NETLINK.
29681         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29682         interface information.  Reuse previous data if netlink timestamp
29683         is not changed.
29684         (__bump_nl_timestamp): New function.
29685         (__free_in6ai): New function.
29687 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29689         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29690         close_not_cancel_no_status here.
29691         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29693 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29695         [BZ #13276]
29696         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29697         return value.
29699         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29700         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29701         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29703 2011-07-03  Andreas Jaeger  <aj@suse.de>
29705         [BZ #10709]
29706         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29707         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29708         * math/libm-test.inc (sin_test): Add test case.
29710 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29712         [BZ #13337]
29713         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29714         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29716         * elf/chroot_canon.c (chroot_canon): Cleanups.
29718         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29720         [BZ #13335]
29721         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29722         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29724         * string/test-strchr.c: Make usable for strchrnul testing.
29725         * string/test-strchrnul.c: New file.
29726         * string/Makefile (strop-tests): Add strchrnul.
29728         * po/it.po: Update from translation team.
29729         * po/es.po: Likewise.
29731 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29733         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29734         the three constants needed as parameters.  Drop the others.
29735         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29736         __m128i_strloadu_tolower.
29737         Create and initialize variable zero and use it in all the places
29738         where _mm_setzero_si128 was used.
29740         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29741         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29742         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29743         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29744         anymore.
29745         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29746         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29747         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29748         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29749         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29750         __mpranred, __mptan.
29751         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29752         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29753         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29754         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29755         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29756         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29757         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29758         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29759         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29761 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29763         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29764         redefine if SHARED.
29765         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29768         wide char related routines to wcsmbs subdir.
29770 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29772         [BZ #13344]
29773         * misc/sys/cdefs.h (__THROWNL): Define.
29774         * posix/unistd.h: Use __THREADNL instead of __THREAD
29775         for memory synchronization functions.
29777 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29779         [BZ #13349]
29780         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29781         doesn't exist.
29782         * manual/stdio.texi (Obstack Streams): Node removed.
29784 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29786         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29787         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29788         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29790         * math/math_private.h (math_force_eval): Allow non-addressable
29791         arguments.
29792         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29794 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29796         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29797         file is not needed.
29799         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29800         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29801         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29802         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29803         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29804         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29805         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29806         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29807         Add AVX variants.
29808         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29809         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29810         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29811         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29812         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29813         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29814         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29815         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29816         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29817         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29818         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29819         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29820         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29821         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29822         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29823         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29824         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29825         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29826         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29828         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29829         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29831         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29832         place.  Use VEX encoding when compiling for AVX.
29834 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29836         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29837         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29839         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29841 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29843         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29844         useless if() expression.
29845         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29846         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29847         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29848         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29849         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29850         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29851         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29852         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29853         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29854         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29855         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29856         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29857         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29858         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29859         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29860         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29861         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29862         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29863         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29865         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29867 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29869         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29870         condition.
29871         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29873 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29875         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29876         .text section.  Avoid duplicate constants.
29877         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29879         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29885         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29887         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29889         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29892         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29894         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29900         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29901         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29902         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29903         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29904         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29905         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29906         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29907         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29908         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29909         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29910         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29911         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29912         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29913         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29914         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29915         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29916         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29917         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29918         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29919         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29920         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29921         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29923 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29925         * sysdeps/x86_64/dla.h: Move to ...
29926         * sysdeps/x86_64/fpu/dla.h: ...here.
29927         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29928         situations.  Use __builtin_fma only for gcc 4.6 and up.
29930         * config.make.in: Add have-mfma4 entry.
29931         * configure.in: Substitute libc_cv_cc_fma4.
29932         * math/Makefile (dbl-only-routines): Add sincostab.
29933         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29934         Use __sincostab not sincos.
29935         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29936         name is a macro.
29937         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29938         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29939         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29940         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29941         using __copysign.
29942         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29943         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29944         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29945         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29946         and __inv.
29947         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29948         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29949         __copysign.
29950         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29951         define aliases when function name is a macro.
29952         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29953         sysdeps/ieee754/dbl-64/sincos.tbl.
29954         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29955         fma4-enabled routines.
29956         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29957         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29958         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29959         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29960         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29961         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29962         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29963         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29964         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29965         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29966         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29967         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29968         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29969         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29970         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29971         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29972         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29973         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29974         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29975         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29976         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29977         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29978         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29979         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29980         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29981         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29982         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29983         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29984         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29985         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29987         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29988         rename.
29989         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29993         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29994         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29995         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29996         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29998 2011-10-24  Andreas Schwab  <schwab@redhat.com>
30000         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30002 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30004         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30006         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30007         prediction.
30008         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30010         * string/strnlen.c: Don't define STRNLEN, reverse logic.
30011         Remove unused variable magic_bits.
30012         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30014         * string/strnlen.c: Define and use STRNLEN macro.
30015         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30016         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30017         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30018         * wcsmbs/wcslen.c: Define and use WCSLEN.
30019         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30020         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30021         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30022         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30023         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30024         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30025         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30027 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30030         strnlen-sse2-no-bsf.
30031         Rename strlen-no-bsf to strlen-sse2-no-bsf.
30032         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30033         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30034         Add strnlen support.
30035         (USE_AS_STRNLEN): New macro.
30036         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30037         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30038         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30039         * sysdeps/x86_64/wcslen.S: New file.
30041 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
30043         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30044         XMM-moves are used for copying on small sizes.
30046 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30048         * wcsmbs/Makefile (strop-tests): Add wcschr.
30049         * wcsmbs/test-wcschr.c: New file.
30050         * string/test-strchr.c: Update.
30051         Add wcschr support.
30052         (WIDE): New macro.
30054 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30056         * wcsmbs/Makefile (strop-tests): Add wcslen.
30057         * wcsmbs/test-wcslen.c: New file.
30058         * string/test-strlen.c: Update.
30059         Add wcslen support.
30060         (WIDE): New macro.
30062 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30064         * po/it.po: Update from translation team.
30066 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30068         * sysdeps/x86_64/wcscmp.S: Update.
30069         Fix wrong comparison semantics.
30070         wcscmp shall use signed comparison not unsigned.
30071         Don't use substraction to avoid overflow bug.
30072         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30073         * wcsmbc/wcscmp.c: Likewise.
30074         * string/test-strcmp.c: Likewise.
30075         Add new tests to check cases with negative values.
30077 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30079         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30080         * sysdeps/x86_64/dla.h: ...here.  New file.
30081         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30082         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30083         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30085         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30086         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30087         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30088         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30091 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
30093         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30094         __ynl_finite aliases.
30096 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30100         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30101         define DLA_FMA.
30102         [DLA_FMA] (EMULV): Use DLA_FMA.
30103         [DLA_FMA] (MUL12): Use EMULV.
30104         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30105         that are not needed.
30106         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30107         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30108         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30109         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30110         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30111         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30112         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30114 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
30116         * math/s_nan.c: Undef __nan.
30117         * math/s_nanf.c: Undef __nanf.
30118         * math/s_nanl.c: Undef __nanl.
30119         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30120         "math_private.h".
30122 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30124         * math/s_catan.c: Add branch predictions.
30125         * math/s_catanf.c: Likewise.
30126         * math/s_catanh.c: Likewise.
30127         * math/s_catanhf.c: Likewise.
30128         * math/s_catanhl.c: Likewise.
30129         * math/s_catanl.c: Likewise.
30130         * math/s_cexp.c: Likewise.
30131         * math/s_cexpf.c: Likewise.
30132         * math/s_cexpl.c: Likewise.
30133         * math/s_clog.c: Likewise.
30134         * math/s_clog10.c: Likewise.
30135         * math/s_clog10f.c: Likewise.
30136         * math/s_clog10l.c: Likewise.
30137         * math/s_clogf.c: Likewise.
30138         * math/s_clogl.c: Likewise.
30139         * math/s_csqrt.c: Likewise.
30140         * math/s_csqrtf.c: Likewise.
30141         * math/s_csqrtl.c: Likewise.
30142         * math/s_ctanf.c: Likewise.
30143         * math/s_ctanh.c: Likewise.
30144         * math/s_ctanhf.c: Likewise.
30145         * math/s_ctanhl.c: Likewise.
30146         * math/s_ctanl.c: Likewise.
30148         * math/math_private.h: Define __nan, __nanf, __nanl.
30149         * math/s_cacosh.c: Include <math_private.h>.
30150         * math/s_cacoshl.c: Likewise.
30151         * math/s_casinh.c: Likewise.
30152         * math/s_casinhf.c: Likewise.
30153         * math/s_casinhl.c: Likewise.
30154         * math/s_ccos.c: Rely entire on ccosh.
30155         * math/s_ccosf.c: Rely entire on ccoshf.
30156         * math/s_ccosl.c: Rely entirely on ccoshl.
30157         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
30158         Remove tests for FE_INVALID.
30159         * math/s_ccoshf.c: Likewise.
30160         * math/s_ccoshl.c: Likewise.
30161         * math/s_csin.c: Likewise.
30162         * math/s_csinf.c: Likewise.
30163         * math/s_csinh.c Likewise.
30164         * math/s_csinhf.c: Likewise.
30165         * math/s_csinhl.c: Likewise.
30166         * math/s_csinl.c: Likewise.
30167         * math/s_ctan.c: Likewise.
30168         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30169         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30170         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30172 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
30174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30175         compilation problems.
30177         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30178         __builtin_expect.
30180 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
30182         * sysdeps/i386/configure.in: Test for -mfma4 option.
30183         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30184         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30185         COMMON_CPUID_INDEX_80000001.
30186         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30187         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30188         use it if FMA3 is not supported.
30189         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30191         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30192         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30194 2011-10-20  Andreas Schwab  <schwab@redhat.com>
30196         [BZ #12892]
30197         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30198         it would create a cycle with a link time dependency.
30200 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
30202         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30203         instruction.
30204         * string/Makefile (strop-tests): Add rawmemchr.
30205         * string/test-rawmemchr.c: New file.
30207         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30208         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
30209         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
30210         when compiling str{,n}casecmp and when AVX is available.  Hook up
30211         new optimized code in initializers.
30213 2011-10-19  Andreas Schwab  <schwab@redhat.com>
30215         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30216         __feraiseexcept instead of feraiseexcept.
30218 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
30220         * math/math_private.h: Define defaults for libc_fetestexcept and
30221         libc_feupdateenv.
30222         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30223         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30224         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30225         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30226         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30227         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30228         libc_fetestexcept and libc_feupdateenv.
30230         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30231         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30232         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30233         * sysdeps/x86_64/fpu/math_private.h: Define special version of
30234         libc_feholdexcept_setround.
30236         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30237         Add s_nearbyint-c and s_nearbyintf-c.
30238         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30239         nearbyintf inlines.
30240         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30241         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30242         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30243         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30245         * math/math_private.h: Define defaults for libc_fegetround,
30246         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30247         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30248         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30249         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30250         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30251         standard functions.
30252         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30253         Remove comments and hacks for old compiler versions.
30254         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30255         libc_fegetround, libc_fesetround, libc_feholdexcept, and
30256         libc_feholdexceptl.
30258 2011-10-18  Andreas Schwab  <schwab@redhat.com>
30260         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30261         (__feraiseexcept_renamed): Add __NTH.
30262         (feraiseexcept): Add __NTH.  Rename local variables to fix
30263         namespace violations.
30265 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
30267         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30269         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30271         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30272         recently added interfaces.
30273         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30275         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30276         about macro parameter expansion.
30278         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30279         __NO_MATH_INLINES is defined.  Cleanups.
30281         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30282         and __floorf is target has SSE4.1.
30283         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30284         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30285         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30286         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30288         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30289         name.
30290         (floorf): Likewise.
30292         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30294 2011-10-17  Andreas Schwab  <schwab@redhat.com>
30296         * misc/sys/cdefs.h: Fix last change.
30298         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30299         database lookup.
30301 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
30303         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30305         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30306         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30307         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30308         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30309         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30310         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30311         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30312         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30313         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30314         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30315         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30316         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30317         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30318         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30319         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30320         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30321         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30322         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30323         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30324         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30325         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30326         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30328         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30329         ceil, ceilf, floor, floorf.
30331         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30332         Perform IRELATIVE relocations last.
30334         * elf/do-rel.h: Add another parameter nrelative, replacing the
30335         local variable with the same name.  Change name of the function
30336         to end in Rel or Rela (uppercase).
30337         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30338         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
30339         elf_dynamic_do_##reloc function.
30341 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30343         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30344         is sufficient, at least on modern CPUs.
30346         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30348         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30349         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30351         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30352         __expl_finite.
30353         * math/bits/math-finite.h: Add entries for exp.
30354         * math/e_expl.c: Add __*_finite alias.
30355         * sysdeps/i386/fpu/e_exp.S: Likewise.
30356         * sysdeps/i386/fpu/e_expf.S: Likewise.
30357         * sysdeps/i386/fpu/e_expl.c: Likewise.
30358         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30359         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30360         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30361         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30362         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30363         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30364         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30366         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30367         is sufficient, at least on modern CPUs.
30369         * ctype/ctype-info.c (__ctype_init): Define.
30370         * include/ctype.h (__ctype_init): Declare.
30371         (__ctype_b_loc): The variable is always initialized.
30372         (__ctype_toupper_loc): Likewise.
30373         (__ctype_tolower_loc): Likewise.
30374         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30375         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30377 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
30379         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30381         * configure.in: Also look in $cxxmachine/include for C++ system
30382         headers.
30384 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30386         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30387         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30388         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30389         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
30390         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30391         (USE_AS_WMEMCMP): New macro.
30392         Fixing indents.
30393         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30394         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30395         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30396         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30398         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30399         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30400         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30401         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30402         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30403         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30404         (USE_AS_WMEMCMP): New macro.
30405         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30406         * sysdeps/string/test-memcmp.c: Update.
30407         Fix simple_wmemcmp.
30408         Add new tests.
30409         * wcsmbs/wmemcmp.c: Update.
30410         (WMEMCMP): New macro.
30411         Fix overflow bug.
30413 2011-10-12  Andreas Jaeger  <aj@suse.de>
30415         [BZ #13268]
30416         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30418 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30420         * libio/iofwide.c (do_length): Avoid warning.
30422         * ctype/ctype.h (__isctype_f): Add missing __THROW.
30424 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30426         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30428         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30429         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30430         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30431         * sysdeps/i386/i686/fpu/e_log.S: New file.
30432         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30433         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30435         * ctype/ctype.h: Add support for inlined isXXX functions when
30436         compiling C++ code.
30438 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30440         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30442         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30444 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30446         [BZ #13291]
30447         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30449 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30451         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30452         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30453         feraiseexcept.
30455         * sysdeps/x86_64/memrchr.S: Check for zero size.
30457         * string/stratcliff.c: Add memrchr tests.
30459 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30461         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30462         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30463         rawmemchr-sse2 rawmemchr-sse2-bsf.
30464         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30465         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30466         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30467         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30468         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30469         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30470         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30471         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30472         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30473         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30474         * string/memrchr.c (MEMRCHR): New macro.
30476 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30478         Add integration with gcc's -ffinite-math-only and optimize wrapper
30479         functions in libm.
30480         * Versions.def: Define GLIBC_2.15 version for libm.
30481         * math/Makefile (headers): Add bits/math-finite.h.
30482         * math/bits/math-finite.h: New file.
30483         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30484         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30485         * math/e_acoshl.c: Add __*_finite alias.
30486         * math/e_acosl.c: Likewise.
30487         * math/e_asinl.c: Likewise.
30488         * math/e_atan2l.c: Likewise.
30489         * math/e_atanhl.c: Likewise.
30490         * math/e_coshl.c: Likewise.
30491         * math/e_exp10.c: Likewise.
30492         * math/e_exp10f.c: Likewise.
30493         * math/e_exp10l.c: Likewise.
30494         * math/e_exp2l.c: Likewise.
30495         * math/e_fmodl.c: Likewise.
30496         * math/e_gammal_r.c: Likewise.
30497         * math/e_hypotl.c: Likewise.
30498         * math/e_j0l.c: Likewise.
30499         * math/e_j1l.c: Likewise.
30500         * math/e_jnl.c: Likewise.
30501         * math/e_lgammal_r.c: Likewise.
30502         * math/e_log10l.c: Likewise.
30503         * math/e_log2l.c: Likewise.
30504         * math/e_logl.c: Likewise.
30505         * math/e_powl.c: Likewise.
30506         * math/e_sinhl.c: Likewise.
30507         * math/e_sqrtl.c: Likewise.
30508         * math/e_scalb.c: Completely rewritten and optimized.
30509         * math/e_scalbf.c: Likewise.
30510         * math/e_scalbl.c: Likewise.
30511         * math/w_acos.c: Likewise.
30512         * math/w_acosf.c: Likewise.
30513         * math/w_acosl.c: Likewise.
30514         * math/w_acosh.c: Likewise.
30515         * math/w_acoshf.c: Likewise.
30516         * math/w_acoshl.c: Likewise.
30517         * math/w_asin.c: Likewise.
30518         * math/w_asinf.c: Likewise.
30519         * math/w_asinl.c: Likewise.
30520         * math/w_atan2.c: Likewise.
30521         * math/w_atan2f.c: Likewise.
30522         * math/w_atan2l.c: Likewise.
30523         * math/w_atanh.c: Likewise.
30524         * math/w_atanhf.c: Likewise.
30525         * math/w_atanhl.c: Likewise.
30526         * math/w_exp10.c: Likewise.
30527         * math/w_exp10f.c: Likewise.
30528         * math/w_exp10l.c: Likewise.
30529         * math/w_fmod.c: Likewise.
30530         * math/w_fmodf.c: Likewise.
30531         * math/w_fmodl.c: Likewise.
30532         * math/w_j0.c: Likewise.
30533         * math/w_j0f.c: Likewise.
30534         * math/w_j0l.c: Likewise.
30535         * math/w_j1.c: Likewise.
30536         * math/w_j1f.c: Likewise.
30537         * math/w_j1l.c: Likewise.
30538         * math/w_jn.c: Likewise.
30539         * math/w_jnf.c: Likewise.
30540         * math/w_log.c: Likewise.
30541         * math/w_logf.c: Likewise.
30542         * math/w_logl.c: Likewise.
30543         * math/w_log10.c: Likewise.
30544         * math/w_log10f.c: Likewise.
30545         * math/w_log10l.c: Likewise.
30546         * math/w_log2.c: Likewise.
30547         * math/w_log2f.c: Likewise.
30548         * math/w_log2l.c: Likewise.
30549         * math/w_pow.c: Likewise.
30550         * math/w_powf.c: Likewise.
30551         * math/w_powl.c: Likewise.
30552         * math/w_remainder.c: Likewise.
30553         * math/w_remainderf.c: Likewise.
30554         * math/w_remainderl.c: Likewise.
30555         * math/w_scalb.c: Likewise.
30556         * math/w_scalbf.c: Likewise.
30557         * math/w_scalbl.c: Likewise.
30558         * math/w_sqrt.c: Likewise.
30559         * math/w_sqrtf.c: Likewise.
30560         * math/w_sqrtl.c: Likewise.
30561         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30562         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30563         used.
30564         * math/math_private.h: Declare __kernel_standard_f.
30565         * math/w_cosh.c: Remove cruft and optimize a bit.
30566         * math/w_coshf.c: Likewise.
30567         * math/w_coshl.c: Likewise.
30568         * math/w_exp2.c: Likewise.
30569         * math/w_exp2f.c: Likewise.
30570         * math/w_exp2l.c: Likewise.
30571         * math/w_hypot.c: Likewise.
30572         * math/w_hypotf.c: Likewise.
30573         * math/w_hypotl.c: Likewise.
30574         * math/w_lgamma.c: Likewise.
30575         * math/w_lgamma_r.c: Likewise.
30576         * math/w_lgammaf.c: Likewise.
30577         * math/w_lgammaf_r.c: Likewise.
30578         * math/w_lgammal.c: Likewise.
30579         * math/w_lgammal_r.c: Likewise.
30580         * math/w_sinh.c: Likewise.
30581         * math/w_sinhf.c: Likewise.
30582         * math/w_sinhl.c: Likewise.
30583         * math/w_tgamma.c: Likewise.
30584         * math/w_tgammaf.c: Likewise.
30585         * math/w_tgammal.c: Likewise.
30586         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30587         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30588         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30589         Minor optimizations.  Pretty printing.  Remove cruft.
30590         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30591         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30592         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30593         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30594         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30595         * sysdeps/i386/fpu/e_asin.S: Likewise.
30596         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30597         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30598         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30599         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30600         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30601         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30602         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30603         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30604         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30605         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30606         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30607         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30608         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30609         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30610         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30611         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30612         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30613         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30614         * sysdeps/i386/fpu/e_log.S: Likewise.
30615         * sysdeps/i386/fpu/e_log10.S: Likewise.
30616         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30617         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30618         * sysdeps/i386/fpu/e_log2.S: Likewise.
30619         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30620         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30621         * sysdeps/i386/fpu/e_logf.S: Likewise.
30622         * sysdeps/i386/fpu/e_logl.S: Likewise.
30623         * sysdeps/i386/fpu/e_pow.S: Likewise.
30624         * sysdeps/i386/fpu/e_powf.S: Likewise.
30625         * sysdeps/i386/fpu/e_powl.S: Likewise.
30626         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30627         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30628         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30629         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30630         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30631         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30632         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30633         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30634         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30635         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30636         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30637         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30638         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30639         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30640         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30641         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30642         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30643         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30644         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30645         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30646         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30648         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30649         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30650         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30651         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30652         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30653         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30655         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30656         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30657         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30658         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30659         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30660         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30661         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30662         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30663         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30664         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30665         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30666         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30667         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30668         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30669         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30670         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30671         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30672         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30673         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30674         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30675         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30676         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30677         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30678         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30679         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30680         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30681         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30682         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30683         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30684         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30685         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30686         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30687         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30690         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30691         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30692         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30693         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30694         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30695         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30696         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30697         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30698         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30699         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30700         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30701         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30702         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30703         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30704         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30705         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30706         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30707         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30708         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30709         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30711         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30712         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30713         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30714         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30715         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30716         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30717         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30718         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30719         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30720         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30721         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30722         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30723         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30724         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30725         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30726         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30727         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30728         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30729         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30730         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30731         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30732         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30733         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30734         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30735         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30736         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30737         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30738         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30739         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30740         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30741         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30742         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30743         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30744         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30745         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30746         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30747         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30748         (__isnanf): Likewise.
30749         (__isinf_ns): Likewise.
30750         (__isinf_nsf): Likewise.
30751         (__finite): Likewise.
30752         (__finitef): Likewise.
30753         (__ieee754_sqrt): Define as macro.
30754         (__ieee754_sqrtf): Define as macro.
30755         (__ieee754_sqrtl): Define as macro.
30756         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30757         inlined copy.
30758         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30759         __FINITE_MATH_ONLY__ consistent.
30760         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30762 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30764         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30765         of rawmemchr.
30767         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30769 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30771         * po/ja.po: Update from translation team.
30773 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30775         * locale/programs/locarchive.c (prepare_address_space): New function.
30776         (create_archive, enlarge_archive, open_archive): Use it.
30778         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30779         inside [SHARED], where it is used.
30781         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30783         * nss/getent.c (netgroup_keys): Remove unused variable.
30784         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30786 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30788         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30789         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30791         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30792         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30793         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30794         * math/Makefile (libm-calls): Add s_isinf_ns.
30795         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30796         * math/multc3.c: Likewise.
30797         * math/s_casin.c: Likewise.
30798         * math/s_casinf.c: Likewise.
30799         * math/s_casinl.c: Likewise.
30800         * math/s_ccos.c: Likewise.
30801         * math/s_ccosf.c: Likewise.
30802         * math/s_ccosl.c: Likewise.
30803         * math/s_ctan.c: Likewise.
30804         * math/s_ctanf.c: Likewise.
30805         * math/s_ctanh.c: Likewise.
30806         * math/s_ctanhf.c: Likewise.
30807         * math/s_ctanhl.c: Likewise.
30808         * math/s_ctanl.c: Likewise.
30809         * math/w_fmod.c: Likewise.
30810         * math/w_fmodf.c: Likewise.
30811         * math/w_fmodl.c: Likewise.
30812         * math/w_remainder.c: Likewise.
30813         * math/w_remainderf.c: Likewise.
30814         * math/w_remainderl.c: Likewise.
30815         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30816         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30817         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30818         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30819         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30820         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30821         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30822         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30824         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30825         of the number.
30826         * stdio-common/printf_fphex.c: Likewise.
30827         * stdio-common/printf_size.c: Likewise.
30829         * math/e_exp10.c: Include math_private.h using <...> not "...".
30830         * math/e_exp10f.c: Likewise.
30831         * math/e_exp10l.c: Likewise.
30832         * math/e_exp2l.c: Likewise.
30833         * math/e_j0l.c: Likewise.
30834         * math/e_j1l.c: Likewise.
30835         * math/e_jnl.c: Likewise.
30836         * math/e_lgammal_r.c: Likewise.
30837         * math/e_rem_pio2l.c: Likewise.
30838         * math/e_scalb.c: Likewise.
30839         * math/e_scalbf.c: Likewise.
30840         * math/e_scalbl.c: Likewise.
30841         * math/k_cosl.c: Likewise.
30842         * math/k_sinl.c: Likewise.
30843         * math/k_tanl.c: Likewise.
30844         * math/s_cacoshf.c: Likewise.
30845         * math/s_catan.c: Likewise.
30846         * math/s_catanf.c: Likewise.
30847         * math/s_catanh.c: Likewise.
30848         * math/s_catanhf.c: Likewise.
30849         * math/s_catanhl.c: Likewise.
30850         * math/s_catanl.c: Likewise.
30851         * math/s_ccosh.c: Likewise.
30852         * math/s_ccoshf.c: Likewise.
30853         * math/s_ccoshl.c: Likewise.
30854         * math/s_cexp.c: Likewise.
30855         * math/s_cexpf.c: Likewise.
30856         * math/s_cexpl.c: Likewise.
30857         * math/s_clog.c: Likewise.
30858         * math/s_clog10.c: Likewise.
30859         * math/s_clog10f.c: Likewise.
30860         * math/s_clog10l.c: Likewise.
30861         * math/s_clogf.c: Likewise.
30862         * math/s_clogl.c: Likewise.
30863         * math/s_csin.c: Likewise.
30864         * math/s_csinf.c: Likewise.
30865         * math/s_csinh.c: Likewise.
30866         * math/s_csinhf.c: Likewise.
30867         * math/s_csinhl.c: Likewise.
30868         * math/s_csinl.c: Likewise.
30869         * math/s_csqrt.c: Likewise.
30870         * math/s_csqrtf.c: Likewise.
30871         * math/s_csqrtl.c: Likewise.
30872         * math/s_ctan.c: Likewise.
30873         * math/s_ctanf.c: Likewise.
30874         * math/s_ctanh.c: Likewise.
30875         * math/s_ctanhf.c: Likewise.
30876         * math/s_ctanhl.c: Likewise.
30877         * math/s_ctanl.c: Likewise.
30878         * math/s_ldexp.c: Likewise.
30879         * math/s_ldexpf.c: Likewise.
30880         * math/s_ldexpl.c: Likewise.
30881         * math/s_significand.c: Likewise.
30882         * math/s_significandf.c: Likewise.
30883         * math/s_significandl.c: Likewise.
30884         * math/w_acos.c: Likewise.
30885         * math/w_acosf.c: Likewise.
30886         * math/w_acosh.c: Likewise.
30887         * math/w_acoshf.c: Likewise.
30888         * math/w_acoshl.c: Likewise.
30889         * math/w_acosl.c: Likewise.
30890         * math/w_asin.c: Likewise.
30891         * math/w_asinf.c: Likewise.
30892         * math/w_asinl.c: Likewise.
30893         * math/w_atan2.c: Likewise.
30894         * math/w_atan2f.c: Likewise.
30895         * math/w_atan2l.c: Likewise.
30896         * math/w_atanh.c: Likewise.
30897         * math/w_atanhf.c: Likewise.
30898         * math/w_atanhl.c: Likewise.
30899         * math/w_cosh.c: Likewise.
30900         * math/w_coshf.c: Likewise.
30901         * math/w_coshl.c: Likewise.
30902         * math/w_dremf.c: Likewise.
30903         * math/w_exp10.c: Likewise.
30904         * math/w_exp10f.c: Likewise.
30905         * math/w_exp10l.c: Likewise.
30906         * math/w_exp2.c: Likewise.
30907         * math/w_exp2f.c: Likewise.
30908         * math/w_fmod.c: Likewise.
30909         * math/w_fmodf.c: Likewise.
30910         * math/w_fmodl.c: Likewise.
30911         * math/w_hypot.c: Likewise.
30912         * math/w_hypotf.c: Likewise.
30913         * math/w_hypotl.c: Likewise.
30914         * math/w_j0.c: Likewise.
30915         * math/w_j0f.c: Likewise.
30916         * math/w_j0l.c: Likewise.
30917         * math/w_j1.c: Likewise.
30918         * math/w_j1f.c: Likewise.
30919         * math/w_j1l.c: Likewise.
30920         * math/w_jn.c: Likewise.
30921         * math/w_jnf.c: Likewise.
30922         * math/w_jnl.c: Likewise.
30923         * math/w_lgamma.c: Likewise.
30924         * math/w_lgamma_r.c: Likewise.
30925         * math/w_lgammaf.c: Likewise.
30926         * math/w_lgammaf_r.c: Likewise.
30927         * math/w_lgammal.c: Likewise.
30928         * math/w_lgammal_r.c: Likewise.
30929         * math/w_log.c: Likewise.
30930         * math/w_log10.c: Likewise.
30931         * math/w_log10f.c: Likewise.
30932         * math/w_log10l.c: Likewise.
30933         * math/w_log2.c: Likewise.
30934         * math/w_log2f.c: Likewise.
30935         * math/w_log2l.c: Likewise.
30936         * math/w_logf.c: Likewise.
30937         * math/w_logl.c: Likewise.
30938         * math/w_pow.c: Likewise.
30939         * math/w_powf.c: Likewise.
30940         * math/w_powl.c: Likewise.
30941         * math/w_remainder.c: Likewise.
30942         * math/w_remainderf.c: Likewise.
30943         * math/w_remainderl.c: Likewise.
30944         * math/w_scalb.c: Likewise.
30945         * math/w_scalbf.c: Likewise.
30946         * math/w_scalbl.c: Likewise.
30947         * math/w_sinh.c: Likewise.
30948         * math/w_sinhf.c: Likewise.
30949         * math/w_sinhl.c: Likewise.
30950         * math/w_sqrt.c: Likewise.
30951         * math/w_sqrtf.c: Likewise.
30952         * math/w_sqrtl.c: Likewise.
30953         * math/w_tgamma.c: Likewise.
30954         * math/w_tgammaf.c: Likewise.
30955         * math/w_tgammal.c: Likewise.
30957         * po/ja.po: Update from translation team.
30959 2011-09-29  Andreas Jaeger  <aj@suse.de>
30961         [BZ #13179]
30962         * sunrpc/netname.c (netname2host): Fix logic.
30964         [BZ #6779]
30965         [BZ #6783]
30966         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30967         correctly.
30968         * math/w_remainder.c (__remainder): Likewise.
30969         * math/w_remainderf.c (__remainderf): Likewise.
30970         * math/libm-test.inc (remainder_test): Add test cases.
30972 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30974         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30975         sdiv_qrnnd.
30977 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30979         * string/test-memcmp.c: Avoid unncessary #defines.
30980         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30982 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30984         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30985         Use new sse2 version for core i3 - i7 as it's faster
30986         than sse42 version.
30987         (bit_Prefer_PMINUB_for_stringop): New.
30988         * sysdeps/x86_64/rawmemchr.S: Update.
30989         Replace with faster SSE2 version.
30990         * sysdeps/x86_64/memrchr.S: New file.
30991         * sysdeps/x86_64/memchr.S: Update.
30992         Replace with faster SSE2 version.
30994 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30996         * elf/dl-load.c (lose): Add cast to avoid warning.
30998 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31000         * po/ca.po: Update from translation team.
31002         * inet/getnetgrent_r.c: Hook up nscd.
31003         * nscd/Makefile (routines): Add nscd_netgroup.
31004         (nscd-modules): Add netgroupcache.
31005         (CFLAGS-netgroupcache.c): Define.
31006         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31007         (cache_search): Add const to second parameter.
31008         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31009         INNETGR.
31010         (dbs): Add netgrdb entry.
31011         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31012         (verify_persistent_db): Handle netgrdb.
31013         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31014         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31015         GETFDNETGR.
31016         (netgroup_response_header): Define.
31017         (innetgroup_response_header): Define.
31018         (datahead): Add netgroup_response_header and innetgroup_response_header
31019         elements.
31020         * nscd/nscd.conf: Add entries for netgroup cache.
31021         * nscd/nscd.h (dbtype): Add netgrdb.
31022         (_PATH_NSCD_NETGROUP_DB): Define.
31023         (netgroup_iov_disabled): Declare.
31024         (xmalloc, xcalloc, xrealloc): Move declarations here.
31025         (cache_search): Adjust prototype.
31026         Add netgroup-related prototypes.
31027         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31028         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31029         (__nscd_innetgr): Declare.
31030         * nscd/selinux.c (perms): Use access_vector_t as element type and
31031         add netgroup-related initializers.
31032         * nscd/netgroupcache.c: New file.
31033         * nscd/nscd_netgroup.c: New file.
31034         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31035         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31036         For four parameters use innetgr.
31037         * nss/nss_files/files-init.c: Add definition and callback for netgr.
31038         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31039         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31040         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31042         * nscd/connections.c (register_traced_file): Don't register file
31043         for disabled databases.
31045 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
31047         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31049         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31050         from tree and freeing node.
31052 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
31054         * nss/nsswitch.c (__nss_database_lookup): Handle
31055         nss_parse_service_list out of memory case.
31057 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
31059         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31060         out of memory case.
31062 2011-10-04  Andreas Schwab  <schwab@redhat.com>
31064         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31065         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31066         pass it down.
31067         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31068         elf_machine_rela, elf_machine_lazy_rel.
31069         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31070         (ELF_DYNAMIC_DO_REL): Likewise.
31071         (ELF_DYNAMIC_DO_RELA): Likewise.
31072         (ELF_DYNAMIC_RELOCATE): Likewise.
31073         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31074         to ELF_DYNAMIC_DO_REL.
31075         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31076         (dl_main): In trace mode always set __RTLD_NOIFUNC.
31077         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31078         elf_machine_rela.
31079         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31080         skip_ifunc, don't call ifunc function if non-zero.
31081         (elf_machine_rela): Likewise.
31082         (elf_machine_lazy_rel): Likewise.
31083         (elf_machine_lazy_rela): Likewise.
31084         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31085         (elf_machine_lazy_rel): Likewise.
31086         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31087         Likewise.
31088         (elf_machine_lazy_rel): Likewise.
31089         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31090         Likewise.
31091         (elf_machine_lazy_rel): Likewise.
31092         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31093         (elf_machine_lazy_rel): Likewise.
31094         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31095         (elf_machine_lazy_rel): Likewise.
31096         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31097         (elf_machine_lazy_rel): Likewise.
31098         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31099         (elf_machine_lazy_rel): Likewise.
31100         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31101         (elf_machine_lazy_rel): Likewise.
31102         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31103         (elf_machine_lazy_rel): Likewise.
31105 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
31107         * nss/nss_files/files-init.c (_nss_files_init): Use static
31108         initialization for all the *_traced_file variables.
31110 2011-09-28  Andreas Schwab  <schwab@redhat.com>
31112         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31114 2011-09-27  Roland McGrath  <roland@hack.frob.com>
31116         [BZ #13226]
31117         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31119 2011-09-27  Andreas Schwab  <schwab@redhat.com>
31121         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31122         Reread the line before reparsing it.
31124 2011-09-26  Andreas Schwab  <schwab@redhat.com>
31126         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31128 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
31129             Maxim Kuvyrkov  <maxim@codesourcery.com>
31130             Joseph Myers  <joseph@codesourcery.com>
31132         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31133         if needed for __stack_chk_guard.
31135 2011-09-19  Roland McGrath  <roland@hack.frob.com>
31137         * sysdeps/posix/spawni.c (script_execute): Always define it.
31138         It will be optimized away if unused.
31139         (maybe_script_execute): New function.
31140         (__spawni): Call it.
31142         * Makerules: Don't include tls.make.
31143         (config-tls): Always set to thread.
31144         * tls.make.c: File removed.
31146 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
31148         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31149         * config.make.in (CPPFLAGS-config): New substituted variable.
31151 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31153         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31155         [BZ #13192]
31156         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31157         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31159 2011-09-15  Roland McGrath  <roland@hack.frob.com>
31161         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31162         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31163         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31164         (CALL_FAIL): Likewise.
31165         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31166         (CALL_FAIL): Macro removed.
31167         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31169 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31171         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31172         for __FINITE_MATH_ONLY__ == 1.
31174 2011-09-15  Andreas Schwab  <schwab@redhat.com>
31176         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31177         __ieee754_sqrt instead of sqrt.
31178         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31179         __ieee754_sqrtf instead of sqrtf.
31180         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31181         __floorf instead of floorf.
31182         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31183         __floorf, __truncf instead of floorf, truncf.
31185 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
31187         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31189         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31190         __extern_always_inline.
31191         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31192         32-bit.
31194 2011-09-14  Andreas Schwab  <schwab@redhat.com>
31196         * elf/rtld.c (dl_main): Also relocate in dependency order when
31197         doing symbol dependency testing.
31199 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
31201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31202         Always define `refsym'.
31204 2011-09-13  Andreas Schwab  <schwab@redhat.com>
31206         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31207         (__FD_ELT): Renamed from __FDELT.
31208         * misc/bits/select2.h (__FD_ELT): Likewise.
31209         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31210         __FD_MASK instead of __FDELT, __FDMASK.
31211         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31212         Likewise.
31213         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31214         Likewise.
31216         * elf/Makefile (gen-ldd): Fix pattern.
31218         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31219         (init_tls): Likewise.
31221 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
31223         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31225 2011-09-12  Andreas Schwab  <schwab@redhat.com>
31227         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31228         `struct cmsghdr *' instead of `void *'.
31229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31230         Likewise.
31232 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
31234         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31235         if non-absolute.
31236         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31237         ldd_rewrite_script.
31239 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
31241         * configure.in: Remove --with-tls option.
31242         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31243         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31244         out in case it is missing.
31245         * sysdeps/ia64/elf/configure.in: Likewise.
31246         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31247         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31248         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31249         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31250         * sysdeps/sh/elf/configure.in: Likewise.
31251         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31252         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31253         * sysdeps/x86_64/elf/configure.in: Likewise.
31254         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31255         * sysdeps/mach/hurd/tls.h: Likewise.
31257         [BZ #13067]
31258         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31260         [BZ #13090]
31261         * configure.in: Fix use of AC_INIT.
31263         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31265 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
31267         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31268         __set_errno.
31269         * malloc/hooks.c: Likewise.
31271         [BZ #11929]
31272         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
31273         variables statically.
31274         (narenas): Initialize.
31275         (list_lock): Initialize.
31276         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
31277         initializtion of main_arena and list_lock.  Small cleanups.
31278         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31279         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
31280         Add initializers to main_arena and mp_.
31281         (malloc_state): Remove pagesize member.  Change all users to use
31282         GLRO(dl_pagesize).
31284         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31285         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
31286         is always initialized.
31288         * malloc/malloc.c: Removed unused configurations and dead code.
31289         * malloc/arena.c: Likewise.
31290         * malloc/hooks.c: Likewise.
31291         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31293         * include/tls.h: Removed.  USE___THREAD must always be defined.
31294         * bits/libc-tsd.h: Don't handle !USE___THREAD.
31295         * elf/dl-libc.c: Likewise.
31296         * elf/dl-tsd.c: Likewise.
31297         * include/errno.h: Likewise.
31298         * include/netdb.h: Likewise.
31299         * include/resolv.h: Likewise.
31300         * inet/herrno-loc.c: Likewise.
31301         * inet/herrno.c: Likewise.
31302         * malloc/arena.c: Likewise.
31303         * malloc/hooks.c: Likewise.
31304         * malloc/malloc.c: Likewise.
31305         * resolv/res-state.c: Likewise.
31306         * resolv/res_libc.c: Likewise.
31307         * sysdeps/i386/dl-machine.h: Likewise.
31308         * sysdeps/ia64/dl-machine.h: Likewise.
31309         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31310         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31311         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31312         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31313         * sysdeps/sh/dl-machine.h: Likewise.
31314         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31315         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31316         * sysdeps/unix/i386/sysdep.S: Likewise.
31317         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31318         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31323         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31324         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31326         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31327         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31328         * sysdeps/x86_64/dl-machine.h: Likewise.
31329         * tls.make.c: Likewise.
31331         * configure.in: Remove --with-__thread option.  Make tests for
31332         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31333         tls_model attribute fail if no support is available.  Remove
31334         USE_IN_LIBIO.
31335         * Makeconfig: Adjust for dropped configure option.  All features are
31336         now mandatory.
31337         * Makerules: Likewise.
31338         * Versions.def: Likewise.
31339         * argp/argp-fmtstream.c: Likewise.
31340         * argp/argp-fmtstream.h: Likewise.
31341         * argp/argp-help.c: Likewise.
31342         * assert/assert.c: Likewise.
31343         * config.h.in: Likewise.
31344         * config.make.in: Likewise.
31345         * configure: Likewise.
31346         * configure.in: Likewise.
31347         * csu/Versions: Likewise.
31348         * csu/init.c: Likewise.
31349         * elf/tst-audit2.c: Likewise.
31350         * elf/tst-tls10.c: Likewise.
31351         * elf/tst-tls10.h: Likewise.
31352         * elf/tst-tls11.c: Likewise.
31353         * elf/tst-tls12.c: Likewise.
31354         * elf/tst-tls14.c: Likewise.
31355         * elf/tst-tlsmod11.c: Likewise.
31356         * elf/tst-tlsmod12.c: Likewise.
31357         * elf/tst-tlsmod13.c: Likewise.
31358         * elf/tst-tlsmod13a.c: Likewise.
31359         * elf/tst-tlsmod14a.c: Likewise.
31360         * elf/tst-tlsmod15b.c: Likewise.
31361         * elf/tst-tlsmod16a.c: Likewise.
31362         * elf/tst-tlsmod16b.c: Likewise.
31363         * elf/tst-tlsmod7.c: Likewise.
31364         * elf/tst-tlsmod8.c: Likewise.
31365         * elf/tst-tlsmod9.c: Likewise.
31366         * gmon/gmon.c: Likewise.
31367         * grp/fgetgrent_r.c: Likewise.
31368         * grp/putgrent.c: Likewise.
31369         * hurd/fopenport.c: Likewise.
31370         * include/libc-symbols.h: Likewise.
31371         * include/tls.h: Likewise.
31372         * intl/gettextP.h: Likewise.
31373         * intl/loadinfo.h: Likewise.
31374         * locale/global-locale.c: Likewise.
31375         * locale/localeinfo.h: Likewise.
31376         * mach/devstream.c: Likewise.
31377         * malloc/arena.c: Likewise.
31378         * malloc/set-freeres.c: Likewise.
31379         * misc/err.c: Likewise.
31380         * misc/getttyent.c: Likewise.
31381         * misc/mntent_r.c: Likewise.
31382         * posix/getopt.c: Likewise.
31383         * posix/wordexp.c: Likewise.
31384         * pwd/fgetpwent_r.c: Likewise.
31385         * resolv/Versions: Likewise.
31386         * resolv/res_hconf.c: Likewise.
31387         * shadow/fgetspent_r.c: Likewise.
31388         * shadow/putspent.c: Likewise.
31389         * stdio-common/printf_fphex.c: Likewise.
31390         * stdio-common/tmpfile.c: Likewise.
31391         * stdlib/abort.c: Likewise.
31392         * stdlib/fmtmsg.c: Likewise.
31393         * sunrpc/auth_unix.c: Likewise.
31394         * sunrpc/clnt_perr.c: Likewise.
31395         * sunrpc/clnt_tcp.c: Likewise.
31396         * sunrpc/clnt_udp.c: Likewise.
31397         * sunrpc/clnt_unix.c: Likewise.
31398         * sunrpc/openchild.c: Likewise.
31399         * sunrpc/svc_simple.c: Likewise.
31400         * sunrpc/svc_tcp.c: Likewise.
31401         * sunrpc/svc_udp.c: Likewise.
31402         * sunrpc/svc_unix.c: Likewise.
31403         * sunrpc/xdr.c: Likewise.
31404         * sunrpc/xdr_array.c: Likewise.
31405         * sunrpc/xdr_rec.c: Likewise.
31406         * sunrpc/xdr_ref.c: Likewise.
31407         * sunrpc/xdr_stdio.c: Likewise.
31409 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31411         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31413 2011-07-03  Andreas Jaeger  <aj@suse.de>
31415         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31416         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31417         regenerate with gen-libm-tests.pl.
31419 2010-05-12  Petr Baudis  <pasky@suse.cz>
31421         [BZ #11589]
31422         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31423         around j0() zero points by switching to j1().
31424         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31425         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31426         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31427         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31429 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31431         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31432         instead of 0.
31433         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31434         instead of 0.
31435         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31436         Patch in part by Pavel Roskin <proski@gnu.org>.
31438         [BZ #13138]
31439         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31440         realloc.
31441         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31442         Free memory block if necessary.
31444         [BZ #12847]
31445         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31446         be NULL.  Don't lock in this case.
31448 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31450         * elf/elf.h (ELFOSABI_GNU): New macro.
31451         (ELFOSABI_LINUX): Define to that.
31453 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31455         * string/strncat.c (strncat): Undef the symbol in case it has been
31456         defined in bits/string.h.
31458 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31460         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31462         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31463         link map.
31465 2011-08-17  Andreas Jaeger  <aj@suse.de>
31467         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31469 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31470             Ian Lance Taylor  <iant@google.com>
31472         * math/libm-test.inc (lround_test): New testcase.
31473         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31475 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31477         * Makefile: Remove support for automatic cvs check-ins.
31478         * Makerules: Likewise.
31479         * config.make.in: Likewise.
31480         * configure.in: Likewise.
31481         * intl/Makefile: Likewise.
31482         * locale/Makefile: Likewise.
31483         * po/Makefile: Likewise.
31484         * posix/Makefile: Likewise.
31485         * sysdeps/gnu/Makefile: Likewise.
31486         * sysdeps/mach/hurd/Makefile: Likewise.
31487         * sysdeps/sparc/sparc32/Makefile: Likewise.
31489         [BZ #13118]
31490         * posix/Makefile (bug-regex32-ENV): Define.
31491         Patch by John Stanley <jpsinthemix@verizon.net>.
31493         * misc/Makefile (headers): Add bits/select2.h.
31494         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31495         * misc/bits/select2.h: New file.
31496         * include/bits/select2.h: New file.
31497         * debug/Makefile (routines): Add fdelt_chk.
31498         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31499         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31500         FD_ISSET.
31501         * debug/fdelt_chk.c: New file.
31503         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31504         * wcsmbs/test-wmemcmp.c: Likewise.
31505         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31506         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31508 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31510         * string/Makefile (strop-tests): Add memcmp.
31511         * string/test-wmemcmp.c: New file.
31512         * string/test-memcmp.c: Add wmemcmp support.
31514 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31516         [BZ #13153]
31517         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31518         2011-07-19 change.
31520         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31521         garbage value in a __mach_port_mod_refs call in the cases of the
31522         task-self and thread-self ports.
31524 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31526         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31528 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31530         * elf/dl-load.c (lose): Check for non-null L.
31532 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31534         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31536         * elf/dl-libc.c (dlerror_run): Pass back error code from
31537         dl_catch_error.
31539         [BZ #13123]
31540         * elf/dl-load.c (lose): Free l_origin if it is valid.
31542         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31543         names.
31544         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31545         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31546         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31547         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31548         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31549         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31551 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31553         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31554         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31555         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31556         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31557         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31558         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31559         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31560         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31561         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31562         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31564 2011-08-15  Alan Modra  <amodra@gmail.com>
31566         [BZ #13092]
31567         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31568         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31569         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31570         ppc_mcount to static-only-routines.
31571         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31572         __mcount_internal.
31573         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31574         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31576 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31578         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31579         for finite and infinity parameters.
31581 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31583         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31584         and add nop instructions for throughput optimization.
31585         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31587 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31589         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31590         aligned copy for power7 with vector-scalar instructions.
31591         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31593 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31595         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31596         AVX check.
31598 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31600         [BZ #13144]
31601         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31602         last change.
31604 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31606         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31607         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31608         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31609         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31610         clock_gettime.
31612 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31614         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31615         Forgot to demangle the pointer.
31617         * sysdeps/i386/sysdep.h: Define atom_text_section.
31618         * sysdeps/x86_64/sysdep.h: Likewise.
31619         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31620         section with atom_text_section.
31621         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31622         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31623         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31624         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31625         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31627         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31628         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31629         already be defined.  Change to take two parameters and don't assign
31630         result to variable.  Adjust all users.
31631         Define INTERNAL_GETTIME if not already defined.
31632         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31633         call.
31634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31635         HAVE_CLOCK_GETTIME_VSYSCALL.
31636         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31638         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31639         gettimeofday vsyscall, just use time.
31641 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31643         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31644         <errno.h>.
31646 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31648         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31649         syscall on x86-64.
31650         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31651         syscall.
31652         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31653         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31654         syscall if possible.
31656 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31658         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31659         e_ident.  Don't pass to find_mapsXX.
31660         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31662 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31665         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31666         * sysdeps/x86_64/multiarch/strchr.S: Update.
31667         Check bit_slow_BSF bit.
31668         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31669         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31670         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31672 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31674         [BZ #13134]
31675         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31676         before glibc 2.15.
31677         (tryshell): Define.
31678         (__spawni): Change last parameter to be flag.  Test
31679         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31680         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31681         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31682         * posix/spawni.c: Likewise.
31683         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31684         * posix/spawnp.c: Likewise.  Change normal version to use
31685         SPAWN_XFLAGS_USE_PATH.
31686         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31687         SPAWN_XFLAGS_TRY_SHELL.
31689         [BZ #13150]
31690         * posix/glob.h: Remove gcc 1.x support.
31692         [BZ #13068]
31693         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31695 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31697         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31698         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31699         strrchr-sse2-bsf
31700         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31701         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31702         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31703         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31704         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31705         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31707 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31709         * sysdeps/x86_64/wcscmp.S: New file.
31711         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31712         wcscmp-c wcscmp-sse2
31713         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31714         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31715         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31716         * wcsmbs/wcscmp.c: Allow renaming.
31718 2011-09-05  David S. Miller  <davem@davemloft.net>
31720         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31721         stack slot, rather than the struct return pointer slot.
31722         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31723         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31725         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31727 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31729         * po/ja.po: Update from translation team.
31731         [BZ #13144]
31732         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31733         kernel in 64-bit binaries.
31735 2011-09-01  David S. Miller  <davem@davemloft.net>
31737         * elf/elf.h (HWCAP_SPARC_*): Move to..
31738         * sysdeps/sparc/sysdep.h: this new file and add new values.
31739         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31740         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31741         _DL_HWCAP_COUNT to 24.
31742         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31743         entries.
31744         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31745         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31746         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31748         instead of magic constants.
31749         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31751 2011-08-31  David S. Miller  <davem@davemloft.net>
31753         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31755         Reimplement to do errno handling inline.
31756         (SYSCALL_ERROR_HANDLER): New macro.
31757         (__SYSCALL_STRING): Do not do errno handling in asm.
31758         (__CLONE_SYSCALL_STRING): Delete.
31759         (__INTERNAL_SYSCALL_STRING): Delete.
31760         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31761         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31762         (PSEUDO): Reimplement to do errno handling inline.
31763         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31764         (SYSCALL_ERROR_HANDLER): New macro.
31765         (__SYSCALL_STRING): Do not do errno handling in asm.
31766         (__CLONE_SYSCALL_STRING): Delete.
31767         (__INTERNAL_SYSCALL_STRING): Delete.
31768         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31769         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31770         i386.
31771         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31772         (inline_syscall*): Add 'err' argument.
31773         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31774         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31775         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31776         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31778         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31779         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31781 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31783         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31785 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31787         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31788         directive.
31790 2011-08-24  David S. Miller  <davem@davemloft.net>
31792         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31794 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31796         * elf/Makefile: Add rules to build and run unload8 test.
31797         * elf/unload8.c: New file.
31798         * elf/unload8mod1.c: New file.
31799         * elf/unload8mod1x.c: New file.
31800         * elf/unload8mod2.c: New file.
31801         * elf/unload8mod3.c: New file.
31803         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31804         it wasn't used.
31806 2011-08-23  David S. Miller  <davem@davemloft.net>
31808         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31809         subtract stack bias.
31810         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31811         %sp not %fp in calculations.
31812         (_JMPBUF_UNWINDS_ADJ): Likewise.
31814         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31815         (aio_suspend): Call it to force an exception region around the
31816         AIO_MISC_WAIT() invocation.
31818 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31820         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31821         backslash.
31823 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31825         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31826         protection macro.
31827         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31828         and <dl-machine.h>.
31829         (Elf64_FuncDesc): Remove.
31831 2011-08-22  David S. Miller  <davem@davemloft.net>
31833         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31834         sigaltstack check, add missing cfi directives.
31835         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31836         missing cfi directives, and sigaltstack handling.
31838 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31840         [BZ #11724]
31841         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31842         object is seen twice.
31843         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31845         * elf/Makefile (distribute): Add tst-initorder2.c.
31846         (tests): Add tst-initorder2.
31847         (modules-names): Add tst-initorder2a tst-initorder2b
31848         tst-initorder2c tst-initorder2d.  Add rules to build them.
31849         ($(objpfx)tst-initorder2.out): New rule.
31850         * elf/tst-initorder2.c: New file.
31851         * elf/tst-initorder2.exp: New file.
31853 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31855         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31857         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31858         dependencies back to end of function.
31860         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31861         $(elfobjdir)/ld.so.
31863 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31865         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31866         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31867         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31868         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31869         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31870         of __vdso_gettimeofday.
31871         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31872         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31873         attribute_hidden.
31874         (_libc_vdso_platform_setup): Remove initialization of
31875         __vdso_gettimeofday and __vdso_time.
31877 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31879         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31880         and fgetc_unlocked.
31881         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31882         getc_unlocked.
31884         * elf/dl-open.c (add_to_global): Report additions to the global scope
31885         for LD_DEBUG=scopes.
31886         (dl_open_worker): Also print scope of newly loaded dependencies.
31887         (_dl_show_scope): Indicate if there is no scope.
31889         [BZ #13114]
31890         * stdio-common/Makefile (tests): Add bug24.
31891         * stdio-common/bug24.c: New file.
31893 2011-08-19  Andreas Jaeger  <aj@suse.de>
31895         [BZ #13114]
31896         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31897         non-existant file when using close-on-exec mode.
31899 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31901         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31902         the very first instruction.
31904         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31905         the CFI state in the end.
31906         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31907         inclusion of dl-trampoline.h.
31908         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31910 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31912         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31913         expectations for long double.
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31916         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31918 2011-08-14  David S. Miller  <davem@davemloft.net>
31920         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31921         artificual limit depends upon the system page size.
31923 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31925         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31926         * resolv/Makefile: Define CFLAGS-libresolv.
31928 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31930         * nss/makedb.c (compute_tables): Make variables used in nested
31931         function static.
31933 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31935         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31936         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31937         if buffer was too small.
31939         * elf/pldd.c (main): Attach to all threads in the process.
31940         Rewrite /proc handling to use *at functions.
31942 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31944         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31945         specifies first scope to show.
31946         (dl_open_worker): Update callers.  Move printing scope of new
31947         object to before the relocation.
31948         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31949         * sysdeps/generic/ldsodefs.h: Update declaration.
31951         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31952         string for the scope number.
31954 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31956         * nscd/servicescache.c (cache_addserv): Make sure written is always
31957         initialized.
31959 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31961         * sysdeps/i386/i486/bits/atomic.h
31962         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31963         statement expression, so as to suppress "set but not used" warning.
31964         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31966         * string/strncat.c (STRNCAT): Use prototype definition.
31968         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31969         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31970         -Iprograms here.
31971         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31972         (localedef-modules): Add localedef.
31973         (locale-modules): Add locale.
31975         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31976         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31977         to avoid a warning.
31979 2011-08-14  David S. Miller  <davem@davemloft.net>
31981         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31982         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31984 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31986         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31987         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31988         * elf/rtld.c (dl_main): Set l_name of vDSO.
31989         Call _dl_show_scope when DL_DEBUG_SCOPES.
31990         (process_dl_debug): Recognize scopes flag and also set it for all.
31991         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31992         Declare _dl_show_scope.
31994         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31995         (do_dlopen): Pass caller_dlopen to dl_open.
31996         (__libc_dlopen_mode): Initialize caller_dlopen.
31998         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31999         of libc.  Make tolower call locale-independent.  Optimize a bit by
32000         using isdigit instead of isalnum.
32001         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32003 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
32005         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32006         was a dependency or dynamically loaded.
32008 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
32010         * intl/l10nflist.c: Allow architecture-specific pop function.
32011         * sysdeps/x86_64/l10nflist.c: New file.
32013         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32014         classification.
32016 2011-08-10  Andreas Schwab  <schwab@redhat.com>
32018         * include/dirent.h: Add libc_hidden_proto for scandirat and
32019         scandirat64.  Don't declare __scandirat64.
32020         * dirent/scandirat.c: Add libc_hidden_def.
32021         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32022         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32024 2011-08-10  David S. Miller  <davem@davemloft.net>
32026         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32027         enum.
32028         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32029         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32030         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32032 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
32034         * Versions.def [libc]: Add GLIBC_2.15.
32035         * dirent/Makefile (routines): Add scandirat and scandirat64.
32036         * dirent/Versions [libc]: Export scandirat and scandirat64 for
32037         GLIBC_2.15.
32038         * dirent/dirent.h: Declare scandirat and scandirat64.
32039         * dirent/scandirat.c: New file.
32040         * dirent/scandirat64.c: New file.
32041         * sysdeps/wordsize-64/scandirat.c: New file.
32042         * sysdeps/wordsize-64/scandirat64.c: New file.
32043         * dirent/opendir.c: Define opendirat.
32044         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
32045         using scandirat.
32046         * dirent/scandir64.c: Adjust for scandir.c change.
32047         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
32048         __scandirat64, and __scandir_cancel_handler.
32049         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
32050         additional parameter and use openat instead of open (outside of ld.so).
32051         Add new __opendir as wrapper around __opendirat.
32052         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32053         here without requiring old scandirat implementation.
32055 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
32057         * dirent/scandir.c (cancel_handler): Renamed to
32058         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
32059         defined.  Adjust users.
32060         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32061         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32063 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
32065         * string/test-string.h (IMPL): Use __STRING to expand name and then
32066         stringify it.
32068         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
32069         of cleanups.
32071 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32073         * string/Makefile: Update.
32074         (strop-tests): Append strncat.
32075         * string/test-wcscmp.c: New file.
32076         New comprehensive test for wcscmp.
32077         * string/test-strcmp.c: Update.
32078         (WIDE): New define.
32080 2011-07-22  Andreas Schwab  <schwab@redhat.com>
32082         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32083         line.
32085 2011-07-26  Andreas Schwab  <schwab@redhat.com>
32087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32088         encoding to ACE if AI_IDN.
32090 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
32092         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32093         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32095 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32097         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32098         Fix overflow bug in strncat.
32099         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32101         * string/test-strncat.c: Update.
32102         Add new tests for checking overflow bugs.
32104 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32106         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32107         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32108         * sysdeps/i386/i686/multiarch/strcat.S: New file.
32109         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32110         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32111         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32112         * sysdeps/i386/i686/multiarch/strncat.S: New file.
32113         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32114         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32116         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32117         (USE_AS_STRCAT): Define.
32118         Add strcat and strncat support.
32119         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32121 2011-07-25  Andreas Schwab  <schwab@redhat.com>
32123         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32124         __n bigger than INT_MAX+1.
32125         (__strncmp_g): Likewise.
32127 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
32129         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32130         * libio/stido.h: Likewise.
32132         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32133         (AF_NFC): Define.
32134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32135         (AF_NFC): Define.
32137         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32138         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32139         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32140         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32141         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32143         [BZ #13021]
32144         * scripts/test-installation.pl: Don't expect libnss_test1 to be
32145         installed.
32147         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32148         typo.
32149         (_dl_x86_64_save_sse): Likewise.
32151 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
32153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32154         OSXSAVE.
32155         (_dl_x86_64_save_sse): Likewise.
32157         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32159         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32161 2011-07-21  Andreas Schwab  <schwab@redhat.com>
32163         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32164         change.
32165         (_dl_x86_64_save_sse): Use correct AVX check.
32167 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32169         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32170         bug in strncpy/strncat.
32171         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32173 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
32175         * string/tester.c (test_strcat): Add tests for different alignments
32176         of source and destination.
32177         (test_strncat): Likewise.
32179 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32181         [BZ #12852]
32182         * posix/glob.c (glob): Check passed in values before using them in
32183         expressions to avoid some overflows.
32184         (glob_in_dir): Likewise.
32186         [BZ #13007]
32187         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32188         check for AVX enablement so that we don't crash with old kernels and
32189         new hardware.
32190         * elf/tst-audit4.c: Add same checks here.
32191         * elf/tst-audit6.c: Likewise.
32193         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32195 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
32197         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32199 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32201         * po/cs.po: Update from translation team.
32202         * po/bg.po: Likewise.
32204 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
32206         * misc/sys/cdefs.h: Add support for const attribute.
32207         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32208         to gnu_dev_{major,minor,makedev} functions.
32210 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
32212         * intl/dcigettext.c (get_output_charset): Add missing bracket.
32214 2011-07-20  Andreas Schwab  <schwab@redhat.com>
32216         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32217         strlen results.
32219 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32221         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32222         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32223         register in order to avoid conflicts with the soft frame pointer
32224         being held in r11 when necessary.
32225         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32226         (INTERNAL_VSYSCALL_NCS): Likewise.
32228 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
32230         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32231         * elf/dl-fini.c (_dl_fini): Adjust caller.
32232         * elf/dl-close.c (_dl_close_worker): Likewise.
32233         * sysdeps/generic/ldsodefs.h: Adjust declaration.
32235 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32237         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32238         "aux_cache->nlibs < 0".
32240         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32241         in the reload-count case.
32243 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32246         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32247         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32248         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32249         * sysdeps/x86_64/multiarch/strcat.S: New file.
32250         * sysdeps/x86_64/multiarch/strncat.S: New file.
32251         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32252         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32253         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32254         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32255         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32256         (USE_AS_STRCAT): Define.
32257         Add strcat and strncat support.
32258         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32259         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32260         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32261         * string/strncat.c: Update.
32262         (USE_AS_STRNCAT): Define.
32263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32264         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32265         and i7.
32266         * sysdeps/x86_64/multiarch/init-arch.h
32267         (bit_Prefer_PMINUB_for_stringop): New.
32268         (index_Prefer_PMINUB_for_stringop): Likewise.
32269         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32270         bit_Prefer_PMINUB_for_stringop.
32272 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32274         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32275         buffer64.
32276         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32277         of casting of buffer.
32278         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32279         buffer32 and buffer64.
32280         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32281         writes instead of casting of buffer.
32282         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32283         buffer32.
32284         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32285         casting of buffer.
32287 2011-07-19  Andreas Schwab  <schwab@redhat.com>
32289         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32291 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32293         * nscd/nscd.c (termination_handler): Don't do anything for a database
32294         if it has not yet been initialized.
32296 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32298         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32300 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32302         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32304 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32306         * po/nl.po: Update from translation team.
32307         * po/sv.po: Likewise.
32309 2011-07-16  Roland McGrath  <roland@hack.frob.com>
32311         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32312         now disallowed by GCC.
32314         * configure.in (use-default-link): Default to yes if a test -shared
32315         link meets our qualifications.
32316         * configure: Regenerated.
32318         * config.make.in (output-format): New variable.
32319         * configure.in: Check for ld --print-output-format support.
32320         * configure: Regenerated.
32321         * Makerules ($(common-objpfx)format.lds)
32322         [$(output-format) != unknown]: Just use $(output-format),
32323         instead of the linker-script munging.
32325 2011-07-14  Roland McGrath  <roland@hack.frob.com>
32327         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32328         of $(common-objpfx)shlib.lds.
32329         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32331         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32332         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32334         * configure.in (-z relro check): Adjust test code to add a large
32335         writable data section after it.
32336         * configure: Regenerated.
32338 2011-07-11  Roland McGrath  <roland@hack.frob.com>
32340         * configure.in (-z relro check): Fix test code to make the variable
32341         truly const.
32342         * configure: Regenerated.
32344 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
32346         * nscd/nscd.h (struct traced_file): Define.
32347         (struct database_dyn): Remove inotify_descr, reset_res, and filename
32348         elements.  Add traced_files.
32349         (inotify_fd): Declare.
32350         (register_traced_file): Declare.
32351         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32352         (inotify_fd): Export.
32353         (resolv_conf_descr): Remove.
32354         (nscd_init): Move inotify descriptor creation to main.
32355         Don't register files for notification here.
32356         (register_traced_file): New function.
32357         (invalidate_cache): Don't use reset_res to determine whether to call
32358         res_init, go through the list of registered files.
32359         (main_loop_poll): The inotify descriptors are now stored in the
32360         structures for the traced files.
32361         (main_loop_epoll): Likewise
32362         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
32363         to __nss_disable_nscd.
32364         * nscd/cache.c (prune_cache): There is no single inotify descriptor
32365         for a database anymore.  Check the records for all the registered
32366         files instead.
32367         * nss/Makefile (libnss_files-routines): Add files-init.
32368         (libnss_db-routines): Add db-init.
32369         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32370         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32371         * nss/nss_db/db-init.c: New file.
32372         * nss/nss_files/files-init.c: New file.
32373         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
32374         __nss_lookup_function.
32375         (__nss_lookup_function): Call nss_load_library.
32376         (nss_load_all_libraries): New function.
32377         (__nss_disable_nscd): Take parameter with callback function for files
32378         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
32379         used for the cached services.
32380         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32381         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32382         options for features to all the files in nscd.
32384         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32386 2011-07-10  Roland McGrath  <roland@hack.frob.com>
32388         * csu/elf-init.c (__libc_csu_init): Comment typo.
32390 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
32392         * po/pl.po: Update from translation team.
32393         * po/ja.po: Likewise.
32394         * po/ru.po: Likewise.
32395         * po/ko.po: Likewise.
32396         * po/fr.po: Likewise.
32398 2011-07-09  Roland McGrath  <roland@hack.frob.com>
32400         * configure.in (.ctors/.dtors header and trailer check):
32401         Use an empirical test on a built program.
32402         * configure: Regenerated.
32404         * configure.in (-z relro check): Use an empirical test on a built DSO.
32405         Detect, but do not require, on ia64.
32406         * configure: Regenerated.
32408         * configure.in (READELF): Find it with AC_CHECK_TOOL.
32409         Update tests that use readelf to use $READELF instead.
32410         * configure: Regenerated.
32412 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
32414         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32415         if the result is not used.
32417 2011-07-05  Andreas Jaeger  <aj@suse.de>
32419         [BZ#9696]
32420         * stdlib/tst-strtod.c: Add testcase.
32422 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
32424         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32425         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32426         The latter has a higher limit.  Take additional parameter to pass to
32427         the new function.
32428         (__pathconf): Pass file to __statfs_link_max.
32429         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32430         __statfs_link_max.
32431         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32432         __statfs_link_max.
32434         [BZ #12868]
32435         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32436         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32437         Handle Lustre.
32438         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32439         (__statfs_filesize_max): Likewise.
32440         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32442 2011-07-05  Andreas Jaeger  <aj@suse.de>
32444         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32446 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32448         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32449         `status' variable.
32450         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32451         Likewise.
32453 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32455         * Makefile (strop-tests): Add strncat.
32456         * string/test-strncat.c: New file.
32458 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32460         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32462 2011-06-21  Andreas Jaeger  <aj@suse.de>
32464         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32465         Copy rule from iconvdata/Makefile.
32467 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32469         [BZ #12922]
32470         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32471         but no long options are defined, just return 'W'.
32473 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32475         [BZ #9696]
32476         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32478 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32480         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32481         netgroups to read.
32482         (innetgr): Likewise.
32484 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32486         * config.make.in (install_root): Default to $(DESTDIR).
32488 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32490         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32492 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32494         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32496         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32497         containing directory rather than embedding absolute directory names.
32499         * scripts/check-local-headers.sh: Rewritten using awk.
32500         Match by word, not by line.  Print error messages for matches.
32501         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32503         * Makerules [shlib-lds-flags empty]:
32504         ($(common-objpfx)libc_pic.opts): New target.
32505         ($(common-objpfx)libc_pic.os.clean): New target.
32506         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32508         * config.make.in (OBJCOPY): New variable.
32509         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32510         * configure: Regenerated.
32512         * config.make.in (use-default-link): New variable.
32513         * configure.in (use_default_link): Grok --with-default-link to set it.
32514         * configure: Regenerated.
32515         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32516         (shlib-lds, shlib-lds-flags): Define to empty.
32518         * Makerules (shlib-lds): New variable.
32519         (shlib-lds-flags): New variable.
32520         (build-shlib, build-moduile, build-module-asneeded): Use it.
32521         ($(common-objpfx)libc.so): Use $(shlib-lds).
32522         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32523         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32525         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32526         DT_FLAGS/DT_FLAGS_1 with zero flags.
32528         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32529         linker script munging.
32531 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32533         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32534         as 128-bit value.
32535         * crypt/sha512.c (sha512_process_block): Perform total addition using
32536         128-bit if possible.
32537         (__sha512_finish_ctx): Likewise.
32538         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32539         as 64-bit value.
32540         * crypt/sha256.c (SWAP64): Define.
32541         (sha256_process_block): Perform total addition using 64-bit if
32542         possible.
32543         (__sha256_finish_ctx): Likewise.
32545 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32547         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32548         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32549         * nscd/hstcache.c (cache_addhst): Likewise.
32550         * nscd/grpcache.c (cache_addgr): Likewise.
32551         * nscd/aicache.c (addhstaiX): Likewise
32552         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32554 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32556         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32557         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32558         * nscd/hstcache.c (cache_addhst): Likewise.
32559         * nscd/grpcache.c (cache_addgr): Likewise.
32560         * nscd/aicache.c (addhstaiX): Likewise
32562 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32564         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32565         domain only when needed.
32567 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32570         is always restored.
32572 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32574         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32575         are re-adding the entry.
32576         * nscd/servicescache.c (cache_addserv): Likewise.
32578 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32580         * sysdeps/generic/dl-irel.h: fix protection against multiple
32581         inclusions.
32582         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32584 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32586         [BZ #12935]
32587         * malloc/memusage.sh: Fix quoting in message.
32588         * debug/xtrace.sh: Likewise.
32590         * configure.in: Remove support for --experimental-malloc option, make
32591         it the default.
32592         * config.make.in: Likewise.
32593         * malloc/Makefile: Likewise.
32595 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32597         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32598         two-byte characters.
32600 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32602         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32603         AC_CACHE_CHECK invocation.
32604         * configure: Regenerated.
32606         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32608 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32610         [BZ #12350]
32611         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32612         bit from old_res_options.
32614         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32616         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32617         value type for setfct.
32619 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32622         __gettimeofday instead of gettimeofday.
32624 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32626         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32628 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32630         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32632         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32633         info.
32635 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32638         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32639         strcpy-sse2-unaligned strncpy-sse2-unaligned
32640         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32641         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32642         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32643         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32644         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32645         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32646         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32647         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32648         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32649         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32650         (STRCPY): Support SSE2 and SSSE3 versions.
32652 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32654         [BZ #12874]
32655         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32656         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32657         kernels which artificially limit size of requests.
32659 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32661         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32662         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32663         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32664         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32665         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32666         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32667         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32668         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32669         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32670         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32671         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32672         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32673         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32674         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32675         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32677         Enable unaligned load optimization for Intel Core i3, i5 and i7
32678         processors.
32679         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32680         Define.
32681         (index_Fast_Unaligned_Load): Define.
32682         (HAS_FAST_UNALIGNED_LOAD): Define.
32684 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32686         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32688 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32690         [BZ #12907]
32691         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32692         until it is clear that the information is realy needed.
32693         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32695 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32699 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32701         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32702         /sys/devices/system/cpu/online if it is usable.
32704         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32705         reading the information from the /proc filesystem to once a second.
32707 2011-06-21  Andreas Jaeger  <aj@suse.de>
32709         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32710         NULL after inclusion of kernel headers.
32712 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32714         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32715         calls to internal_setent.
32717         [BZ #12885]
32718         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32719         addresses using gethostbyname4_r ignore IPv4 addresses.
32721         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32722         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32724         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32726 2011-06-20  David S. Miller  <davem@davemloft.net>
32728         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32729         inclusions.
32730         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32732         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32733         (elf_irel): Use it.
32734         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32735         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32736         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32737         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32738         * sysdeps/x86_64/dl-irel.h: Likewise.
32740         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32741         * elf/dl-sym.c: Likewise.
32743 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32745         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32746         need to dereference resplen2.
32748 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32750         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32752 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32754         * Makeconfig: Define vardbdir and inst_vardbdir.
32755         * nss/Makefile: Add rules to install db-Makefile.
32757         * nss/nss_db/db-XXX.c: Cleanup.
32759         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32760         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32761         GLIBC_PRIVATE.
32762         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32763         * nss/makedb.c: Implement -g option to specify that value strings
32764         are generated and should not be added to table iterated over for
32765         get*ent calls.
32766         * nss/nss_db/db-initgroups.c: New file.
32768         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32769         interface.
32771         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32772         (internal_getgrouplist): Adjust to name change.
32773         Update use_initgroups_entry if this is not the first call.
32774         * nss/databases.def: Add initgroups entry.
32776         * nss/makedb.c (compute_tables): Check result of multiple hash table
32777         sizes to minimize maximum chain length.
32779 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32781         * Versions.def: Add entry for libnss_db.
32782         * shlib-versions: Likewise.
32783         * nss/Makefile: Add rules to build libnss_db.
32784         * nss/Versions: Add libnss_db information.  Organize libnss_files
32785         entries better.
32786         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32787         makedb progra.  Some minor improvements to generate smaller files.
32788         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32789         here from...
32790         * nss/makedb.c: ...here.
32791         Improve database format to be smaller and require less memory at
32792         runtime.
32793         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32794         db anymore.
32795         * nss/nss_db/db-netgrp.c: Likewise.
32796         * nss/nss_db/db-open.c: Likewise.
32797         * nss/nss_files/flies-XXX.x: Adjust comments.
32798         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32799         * nss/nss_files/files-grp.c: Likewise.
32800         * nss/nss_files/files-hosts.c: Likewise.
32801         * nss/nss_files/files-network.c: Likewise.
32802         * nss/nss_files/files-proto.c: Likewise.
32803         * nss/nss_files/files-pwd.c: Likewise.
32804         * nss/nss_files/files-rpc.c: Likewise.
32805         * nss/nss_files/files-service.c: Likewise.
32806         * nss/nss_files/files-sgrp.c: Likewise.
32807         * nss/nss_files/files-spwd.c: Likewise.
32808         * nss/nss_db/db-alias.c: Removed.
32809         * nss/nss_db/dummy-db.h: Removed.
32811 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32813         * nss/makedb.c: Rewritten to not use database library.
32814         * nss/Makefile: Update to build new makedb program.
32816 2011-06-14  Andreas Jaeger  <aj@suse.de>
32818         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32819         memset declaration.
32821 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32824         tmpbuf.
32826 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32828         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32829         * elf/Makefile ($(objpfx)ld.so): Likewise.
32831         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32832         Don't list ld.so twice in dependencies.
32834         * posix/bug-regex31.c: Include <stdlib.h>.
32836         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32838         * nis/nss_compat/compat-spwd.c
32839         (getspent_next_nss_netgr): Remove unused variable.
32840         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32842         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32843         nonmembers" output to use the right array.
32845         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32847         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32849         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32850         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32851         * catgets/gencat.c (read_input_file): Likewise.
32852         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32854         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32855         variable definition inside #if's controlling its use.
32857         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32859         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32861         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32863         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32864         unreachable code.
32866         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32868         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32869         * configure: Regenerated.
32871         * Makerules: Revert last change.
32872         * elf/Makefile: Likewise.
32874 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32876         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32877         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32878         (reloc-link): Likewise.
32880 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32882         * elf/Makefile: Add rules to build pldd.
32883         * elf/pldd.c: New file.
32884         * elf/pldd-xx.c: New file.
32886 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32888         * version.h: Update for 2.15 development version.
32890 2011-06-07  David S. Miller  <davem@davemloft.net>
32892         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32893         ifuncs.
32894         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32895         elf_machine_lazy_rel): Likewise.
32896         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32897         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32898         elf_machine_lazy_rel): Likewise.
32899         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32900         dl_hwcap via passed in argument.
32901         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32902         Likewise.
32904 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32906         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32908 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32910         [BZ #12849]
32911         * manual/fdl-1.1.texi: New file, verbatim from:
32912         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32913         * manual/lgpl-2.1.texi: New file, verbatim from:
32914         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32915         * manual/Makefile (licenses): New variable, list those new file names.
32916         (texis): Use it.
32917         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32919         * manual/fdl.texi: File removed.
32920         * manual/lesser.texi: File removed.
32921         * manual/libc.texinfo (Copying, Documentation License):
32922         Use new @include file names, put @appendix directive before @include.
32924 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32926         [BZ #12841]
32927         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32928         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32929         (mq_open): Add __NTH.
32931 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32934         Assume Intel Core i3/i5/i7 processor if AVX is available.
32936 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32938         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32939         typo.
32941 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32943         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32944         memory.  Use alloca_account.  Fix memory leak when retrying.
32946 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32948         * version.h (RELEASE): Bump for 2.14 release.
32949         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32951         * config.make.in (RANLIB): Remove entry.
32953 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32955         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32956         (libc.pot): Work around missing support for .ksh extension in xgettext.
32958         [BZ #12684]
32959         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32960         if both request failed.
32961         (send_dg): In case of server errors clear resplen or *resplen2.
32963         [BZ #12454]
32964         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32965         when there are multiple maps.
32966         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32967         (_dl_fini): Remove test here.
32969         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32971 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32973         [BZ #12350]
32974         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32975         bit from old_res_options.
32976         (gaih_inet): Likewise.
32978         [BZ #11099]
32979         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32980         as signed.
32982         * resolv/res_init.c (res_setoptions): Make the code more compact.
32984         [BZ #11558]
32985         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32986         set RES_USEVC.
32988         [BZ #11634]
32989         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32991         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32993         [BZ #11781]
32994         * malloc/malloc.h: Declare malloc hook variables as volatile.
32996         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32997         in last patch.
32999         [BZ #11799]
33000         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33001         raise in the comment.
33002         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33003         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33004         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33006 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
33008         [BZ #12811]
33009         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33010         grow the buffers more if it already has to be sufficient.
33011         (build_wcs_upper_buffer): Likewise.
33012         * posix/regexec.c (check_matching): Likewise.
33013         (clean_state_log_if_needed): Likewise.
33014         (extend_buffers): Don't enlarge buffers beyond size of the input
33015         buffer.
33016         Patches mostly by Emil Wojak <emil@wojak.eu>.
33017         * posix/bug-regex32.c: New file.
33018         * posix/Makefile (tests): Add bug-regex32.
33020         * locale/findlocale.c (_nl_find_locale): Return right away if
33021         _nl_explode_name failed.
33022         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33024         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33026         * debug/xtrace.sh: Unify messages.
33027         * malloc/memusage.sh: Likewise.
33029         [BZ #12813]
33030         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33031         time symbol from vDSO.  Substitute with vsyscall if not available.
33032         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33033         __vdso_time.
33035         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33036         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33037         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33038         Add sendmmsg and internal_sendmmsg.
33039         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33040         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33041         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33043         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33044         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33045         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33047 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
33049         [BZ #12813]
33050         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33051         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
33052         available.
33053         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33054         __vdso_getcpu.
33056         [BZ #12814]
33057         * iconvdata/Makefile (tests): Add bug-iconv9.
33058         * iconvdata/bug-iconv9.c: New file.
33060 2011-05-27  Andreas Schwab  <schwab@redhat.com>
33062         [BZ #12814]
33063         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33065 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
33067         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33068         (struct user_regs_struct): Change intcs field back to cs.
33070 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
33072         * po/ja.po: Update from translation team.
33074 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
33076         [BZ #12795]
33077         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33078         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33080 2011-05-20  Andreas Schwab  <schwab@redhat.com>
33082         * stdlib/longlong.h: Update from GCC.
33084 2011-05-23  Andreas Schwab  <schwab@redhat.com>
33086         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33087         parameter name.
33088         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33089         Add parameter name.
33090         (__sysconf): Pass it down.
33092 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
33094         [BZ #12671]
33095         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33096         some situations.
33097         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33098         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33099         add in in __libc_use_alloca calls.  Adjust callers.
33100         (glob): Use malloc in some situations.
33102         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33103         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33104         pltexit.
33106 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
33108         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33109         and CLOCK_BOOTTIME_ALARM.
33111         [BZ #12782]
33112         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33113         is returned.
33115         * string/_strerror.c (__strerror_r): Print negative errors as signed
33116         numbers.
33118         [BZ #12777]
33119         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33120         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33121         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33123         * configure.in: Fix typo in redirection and correct removal of test
33124         files in two cases.
33126         [BZ #12788]
33127         * locale/setlocale.c (new_composite_name): Fix test to check for
33128         identical name of all categories.
33130         [BZ #12792]
33131         * libio/filedoalloc.c (local_isatty): New function.
33132         (_IO_file_doallocate): Use local_isatty.
33133         * stdio-common/perror.c (perror): In case a new stream is used
33134         forward the stream error.
33135         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33136         error flag.
33138 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
33140         [BZ #11869]
33141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33142         alloca.
33143         * include/alloca.h (extend_alloca_account): Define.
33145         [BZ #11857]
33146         * posix/regex.h: Fix comments with documentation of user-accessible
33147         fields after compilation and describe correct free'ing of pattern
33148         after re_compile_pattern.
33149         Patch by Reuben Thomas <rrt@sc3d.org>.
33151 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
33153         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33154         and -mno-altivec to prevent the compiler from using Altivec and/or
33155         VSX instructions when the corresponding registers are not available.
33157 2011-05-19  Andreas Schwab  <schwab@redhat.com>
33159         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33161 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
33163         * libio/freopen.c (freopen): Use __dup2, not dup2.
33164         * libio/freopen64.c (freopen64): Likewise.
33166 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33168         [BZ #12775]
33169         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33170         * math/Makefile (tests): Add test-powl.
33171         (CFLAGS-test-powl.c): Define.
33172         * math/test-powl.c: New file.
33174 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33176         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33178 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
33180         [BZ #11837]
33181         * iconvdata/gb18030.c: Update to GB18020-2005.
33183 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
33185         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33186         RE_SYNTAX_POSIX_AWK): Update to match recent development.
33187         Patch by Aharon Robbins <arnold@skeeve.com>.
33189         [BZ #11892]
33190         * stdlib/putenv.c (putenv): Don't always create copy of the variable
33191         on the stack.
33193         [BZ #11895]
33194         * misc/pselect.c (__pselect): Handle timeout value errors hidden
33195         through underflows.
33197         [BZ #12766]
33198         * misc/error.c (error_at_line): Ensure file_name and old_file_name
33199         point to strings before performing equality test for error_one_per_line
33200         mode.
33202         [BZ #11697]
33203         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33205         [BZ #11820]
33206         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33207         (struct user_fpregs_struct): Avoid __uint*_t types.
33209         [BZ #6420]
33210         * malloc/mtrace.c (tr_where): Add additional parameter to point to
33211         symbol info.  Use it instead of calling _dl_addr locally.
33212         (lock_and_info): New function.
33213         (tr_freehook): Call lock_and_info and pass symbol info as additional
33214         parameter to tr_where.
33215         (tr_mallochook): Likewise.
33216         (tr_reallochook): Likewise.
33217         (tr_memalignhook): Likewise.
33219         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
33220         used and couldn't be at all thread-safe.
33222 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
33224         * libio/freopen.c (freopen): Don't close old file descriptor
33225         before the new one is opened.  Instead dup the new file descriptor
33226         to the old one after the new stream is created.
33227         * libio/freopen64.c (freopen64): Likewise.
33228         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33229         * libio/fileops.c (_IO_new_file_close_it): Handle new
33230         _IO_FLAGS2_NOCLOSE flag.
33231         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33232         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33233         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33234         _IO_FLAGS2_NOCLOSE flag.
33235         * include/unistd.h: Add hidden_proto for dup3.
33236         Define __have_dup3.
33237         * io/dup3.c: Define hidden symbol.
33238         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33240         [BZ #7101]
33241         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33242         when an incomplete long option is used.
33243         * posix/tst-getopt_long1.c: New file.
33244         * posix/Makefile (tests): Add tst-getopt_long1.
33246         [BZ #10138]
33247         * scripts/config.guess: Update from autoconf-2.68.
33248         * scripts/config.sub: Likewise.
33250         [BZ #10157]
33251         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33252         tests into ...
33253         (has_cpuclock): ...this.  New function.
33254         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33255         macro here based on has_cpuclock code.
33257         [BZ #10149]
33258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33259         First byte (not low byte) is now always NUL.
33260         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33263         Use non-cancelable interfaces.
33265         [BZ #9809]
33266         * locale/iso-639.def: Add entry for Sorani.
33268         [BZ #11901]
33269         * include/stdlib.h: Move include protection to the right place.
33270         Define abort_msg_s.  Declare __abort_msg with it.
33271         * stdlib/abort.c (__abort_msg): Adjust type.
33272         * assert/assert.c (__assert_fail_base): New function.  Majority
33273         of code from __assert_fail.  Allocate memory for __abort_msg with
33274         mmap.
33275         (__assert_fail): Now call __assert_fail_base.
33276         * assert/assert-perr.c: Remove bulk of implementation.  Use
33277         __assert_fail_base.
33278         * include/assert.hL Declare __assert_fail_base.
33279         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33280         mmap.
33281         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33283 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
33285         [BZ #11952]
33286         [BZ #12453]
33287         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33288         until all modules are registered in the DTV.
33289         * elf/Makefile: Add rules to build and run tst-tls19.
33290         * elf/tst-tls19.c: New file.
33291         * elf/tst-tls19mod1.c: New file.
33292         * elf/tst-tls19mod2.c: New file.
33293         * elf/tst-tls19mod3.c: New file.
33294         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33296         [BZ #12083]
33297         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33298         correctly.
33300         [BZ #12601]
33301         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33302         two-byte sequence errors.
33303         * iconvdata/Makefile (tests): Add bug-iconv8.
33304         * iconvdata/bug-iconv8.c: New file.
33306         [BZ #12626]
33307         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33308         buf2 definition.
33310         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33312         [BZ #12432]
33313         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33314         (dummy_getcfa): New function.
33315         (init): Get _Unwind_GetCFA address, use dummy if not found.
33316         (backtrace_helper): In recursion check, also check whether CFA changes.
33317         (__backtrace): Completely initialize arg.
33319         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33320         storing incomplete byte sequence in state object.  Avoid testing for
33321         guaranteed too small input if we know there is enough data available.
33323 2011-05-11  Andreas Schwab  <schwab@redhat.com>
33325         * Makeconfig (+link-pie): Indent.
33326         * Rules (binaries-pie): Define if $(have-fpie) and
33327         $(build-shared).
33328         (binaries-shared): Also filter out $(binaries-pie).
33329         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33330         * nscd/Makefile (others-pie): Add nscd.
33331         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33332         ($(objpfx)nscd): Remove command override.
33333         * login/Makefile (others-pie): Add pt_chown.
33334         ($(objpfx)pt_chown): Remove command override.
33335         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33336         remove command overrides.
33338 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
33340         * libio/tst_putwc.c: Fix error messages.
33342         [BZ #12724]
33343         * libio/fileops.c (_IO_new_file_close_it): Always flush when
33344         currently writing and seek to current position when not.
33345         * libio/Makefile (tests): Add bug-fclose1.
33346         * libio/bug-fclose1.c: New file.
33348 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
33350         [BZ #12511]
33351         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33352         don't set DF_1_NODELETE here.
33353         (do_lookup_x): When entering new entry test for copy relocation
33354         and if necessary set DF_1_NODELETE flag.
33355         * elf/tst-unique4.cc: New file.
33356         * elf/tst-unique4.h: New file.
33357         * elf/tst-unique4lib.cc: New file.
33358         * elf/Makefile: Add rules to build and run tst-unique4.
33359         Patch by Piotr Bury <pbury@goahead.com>.
33361 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
33363         [BZ #12052]
33364         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33366         [BZ #12625]
33367         * misc/mntent_r.c (addmntent): Flush the stream after the output
33369         [BZ #12393]
33370         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33371         (is_trusted_path_normalize): Skip initial colon.  Append slash
33372         to empty buffer.  Duplicate is_trusted_path code but allow
33373         constructed patch to be prefix.
33374         (is_dst): Allow $ORIGIN followed by /.
33375         (_dl_dst_substitute): Correct clearing of check_for_trusted.
33376         Correct testing of result of is_trusted_path_normalize
33377         (decompose_rpath): Fix warning.
33379 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
33381         [BZ #11257]
33382         * grp/initgroups.c (internal_getgrouplist): When we found the service
33383         list through the initgroups entry in nsswitch.conf do not always
33384         continue on a successful lookup.  Don't always use the
33385         __nss_group_database value if it is set.
33386         * nss/nsswitch.conf (initgroups): Change action for successful db
33387         lookup to continue for compatibility.
33389 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
33391         [BZ #11532]
33392         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33393         and CP774 modules.
33394         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33395         and CP774 modules.
33396         * iconvdata/tst-tables.sh: Likewise.
33397         * iconvdata/cp770.c: New file.
33398         * iconvdata/cp771.c: New file.
33399         * iconvdata/cp772.c: New file.
33400         * iconvdata/cp773.c: New file.
33401         * iconvdata/cp774.c: New file.
33402         * iconvdata/testdata/CP770: New file.
33403         * iconvdata/testdata/CP770..UTF8: New file.
33404         * iconvdata/testdata/CP771: New file.
33405         * iconvdata/testdata/CP771..UTF8: New file.
33406         * iconvdata/testdata/CP772: New file.
33407         * iconvdata/testdata/CP772..UTF8: New file.
33408         * iconvdata/testdata/CP773: New file.
33409         * iconvdata/testdata/CP773..UTF8: New file.
33410         * iconvdata/testdata/CP774: New file.
33411         * iconvdata/testdata/CP774..UTF8: New file.
33413         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33414         END CHARMAP line.
33415         * iconvdata/gen-8bit-gap.sh: Likewise.
33416         * iconvdata/gen-8bit.sh: Likewise.
33418         * locale/iso-639.def: Add ary entry.
33420         [BZ #11258]
33421         * locale/C-translit.h.in: Add U20A1 transliteration.
33423         [BZ #12178]
33424         * locale/iso-639.def: Add wae entry.
33425         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33427         [BZ #12545]
33428         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33429         for n.
33431         [BZ #12711]
33432         * locale/C-translit.h.in: Add entry for U20B9.
33433         Patch by pravin.d.s@gmail.com.
33435 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33437         [BZ #12713]
33438         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33439         ENAMETOOLONG use generic getcwd.
33440         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33441         in rtld.  Use *stat64.
33442         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33443         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33444         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33445         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33446         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33447         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33448         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33449         __fstatat64 macros.
33450         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33451         * dirent/rewinddir.c: Add libc_hidden_def.
33452         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33453         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33455         * include/dirent.h (__alloc_dir): Add flags parameter.
33456         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33457         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33458         __alloc_dir.
33459         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33460         from fdopendir if O_CLOEXEC is already set.
33462 2011-03-15  Alan Modra  <amodra@gmail.com>
33464         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33465         l_tls_firstbyte_offset non-zero.  Save padding offset in
33466         l_tls_firstbyte_offset for later use.
33467         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33468         freeing static tls block.
33470 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33472         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33473         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33474         being defined by the kernel headers.
33476 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33478         [BZ #12734]
33479         * resolv/resolv.h: Define RES_NOTLDQUERY.
33480         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33481         no-tld-query and set RES_NOTLDQUERY.
33482         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33483         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33484         modern BIND to search name as TLD unless forbidden.
33486 2011-05-07  Petr Baudis  <pasky@suse.cz>
33487             Ulrich Drepper  <drepper@gmail.com>
33489         [BZ #12393]
33490         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33491         (is_trusted_path): ...to here.
33492         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33493         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33494         using is_trusted_path_normalize() in setuid scripts.
33496 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33498         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33499         __BEGIN/__END_DECLS.
33501 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33503         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33504         NSS_STATUS_NOTFOUND if no record was found.
33506 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33508         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33509         (headers-not-in-tirpc): Remove rpc/netdb.h
33510         * resolv/netdb.h: Revert last change.
33512 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33514         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33515         circular dependency between libgcc.a and libc.a.
33517 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33519         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33520         * nis/Makefile: Don't install rpcsvc/*.
33521         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33522         instead of <rpc/types.h>.
33523         (MAXHOSTNAMELEN): Define.
33525 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33527         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33529 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33531         [BZ #12714]
33532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33533         gethostbyname4_r when IPv6 results are possible.
33535 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33537         [BZ #12723]
33538         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33539         _PC_PIPE_BUF handling.
33541 2011-04-30  Bruno Haible  <bruno@clisp.org>
33543         [BZ #12717]
33544         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33545         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33546         to 'int'.
33547         * inet/getnameinfo.c (getnameinfo): Likewise.
33549 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33551         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33552         to groups setting in database lookup.
33553         * nss/nsswitch.conf: Add initgroups entry.
33555 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33557         [BZ #12685]
33558         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33559         mode string.
33560         Patch by Eric Blake <eblake@redhat.com>.
33562 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33564         * sunrpc/Makefile (need-export-routines): Add svc_run.
33565         (routines): Remove svc_run.
33566         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33567         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33568         * sunrpc/svc_run.c (svc_run): Likewise.
33569         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33571 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33573         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33574         problem in reallocation in last patch.
33576 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33578         * sunrpc/Makefile: Move inclusion of Rules.
33580 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33582         * nss/nss_files/files-initgroups.c: New file.
33583         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33584         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33585         _nss_files_initgroups_dyn.
33587 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33589         * elf/elf.h (R_ARM_IRELATIVE): Define.
33591 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33593         * po/ru.po: Update from translation team.
33595 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33597         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33598         dependencies.
33600 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33602         [BZ #12653]
33603         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33604         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33605         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33606         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33607         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33609 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33611         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33612         differing bytes.
33613         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33614         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33615         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33617 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33619         [BZ #12420]
33620         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33621         storing it.
33622         * stdlib/bug-getcontext.c: New file.
33623         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33625 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33627         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33628         instructions into .machine "z9-109".
33629         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33630         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33632 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33634         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33635         between environment variables and auxiliary vector.
33637 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33639         * Makefile: Add rules to build linkobj/libc.so.
33640         * include/libc-symbols.h: Define libc_hidden_nolink.
33641         * include/rpc/auth.h: Mark functions which are to be hidden.
33642         * include/rpc/auth_des.h: Likewise.
33643         * include/rpc/auth_unix.h: Likewise.
33644         * include/rpc/clnt.h: Likewise.
33645         * include/rpc/des_crypt.h: Likewise.
33646         * include/rpc/key_prot.h: Likewise.
33647         * include/rpc/pmap_clnt.h: Likewise.
33648         * include/rpc/pmap_prot.h: Likewise.
33649         * include/rpc/pmap_rmt.h: Likewise.
33650         * include/rpc/rpc_msg.h: Likewise.
33651         * include/rpc/svc.h: Likewise.
33652         * include/rpc/svc_auth.h: Likewise.
33653         * include/rpc/xdr.h: Likewise.
33654         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33655         * nss/Makefile: Likewise.
33656         * sunrpc/Makefile: Don't install headers.  Build library with normal
33657         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33658         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33659         for the compat linking library.  Remove use of INTDEF/INTUSE.
33660         * sunrpc/auth_none.c: Likewise.
33661         * sunrpc/auth_unix.c: Likewise.
33662         * sunrpc/authdes_prot.c: Likewise.
33663         * sunrpc/authuxprot.c: Likewise.
33664         * sunrpc/clnt_gen.c: Likewise.
33665         * sunrpc/clnt_perr.c: Likewise.
33666         * sunrpc/clnt_raw.c: Likewise.
33667         * sunrpc/clnt_simp.c: Likewise.
33668         * sunrpc/clnt_tcp.c: Likewise.
33669         * sunrpc/clnt_udp.c: Likewise.
33670         * sunrpc/clnt_unix.c: Likewise.
33671         * sunrpc/des_crypt.c: Likewise.
33672         * sunrpc/des_soft.c: Likewise.
33673         * sunrpc/get_myaddr.c: Likewise.
33674         * sunrpc/key_call.c: Likewise.
33675         * sunrpc/key_prot.c: Likewise.
33676         * sunrpc/netname.c: Likewise.
33677         * sunrpc/pm_getmaps.c: Likewise.
33678         * sunrpc/pm_getport.c: Likewise.
33679         * sunrpc/pmap_clnt.c: Likewise.
33680         * sunrpc/pmap_prot.c: Likewise.
33681         * sunrpc/pmap_prot2.c: Likewise.
33682         * sunrpc/pmap_rmt.c: Likewise.
33683         * sunrpc/publickey.c: Likewise.
33684         * sunrpc/rpc_cmsg.c: Likewise.
33685         * sunrpc/rpc_common.c: Likewise.
33686         * sunrpc/rpc_dtable.c: Likewise.
33687         * sunrpc/rpc_prot.c: Likewise.
33688         * sunrpc/rpc_thread.c: Likewise.
33689         * sunrpc/rtime.c: Likewise.
33690         * sunrpc/svc.c: Likewise.
33691         * sunrpc/svc_auth.c: Likewise.
33692         * sunrpc/svc_authux.c: Likewise.
33693         * sunrpc/svc_raw.c: Likewise.
33694         * sunrpc/svc_run.c: Likewise.
33695         * sunrpc/svc_simple.c: Likewise.
33696         * sunrpc/svc_tcp.c: Likewise.
33697         * sunrpc/svc_udp.c: Likewise.
33698         * sunrpc/svc_unix.c: Likewise.
33699         * sunrpc/svcauth_des.c: Likewise.
33700         * sunrpc/xcrypt.c: Likewise.
33701         * sunrpc/xdr.c: Likewise.
33702         * sunrpc/xdr_array.c: Likewise.
33703         * sunrpc/xdr_float.c: Likewise.
33704         * sunrpc/xdr_intXX_t.c: Likewise.
33705         * sunrpc/xdr_mem.c: Likewise.
33706         * sunrpc/xdr_rec.c: Likewise.
33707         * sunrpc/xdr_ref.c: Likewise.
33708         * sunrpc/xdr_sizeof.c: Likewise.
33709         * sunrpc/xdr_stdio.c: Likewise.
33711 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33713         [BZ #12650]
33714         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33715         * sysdeps/ia64/dl-tls.h: Likewise.
33716         * sysdeps/powerpc/dl-tls.h: Likewise.
33717         * sysdeps/s390/dl-tls.h: Likewise.
33718         * sysdeps/sh/dl-tls.h: Likewise.
33719         * sysdeps/sparc/dl-tls.h: Likewise.
33720         * sysdeps/x86_64/dl-tls.h: Likewise.
33721         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33723 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33725         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33726         rpath element also skip the following colon.
33727         (expand_dynamic_string_token): Add is_path parameter and pass
33728         down to DL_DST_REQUIRED and _dl_dst_substitute.
33729         (decompose_rpath): Call expand_dynamic_string_token with
33730         non-zero is_path.  Ignore empty rpaths.
33731         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33732         with zero is_path.
33734 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33737         Make cancelable.
33739 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33741         [BZ #12655]
33742         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33743         Patch by Filipe David Manana <fdmanana@apache.org>.
33745 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33747         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33748         Maintain aligned stack.
33749         (CHECK_RSP): Remove unused macro.
33751 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33753         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33754         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33756 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33758         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33760         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33762 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33764         [BZ #12518]
33765         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33766         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33767         * sysdeps/x86_64/memmove.c: New file.
33768         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33769         (memcpy): Renamed to ...
33770         (__new_memcpy): This.
33771         (memcpy): Provide GLIBC_2_14 memcpy.
33772         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33773         (memcpy): Provide GLIBC_2_2_5 memcpy.
33775 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33777         [BZ #12631]
33778         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33780 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33782         * misc/syncfs.c: New file.
33783         * misc/Makefile (routines): Add syncfs.
33784         * posix/unistd.h: Declare syncfs.
33785         * sysdeps/unix/syscalls.list: Add syncfs.
33787 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33789         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33790         open_by_handle_at.
33791         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33792         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33793         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33794         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33796         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33797         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33799 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33801         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33802         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33803         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33805         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33806         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33807         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33809         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33810         sync_file_range.c with -fexceptions.
33811         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33812         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33813         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33814         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33815         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33816         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33817         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33818         sync_file_range as cancellation point
33819         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33820         now a wrapper around __call_sync_file_range with cancellation handling.
33821         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33822         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33823         function name to __call_sync_file_range.
33824         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33825         Add call_sync_file_range.
33827 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33830         bits/timex.h.
33832 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33834         * iconv/iconv.h: Fix typo in comment.
33835         * io/fcntl.h: Likewise.
33836         * libio/stdio.h: Likewise.
33837         * posix/spawn.h: Likewise.
33838         * posix/unistd.h: Likewise.
33839         * stdlib/stdlib.h: Likewise.
33840         * time/time.h: Likewise.
33841         * wcsmbs/wchar.h: Likewise.
33843         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33844         open_by_handle): Add.
33845         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33846         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33847         Augment a few comments.
33848         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33849         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33850         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33851         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33852         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33853         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33854         open_by_handle.
33856         * io/fcntl.h (AT_EMPTY_PATH): Define.
33858 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33860         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33861         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33862         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33863         to...
33864         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33865         * Versions.def: Add GLIBC_2.14.
33866         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33867         Export.
33869 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33871         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33872         round counter.
33873         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33875 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33877         [BZ #12597]
33878         * string/test-strncmp.c (do_page_test): New function.
33879         (check2): Likewise.
33880         (test_main): Call check2.
33881         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33883 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33885         [BZ #12587]
33886         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33887         Handle cache information in CPU leaf 4.
33888         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33890 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33892         [BZ #12583]
33893         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33894         character representation.
33895         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33897 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33899         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33900         END(__isnan) to END(__isnanf) to match function entry point/label
33901         EALIGN(__isnanf,...).
33903 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33905         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33907 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33909         [BZ #12510]
33910         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33911         copy from the symbol referenced in the relocation to initialize the
33912         used variable.
33913         Patch by Piotr Bury <pbury@goahead.com>.
33914         * elf/Makefile: Add rules to build and tst-unique3.
33915         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33916         * elf/tst-unique3.cc: New file.
33917         * elf/tst-unique3.h: New file.
33918         * elf/tst-unique3lib.cc: New file.
33919         * elf/tst-unique3lib2.cc: New file.
33921         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33923 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33925         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33926         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33927         to _start.
33929 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33931         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33932         to-be-loaded object along a path to loader is ld.so.
33934 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33935             Ulrich Drepper  <drepper@gmail.com>
33937         * sysdeps/x86_64/memset.S: After aligning destination, code
33938         branches to different locations depending on the value of
33939         misalignment, when multiarch is enabled. Fix this.
33941 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33943         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33944         Set _x86_64_preferred_memory_instruction for AMD processsors.
33945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33946         Set bit_Prefer_SSE_for_memop for AMD processors.
33948 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33950         * libio/fmemopen.c (fmemopen): Optimize a bit.
33952 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33954         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33956 2011-03-03  Roland McGrath  <roland@redhat.com>
33958         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33960 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33962         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33963         __bzero_ultra1 instead of __memset_ultra1.
33965 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33966             Ulrich Drepper  <drepper@gmail.com>
33968         [BZ #12509]
33969         * include/link.h (struct link_map): Add l_orig_initfini.
33970         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33971         returning unsuccessfully.
33972         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33973         close of a file loaded at startup, restore the original l_initfini
33974         list.
33975         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33976         list, store the pointer.
33977         * elf/Makefile ($(objpfx)noload-mem): New rule.
33978         (noload-ENV): Define.
33979         (tests): Add $(objpfx)noload-mem.
33980         * elf/noload.c: Include <memcheck.h>.
33981         (main): Call mtrace.  Close all opened handles.
33983 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33985         [BZ #12454]
33986         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33987         dependencies are missing.
33989 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33991         Fix __if_freereq crash: Unlike the generic version which uses free,
33992         Hurd needs munmap.
33993         * sysdeps/mach/hurd/ifreq.h: New file.
33995 2011-01-27  Petr Baudis  <pasky@suse.cz>
33996             Ulrich Drepper  <drepper@gmail.com>
33998         [BZ 12445]#
33999         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34000         to extend_alloca().
34001         * stdio-common/bug23.c: New file.
34002         * stdio-common/Makefile (tests): Add bug23.
34004 2010-09-28  Andreas Schwab  <schwab@redhat.com>
34005             Ulrich Drepper  <drepper@gmail.com>
34007         [BZ #12489]
34008         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34009         before performing relro protection.  At old place add assertion
34010         to make sure nothing changed.
34012 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
34013             Glauber de Oliveira Costa  <glommer@gmail.com>
34015         * elf/elf.h: Add new ARM TLS relocs.
34017 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
34019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34020         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34021         cast from r3.
34022         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
34023         'tests' variable.
34024         * sysdeps/wordsize-64/tst-writev.c: New file.
34026 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
34028         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34029         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34030         insns in _dl_start to prevent a TOC reference before relocs are
34031         resolved.
34033 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
34035         [BZ #12469]
34036         * Makeconfig: Remove RANLIB definition.
34037         * Makerules: Don't use RANLIB.
34038         * aclocal.m4: Remove ranlib test.
34039         * configure.in: No need to check for ranlib.
34040         * elf/rtld-Rules: Don't use RANLIB.
34042 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34044         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34045         protection macro.
34046         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34047         inclusion protection macro.
34049         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34050         SIGRTMIN and SIGRTMAX and print information in that case only when
34051         SIGRTMIN is defined.
34053 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
34055         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34056         arginfo fn returning -1.
34058         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34059         and thousands string is zero terminated.
34061 2011-02-03  Andreas Schwab  <schwab@redhat.com>
34063         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34064         sysdeps/unix/sysv/linux/bits/socket.h.
34066 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34068         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34069         (__CPU_COUNT): Remove old macros.
34070         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34071         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34072         (__CPU_ALLOC, __CPU_FREE): Add macros.
34073         (__sched_cpualloc, __sched_cpufree): Add declarations.
34075 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
34077         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34078         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34079         * nscd/aicache.c (addhstaiX): Return timeout of added value.
34080         (readdhstai): Return value of addhstaiX call.
34081         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34082         (addgrbyX): Return value returned by cache_addgr.
34083         (readdgrbyname): Return value returned by addgrbyX.
34084         (readdgrbygid): Likewise.
34085         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34086         (addpwbyX): Return value returned by cache_addpw.
34087         (readdpwbyname): Return value returned by addhstbyX.
34088         (readdpwbyuid): Likewise.
34089         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34090         (addservbyX): Return value returned by cache_addserv.
34091         (readdservbyname): Return value returned by addservbyX:
34092         (readdservbyport): Likewise.
34093         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34094         (addhstbyX): Return value returned by cache_addhst.
34095         (readdhstbyname): Return value returned by addhstbyX.
34096         (readdhstbyaddr): Likewise.
34097         (readdhstbynamev6): Likewise.
34098         (readdhstbyaddrv6): Likewise.
34099         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34100         (readdinitgroups): Return value returned by addinitgroupsX.
34101         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34102         (prune_cache): Keep track of timeout value of re-added entries.
34103         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34104         * nscd/nscd.h: Adjust prototypes of readd* functions.
34106 2011-02-04  Roland McGrath  <roland@redhat.com>
34108         * nis/nis_server.c (nis_servstate): Use the right name for 0.
34109         (nis_stats): Likewise.
34110         * nis/nis_modify.c (nis_modify): Likewise.
34111         * nis/nis_remove.c (nis_remove): Likewise.
34112         * nis/nis_add.c (nis_add): Likewise.
34114         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34116         * posix/fnmatch_loop.c: Add some consts.
34118         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34120 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
34122         [BZ #12460]
34123         * config.make.in (config-cflags-novzeroupper): Define.
34124         * configure.in: Substitute libc_cv_cc_novzeroupper.
34125         * elf/Makefile (AVX-CFLAGS): Define.
34126         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34127         (CFLAGS-tst-auditmod4a.c): Likewise.
34128         (CFLAGS-tst-auditmod4b.c): Likewise.
34129         (CFLAGS-tst-auditmod6b.c): Likewise.
34130         (CFLAGS-tst-auditmod6c.c): Likewise.
34131         (CFLAGS-tst-auditmod7b.c): Likewise.
34132         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34134 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
34136         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34137         function to the callback.
34138         Patch partly by Jiri Olsa <jolsa@redhat.com>.
34140 2011-02-02  Andreas Schwab  <schwab@redhat.com>
34142         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34143         of errno.
34145 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
34147         [BZ #11724]
34148         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34149         of constructors.
34150         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34151         of destructors.
34152         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34154         [BZ #11724]
34155         * elf/Makefile: Add rules to build and run new test.
34156         * elf/tst-initorder.c: New file.
34157         * elf/tst-initorder.exp: New file.
34158         * elf/tst-initordera1.c: New file.
34159         * elf/tst-initordera2.c: New file.
34160         * elf/tst-initordera3.c: New file.
34161         * elf/tst-initordera4.c: New file.
34162         * elf/tst-initorderb1.c: New file.
34163         * elf/tst-initorderb2.c: New file.
34164         * elf/tst-order-a1.c: New file.
34165         * elf/tst-order-a2.c: New file.
34166         * elf/tst-order-a3.c: New file.
34167         * elf/tst-order-a4.c: New file.
34168         * elf/tst-order-b1.c: New file.
34169         * elf/tst-order-b2.c: New file.
34170         * elf/tst-order-main.c: New file.
34171         New test case by George Gensure <werkt0@gmail.com>.
34173 2010-10-01  Andreas Schwab  <schwab@redhat.com>
34175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34176         decoding ACE if AI_CANONIDN.
34178 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
34180         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34182 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
34184         * version.h (RELEASE): Bump for 2.13 release.
34185         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34187         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34189         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34190         MADV_NOHUGEPAGE.
34191         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34192         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34193         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34194         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34195         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34196         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34198         * posix/getconf.c: Update copyright year.
34199         * catgets/gencat.c: Likewise.
34200         * csu/version.c: Likewise.
34201         * debug/catchsegv.sh: Likewise.
34202         * debug/xtrace.sh: Likewise.
34203         * elf/ldconfig.c: Likewise.
34204         * elf/ldd.bash.in: Likewise.
34205         * elf/sprof.c (print_version): Likewise.
34206         * iconv/iconv_prog.c: Likewise.
34207         * iconv/iconvconfig.c: Likewise.
34208         * locale/programs/locale.c: Likewise.
34209         * locale/programs/localedef.c: Likewise.
34210         * malloc/memusage.sh: Likewise.
34211         * malloc/mtrace.pl: Likewise.
34212         * nscd/nscd.c (print_version): Likewise.
34213         * nss/getent.c: Likewise.
34215         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34216         PF_CAIF, and PF_ALG.
34217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34219 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
34221         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34222         (modules-names): Use them.
34223         (ifunc-test-modules, ifunc-pie-tests): Define.
34224         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34225         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34226         (test-extras): Likewise.
34227         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34228         $(compile-command.c).
34229         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34230         (all-built-dso): Define.
34231         (check-textrel.out, check-execstack.out): Depend on it.
34233         * configure.in: Don't override --enable-multi-arch.
34235 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
34237         [BZ #6812]
34238         * nscd/hstcache.c (tryagain): Define.
34239         (cache_addhst): Return tryagain not notfound for temporary errors.
34240         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34241         failed.
34243 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
34245         [BZ #10563]
34246         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34247         to make the syscall.
34248         * sysdeps/unix/sysv/linux/setgroups.c: New file.
34250         [BZ #12378]
34251         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34252         and fall back to matching as normal character if the string ends before
34253         the matching ']' is found.  This is what POSIX requires.
34254         * posix/testfnm.c: Adjust test result.
34255         * posix/globtest.sh: Adjust test result.  Add new test.
34256         * posix/tst-fnmatch.input: Likewise.
34257         * posix/tst-fnmatch2.c: Add new test.
34259 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
34261         * elf/Makefile (check-execstack): Revert last change.  Depend on
34262         check-execstack.h.
34263         (check-execstack.h): New target.
34264         (generated): Add check-execstack.h.
34265         * elf/check-execstack.c: Include "check-execstack.h".
34266         (main): Revert last change.
34267         (handle_file): Return zero if GNU_STACK is absent and
34268         DEFAULT_STACK_PERMS doesn't include PF_X.
34270 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
34272         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34273         in child fails because the descriptor is already closed.
34274         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34275         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34276         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34278         [BZ #12397]
34279         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34280         syscall.
34282         [BZ #10484]
34283         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34284         temporary buffer used to handle multi lookups locally.
34285         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34287 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34289         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34290         loader is ld.so.
34292 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
34294         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34295         alignment for SSE2.
34297 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34299         [BZ #12394]
34300         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34301         characters.  When rounding increased number of integer digits recompute
34302         number of groups.
34303         * stdio-common/tst-grouping.c: New file.
34304         * stdio-common/Makefile: Add rules to build and run tst-grouping.
34306 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
34308         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34309         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
34311         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34312         void.
34313         * bits/select.h: Likewise.
34315 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
34317         * po/ja.po: Update from translation team.
34319 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
34321         [BZ #11155]
34322         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34323         implementation just like for lxstat, fxstatat, et al.
34325 2010-12-27  Jim Meyering  <meyering@redhat.com>
34327         [BZ #12348]
34328         * posix/regexec.c (build_trtable): Return failure indication upon
34329         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
34331 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
34333         [BZ #12201]
34334         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34335         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34336         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34337         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34339         [BZ #12207]
34340         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34342         [BZ #12204]
34343         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34344         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34346 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
34348         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34349         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34350         script has SORT_BY_INIT_PRIORITY.
34351         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34352         NO_CTORS_DTORS_SECTIONS is defined.
34353         * elf/soinit.c: Likewise.
34354         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34355         NO_CTORS_DTORS_SECTIONS is defined.
34356         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34357         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34358         * sysdeps/sh/init-first.c: Likewise.
34359         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34361 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
34363         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34364         always use the slow path.
34366 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
34368         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34369         similar rule which adds the sysdep directories to the header search in
34370         order to pick up the correct platform stackinfo.h.
34371         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34372         perform test if it is, otherwise return successfully without testing.
34373         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34374         DEFAULT_STACK_PERMS define in stackinfo.h.
34375         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34376         defined in stackinfo.h.
34377         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34378         DEFAULT_STACK_PERMS defined in stackinfo.h.
34379         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34380         * sysdeps/ia64/stackinfo.h: Likewise.
34381         * sysdeps/s390/stackinfo.h: Likewise.
34382         * sysdeps/sh/stackinfo.h: Likewise.
34383         * sysdeps/sparc/stackinfo.h: Likewise.
34384         * sysdeps/x86_64/stackinfo.h: Likewise.
34385         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34386         PF_X for powerpc64.  Retain PF_X for powerpc32.
34388 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
34390         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34391         accurately.
34392         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34393         GETDENTS_64BIT_ALIGNED.
34395 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
34397         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34399 2010-12-10  Andreas Schwab  <schwab@redhat.com>
34401         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34402         _GNU_SOURCE.
34404         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34405         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34406         Remove __restrict.
34407         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34408         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34410 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
34412         [BZ #11655]
34413         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34414         are initialized.
34416 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
34418         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34420 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
34422         * po/it.po: Update from translation team.
34424 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34427         unused codes.
34429 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34431         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34433 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34435         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34436         specially.
34437         (gaih_getanswer_slice): Likewise.
34439 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34441         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34443 2010-05-31  Petr Baudis  <pasky@suse.cz>
34445         [BZ #11149]
34446         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34447         silently even in the chroot mode.
34449 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34451         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34452         last patch a bit.  Pretty printing
34454 2010-05-31  Petr Baudis <pasky@suse.cz>
34456         [BZ #10085]
34457         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34458         initialization of skip_initgroups_dyn.
34460 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34462         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34463         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34465 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34467         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34469 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34471         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34472         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34473         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34474         ($(objpfx)tst-fnmatch-mem): New rule.
34475         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34476         * posix/tst-fnmatch.c (main): Call mtrace.
34478 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34481         Support Intel processor model 6 and model 0x2c.
34483 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34485         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34486           signed comparison.
34488 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34490         [BZ #12205]
34491         * string/test-strncasecmp.c (check_result): New function.
34492         (do_one_test): Use it.
34493         (check1): New function.
34494         (test_main): Use it.
34495         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34496         Support strcasecmp and strncasecmp.
34498 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34500         [BZ #12194]
34501         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34502         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34504 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34506         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34507         IFUNC support.
34508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34509         memset-x86-64.
34510         * sysdeps/x86_64/multiarch/bzero.S: New file.
34511         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34512         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34513         * sysdeps/x86_64/multiarch/memset.S: New file.
34514         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34515         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34516         Set bit_Prefer_SSE_for_memop for Intel processors.
34517         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34518         Define.
34519         (index_Prefer_SSE_for_memop): Define.
34520         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34522 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34524         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34525         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34527 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34529         [BZ #12191]
34530         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34531         (__x86_64_raw_data_cache_size_half): Likewise.
34532         (__x86_64_raw_shared_cache_size): Likewise.
34533         (__x86_64_raw_shared_cache_size_half): Likewise.
34535         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34536         (__x86_64_raw_data_cache_size_half): Likewise.
34537         (__x86_64_raw_shared_cache_size): Likewise.
34538         (__x86_64_raw_shared_cache_size_half): Likewise.
34539         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34540         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34541         and __x86_64_raw_shared_cache_size_half.  Round
34542         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34543         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34544         to multiple of 256 bytes.
34546 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34548         [BZ #12167]
34549         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34550         of inacessible symlinks.  Verify result of symlink before returning it.
34551         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34552         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34554 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34556         * math/math.h (isinf): Fix typo in comment.
34558 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34560         * po/da.po: Update from translation team.
34562 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34564         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34565         is added to the list.
34567 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34568             Ulrich Drepper  <drepper@gmail.com>
34570         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34571         the global list here.  Move code to...
34572         (_dl_add_to_namespace_list): ...here.  New function.
34573         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34574         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34575         * elf/dl-load.c (lose): Don't remove the element from the list.
34576         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34577         (_dl_map_object): Likewise.
34579 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34581         [BZ #12159]
34582         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34583         into all bytes of SSE register.
34584         Patch by Richard Li <richardpku@gmail.com>.
34586 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34588         [BZ #12140]
34589         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34590         perturbing.
34592 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34594         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34595         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34596         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34597         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34599         submachine.
34600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34602 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34604         * include/dlfcn.h (__RTLD_SECURE): Define.
34605         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34606         mode & __RTLD_SECURE instead.
34607         (open_path): Rename preloaded parameter to secure.
34608         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34609         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34610         * elf/dl-deps.c (openaux): Likewise.
34611         * elf/rtld.c (struct map_args): Remove is_preloaded.
34612         (map_doit): Don't use it.
34613         (dl_main): Likewise.
34614         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34615         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34617 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34619         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34620         (sysd-rules-targets): Remove duplicates.
34621         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34622         rtld-%.$o dependency.
34624 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34626         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34627         _dl_map_object do it.
34629 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34631         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34632         fast fma builtins, define the macros in the C99 standard.
34633         (FP_FAST_FMAF): Likewise.
34634         (FP_FAST_FMAL): Likewise.
34635         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34637         * bits/mathdef.h: Update copyright year.
34638         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34640 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34642         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34643         builtins, define the macros in the C99 standard.
34644         (FP_FAST_FMAF): Likewise.
34645         (FP_FAST_FMAL): Likewise.
34646         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34647         multiply/add.
34648         (FP_FAST_FMAF): Likewise.
34650 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34652         [BZ #3268]
34653         * math/libm-test.inc (fma_test): Some new testcases.
34654         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34655         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34656         y and infinite z.  Do multiplication by C already in long double.
34657         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34659         y and infinite z.  Do bitwise or of inexact bit into u.d.
34660         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34661         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34662         * sysdeps/i386/fpu/s_fma.S: Removed.
34663         * sysdeps/i386/fpu/s_fmal.S: Removed.
34665 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34667         [BZ #3268]
34668         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34669         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34670         computation is not scheduled after fetestexcept.  Fix value
34671         of minimum denormal long double.
34673 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34675         [BZ #3268]
34676         * math/libm-test.inc (fma_test): Add some more tests.
34677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34678         correctly.
34680 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34682         * scripts/data/localplt-s390-linux-gnu.data: New file.
34683         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34685 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34687         [BZ #3268]
34688         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34689         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34690         instead of dbl-64.
34691         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34692         inlines.
34693         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34694         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34695         if one of x and y is very large and the other is subnormal.
34696         * sysdeps/s390/fpu/s_fmaf.c: New file.
34697         * sysdeps/s390/fpu/s_fma.c: New file.
34698         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34699         * sysdeps/powerpc/fpu/s_fma.S: New file.
34700         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34701         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34702         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34704 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34706         [BZ #3268]
34707         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34708         fma tests.
34709         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34710         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34711         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34712         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34713         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34714         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34715         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34717 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34719         [BZ #12078]
34720         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34721         * posix/bug-regex31.input: Add test case.
34723 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34725         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34726         * posix/bug-regex31.input: New file.
34728         [BZ #12078]
34729         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34730         (parse_sub_exp): Fix last change, use postorder.
34732         * posix/bug-regex31.c: New file.
34733         * posix/Makefile: Add rules to build and run bug-regex31.
34735         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34737         [BZ #12078]
34738         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34740         [BZ #12108]
34741         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34742         to have entries in sys_siglist.
34744         [BZ #12093]
34745         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34746         be NULL.
34748 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34750         [BZ #3268]
34751         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34752         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34753         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34754         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34755         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34756         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34757         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34758         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34759         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34760         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34761         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34762         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34763         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34764         * math/ftestexcept.c (fetestexcept): Likewise.
34765         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34766         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34767         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34768         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34769         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34770         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34771         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34773 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34775         [BZ #12107]
34776         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34777         newline.
34779 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34781         * string/bug-strstr1.c: New file.
34782         * string/Makefile: Add rules to build and run bug-strstr1.
34784 2010-10-05  Eric Blake  <eblake@redhat.com>
34786         [BZ #12092]
34787         * string/str-two-way.h (two_way_long_needle): Always clear memory
34788         when skipping input due to the shift table.
34790 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34792         [BZ #12005]
34793         * malloc/mcheck.c: Handle large requests.
34795         [BZ #12077]
34796         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34797         for strncmp and strncasecmp.
34798         * string/stratcliff.c: Add tests for strcmp and strncmp.
34799         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34801 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34803         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34804         __set_fpscr.
34806 2010-09-30  Andreas Jaeger  <aj@suse.de>
34808         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34809         (CGROUP_SUPER_MAGIC): Define.
34810         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34811         Handle btrfs and cgroup file systems.
34812         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34813         Likewise.
34815 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34817         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34818         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34820 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34822         [BZ #12067]
34823         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34824         trying to locate the ELF header.
34826 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34828         [BZ #11611]
34829         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34830         Mask out sign-bit copies when constructing f_fsid.
34832 2010-09-24  Petr Baudis <pasky@suse.cz>
34834         * debug/stack_chk_fail_local.c: Add missing licence exception.
34835         * debug/warning-nop.c: Likewise.
34837 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34839         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34840         implementing getdents64 using getdents syscall, set d_type if
34841         __ASSUME_GETDENTS32_D_TYPE.
34843 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34845         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34846         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34848 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34850         [BZ #12037]
34851         * posix/unistd.h: Undo change of feature selection for ftruncate from
34852         2010-01-11.
34854 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34856         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34857         detection.
34859 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34861         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34862         fanotify_mark.
34863         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34865 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34867         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34868         variables after CHECK_SP call.
34869         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34871 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34872             Ulrich Drepper  <drepper@redhat.com>
34874         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34875         re-relocationg ld.so.
34876         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34877         _dl_init_paths call.
34878         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34879         here anymore.
34881 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34883         * resolv/res_init.c (__res_vinit): Count the default server we added.
34885 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34886             Ulrich Drepper  <drepper@redhat.com>
34888         [BZ #11968]
34889         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34890         (____longjmp_chk): Use %ebx for saving value across system call.
34891         Add unwind info.
34893 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34895         * manual/Makefile: Don't mix pattern rules with normal rules.
34897 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34899         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34900         operation.
34901         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34902         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34903         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34904         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34905         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34906         Likewise.
34908 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34910         [BZ #11979]
34911         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34912         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34914 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34916         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34917         * sysdeps/x86_64/addmul_1.S: Likewise.
34918         * sysdeps/x86_64/lshift.S: Likewise.
34919         * sysdeps/x86_64/mul_1.S: Likewise.
34920         * sysdeps/x86_64/rshift.S: Likewise.
34921         * sysdeps/x86_64/sub_n.S: Likewise.
34922         * sysdeps/x86_64/submul_1.S: Likewise.
34924 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34926         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34927         Define __sched_param instead of SCHED_* and sched_param when
34928         <bits/sched.h> is included with __need_schedparam defined.
34929         * bits/sched.h [__need_schedparam]
34930         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34931         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34932         (__defined_schedparam): Define to 1.
34933         (__sched_param): New structure, identical to sched_param.
34934         (__need_schedparam): Undefine.
34936 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34938         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34939         (epoll_create1): Declare.
34941         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34943 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34945         [BZ #7066]
34946         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34947         shifting retval into place.
34949 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34951         * nis/rpcsvc/nis.h: Update copyright notice.
34952         * nis/rpcsvc/nis.x: Likewise.
34953         * nis/rpcsvc/nis_callback.h: Likewise.
34954         * nis/rpcsvc/nis_callback.x: Likewise.
34955         * nis/rpcsvc/nis_object.x: Likewise.
34956         * nis/rpcsvc/nis_tags.h: Likewise.
34957         * nis/rpcsvc/yp.h: Likewise.
34958         * nis/rpcsvc/yp.x: Likewise.
34959         * nis/rpcsvc/ypupd.h: Likewise.
34960         * nis/yp_xdr.c: Likewise.
34961         * nis/ypupdate_xdr.c: Likewise.
34963         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34964         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34965         (pmap_getport): Use __libc_rpc_getport.
34966         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34967         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34968         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34970 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34973         fanotify_mark.
34975 2010-08-27  Roland McGrath  <roland@redhat.com>
34977         * sysdeps/i386/i686/multiarch/Makefile
34978         (CFLAGS-varshift.c): New variable.
34980 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34982         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34983         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34987         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34989 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34991         * sysdeps/x86_64/strlen.S: Unroll the loop.
34992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34993         strlen-sse2 strlen-sse2-bsf.
34994         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34995         __strlen_no_bsf if bit_Slow_BSF is set.
34996         (__strlen_sse42): Removed.
34997         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34998         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35000 2010-08-25  Roland McGrath  <roland@redhat.com>
35002         * sysdeps/x86_64/multiarch/varshift.S: File removed.
35003         * sysdeps/x86_64/multiarch/varshift.c: New file.
35004         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35005         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35006         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35007         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35009 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
35011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35012         strlen-sse2 strlen-sse2-bsf.
35013         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35014         __strlen_sse2_bsf if bit_Slow_BSF is unset.
35015         (__strlen_sse2): Removed.
35016         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35017         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35018         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35019         bit_Slow_BSF for Atom.
35020         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35021         (index_Slow_BSF): Define.
35022         (HAS_SLOW_BSF): Define.
35024 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
35026         [BZ #10851]
35027         * resolv/res_init.c (__res_vinit): When no server address at all
35028         is given default to loopback.
35030 2010-08-24  Roland McGrath  <roland@redhat.com>
35032         * configure.in: Remove config-name.h generation.
35033         * configure: Regenerated.
35034         * config-name.in: File removed.
35035         * scripts/config-uname.sh: New file.
35036         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35037         ($(objdir)config-name.h): New target.
35039         * sunrpc/rpc_parse.h: Avoid nested comment.
35041 2010-08-24  Richard Henderson  <rth@redhat.com>
35042             Ulrich Drepper  <drepper@redhat.com>
35043             H.J. Lu  <hongjiu.lu@intel.com>
35045         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35047         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35048         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
35049         _mm_alignr_epi8 with _mm_loadu_si128.
35050         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35051         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35052         (__m128i_shift_right): Removed.
35053         * sysdeps/i386/i686/multiarch/varshift.h: New file.
35054         * sysdeps/i386/i686/multiarch/varshift.S: New file.
35055         * sysdeps/x86_64/multiarch/varshift.h: New file.
35056         * sysdeps/x86_64/multiarch/varshift.S: New file.
35058 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
35060         * configure.in: Move assembler checks to before sysdep dir checking.
35062 2010-08-20  Petr Baudis  <pasky@suse.cz>
35064         * LICENSES: Sync the sunrpc license.
35066 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
35068         * sunrpc/auth_des.c: Update copyright notice once again.
35069         * sunrpc/auth_none.c: Likewise.
35070         * sunrpc/auth_unix.c: Likewise.
35071         * sunrpc/authdes_prot.c: Likewise.
35072         * sunrpc/authuxprot.c: Likewise.
35073         * sunrpc/bindrsvprt.c: Likewise.
35074         * sunrpc/clnt_gen.c: Likewise.
35075         * sunrpc/clnt_perr.c: Likewise.
35076         * sunrpc/clnt_raw.c: Likewise.
35077         * sunrpc/clnt_simp.c: Likewise.
35078         * sunrpc/clnt_tcp.c: Likewise.
35079         * sunrpc/clnt_udp.c: Likewise.
35080         * sunrpc/clnt_unix.c: Likewise.
35081         * sunrpc/des_crypt.c: Likewise.
35082         * sunrpc/des_soft.c: Likewise.
35083         * sunrpc/get_myaddr.c: Likewise.
35084         * sunrpc/getrpcport.c: Likewise.
35085         * sunrpc/key_call.c: Likewise.
35086         * sunrpc/key_prot.c: Likewise.
35087         * sunrpc/openchild.c: Likewise.
35088         * sunrpc/pm_getmaps.c: Likewise.
35089         * sunrpc/pm_getport.c: Likewise.
35090         * sunrpc/pmap_clnt.c: Likewise.
35091         * sunrpc/pmap_prot.c: Likewise.
35092         * sunrpc/pmap_prot2.c: Likewise.
35093         * sunrpc/pmap_rmt.c: Likewise.
35094         * sunrpc/rpc/auth.h: Likewise.
35095         * sunrpc/rpc/auth_unix.h: Likewise.
35096         * sunrpc/rpc/clnt.h: Likewise.
35097         * sunrpc/rpc/des_crypt.h: Likewise.
35098         * sunrpc/rpc/key_prot.h: Likewise.
35099         * sunrpc/rpc/netdb.h: Likewise.
35100         * sunrpc/rpc/pmap_clnt.h: Likewise.
35101         * sunrpc/rpc/pmap_prot.h: Likewise.
35102         * sunrpc/rpc/pmap_rmt.h: Likewise.
35103         * sunrpc/rpc/rpc.h: Likewise.
35104         * sunrpc/rpc/rpc_des.h: Likewise.
35105         * sunrpc/rpc/rpc_msg.h: Likewise.
35106         * sunrpc/rpc/svc.h: Likewise.
35107         * sunrpc/rpc/svc_auth.h: Likewise.
35108         * sunrpc/rpc/types.h: Likewise.
35109         * sunrpc/rpc/xdr.h: Likewise.
35110         * sunrpc/rpc_clntout.c: Likewise.
35111         * sunrpc/rpc_cmsg.c: Likewise.
35112         * sunrpc/rpc_common.c: Likewise.
35113         * sunrpc/rpc_cout.c: Likewise.
35114         * sunrpc/rpc_dtable.c: Likewise.
35115         * sunrpc/rpc_hout.c: Likewise.
35116         * sunrpc/rpc_main.c: Likewise.
35117         * sunrpc/rpc_parse.c: Likewise.
35118         * sunrpc/rpc_parse.h: Likewise.
35119         * sunrpc/rpc_prot.c: Likewise.
35120         * sunrpc/rpc_sample.c: Likewise.
35121         * sunrpc/rpc_scan.c: Likewise.
35122         * sunrpc/rpc_scan.h: Likewise.
35123         * sunrpc/rpc_svcout.c: Likewise.
35124         * sunrpc/rpc_tblout.c: Likewise.
35125         * sunrpc/rpc_util.c: Likewise.
35126         * sunrpc/rpc_util.h: Likewise.
35127         * sunrpc/rpcinfo.c: Likewise.
35128         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35129         * sunrpc/rpcsvc/key_prot.x: Likewise.
35130         * sunrpc/rpcsvc/klm_prot.x: Likewise.
35131         * sunrpc/rpcsvc/mount.x: Likewise.
35132         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35133         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35134         * sunrpc/rpcsvc/rex.x: Likewise.
35135         * sunrpc/rpcsvc/rstat.x: Likewise.
35136         * sunrpc/rpcsvc/rusers.x: Likewise.
35137         * sunrpc/rpcsvc/sm_inter.x: Likewise.
35138         * sunrpc/rpcsvc/spray.x: Likewise.
35139         * sunrpc/rpcsvc/yppasswd.x: Likewise.
35140         * sunrpc/rtime.c: Likewise.
35141         * sunrpc/svc.c: Likewise.
35142         * sunrpc/svc_auth.c: Likewise.
35143         * sunrpc/svc_authux.c: Likewise.
35144         * sunrpc/svc_raw.c: Likewise.
35145         * sunrpc/svc_run.c: Likewise.
35146         * sunrpc/svc_simple.c: Likewise.
35147         * sunrpc/svc_tcp.c: Likewise.
35148         * sunrpc/svc_udp.c: Likewise.
35149         * sunrpc/svc_unix.c: Likewise.
35150         * sunrpc/svcauth_des.c: Likewise.
35151         * sunrpc/xcrypt.c: Likewise.
35152         * sunrpc/xdr.c: Likewise.
35153         * sunrpc/xdr_array.c: Likewise.
35154         * sunrpc/xdr_float.c: Likewise.
35155         * sunrpc/xdr_mem.c: Likewise.
35156         * sunrpc/xdr_rec.c: Likewise.
35157         * sunrpc/xdr_ref.c: Likewise.
35158         * sunrpc/xdr_sizeof.c: Likewise.
35159         * sunrpc/xdr_stdio.c: Likewise.
35161         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35162         handling.
35164 2010-08-19  Andreas Schwab  <schwab@redhat.com>
35166         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35168 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
35170         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35171         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35172         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35173         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35174         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35175         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35176         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35177         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35178         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35179         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35180         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35181         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35182         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35183         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35185 2010-07-26  Anton Blanchard  <anton@samba.org>
35187         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35188         * malloc/arena.c (heap_trim): Likewise.
35190 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
35192         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35193         here.  Not...
35194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35195         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35197 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35199         * sysdeps/i386/elf/Makefile: New file.
35201 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35203         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35204         from fanotify_init.
35205         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35206         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35208 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
35210         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35211         of strncasecmp_l.
35212         * sysdeps/multiarch/strcmp.S: Likewise.
35214 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
35216         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35217         strncase_l-nonascii.
35218         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35219         Add strncase_l-ssse3.
35220         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35221         * sysdeps/x86_64/strcmp.S: Likewise.
35222         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35223         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35224         * sysdeps/x86_64/strncase.S: New file.
35225         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35226         * sysdeps/x86_64/strncase_l.S: New file.
35227         * string/Makefile (strop-tests): Add strncasecmp.
35228         * string/test-strncasecmp.c: New file.
35230         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35231         warning.
35233         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35234         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35236 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35238         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35240 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
35242         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35243         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35244         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35246 2010-05-01  Alan Modra  <amodra@gmail.com>
35248         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35249         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35250         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35251         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35252         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35253         tidying.  Don't tail-call __sigjmp_save for static lib.
35254         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35255         save location.
35256         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35257         (CALL_MCOUNT): Add eh info, and nop after bl.
35258         (TAIL_CALL_SYSCALL_ERROR): New macro.
35259         (PSEUDO_RET): Use it.
35260         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35261         Correct save location of integer regs and cr.
35262         (_dl_profile_resolve): Correct cr save location.  Delete nops
35263         after bl when SHARED.  Reduce cfi size a little by better
35264         placement of cfi directives.
35265         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35266         make a stack frame.  Instead use parm save area as a temp.
35267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35268         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
35269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35270         Don't make a stack frame for parent, use parm save area.
35271         Increase child stack frame to 112 bytes.  Don't save unused reg,
35272         and adjust reg usage.  Set up cfi on error recovery and
35273         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35275         (__makecontext): Add dummy nop after jump to exit.
35276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35277         Use correct parm save area and cr save, reduce stack frame.
35278         Correct cfi for possible PSEUDO_RET frame setup.
35279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35280         Branch to local label emitted by PSEUDO_RET rather than
35281         __syscall_error.
35283 2010-08-12  Andreas Schwab  <schwab@redhat.com>
35285         [BZ #11904]
35286         * locale/programs/locale.c (print_assignment): New function.
35287         (show_locale_vars): Use it.
35289 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
35291         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35292         field.
35293         (struct statfs64): Likewise.
35294         (_STATFS_F_FLAGS): Define.
35295         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35296         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35297         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35298         (ST_VALID): Define locally.
35299         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35300         __statvfs_getflags, use the provided value.
35301         * sysdeps/unix/sysv/linux/kernel-features.h: Define
35302         __ASSUME_STATFS_F_FLAGS.
35304         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35306         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35307         Add sys/fanotify.h.
35308         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35309         fanotify_mask for GLIBC_2.13.
35310         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35311         fanotify_init and fanotify_mark.
35312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35313         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35315         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35316         Add prlimit.
35317         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35318         prlimit64 for GLIBC_2.13.
35319         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35320         prlimit64.
35321         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35322         syscall.
35323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35324         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35325         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35326         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35327         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
35328         add prlimit alias.
35329         * sysdeps/unix/sysv/linux/prlimit.c: New file.
35331         [BZ #11903]
35332         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35333         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35335         * nss/Makefile: Add rules to build and run tst-nss-test1.
35336         * shlib-versions: Add entry for libnss_test1.
35337         * nss/nss_test1.c: New file.
35338         * nss/tst-nss-test1.c: New file.
35340         * nss/nsswitch.c (__nss_database_custom): Define new variable.
35341         (__nss_configure_lookup): Set appropriate entry in
35342         __nss_configure_lookup to true.
35343         * nss/nsswitch.h: Define enum with indeces of databases in
35344         databases and __nss_database_custom arrays.  Declare
35345         __nss_database_custom.
35346         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35347         to avoid using nscd when custom rules are installed.
35348         * nss/getXXbyYY_r.c: Likewise.
35349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35351         * nss/nss_files/files-parse.c: Whitespace fixes.
35353 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
35355         [BZ #11883]
35356         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35357         * posix/fnmatch_loop.c: Likewise.
35359 2010-07-17  Andi Kleen  <ak@linux.intel.com>
35361         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35362         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35363         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35364         * Versions.def [GLIBC_2.13]: Add.
35366 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
35368         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35369         Also fail if tpwd after pwuid call is NULL.
35371 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35373         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35374         when converting to ms.
35376 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35378         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35379         EOPNOTSUPP errors with ENOTTY.
35380         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35381         EOPNOTSUPP errors with ENOTTY.
35383 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
35385         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35386         Add strcasecmp_l-ssse3.
35387         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35388         strcasecmp.
35389         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35390         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35391         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35393 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
35395         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35397         * string/Makefile (strop-tests): Add strcasecmp.
35398         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35399         strcasecmp_l-nonascii.
35400         (gen-as-const-headers): Add locale-defines.sym.
35401         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35402         * sysdeps/x86_64/strcasecmp.S: New file.
35403         * sysdeps/x86_64/strcasecmp_l.S: New file.
35404         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35405         * sysdeps/x86_64/locale-defines.sym: New file.
35406         * string/test-strcasecmp.c: New file.
35408         * string/test-strcasestr.c: Test both ends of the range of characters.
35409         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35411 2010-07-29  Roland McGrath  <roland@redhat.com>
35413         [BZ #11856]
35414         * manual/locale.texi (Yes-or-No Questions): Fix example code.
35416 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
35418         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35419         for ld.so.
35421 2010-07-27  Andreas Schwab  <schwab@redhat.com>
35423         * manual/memory.texi (Malloc Tunable Parameters): Document
35424         M_PERTURB.
35426 2010-07-26  Roland McGrath  <roland@redhat.com>
35428         [BZ #11840]
35429         * configure.in (-fgnu89-inline check): Set and substitute
35430         gnu89_inline, not libc_cv_gnu89_inline.
35431         * configure: Regenerated.
35432         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35434 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35436         * string/test-strnlen.c: New file.
35437         * string/Makefile (strop-tests): Add strnlen.
35438         * string/tester.c (test_strnlen): Add a few more test cases.
35439         * string/tst-strlen.c: Better error reporting.
35441         * sysdeps/x86_64/strnlen.S: New file.
35443 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35445         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35446         lower-latency instructions.
35448 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35450         * string/test-strcasestr.c: New file.
35451         * string/test-strstr.c: New file.
35452         * string/Makefile (strop-tests): Add strstr and strcasestr.
35453         * string/str-two-way.h: Don't undefine MAX.
35454         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35456 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35458         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35459         strcasestr-nonascii.
35460         (CFLAGS-strcasestr-nonascii.c): Define.
35461         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35462         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35463         Remove unused attribute.
35465 2010-07-20  Roland McGrath  <roland@redhat.com>
35467         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35468         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35469         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35470         like LD_HWCAP_MASK can disable hwcaps.
35472 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35474         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35476 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35478         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35479         call in strcasestr.
35480         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35481         __strcasestr_sse42_nonascii.
35482         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35483         strcasestr-nonascii.c.
35484         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35486 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35488         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35489         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35490         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35491         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35493 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35495         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35496         fcntl.
35498 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35500         [BZ #11577]
35501         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35502         dl_signal_cerror.
35504 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35506         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35507         _PC_PIPE_BUF using F_GETPIPE_SZ.
35509 2010-07-05  Roland McGrath  <roland@redhat.com>
35511         * manual/arith.texi (Rounding Functions): Fix rint description
35512         implicit in round description.
35514 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35516         * elf/Makefile: Fix linking for a few tests to make recent linker
35517         happy.
35519 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35521         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35522         $(common-objpfx)libc_nonshared.a.
35524 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35526         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35527         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35528         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35529         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35530         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35531         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35532         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35533         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35548         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35549         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35550         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35551         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35552         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35553         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35554         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35555         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35556         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35557         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35558         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35559         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35575 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35577         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35578         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35579         * string/memmove.c (memmove): Renamed to ...
35580         (MEMMOVE): ...this.  Default to memmove.
35581         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35582         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35583         (END_CHK): Define.
35584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35585         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35586         mempcpy-ssse3-back memmove-ssse3-back.
35587         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35588         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35589         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35590         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35591         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35592         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35593         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35594         * sysdeps/x86_64/multiarch/memmove.c: New file.
35595         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35596         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35597         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35598         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35599         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35600         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35601         Define.
35602         (index_Fast_Copy_Backward): Define.
35603         (HAS_ARCH_FEATURE): Define.
35604         (HAS_FAST_REP_STRING): Define.
35605         (HAS_FAST_COPY_BACKWARD): Define.
35607 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35609         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35610         Restore proper fallback handling.
35612 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35614         [BZ #11701]
35615         * posix/group_member.c (__group_member): Correct checking loop.
35617         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35618         OOM in getpwuid_r correctly.  Return error number when the caller
35619         should return, otherwise -1.
35620         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35621         call returning > 0 value.
35622         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35624 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35626         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35627         libc_nonshared.a from targets in modules-names.
35629 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35631         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35632         requires it.
35634 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35636         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35637         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35638         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35639         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35641 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35643         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35645 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35647         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35648         and F_GETPIPE_SZ.
35649         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35650         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35652         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35653         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35654         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35656 2010-06-14  Roland McGrath  <roland@redhat.com>
35658         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35660 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35662         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35663         __REDIRECT followed by __THROW.
35664         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35665         * posix/getopt.h (getopt): Likewise.
35667 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35669         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35670         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35671         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35672         in AT_FLAGS.
35673         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35674         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35676 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35678         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35680 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35682         [BZ #11640]
35683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35684         Properly check family and model.
35686 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35688         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35690 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35692         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35694 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35696         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35697         symbol reference.
35699 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35701         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35702         symbol reference.
35704 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35706         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35707         and internal_recvmmsg.
35708         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35709         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35710         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35711         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35713         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35714         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35715         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35717 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35719         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35721 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35723         POWER7 optimizations.
35724         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35725         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35727 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35729         * version.h: Update for 2.13 development version.
35731 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35733         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35734         exceptions.  Return 0.
35736 2010-05-07  Roland McGrath  <roland@redhat.com>
35738         * elf/ldconfig.c (main): Add a const.
35740 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35742         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35743         (args_options): Add no-idn option.
35744         (ahosts_keys_int): Add idn_flags to ai_flags.
35745         (parse_option): Handle 'i' option to clear idn_flags.
35747         * malloc/malloc.c (_int_free): Possible race in the most recently
35748         added check.  Only act on the data if no current modification
35749         happened.
35751 See ChangeLog.17 for earlier changes.